Skip to content

Commit f345158

Browse files
committed
source-appsflyer: new connector
1 parent c439bdc commit f345158

33 files changed

+7606
-0
lines changed

.github/workflows/python.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ on:
6464
- "source-gong/**"
6565
- "source-greenhouse-native/**"
6666
- "source-calendly/**"
67+
- "source-appsflyer/**"
6768

6869
pull_request:
6970
branches: [main]
@@ -129,6 +130,7 @@ on:
129130
- "source-gong/**"
130131
- "source-greenhouse-native/**"
131132
- "source-calendly/**"
133+
- "source-appsflyer/**"
132134

133135
concurrency:
134136
group: ${{ github.workflow }}-${{ github.ref }}
@@ -380,6 +382,10 @@ jobs:
380382
type: capture
381383
version: v1
382384
usage_rate: "1.0"
385+
- name: source-appsflyer
386+
type: capture
387+
version: v1
388+
usage_rate: "1.0"
383389

384390
steps:
385391
- uses: actions/checkout@v4

source-appsflyer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../estuary-cdk/webhook-capture.Dockerfile

source-appsflyer/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v1
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
app_id:
19+
default: ''
20+
description: AppsFlyer App ID this row was fetched for
21+
title: App Id
22+
type: string
23+
title: Meta
24+
type: object
25+
additionalProperties: true
26+
properties:
27+
_meta:
28+
$ref: '#/$defs/Meta'
29+
description: Document metadata
30+
Date:
31+
title: Date
32+
type: string
33+
Country:
34+
title: Country
35+
type: string
36+
Media Source (pid):
37+
title: Media Source (Pid)
38+
type: string
39+
Campaign (c):
40+
title: Campaign (C)
41+
type: string
42+
required:
43+
- Date
44+
- Country
45+
- Media Source (pid)
46+
- Campaign (c)
47+
title: AggGeoDailyReport
48+
type: object
49+
x-infer-schema: true

