subskribe_dev 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -13
  3. data/docs/AccountingApi.md +1 -1
  4. data/docs/AccountsApi.md +3 -3
  5. data/docs/ApprovalsApi.md +1 -1
  6. data/docs/AttachmentsApi.md +1 -1
  7. data/docs/AuthenticationApi.md +1 -1
  8. data/docs/AutomatedInvoiceRule.md +2 -2
  9. data/docs/BillingApi.md +1 -1
  10. data/docs/BulkInvoiceRunItem.md +2 -2
  11. data/docs/BulkPaymentUploadData.md +3 -3
  12. data/docs/BulkPaymentUploadResult.md +1 -1
  13. data/docs/ChargeJson.md +2 -2
  14. data/docs/CreditMemoApi.md +1 -1
  15. data/docs/CustomFieldApi.md +1 -1
  16. data/docs/CustomizationApi.md +1 -1
  17. data/docs/DefaultApi.md +1 -1
  18. data/docs/DiscountsApi.md +1 -1
  19. data/docs/ERPApi.md +21 -21
  20. data/docs/EntitiesApi.md +173 -1
  21. data/docs/ImportApi.md +1 -1
  22. data/docs/IntegrationsApi.md +1 -1
  23. data/docs/MetricsReportingApi.md +1 -1
  24. data/docs/NotificationsApi.md +1 -1
  25. data/docs/OpportunityApi.md +1 -1
  26. data/docs/OrderLineItemJson.md +1 -0
  27. data/docs/OrderLineItemRequestJson.md +1 -0
  28. data/docs/OrdersApi.md +1 -1
  29. data/docs/PaginatedAccountsResponse.md +10 -0
  30. data/docs/PaymentsApi.md +1 -1
  31. data/docs/PlanMetadataJson.md +8 -0
  32. data/docs/ProductCatalogApi.md +59 -1
  33. data/docs/RateCardApi.md +1 -1
  34. data/docs/RefundsApi.md +1 -1
  35. data/docs/ReportsApi.md +1 -1
  36. data/docs/RevenueRecognitionApi.md +21 -21
  37. data/docs/SalesRoomApi.md +1 -1
  38. data/docs/SettingsApi.md +1 -1
  39. data/docs/SubscriptionsApi.md +1 -1
  40. data/docs/TaxJarIntegration.md +1 -1
  41. data/docs/UsageApi.md +1 -1
  42. data/docs/UsersApi.md +1 -1
  43. data/lib/subskribe_dev/api/accounts_api.rb +3 -3
  44. data/lib/subskribe_dev/api/entities_api.rb +158 -0
  45. data/lib/subskribe_dev/api/erp_api.rb +20 -20
  46. data/lib/subskribe_dev/api/product_catalog_api.rb +58 -0
  47. data/lib/subskribe_dev/api/revenue_recognition_api.rb +22 -22
  48. data/lib/subskribe_dev/configuration.rb +1 -1
  49. data/lib/subskribe_dev/models/automated_invoice_rule.rb +22 -22
  50. data/lib/subskribe_dev/models/bulk_invoice_run_item.rb +22 -22
  51. data/lib/subskribe_dev/models/bulk_payment_upload_data.rb +31 -31
  52. data/lib/subskribe_dev/models/bulk_payment_upload_result.rb +13 -13
  53. data/lib/subskribe_dev/models/charge_json.rb +19 -19
  54. data/lib/subskribe_dev/models/order_line_item_json.rb +10 -1
  55. data/lib/subskribe_dev/models/order_line_item_request_json.rb +10 -1
  56. data/lib/subskribe_dev/models/paginated_accounts_response.rb +204 -0
  57. data/lib/subskribe_dev/models/plan_metadata_json.rb +187 -0
  58. data/lib/subskribe_dev/models/tax_jar_integration.rb +10 -10
  59. data/lib/subskribe_dev/version.rb +1 -1
  60. data/lib/subskribe_dev.rb +2 -1
  61. data/spec/models/paginated_accounts_response_spec.rb +53 -0
  62. data/spec/models/plan_metadata_json_spec.rb +41 -0
  63. data/subskribe_dev.gemspec +4 -4
  64. metadata +195 -187
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a67107940a80bd48b3927ab3546e7b37dbf4a67bebf3e6d9a2adcc92f28872b6
4
- data.tar.gz: 62ede952676410d569e5d25f37d2f1fa26a3fef1f0013f96cf1eef4fc7cd9fc8
3
+ metadata.gz: 252e4b130746a3f3ac460913b1d1be24c14842bf0261cdcfaa20dcc4e887cf26
4
+ data.tar.gz: 0e52ba4818f3be45e507875f39510f8f9b509a02b783fe4db1e0cfb146a04d66
5
5
  SHA512:
