diff --git a/tap_chargebee/schemas/credit_notes.json b/tap_chargebee/schemas/credit_notes.json index c17728d..07d2c85 100644 --- a/tap_chargebee/schemas/credit_notes.json +++ b/tap_chargebee/schemas/credit_notes.json @@ -14,6 +14,10 @@ "type": ["null", "string"], "maxLength": 50 }, + "base_currency_code": { + "type": ["null", "string"], + "maxLength": 3 + }, "reference_invoice_id": { "type": ["null", "string"], "maxLength": 50 @@ -21,6 +25,9 @@ "type": { "type": ["null", "string"] }, + "object": { + "type": ["null", "string"] + }, "reason_code": { "type": ["null", "string"] }, @@ -42,6 +49,12 @@ "type": ["null", "string"], "maxLength": 3 }, + "exchange_rate": { + "type": ["null", "integer"] + }, + "fractional_correction": { + "type": ["null", "integer"] + }, "total": { "type": ["null", "integer"], "minimum": 0 @@ -96,6 +109,12 @@ "subscription_id": { "type": ["null", "string"] }, + "customer_id": { + "type": ["null", "string"] + }, + "object": { + "type": ["null", "string"] + }, "date_from": { "type": ["null", "string"], "format": "date-time" diff --git a/tap_chargebee/schemas/customers.json b/tap_chargebee/schemas/customers.json index 82463e2..836f415 100644 --- a/tap_chargebee/schemas/customers.json +++ b/tap_chargebee/schemas/customers.json @@ -79,6 +79,27 @@ "cf_company_id": { "type": ["null","integer"] }, + "cf_location_id": { + "type": ["null","integer"] + }, + "cf_require_finance_team_intervention": { + "type": ["null","string"] + }, + "cf_location_name": { + "type": ["null","string"] + }, + "cf_require_vendor_portal": { + "type": ["null","string"] + }, + "cf_vendor_portal": { + "type": ["null","string"] + }, + "use_default_hierarchy_settings": { + "type": ["null","boolean"] + }, + "meta_data": { + "type": ["null", "string"] + }, "allow_direct_debit": { "type": ["null", "boolean"] }, @@ -142,7 +163,10 @@ "zip": { "type": ["null", "string"] }, - "validation_status,": { + "validation_status": { + "type": ["null", "string"] + }, + "object": { "type": ["null", "string"] } } @@ -256,7 +280,7 @@ "excess_payments": { "type": ["null", "integer"] }, - "refundable_credits ": { + "refundable_credits": { "type": ["null", "integer"] }, "unbilled_charges": { @@ -264,9 +288,129 @@ }, "currency_code": { "type": ["null", "string"] + }, + "balance_currency_code": { + "type": ["null", "string"] + }, + "object": { + "type": ["null", "string"] } } } + }, + "relationship": { + "type": [ + "null", + "object" + ], + "properties": { + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "payment_owner_id": { + "type": [ + "null", + "string" + ] + }, + "root_id": { + "type": [ + "null", + "string" + ] + }, + "invoice_owner_id": { + "type": [ + "null", + "string" + ] + }, + "object": { + "type": [ + "null", + "string" + ] + } + } + }, + "parent_account_access": { + "type": [ + "null", + "object" + ], + "properties": { + "portal_edit_child_subscriptions": { + "type": [ + "null", + "string" + ] + }, + "portal_download_child_invoices": { + "type": [ + "null", + "string" + ] + }, + "send_subscription_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_invoice_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_payment_emails": { + "type": [ + "null", + "boolean" + ] + } + } + }, + "child_account_access": { + "type": [ + "null", + "object" + ], + "properties": { + "portal_edit_subscriptions": { + "type": [ + "null", + "string" + ] + }, + "portal_download_invoices": { + "type": [ + "null", + "string" + ] + }, + "send_subscription_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_invoice_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_payment_emails": { + "type": [ + "null", + "boolean" + ] + } + } } } } diff --git a/tap_chargebee/schemas/events.json b/tap_chargebee/schemas/events.json index 5b06384..536195a 100644 --- a/tap_chargebee/schemas/events.json +++ b/tap_chargebee/schemas/events.json @@ -27,6 +27,26 @@ "webhook_status": { "type": ["null", "string"] }, + "webhook_failure_reason": { + "type": ["null", "string"] + }, + "webhooks": { + "type": ["null", "array"], + "items": { + "type": ["null", "object"], + "properties": { + "id": { + "type": ["null", "string"] + }, + "webhook_status": { + "type": ["null", "string"] + }, + "object": { + "type": ["null", "string"] + } + } + } + }, "content": { "type": ["null", "object"], "properties" : { @@ -37,6 +57,27 @@ "id": { "type": ["null", "string"] }, + "cf_location_id": { + "type": ["null","integer"] + }, + "cf_require_finance_team_intervention": { + "type": ["null","string"] + }, + "cf_location_name": { + "type": ["null","string"] + }, + "cf_require_vendor_portal": { + "type": ["null","string"] + }, + "cf_vendor_portal": { + "type": ["null","string"] + }, + "use_default_hierarchy_settings": { + "type": ["null","boolean"] + }, + "meta_data": { + "type": ["null", "string"] + }, "first_name": { "type": ["null", "string"] }, @@ -213,6 +254,120 @@ } } }, + "relationship": { + "type": [ + "null", + "object" + ], + "properties": { + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "payment_owner_id": { + "type": [ + "null", + "string" + ] + }, + "root_id": { + "type": [ + "null", + "string" + ] + }, + "invoice_owner_id": { + "type": [ + "null", + "string" + ] + }, + "object": { + "type": [ + "null", + "string" + ] + } + } + }, + "parent_account_access": { + "type": [ + "null", + "object" + ], + "properties": { + "portal_edit_child_subscriptions": { + "type": [ + "null", + "string" + ] + }, + "portal_download_child_invoices": { + "type": [ + "null", + "string" + ] + }, + "send_subscription_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_invoice_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_payment_emails": { + "type": [ + "null", + "boolean" + ] + } + } + }, + "child_account_access": { + "type": [ + "null", + "object" + ], + "properties": { + "portal_edit_subscriptions": { + "type": [ + "null", + "string" + ] + }, + "portal_download_invoices": { + "type": [ + "null", + "string" + ] + }, + "send_subscription_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_invoice_emails": { + "type": [ + "null", + "boolean" + ] + }, + "send_payment_emails": { + "type": [ + "null", + "boolean" + ] + } + } + }, "contacts": { "type": ["null", "array"], "items": { @@ -278,24 +433,57 @@ } }, "balances": { - "type": ["null", "array"], + "type": [ + "null", + "array" + ], "items": { - "type": ["null","object"], + "type": [ + "null", + "object" + ], "properties": { "promotional_credits": { - "type": ["null", "integer"] + "type": [ + "null", + "integer" + ] }, "excess_payments": { - "type": ["null", "integer"] + "type": [ + "null", + "integer" + ] }, - "refundable_credits ": { - "type": ["null", "integer"] + "refundable_credits": { + "type": [ + "null", + "integer" + ] }, "unbilled_charges": { - "type": ["null", "integer"] + "type": [ + "null", + "integer" + ] }, "currency_code": { - "type": ["null", "string"] + "type": [ + "null", + "string" + ] + }, + "balance_currency_code": { + "type": [ + "null", + "string" + ] + }, + "object": { + "type": [ + "null", + "string" + ] } } } @@ -339,6 +527,9 @@ "coupon": { "type": ["null", "string"] }, + "override_relationship": { + "type": ["null", "boolean"] + }, "trial_start": { "type": ["null", "string"], "format": "date-time" @@ -568,7 +759,10 @@ "zip": { "type": ["null", "string"] }, - "validation_status,": { + "validation_status": { + "type": ["null", "string"] + }, + "object": { "type": ["null", "string"] } } @@ -619,6 +813,50 @@ "type": ["null", "boolean"] } } + }, + "contract_term": { + "type": ["null","object"], + "properties": { + "id": { + "type": ["null", "string"] + }, + "status": { + "type": ["null", "string"] + }, + "contract_start": { + "type": ["null", "string"], + "format": "date-time" + }, + "contract_end": { + "type": ["null", "string"], + "format": "date-time" + }, + "billing_cycle": { + "type": ["null", "integer"] + }, + "action_at_term_end": { + "type": ["null", "string"] + }, + "total_contract_value": { + "type": ["null", "integer"] + }, + "cancellation_cutoff_period": { + "type": ["null", "integer"] + }, + "created_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "subscription_id": { + "type": ["null", "string"] + }, + "remaining_billing_cycles": { + "type": ["null", "integer"] + }, + "total_amount_raised": { + "type": ["null", "integer"] + } + } } } }, @@ -796,6 +1034,9 @@ "term_finalized": { "type": ["null", "boolean"] }, + "payment_owner": { + "type": ["null", "string"] + }, "line_items": { "type": ["null", "array"], "items": { @@ -807,6 +1048,9 @@ "subscription_id": { "type": ["null", "string"] }, + "customer_id": { + "type": ["null", "string"] + }, "date_from": { "type": ["null", "string"], "format": "date-time" @@ -1097,6 +1341,39 @@ } } }, + "dunning_attempts": { + "type": [ + "null", + "array" + ], + "items": { + "type": [ + "null", + "object" + ], + "properties": { + "attempt": { + "type": ["null", "integer"] + }, + "transaction_id": { + "type": ["null", "string"] + }, + "dunning_type": { + "type": ["null", "string"] + }, + "created_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "txn_status": { + "type": ["null", "string"] + }, + "txn_amount": { + "type": ["null", "integer"] + } + } + } + }, "shipping_address": { "type": ["null","object"], "properties": { @@ -1139,7 +1416,10 @@ "zip": { "type": ["null", "string"] }, - "validation_status,": { + "validation_status": { + "type": ["null", "string"] + }, + "object": { "type": ["null", "string"] } } diff --git a/tap_chargebee/schemas/invoices.json b/tap_chargebee/schemas/invoices.json index bea8092..62a3597 100644 --- a/tap_chargebee/schemas/invoices.json +++ b/tap_chargebee/schemas/invoices.json @@ -108,6 +108,9 @@ "term_finalized": { "type": ["null", "boolean"] }, + "payment_owner": { + "type": ["null", "string"] + }, "line_items": { "type": ["null", "array"], "items": { @@ -119,6 +122,9 @@ "subscription_id": { "type": ["null", "string"] }, + "customer_id": { + "type": ["null", "string"] + }, "date_from": { "type": ["null", "string"], "format": "date-time" @@ -172,6 +178,39 @@ } } }, + "dunning_attempts": { + "type": [ + "null", + "array" + ], + "items": { + "type": [ + "null", + "object" + ], + "properties": { + "attempt": { + "type": ["null", "integer"] + }, + "transaction_id": { + "type": ["null", "string"] + }, + "dunning_type": { + "type": ["null", "string"] + }, + "created_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "txn_status": { + "type": ["null", "string"] + }, + "txn_amount": { + "type": ["null", "integer"] + } + } + } + }, "discounts": { "type": ["null", "array"], "items": { @@ -451,7 +490,10 @@ "zip": { "type": ["null", "string"] }, - "validation_status,": { + "validation_status": { + "type": ["null", "string"] + }, + "object": { "type": ["null", "string"] } } diff --git a/tap_chargebee/schemas/plans.json b/tap_chargebee/schemas/plans.json index 2dcf389..41fd64d 100644 --- a/tap_chargebee/schemas/plans.json +++ b/tap_chargebee/schemas/plans.json @@ -59,6 +59,122 @@ }, "tax_profile_id": { "type": ["null", "string"] + }, + "addon_applicability": { + "type": ["null", "string"] + }, + "cf_app": { + "type": ["null", "string"] + }, + "cf_plan_level": { + "type": ["null", "string"] + }, + "currency_code": { + "type": ["null", "string"] + }, + "enabled_in_hosted_pages": { + "type": ["null", "boolean"] + }, + "enabled_in_portal": { + "type": ["null", "boolean"] + }, + "giftable": { + "type": ["null", "boolean"] + }, + "invoice_name": { + "type": ["null", "string"] + }, + "is_shippable": { + "type": ["null", "boolean"] + }, + "meta_data": { + "type": ["null", "string"] + }, + "object": { + "type": ["null", "string"] + }, + "pricing_model": { + "type": ["null", "string"] + }, + "resource_version": { + "type": ["null", "integer"] + }, + "show_description_in_invoices": { + "type": ["null", "boolean"] + }, + "show_description_in_quotes": { + "type": ["null", "boolean"] + }, + "tiers": { + "type": ["null", "array"], + "items": { + "type": ["null", "object"], + "properties": { + "starting_unit": { + "type": ["null", "integer"] + }, + "ending_unit": { + "type": ["null", "integer"] + }, + "price": { + "type": ["null", "integer"] + }, + "object": { + "type": ["null", "string"] + } + } + } + }, + "applicable_addons": { + "type": ["null", "array"], + "items": { + "type": ["null", "object"], + "properties": { + "id": { + "type": ["null", "string"] + } + } + } + }, + "attached_addons": { + "type": ["null", "array"], + "items": { + "type": ["null", "object"], + "properties": { + "id": { + "type": ["null", "string"] + }, + "quantity": { + "type": ["null", "integer"] + }, + "billing_cycles": { + "type": ["null", "integer"] + }, + "type": { + "type": ["null", "string"] + } + } + } + }, + "event_based_addons": { + "type": ["null", "array"], + "items": { + "type": ["null", "object"], + "properties": { + "id": { + "type": ["null", "string"] + }, + "quantity": { + "type": ["null", "integer"] + }, + "on_event": { + "type": ["null", "string"] + }, + "charge_once": { + "type": ["null", "boolean"] + } + } + } } } } diff --git a/tap_chargebee/schemas/subscriptions.json b/tap_chargebee/schemas/subscriptions.json index 1e08db5..cc7d141 100644 --- a/tap_chargebee/schemas/subscriptions.json +++ b/tap_chargebee/schemas/subscriptions.json @@ -55,6 +55,14 @@ "type": ["null", "string"], "format": "date-time" }, + "pause_date": { + "type": ["null", "string"], + "format": "date-time" + }, + "resume_date": { + "type": ["null", "string"], + "format": "date-time" + }, "remaining_billing_cycles": { "type": ["null", "integer"] }, @@ -103,9 +111,15 @@ "deleted": { "type": ["null", "boolean"] }, + "override_relationship": { + "type": ["null", "boolean"] + }, "base_currency_code": { "type": ["null", "string"] }, + "created_from_ip": { + "type": ["null", "string"] + }, "due_invoices_count": { "type": ["null", "integer"] }, @@ -127,6 +141,9 @@ "object": { "type": ["null", "string"] }, + "meta_data": { + "type": ["null", "string"] + }, "addons": { "type": ["null", "array"], "items": { @@ -138,6 +155,9 @@ "quantity": { "type": ["null", "integer"] }, + "amount": { + "type": ["null", "integer"] + }, "unit_price": { "type": ["null", "integer"] }, @@ -264,7 +284,10 @@ "zip": { "type": ["null", "string"] }, - "validation_status,": { + "validation_status": { + "type": ["null", "string"] + }, + "object": { "type": ["null", "string"] } } @@ -315,6 +338,50 @@ "type": ["null", "boolean"] } } + }, + "contract_term": { + "type": ["null","object"], + "properties": { + "id": { + "type": ["null", "string"] + }, + "status": { + "type": ["null", "string"] + }, + "contract_start": { + "type": ["null", "string"], + "format": "date-time" + }, + "contract_end": { + "type": ["null", "string"], + "format": "date-time" + }, + "billing_cycle": { + "type": ["null", "integer"] + }, + "action_at_term_end": { + "type": ["null", "string"] + }, + "total_contract_value": { + "type": ["null", "integer"] + }, + "cancellation_cutoff_period": { + "type": ["null", "integer"] + }, + "created_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "subscription_id": { + "type": ["null", "string"] + }, + "remaining_billing_cycles": { + "type": ["null", "integer"] + }, + "total_amount_raised": { + "type": ["null", "integer"] + } + } } } }