Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,23 +1,94 @@
{
"additionalProperties": false,
"type": "object",
"properties": {
"collection_id": {
"id": {
"type": [
"null",
"integer"
]
},
"channel_settings": {
"type": [
"null",
"object"
],
"properties": {
"api": {
"type": [
"null",
"object"
],
"properties": {
"display": {
"type": [
"null",
"boolean"
]
}
}
},
"customer_portal": {
"type": [
"null",
"object"
],
"properties": {
"display": {
"type": [
"null",
"boolean"
]
}
}
},
"merchant_portal": {
"type": [
"null",
"object"
],
"properties": {
"display": {
"type": [
"null",
"boolean"
]
}
}
},
"checkout_page": {
"type": [
"null",
"object"
],
"properties": {
"display": {
"type": [
"null",
"boolean"
]
}
}
}
}
},
"created_at": {
"type": [
"null",
"date-time"
]
"string"
],
"format": "date-time"
},
"deleted_at": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"discount_amount": {
"multipleOf": 1e-08,
"type": [
"null",
"number"
"string"
]
},
"discount_type": {
Expand All @@ -26,110 +97,94 @@
"string"
]
},
"handle": {
"external_plan_group_id": {
"type": [
"null",
"string"
]
},
"id": {
"external_plan_id": {
"type": [
"null",
"integer"
"string"
]
},
"images": {
"additionalProperties": false,
"external_plan_name": {
"type": [
"null",
"string"
]
},
"external_product_id": {
"type": [
"null",
"object"
],
"properties": {
"large": {
"type": [
"null",
"string"
]
},
"medium": {
"type": [
"null",
"string"
]
},
"original": {
"ecommerce": {
"type": [
"null",
"string"
]
}
}
},
"external_variant_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
"small": {
"type": [
"null",
"string"
]
{
"type": "null"
}
},
"type": [
"null",
"object"
]
},
"product_id": {
"has_variant_restrictions": {
"type": [
"null",
"integer"
"boolean"
]
},
"shopify_product_id": {
"sort_order": {
"type": [
"null",
"integer"
]
},
"subscription_defaults": {
"additionalProperties": false,
"subscription_preferences": {
"type": [
"null",
"object"
],
"properties": {
"charge_interval_frequency": {
"type": [
"null",
"integer"
]
},
"cutoff_day_of_month": {
"apply_cutoff_date_to_checkout": {
"type": [
"null",
"string"
"boolean"
]
},
"cutoff_day_of_week": {
"charge_interval_frequency": {
"type": [
"null",
"string"
"integer"
]
},
"expire_after_specific_number_of_charges": {
"cutoff_day_of_month": {
"type": [
"null",
"integer"
]
},
"handle": {
"cutoff_day_of_week": {
"type": [
"null",
"string"
]
},
"modifiable_properties": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
"integer"
]
},
"number_charges_until_expiration": {
"expire_after_specific_number_of_charges": {
"type": [
"null",
"integer"
Expand All @@ -138,13 +193,13 @@
"order_day_of_month": {
"type": [
"null",
"string"
"integer"
]
},
"order_day_of_week": {
"type": [
"null",
"string"
"integer"
]
},
"order_interval_frequency": {
Expand All @@ -153,38 +208,21 @@
"integer"
]
},
"order_interval_frequency_options": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"order_interval_unit": {
"type": [
"null",
"string"
]
},
"storefront_purchase_options": {
"interval_unit": {
"type": [
"null",
"string"
]
}
},
}
},
"title": {
"type": [
"null",
"object"
"string"
]
},
"title": {
"type": {
"type": [
"null",
"string"
Expand All @@ -193,9 +231,9 @@
"updated_at": {
"type": [
"null",
"date-time"
]
"string"
],
"format": "date-time"
}
},
"type": "object"
}
}
}
12 changes: 5 additions & 7 deletions _data/taps/schemas/recharge/v2/recharge-v2-tables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,17 @@ tables:
replication-method: Key-based Incremental
primary-key: id
replication-key: updated_at
- name: products
description: 'The `{{ table.name }}` table contains info about your products. This
table uses the 2021-01 API version.
- name: plans
description: 'The `{{ table.name }}` table contains info about your plans.

'
links:
doc-link: https://developer.rechargepayments.com/2021-11/products/products_list
singer-schema: https://github.com/singer-io/tap-recharge/tree/master/tap_recharge/schemas/products.json
api-method: https://developer.rechargepayments.com/2021-01/products/products_list
doc-link: https://developer.rechargepayments.com/2021-11/plans/plans_list
singer-schema: https://github.com/singer-io/tap-recharge/blob/master/tap_recharge/schemas/plans.json
api-method: https://developer.rechargepayments.com/2021-11/plans/plans_list
table-details:
replication-method: Key-based Incremental
primary-key: id
replication-key: updated_at
- name: store
description: 'The `{{ table.name }}` table contains info about your store.

Expand Down
Loading