6
- metadata.gz: 1d8d59faa102dea4f607b5a693c81758cfb0e10b70d9d364901a42ed7752178c67b9c0f1d277fd6973a6f3c4de22cd62b61f6a95054dfbad5a42e285c91861fc
7
- data.tar.gz: bbaa02ceb654f342e69ca7be1beb5486de5f5b5e5c5b1b4e3327424084a275a378bb813ba60524ddbc686ab613319ae290eca1c8cab79bd97b4d6776dfce0f85
6
+ metadata.gz: feb216f94a1b7f380ae33440c2fdfc37261f716f177fe275739d8f1e5967366d32f8a3eb6350e5da1d0467b5bd1201877f18b92dcccc5c58b913c4855ef87d24
7
+ data.tar.gz: 8d0c1600caab212d3fec081fdd01406add4998e59836c081780f03693c1d205c66069fcd925d4fe2000f5f6479f80a11d262128d32a66f6e90ef8a1ff190e8e2
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 1.2.0
10
+ - Package version: 1.3.0
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build subskribe_dev.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./subskribe_dev-1.2.0.gem
26
+ gem install ./subskribe_dev-1.3.0.gem
27
27
  ```
28
- (for development, run `gem install --dev ./subskribe_dev-1.2.0.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./subskribe_dev-1.3.0.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'subskribe_dev', '~> 1.2.0'
34
+ gem 'subskribe_dev', '~> 1.3.0'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -85,7 +85,7 @@ end
85
85
 
86
86
  ## Documentation for API Endpoints
87
87
 
88
- All URIs are relative to *https://api.dev2.subskribe.net*
88
+ All URIs are relative to *https://api.app.subskribe.com*
89
89
 
90
90
  Class | Method | HTTP request | Description
91
91
  ------------ | ------------- | ------------- | -------------
