subskribe_sandbox 1.0.1 → 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 +9 -9
- data/docs/AutomatedInvoiceRule.md +2 -2
- data/docs/BillingApi.md +23 -23
- data/docs/BulkInvoiceRunItem.md +2 -2
- data/docs/BulkPaymentUploadData.md +4 -4
- 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/billing_api.rb +35 -35
- 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 +19 -19
- data/lib/subskribe_sandbox/models/bulk_invoice_run_item.rb +22 -22
- data/lib/subskribe_sandbox/models/bulk_payment_upload_data.rb +34 -34
- 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 +19 -19
- data/lib/subskribe_sandbox/version.rb +1 -1
- data/lib/subskribe_sandbox.rb +1 -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_accounts_response_spec.rb +3 -3
- data/spec/models/{paginated_response_spec.rb → paginated_subscriptions_response_spec.rb} +8 -8
- 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/plan_metadata_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
- metadata +5 -602
- 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 -532
- 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 -1886
- 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 -474
- data/lib/subskribe_dev/models/order_line_item_request_json.rb +0 -384
- 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_accounts_response.rb +0 -204
- 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_json_pagination_response.rb +0 -204
- 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/plan_metadata_json.rb +0 -187
- 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 -230
- data/lib/subskribe_dev2/api/accounting_api.rb +0 -193
- data/lib/subskribe_dev2/api/accounts_api.rb +0 -858
- data/lib/subskribe_dev2/api/approvals_api.rb +0 -965
- data/lib/subskribe_dev2/api/attachments_api.rb +0 -299
- data/lib/subskribe_dev2/api/authentication_api.rb +0 -335
- data/lib/subskribe_dev2/api/billing_api.rb +0 -2098
- data/lib/subskribe_dev2/api/credit_memo_api.rb +0 -636
- data/lib/subskribe_dev2/api/custom_field_api.rb +0 -434
- data/lib/subskribe_dev2/api/customization_api.rb +0 -269
- data/lib/subskribe_dev2/api/default_api.rb +0 -223
- data/lib/subskribe_dev2/api/discounts_api.rb +0 -340
- data/lib/subskribe_dev2/api/entities_api.rb +0 -532
- data/lib/subskribe_dev2/api/erp_api.rb +0 -278
- data/lib/subskribe_dev2/api/import_api.rb +0 -568
- data/lib/subskribe_dev2/api/integrations_api.rb +0 -1678
- data/lib/subskribe_dev2/api/metrics_reporting_api.rb +0 -223
- data/lib/subskribe_dev2/api/notifications_api.rb +0 -245
- data/lib/subskribe_dev2/api/opportunity_api.rb +0 -177
- data/lib/subskribe_dev2/api/orders_api.rb +0 -1381
- data/lib/subskribe_dev2/api/payments_api.rb +0 -431
- data/lib/subskribe_dev2/api/product_catalog_api.rb +0 -1886
- data/lib/subskribe_dev2/api/rate_card_api.rb +0 -68
- data/lib/subskribe_dev2/api/refunds_api.rb +0 -189
- data/lib/subskribe_dev2/api/reports_api.rb +0 -227
- data/lib/subskribe_dev2/api/revenue_recognition_api.rb +0 -484
- data/lib/subskribe_dev2/api/sales_room_api.rb +0 -74
- data/lib/subskribe_dev2/api/settings_api.rb +0 -1321
- data/lib/subskribe_dev2/api/subscriptions_api.rb +0 -576
- data/lib/subskribe_dev2/api/usage_api.rb +0 -604
- data/lib/subskribe_dev2/api/users_api.rb +0 -728
- data/lib/subskribe_dev2/api_client.rb +0 -391
- data/lib/subskribe_dev2/api_error.rb +0 -38
- data/lib/subskribe_dev2/configuration.rb +0 -209
- data/lib/subskribe_dev2/models/account_address.rb +0 -265
- data/lib/subskribe_dev2/models/account_address_json.rb +0 -229
- data/lib/subskribe_dev2/models/account_contact.rb +0 -530
- data/lib/subskribe_dev2/models/account_contact_json.rb +0 -274
- data/lib/subskribe_dev2/models/account_json.rb +0 -395
- data/lib/subskribe_dev2/models/account_payment_method_json.rb +0 -268
- data/lib/subskribe_dev2/models/account_receivable_contact_json.rb +0 -225
- data/lib/subskribe_dev2/models/accounting_event.rb +0 -319
- data/lib/subskribe_dev2/models/accounting_event_paginated_response.rb +0 -204
- data/lib/subskribe_dev2/models/accounting_period.rb +0 -356
- data/lib/subskribe_dev2/models/accounting_period_calculation.rb +0 -229
- data/lib/subskribe_dev2/models/add_and_apply_payment_application_json.rb +0 -344
- data/lib/subskribe_dev2/models/anrok_integration_input.rb +0 -184
- data/lib/subskribe_dev2/models/approval_matrix_import_data_json.rb +0 -229
- data/lib/subskribe_dev2/models/approval_matrix_import_preview.rb +0 -226
- data/lib/subskribe_dev2/models/approval_role_json.rb +0 -220
- data/lib/subskribe_dev2/models/approval_role_segment_change.rb +0 -211
- data/lib/subskribe_dev2/models/approval_segment_json.rb +0 -220
- data/lib/subskribe_dev2/models/attachment.rb +0 -326
- data/lib/subskribe_dev2/models/attribute_reference.rb +0 -193
- data/lib/subskribe_dev2/models/auth_saml_integration_json.rb +0 -204
- data/lib/subskribe_dev2/models/automated_invoice_rule.rb +0 -328
- data/lib/subskribe_dev2/models/automated_invoice_rule_request_json.rb +0 -307
- data/lib/subskribe_dev2/models/avalara_integration.rb +0 -238
- data/lib/subskribe_dev2/models/avalara_integration_input.rb +0 -268
- data/lib/subskribe_dev2/models/billing_event_entry.rb +0 -211
- data/lib/subskribe_dev2/models/billing_event_input.rb +0 -216
- data/lib/subskribe_dev2/models/bulk_invoice_run.rb +0 -350
- data/lib/subskribe_dev2/models/bulk_invoice_run_exclusions.rb +0 -197
- data/lib/subskribe_dev2/models/bulk_invoice_run_input.rb +0 -263
- data/lib/subskribe_dev2/models/bulk_invoice_run_item.rb +0 -364
- data/lib/subskribe_dev2/models/bulk_invoice_run_selector.rb +0 -184
- data/lib/subskribe_dev2/models/bulk_payment_upload_data.rb +0 -274
- data/lib/subskribe_dev2/models/bulk_payment_upload_result.rb +0 -204
- data/lib/subskribe_dev2/models/byte_buffer.rb +0 -247
- data/lib/subskribe_dev2/models/catalog_relationship.rb +0 -364
- data/lib/subskribe_dev2/models/charge_json.rb +0 -631
- data/lib/subskribe_dev2/models/charge_partial_json.rb +0 -310
- data/lib/subskribe_dev2/models/company_contact_json.rb +0 -225
- data/lib/subskribe_dev2/models/credit_memo_application_json.rb +0 -239
- data/lib/subskribe_dev2/models/credit_memo_balance_json.rb +0 -211
- data/lib/subskribe_dev2/models/credit_memo_json.rb +0 -363
- data/lib/subskribe_dev2/models/credit_memo_line_item_json.rb +0 -252
- data/lib/subskribe_dev2/models/credit_memo_line_item_request_json.rb +0 -211
- data/lib/subskribe_dev2/models/credit_memo_pagination_response_json.rb +0 -204
- data/lib/subskribe_dev2/models/crm_account_import_response.rb +0 -193
- data/lib/subskribe_dev2/models/custom_field_default.rb +0 -195
- data/lib/subskribe_dev2/models/custom_field_definition_create_input.rb +0 -317
- data/lib/subskribe_dev2/models/custom_field_definition_json.rb +0 -313
- data/lib/subskribe_dev2/models/custom_field_definition_update_input.rb +0 -256
- data/lib/subskribe_dev2/models/custom_field_entry.rb +0 -325
- data/lib/subskribe_dev2/models/custom_field_update_input.rb +0 -195
- data/lib/subskribe_dev2/models/custom_field_value.rb +0 -316
- data/lib/subskribe_dev2/models/data_import.rb +0 -355
- data/lib/subskribe_dev2/models/discount_detail_json.rb +0 -263
- data/lib/subskribe_dev2/models/discount_json.rb +0 -254
- data/lib/subskribe_dev2/models/docu_sign_integration_request_json.rb +0 -236
- data/lib/subskribe_dev2/models/docu_sign_integration_response_json.rb +0 -245
- data/lib/subskribe_dev2/models/document_custom_content.rb +0 -211
- data/lib/subskribe_dev2/models/document_section.rb +0 -265
- data/lib/subskribe_dev2/models/document_template_json.rb +0 -300
- data/lib/subskribe_dev2/models/dunning_setting_json.rb +0 -200
- data/lib/subskribe_dev2/models/email_notifiers_list.rb +0 -208
- data/lib/subskribe_dev2/models/entity.rb +0 -356
- data/lib/subskribe_dev2/models/entity_json.rb +0 -347
- data/lib/subskribe_dev2/models/entity_ref.rb +0 -202
- data/lib/subskribe_dev2/models/entry.rb +0 -202
- data/lib/subskribe_dev2/models/external_arr_schedule_json.rb +0 -319
- data/lib/subskribe_dev2/models/flatfile_workbook_response.rb +0 -184
- data/lib/subskribe_dev2/models/flatfile_workbook_response_data.rb +0 -193
- data/lib/subskribe_dev2/models/input_stream.rb +0 -175
- data/lib/subskribe_dev2/models/integration.rb +0 -311
- data/lib/subskribe_dev2/models/invoice_balance_json.rb +0 -211
- data/lib/subskribe_dev2/models/invoice_item_json.rb +0 -355
- data/lib/subskribe_dev2/models/invoice_item_preview_json.rb +0 -229
- data/lib/subskribe_dev2/models/invoice_json.rb +0 -439
- data/lib/subskribe_dev2/models/invoice_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev2/models/invoice_number_prefix.rb +0 -184
- data/lib/subskribe_dev2/models/invoice_preview_json.rb +0 -222
- data/lib/subskribe_dev2/models/ledger_account.rb +0 -316
- data/lib/subskribe_dev2/models/ledger_account_mapping.rb +0 -222
- data/lib/subskribe_dev2/models/metrics_json.rb +0 -267
- data/lib/subskribe_dev2/models/notification_target_and_subscriptions.rb +0 -265
- data/lib/subskribe_dev2/models/number_config.rb +0 -254
- data/lib/subskribe_dev2/models/opportunity.rb +0 -326
- data/lib/subskribe_dev2/models/opportunity_json.rb +0 -326
- data/lib/subskribe_dev2/models/opportunity_pagination_response.rb +0 -204
- data/lib/subskribe_dev2/models/opportunity_rest_json.rb +0 -317
- data/lib/subskribe_dev2/models/order_json.rb +0 -754
- data/lib/subskribe_dev2/models/order_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev2/models/order_line_item_json.rb +0 -474
- data/lib/subskribe_dev2/models/order_line_item_request_json.rb +0 -384
- data/lib/subskribe_dev2/models/order_request_json.rb +0 -616
- data/lib/subskribe_dev2/models/order_terms.rb +0 -265
- data/lib/subskribe_dev2/models/paginated_accounts_response.rb +0 -204
- data/lib/subskribe_dev2/models/paginated_response.rb +0 -204
- data/lib/subskribe_dev2/models/payment_balance_json.rb +0 -211
- data/lib/subskribe_dev2/models/payment_configuration.rb +0 -208
- data/lib/subskribe_dev2/models/payment_json.rb +0 -300
- data/lib/subskribe_dev2/models/payment_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev2/models/payment_term_settings_json.rb +0 -219
- data/lib/subskribe_dev2/models/plan_json.rb +0 -339
- data/lib/subskribe_dev2/models/plan_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev2/models/plan_metadata_json.rb +0 -187
- data/lib/subskribe_dev2/models/predefined_report_def_chart_json.rb +0 -265
- data/lib/subskribe_dev2/models/predefined_report_def_json.rb +0 -222
- data/lib/subskribe_dev2/models/predefined_report_defs_json.rb +0 -186
- data/lib/subskribe_dev2/models/predefined_report_json.rb +0 -213
- data/lib/subskribe_dev2/models/predefined_report_param.rb +0 -296
- data/lib/subskribe_dev2/models/predefined_report_param_object.rb +0 -296
- data/lib/subskribe_dev2/models/prepaid_stats.rb +0 -310
- data/lib/subskribe_dev2/models/price_tier_json.rb +0 -212
- data/lib/subskribe_dev2/models/product_category.rb +0 -264
- data/lib/subskribe_dev2/models/product_category_pagination_response.rb +0 -204
- data/lib/subskribe_dev2/models/product_input_json.rb +0 -249
- data/lib/subskribe_dev2/models/product_json.rb +0 -276
- data/lib/subskribe_dev2/models/product_json_pagination_response.rb +0 -204
- data/lib/subskribe_dev2/models/purchase_order.rb +0 -226
- data/lib/subskribe_dev2/models/raw_usage.rb +0 -247
- data/lib/subskribe_dev2/models/raw_usages_data.rb +0 -192
- data/lib/subskribe_dev2/models/recognition_event_completion.rb +0 -322
- data/lib/subskribe_dev2/models/recognition_rule.rb +0 -376
- data/lib/subskribe_dev2/models/recurrence_json.rb +0 -256
- data/lib/subskribe_dev2/models/refund.rb +0 -301
- data/lib/subskribe_dev2/models/refund_detail.rb +0 -322
- data/lib/subskribe_dev2/models/refund_request_json.rb +0 -272
- data/lib/subskribe_dev2/models/report_duration.rb +0 -193
- data/lib/subskribe_dev2/models/report_job_response.rb +0 -245
- data/lib/subskribe_dev2/models/salesforce_account.rb +0 -229
- data/lib/subskribe_dev2/models/salesforce_account_billing_address.rb +0 -220
- data/lib/subskribe_dev2/models/salesforce_client_integration_request_json.rb +0 -211
- data/lib/subskribe_dev2/models/settlement_application.rb +0 -329
- data/lib/subskribe_dev2/models/standalone_credit_memo_request.rb +0 -353
- data/lib/subskribe_dev2/models/subscription_charge_alias.rb +0 -283
- data/lib/subskribe_dev2/models/subscription_charge_json.rb +0 -362
- data/lib/subskribe_dev2/models/subscription_json.rb +0 -583
- data/lib/subskribe_dev2/models/subscription_update_json.rb +0 -280
- data/lib/subskribe_dev2/models/tax_jar_integration.rb +0 -238
- data/lib/subskribe_dev2/models/tax_jar_integration_input.rb +0 -193
- data/lib/subskribe_dev2/models/tax_rate_json.rb +0 -286
- data/lib/subskribe_dev2/models/tax_rate_pagination_response_json.rb +0 -204
- data/lib/subskribe_dev2/models/tenant_credit_memo_configuration_json.rb +0 -211
- data/lib/subskribe_dev2/models/tenant_discount_json.rb +0 -193
- data/lib/subskribe_dev2/models/tenant_discount_line_item_json.rb +0 -202
- data/lib/subskribe_dev2/models/tenant_invoice_config.rb +0 -254
- data/lib/subskribe_dev2/models/tenant_json.rb +0 -283
- data/lib/subskribe_dev2/models/tenant_setting_json.rb +0 -307
- data/lib/subskribe_dev2/models/time_series_amount_json.rb +0 -193
- data/lib/subskribe_dev2/models/time_zone.rb +0 -211
- data/lib/subskribe_dev2/models/unit_of_measure_json.rb +0 -250
- data/lib/subskribe_dev2/models/unit_of_measure_pagination_response_json.rb +0 -204
- data/lib/subskribe_dev2/models/update_invoice_request.rb +0 -282
- data/lib/subskribe_dev2/models/usage_aggregate_output.rb +0 -258
- data/lib/subskribe_dev2/models/usage_batch_insert_result.rb +0 -213
- data/lib/subskribe_dev2/models/user_group_json.rb +0 -224
- data/lib/subskribe_dev2/models/user_group_request_json.rb +0 -224
- data/lib/subskribe_dev2/models/user_input.rb +0 -304
- data/lib/subskribe_dev2/models/user_json.rb +0 -376
- data/lib/subskribe_dev2/models/user_pagination_response_json.rb +0 -204
- data/lib/subskribe_dev2/models/void_invoice_request.rb +0 -203
- data/lib/subskribe_dev2/models/void_payment_json.rb +0 -235
- data/lib/subskribe_dev2/version.rb +0 -15
- data/lib/subskribe_dev2.rb +0 -230
- data/lib/subskribe_sandbox/models/paginated_response.rb +0 -204
- data/lib/swagger_client/api/accounting_api.rb +0 -193
- data/lib/swagger_client/api/accounts_api.rb +0 -858
- data/lib/swagger_client/api/approvals_api.rb +0 -965
- data/lib/swagger_client/api/attachments_api.rb +0 -299
- data/lib/swagger_client/api/authentication_api.rb +0 -335
- data/lib/swagger_client/api/billing_api.rb +0 -2098
- data/lib/swagger_client/api/credit_memo_api.rb +0 -636
- data/lib/swagger_client/api/custom_field_api.rb +0 -434
- data/lib/swagger_client/api/customization_api.rb +0 -269
- data/lib/swagger_client/api/default_api.rb +0 -223
- data/lib/swagger_client/api/discounts_api.rb +0 -340
- data/lib/swagger_client/api/entities_api.rb +0 -532
- data/lib/swagger_client/api/erp_api.rb +0 -278
- data/lib/swagger_client/api/import_api.rb +0 -568
- data/lib/swagger_client/api/integrations_api.rb +0 -1678
- data/lib/swagger_client/api/metrics_reporting_api.rb +0 -223
- data/lib/swagger_client/api/notifications_api.rb +0 -245
- data/lib/swagger_client/api/opportunity_api.rb +0 -177
- data/lib/swagger_client/api/orders_api.rb +0 -1381
- data/lib/swagger_client/api/payments_api.rb +0 -431
- data/lib/swagger_client/api/product_catalog_api.rb +0 -1886
- data/lib/swagger_client/api/rate_card_api.rb +0 -68
- data/lib/swagger_client/api/refunds_api.rb +0 -189
- data/lib/swagger_client/api/reports_api.rb +0 -227
- data/lib/swagger_client/api/revenue_recognition_api.rb +0 -484
- data/lib/swagger_client/api/sales_room_api.rb +0 -74
- data/lib/swagger_client/api/settings_api.rb +0 -1321
- data/lib/swagger_client/api/subscriptions_api.rb +0 -576
- data/lib/swagger_client/api/usage_api.rb +0 -604
- data/lib/swagger_client/api/users_api.rb +0 -728
- data/lib/swagger_client/api_client.rb +0 -391
- data/lib/swagger_client/api_error.rb +0 -38
- data/lib/swagger_client/configuration.rb +0 -209
- data/lib/swagger_client/models/account_address.rb +0 -265
- data/lib/swagger_client/models/account_address_json.rb +0 -229
- data/lib/swagger_client/models/account_contact.rb +0 -530
- data/lib/swagger_client/models/account_contact_json.rb +0 -274
- data/lib/swagger_client/models/account_json.rb +0 -395
- data/lib/swagger_client/models/account_payment_method_json.rb +0 -268
- data/lib/swagger_client/models/account_receivable_contact_json.rb +0 -225
- data/lib/swagger_client/models/accounting_event.rb +0 -319
- data/lib/swagger_client/models/accounting_event_paginated_response.rb +0 -204
- data/lib/swagger_client/models/accounting_period.rb +0 -356
- data/lib/swagger_client/models/accounting_period_calculation.rb +0 -229
- data/lib/swagger_client/models/add_and_apply_payment_application_json.rb +0 -344
- data/lib/swagger_client/models/anrok_integration_input.rb +0 -184
- data/lib/swagger_client/models/approval_matrix_import_data_json.rb +0 -229
- data/lib/swagger_client/models/approval_matrix_import_preview.rb +0 -226
- data/lib/swagger_client/models/approval_role_json.rb +0 -220
- data/lib/swagger_client/models/approval_role_segment_change.rb +0 -211
- data/lib/swagger_client/models/approval_segment_json.rb +0 -220
- data/lib/swagger_client/models/attachment.rb +0 -326
- data/lib/swagger_client/models/attribute_reference.rb +0 -193
- data/lib/swagger_client/models/auth_saml_integration_json.rb +0 -204
- data/lib/swagger_client/models/automated_invoice_rule.rb +0 -328
- data/lib/swagger_client/models/automated_invoice_rule_request_json.rb +0 -307
- data/lib/swagger_client/models/avalara_integration.rb +0 -238
- data/lib/swagger_client/models/avalara_integration_input.rb +0 -268
- data/lib/swagger_client/models/billing_event_entry.rb +0 -211
- data/lib/swagger_client/models/billing_event_input.rb +0 -216
- data/lib/swagger_client/models/bulk_invoice_run.rb +0 -350
- data/lib/swagger_client/models/bulk_invoice_run_exclusions.rb +0 -197
- data/lib/swagger_client/models/bulk_invoice_run_input.rb +0 -263
- data/lib/swagger_client/models/bulk_invoice_run_item.rb +0 -364
- data/lib/swagger_client/models/bulk_invoice_run_selector.rb +0 -184
- data/lib/swagger_client/models/bulk_payment_upload_data.rb +0 -274
- data/lib/swagger_client/models/bulk_payment_upload_result.rb +0 -204
- data/lib/swagger_client/models/byte_buffer.rb +0 -247
- data/lib/swagger_client/models/catalog_relationship.rb +0 -364
- data/lib/swagger_client/models/charge_json.rb +0 -631
- data/lib/swagger_client/models/charge_partial_json.rb +0 -310
- data/lib/swagger_client/models/company_contact_json.rb +0 -225
- data/lib/swagger_client/models/credit_memo_application_json.rb +0 -239
- data/lib/swagger_client/models/credit_memo_balance_json.rb +0 -211
- data/lib/swagger_client/models/credit_memo_json.rb +0 -363
- data/lib/swagger_client/models/credit_memo_line_item_json.rb +0 -252
- data/lib/swagger_client/models/credit_memo_line_item_request_json.rb +0 -211
- data/lib/swagger_client/models/credit_memo_pagination_response_json.rb +0 -204
- data/lib/swagger_client/models/crm_account_import_response.rb +0 -193
- data/lib/swagger_client/models/custom_field_default.rb +0 -195
- data/lib/swagger_client/models/custom_field_definition_create_input.rb +0 -317
- data/lib/swagger_client/models/custom_field_definition_json.rb +0 -313
- data/lib/swagger_client/models/custom_field_definition_update_input.rb +0 -256
- data/lib/swagger_client/models/custom_field_entry.rb +0 -325
- data/lib/swagger_client/models/custom_field_update_input.rb +0 -195
- data/lib/swagger_client/models/custom_field_value.rb +0 -316
- data/lib/swagger_client/models/data_import.rb +0 -355
- data/lib/swagger_client/models/discount_detail_json.rb +0 -263
- data/lib/swagger_client/models/discount_json.rb +0 -254
- data/lib/swagger_client/models/docu_sign_integration_request_json.rb +0 -236
- data/lib/swagger_client/models/docu_sign_integration_response_json.rb +0 -245
- data/lib/swagger_client/models/document_custom_content.rb +0 -211
- data/lib/swagger_client/models/document_section.rb +0 -265
- data/lib/swagger_client/models/document_template_json.rb +0 -300
- data/lib/swagger_client/models/dunning_setting_json.rb +0 -200
- data/lib/swagger_client/models/email_notifiers_list.rb +0 -208
- data/lib/swagger_client/models/entity.rb +0 -356
- data/lib/swagger_client/models/entity_json.rb +0 -347
- data/lib/swagger_client/models/entity_ref.rb +0 -202
- data/lib/swagger_client/models/entry.rb +0 -202
- data/lib/swagger_client/models/external_arr_schedule_json.rb +0 -319
- data/lib/swagger_client/models/flatfile_workbook_response.rb +0 -184
- data/lib/swagger_client/models/flatfile_workbook_response_data.rb +0 -193
- data/lib/swagger_client/models/input_stream.rb +0 -175
- data/lib/swagger_client/models/integration.rb +0 -311
- data/lib/swagger_client/models/invoice_balance_json.rb +0 -211
- data/lib/swagger_client/models/invoice_item_json.rb +0 -355
- data/lib/swagger_client/models/invoice_item_preview_json.rb +0 -229
- data/lib/swagger_client/models/invoice_json.rb +0 -439
- data/lib/swagger_client/models/invoice_json_pagination_response.rb +0 -204
- data/lib/swagger_client/models/invoice_number_prefix.rb +0 -184
- data/lib/swagger_client/models/invoice_preview_json.rb +0 -222
- data/lib/swagger_client/models/ledger_account.rb +0 -316
- data/lib/swagger_client/models/ledger_account_mapping.rb +0 -222
- data/lib/swagger_client/models/metrics_json.rb +0 -267
- data/lib/swagger_client/models/notification_target_and_subscriptions.rb +0 -265
- data/lib/swagger_client/models/number_config.rb +0 -254
- data/lib/swagger_client/models/opportunity.rb +0 -326
- data/lib/swagger_client/models/opportunity_json.rb +0 -326
- data/lib/swagger_client/models/opportunity_pagination_response.rb +0 -204
- data/lib/swagger_client/models/opportunity_rest_json.rb +0 -317
- data/lib/swagger_client/models/order_json.rb +0 -754
- data/lib/swagger_client/models/order_json_pagination_response.rb +0 -204
- data/lib/swagger_client/models/order_line_item_json.rb +0 -474
- data/lib/swagger_client/models/order_line_item_request_json.rb +0 -384
- data/lib/swagger_client/models/order_request_json.rb +0 -616
- data/lib/swagger_client/models/order_terms.rb +0 -265
- data/lib/swagger_client/models/paginated_accounts_response.rb +0 -204
- data/lib/swagger_client/models/paginated_response.rb +0 -204
- data/lib/swagger_client/models/payment_balance_json.rb +0 -211
- data/lib/swagger_client/models/payment_configuration.rb +0 -208
- data/lib/swagger_client/models/payment_json.rb +0 -300
- data/lib/swagger_client/models/payment_json_pagination_response.rb +0 -204
- data/lib/swagger_client/models/payment_term_settings_json.rb +0 -219
- data/lib/swagger_client/models/plan_json.rb +0 -339
- data/lib/swagger_client/models/plan_json_pagination_response.rb +0 -204
- data/lib/swagger_client/models/plan_metadata_json.rb +0 -187
- data/lib/swagger_client/models/predefined_report_def_chart_json.rb +0 -265
- data/lib/swagger_client/models/predefined_report_def_json.rb +0 -222
- data/lib/swagger_client/models/predefined_report_defs_json.rb +0 -186
- data/lib/swagger_client/models/predefined_report_json.rb +0 -213
- data/lib/swagger_client/models/predefined_report_param.rb +0 -296
- data/lib/swagger_client/models/predefined_report_param_object.rb +0 -296
- data/lib/swagger_client/models/prepaid_stats.rb +0 -310
- data/lib/swagger_client/models/price_tier_json.rb +0 -212
- data/lib/swagger_client/models/product_category.rb +0 -264
- data/lib/swagger_client/models/product_category_pagination_response.rb +0 -204
- data/lib/swagger_client/models/product_input_json.rb +0 -249
- data/lib/swagger_client/models/product_json.rb +0 -276
- data/lib/swagger_client/models/product_json_pagination_response.rb +0 -204
- data/lib/swagger_client/models/purchase_order.rb +0 -226
- data/lib/swagger_client/models/raw_usage.rb +0 -247
- data/lib/swagger_client/models/raw_usages_data.rb +0 -192
- data/lib/swagger_client/models/recognition_event_completion.rb +0 -322
- data/lib/swagger_client/models/recognition_rule.rb +0 -376
- data/lib/swagger_client/models/recurrence_json.rb +0 -256
- data/lib/swagger_client/models/refund.rb +0 -301
- data/lib/swagger_client/models/refund_detail.rb +0 -322
- data/lib/swagger_client/models/refund_request_json.rb +0 -272
- data/lib/swagger_client/models/report_duration.rb +0 -193
- data/lib/swagger_client/models/report_job_response.rb +0 -245
- data/lib/swagger_client/models/salesforce_account.rb +0 -229
- data/lib/swagger_client/models/salesforce_account_billing_address.rb +0 -220
- data/lib/swagger_client/models/salesforce_client_integration_request_json.rb +0 -211
- data/lib/swagger_client/models/settlement_application.rb +0 -329
- data/lib/swagger_client/models/standalone_credit_memo_request.rb +0 -353
- data/lib/swagger_client/models/subscription_charge_alias.rb +0 -283
- data/lib/swagger_client/models/subscription_charge_json.rb +0 -362
- data/lib/swagger_client/models/subscription_json.rb +0 -583
- data/lib/swagger_client/models/subscription_update_json.rb +0 -280
- data/lib/swagger_client/models/tax_jar_integration.rb +0 -238
- data/lib/swagger_client/models/tax_jar_integration_input.rb +0 -193
- data/lib/swagger_client/models/tax_rate_json.rb +0 -286
- data/lib/swagger_client/models/tax_rate_pagination_response_json.rb +0 -204
- data/lib/swagger_client/models/tenant_credit_memo_configuration_json.rb +0 -211
- data/lib/swagger_client/models/tenant_discount_json.rb +0 -193
- data/lib/swagger_client/models/tenant_discount_line_item_json.rb +0 -202
- data/lib/swagger_client/models/tenant_invoice_config.rb +0 -254
- data/lib/swagger_client/models/tenant_json.rb +0 -283
- data/lib/swagger_client/models/tenant_setting_json.rb +0 -307
- data/lib/swagger_client/models/time_series_amount_json.rb +0 -193
- data/lib/swagger_client/models/time_zone.rb +0 -211
- data/lib/swagger_client/models/unit_of_measure_json.rb +0 -250
- data/lib/swagger_client/models/unit_of_measure_pagination_response_json.rb +0 -204
- data/lib/swagger_client/models/update_invoice_request.rb +0 -282
- data/lib/swagger_client/models/usage_aggregate_output.rb +0 -258
- data/lib/swagger_client/models/usage_batch_insert_result.rb +0 -213
- data/lib/swagger_client/models/user_group_json.rb +0 -224
- data/lib/swagger_client/models/user_group_request_json.rb +0 -224
- data/lib/swagger_client/models/user_input.rb +0 -304
- data/lib/swagger_client/models/user_json.rb +0 -376
- data/lib/swagger_client/models/user_pagination_response_json.rb +0 -204
- data/lib/swagger_client/models/void_invoice_request.rb +0 -203
- data/lib/swagger_client/models/void_payment_json.rb +0 -235
- data/lib/swagger_client/version.rb +0 -15
- data/lib/swagger_client.rb +0 -230
- data/spec/api/entity_api_spec.rb +0 -48
- data/subskribe_dev-1.3.1.gem +0 -0
- data/subskribe_dev.gemspec +0 -46
- data/subskribe_dev2-1.3.2.gem +0 -0
- data/subskribe_dev2.gemspec +0 -46
- data/swagger_client.gemspec +0 -46
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.4.41
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for SubskribeSandboxClient::SalesRoomApi
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'SalesRoomApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@instance =
|
22
|
+
@instance = SubskribeSandboxClient::SalesRoomApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'SalesRoomApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of SalesRoomApi' do
|
30
30
|
it 'should create an instance of SalesRoomApi' do
|
31
|
-
expect(@instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(SubskribeSandboxClient::SalesRoomApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.4.41
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for SubskribeSandboxClient::SettingsApi
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'SettingsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@instance =
|
22
|
+
@instance = SubskribeSandboxClient::SettingsApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'SettingsApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of SettingsApi' do
|
30
30
|
it 'should create an instance of SettingsApi' do
|
31
|
-
expect(@instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(SubskribeSandboxClient::SettingsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -44,6 +44,30 @@ describe 'SettingsApi' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
# unit tests for add_tax_rate
|
48
|
+
# Add tax rate
|
49
|
+
# Add a new tax rate object
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [TaxRateJson] :body
|
52
|
+
# @return [TaxRateJson]
|
53
|
+
describe 'add_tax_rate test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for add_term_section
|
60
|
+
# Add predefined terms section
|
61
|
+
# Adds a predefined terms section.
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [DocumentSection] :body
|
64
|
+
# @return [DocumentSection]
|
65
|
+
describe 'add_term_section test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
47
71
|
# unit tests for add_unit_of_measure
|
48
72
|
# Add unit of measure
|
49
73
|
# Add a new instance of unit of measure as specified by the input
|
@@ -56,6 +80,30 @@ describe 'SettingsApi' do
|
|
56
80
|
end
|
57
81
|
end
|
58
82
|
|
83
|
+
# unit tests for delete_tax_rate
|
84
|
+
# Delete tax rate
|
85
|
+
# Deletes the tax rate object by Id. If successful the deleted tax rate object is returned
|
86
|
+
# @param id
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [TaxRateJson]
|
89
|
+
describe 'delete_tax_rate test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# unit tests for delete_term_section
|
96
|
+
# Delete predefined terms section
|
97
|
+
# Deletes the predefined terms section specified.
|
98
|
+
# @param id
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [nil]
|
101
|
+
describe 'delete_term_section test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
59
107
|
# unit tests for delete_unit_of_measure
|
60
108
|
# Delete unit of measure
|
61
109
|
# Delete the unit of measure by Id provided. Returns the deleted unit of measure object if successful.
|
@@ -80,6 +128,109 @@ describe 'SettingsApi' do
|
|
80
128
|
end
|
81
129
|
end
|
82
130
|
|
131
|
+
# unit tests for get_payment_term_settings
|
132
|
+
# Get payment term settings
|
133
|
+
#
|
134
|
+
# @param [Hash] opts the optional parameters
|
135
|
+
# @return [nil]
|
136
|
+
describe 'get_payment_term_settings test' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# unit tests for get_supported_currencies
|
143
|
+
# Get supported currencies
|
144
|
+
# Get supported currencies for your tenant
|
145
|
+
# @param [Hash] opts the optional parameters
|
146
|
+
# @return [nil]
|
147
|
+
describe 'get_supported_currencies test' do
|
148
|
+
it 'should work' do
|
149
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
# unit tests for get_tax_rate
|
154
|
+
# Get tax rate by Id
|
155
|
+
# Retrieves the tax rate object by Id
|
156
|
+
# @param id
|
157
|
+
# @param [Hash] opts the optional parameters
|
158
|
+
# @return [TaxRatePaginationResponseJson]
|
159
|
+
describe 'get_tax_rate test' do
|
160
|
+
it 'should work' do
|
161
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
# unit tests for get_tax_rates
|
166
|
+
# Get tax rates
|
167
|
+
# Get all available tax rates. The result is paginated. To retrieve all results pass the cursor returned from a call to the next call until all results are returned.
|
168
|
+
# @param [Hash] opts the optional parameters
|
169
|
+
# @option opts [String] :cursor
|
170
|
+
# @option opts [Integer] :limit
|
171
|
+
# @return [TaxRatePaginationResponseJson]
|
172
|
+
describe 'get_tax_rates test' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# unit tests for get_tenant
|
179
|
+
# Get tenant details
|
180
|
+
# Get the details of the current tenant
|
181
|
+
# @param [Hash] opts the optional parameters
|
182
|
+
# @return [TenantJson]
|
183
|
+
describe 'get_tenant test' do
|
184
|
+
it 'should work' do
|
185
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
# unit tests for get_tenant_logo
|
190
|
+
# Get tenant logo
|
191
|
+
# Get the current logo stored
|
192
|
+
# @param [Hash] opts the optional parameters
|
193
|
+
# @return [nil]
|
194
|
+
describe 'get_tenant_logo test' do
|
195
|
+
it 'should work' do
|
196
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# unit tests for get_tenant_setting
|
201
|
+
# Get tenant settings
|
202
|
+
# Returns all tenant settings for your tenant.
|
203
|
+
# @param [Hash] opts the optional parameters
|
204
|
+
# @return [TenantSettingJson]
|
205
|
+
describe 'get_tenant_setting test' do
|
206
|
+
it 'should work' do
|
207
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# unit tests for get_term_section
|
212
|
+
# Get predefined terms section detail
|
213
|
+
# Returns predefined terms section detail.
|
214
|
+
# @param id
|
215
|
+
# @param [Hash] opts the optional parameters
|
216
|
+
# @return [DocumentSection]
|
217
|
+
describe 'get_term_section test' do
|
218
|
+
it 'should work' do
|
219
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
# unit tests for get_term_sections
|
224
|
+
# Get predefined terms sections
|
225
|
+
# Returns predefined terms sections.
|
226
|
+
# @param [Hash] opts the optional parameters
|
227
|
+
# @return [DocumentSection]
|
228
|
+
describe 'get_term_sections test' do
|
229
|
+
it 'should work' do
|
230
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
83
234
|
# unit tests for get_units_of_measure
|
84
235
|
# Get units of measure
|
85
236
|
# Returns a paginated list of units of measure
|
@@ -93,6 +244,80 @@ describe 'SettingsApi' do
|
|
93
244
|
end
|
94
245
|
end
|
95
246
|
|
247
|
+
# unit tests for update_payment_term_settings
|
248
|
+
# Update payment term settings
|
249
|
+
#
|
250
|
+
# @param body json representation of the payment term settings
|
251
|
+
# @param [Hash] opts the optional parameters
|
252
|
+
# @return [nil]
|
253
|
+
describe 'update_payment_term_settings test' do
|
254
|
+
it 'should work' do
|
255
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
# unit tests for update_supported_currencies
|
260
|
+
# Update supported currencies
|
261
|
+
# Update supported currencies for your tenant
|
262
|
+
# @param [Hash] opts the optional parameters
|
263
|
+
# @option opts [Array<String>] :body
|
264
|
+
# @return [nil]
|
265
|
+
describe 'update_supported_currencies test' do
|
266
|
+
it 'should work' do
|
267
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
# unit tests for update_tax_rate
|
272
|
+
# Update tax rate
|
273
|
+
# Updates the specific tax rate object
|
274
|
+
# @param id
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [TaxRateJson] :body
|
277
|
+
# @return [nil]
|
278
|
+
describe 'update_tax_rate test' do
|
279
|
+
it 'should work' do
|
280
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
# unit tests for update_tenant
|
285
|
+
# Update tenant details
|
286
|
+
# Updates the details of the current tenant based on the input
|
287
|
+
# @param [Hash] opts the optional parameters
|
288
|
+
# @option opts [TenantJson] :body
|
289
|
+
# @return [nil]
|
290
|
+
describe 'update_tenant test' do
|
291
|
+
it 'should work' do
|
292
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
# unit tests for update_tenant_setting
|
297
|
+
# Update tenant settings
|
298
|
+
# Updates settings for your tenant.
|
299
|
+
# @param body json representation of the settings
|
300
|
+
# @param [Hash] opts the optional parameters
|
301
|
+
# @return [nil]
|
302
|
+
describe 'update_tenant_setting test' do
|
303
|
+
it 'should work' do
|
304
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
# unit tests for update_term_section
|
309
|
+
# Update predefined terms section
|
310
|
+
# Updates the predefined terms section specified.
|
311
|
+
# @param id
|
312
|
+
# @param [Hash] opts the optional parameters
|
313
|
+
# @option opts [DocumentSection] :body
|
314
|
+
# @return [DocumentSection]
|
315
|
+
describe 'update_term_section test' do
|
316
|
+
it 'should work' do
|
317
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
96
321
|
# unit tests for update_unit_of_measure
|
97
322
|
# Update unit of measure
|
98
323
|
# Update the unit of measure by Id provided.
|
@@ -106,4 +331,16 @@ describe 'SettingsApi' do
|
|
106
331
|
end
|
107
332
|
end
|
108
333
|
|
334
|
+
# unit tests for upload_tenant_logo
|
335
|
+
# Update tenant logo
|
336
|
+
# Updates the logo used in external facing communication such as order forms and invoices
|
337
|
+
# @param [Hash] opts the optional parameters
|
338
|
+
# @option opts [File] :file
|
339
|
+
# @return [TenantJson]
|
340
|
+
describe 'upload_tenant_logo test' do
|
341
|
+
it 'should work' do
|
342
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
109
346
|
end
|
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.4.41
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for SubskribeSandboxClient::SubscriptionsApi
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'SubscriptionsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@instance =
|
22
|
+
@instance = SubskribeSandboxClient::SubscriptionsApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'SubscriptionsApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of SubscriptionsApi' do
|
30
30
|
it 'should create an instance of SubscriptionsApi' do
|
31
|
-
expect(@instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(SubskribeSandboxClient::SubscriptionsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -89,7 +89,7 @@ describe 'SubscriptionsApi' do
|
|
89
89
|
# @option opts [Integer] :limit number of items per page
|
90
90
|
# @option opts [String] :page_token pass this to subsequent calls
|
91
91
|
# @option opts [String] :account_id optionally pass in account Id, only subscriptions for this account will will returned
|
92
|
-
# @return [
|
92
|
+
# @return [PaginatedSubscriptionsResponse]
|
93
93
|
describe 'get_subscriptions test' do
|
94
94
|
it 'should work' do
|
95
95
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/api/usage_api_spec.rb
CHANGED
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.4.41
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for SubskribeSandboxClient::UsageApi
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'UsageApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@instance =
|
22
|
+
@instance = SubskribeSandboxClient::UsageApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'UsageApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of UsageApi' do
|
30
30
|
it 'should create an instance of UsageApi' do
|
31
|
-
expect(@instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(SubskribeSandboxClient::UsageApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.4.41
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for SubskribeSandboxClient::UsersApi
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'UsersApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@instance =
|
22
|
+
@instance = SubskribeSandboxClient::UsersApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'UsersApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of UsersApi' do
|
30
30
|
it 'should create an instance of UsersApi' do
|
31
|
-
expect(@instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(SubskribeSandboxClient::UsersApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
data/spec/api_client_spec.rb
CHANGED
@@ -12,51 +12,51 @@ Swagger Codegen version: 2.4.41
|
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
|
15
|
-
describe
|
15
|
+
describe SubskribeSandboxClient::ApiClient do
|
16
16
|
context 'initialization' do
|
17
17
|
context 'URL stuff' do
|
18
18
|
context 'host' do
|
19
19
|
it 'removes http from host' do
|
20
|
-
|
21
|
-
expect(
|
20
|
+
SubskribeSandboxClient.configure { |c| c.host = 'http://example.com' }
|
21
|
+
expect(SubskribeSandboxClient::Configuration.default.host).to eq('example.com')
|
22
22
|
end
|
23
23
|
|
24
24
|
it 'removes https from host' do
|
25
|
-
|
26
|
-
expect(
|
25
|
+
SubskribeSandboxClient.configure { |c| c.host = 'https://wookiee.com' }
|
26
|
+
expect(SubskribeSandboxClient::ApiClient.default.config.host).to eq('wookiee.com')
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'removes trailing path from host' do
|
30
|
-
|
31
|
-
expect(
|
30
|
+
SubskribeSandboxClient.configure { |c| c.host = 'hobo.com/v4' }
|
31
|
+
expect(SubskribeSandboxClient::Configuration.default.host).to eq('hobo.com')
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
35
|
context 'base_path' do
|
36
36
|
it "prepends a slash to base_path" do
|
37
|
-
|
38
|
-
expect(
|
37
|
+
SubskribeSandboxClient.configure { |c| c.base_path = 'v4/dog' }
|
38
|
+
expect(SubskribeSandboxClient::Configuration.default.base_path).to eq('/v4/dog')
|
39
39
|
end
|
40
40
|
|
41
41
|
it "doesn't prepend a slash if one is already there" do
|
42
|
-
|
43
|
-
expect(
|
42
|
+
SubskribeSandboxClient.configure { |c| c.base_path = '/v4/dog' }
|
43
|
+
expect(SubskribeSandboxClient::Configuration.default.base_path).to eq('/v4/dog')
|
44
44
|
end
|
45
45
|
|
46
46
|
it "ends up as a blank string if nil" do
|
47
|
-
|
48
|
-
expect(
|
47
|
+
SubskribeSandboxClient.configure { |c| c.base_path = nil }
|
48
|
+
expect(SubskribeSandboxClient::Configuration.default.base_path).to eq('')
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
describe 'params_encoding in #build_request' do
|
55
|
-
let(:config) {
|
56
|
-
let(:api_client) {
|
55
|
+
let(:config) { SubskribeSandboxClient::Configuration.new }
|
56
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new(config) }
|
57
57
|
|
58
58
|
it 'defaults to nil' do
|
59
|
-
expect(
|
59
|
+
expect(SubskribeSandboxClient::Configuration.default.params_encoding).to eq(nil)
|
60
60
|
expect(config.params_encoding).to eq(nil)
|
61
61
|
|
62
62
|
request = api_client.build_request(:get, '/test')
|
@@ -71,11 +71,11 @@ describe SubskribeDevClient::ApiClient do
|
|
71
71
|
end
|
72
72
|
|
73
73
|
describe 'timeout in #build_request' do
|
74
|
-
let(:config) {
|
75
|
-
let(:api_client) {
|
74
|
+
let(:config) { SubskribeSandboxClient::Configuration.new }
|
75
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new(config) }
|
76
76
|
|
77
77
|
it 'defaults to 0' do
|
78
|
-
expect(
|
78
|
+
expect(SubskribeSandboxClient::Configuration.default.timeout).to eq(0)
|
79
79
|
expect(config.timeout).to eq(0)
|
80
80
|
|
81
81
|
request = api_client.build_request(:get, '/test')
|
@@ -90,8 +90,8 @@ describe SubskribeDevClient::ApiClient do
|
|
90
90
|
end
|
91
91
|
|
92
92
|
describe '#build_request' do
|
93
|
-
let(:config) {
|
94
|
-
let(:api_client) {
|
93
|
+
let(:config) { SubskribeSandboxClient::Configuration.new }
|
94
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new(config) }
|
95
95
|
|
96
96
|
it 'does not send multipart to request' do
|
97
97
|
expect(Typhoeus::Request).to receive(:new).with(anything, hash_not_including(:multipart))
|
@@ -108,7 +108,7 @@ describe SubskribeDevClient::ApiClient do
|
|
108
108
|
|
109
109
|
describe '#deserialize' do
|
110
110
|
it "handles Array<Integer>" do
|
111
|
-
api_client =
|
111
|
+
api_client = SubskribeSandboxClient::ApiClient.new
|
112
112
|
headers = { 'Content-Type' => 'application/json' }
|
113
113
|
response = double('response', headers: headers, body: '[12, 34]')
|
114
114
|
data = api_client.deserialize(response, 'Array<Integer>')
|
@@ -117,7 +117,7 @@ describe SubskribeDevClient::ApiClient do
|
|
117
117
|
end
|
118
118
|
|
119
119
|
it 'handles Array<Array<Integer>>' do
|
120
|
-
api_client =
|
120
|
+
api_client = SubskribeSandboxClient::ApiClient.new
|
121
121
|
headers = { 'Content-Type' => 'application/json' }
|
122
122
|
response = double('response', headers: headers, body: '[[12, 34], [56]]')
|
123
123
|
data = api_client.deserialize(response, 'Array<Array<Integer>>')
|
@@ -126,7 +126,7 @@ describe SubskribeDevClient::ApiClient do
|
|
126
126
|
end
|
127
127
|
|
128
128
|
it 'handles Hash<String, String>' do
|
129
|
-
api_client =
|
129
|
+
api_client = SubskribeSandboxClient::ApiClient.new
|
130
130
|
headers = { 'Content-Type' => 'application/json' }
|
131
131
|
response = double('response', headers: headers, body: '{"message": "Hello"}')
|
132
132
|
data = api_client.deserialize(response, 'Hash<String, String>')
|
@@ -138,8 +138,8 @@ describe SubskribeDevClient::ApiClient do
|
|
138
138
|
describe "#object_to_hash" do
|
139
139
|
it 'ignores nils and includes empty arrays' do
|
140
140
|
# uncomment below to test object_to_hash for model
|
141
|
-
# api_client =
|
142
|
-
# _model =
|
141
|
+
# api_client = SubskribeSandboxClient::ApiClient.new
|
142
|
+
# _model = SubskribeSandboxClient::ModelName.new
|
143
143
|
# update the model attribute below
|
144
144
|
# _model.id = 1
|
145
145
|
# update the expected value (hash) below
|
@@ -150,7 +150,7 @@ describe SubskribeDevClient::ApiClient do
|
|
150
150
|
|
151
151
|
describe '#build_collection_param' do
|
152
152
|
let(:param) { ['aa', 'bb', 'cc'] }
|
153
|
-
let(:api_client) {
|
153
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new }
|
154
154
|
|
155
155
|
it 'works for csv' do
|
156
156
|
expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
|
@@ -178,7 +178,7 @@ describe SubskribeDevClient::ApiClient do
|
|
178
178
|
end
|
179
179
|
|
180
180
|
describe '#json_mime?' do
|
181
|
-
let(:api_client) {
|
181
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new }
|
182
182
|
|
183
183
|
it 'works' do
|
184
184
|
expect(api_client.json_mime?(nil)).to eq false
|
@@ -195,7 +195,7 @@ describe SubskribeDevClient::ApiClient do
|
|
195
195
|
end
|
196
196
|
|
197
197
|
describe '#select_header_accept' do
|
198
|
-
let(:api_client) {
|
198
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new }
|
199
199
|
|
200
200
|
it 'works' do
|
201
201
|
expect(api_client.select_header_accept(nil)).to be_nil
|
@@ -211,7 +211,7 @@ describe SubskribeDevClient::ApiClient do
|
|
211
211
|
end
|
212
212
|
|
213
213
|
describe '#select_header_content_type' do
|
214
|
-
let(:api_client) {
|
214
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new }
|
215
215
|
|
216
216
|
it 'works' do
|
217
217
|
expect(api_client.select_header_content_type(nil)).to eq('application/json')
|
@@ -226,7 +226,7 @@ describe SubskribeDevClient::ApiClient do
|
|
226
226
|
end
|
227
227
|
|
228
228
|
describe '#sanitize_filename' do
|
229
|
-
let(:api_client) {
|
229
|
+
let(:api_client) { SubskribeSandboxClient::ApiClient.new }
|
230
230
|
|
231
231
|
it 'works' do
|
232
232
|
expect(api_client.sanitize_filename('sun')).to eq('sun')
|
data/spec/configuration_spec.rb
CHANGED
@@ -12,14 +12,14 @@ Swagger Codegen version: 2.4.41
|
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
|
15
|
-
describe
|
16
|
-
let(:config) {
|
15
|
+
describe SubskribeSandboxClient::Configuration do
|
16
|
+
let(:config) { SubskribeSandboxClient::Configuration.default }
|
17
17
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("https://api.
|
22
|
-
#
|
21
|
+
# uri = URI.parse("https://api.sandbox.subskribe.net")
|
22
|
+
# SubskribeSandboxClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
25
25
|
# end
|
@@ -28,14 +28,14 @@ describe SubskribeDevClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("https://api.
|
31
|
+
# expect(config.base_url).to eq("https://api.sandbox.subskribe.net")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("https://api.
|
38
|
+
# expect(config.base_url).to eq("https://api.sandbox.subskribe.net")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for SubskribeSandboxClient::AccountAddressJson
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'AccountAddressJson' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = SubskribeSandboxClient::AccountAddressJson.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'AccountAddressJson' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of AccountAddressJson' do
|
31
31
|
it 'should create an instance of AccountAddressJson' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(SubskribeSandboxClient::AccountAddressJson)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "street_address_line1"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for SubskribeSandboxClient::AccountAddress
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'AccountAddress' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = SubskribeSandboxClient::AccountAddress.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'AccountAddress' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of AccountAddress' do
|
31
31
|
it 'should create an instance of AccountAddress' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(SubskribeSandboxClient::AccountAddress)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "id"' do
|