Skip to content

Commit

Permalink
Source Stripe : Remove Updated field from schemas (#4980)
Browse files Browse the repository at this point in the history
* Stripe Source: fix schemas for incremental streams, remove json_schema from catalogs

Co-authored-by: ykurochkin <y.kurochkin@zazmic.com>
  • Loading branch information
yevhenii-ldv and ykurochkin committed Jul 28, 2021
1 parent c0c46ed commit f538a63
Show file tree
Hide file tree
Showing 23 changed files with 33 additions and 4,083 deletions.
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "e094cb9a-26de-4645-8761-65c0c425d1de",
"name": "Stripe",
"dockerRepository": "airbyte/source-stripe",
"dockerImageTag": "0.1.15",
"dockerImageTag": "0.1.16",
"documentationUrl": "https://hub.docker.com/r/airbyte/source-stripe",
"icon": "stripe.svg"
}
Expand Up @@ -103,7 +103,7 @@
- sourceDefinitionId: e094cb9a-26de-4645-8761-65c0c425d1de
name: Stripe
dockerRepository: airbyte/source-stripe
dockerImageTag: 0.1.15
dockerImageTag: 0.1.16
documentationUrl: https://hub.docker.com/r/airbyte/source-stripe
icon: stripe.svg
- sourceDefinitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-stripe/Dockerfile
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.15
LABEL io.airbyte.version=0.1.16
LABEL io.airbyte.name=airbyte/source-stripe
Expand Up @@ -3,43 +3,7 @@
{
"stream": {
"name": "events",
"json_schema": {
"type": "object",
"properties": {
"created": {
"type": ["null", "integer"]
},
"data": {
"type": ["null", "object"],
"properties": {}
},
"id": {
"type": ["null", "string"]
},
"api_version": {
"type": ["null", "string"]
},
"object": {
"type": ["null", "string"]
},
"livemode": {
"type": ["null", "boolean"]
},
"pending_webhooks": {
"type": ["null", "integer"]
},
"request": {
"type": ["null", "string"]
},
"type": {
"type": ["null", "string"]
},
"updated": {
"type": ["null", "string"],
"format": "date-time"
}
}
},
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["created"],
Expand Down
Expand Up @@ -3,262 +3,7 @@
{
"stream": {
"name": "subscriptions",
"json_schema": {
"type": ["object", "null"],
"properties": {
"metadata": {
"type": ["null", "object"],
"properties": {}
},
"canceled_at": {
"type": ["null", "number"]
},
"livemode": {
"type": ["null", "boolean"]
},
"start": {
"type": ["null", "string"],
"format": "date-time"
},
"items": {
"type": ["null", "object"],
"properties": {
"object": {
"type": ["null", "string"]
},
"data": {
"type": ["null", "array"]
},
"has_more": {
"type": ["null", "boolean"]
},
"total_count": {
"type": ["null", "number"]
},
"url": {
"type": ["null", "string"]
}
}
},
"id": {
"type": ["null", "string"]
},
"trial_start": {
"type": ["null", "number"]
},
"application_fee_percent": {
"type": ["null", "number"]
},
"billing_cycle_anchor": {
"type": ["null", "number"]
},
"cancel_at_period_end": {
"type": ["null", "boolean"]
},
"tax_percent": {
"type": ["null", "number"]
},
"discount": {
"type": ["null", "object"],
"properties": {
"end": {
"type": ["null", "number"],
"format": "date-time"
},
"coupon": {
"type": ["null", "object"],
"properties": {
"metadata": {
"type": ["null", "object"],
"properties": {}
},
"valid": {
"type": ["null", "boolean"]
},
"livemode": {
"type": ["null", "boolean"]
},
"amount_off": {
"type": ["null", "number"]
},
"redeem_by": {
"type": ["null", "string"],
"format": "date-time"
},
"duration_in_months": {
"type": ["null", "number"]
},
"percent_off_precise": {
"type": ["null", "number"]
},
"max_redemptions": {
"type": ["null", "number"]
},
"currency": {
"type": ["null", "string"]
},
"name": {
"type": ["null", "string"]
},
"times_redeemed": {
"type": ["null", "number"]
},
"id": {
"type": ["null", "string"]
},
"duration": {
"type": ["null", "string"]
},
"object": {
"type": ["null", "string"]
},
"percent_off": {
"type": ["null", "number"]
},
"created": {
"type": ["null", "number"]
}
}
},
"customer": {
"type": ["null", "string"]
},
"start_date": {
"type": ["null", "number"]
},
"object": {
"type": ["null", "string"]
},
"subscription": {
"type": ["null", "string"]
}
}
},
"current_period_end": {
"type": ["null", "number"]
},
"plan": {
"type": ["null", "object"],
"properties": {
"metadata": {
"type": ["null", "object"],
"properties": {}
},
"product": {
"type": ["null", "string"]
},
"statement_description": {
"type": ["null", "string"]
},
"currency": {
"type": ["null", "string"]
},
"livemode": {
"type": ["null", "boolean"]
},
"tiers_mode": {
"type": ["null", "string"]
},
"active": {
"type": ["null", "boolean"]
},
"id": {
"type": ["null", "string"]
},
"tiers": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer", "object"],
"properties": {
"flat_amount": {
"type": ["null", "integer"]
},
"unit_amount": {
"type": ["null", "integer"]
},
"up_to": {
"type": ["null", "integer"]
}
}
}
},
"created": {
"type": ["null", "integer"]
},
"nickname": {
"type": ["null", "string"]
},
"transform_usage": {
"type": ["null", "string"]
},
"interval_count": {
"type": ["null", "integer"]
},
"name": {
"type": ["null", "string"]
},
"amount": {
"type": ["null", "integer"]
},
"interval": {
"type": ["null", "string"]
},
"aggregate_usage": {
"type": ["null", "string"]
},
"trial_period_days": {
"type": ["null", "integer"]
},
"billing_scheme": {
"type": ["null", "string"]
},
"statement_descriptor": {
"type": ["null", "string"]
},
"usage_type": {
"type": ["null", "string"]
},
"object": {
"type": ["null", "string"]
}
}
},
"billing": {
"type": ["null", "string"]
},
"quantity": {
"type": ["null", "integer"]
},
"days_until_due": {
"type": ["null", "integer"]
},
"status": {
"type": ["null", "string"]
},
"created": {
"type": ["null", "integer"]
},
"ended_at": {
"type": ["null", "number"]
},
"customer": {
"type": ["null", "string"]
},
"current_period_start": {
"type": ["null", "number"]
},
"trial_end": {
"type": ["null", "number"]
},
"object": {
"type": ["null", "string"]
},
"updated": {
"type": ["null", "string"],
"format": "date-time"
}
}
},
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["created"],
Expand Down
Expand Up @@ -66,10 +66,6 @@
},
"amount": {
"type": ["null", "integer"]
},
"updated": {
"type": ["null", "string"],
"format": "date-time"
}
}
}
Expand Up @@ -1058,10 +1058,6 @@
},
"description": {
"type": ["null", "string"]
},
"updated": {
"type": ["null", "string"],
"format": "date-time"
}
}
}
Expand Up @@ -50,10 +50,6 @@
},
"percent_off": {
"type": ["null", "number"]
},
"updated": {
"type": ["null", "string"],
"format": "date-time"
}
}
}
Expand Up @@ -12,7 +12,7 @@
"type": ["null", "number"]
},
"created": {
"type": ["null", "number"]
"type": ["null", "integer"]
},
"credit_note": {
"type": ["null", "string"]
Expand Down

0 comments on commit f538a63

Please sign in to comment.