@@ -209,11 +209,13 @@ Class | Method | HTTP request | Description
209
209
  *SubskribeDevClient::DiscountsApi* | [**get_discounts**](docs/DiscountsApi.md#get_discounts) | **GET** /discounts | Get discounts
210
210
  *SubskribeDevClient::DiscountsApi* | [**update_discount**](docs/DiscountsApi.md#update_discount) | **PUT** /discounts/{id} | Update discount details
211
211
  *SubskribeDevClient::DiscountsApi* | [**update_discount_status**](docs/DiscountsApi.md#update_discount_status) | **PUT** /discounts/{id}/status/{status} | Update discount status
212
- *SubskribeDevClient::ERPApi* | [**process_delete_tasks**](docs/ERPApi.md#process_delete_tasks) | **POST** /erp/processDeleteTasks/{accountingPeriodId} | API to trigger ERP journal entry deletion task for accounting period
213
- *SubskribeDevClient::ERPApi* | [**process_sync_tasks**](docs/ERPApi.md#process_sync_tasks) | **POST** /erp/processSyncTasks/{accountingPeriodId} | API to trigger ERP journal entry sync task for accounting period
214
- *SubskribeDevClient::ERPApi* | [**sync_credit_memo_to_erp**](docs/ERPApi.md#sync_credit_memo_to_erp) | **POST** /erp/syncCreditMemo/{creditMemoNumber} | API to trigger ERP journal entry deletion task for accounting period
215
- *SubskribeDevClient::ERPApi* | [**sync_invoice_to_erp**](docs/ERPApi.md#sync_invoice_to_erp) | **POST** /erp/syncInvoice/{invoiceId} | API to trigger ERP journal entry deletion task for accounting period
216
- *SubskribeDevClient::ERPApi* | [**sync_void_invoice_to_erp**](docs/ERPApi.md#sync_void_invoice_to_erp) | **POST** /erp/syncVoidInvoice/{invoiceNumber} | API to trigger ERP journal entry deletion task for accounting period
212
+ *SubskribeDevClient::ERPApi* | [**process_delete_tasks**](docs/ERPApi.md#process_delete_tasks) | **POST** /erp/processDeleteTasks/{accountingPeriodId} | Trigger ERP journal entry deletion task
213
+ *SubskribeDevClient::ERPApi* | [**process_sync_tasks**](docs/ERPApi.md#process_sync_tasks) | **POST** /erp/processSyncTasks/{accountingPeriodId} | Trigger ERP journal entry sync task
214
+ *SubskribeDevClient::ERPApi* | [**sync_credit_memo_to_erp**](docs/ERPApi.md#sync_credit_memo_to_erp) | **POST** /erp/syncCreditMemo/{creditMemoNumber} | Trigger ERP credit memo sync task
215
+ *SubskribeDevClient::ERPApi* | [**sync_invoice_to_erp**](docs/ERPApi.md#sync_invoice_to_erp) | **POST** /erp/syncInvoice/{invoiceId} | Trigger ERP invoice sync task
216
+ *SubskribeDevClient::ERPApi* | [**sync_void_invoice_to_erp**](docs/ERPApi.md#sync_void_invoice_to_erp) | **POST** /erp/syncVoidInvoice/{invoiceNumber} | Trigger ERP void invoice sync task
217
+ *SubskribeDevClient::EntitiesApi* | [**account_entity_migration**](docs/EntitiesApi.md#account_entity_migration) | **POST** /entities/migrate/account | Move account to a target entity
218
+ *SubskribeDevClient::EntitiesApi* | [**composite_order_entity_migration**](docs/EntitiesApi.md#composite_order_entity_migration) | **POST** /entities/migrate/compositeOrder | Move composite order to a target entity
217
219
  *SubskribeDevClient::EntitiesApi* | [**create**](docs/EntitiesApi.md#create) | **POST** /entities | Create an entity
218
220
  *SubskribeDevClient::EntitiesApi* | [**delete_entity**](docs/EntitiesApi.md#delete_entity) | **DELETE** /entities/{id} | Delete entity
219
221
  *SubskribeDevClient::EntitiesApi* | [**get_entities**](docs/EntitiesApi.md#get_entities) | **GET** /entities | Gets entities
@@ -221,7 +223,7 @@ Class | Method | HTTP request | Description
221
223
  *SubskribeDevClient::EntitiesApi* | [**get_logo**](docs/EntitiesApi.md#get_logo) | **GET** /entities/logo/{entityId} | Get entity logo
222
224
  *SubskribeDevClient::EntitiesApi* | [**order_entity_migration**](docs/EntitiesApi.md#order_entity_migration) | **POST** /entities/migrate/order | Update order entity
223
225
  *SubskribeDevClient::EntitiesApi* | [**subscription_entity_migration**](docs/EntitiesApi.md#subscription_entity_migration) | **POST** /entities/migrate/subscription | Move subscription to a target entity
224
- *SubskribeDevClient::EntityApi* | [**upload_logo**](docs/EntityApi.md#upload_logo) | **PUT** /entities/logo/{entityId} | Update entity logo
226
+ *SubskribeDevClient::EntitiesApi* | [**upload_logo**](docs/EntitiesApi.md#upload_logo) | **PUT** /entities/logo/{entityId} | Update entity logo
225
227
  *SubskribeDevClient::ImportApi* | [**create_flatfile_workbook**](docs/ImportApi.md#create_flatfile_workbook) | **POST** /import/flatfile/{domain} | Create a Flatfile workbook
226
228
  *SubskribeDevClient::ImportApi* | [**get_account_contacts_in_import_format**](docs/ImportApi.md#get_account_contacts_in_import_format) | **GET** /import/export/accountContact | Get account contacts for export
227
229
  *SubskribeDevClient::ImportApi* | [**get_amendment_order_export_in_import_format**](docs/ImportApi.md#get_amendment_order_export_in_import_format) | **GET** /import/export/amendmentOrders | Get amendment orders in import CSV format
@@ -340,6 +342,7 @@ Class | Method | HTTP request | Description
340
342
  *SubskribeDevClient::ProductCatalogApi* | [**reactivate_plan**](docs/ProductCatalogApi.md#reactivate_plan) | **PUT** /plans/{planId}/reactivate | Reactivate a plan
341
343
  *SubskribeDevClient::ProductCatalogApi* | [**update_charge**](docs/ProductCatalogApi.md#update_charge) | **PUT** /plans/{planId}/charges/{chargeId} | Update charge details
342
344
  *SubskribeDevClient::ProductCatalogApi* | [**update_plan**](docs/ProductCatalogApi.md#update_plan) | **PUT** /plans/{planId} | Update plan
345
+ *SubskribeDevClient::ProductCatalogApi* | [**update_plan_metadata**](docs/ProductCatalogApi.md#update_plan_metadata) | **PUT** /plans/{planId}/metadata | Update plan metadata
343
346
  *SubskribeDevClient::ProductCatalogApi* | [**update_product**](docs/ProductCatalogApi.md#update_product) | **PUT** /products/{id} | Update product details
344
347
  *SubskribeDevClient::ProductCatalogApi* | [**update_product_category**](docs/ProductCatalogApi.md#update_product_category) | **PUT** /product/categories/{id} | Update product category details
345
348
  *SubskribeDevClient::RateCardApi* | [**get_price_attributes_csv**](docs/RateCardApi.md#get_price_attributes_csv) | **GET** /ratecards/attributes/csv | Fetch the price attributes defined in the system in CSV format
@@ -354,8 +357,8 @@ Class | Method | HTTP request | Description
354
357
  *SubskribeDevClient::RevenueRecognitionApi* | [**create_recognition_event**](docs/RevenueRecognitionApi.md#create_recognition_event) | **POST** /revrec/events | Create a revenue recognition event
355
358
  *SubskribeDevClient::RevenueRecognitionApi* | [**delete_rule**](docs/RevenueRecognitionApi.md#delete_rule) | **DELETE** /revrec/rules/{ruleId} | Delete a recognition rule
356
359
  *SubskribeDevClient::RevenueRecognitionApi* | [**get_recognition_events_by_subscription_id_charge_id**](docs/RevenueRecognitionApi.md#get_recognition_events_by_subscription_id_charge_id) | **GET** /revrec/events | Get revenue recognition events
357
- *SubskribeDevClient::RevenueRecognitionApi* | [**get_recognition_rule_by_id**](docs/RevenueRecognitionApi.md#get_recognition_rule_by_id) | **GET** /revrec/rules | Get revenue recognition rules
358
- *SubskribeDevClient::RevenueRecognitionApi* | [**get_recognition_rule_by_id1**](docs/RevenueRecognitionApi.md#get_recognition_rule_by_id1) | **GET** /revrec/rules/{id} | Get revenue recognition rule
360
+ *SubskribeDevClient::RevenueRecognitionApi* | [**get_recognition_rule_by_id**](docs/RevenueRecognitionApi.md#get_recognition_rule_by_id) | **GET** /revrec/rules/{id} | Get revenue recognition rule
361
+ *SubskribeDevClient::RevenueRecognitionApi* | [**get_recognition_rule_by_id1**](docs/RevenueRecognitionApi.md#get_recognition_rule_by_id1) | **GET** /revrec/rules | Get revenue recognition rules
359
362
  *SubskribeDevClient::RevenueRecognitionApi* | [**get_revenue_waterfall**](docs/RevenueRecognitionApi.md#get_revenue_waterfall) | **GET** /revrec/waterfall | Download waterfall report
360
363
  *SubskribeDevClient::RevenueRecognitionApi* | [**get_revenue_waterfall_report_v2**](docs/RevenueRecognitionApi.md#get_revenue_waterfall_report_v2) | **GET** /revrec/waterfall/v2 | Download waterfall report
361
364
  *SubskribeDevClient::RevenueRecognitionApi* | [**upload_completion_events**](docs/RevenueRecognitionApi.md#upload_completion_events) | **POST** /revrec/events/upload | Upload revenue events
@@ -519,6 +522,7 @@ Class | Method | HTTP request | Description
519
522
  - [SubskribeDevClient::OrderLineItemRequestJson](docs/OrderLineItemRequestJson.md)
520
523
  - [SubskribeDevClient::OrderRequestJson](docs/OrderRequestJson.md)
521
524
  - [SubskribeDevClient::OrderTerms](docs/OrderTerms.md)
525
+ - [SubskribeDevClient::PaginatedAccountsResponse](docs/PaginatedAccountsResponse.md)
522
526
  - [SubskribeDevClient::PaginatedResponse](docs/PaginatedResponse.md)
523
527
  - [SubskribeDevClient::PaymentBalanceJson](docs/PaymentBalanceJson.md)
524
528
  - [SubskribeDevClient::PaymentConfiguration](docs/PaymentConfiguration.md)
@@ -527,6 +531,7 @@ Class | Method | HTTP request | Description
527
531
  - [SubskribeDevClient::PaymentTermSettingsJson](docs/PaymentTermSettingsJson.md)
528
532
  - [SubskribeDevClient::PlanJson](docs/PlanJson.md)
529
533
  - [SubskribeDevClient::PlanJsonPaginationResponse](docs/PlanJsonPaginationResponse.md)
534
+ - [SubskribeDevClient::PlanMetadataJson](docs/PlanMetadataJson.md)
530
535
  - [SubskribeDevClient::PredefinedReportDefChartJson](docs/PredefinedReportDefChartJson.md)
531
536
  - [SubskribeDevClient::PredefinedReportDefJson](docs/PredefinedReportDefJson.md)
532
537
  - [SubskribeDevClient::PredefinedReportDefsJson](docs/PredefinedReportDefsJson.md)
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::AccountingApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/AccountsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::AccountsApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -591,7 +591,7 @@ Name | Type | Description | Notes
591
591
 
592
592
 
593
593
  # **get_accounts**
594
- > Array<AccountJson> get_accounts(opts)
594
+ > PaginatedAccountsResponse get_accounts(opts)
595
595
 
596
596
  Get all accounts
597
597
 
@@ -636,7 +636,7 @@ Name | Type | Description | Notes
636
636
 
637
637
  ### Return type
638
638
 
639
- [**Array<AccountJson>**](AccountJson.md)
639
+ [**PaginatedAccountsResponse**](PaginatedAccountsResponse.md)
640
640
 
641
641
  ### Authorization
642
642
 
data/docs/ApprovalsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::ApprovalsApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::AttachmentsApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::AuthenticationApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -11,8 +11,6 @@ Name | Type | Description | Notes
11
11
  **updated_on** | **Integer** | | [optional]
12
12
  **created_on** | **Integer** | | [optional]
13
13
  **last_execution_date** | **Integer** | | [optional]
14
- **cron_expression_meaning** | **String** | | [optional]
15
- **next_execution_date** | **Integer** | | [optional]
16
14
  **target_duration** | **Integer** | | [optional]
17
15
  **invoice_duration** | **Integer** | | [optional]
18
16
  **include_usage_charge** | **BOOLEAN** | | [optional]
@@ -20,5 +18,7 @@ Name | Type | Description | Notes
20
18
  **auto_post_invoice** | **BOOLEAN** | | [optional]
21
19
  **auto_email_invoice** | **BOOLEAN** | | [optional]
22
20
  **first_execution_date** | **Integer** | | [optional]
21
+ **cron_expression_meaning** | **String** | | [optional]
22
+ **next_execution_date** | **Integer** | | [optional]
23
23
 
24
24
 
data/docs/BillingApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::BillingApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
18
18
  **email_sent** | **BOOLEAN** | | [optional]
19
19
  **created_on** | **Integer** | | [optional]
20
20
  **updated_on** | **Integer** | | [optional]
21
- **included_for_emailing** | **BOOLEAN** | | [optional]
22
- **invoice_posted** | **BOOLEAN** | | [optional]
23
21
  **draft_invoice_generated** | **BOOLEAN** | | [optional]
24
22
  **included_for_posting** | **BOOLEAN** | | [optional]
25
23
  **invoice_not_posted** | **BOOLEAN** | | [optional]
26
24
  **draft_invoice_not_generated** | **BOOLEAN** | | [optional]
25
+ **included_for_emailing** | **BOOLEAN** | | [optional]
26
+ **invoice_posted** | **BOOLEAN** | | [optional]
27
27
 
28
28
 
@@ -6,13 +6,13 @@ Name | Type | Description | Notes
6
6
  **currency_code** | **String** | | [optional]
7
7
  **failed** | **BOOLEAN** | | [optional]
8
8
  **amount** | **Float** | | [optional]
9
- **invoice_number** | **String** | | [optional]
10
9
  **note** | **String** | | [optional]
11
- **payment_method** | **String** | | [optional]
12
10
  **payment_date** | **Integer** | | [optional]
13
11
  **payment_method_id** | **String** | | [optional]
12
+ **payment_method** | **String** | | [optional]
13
+ **invoice_number** | **String** | | [optional]
14
14
  **original_invoice_balance** | **Float** | | [optional]
15
- **failure_reason** | **String** | | [optional]
16
15
  **new_invoice_balance** | **Float** | | [optional]
16
+ **failure_reason** | **String** | | [optional]
17
17
 
18
18
 
@@ -3,8 +3,8 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **payments_request_count** | **Integer** | | [optional]
6
7
  **failed_payments_count** | **Integer** | | [optional]
7
8
  **bulk_payment_upload_data** | [**Array<BulkPaymentUploadData>**](BulkPaymentUploadData.md) | | [optional]
8
- **payments_request_count** | **Integer** | | [optional]
9
9
 
10
10
 
data/docs/ChargeJson.md CHANGED
@@ -39,9 +39,9 @@ Name | Type | Description | Notes
39
39
  **billing_term** | **String** | | [optional]
40
40
  **billing_cycle** | **String** | | [optional]
41
41
  **should_track_arr** | **BOOLEAN** | | [optional]
42
- **custom** | **BOOLEAN** | | [optional]
43
42
  **drawdown** | **BOOLEAN** | | [optional]
44
- **event_based** | **BOOLEAN** | | [optional]
43
+ **custom** | **BOOLEAN** | | [optional]
45
44
  **list_price_editable** | **BOOLEAN** | | [optional]
45
+ **event_based** | **BOOLEAN** | | [optional]
46
46
 
47
47
 
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::CreditMemoApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::CustomFieldApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::CustomizationApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/DefaultApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::DefaultApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/DiscountsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::DiscountsApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/ERPApi.md CHANGED
@@ -1,22 +1,22 @@
1
1
  # SubskribeDevClient::ERPApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**process_delete_tasks**](ERPApi.md#process_delete_tasks) | **POST** /erp/processDeleteTasks/{accountingPeriodId} | API to trigger ERP journal entry deletion task for accounting period
8
- [**process_sync_tasks**](ERPApi.md#process_sync_tasks) | **POST** /erp/processSyncTasks/{accountingPeriodId} | API to trigger ERP journal entry sync task for accounting period
9
- [**sync_credit_memo_to_erp**](ERPApi.md#sync_credit_memo_to_erp) | **POST** /erp/syncCreditMemo/{creditMemoNumber} | API to trigger ERP journal entry deletion task for accounting period
10
- [**sync_invoice_to_erp**](ERPApi.md#sync_invoice_to_erp) | **POST** /erp/syncInvoice/{invoiceId} | API to trigger ERP journal entry deletion task for accounting period
11
- [**sync_void_invoice_to_erp**](ERPApi.md#sync_void_invoice_to_erp) | **POST** /erp/syncVoidInvoice/{invoiceNumber} | API to trigger ERP journal entry deletion task for accounting period
7
+ [**process_delete_tasks**](ERPApi.md#process_delete_tasks) | **POST** /erp/processDeleteTasks/{accountingPeriodId} | Trigger ERP journal entry deletion task
8
+ [**process_sync_tasks**](ERPApi.md#process_sync_tasks) | **POST** /erp/processSyncTasks/{accountingPeriodId} | Trigger ERP journal entry sync task
9
+ [**sync_credit_memo_to_erp**](ERPApi.md#sync_credit_memo_to_erp) | **POST** /erp/syncCreditMemo/{creditMemoNumber} | Trigger ERP credit memo sync task
10
+ [**sync_invoice_to_erp**](ERPApi.md#sync_invoice_to_erp) | **POST** /erp/syncInvoice/{invoiceId} | Trigger ERP invoice sync task
11
+ [**sync_void_invoice_to_erp**](ERPApi.md#sync_void_invoice_to_erp) | **POST** /erp/syncVoidInvoice/{invoiceNumber} | Trigger ERP void invoice sync task
12
12
 
13
13
 
14
14
  # **process_delete_tasks**
15
15
  > process_delete_tasks(accounting_period_id)
16
16
 
17
- API to trigger ERP journal entry deletion task for accounting period
18
-
17
+ Trigger ERP journal entry deletion task
19
18
 
19
+ Trigger ERP journal entry deletion task for the given accounting period id
20
20
 
21
21
  ### Example
22
22
  ```ruby
@@ -36,7 +36,7 @@ accounting_period_id = 'accounting_period_id_example' # String |
36
36
 
37
37
 
38
38
  begin
39
- #API to trigger ERP journal entry deletion task for accounting period
39
+ #Trigger ERP journal entry deletion task
40
40
  api_instance.process_delete_tasks(accounting_period_id)
41
41
  rescue SubskribeDevClient::ApiError => e
42
42
  puts "Exception when calling ERPApi->process_delete_tasks: #{e}"
@@ -67,9 +67,9 @@ nil (empty response body)
67
67
  # **process_sync_tasks**
68
68
  > process_sync_tasks(accounting_period_id)
69
69
 
70
- API to trigger ERP journal entry sync task for accounting period
71
-
70
+ Trigger ERP journal entry sync task
72
71
 
72
+ Trigger ERP journal entry sync task for given accounting period id
73
73
 
74
74
  ### Example
75
75
  ```ruby
@@ -89,7 +89,7 @@ accounting_period_id = 'accounting_period_id_example' # String |
89
89
 
90
90
 
91
91
  begin
92
- #API to trigger ERP journal entry sync task for accounting period
92
+ #Trigger ERP journal entry sync task
93
93
  api_instance.process_sync_tasks(accounting_period_id)
94
94
  rescue SubskribeDevClient::ApiError => e
95
95
  puts "Exception when calling ERPApi->process_sync_tasks: #{e}"
@@ -120,9 +120,9 @@ nil (empty response body)
120
120
  # **sync_credit_memo_to_erp**
121
121
  > sync_credit_memo_to_erp(credit_memo_number)
122
122
 
123
- API to trigger ERP journal entry deletion task for accounting period
124
-
123
+ Trigger ERP credit memo sync task
125
124
 
125
+ Trigger ERP credit memo sync task for the given credit memo number
126
126
 
127
127
  ### Example
128
128
  ```ruby
@@ -142,7 +142,7 @@ credit_memo_number = 'credit_memo_number_example' # String |
142
142
 
143
143
 
144
144
  begin
145
- #API to trigger ERP journal entry deletion task for accounting period
145
+ #Trigger ERP credit memo sync task
146
146
  api_instance.sync_credit_memo_to_erp(credit_memo_number)
147
147
  rescue SubskribeDevClient::ApiError => e
148
148
  puts "Exception when calling ERPApi->sync_credit_memo_to_erp: #{e}"
@@ -173,9 +173,9 @@ nil (empty response body)
173
173
  # **sync_invoice_to_erp**
174
174
  > sync_invoice_to_erp(invoice_id)
175
175
 
176
- API to trigger ERP journal entry deletion task for accounting period
177
-
176
+ Trigger ERP invoice sync task
178
177
 
178
+ Trigger ERP invoice sync task for the given invoice id
179
179
 
180
180
  ### Example
181
181
  ```ruby
@@ -195,7 +195,7 @@ invoice_id = 'invoice_id_example' # String |
195
195
 
196
196
 
197
197
  begin
198
- #API to trigger ERP journal entry deletion task for accounting period
198
+ #Trigger ERP invoice sync task
199
199
  api_instance.sync_invoice_to_erp(invoice_id)
200
200
  rescue SubskribeDevClient::ApiError => e
201
201
  puts "Exception when calling ERPApi->sync_invoice_to_erp: #{e}"
@@ -226,9 +226,9 @@ nil (empty response body)
226
226
  # **sync_void_invoice_to_erp**
227
227
  > sync_void_invoice_to_erp(invoice_number)
228
228
 
229
- API to trigger ERP journal entry deletion task for accounting period
230
-
229
+ Trigger ERP void invoice sync task
231
230
 
231
+ Trigger ERP void invoice sync task for the given invoice number
232
232
 
233
233
  ### Example
234
234
  ```ruby
@@ -248,7 +248,7 @@ invoice_number = 'invoice_number_example' # String |
248
248
 
249
249
 
250
250
  begin
251
- #API to trigger ERP journal entry deletion task for accounting period
251
+ #Trigger ERP void invoice sync task
252
252
  api_instance.sync_void_invoice_to_erp(invoice_number)
253
253
  rescue SubskribeDevClient::ApiError => e
254
254
  puts "Exception when calling ERPApi->sync_void_invoice_to_erp: #{e}"
data/docs/EntitiesApi.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # SubskribeDevClient::EntitiesApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**account_entity_migration**](EntitiesApi.md#account_entity_migration) | **POST** /entities/migrate/account | Move account to a target entity
8
+ [**composite_order_entity_migration**](EntitiesApi.md#composite_order_entity_migration) | **POST** /entities/migrate/compositeOrder | Move composite order to a target entity
7
9
  [**create**](EntitiesApi.md#create) | **POST** /entities | Create an entity
8
10
  [**delete_entity**](EntitiesApi.md#delete_entity) | **DELETE** /entities/{id} | Delete entity
9
11
  [**get_entities**](EntitiesApi.md#get_entities) | **GET** /entities | Gets entities
@@ -11,6 +13,119 @@ Method | HTTP request | Description
11
13
  [**get_logo**](EntitiesApi.md#get_logo) | **GET** /entities/logo/{entityId} | Get entity logo
12
14
  [**order_entity_migration**](EntitiesApi.md#order_entity_migration) | **POST** /entities/migrate/order | Update order entity
13
15
  [**subscription_entity_migration**](EntitiesApi.md#subscription_entity_migration) | **POST** /entities/migrate/subscription | Move subscription to a target entity
16
+ [**upload_logo**](EntitiesApi.md#upload_logo) | **PUT** /entities/logo/{entityId} | Update entity logo
17
+
18
+
19
+ # **account_entity_migration**
20
+ > account_entity_migration(opts)
21
+
22
+ Move account to a target entity
23
+
24
+ Move account along with its subscriptions, orders, invoices and other associated transactions to a target entity
25
+
26
+ ### Example
27
+ ```ruby
28
+ # load the gem
29
+ require 'subskribe_dev'
30
+ # setup authorization
31
+ SubskribeDevClient.configure do |config|
32
+ # Configure API key authorization: ApiKeyAuth
33
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
34
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
35
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
36
+ end
37
+
38
+ api_instance = SubskribeDevClient::EntitiesApi.new
39
+
40
+ opts = {
41
+ target_entity_id: 'target_entity_id_example', # String |
42
+ account_id: 'account_id_example' # String |
43
+ }
44
+
45
+ begin
46
+ #Move account to a target entity
47
+ api_instance.account_entity_migration(opts)
48
+ rescue SubskribeDevClient::ApiError => e
49
+ puts "Exception when calling EntitiesApi->account_entity_migration: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **target_entity_id** | **String**| | [optional]
58
+ **account_id** | **String**| | [optional]
59
+
60
+ ### Return type
61
+
62
+ nil (empty response body)
63
+
64
+ ### Authorization
65
+
66
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
67
+
68
+ ### HTTP request headers
69
+
70
+ - **Content-Type**: Not defined
71
+ - **Accept**: application/json
72
+
73
+
74
+
75
+ # **composite_order_entity_migration**
76
+ > composite_order_entity_migration(opts)
77
+
78
+ Move composite order to a target entity
79
+
80
+ Move composite order along with its subscriptions, orders and other associated transactions to a target entity
81
+
82
+ ### Example
83
+ ```ruby
84
+ # load the gem
85
+ require 'subskribe_dev'
86
+ # setup authorization
87
+ SubskribeDevClient.configure do |config|
88
+ # Configure API key authorization: ApiKeyAuth
89
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
90
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
91
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
92
+ end
93
+
94
+ api_instance = SubskribeDevClient::EntitiesApi.new
95
+
96
+ opts = {
97
+ target_entity_id: 'target_entity_id_example', # String |
98
+ composite_order_id: 'composite_order_id_example' # String |
99
+ }
100
+
101
+ begin
102
+ #Move composite order to a target entity
103
+ api_instance.composite_order_entity_migration(opts)
104
+ rescue SubskribeDevClient::ApiError => e
105
+ puts "Exception when calling EntitiesApi->composite_order_entity_migration: #{e}"
106
+ end
107
+ ```
108
+
109
+ ### Parameters
110
+
111
+ Name | Type | Description | Notes
112
+ ------------- | ------------- | ------------- | -------------
113
+ **target_entity_id** | **String**| | [optional]
114
+ **composite_order_id** | **String**| | [optional]
115
+
116
+ ### Return type
117
+
118
+ nil (empty response body)
119
+
120
+ ### Authorization
121
+
122
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
123
+
124
+ ### HTTP request headers
125
+
126
+ - **Content-Type**: Not defined
127
+ - **Accept**: application/json
128
+
14
129
 
15
130
 
16
131
  # **create**
@@ -387,3 +502,60 @@ nil (empty response body)
387
502
 
388
503
 
389
504
 
505
+ # **upload_logo**
506
+ > upload_logo(entity_id, opts)
507
+
508
+ Update entity logo
509
+
510
+ Updates the logo used in external facing communication such as order forms and invoices
511
+
512
+ ### Example
513
+ ```ruby
514
+ # load the gem
515
+ require 'subskribe_dev'
516
+ # setup authorization
517
+ SubskribeDevClient.configure do |config|
518
+ # Configure API key authorization: ApiKeyAuth
519
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
520
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
521
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
522
+ end
523
+
524
+ api_instance = SubskribeDevClient::EntitiesApi.new
525
+
526
+ entity_id = 'entity_id_example' # String |
527
+
528
+ opts = {
529
+ file: File.new('/path/to/file.txt') # File |
530
+ }
531
+
532
+ begin
533
+ #Update entity logo
534
+ api_instance.upload_logo(entity_id, opts)
535
+ rescue SubskribeDevClient::ApiError => e
536
+ puts "Exception when calling EntitiesApi->upload_logo: #{e}"
537
+ end
538
+ ```
539
+
540
+ ### Parameters
541
+
542
+ Name | Type | Description | Notes
543
+ ------------- | ------------- | ------------- | -------------
544
+ **entity_id** | **String**| |
545
+ **file** | **File**| | [optional]
546
+
547
+ ### Return type
548
+
549
+ nil (empty response body)
550
+
551
+ ### Authorization
552
+
553
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
554
+
555
+ ### HTTP request headers
556
+
557
+ - **Content-Type**: multipart/form-data
558
+ - **Accept**: application/json
559
+
560
+
561
+
data/docs/ImportApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::ImportApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::IntegrationsApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SubskribeDevClient::MetricsReportingApi
2
2
 
3
- All URIs are relative to *https://api.dev2.subskribe.net*
3
+ All URIs are relative to *https://api.app.subskribe.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------