Skip to content

Commit 3cfffd5

Browse files
bleonardlazebnyi
andauthored
source-snapchat-marketing: ensure inline schemas, updated cdk, poetry (where possible) (#36662)
Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent df89968 commit 3cfffd5

File tree

13 files changed

+281
-22
lines changed

13 files changed

+281
-22
lines changed

airbyte-integrations/connectors/source-snapchat-marketing/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ data:
88
connectorSubtype: api
99
connectorType: source
1010
definitionId: 200330b2-ea62-4d11-ac6d-cfe3e3f8ab2b
11-
dockerImageTag: 0.6.0
11+
dockerImageTag: 0.6.1
1212
dockerRepository: airbyte/source-snapchat-marketing
1313
githubIssueLabel: source-snapchat-marketing
1414
icon: snapchat.svg

airbyte-integrations/connectors/source-snapchat-marketing/poetry.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-snapchat-marketing/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "0.6.0"
6+
version = "0.6.1"
77
name = "source-snapchat-marketing"
88
description = "Source implementation for Snapchat Marketing."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_snapchat_marketing"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.80.0"
2121

2222
[tool.poetry.scripts]
2323
source-snapchat-marketing = "source_snapchat_marketing.run:run"

airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/schemas/adaccounts.json

+18
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,75 @@
22
"type": ["null", "object"],
33
"properties": {
44
"id": {
5+
"description": "The unique identifier for the ad account.",
56
"type": ["null", "string"]
67
},
78
"updated_at": {
9+
"description": "The timestamp when the ad account details were last updated.",
810
"type": ["null", "string"]
911
},
1012
"created_at": {
13+
"description": "The timestamp when the ad account was created.",
1114
"type": ["null", "string"]
1215
},
1316
"name": {
17+
"description": "The name or title of the ad account.",
1418
"type": ["null", "string"]
1519
},
1620
"type": {
21+
"description": "The type or category of the ad account.",
1722
"type": ["null", "string"]
1823
},
1924
"status": {
25+
"description": "The current status or state of the ad account.",
2026
"type": ["null", "string"]
2127
},
2228
"organization_id": {
29+
"description": "The ID of the organization that owns the ad account.",
2330
"type": ["null", "string"]
2431
},
2532
"funding_source_ids": {
33+
"description": "IDs of the funding sources linked to the ad account.",
2634
"type": ["null", "array"],
2735
"items": {
36+
"description": "Individual funding source ID.",
2837
"type": ["null", "string"]
2938
}
3039
},
3140
"currency": {
41+
"description": "The currency used for financial transactions within the ad account.",
3242
"type": ["null", "string"]
3343
},
3444
"timezone": {
45+
"description": "The timezone setting for the ad account operations.",
3546
"type": ["null", "string"]
3647
},
3748
"advertiser_organization_id": {
49+
"description": "The ID of the organization that is advertising on the platform.",
3850
"type": ["null", "string"]
3951
},
4052
"billing_center_id": {
53+
"description": "The ID of the billing center associated with the ad account.",
4154
"type": ["null", "string"]
4255
},
4356
"billing_type": {
57+
"description": "The type of billing arrangement for the ad account.",
4458
"type": ["null", "string"]
4559
},
4660
"agency_representing_client": {
61+
"description": "The agency representing the client for ad account management.",
4762
"type": ["null", "boolean"]
4863
},
4964
"client_paying_invoices": {
65+
"description": "Indicates if the client is responsible for paying the invoices.",
5066
"type": ["null", "boolean"]
5167
},
5268
"regulations": {
69+
"description": "Regulatory information associated with the ad account.",
5370
"type": ["null", "object"],
5471
"properties": {
5572
"restricted_delivery_signals": {
73+
"description": "Signals or content types subject to delivery restrictions.",
5674
"type": ["null", "boolean"]
5775
}
5876
}

airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/schemas/ads.json

+12
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,54 @@
22
"type": ["null", "object"],
33
"properties": {
44
"id": {
5+
"description": "The unique identifier of the ad.",
56
"type": ["null", "string"]
67
},
78
"updated_at": {
9+
"description": "The date and time when the ad was last updated.",
810
"type": ["null", "string"]
911
},
1012
"created_at": {
13+
"description": "The date and time when the ad was created.",
1114
"type": ["null", "string"]
1215
},
1316
"name": {
17+
"description": "The name or title of the ad.",
1418
"type": ["null", "string"]
1519
},
1620
"ad_squad_id": {
21+
"description": "The unique identifier of the ad squad this ad belongs to.",
1722
"type": ["null", "string"]
1823
},
1924
"creative_id": {
25+
"description": "The unique identifier of the creative content used in the ad.",
2026
"type": ["null", "string"]
2127
},
2228
"status": {
29+
"description": "The current status of the ad.",
2330
"type": ["null", "string"]
2431
},
2532
"type": {
33+
"description": "The type or category of the ad.",
2634
"type": ["null", "string"]
2735
},
2836
"render_type": {
37+
"description": "The type of rendering used for the ad.",
2938
"type": ["null", "string"]
3039
},
3140
"review_status": {
41+
"description": "The review status of the ad.",
3242
"type": ["null", "string"]
3343
},
3444
"review_status_reasons": {
45+
"description": "Reasons for the review status of the ad.",
3546
"type": ["null", "array"],
3647
"items": {
3748
"type": ["null", "string"]
3849
}
3950
},
4051
"delivery_status": {
52+
"description": "The delivery status of the ad.",
4153
"type": ["null", "array"],
4254
"items": {
4355
"type": ["null", "string"]

0 commit comments

Comments
 (0)