orb-billing 1.48.0 → 1.50.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/orb/models/changed_subscription_resources.rb +21 -1
- data/lib/orb/models/customers/credit_fetch_balance_by_external_id_params.rb +31 -0
- data/lib/orb/models/customers/credit_fetch_balance_by_external_id_response.rb +61 -0
- data/lib/orb/models/customers/credit_fetch_balance_params.rb +31 -0
- data/lib/orb/models/customers/credit_fetch_balance_response.rb +60 -0
- data/lib/orb/models/invoice.rb +21 -1
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +21 -1
- data/lib/orb/models/invoice_issue_summary_response.rb +21 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +21 -1
- data/lib/orb/models/invoice_list_summary_response.rb +21 -1
- data/lib/orb/models/subscription_list_summary_params.rb +108 -0
- data/lib/orb/models/subscription_list_summary_response.rb +130 -0
- data/lib/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_edited_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_issued_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models.rb +2 -0
- data/lib/orb/resources/alerts.rb +7 -4
- data/lib/orb/resources/customers/credits.rb +76 -0
- data/lib/orb/resources/subscriptions.rb +60 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +6 -0
- data/rbi/orb/models/changed_subscription_resources.rbi +24 -0
- data/rbi/orb/models/customers/credit_fetch_balance_by_external_id_params.rbi +54 -0
- data/rbi/orb/models/customers/credit_fetch_balance_by_external_id_response.rbi +86 -0
- data/rbi/orb/models/customers/credit_fetch_balance_params.rbi +54 -0
- data/rbi/orb/models/customers/credit_fetch_balance_response.rbi +86 -0
- data/rbi/orb/models/invoice.rbi +24 -0
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +24 -0
- data/rbi/orb/models/invoice_issue_summary_response.rbi +24 -0
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +24 -0
- data/rbi/orb/models/invoice_list_summary_response.rbi +24 -0
- data/rbi/orb/models/subscription_list_summary_params.rbi +148 -0
- data/rbi/orb/models/subscription_list_summary_response.rbi +214 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_edited_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_issued_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models.rbi +2 -0
- data/rbi/orb/resources/alerts.rbi +7 -4
- data/rbi/orb/resources/customers/credits.rbi +60 -0
- data/rbi/orb/resources/subscriptions.rbi +47 -0
- data/sig/orb/models/changed_subscription_resources.rbs +10 -0
- data/sig/orb/models/customers/credit_fetch_balance_by_external_id_params.rbs +30 -0
- data/sig/orb/models/customers/credit_fetch_balance_by_external_id_response.rbs +42 -0
- data/sig/orb/models/customers/credit_fetch_balance_params.rbs +30 -0
- data/sig/orb/models/customers/credit_fetch_balance_response.rbs +42 -0
- data/sig/orb/models/invoice.rbs +10 -0
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +10 -0
- data/sig/orb/models/invoice_issue_summary_response.rbs +10 -0
- data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +10 -0
- data/sig/orb/models/invoice_list_summary_response.rbs +10 -0
- data/sig/orb/models/subscription_list_summary_params.rbs +90 -0
- data/sig/orb/models/subscription_list_summary_response.rbs +94 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_edited_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_issued_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models.rbs +2 -0
- data/sig/orb/resources/customers/credits.rbs +12 -0
- data/sig/orb/resources/subscriptions.rbs +15 -0
- metadata +19 -1
|
@@ -71,6 +71,8 @@ module Orb
|
|
|
71
71
|
payment_received_at: Time?,
|
|
72
72
|
payment_started_at: Time?,
|
|
73
73
|
scheduled_issue_at: Time?,
|
|
74
|
+
service_period_end: Time?,
|
|
75
|
+
service_period_start: Time?,
|
|
74
76
|
shipping_address: Orb::Address?,
|
|
75
77
|
status: Orb::Models::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice::status,
|
|
76
78
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -135,6 +137,10 @@ module Orb
|
|
|
135
137
|
|
|
136
138
|
attr_accessor scheduled_issue_at: Time?
|
|
137
139
|
|
|
140
|
+
attr_accessor service_period_end: Time?
|
|
141
|
+
|
|
142
|
+
attr_accessor service_period_start: Time?
|
|
143
|
+
|
|
138
144
|
attr_accessor shipping_address: Orb::Address?
|
|
139
145
|
|
|
140
146
|
attr_accessor status: Orb::Models::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice::status
|
|
@@ -177,6 +183,8 @@ module Orb
|
|
|
177
183
|
payment_received_at: Time?,
|
|
178
184
|
payment_started_at: Time?,
|
|
179
185
|
scheduled_issue_at: Time?,
|
|
186
|
+
service_period_end: Time?,
|
|
187
|
+
service_period_start: Time?,
|
|
180
188
|
shipping_address: Orb::Address?,
|
|
181
189
|
status: Orb::Models::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice::status,
|
|
182
190
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -214,6 +222,8 @@ module Orb
|
|
|
214
222
|
payment_received_at: Time?,
|
|
215
223
|
payment_started_at: Time?,
|
|
216
224
|
scheduled_issue_at: Time?,
|
|
225
|
+
service_period_end: Time?,
|
|
226
|
+
service_period_start: Time?,
|
|
217
227
|
shipping_address: Orb::Address?,
|
|
218
228
|
status: Orb::Models::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice::status,
|
|
219
229
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -71,6 +71,8 @@ module Orb
|
|
|
71
71
|
payment_received_at: Time?,
|
|
72
72
|
payment_started_at: Time?,
|
|
73
73
|
scheduled_issue_at: Time?,
|
|
74
|
+
service_period_end: Time?,
|
|
75
|
+
service_period_start: Time?,
|
|
74
76
|
shipping_address: Orb::Address?,
|
|
75
77
|
status: Orb::Models::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice::status,
|
|
76
78
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -135,6 +137,10 @@ module Orb
|
|
|
135
137
|
|
|
136
138
|
attr_accessor scheduled_issue_at: Time?
|
|
137
139
|
|
|
140
|
+
attr_accessor service_period_end: Time?
|
|
141
|
+
|
|
142
|
+
attr_accessor service_period_start: Time?
|
|
143
|
+
|
|
138
144
|
attr_accessor shipping_address: Orb::Address?
|
|
139
145
|
|
|
140
146
|
attr_accessor status: Orb::Models::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice::status
|
|
@@ -177,6 +183,8 @@ module Orb
|
|
|
177
183
|
payment_received_at: Time?,
|
|
178
184
|
payment_started_at: Time?,
|
|
179
185
|
scheduled_issue_at: Time?,
|
|
186
|
+
service_period_end: Time?,
|
|
187
|
+
service_period_start: Time?,
|
|
180
188
|
shipping_address: Orb::Address?,
|
|
181
189
|
status: Orb::Models::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice::status,
|
|
182
190
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -214,6 +222,8 @@ module Orb
|
|
|
214
222
|
payment_received_at: Time?,
|
|
215
223
|
payment_started_at: Time?,
|
|
216
224
|
scheduled_issue_at: Time?,
|
|
225
|
+
service_period_end: Time?,
|
|
226
|
+
service_period_start: Time?,
|
|
217
227
|
shipping_address: Orb::Address?,
|
|
218
228
|
status: Orb::Models::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice::status,
|
|
219
229
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -71,6 +71,8 @@ module Orb
|
|
|
71
71
|
payment_received_at: Time?,
|
|
72
72
|
payment_started_at: Time?,
|
|
73
73
|
scheduled_issue_at: Time?,
|
|
74
|
+
service_period_end: Time?,
|
|
75
|
+
service_period_start: Time?,
|
|
74
76
|
shipping_address: Orb::Address?,
|
|
75
77
|
status: Orb::Models::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent::Invoice::status,
|
|
76
78
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -135,6 +137,10 @@ module Orb
|
|
|
135
137
|
|
|
136
138
|
attr_accessor scheduled_issue_at: Time?
|
|
137
139
|
|
|
140
|
+
attr_accessor service_period_end: Time?
|
|
141
|
+
|
|
142
|
+
attr_accessor service_period_start: Time?
|
|
143
|
+
|
|
138
144
|
attr_accessor shipping_address: Orb::Address?
|
|
139
145
|
|
|
140
146
|
attr_accessor status: Orb::Models::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent::Invoice::status
|
|
@@ -177,6 +183,8 @@ module Orb
|
|
|
177
183
|
payment_received_at: Time?,
|
|
178
184
|
payment_started_at: Time?,
|
|
179
185
|
scheduled_issue_at: Time?,
|
|
186
|
+
service_period_end: Time?,
|
|
187
|
+
service_period_start: Time?,
|
|
180
188
|
shipping_address: Orb::Address?,
|
|
181
189
|
status: Orb::Models::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent::Invoice::status,
|
|
182
190
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -214,6 +222,8 @@ module Orb
|
|
|
214
222
|
payment_received_at: Time?,
|
|
215
223
|
payment_started_at: Time?,
|
|
216
224
|
scheduled_issue_at: Time?,
|
|
225
|
+
service_period_end: Time?,
|
|
226
|
+
service_period_start: Time?,
|
|
217
227
|
shipping_address: Orb::Address?,
|
|
218
228
|
status: Orb::Models::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent::Invoice::status,
|
|
219
229
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -153,6 +153,8 @@ module Orb
|
|
|
153
153
|
payment_received_at: Time?,
|
|
154
154
|
payment_started_at: Time?,
|
|
155
155
|
scheduled_issue_at: Time?,
|
|
156
|
+
service_period_end: Time?,
|
|
157
|
+
service_period_start: Time?,
|
|
156
158
|
shipping_address: Orb::Address?,
|
|
157
159
|
status: Orb::Models::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent::Invoice::status,
|
|
158
160
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -217,6 +219,10 @@ module Orb
|
|
|
217
219
|
|
|
218
220
|
attr_accessor scheduled_issue_at: Time?
|
|
219
221
|
|
|
222
|
+
attr_accessor service_period_end: Time?
|
|
223
|
+
|
|
224
|
+
attr_accessor service_period_start: Time?
|
|
225
|
+
|
|
220
226
|
attr_accessor shipping_address: Orb::Address?
|
|
221
227
|
|
|
222
228
|
attr_accessor status: Orb::Models::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent::Invoice::status
|
|
@@ -259,6 +265,8 @@ module Orb
|
|
|
259
265
|
payment_received_at: Time?,
|
|
260
266
|
payment_started_at: Time?,
|
|
261
267
|
scheduled_issue_at: Time?,
|
|
268
|
+
service_period_end: Time?,
|
|
269
|
+
service_period_start: Time?,
|
|
262
270
|
shipping_address: Orb::Address?,
|
|
263
271
|
status: Orb::Models::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent::Invoice::status,
|
|
264
272
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -296,6 +304,8 @@ module Orb
|
|
|
296
304
|
payment_received_at: Time?,
|
|
297
305
|
payment_started_at: Time?,
|
|
298
306
|
scheduled_issue_at: Time?,
|
|
307
|
+
service_period_end: Time?,
|
|
308
|
+
service_period_start: Time?,
|
|
299
309
|
shipping_address: Orb::Address?,
|
|
300
310
|
status: Orb::Models::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent::Invoice::status,
|
|
301
311
|
subscription: Orb::SubscriptionMinified?,
|
data/sig/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbs
CHANGED
|
@@ -153,6 +153,8 @@ module Orb
|
|
|
153
153
|
payment_received_at: Time?,
|
|
154
154
|
payment_started_at: Time?,
|
|
155
155
|
scheduled_issue_at: Time?,
|
|
156
|
+
service_period_end: Time?,
|
|
157
|
+
service_period_start: Time?,
|
|
156
158
|
shipping_address: Orb::Address?,
|
|
157
159
|
status: Orb::Models::Webhooks::SalesOrderAccountingSyncSucceededStandardWebhookEvent::Invoice::status,
|
|
158
160
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -217,6 +219,10 @@ module Orb
|
|
|
217
219
|
|
|
218
220
|
attr_accessor scheduled_issue_at: Time?
|
|
219
221
|
|
|
222
|
+
attr_accessor service_period_end: Time?
|
|
223
|
+
|
|
224
|
+
attr_accessor service_period_start: Time?
|
|
225
|
+
|
|
220
226
|
attr_accessor shipping_address: Orb::Address?
|
|
221
227
|
|
|
222
228
|
attr_accessor status: Orb::Models::Webhooks::SalesOrderAccountingSyncSucceededStandardWebhookEvent::Invoice::status
|
|
@@ -259,6 +265,8 @@ module Orb
|
|
|
259
265
|
payment_received_at: Time?,
|
|
260
266
|
payment_started_at: Time?,
|
|
261
267
|
scheduled_issue_at: Time?,
|
|
268
|
+
service_period_end: Time?,
|
|
269
|
+
service_period_start: Time?,
|
|
262
270
|
shipping_address: Orb::Address?,
|
|
263
271
|
status: Orb::Models::Webhooks::SalesOrderAccountingSyncSucceededStandardWebhookEvent::Invoice::status,
|
|
264
272
|
subscription: Orb::SubscriptionMinified?,
|
|
@@ -296,6 +304,8 @@ module Orb
|
|
|
296
304
|
payment_received_at: Time?,
|
|
297
305
|
payment_started_at: Time?,
|
|
298
306
|
scheduled_issue_at: Time?,
|
|
307
|
+
service_period_end: Time?,
|
|
308
|
+
service_period_start: Time?,
|
|
299
309
|
shipping_address: Orb::Address?,
|
|
300
310
|
status: Orb::Models::Webhooks::SalesOrderAccountingSyncSucceededStandardWebhookEvent::Invoice::status,
|
|
301
311
|
subscription: Orb::SubscriptionMinified?,
|
data/sig/orb/models.rbs
CHANGED
|
@@ -687,6 +687,8 @@ module Orb
|
|
|
687
687
|
|
|
688
688
|
class SubscriptionListParams = Orb::Models::SubscriptionListParams
|
|
689
689
|
|
|
690
|
+
class SubscriptionListSummaryParams = Orb::Models::SubscriptionListSummaryParams
|
|
691
|
+
|
|
690
692
|
class SubscriptionMinified = Orb::Models::SubscriptionMinified
|
|
691
693
|
|
|
692
694
|
class SubscriptionPlanChangedWebhookEvent = Orb::Models::SubscriptionPlanChangedWebhookEvent
|
|
@@ -19,6 +19,18 @@ module Orb
|
|
|
19
19
|
?request_options: Orb::request_opts
|
|
20
20
|
) -> Orb::Internal::Page[Orb::Models::Customers::CreditListResponse]
|
|
21
21
|
|
|
22
|
+
def fetch_balance: (
|
|
23
|
+
String customer_id,
|
|
24
|
+
?currency: String?,
|
|
25
|
+
?request_options: Orb::request_opts
|
|
26
|
+
) -> Orb::Models::Customers::CreditFetchBalanceResponse
|
|
27
|
+
|
|
28
|
+
def fetch_balance_by_external_id: (
|
|
29
|
+
String external_customer_id,
|
|
30
|
+
?currency: String?,
|
|
31
|
+
?request_options: Orb::request_opts
|
|
32
|
+
) -> Orb::Models::Customers::CreditFetchBalanceByExternalIDResponse
|
|
33
|
+
|
|
22
34
|
def list_by_external_id: (
|
|
23
35
|
String external_customer_id,
|
|
24
36
|
?currency: String?,
|
|
@@ -113,6 +113,21 @@ module Orb
|
|
|
113
113
|
?request_options: Orb::request_opts
|
|
114
114
|
) -> Orb::Models::subscription_usage
|
|
115
115
|
|
|
116
|
+
def list_summary: (
|
|
117
|
+
?created_at_gt: Time?,
|
|
118
|
+
?created_at_gte: Time?,
|
|
119
|
+
?created_at_lt: Time?,
|
|
120
|
+
?created_at_lte: Time?,
|
|
121
|
+
?cursor: String?,
|
|
122
|
+
?customer_id: String?,
|
|
123
|
+
?external_customer_id: String?,
|
|
124
|
+
?external_plan_id: String?,
|
|
125
|
+
?limit: Integer,
|
|
126
|
+
?plan_id: String?,
|
|
127
|
+
?status: Orb::Models::SubscriptionListSummaryParams::status?,
|
|
128
|
+
?request_options: Orb::request_opts
|
|
129
|
+
) -> Orb::Internal::Page[Orb::Models::SubscriptionListSummaryResponse]
|
|
130
|
+
|
|
116
131
|
def price_intervals: (
|
|
117
132
|
String subscription_id,
|
|
118
133
|
?add: ::Array[Orb::SubscriptionPriceIntervalsParams::Add],
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: orb-billing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.50.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Orb
|
|
@@ -168,6 +168,10 @@ files:
|
|
|
168
168
|
- lib/orb/models/customers/cost_list_by_external_id_response.rb
|
|
169
169
|
- lib/orb/models/customers/cost_list_params.rb
|
|
170
170
|
- lib/orb/models/customers/cost_list_response.rb
|
|
171
|
+
- lib/orb/models/customers/credit_fetch_balance_by_external_id_params.rb
|
|
172
|
+
- lib/orb/models/customers/credit_fetch_balance_by_external_id_response.rb
|
|
173
|
+
- lib/orb/models/customers/credit_fetch_balance_params.rb
|
|
174
|
+
- lib/orb/models/customers/credit_fetch_balance_response.rb
|
|
171
175
|
- lib/orb/models/customers/credit_list_by_external_id_params.rb
|
|
172
176
|
- lib/orb/models/customers/credit_list_by_external_id_response.rb
|
|
173
177
|
- lib/orb/models/customers/credit_list_params.rb
|
|
@@ -510,6 +514,8 @@ files:
|
|
|
510
514
|
- lib/orb/models/subscription_license_allocation_reset_webhook_event.rb
|
|
511
515
|
- lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb
|
|
512
516
|
- lib/orb/models/subscription_list_params.rb
|
|
517
|
+
- lib/orb/models/subscription_list_summary_params.rb
|
|
518
|
+
- lib/orb/models/subscription_list_summary_response.rb
|
|
513
519
|
- lib/orb/models/subscription_minified.rb
|
|
514
520
|
- lib/orb/models/subscription_plan_change_scheduled_webhook_event.rb
|
|
515
521
|
- lib/orb/models/subscription_plan_changed_webhook_event.rb
|
|
@@ -802,6 +808,10 @@ files:
|
|
|
802
808
|
- rbi/orb/models/customers/cost_list_by_external_id_response.rbi
|
|
803
809
|
- rbi/orb/models/customers/cost_list_params.rbi
|
|
804
810
|
- rbi/orb/models/customers/cost_list_response.rbi
|
|
811
|
+
- rbi/orb/models/customers/credit_fetch_balance_by_external_id_params.rbi
|
|
812
|
+
- rbi/orb/models/customers/credit_fetch_balance_by_external_id_response.rbi
|
|
813
|
+
- rbi/orb/models/customers/credit_fetch_balance_params.rbi
|
|
814
|
+
- rbi/orb/models/customers/credit_fetch_balance_response.rbi
|
|
805
815
|
- rbi/orb/models/customers/credit_list_by_external_id_params.rbi
|
|
806
816
|
- rbi/orb/models/customers/credit_list_by_external_id_response.rbi
|
|
807
817
|
- rbi/orb/models/customers/credit_list_params.rbi
|
|
@@ -1144,6 +1154,8 @@ files:
|
|
|
1144
1154
|
- rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi
|
|
1145
1155
|
- rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi
|
|
1146
1156
|
- rbi/orb/models/subscription_list_params.rbi
|
|
1157
|
+
- rbi/orb/models/subscription_list_summary_params.rbi
|
|
1158
|
+
- rbi/orb/models/subscription_list_summary_response.rbi
|
|
1147
1159
|
- rbi/orb/models/subscription_minified.rbi
|
|
1148
1160
|
- rbi/orb/models/subscription_plan_change_scheduled_webhook_event.rbi
|
|
1149
1161
|
- rbi/orb/models/subscription_plan_changed_webhook_event.rbi
|
|
@@ -1435,6 +1447,10 @@ files:
|
|
|
1435
1447
|
- sig/orb/models/customers/cost_list_by_external_id_response.rbs
|
|
1436
1448
|
- sig/orb/models/customers/cost_list_params.rbs
|
|
1437
1449
|
- sig/orb/models/customers/cost_list_response.rbs
|
|
1450
|
+
- sig/orb/models/customers/credit_fetch_balance_by_external_id_params.rbs
|
|
1451
|
+
- sig/orb/models/customers/credit_fetch_balance_by_external_id_response.rbs
|
|
1452
|
+
- sig/orb/models/customers/credit_fetch_balance_params.rbs
|
|
1453
|
+
- sig/orb/models/customers/credit_fetch_balance_response.rbs
|
|
1438
1454
|
- sig/orb/models/customers/credit_list_by_external_id_params.rbs
|
|
1439
1455
|
- sig/orb/models/customers/credit_list_by_external_id_response.rbs
|
|
1440
1456
|
- sig/orb/models/customers/credit_list_params.rbs
|
|
@@ -1777,6 +1793,8 @@ files:
|
|
|
1777
1793
|
- sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs
|
|
1778
1794
|
- sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs
|
|
1779
1795
|
- sig/orb/models/subscription_list_params.rbs
|
|
1796
|
+
- sig/orb/models/subscription_list_summary_params.rbs
|
|
1797
|
+
- sig/orb/models/subscription_list_summary_response.rbs
|
|
1780
1798
|
- sig/orb/models/subscription_minified.rbs
|
|
1781
1799
|
- sig/orb/models/subscription_plan_change_scheduled_webhook_event.rbs
|
|
1782
1800
|
- sig/orb/models/subscription_plan_changed_webhook_event.rbs
|