Skip to content

Commit 067e36d

Browse files
Source Stripe: update stream schema for payment_intents stream (#18228)
* #709 source stripe: upd stream schema for payment_intents stream * #709 source stripe: upd changelog * auto-bump connector version Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 7fcadf4 commit 067e36d

File tree

5 files changed

+28
-13
lines changed

5 files changed

+28
-13
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@
10471047
- name: Stripe
10481048
sourceDefinitionId: e094cb9a-26de-4645-8761-65c0c425d1de
10491049
dockerRepository: airbyte/source-stripe
1050-
dockerImageTag: 0.1.39
1050+
dockerImageTag: 0.1.40
10511051
documentationUrl: https://docs.airbyte.com/integrations/sources/stripe
10521052
icon: stripe.svg
10531053
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11029,7 +11029,7 @@
1102911029
type: "string"
1103011030
path_in_connector_config:
1103111031
- "client_secret"
11032-
- dockerImage: "airbyte/source-stripe:0.1.39"
11032+
- dockerImage: "airbyte/source-stripe:0.1.40"
1103311033
spec:
1103411034
documentationUrl: "https://docs.airbyte.com/integrations/sources/stripe"
1103511035
connectionSpecification:
@@ -11086,9 +11086,9 @@
1108611086
- 180
1108711087
- 360
1108811088
description: "The time increment used by the connector when requesting data\
11089-
\ from the Stripe API. The bigger the value is, the less requests will\
11089+
\ from the Stripe API. The bigger the value is, the less requests will\
1109011090
\ be made and faster the sync will be. On the other hand, the more seldom\
11091-
\ the state is persisted."
11091+
\ the state is persisted."
1109211092
order: 4
1109311093
supportsNormalization: false
1109411094
supportsDBT: false

airbyte-integrations/connectors/source-stripe/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ COPY main.py ./
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.1.39
15+
LABEL io.airbyte.version=0.1.40
1616
LABEL io.airbyte.name=airbyte/source-stripe

airbyte-integrations/connectors/source-stripe/source_stripe/schemas/payment_intents.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,12 @@
124124
}
125125
}
126126
},
127-
"afterpay_clearpay": {},
128-
"alipay": {},
127+
"afterpay_clearpay": {
128+
"type": ["null", "string"]
129+
},
130+
"alipay": {
131+
"type": ["null", "string"]
132+
},
129133
"au_becs_debit": {
130134
"type": ["null", "object"],
131135
"properties": {
@@ -154,7 +158,9 @@
154158
}
155159
}
156160
},
157-
"bancontact": {},
161+
"bancontact": {
162+
"type": ["null", "string"]
163+
},
158164
"billing_details": {
159165
"type": ["null", "object"],
160166
"properties": {
@@ -372,12 +378,18 @@
372378
"wallet": {
373379
"type": ["null", "object"],
374380
"properties": {
375-
"amex_express_checkout": {},
376-
"apple_pay": {},
381+
"amex_express_checkout": {
382+
"type": ["null", "string"]
383+
},
384+
"apple_pay": {
385+
"type": ["null", "string"]
386+
},
377387
"dynamic_last4": {
378388
"type": ["null", "string"]
379389
},
380-
"google_pay": {},
390+
"google_pay": {
391+
"type": ["null", "string"]
392+
},
381393
"masterpass": {
382394
"type": ["null", "object"],
383395
"properties": {
@@ -435,7 +447,9 @@
435447
}
436448
}
437449
},
438-
"samsung_pay": {},
450+
"samsung_pay": {
451+
"type": ["null", "string"]
452+
},
439453
"type": {
440454
"type": ["null", "string"]
441455
},

docs/integrations/sources/stripe.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ The Stripe connector should not run into Stripe API limitations under normal usa
7575
## Changelog
7676

7777
| Version | Date | Pull Request | Subject |
78-
| :------ | :--------- | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------- |
78+
|:--------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------|
79+
| 0.1.40 | 2022-10-20 | [18228](https://github.com/airbytehq/airbyte/pull/18228) | Update the `Payment Intents` stream schema |
7980
| 0.1.39 | 2022-09-28 | [17304](https://github.com/airbytehq/airbyte/pull/17304) | Migrate to per-stream states. |
8081
| 0.1.38 | 2022-09-09 | [16537](https://github.com/airbytehq/airbyte/pull/16537) | Fix `redeem_by` field type for `customers` stream |
8182
| 0.1.37 | 2022-08-16 | [15686](https://github.com/airbytehq/airbyte/pull/15686) | Fix the bug when the stream couldn't be fetched due to limited permission set, if so - it should be skipped |

0 commit comments

Comments
 (0)