source-appsflyer/acmeCo/flow.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
collections:
2+
acmeCo/daily_geo_aggregate_report:
3+
schema: daily_geo_aggregate_report.schema.yaml
4+
key:
5+
- /_meta/app_id
6+
- /Date
7+
- /Country
8+
- /Media Source (pid)
9+
- /Campaign (c)
10+
acmeCo/in-app-event:
11+
schema: in-app-event.schema.yaml
12+
key:
13+
- /_meta/estuary_id
14+
acmeCo/install:
15+
schema: install.schema.yaml
16+
key:
17+
- /_meta/estuary_id
18+
acmeCo/install-in-app-event:
19+
schema: install-in-app-event.schema.yaml
20+
key:
21+
- /_meta/estuary_id
22+
acmeCo/organic-install:
23+
schema: organic-install.schema.yaml
24+
key:
25+
- /_meta/estuary_id
26+
acmeCo/organic-install-in-app-event:
27+
schema: organic-install-in-app-event.schema.yaml
28+
key:
29+
- /_meta/estuary_id
30+
acmeCo/organic-reinstall:
31+
schema: organic-reinstall.schema.yaml
32+
key:
33+
- /_meta/estuary_id
34+
acmeCo/postback:
35+
schema: postback.schema.yaml
36+
key:
37+
- /_meta/estuary_id
38+
acmeCo/postbacks-copy:
39+
schema: postbacks-copy.schema.yaml
40+
key:
41+
- /_meta/estuary_id
42+
acmeCo/re-attribution:
43+
schema: re-attribution.schema.yaml
44+
key:
45+
- /_meta/estuary_id
46+
acmeCo/re-attribution-in-app-event:
47+
schema: re-attribution-in-app-event.schema.yaml
48+
key:
49+
- /_meta/estuary_id
50+
acmeCo/re-download:
51+
schema: re-download.schema.yaml
52+
key:
53+
- /_meta/estuary_id
54+
acmeCo/re-engagement:
55+
schema: re-engagement.schema.yaml
56+
key:
57+
- /_meta/estuary_id
58+
acmeCo/re-engagement-in-app-event:
59+
schema: re-engagement-in-app-event.schema.yaml
60+
key:
61+
- /_meta/estuary_id
62+
acmeCo/reinstall:
63+
schema: reinstall.schema.yaml
64+
key:
65+
- /_meta/estuary_id
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
$defs:
2+
JsonValue: {}
3+
Meta:
4+
properties:
5+
op:
6+
default: u
7+
description: 'Operation type (c: Create, u: Update, d: Delete)'
8+
enum:
9+
- c
10+
- u
11+
- d
12+
title: Op
13+
type: string
14+
row_id:
15+
default: -1
16+
description: Row ID of the Document, counting up from zero, or -1 if not known
17+
title: Row Id
18+
type: integer
19+
webhookId:
20+
title: Webhookid
21+
type: string
22+
receivedAt:
23+
title: Receivedat
24+
type: string
25+
headers:
26+
additionalProperties:
27+
$ref: '#/$defs/JsonValue'
28+
title: Headers
29+
type: object
30+
reqPath:
31+
title: Reqpath
32+
type: string
33+
pathParams:
34+
anyOf:
35+
- additionalProperties:
36+
type: string
37+
type: object
38+
- type: 'null'
39+
default: null
40+
title: Pathparams
41+
queryParams:
42+
anyOf:
43+
- additionalProperties:
44+
type: string
45+
type: object
46+
- type: 'null'
47+
default: null
48+
title: Queryparams
49+
estuary_id:
50+
default: ''
51+
description: The surrogate key generated from characteristic fields
52+
title: Estuary Id
53+
type: string
54+
required:
55+
- headers
56+
- reqPath
57+
title: Meta
58+
type: object
59+
properties:
60+
_meta:
61+
$ref: '#/$defs/Meta'
62+
description: Document metadata
63+
app_id:
64+
title: App Id
65+
type: string
66+
appsflyer_id:
67+
title: Appsflyer Id
68+
type: string
69+
event_name:
70+
title: Event Name
71+
type: string
72+
event_time:
73+
title: Event Time
74+
type: string
75+
event_value:
76+
title: Event Value
77+
type: string
78+
api_version:
79+
title: Api Version
80+
type: string
81+
required:
82+
- app_id
83+
- appsflyer_id
84+
- event_name
85+
- event_time
86+
- event_value
87+
- api_version
88+
title: AppsFlyerWebhookDocument
89+
type: object
90+
x-infer-schema: true
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
$defs:
2+
JsonValue: {}
3+
Meta:
4+
properties:
5+
op:
6+
default: u
7+
description: 'Operation type (c: Create, u: Update, d: Delete)'
8+
enum:
9+
- c
10+
- u
11+
- d
12+
title: Op
13+
type: string
14+
row_id:
15+
default: -1
16+
description: Row ID of the Document, counting up from zero, or -1 if not known
17+
title: Row Id
18+
type: integer
19+
webhookId:
20+
title: Webhookid
21+
type: string
22+
receivedAt:
23+
title: Receivedat
24+
type: string
25+
headers:
26+
additionalProperties:
27+
$ref: '#/$defs/JsonValue'
28+
title: Headers
29+
type: object
30+
reqPath:
31+
title: Reqpath
32+
type: string
33+
pathParams:
34+
anyOf:
35+
- additionalProperties:
36+
type: string
37+
type: object
38+
- type: 'null'
39+
default: null
40+
title: Pathparams
41+
queryParams:
42+
anyOf:
43+
- additionalProperties:
44+
type: string
45+
type: object
46+
- type: 'null'
47+
default: null
48+
title: Queryparams
49+
estuary_id:
50+
default: ''
51+
description: The surrogate key generated from characteristic fields
52+
title: Estuary Id
53+
type: string
54+
required:
55+
- headers
56+
- reqPath
57+
title: Meta
58+
type: object
59+
properties:
60+
_meta:
61+
$ref: '#/$defs/Meta'
62+
description: Document metadata
63+
app_id:
64+
title: App Id
65+
type: string
66+
appsflyer_id:
67+
title: Appsflyer Id
68+
type: string
69+
event_name:
70+
title: Event Name
71+
type: string
72+
event_time:
73+
title: Event Time
74+
type: string
75+
event_value:
76+
title: Event Value
77+
type: string
78+
api_version:
79+
title: Api Version
80+
type: string
81+
required:
82+
- app_id
83+
- appsflyer_id
84+
- event_name
85+
- event_time
86+
- event_value
87+
- api_version
88+
title: AppsFlyerWebhookDocument
89+
type: object
90+
x-infer-schema: true

0 commit comments

Comments
 (0)