subskribe_sandbox 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -7
- data/docs/AccountsApi.md +2 -2
- data/docs/AutomatedInvoiceRule.md +3 -3
- data/docs/BulkInvoiceRunItem.md +2 -2
- data/docs/BulkPaymentUploadData.md +5 -5
- data/docs/ChargeJson.md +2 -2
- data/docs/PaginatedAccountsResponse.md +10 -0
- data/docs/PaginatedSubscriptionsResponse.md +10 -0
- data/docs/RevenueRecognitionApi.md +20 -20
- data/docs/SubscriptionsApi.md +2 -2
- data/docs/TaxJarIntegration.md +2 -2
- data/lib/subskribe_sandbox/api/accounts_api.rb +3 -3
- data/lib/subskribe_sandbox/api/revenue_recognition_api.rb +22 -22
- data/lib/subskribe_sandbox/api/subscriptions_api.rb +3 -3
- data/lib/subskribe_sandbox/models/automated_invoice_rule.rb +31 -31
- data/lib/subskribe_sandbox/models/bulk_invoice_run_item.rb +22 -22
- data/lib/subskribe_sandbox/models/bulk_payment_upload_data.rb +46 -46
- data/lib/subskribe_sandbox/models/charge_json.rb +16 -16
- data/lib/{subskribe_dev/models/payment_json_pagination_response.rb → subskribe_sandbox/models/paginated_accounts_response.rb} +4 -4
- data/lib/{subskribe_dev/models/credit_memo_pagination_response_json.rb → subskribe_sandbox/models/paginated_subscriptions_response.rb} +4 -4
- data/lib/subskribe_sandbox/models/tax_jar_integration.rb +16 -16
- data/lib/subskribe_sandbox/version.rb +1 -1
- data/lib/subskribe_sandbox.rb +2 -1
- data/spec/api/accounting_api_spec.rb +3 -3
- data/spec/api/accounts_api_spec.rb +4 -4
- data/spec/api/approvals_api_spec.rb +3 -3
- data/spec/api/attachments_api_spec.rb +3 -3
- data/spec/api/authentication_api_spec.rb +3 -3
- data/spec/api/billing_api_spec.rb +3 -3
- data/spec/api/credit_memo_api_spec.rb +3 -3
- data/spec/api/custom_field_api_spec.rb +3 -3
- data/spec/api/customization_api_spec.rb +3 -3
- data/spec/api/default_api_spec.rb +3 -3
- data/spec/api/discounts_api_spec.rb +3 -3
- data/spec/api/entities_api_spec.rb +42 -3
- data/spec/api/erp_api_spec.rb +13 -13
- data/spec/api/import_api_spec.rb +3 -3
- data/spec/api/integrations_api_spec.rb +3 -3
- data/spec/api/metrics_reporting_api_spec.rb +3 -3
- data/spec/api/notifications_api_spec.rb +3 -3
- data/spec/api/opportunity_api_spec.rb +3 -3
- data/spec/api/orders_api_spec.rb +3 -3
- data/spec/api/payments_api_spec.rb +3 -3
- data/spec/api/product_catalog_api_spec.rb +16 -3
- data/spec/api/rate_card_api_spec.rb +3 -3
- data/spec/api/refunds_api_spec.rb +3 -3
- data/spec/api/reports_api_spec.rb +3 -3
- data/spec/api/revenue_recognition_api_spec.rb +8 -8
- data/spec/api/sales_room_api_spec.rb +3 -3
- data/spec/api/settings_api_spec.rb +240 -3
- data/spec/api/subscriptions_api_spec.rb +4 -4
- data/spec/api/usage_api_spec.rb +3 -3
- data/spec/api/users_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +31 -31
- data/spec/configuration_spec.rb +6 -6
- data/spec/models/account_address_json_spec.rb +3 -3
- data/spec/models/account_address_spec.rb +3 -3
- data/spec/models/account_contact_json_spec.rb +3 -3
- data/spec/models/account_contact_spec.rb +3 -3
- data/spec/models/account_json_spec.rb +3 -3
- data/spec/models/account_payment_method_json_spec.rb +3 -3
- data/spec/models/account_receivable_contact_json_spec.rb +3 -3
- data/spec/models/accounting_event_paginated_response_spec.rb +3 -3
- data/spec/models/accounting_event_spec.rb +3 -3
- data/spec/models/accounting_period_calculation_spec.rb +3 -3
- data/spec/models/accounting_period_spec.rb +3 -3
- data/spec/models/add_and_apply_payment_application_json_spec.rb +3 -3
- data/spec/models/anrok_integration_input_spec.rb +3 -3
- data/spec/models/approval_matrix_import_data_json_spec.rb +3 -3
- data/spec/models/approval_matrix_import_preview_spec.rb +3 -3
- data/spec/models/approval_role_json_spec.rb +3 -3
- data/spec/models/approval_role_segment_change_spec.rb +3 -3
- data/spec/models/approval_segment_json_spec.rb +3 -3
- data/spec/models/attachment_spec.rb +3 -3
- data/spec/models/attribute_reference_spec.rb +3 -3
- data/spec/models/auth_saml_integration_json_spec.rb +3 -3
- data/spec/models/automated_invoice_rule_request_json_spec.rb +3 -3
- data/spec/models/automated_invoice_rule_spec.rb +15 -15
- data/spec/models/avalara_integration_input_spec.rb +3 -3
- data/spec/models/avalara_integration_spec.rb +3 -3
- data/spec/models/billing_event_entry_spec.rb +3 -3
- data/spec/models/billing_event_input_spec.rb +3 -3
- data/spec/models/bulk_invoice_run_exclusions_spec.rb +3 -3
- data/spec/models/bulk_invoice_run_input_spec.rb +3 -3
- data/spec/models/bulk_invoice_run_item_spec.rb +9 -9
- data/spec/models/bulk_invoice_run_selector_spec.rb +3 -3
- data/spec/models/bulk_invoice_run_spec.rb +3 -3
- data/spec/models/bulk_payment_upload_data_spec.rb +13 -13
- data/spec/models/bulk_payment_upload_result_spec.rb +6 -6
- data/spec/models/byte_buffer_spec.rb +3 -3
- data/spec/models/catalog_relationship_spec.rb +3 -3
- data/spec/models/charge_json_spec.rb +6 -6
- data/spec/models/charge_partial_json_spec.rb +3 -3
- data/spec/models/company_contact_json_spec.rb +3 -3
- data/spec/models/credit_memo_application_json_spec.rb +3 -3
- data/spec/models/credit_memo_balance_json_spec.rb +3 -3
- data/spec/models/credit_memo_json_spec.rb +3 -3
- data/spec/models/credit_memo_line_item_json_spec.rb +3 -3
- data/spec/models/credit_memo_line_item_request_json_spec.rb +3 -3
- data/spec/models/credit_memo_pagination_response_json_spec.rb +3 -3
- data/spec/models/crm_account_import_response_spec.rb +3 -3
- data/spec/models/custom_field_default_spec.rb +3 -3
- data/spec/models/custom_field_definition_create_input_spec.rb +3 -3
- data/spec/models/custom_field_definition_json_spec.rb +3 -3
- data/spec/models/custom_field_definition_update_input_spec.rb +3 -3
- data/spec/models/custom_field_entry_spec.rb +3 -3
- data/spec/models/custom_field_update_input_spec.rb +3 -3
- data/spec/models/custom_field_value_spec.rb +3 -3
- data/spec/models/data_import_spec.rb +3 -3
- data/spec/models/discount_detail_json_spec.rb +3 -3
- data/spec/models/discount_json_spec.rb +3 -3
- data/spec/models/docu_sign_integration_request_json_spec.rb +3 -3
- data/spec/models/docu_sign_integration_response_json_spec.rb +3 -3
- data/spec/models/document_custom_content_spec.rb +3 -3
- data/spec/models/document_section_spec.rb +3 -3
- data/spec/models/document_template_json_spec.rb +3 -3
- data/spec/models/dunning_setting_json_spec.rb +3 -3
- data/spec/models/email_notifiers_list_spec.rb +3 -3
- data/spec/models/entity_json_spec.rb +3 -3
- data/spec/models/entity_ref_spec.rb +3 -3
- data/spec/models/entity_spec.rb +3 -3
- data/spec/models/entry_spec.rb +3 -3
- data/spec/models/external_arr_schedule_json_spec.rb +3 -3
- data/spec/models/flatfile_workbook_response_data_spec.rb +3 -3
- data/spec/models/flatfile_workbook_response_spec.rb +3 -3
- data/spec/models/input_stream_spec.rb +3 -3
- data/spec/models/integration_spec.rb +3 -3
- data/spec/models/invoice_balance_json_spec.rb +3 -3
- data/spec/models/invoice_item_json_spec.rb +3 -3
- data/spec/models/invoice_item_preview_json_spec.rb +3 -3
- data/spec/models/invoice_json_pagination_response_spec.rb +3 -3
- data/spec/models/invoice_json_spec.rb +3 -3
- data/spec/models/invoice_number_prefix_spec.rb +3 -3
- data/spec/models/invoice_preview_json_spec.rb +3 -3
- data/spec/models/ledger_account_mapping_spec.rb +3 -3
- data/spec/models/ledger_account_spec.rb +3 -3
- data/spec/models/metrics_json_spec.rb +3 -3
- data/spec/models/notification_target_and_subscriptions_spec.rb +3 -3
- data/spec/models/number_config_spec.rb +3 -3
- data/spec/models/opportunity_json_spec.rb +3 -3
- data/spec/models/opportunity_pagination_response_spec.rb +3 -3
- data/spec/models/opportunity_rest_json_spec.rb +3 -3
- data/spec/models/opportunity_spec.rb +3 -3
- data/spec/models/order_json_pagination_response_spec.rb +3 -3
- data/spec/models/order_json_spec.rb +3 -3
- data/spec/models/order_line_item_json_spec.rb +9 -3
- data/spec/models/order_line_item_request_json_spec.rb +9 -3
- data/spec/models/order_request_json_spec.rb +3 -3
- data/spec/models/order_terms_spec.rb +3 -3
- data/spec/models/{paginated_response_spec.rb → paginated_accounts_response_spec.rb} +8 -8
- data/spec/models/paginated_subscriptions_response_spec.rb +53 -0
- data/spec/models/payment_balance_json_spec.rb +3 -3
- data/spec/models/payment_configuration_spec.rb +3 -3
- data/spec/models/payment_json_pagination_response_spec.rb +3 -3
- data/spec/models/payment_json_spec.rb +3 -3
- data/spec/models/payment_term_settings_json_spec.rb +3 -3
- data/spec/models/plan_json_pagination_response_spec.rb +3 -3
- data/spec/models/plan_json_spec.rb +3 -3
- data/spec/models/predefined_report_def_chart_json_spec.rb +3 -3
- data/spec/models/predefined_report_def_json_spec.rb +3 -3
- data/spec/models/predefined_report_defs_json_spec.rb +3 -3
- data/spec/models/predefined_report_json_spec.rb +3 -3
- data/spec/models/predefined_report_param_object_spec.rb +3 -3
- data/spec/models/predefined_report_param_spec.rb +3 -3
- data/spec/models/prepaid_stats_spec.rb +3 -3
- data/spec/models/price_tier_json_spec.rb +3 -3
- data/spec/models/product_category_pagination_response_spec.rb +3 -3
- data/spec/models/product_category_spec.rb +3 -3
- data/spec/models/product_input_json_spec.rb +3 -3
- data/spec/models/product_json_pagination_response_spec.rb +3 -3
- data/spec/models/product_json_spec.rb +3 -3
- data/spec/models/purchase_order_spec.rb +3 -3
- data/spec/models/raw_usage_spec.rb +3 -3
- data/spec/models/raw_usages_data_spec.rb +3 -3
- data/spec/models/recognition_event_completion_spec.rb +3 -3
- data/spec/models/recognition_rule_spec.rb +3 -3
- data/spec/models/recurrence_json_spec.rb +3 -3
- data/spec/models/refund_detail_spec.rb +3 -3
- data/spec/models/refund_request_json_spec.rb +3 -3
- data/spec/models/refund_spec.rb +3 -3
- data/spec/models/report_duration_spec.rb +3 -3
- data/spec/models/report_job_response_spec.rb +3 -3
- data/spec/models/salesforce_account_billing_address_spec.rb +3 -3
- data/spec/models/salesforce_account_spec.rb +3 -3
- data/spec/models/salesforce_client_integration_request_json_spec.rb +3 -3
- data/spec/models/settlement_application_spec.rb +3 -3
- data/spec/models/standalone_credit_memo_request_spec.rb +3 -3
- data/spec/models/subscription_charge_alias_spec.rb +3 -3
- data/spec/models/subscription_charge_json_spec.rb +3 -3
- data/spec/models/subscription_json_spec.rb +3 -3
- data/spec/models/subscription_update_json_spec.rb +3 -3
- data/spec/models/tax_jar_integration_input_spec.rb +3 -3
- data/spec/models/tax_jar_integration_spec.rb +7 -7
- data/spec/models/tax_rate_json_spec.rb +3 -3
- data/spec/models/tax_rate_pagination_response_json_spec.rb +3 -3
- data/spec/models/tenant_credit_memo_configuration_json_spec.rb +3 -3
- data/spec/models/tenant_discount_json_spec.rb +3 -3
- data/spec/models/tenant_discount_line_item_json_spec.rb +3 -3
- data/spec/models/tenant_invoice_config_spec.rb +3 -3
- data/spec/models/tenant_json_spec.rb +3 -3
- data/spec/models/tenant_setting_json_spec.rb +3 -3
- data/spec/models/time_series_amount_json_spec.rb +3 -3
- data/spec/models/time_zone_spec.rb +3 -3
- data/spec/models/unit_of_measure_json_spec.rb +3 -3
- data/spec/models/unit_of_measure_pagination_response_json_spec.rb +3 -3
- data/spec/models/update_invoice_request_spec.rb +3 -3
- data/spec/models/usage_aggregate_output_spec.rb +3 -3
- data/spec/models/usage_batch_insert_result_spec.rb +3 -3
- data/spec/models/user_group_json_spec.rb +3 -3
- data/spec/models/user_group_request_json_spec.rb +3 -3
- data/spec/models/user_input_spec.rb +3 -3
- data/spec/models/user_json_spec.rb +3 -3
- data/spec/models/user_pagination_response_json_spec.rb +3 -3
- data/spec/models/void_invoice_request_spec.rb +3 -3
- data/spec/models/void_payment_json_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- data/subskribe_sandbox.gemspec +3 -3
- metadata +193 -388
- data/docs/EntityApi.md +0 -66
- data/docs/PaginatedResponse.md +0 -10
- data/lib/subskribe_dev/api/accounting_api.rb +0 -193
- data/lib/subskribe_dev/api/accounts_api.rb +0 -858
- data/lib/subskribe_dev/api/approvals_api.rb +0 -965
- data/lib/subskribe_dev/api/attachments_api.rb +0 -299
- data/lib/subskribe_dev/api/authentication_api.rb +0 -335
- data/lib/subskribe_dev/api/billing_api.rb +0 -2098
- data/lib/subskribe_dev/api/credit_memo_api.rb +0 -636
- data/lib/subskribe_dev/api/custom_field_api.rb +0 -434
- data/lib/subskribe_dev/api/customization_api.rb +0 -269
- data/lib/subskribe_dev/api/default_api.rb +0 -223
- data/lib/subskribe_dev/api/discounts_api.rb +0 -340
- data/lib/subskribe_dev/api/entities_api.rb +0 -374
- data/lib/subskribe_dev/api/entity_api.rb +0 -79
- data/lib/subskribe_dev/api/erp_api.rb +0 -278
- data/lib/subskribe_dev/api/import_api.rb +0 -568
- data/lib/subskribe_dev/api/integrations_api.rb +0 -1678
- data/lib/subskribe_dev/api/metrics_reporting_api.rb +0 -223
- data/lib/subskribe_dev/api/notifications_api.rb +0 -245
- data/lib/subskribe_dev/api/opportunity_api.rb +0 -177
- data/lib/subskribe_dev/api/orders_api.rb +0 -1381
- data/lib/subskribe_dev/api/payments_api.rb +0 -431
- data/lib/subskribe_dev/api/product_catalog_api.rb +0 -1828
- data/lib/subskribe_dev/api/rate_card_api.rb +0 -68
- data/lib/subskribe_dev/api/refunds_api.rb +0 -189
- data/lib/subskribe_dev/api/reports_api.rb +0 -227
- data/lib/subskribe_dev/api/revenue_recognition_api.rb +0 -484
- data/lib/subskribe_dev/api/sales_room_api.rb +0 -74
- data/lib/subskribe_dev/api/settings_api.rb +0 -1321
- data/lib/subskribe_dev/api/subscriptions_api.rb +0 -576
- data/lib/subskribe_dev/api/usage_api.rb +0 -604
- data/lib/subskribe_dev/api/users_api.rb +0 -728
- data/lib/subskribe_dev/api_client.rb +0 -391
- data/lib/subskribe_dev/api_error.rb +0 -38
- data/lib/subskribe_dev/configuration.rb +0 -209
- data/lib/subskribe_dev/models/account_address.rb +0 -265
- data/lib/subskribe_dev/models/account_address_json.rb +0 -229
- data/lib/subskribe_dev/models/account_contact.rb +0 -530
- data/lib/subskribe_dev/models/account_contact_json.rb +0 -274
- data/lib/subskribe_dev/models/account_json.rb +0 -395
- data/lib/subskribe_dev/models/account_payment_method_json.rb +0 -268
- data/lib/subskribe_dev/models/account_receivable_contact_json.rb +0 -225
- data/lib/subskribe_dev/models/accounting_event.rb +0 -319
- data/lib/subskribe_dev/models/accounting_event_paginated_response.rb +0 -204
- data/lib/subskribe_dev/models/accounting_period.rb +0 -356
- data/lib/subskribe_dev/models/accounting_period_calculation.rb +0 -229
- data/lib/subskribe_dev/models/add_and_apply_payment_application_json.rb +0 -344
- data/lib/subskribe_dev/models/anrok_integration_input.rb +0 -184
- data/lib/subskribe_dev/models/approval_matrix_import_data_json.rb +0 -229
- data/lib/subskribe_dev/models/approval_matrix_import_preview.rb +0 -226
- data/lib/subskribe_dev/models/approval_role_json.rb +0 -220
- data/lib/subskribe_dev/models/approval_role_segment_change.rb +0 -211
- data/lib/subskribe_dev/models/approval_segment_json.rb +0 -220
- data/lib/subskribe_dev/models/attachment.rb +0 -326
- data/lib/subskribe_dev/models/attribute_reference.rb +0 -193
- data/lib/subskribe_dev/models/auth_saml_integration_json.rb +0 -204
- data/lib/subskribe_dev/models/automated_invoice_rule.rb +0 -328
- data/lib/subskribe_dev/models/automated_invoice_rule_request_json.rb +0 -307
- data/lib/subskribe_dev/models/avalara_integration.rb +0 -238
- data/lib/subskribe_dev/models/avalara_integration_input.rb +0 -268
- data/lib/subskribe_dev/models/billing_event_entry.rb +0 -211
- data/lib/subskribe_dev/models/billing_event_input.rb +0 -216
- data/lib/subskribe_dev/models/bulk_invoice_run.rb +0 -350
- data/lib/subskribe_dev/models/bulk_invoice_run_exclusions.rb +0 -197
- data/lib/subskribe_dev/models/bulk_invoice_run_input.rb +0 -263
- data/lib/subskribe_dev/models/bulk_invoice_run_item.rb +0 -364
- data/lib/subskribe_dev/models/bulk_invoice_run_selector.rb +0 -184
- data/lib/subskribe_dev/models/bulk_payment_upload_data.rb +0 -274
- data/lib/subskribe_dev/models/bulk_payment_upload_result.rb +0 -204
- data/lib/subskribe_dev/models/byte_buffer.rb +0 -247
- data/lib/subskribe_dev/models/catalog_relationship.rb +0 -364
- data/lib/subskribe_dev/models/charge_json.rb +0 -631
- data/lib/subskribe_dev/models/charge_partial_json.rb +0 -310
- data/lib/subskribe_dev/models/company_contact_json.rb +0 -225
- data/lib/subskribe_dev/models/credit_memo_application_json.rb +0 -239
- data/lib/subskribe_dev/models/credit_memo_balance_json.rb +0 -211
- data/lib/subskribe_dev/models/credit_memo_json.rb +0 -363
- data/lib/subskribe_dev/models/credit_memo_line_item_json.rb +0 -252
- data/lib/subskribe_dev/models/credit_memo_line_item_request_json.rb +0 -211
- data/lib/subskribe_dev/models/crm_account_import_response.rb +0 -193
- data/lib/subskribe_dev/models/custom_field_default.rb +0 -195
- data/lib/subskribe_dev/models/custom_field_definition_create_input.rb +0 -317
- data/lib/subskribe_dev/models/custom_field_definition_json.rb +0 -313
- data/lib/subskribe_dev/models/custom_field_definition_update_input.rb +0 -256
- data/lib/subskribe_dev/models/custom_field_entry.rb +0 -325
- data/lib/subskribe_dev/models/custom_field_update_input.rb +0 -195
- data/lib/subskribe_dev/models/custom_field_value.rb +0 -316
- data/lib/subskribe_dev/models/data_import.rb +0 -355
- data/lib/subskribe_dev/models/discount_detail_json.rb +0 -263
- data/lib/subskribe_dev/models/discount_json.rb +0 -254
- data/lib/subskribe_dev/models/docu_sign_integration_request_json.rb +0 -236
- data/lib/subskribe_dev/models/docu_sign_integration_response_json.rb +0 -245
- data/lib/subskribe_dev/models/document_custom_content.rb +0 -211
- data/lib/subskribe_dev/models/document_section.rb +0 -265
- data/lib/subskribe_dev/models/document_template_json.rb +0 -300
- data/lib/subskribe_dev/models/dunning_setting_json.rb +0 -200
- data/lib/subskribe_dev/models/email_notifiers_list.rb +0 -208
- data/lib/subskribe_dev/models/entity.rb +0 -356
- data/lib/subskribe_dev/models/entity_json.rb +0 -347
- data/lib/subskribe_dev/models/entity_ref.rb +0 -202
- data/lib/subskribe_dev/models/entry.rb +0 -202
- data/lib/subskribe_dev/models/external_arr_schedule_json.rb +0 -319
- data/lib/subskribe_dev/models/flatfile_workbook_response.rb +0 -184
- data/lib/subskribe_dev/models/flatfile_workbook_response_data.rb +0 -193
- data/lib/subskribe_dev/models/input_stream.rb +0 -175
- data/lib/subskribe_dev/models/integration.rb +0 -311
- data/lib/subskribe_dev/models/invoice_balance_json.rb +0 -211
- data/lib/subskribe_dev/models/invoice_item_json.rb +0 -355
- data/lib/subskribe_dev/models/invoice_item_preview_json.rb +0 -229
- data/lib/subskribe_dev/models/invoice_json.rb +0 -439
- data/lib/subskribe_dev/models/invoice_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev/models/invoice_number_prefix.rb +0 -184
- data/lib/subskribe_dev/models/invoice_preview_json.rb +0 -222
- data/lib/subskribe_dev/models/ledger_account.rb +0 -316
- data/lib/subskribe_dev/models/ledger_account_mapping.rb +0 -222
- data/lib/subskribe_dev/models/metrics_json.rb +0 -267
- data/lib/subskribe_dev/models/notification_target_and_subscriptions.rb +0 -265
- data/lib/subskribe_dev/models/number_config.rb +0 -254
- data/lib/subskribe_dev/models/opportunity.rb +0 -326
- data/lib/subskribe_dev/models/opportunity_json.rb +0 -326
- data/lib/subskribe_dev/models/opportunity_pagination_response.rb +0 -204
- data/lib/subskribe_dev/models/opportunity_rest_json.rb +0 -317
- data/lib/subskribe_dev/models/order_json.rb +0 -754
- data/lib/subskribe_dev/models/order_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev/models/order_line_item_json.rb +0 -465
- data/lib/subskribe_dev/models/order_line_item_request_json.rb +0 -375
- data/lib/subskribe_dev/models/order_request_json.rb +0 -616
- data/lib/subskribe_dev/models/order_terms.rb +0 -265
- data/lib/subskribe_dev/models/paginated_response.rb +0 -204
- data/lib/subskribe_dev/models/payment_balance_json.rb +0 -211
- data/lib/subskribe_dev/models/payment_configuration.rb +0 -208
- data/lib/subskribe_dev/models/payment_json.rb +0 -300
- data/lib/subskribe_dev/models/payment_term_settings_json.rb +0 -219
- data/lib/subskribe_dev/models/plan_json.rb +0 -339
- data/lib/subskribe_dev/models/plan_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev/models/predefined_report_def_chart_json.rb +0 -265
- data/lib/subskribe_dev/models/predefined_report_def_json.rb +0 -222
- data/lib/subskribe_dev/models/predefined_report_defs_json.rb +0 -186
- data/lib/subskribe_dev/models/predefined_report_json.rb +0 -213
- data/lib/subskribe_dev/models/predefined_report_param.rb +0 -296
- data/lib/subskribe_dev/models/predefined_report_param_object.rb +0 -296
- data/lib/subskribe_dev/models/prepaid_stats.rb +0 -310
- data/lib/subskribe_dev/models/price_tier_json.rb +0 -212
- data/lib/subskribe_dev/models/product_category.rb +0 -264
- data/lib/subskribe_dev/models/product_category_pagination_response.rb +0 -204
- data/lib/subskribe_dev/models/product_input_json.rb +0 -249
- data/lib/subskribe_dev/models/product_json.rb +0 -276
- data/lib/subskribe_dev/models/product_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev/models/purchase_order.rb +0 -226
- data/lib/subskribe_dev/models/raw_usage.rb +0 -247
- data/lib/subskribe_dev/models/raw_usages_data.rb +0 -192
- data/lib/subskribe_dev/models/recognition_event_completion.rb +0 -322
- data/lib/subskribe_dev/models/recognition_rule.rb +0 -376
- data/lib/subskribe_dev/models/recurrence_json.rb +0 -256
- data/lib/subskribe_dev/models/refund.rb +0 -301
- data/lib/subskribe_dev/models/refund_detail.rb +0 -322
- data/lib/subskribe_dev/models/refund_request_json.rb +0 -272
- data/lib/subskribe_dev/models/report_duration.rb +0 -193
- data/lib/subskribe_dev/models/report_job_response.rb +0 -245
- data/lib/subskribe_dev/models/salesforce_account.rb +0 -229
- data/lib/subskribe_dev/models/salesforce_account_billing_address.rb +0 -220
- data/lib/subskribe_dev/models/salesforce_client_integration_request_json.rb +0 -211
- data/lib/subskribe_dev/models/settlement_application.rb +0 -329
- data/lib/subskribe_dev/models/standalone_credit_memo_request.rb +0 -353
- data/lib/subskribe_dev/models/subscription_charge_alias.rb +0 -283
- data/lib/subskribe_dev/models/subscription_charge_json.rb +0 -362
- data/lib/subskribe_dev/models/subscription_json.rb +0 -583
- data/lib/subskribe_dev/models/subscription_update_json.rb +0 -280
- data/lib/subskribe_dev/models/tax_jar_integration.rb +0 -238
- data/lib/subskribe_dev/models/tax_jar_integration_input.rb +0 -193
- data/lib/subskribe_dev/models/tax_rate_json.rb +0 -286
- data/lib/subskribe_dev/models/tax_rate_pagination_response_json.rb +0 -204
- data/lib/subskribe_dev/models/tenant_credit_memo_configuration_json.rb +0 -211
- data/lib/subskribe_dev/models/tenant_discount_json.rb +0 -193
- data/lib/subskribe_dev/models/tenant_discount_line_item_json.rb +0 -202
- data/lib/subskribe_dev/models/tenant_invoice_config.rb +0 -254
- data/lib/subskribe_dev/models/tenant_json.rb +0 -283
- data/lib/subskribe_dev/models/tenant_setting_json.rb +0 -307
- data/lib/subskribe_dev/models/time_series_amount_json.rb +0 -193
- data/lib/subskribe_dev/models/time_zone.rb +0 -211
- data/lib/subskribe_dev/models/unit_of_measure_json.rb +0 -250
- data/lib/subskribe_dev/models/unit_of_measure_pagination_response_json.rb +0 -204
- data/lib/subskribe_dev/models/update_invoice_request.rb +0 -282
- data/lib/subskribe_dev/models/usage_aggregate_output.rb +0 -258
- data/lib/subskribe_dev/models/usage_batch_insert_result.rb +0 -213
- data/lib/subskribe_dev/models/user_group_json.rb +0 -224
- data/lib/subskribe_dev/models/user_group_request_json.rb +0 -224
- data/lib/subskribe_dev/models/user_input.rb +0 -304
- data/lib/subskribe_dev/models/user_json.rb +0 -376
- data/lib/subskribe_dev/models/user_pagination_response_json.rb +0 -204
- data/lib/subskribe_dev/models/void_invoice_request.rb +0 -203
- data/lib/subskribe_dev/models/void_payment_json.rb +0 -235
- data/lib/subskribe_dev/version.rb +0 -15
- data/lib/subskribe_dev.rb +0 -229
- data/lib/subskribe_sandbox/models/paginated_response.rb +0 -204
- data/spec/api/entity_api_spec.rb +0 -48
- data/subskribe_dev.gemspec +0 -46
data/docs/EntityApi.md
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
# SubskribeDevClient::EntityApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.dev2.subskribe.net*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**upload_logo**](EntityApi.md#upload_logo) | **PUT** /entities/logo/{entityId} | Update entity logo
|
8
|
-
|
9
|
-
|
10
|
-
# **upload_logo**
|
11
|
-
> upload_logo(entity_id, opts)
|
12
|
-
|
13
|
-
Update entity logo
|
14
|
-
|
15
|
-
Updates the logo used in external facing communication such as order forms and invoices
|
16
|
-
|
17
|
-
### Example
|
18
|
-
```ruby
|
19
|
-
# load the gem
|
20
|
-
require 'subskribe_dev'
|
21
|
-
# setup authorization
|
22
|
-
SubskribeDevClient.configure do |config|
|
23
|
-
# Configure API key authorization: ApiKeyAuth
|
24
|
-
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
25
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
|
-
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
27
|
-
end
|
28
|
-
|
29
|
-
api_instance = SubskribeDevClient::EntityApi.new
|
30
|
-
|
31
|
-
entity_id = 'entity_id_example' # String |
|
32
|
-
|
33
|
-
opts = {
|
34
|
-
file: File.new('/path/to/file.txt') # File |
|
35
|
-
}
|
36
|
-
|
37
|
-
begin
|
38
|
-
#Update entity logo
|
39
|
-
api_instance.upload_logo(entity_id, opts)
|
40
|
-
rescue SubskribeDevClient::ApiError => e
|
41
|
-
puts "Exception when calling EntityApi->upload_logo: #{e}"
|
42
|
-
end
|
43
|
-
```
|
44
|
-
|
45
|
-
### Parameters
|
46
|
-
|
47
|
-
Name | Type | Description | Notes
|
48
|
-
------------- | ------------- | ------------- | -------------
|
49
|
-
**entity_id** | **String**| |
|
50
|
-
**file** | **File**| | [optional]
|
51
|
-
|
52
|
-
### Return type
|
53
|
-
|
54
|
-
nil (empty response body)
|
55
|
-
|
56
|
-
### Authorization
|
57
|
-
|
58
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
59
|
-
|
60
|
-
### HTTP request headers
|
61
|
-
|
62
|
-
- **Content-Type**: multipart/form-data
|
63
|
-
- **Accept**: application/json
|
64
|
-
|
65
|
-
|
66
|
-
|
data/docs/PaginatedResponse.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# SubskribeSandboxClient::PaginatedResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**data** | **Array<Object>** | | [optional]
|
7
|
-
**count** | **Integer** | | [optional]
|
8
|
-
**page_token** | **String** | | [optional]
|
9
|
-
|
10
|
-
|
@@ -1,193 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Subskribe API
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.41
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'uri'
|
14
|
-
|
15
|
-
module SubskribeDevClient
|
16
|
-
class AccountingApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Get accounting events for the specified dates
|
23
|
-
# Returns all accounting related events between the from and to dates. Since there can be a large number of these, the results are paginated. To retrieve subsequent pages of events, pass in the pageToken returned from the prior call.
|
24
|
-
# @param from start date in seconds since Epoch(GMT)
|
25
|
-
# @param to end date in seconds since Epoch(GMT)
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [Integer] :limit number of items per page
|
28
|
-
# @option opts [String] :page_token pass this to subsequent calls
|
29
|
-
# @return [AccountingEventPaginatedResponse]
|
30
|
-
def get_accounting_events(from, to, opts = {})
|
31
|
-
data, _status_code, _headers = get_accounting_events_with_http_info(from, to, opts)
|
32
|
-
data
|
33
|
-
end
|
34
|
-
|
35
|
-
# Get accounting events for the specified dates
|
36
|
-
# Returns all accounting related events between the from and to dates. Since there can be a large number of these, the results are paginated. To retrieve subsequent pages of events, pass in the pageToken returned from the prior call.
|
37
|
-
# @param from start date in seconds since Epoch(GMT)
|
38
|
-
# @param to end date in seconds since Epoch(GMT)
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [Integer] :limit number of items per page
|
41
|
-
# @option opts [String] :page_token pass this to subsequent calls
|
42
|
-
# @return [Array<(AccountingEventPaginatedResponse, Fixnum, Hash)>] AccountingEventPaginatedResponse data, response status code and response headers
|
43
|
-
def get_accounting_events_with_http_info(from, to, opts = {})
|
44
|
-
if @api_client.config.debugging
|
45
|
-
@api_client.config.logger.debug 'Calling API: AccountingApi.get_accounting_events ...'
|
46
|
-
end
|
47
|
-
# verify the required parameter 'from' is set
|
48
|
-
if @api_client.config.client_side_validation && from.nil?
|
49
|
-
fail ArgumentError, "Missing the required parameter 'from' when calling AccountingApi.get_accounting_events"
|
50
|
-
end
|
51
|
-
# verify the required parameter 'to' is set
|
52
|
-
if @api_client.config.client_side_validation && to.nil?
|
53
|
-
fail ArgumentError, "Missing the required parameter 'to' when calling AccountingApi.get_accounting_events"
|
54
|
-
end
|
55
|
-
# resource path
|
56
|
-
local_var_path = '/accounting/journalEntry/events'
|
57
|
-
|
58
|
-
# query parameters
|
59
|
-
query_params = {}
|
60
|
-
query_params[:'from'] = from
|
61
|
-
query_params[:'to'] = to
|
62
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
63
|
-
query_params[:'pageToken'] = opts[:'page_token'] if !opts[:'page_token'].nil?
|
64
|
-
|
65
|
-
# header parameters
|
66
|
-
header_params = {}
|
67
|
-
# HTTP header 'Accept' (if needed)
|
68
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
69
|
-
|
70
|
-
# form parameters
|
71
|
-
form_params = {}
|
72
|
-
|
73
|
-
# http body (model)
|
74
|
-
post_body = nil
|
75
|
-
auth_names = ['ApiKeyAuth']
|
76
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
77
|
-
:header_params => header_params,
|
78
|
-
:query_params => query_params,
|
79
|
-
:form_params => form_params,
|
80
|
-
:body => post_body,
|
81
|
-
:auth_names => auth_names,
|
82
|
-
:return_type => 'AccountingEventPaginatedResponse')
|
83
|
-
if @api_client.config.debugging
|
84
|
-
@api_client.config.logger.debug "API called: AccountingApi#get_accounting_events\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
85
|
-
end
|
86
|
-
return data, status_code, headers
|
87
|
-
end
|
88
|
-
# Return Journal Entries for period
|
89
|
-
# Returns all Journal Entries for the specified accounting period as text/csv
|
90
|
-
# @param accounting_period_id Id of the period
|
91
|
-
# @param [Hash] opts the optional parameters
|
92
|
-
# @return [nil]
|
93
|
-
def get_journal_entries(accounting_period_id, opts = {})
|
94
|
-
get_journal_entries_with_http_info(accounting_period_id, opts)
|
95
|
-
nil
|
96
|
-
end
|
97
|
-
|
98
|
-
# Return Journal Entries for period
|
99
|
-
# Returns all Journal Entries for the specified accounting period as text/csv
|
100
|
-
# @param accounting_period_id Id of the period
|
101
|
-
# @param [Hash] opts the optional parameters
|
102
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
103
|
-
def get_journal_entries_with_http_info(accounting_period_id, opts = {})
|
104
|
-
if @api_client.config.debugging
|
105
|
-
@api_client.config.logger.debug 'Calling API: AccountingApi.get_journal_entries ...'
|
106
|
-
end
|
107
|
-
# verify the required parameter 'accounting_period_id' is set
|
108
|
-
if @api_client.config.client_side_validation && accounting_period_id.nil?
|
109
|
-
fail ArgumentError, "Missing the required parameter 'accounting_period_id' when calling AccountingApi.get_journal_entries"
|
110
|
-
end
|
111
|
-
# resource path
|
112
|
-
local_var_path = '/accounting/journalEntry'
|
113
|
-
|
114
|
-
# query parameters
|
115
|
-
query_params = {}
|
116
|
-
query_params[:'accountingPeriodId'] = accounting_period_id
|
117
|
-
|
118
|
-
# header parameters
|
119
|
-
header_params = {}
|
120
|
-
# HTTP header 'Accept' (if needed)
|
121
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream', 'application/json'])
|
122
|
-
# HTTP header 'Content-Type'
|
123
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
124
|
-
|
125
|
-
# form parameters
|
126
|
-
form_params = {}
|
127
|
-
|
128
|
-
# http body (model)
|
129
|
-
post_body = nil
|
130
|
-
auth_names = ['ApiKeyAuth']
|
131
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
132
|
-
:header_params => header_params,
|
133
|
-
:query_params => query_params,
|
134
|
-
:form_params => form_params,
|
135
|
-
:body => post_body,
|
136
|
-
:auth_names => auth_names)
|
137
|
-
if @api_client.config.debugging
|
138
|
-
@api_client.config.logger.debug "API called: AccountingApi#get_journal_entries\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
139
|
-
end
|
140
|
-
return data, status_code, headers
|
141
|
-
end
|
142
|
-
# Specify the current accounting period
|
143
|
-
# Specify the start date of and open an accounting period, making it current
|
144
|
-
# @param [Hash] opts the optional parameters
|
145
|
-
# @option opts [Integer] :start_date Start date of new period in seconds since Epoch (GMT)
|
146
|
-
# @return [AccountingPeriod]
|
147
|
-
def specify_current_accounting_period(opts = {})
|
148
|
-
data, _status_code, _headers = specify_current_accounting_period_with_http_info(opts)
|
149
|
-
data
|
150
|
-
end
|
151
|
-
|
152
|
-
# Specify the current accounting period
|
153
|
-
# Specify the start date of and open an accounting period, making it current
|
154
|
-
# @param [Hash] opts the optional parameters
|
155
|
-
# @option opts [Integer] :start_date Start date of new period in seconds since Epoch (GMT)
|
156
|
-
# @return [Array<(AccountingPeriod, Fixnum, Hash)>] AccountingPeriod data, response status code and response headers
|
157
|
-
def specify_current_accounting_period_with_http_info(opts = {})
|
158
|
-
if @api_client.config.debugging
|
159
|
-
@api_client.config.logger.debug 'Calling API: AccountingApi.specify_current_accounting_period ...'
|
160
|
-
end
|
161
|
-
# resource path
|
162
|
-
local_var_path = '/accountingPeriods'
|
163
|
-
|
164
|
-
# query parameters
|
165
|
-
query_params = {}
|
166
|
-
|
167
|
-
# header parameters
|
168
|
-
header_params = {}
|
169
|
-
# HTTP header 'Accept' (if needed)
|
170
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
171
|
-
# HTTP header 'Content-Type'
|
172
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
173
|
-
|
174
|
-
# form parameters
|
175
|
-
form_params = {}
|
176
|
-
|
177
|
-
# http body (model)
|
178
|
-
post_body = @api_client.object_to_http_body(opts[:'start_date'])
|
179
|
-
auth_names = ['ApiKeyAuth']
|
180
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
181
|
-
:header_params => header_params,
|
182
|
-
:query_params => query_params,
|
183
|
-
:form_params => form_params,
|
184
|
-
:body => post_body,
|
185
|
-
:auth_names => auth_names,
|
186
|
-
:return_type => 'AccountingPeriod')
|
187
|
-
if @api_client.config.debugging
|
188
|
-
@api_client.config.logger.debug "API called: AccountingApi#specify_current_accounting_period\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
189
|
-
end
|
190
|
-
return data, status_code, headers
|
191
|
-
end
|
192
|
-
end
|
193
|
-
end
|