lago_ruby 0.49.0.pre.beta → 0.51.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +16 -6
- data/docs/CreditNoteCreateInputCreditNote.md +1 -1
- data/docs/CreditNoteEstimateInput.md +18 -0
- data/docs/CreditNoteEstimateInputCreditNote.md +20 -0
- data/docs/CreditNoteEstimateInputCreditNoteItemsInner.md +20 -0
- data/docs/CreditNoteEstimated.md +18 -0
- data/docs/CreditNoteEstimatedEstimatedCreditNote.md +38 -0
- data/docs/CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner.md +32 -0
- data/docs/CreditNoteEstimatedEstimatedCreditNoteItemsInner.md +20 -0
- data/docs/CreditNoteItemObjectFee.md +2 -0
- data/docs/CreditNoteObject.md +2 -2
- data/docs/CreditNotesApi.md +72 -0
- data/docs/EventsApi.md +7 -6
- data/docs/FeeObject.md +2 -0
- data/docs/FeeObjectItem.md +2 -0
- data/docs/PlanOverridesObject.md +32 -0
- data/docs/PlanOverridesObjectChargesInner.md +28 -0
- data/docs/Subscription.md +1 -1
- data/docs/SubscriptionCreateInputSubscription.md +3 -1
- data/docs/SubscriptionObjectExtended.md +52 -0
- data/docs/SubscriptionUpdateInputSubscription.md +3 -1
- data/lago_ruby.gemspec +1 -1
- data/lib/lago_ruby/api/add_ons_api.rb +1 -1
- data/lib/lago_ruby/api/billable_metrics_api.rb +1 -1
- data/lib/lago_ruby/api/coupons_api.rb +1 -1
- data/lib/lago_ruby/api/credit_notes_api.rb +65 -1
- data/lib/lago_ruby/api/customers_api.rb +1 -1
- data/lib/lago_ruby/api/events_api.rb +6 -6
- data/lib/lago_ruby/api/fees_api.rb +1 -1
- data/lib/lago_ruby/api/invoices_api.rb +1 -1
- data/lib/lago_ruby/api/organizations_api.rb +1 -1
- data/lib/lago_ruby/api/plans_api.rb +1 -1
- data/lib/lago_ruby/api/subscriptions_api.rb +1 -1
- data/lib/lago_ruby/api/taxes_api.rb +1 -1
- data/lib/lago_ruby/api/wallets_api.rb +1 -1
- data/lib/lago_ruby/api/webhook_endpoints_api.rb +1 -1
- data/lib/lago_ruby/api/webhooks_api.rb +1 -1
- data/lib/lago_ruby/api_client.rb +11 -12
- data/lib/lago_ruby/api_error.rb +1 -1
- data/lib/lago_ruby/configuration.rb +1 -1
- data/lib/lago_ruby/models/add_on.rb +2 -2
- data/lib/lago_ruby/models/add_on_base_input.rb +2 -2
- data/lib/lago_ruby/models/add_on_create_input.rb +2 -2
- data/lib/lago_ruby/models/add_on_create_input_add_on.rb +2 -2
- data/lib/lago_ruby/models/add_on_object.rb +2 -2
- data/lib/lago_ruby/models/add_on_update_input.rb +2 -2
- data/lib/lago_ruby/models/add_ons_paginated.rb +2 -2
- data/lib/lago_ruby/models/api_error_bad_request.rb +2 -2
- data/lib/lago_ruby/models/api_error_forbidden.rb +2 -2
- data/lib/lago_ruby/models/api_error_not_allowed.rb +2 -2
- data/lib/lago_ruby/models/api_error_not_found.rb +2 -2
- data/lib/lago_ruby/models/api_error_unauthorized.rb +2 -2
- data/lib/lago_ruby/models/api_error_unprocessable_entity.rb +2 -2
- data/lib/lago_ruby/models/applied_coupon.rb +2 -2
- data/lib/lago_ruby/models/applied_coupon_input.rb +2 -2
- data/lib/lago_ruby/models/applied_coupon_input_applied_coupon.rb +2 -2
- data/lib/lago_ruby/models/applied_coupon_object.rb +2 -2
- data/lib/lago_ruby/models/applied_coupon_object_extended.rb +2 -2
- data/lib/lago_ruby/models/applied_coupons_paginated.rb +2 -2
- data/lib/lago_ruby/models/base_applied_tax.rb +2 -2
- data/lib/lago_ruby/models/billable_metric.rb +2 -2
- data/lib/lago_ruby/models/billable_metric_base_input.rb +2 -2
- data/lib/lago_ruby/models/billable_metric_create_input.rb +2 -2
- data/lib/lago_ruby/models/billable_metric_create_input_billable_metric.rb +2 -2
- data/lib/lago_ruby/models/billable_metric_group.rb +2 -2
- data/lib/lago_ruby/models/billable_metric_group_values_inner.rb +1 -1
- data/lib/lago_ruby/models/billable_metric_group_values_inner_one_of.rb +2 -2
- data/lib/lago_ruby/models/billable_metric_object.rb +2 -2
- data/lib/lago_ruby/models/billable_metric_update_input.rb +2 -2
- data/lib/lago_ruby/models/billable_metrics_paginated.rb +2 -2
- data/lib/lago_ruby/models/charge_object.rb +2 -2
- data/lib/lago_ruby/models/charge_object_properties.rb +2 -2
- data/lib/lago_ruby/models/charge_properties.rb +2 -2
- data/lib/lago_ruby/models/charge_properties_graduated_percentage_ranges_inner.rb +2 -2
- data/lib/lago_ruby/models/charge_properties_graduated_ranges_inner.rb +2 -2
- data/lib/lago_ruby/models/charge_properties_volume_ranges_inner.rb +2 -2
- data/lib/lago_ruby/models/country.rb +1 -1
- data/lib/lago_ruby/models/coupon.rb +2 -2
- data/lib/lago_ruby/models/coupon_base_input.rb +2 -2
- data/lib/lago_ruby/models/coupon_base_input_applies_to.rb +2 -2
- data/lib/lago_ruby/models/coupon_create_input.rb +2 -2
- data/lib/lago_ruby/models/coupon_create_input_coupon.rb +2 -2
- data/lib/lago_ruby/models/coupon_object.rb +2 -2
- data/lib/lago_ruby/models/coupon_update_input.rb +2 -2
- data/lib/lago_ruby/models/coupons_paginated.rb +2 -2
- data/lib/lago_ruby/models/credit_note.rb +2 -2
- data/lib/lago_ruby/models/credit_note_applied_tax_object.rb +2 -2
- data/lib/lago_ruby/models/credit_note_create_input.rb +2 -2
- data/lib/lago_ruby/models/credit_note_create_input_credit_note.rb +3 -3
- data/lib/lago_ruby/models/credit_note_estimate_input.rb +221 -0
- data/lib/lago_ruby/models/credit_note_estimate_input_credit_note.rb +241 -0
- data/lib/lago_ruby/models/credit_note_estimate_input_credit_note_items_inner.rb +239 -0
- data/lib/lago_ruby/models/credit_note_estimated.rb +221 -0
- data/lib/lago_ruby/models/credit_note_estimated_estimated_credit_note.rb +387 -0
- data/lib/lago_ruby/models/credit_note_estimated_estimated_credit_note_applied_taxes_inner.rb +283 -0
- data/lib/lago_ruby/models/credit_note_estimated_estimated_credit_note_items_inner.rb +235 -0
- data/lib/lago_ruby/models/credit_note_item_object.rb +2 -2
- data/lib/lago_ruby/models/credit_note_item_object_fee.rb +20 -3
- data/lib/lago_ruby/models/credit_note_object.rb +13 -13
- data/lib/lago_ruby/models/credit_note_update_input.rb +2 -2
- data/lib/lago_ruby/models/credit_note_update_input_credit_note.rb +2 -2
- data/lib/lago_ruby/models/credit_notes.rb +2 -2
- data/lib/lago_ruby/models/credit_object.rb +2 -2
- data/lib/lago_ruby/models/credit_object_invoice.rb +2 -2
- data/lib/lago_ruby/models/credit_object_item.rb +2 -2
- data/lib/lago_ruby/models/currency.rb +1 -1
- data/lib/lago_ruby/models/customer.rb +2 -2
- data/lib/lago_ruby/models/customer_billing_configuration.rb +2 -2
- data/lib/lago_ruby/models/customer_charge_usage_object.rb +2 -2
- data/lib/lago_ruby/models/customer_charge_usage_object_billable_metric.rb +2 -2
- data/lib/lago_ruby/models/customer_charge_usage_object_charge.rb +2 -2
- data/lib/lago_ruby/models/customer_charge_usage_object_groups_inner.rb +2 -2
- data/lib/lago_ruby/models/customer_create_input.rb +2 -2
- data/lib/lago_ruby/models/customer_create_input_customer.rb +2 -2
- data/lib/lago_ruby/models/customer_create_input_customer_metadata_inner.rb +2 -2
- data/lib/lago_ruby/models/customer_metadata.rb +2 -2
- data/lib/lago_ruby/models/customer_object.rb +2 -2
- data/lib/lago_ruby/models/customer_object_extended.rb +2 -2
- data/lib/lago_ruby/models/customer_past_usage.rb +2 -2
- data/lib/lago_ruby/models/customer_usage.rb +2 -2
- data/lib/lago_ruby/models/customer_usage_object.rb +2 -2
- data/lib/lago_ruby/models/customers_paginated.rb +2 -2
- data/lib/lago_ruby/models/event.rb +2 -2
- data/lib/lago_ruby/models/event_batch_input.rb +2 -2
- data/lib/lago_ruby/models/event_batch_input_event.rb +2 -2
- data/lib/lago_ruby/models/event_batch_input_event_properties.rb +2 -2
- data/lib/lago_ruby/models/event_estimate_fees_input.rb +2 -2
- data/lib/lago_ruby/models/event_estimate_fees_input_event.rb +2 -2
- data/lib/lago_ruby/models/event_input.rb +2 -2
- data/lib/lago_ruby/models/event_input_event.rb +2 -2
- data/lib/lago_ruby/models/event_input_event_timestamp.rb +1 -1
- data/lib/lago_ruby/models/event_object.rb +6 -22
- data/lib/lago_ruby/models/event_object_properties.rb +2 -2
- data/lib/lago_ruby/models/fee.rb +2 -2
- data/lib/lago_ruby/models/fee_applied_tax_object.rb +2 -2
- data/lib/lago_ruby/models/fee_object.rb +20 -3
- data/lib/lago_ruby/models/fee_object_item.rb +13 -3
- data/lib/lago_ruby/models/fee_update_input.rb +2 -2
- data/lib/lago_ruby/models/fee_update_input_fee.rb +2 -2
- data/lib/lago_ruby/models/fees.rb +2 -2
- data/lib/lago_ruby/models/fees_paginated.rb +2 -2
- data/lib/lago_ruby/models/get_customer_portal_url200_response.rb +2 -2
- data/lib/lago_ruby/models/get_customer_portal_url200_response_customer.rb +2 -2
- data/lib/lago_ruby/models/group_object.rb +2 -2
- data/lib/lago_ruby/models/group_properties_object.rb +2 -2
- data/lib/lago_ruby/models/group_properties_object_values.rb +2 -2
- data/lib/lago_ruby/models/groups_paginated.rb +2 -2
- data/lib/lago_ruby/models/invoice.rb +2 -2
- data/lib/lago_ruby/models/invoice_applied_tax_object.rb +2 -2
- data/lib/lago_ruby/models/invoice_metadata_object.rb +2 -2
- data/lib/lago_ruby/models/invoice_object.rb +2 -2
- data/lib/lago_ruby/models/invoice_object_customer.rb +2 -2
- data/lib/lago_ruby/models/invoice_object_extended.rb +2 -2
- data/lib/lago_ruby/models/invoice_one_off_create_input.rb +2 -2
- data/lib/lago_ruby/models/invoice_one_off_create_input_invoice.rb +2 -2
- data/lib/lago_ruby/models/invoice_one_off_create_input_invoice_fees_inner.rb +2 -2
- data/lib/lago_ruby/models/invoice_update_input.rb +2 -2
- data/lib/lago_ruby/models/invoice_update_input_invoice.rb +2 -2
- data/lib/lago_ruby/models/invoice_update_input_invoice_metadata_inner.rb +2 -2
- data/lib/lago_ruby/models/invoices_paginated.rb +2 -2
- data/lib/lago_ruby/models/organization.rb +2 -2
- data/lib/lago_ruby/models/organization_billing_configuration.rb +2 -2
- data/lib/lago_ruby/models/organization_object.rb +2 -2
- data/lib/lago_ruby/models/organization_update_input.rb +2 -2
- data/lib/lago_ruby/models/organization_update_input_organization.rb +2 -2
- data/lib/lago_ruby/models/pagination_meta.rb +2 -2
- data/lib/lago_ruby/models/plan.rb +2 -2
- data/lib/lago_ruby/models/plan_create_input.rb +2 -2
- data/lib/lago_ruby/models/plan_create_input_plan.rb +2 -2
- data/lib/lago_ruby/models/plan_create_input_plan_charges_inner.rb +2 -2
- data/lib/lago_ruby/models/plan_create_input_plan_charges_inner_group_properties_inner.rb +2 -2
- data/lib/lago_ruby/models/plan_object.rb +2 -2
- data/lib/lago_ruby/models/plan_overrides_object.rb +289 -0
- data/lib/lago_ruby/models/plan_overrides_object_charges_inner.rb +268 -0
- data/lib/lago_ruby/models/plan_update_input.rb +2 -2
- data/lib/lago_ruby/models/plan_update_input_plan.rb +2 -2
- data/lib/lago_ruby/models/plan_update_input_plan_charges_inner.rb +2 -2
- data/lib/lago_ruby/models/plans_paginated.rb +2 -2
- data/lib/lago_ruby/models/subscription.rb +3 -3
- data/lib/lago_ruby/models/subscription_create_input.rb +2 -2
- data/lib/lago_ruby/models/subscription_create_input_subscription.rb +15 -6
- data/lib/lago_ruby/models/subscription_object.rb +2 -2
- data/lib/lago_ruby/models/subscription_object_extended.rb +507 -0
- data/lib/lago_ruby/models/subscription_update_input.rb +2 -2
- data/lib/lago_ruby/models/subscription_update_input_subscription.rb +15 -6
- data/lib/lago_ruby/models/subscriptions_paginated.rb +2 -2
- data/lib/lago_ruby/models/tax.rb +2 -2
- data/lib/lago_ruby/models/tax_base_input.rb +2 -2
- data/lib/lago_ruby/models/tax_create_input.rb +2 -2
- data/lib/lago_ruby/models/tax_create_input_tax.rb +2 -2
- data/lib/lago_ruby/models/tax_object.rb +2 -2
- data/lib/lago_ruby/models/tax_update_input.rb +2 -2
- data/lib/lago_ruby/models/taxes_paginated.rb +2 -2
- data/lib/lago_ruby/models/timezone.rb +1 -1
- data/lib/lago_ruby/models/wallet.rb +2 -2
- data/lib/lago_ruby/models/wallet_create_input.rb +2 -2
- data/lib/lago_ruby/models/wallet_create_input_wallet.rb +2 -2
- data/lib/lago_ruby/models/wallet_object.rb +2 -2
- data/lib/lago_ruby/models/wallet_transaction_create_input.rb +2 -2
- data/lib/lago_ruby/models/wallet_transaction_create_input_wallet_transaction.rb +2 -2
- data/lib/lago_ruby/models/wallet_transaction_object.rb +2 -2
- data/lib/lago_ruby/models/wallet_transactions.rb +2 -2
- data/lib/lago_ruby/models/wallet_transactions_paginated.rb +2 -2
- data/lib/lago_ruby/models/wallet_update_input.rb +2 -2
- data/lib/lago_ruby/models/wallet_update_input_wallet.rb +2 -2
- data/lib/lago_ruby/models/wallets_paginated.rb +2 -2
- data/lib/lago_ruby/models/webhook_endpoint.rb +2 -2
- data/lib/lago_ruby/models/webhook_endpoint_create_input.rb +2 -2
- data/lib/lago_ruby/models/webhook_endpoint_create_input_webhook_endpoint.rb +2 -2
- data/lib/lago_ruby/models/webhook_endpoint_object.rb +2 -2
- data/lib/lago_ruby/models/webhook_endpoint_update_input.rb +2 -2
- data/lib/lago_ruby/models/webhook_endpoints_paginated.rb +2 -2
- data/lib/lago_ruby/version.rb +2 -2
- data/lib/lago_ruby.rb +11 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/{credit_note_create_input_credit_note_items_inner_spec.rb → credit_note_estimate_input_credit_note_items_inner_spec.rb} +10 -8
- data/spec/models/credit_note_estimate_input_credit_note_spec.rb +42 -0
- data/spec/models/credit_note_estimate_input_spec.rb +36 -0
- data/spec/models/credit_note_estimated_estimated_credit_note_applied_taxes_inner_spec.rb +78 -0
- data/spec/models/credit_note_estimated_estimated_credit_note_items_inner_spec.rb +42 -0
- data/spec/models/credit_note_estimated_estimated_credit_note_spec.rb +96 -0
- data/spec/models/credit_note_estimated_spec.rb +36 -0
- data/spec/models/plan_overrides_object_charges_inner_spec.rb +66 -0
- data/spec/models/plan_overrides_object_spec.rb +78 -0
- data/spec/models/subscription_object_extended_spec.rb +146 -0
- data/spec/spec_helper.rb +1 -1
- metadata +197 -159
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lago_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.51.0.pre.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lago
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -125,6 +125,13 @@ files:
|
|
125
125
|
- docs/CreditNoteCreateInput.md
|
126
126
|
- docs/CreditNoteCreateInputCreditNote.md
|
127
127
|
- docs/CreditNoteCreateInputCreditNoteItemsInner.md
|
128
|
+
- docs/CreditNoteEstimateInput.md
|
129
|
+
- docs/CreditNoteEstimateInputCreditNote.md
|
130
|
+
- docs/CreditNoteEstimateInputCreditNoteItemsInner.md
|
131
|
+
- docs/CreditNoteEstimated.md
|
132
|
+
- docs/CreditNoteEstimatedEstimatedCreditNote.md
|
133
|
+
- docs/CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner.md
|
134
|
+
- docs/CreditNoteEstimatedEstimatedCreditNoteItemsInner.md
|
128
135
|
- docs/CreditNoteItemObject.md
|
129
136
|
- docs/CreditNoteItemObjectFee.md
|
130
137
|
- docs/CreditNoteObject.md
|
@@ -209,6 +216,8 @@ files:
|
|
209
216
|
- docs/PlanCreateInputPlanChargesInner.md
|
210
217
|
- docs/PlanCreateInputPlanChargesInnerGroupPropertiesInner.md
|
211
218
|
- docs/PlanObject.md
|
219
|
+
- docs/PlanOverridesObject.md
|
220
|
+
- docs/PlanOverridesObjectChargesInner.md
|
212
221
|
- docs/PlanUpdateInput.md
|
213
222
|
- docs/PlanUpdateInputPlan.md
|
214
223
|
- docs/PlanUpdateInputPlanChargesInner.md
|
@@ -218,6 +227,7 @@ files:
|
|
218
227
|
- docs/SubscriptionCreateInput.md
|
219
228
|
- docs/SubscriptionCreateInputSubscription.md
|
220
229
|
- docs/SubscriptionObject.md
|
230
|
+
- docs/SubscriptionObjectExtended.md
|
221
231
|
- docs/SubscriptionUpdateInput.md
|
222
232
|
- docs/SubscriptionUpdateInputSubscription.md
|
223
233
|
- docs/SubscriptionsApi.md
|
@@ -331,6 +341,13 @@ files:
|
|
331
341
|
- lib/lago_ruby/models/credit_note_create_input.rb
|
332
342
|
- lib/lago_ruby/models/credit_note_create_input_credit_note.rb
|
333
343
|
- lib/lago_ruby/models/credit_note_create_input_credit_note_items_inner.rb
|
344
|
+
- lib/lago_ruby/models/credit_note_estimate_input.rb
|
345
|
+
- lib/lago_ruby/models/credit_note_estimate_input_credit_note.rb
|
346
|
+
- lib/lago_ruby/models/credit_note_estimate_input_credit_note_items_inner.rb
|
347
|
+
- lib/lago_ruby/models/credit_note_estimated.rb
|
348
|
+
- lib/lago_ruby/models/credit_note_estimated_estimated_credit_note.rb
|
349
|
+
- lib/lago_ruby/models/credit_note_estimated_estimated_credit_note_applied_taxes_inner.rb
|
350
|
+
- lib/lago_ruby/models/credit_note_estimated_estimated_credit_note_items_inner.rb
|
334
351
|
- lib/lago_ruby/models/credit_note_item_object.rb
|
335
352
|
- lib/lago_ruby/models/credit_note_item_object_fee.rb
|
336
353
|
- lib/lago_ruby/models/credit_note_object.rb
|
@@ -408,6 +425,8 @@ files:
|
|
408
425
|
- lib/lago_ruby/models/plan_create_input_plan_charges_inner.rb
|
409
426
|
- lib/lago_ruby/models/plan_create_input_plan_charges_inner_group_properties_inner.rb
|
410
427
|
- lib/lago_ruby/models/plan_object.rb
|
428
|
+
- lib/lago_ruby/models/plan_overrides_object.rb
|
429
|
+
- lib/lago_ruby/models/plan_overrides_object_charges_inner.rb
|
411
430
|
- lib/lago_ruby/models/plan_update_input.rb
|
412
431
|
- lib/lago_ruby/models/plan_update_input_plan.rb
|
413
432
|
- lib/lago_ruby/models/plan_update_input_plan_charges_inner.rb
|
@@ -416,6 +435,7 @@ files:
|
|
416
435
|
- lib/lago_ruby/models/subscription_create_input.rb
|
417
436
|
- lib/lago_ruby/models/subscription_create_input_subscription.rb
|
418
437
|
- lib/lago_ruby/models/subscription_object.rb
|
438
|
+
- lib/lago_ruby/models/subscription_object_extended.rb
|
419
439
|
- lib/lago_ruby/models/subscription_update_input.rb
|
420
440
|
- lib/lago_ruby/models/subscription_update_input_subscription.rb
|
421
441
|
- lib/lago_ruby/models/subscriptions_paginated.rb
|
@@ -509,9 +529,15 @@ files:
|
|
509
529
|
- spec/models/coupon_update_input_spec.rb
|
510
530
|
- spec/models/coupons_paginated_spec.rb
|
511
531
|
- spec/models/credit_note_applied_tax_object_spec.rb
|
512
|
-
- spec/models/credit_note_create_input_credit_note_items_inner_spec.rb
|
513
532
|
- spec/models/credit_note_create_input_credit_note_spec.rb
|
514
533
|
- spec/models/credit_note_create_input_spec.rb
|
534
|
+
- spec/models/credit_note_estimate_input_credit_note_items_inner_spec.rb
|
535
|
+
- spec/models/credit_note_estimate_input_credit_note_spec.rb
|
536
|
+
- spec/models/credit_note_estimate_input_spec.rb
|
537
|
+
- spec/models/credit_note_estimated_estimated_credit_note_applied_taxes_inner_spec.rb
|
538
|
+
- spec/models/credit_note_estimated_estimated_credit_note_items_inner_spec.rb
|
539
|
+
- spec/models/credit_note_estimated_estimated_credit_note_spec.rb
|
540
|
+
- spec/models/credit_note_estimated_spec.rb
|
515
541
|
- spec/models/credit_note_item_object_fee_spec.rb
|
516
542
|
- spec/models/credit_note_item_object_spec.rb
|
517
543
|
- spec/models/credit_note_object_spec.rb
|
@@ -588,6 +614,8 @@ files:
|
|
588
614
|
- spec/models/plan_create_input_plan_spec.rb
|
589
615
|
- spec/models/plan_create_input_spec.rb
|
590
616
|
- spec/models/plan_object_spec.rb
|
617
|
+
- spec/models/plan_overrides_object_charges_inner_spec.rb
|
618
|
+
- spec/models/plan_overrides_object_spec.rb
|
591
619
|
- spec/models/plan_spec.rb
|
592
620
|
- spec/models/plan_update_input_plan_charges_inner_spec.rb
|
593
621
|
- spec/models/plan_update_input_plan_spec.rb
|
@@ -595,6 +623,7 @@ files:
|
|
595
623
|
- spec/models/plans_paginated_spec.rb
|
596
624
|
- spec/models/subscription_create_input_spec.rb
|
597
625
|
- spec/models/subscription_create_input_subscription_spec.rb
|
626
|
+
- spec/models/subscription_object_extended_spec.rb
|
598
627
|
- spec/models/subscription_object_spec.rb
|
599
628
|
- spec/models/subscription_spec.rb
|
600
629
|
- spec/models/subscription_update_input_spec.rb
|
@@ -654,184 +683,193 @@ signing_key:
|
|
654
683
|
specification_version: 4
|
655
684
|
summary: Ruby wrapper for the Lago API
|
656
685
|
test_files:
|
657
|
-
- spec/api/wallets_api_spec.rb
|
658
|
-
- spec/api/invoices_api_spec.rb
|
659
|
-
- spec/api/fees_api_spec.rb
|
660
|
-
- spec/api/subscriptions_api_spec.rb
|
661
|
-
- spec/api/webhook_endpoints_api_spec.rb
|
662
686
|
- spec/api/events_api_spec.rb
|
663
|
-
- spec/api/
|
664
|
-
- spec/api/
|
665
|
-
- spec/api/billable_metrics_api_spec.rb
|
666
|
-
- spec/api/coupons_api_spec.rb
|
667
|
-
- spec/api/credit_notes_api_spec.rb
|
687
|
+
- spec/api/subscriptions_api_spec.rb
|
688
|
+
- spec/api/fees_api_spec.rb
|
668
689
|
- spec/api/add_ons_api_spec.rb
|
669
|
-
- spec/api/
|
690
|
+
- spec/api/invoices_api_spec.rb
|
670
691
|
- spec/api/plans_api_spec.rb
|
692
|
+
- spec/api/credit_notes_api_spec.rb
|
693
|
+
- spec/api/customers_api_spec.rb
|
694
|
+
- spec/api/coupons_api_spec.rb
|
695
|
+
- spec/api/billable_metrics_api_spec.rb
|
696
|
+
- spec/api/wallets_api_spec.rb
|
671
697
|
- spec/api/webhooks_api_spec.rb
|
698
|
+
- spec/api/taxes_api_spec.rb
|
699
|
+
- spec/api/webhook_endpoints_api_spec.rb
|
700
|
+
- spec/api/organizations_api_spec.rb
|
672
701
|
- spec/api_client_spec.rb
|
673
702
|
- spec/configuration_spec.rb
|
674
|
-
- spec/models/
|
675
|
-
- spec/models/
|
676
|
-
- spec/models/
|
677
|
-
- spec/models/
|
678
|
-
- spec/models/
|
679
|
-
- spec/models/
|
680
|
-
- spec/models/
|
681
|
-
- spec/models/
|
703
|
+
- spec/models/organization_update_input_organization_spec.rb
|
704
|
+
- spec/models/add_on_create_input_add_on_spec.rb
|
705
|
+
- spec/models/billable_metric_object_spec.rb
|
706
|
+
- spec/models/tax_base_input_spec.rb
|
707
|
+
- spec/models/coupon_spec.rb
|
708
|
+
- spec/models/charge_properties_graduated_ranges_inner_spec.rb
|
709
|
+
- spec/models/event_batch_input_event_spec.rb
|
710
|
+
- spec/models/event_input_event_spec.rb
|
711
|
+
- spec/models/customer_metadata_spec.rb
|
712
|
+
- spec/models/billable_metric_group_values_inner_one_of_spec.rb
|
713
|
+
- spec/models/invoice_one_off_create_input_spec.rb
|
714
|
+
- spec/models/event_input_event_timestamp_spec.rb
|
715
|
+
- spec/models/credit_note_update_input_credit_note_spec.rb
|
682
716
|
- spec/models/coupon_update_input_spec.rb
|
683
|
-
- spec/models/
|
684
|
-
- spec/models/
|
685
|
-
- spec/models/
|
686
|
-
- spec/models/
|
687
|
-
- spec/models/event_estimate_fees_input_event_spec.rb
|
688
|
-
- spec/models/invoice_spec.rb
|
689
|
-
- spec/models/billable_metric_create_input_spec.rb
|
690
|
-
- spec/models/webhook_endpoint_create_input_spec.rb
|
691
|
-
- spec/models/credit_note_create_input_credit_note_spec.rb
|
692
|
-
- spec/models/billable_metric_spec.rb
|
693
|
-
- spec/models/invoice_applied_tax_object_spec.rb
|
694
|
-
- spec/models/customer_billing_configuration_spec.rb
|
717
|
+
- spec/models/webhook_endpoint_spec.rb
|
718
|
+
- spec/models/customer_charge_usage_object_spec.rb
|
719
|
+
- spec/models/fee_object_spec.rb
|
720
|
+
- spec/models/tax_create_input_tax_spec.rb
|
695
721
|
- spec/models/invoice_object_extended_spec.rb
|
696
|
-
- spec/models/
|
697
|
-
- spec/models/
|
698
|
-
- spec/models/
|
699
|
-
- spec/models/
|
700
|
-
- spec/models/
|
722
|
+
- spec/models/tax_object_spec.rb
|
723
|
+
- spec/models/add_on_create_input_spec.rb
|
724
|
+
- spec/models/credit_note_spec.rb
|
725
|
+
- spec/models/organization_spec.rb
|
726
|
+
- spec/models/api_error_not_allowed_spec.rb
|
727
|
+
- spec/models/plan_update_input_plan_spec.rb
|
728
|
+
- spec/models/invoice_update_input_spec.rb
|
729
|
+
- spec/models/webhook_endpoint_create_input_webhook_endpoint_spec.rb
|
730
|
+
- spec/models/charge_properties_volume_ranges_inner_spec.rb
|
731
|
+
- spec/models/event_object_spec.rb
|
732
|
+
- spec/models/wallet_object_spec.rb
|
733
|
+
- spec/models/plan_overrides_object_spec.rb
|
734
|
+
- spec/models/wallet_update_input_spec.rb
|
735
|
+
- spec/models/customer_create_input_customer_metadata_inner_spec.rb
|
736
|
+
- spec/models/invoices_paginated_spec.rb
|
737
|
+
- spec/models/customer_past_usage_spec.rb
|
738
|
+
- spec/models/billable_metrics_paginated_spec.rb
|
739
|
+
- spec/models/tax_update_input_spec.rb
|
740
|
+
- spec/models/customer_usage_object_spec.rb
|
741
|
+
- spec/models/billable_metric_base_input_spec.rb
|
742
|
+
- spec/models/groups_paginated_spec.rb
|
701
743
|
- spec/models/add_ons_paginated_spec.rb
|
702
|
-
- spec/models/
|
703
|
-
- spec/models/
|
704
|
-
- spec/models/tax_create_input_tax_spec.rb
|
705
|
-
- spec/models/plan_create_input_plan_charges_inner_spec.rb
|
706
|
-
- spec/models/api_error_unauthorized_spec.rb
|
707
|
-
- spec/models/event_input_event_timestamp_spec.rb
|
708
|
-
- spec/models/customer_create_input_spec.rb
|
709
|
-
- spec/models/billable_metric_update_input_spec.rb
|
710
|
-
- spec/models/currency_spec.rb
|
711
|
-
- spec/models/coupon_create_input_coupon_spec.rb
|
712
|
-
- spec/models/wallet_transaction_object_spec.rb
|
744
|
+
- spec/models/invoice_one_off_create_input_invoice_spec.rb
|
745
|
+
- spec/models/credit_note_estimate_input_spec.rb
|
713
746
|
- spec/models/add_on_object_spec.rb
|
714
|
-
- spec/models/group_properties_object_values_spec.rb
|
715
|
-
- spec/models/wallet_transaction_create_input_wallet_transaction_spec.rb
|
716
|
-
- spec/models/fees_paginated_spec.rb
|
717
|
-
- spec/models/billable_metric_base_input_spec.rb
|
718
|
-
- spec/models/tax_update_input_spec.rb
|
719
|
-
- spec/models/tax_spec.rb
|
720
|
-
- spec/models/subscription_spec.rb
|
721
|
-
- spec/models/invoice_one_off_create_input_spec.rb
|
722
747
|
- spec/models/customer_object_spec.rb
|
723
|
-
- spec/models/applied_coupon_spec.rb
|
724
|
-
- spec/models/invoice_one_off_create_input_invoice_fees_inner_spec.rb
|
725
|
-
- spec/models/country_spec.rb
|
726
|
-
- spec/models/api_error_unprocessable_entity_spec.rb
|
727
|
-
- spec/models/credit_note_create_input_spec.rb
|
728
|
-
- spec/models/customer_create_input_customer_metadata_inner_spec.rb
|
729
|
-
- spec/models/wallet_update_input_spec.rb
|
730
|
-
- spec/models/wallet_transaction_create_input_spec.rb
|
731
|
-
- spec/models/api_error_not_found_spec.rb
|
732
|
-
- spec/models/coupon_spec.rb
|
733
748
|
- spec/models/coupons_paginated_spec.rb
|
734
|
-
- spec/models/
|
735
|
-
- spec/models/
|
736
|
-
- spec/models/
|
737
|
-
- spec/models/
|
738
|
-
- spec/models/
|
739
|
-
- spec/models/
|
740
|
-
- spec/models/add_on_update_input_spec.rb
|
741
|
-
- spec/models/group_object_spec.rb
|
742
|
-
- spec/models/charge_properties_graduated_percentage_ranges_inner_spec.rb
|
743
|
-
- spec/models/billable_metrics_paginated_spec.rb
|
744
|
-
- spec/models/wallet_object_spec.rb
|
745
|
-
- spec/models/subscription_create_input_subscription_spec.rb
|
746
|
-
- spec/models/customer_charge_usage_object_charge_spec.rb
|
749
|
+
- spec/models/billable_metric_create_input_billable_metric_spec.rb
|
750
|
+
- spec/models/credit_object_item_spec.rb
|
751
|
+
- spec/models/organization_object_spec.rb
|
752
|
+
- spec/models/applied_coupons_paginated_spec.rb
|
753
|
+
- spec/models/applied_coupon_input_spec.rb
|
754
|
+
- spec/models/currency_spec.rb
|
747
755
|
- spec/models/charge_properties_spec.rb
|
748
|
-
- spec/models/
|
749
|
-
- spec/models/
|
750
|
-
- spec/models/
|
751
|
-
- spec/models/
|
752
|
-
- spec/models/charge_properties_volume_ranges_inner_spec.rb
|
753
|
-
- spec/models/groups_paginated_spec.rb
|
756
|
+
- spec/models/api_error_unauthorized_spec.rb
|
757
|
+
- spec/models/plan_update_input_plan_charges_inner_spec.rb
|
758
|
+
- spec/models/invoice_metadata_object_spec.rb
|
759
|
+
- spec/models/subscription_object_extended_spec.rb
|
754
760
|
- spec/models/webhook_endpoint_object_spec.rb
|
755
|
-
- spec/models/
|
756
|
-
- spec/models/
|
757
|
-
- spec/models/
|
758
|
-
- spec/models/organization_update_input_spec.rb
|
759
|
-
- spec/models/subscription_create_input_spec.rb
|
760
|
-
- spec/models/customer_charge_usage_object_groups_inner_spec.rb
|
761
|
-
- spec/models/organization_spec.rb
|
762
|
-
- spec/models/applied_coupon_input_spec.rb
|
763
|
-
- spec/models/pagination_meta_spec.rb
|
764
|
-
- spec/models/credit_notes_spec.rb
|
765
|
-
- spec/models/event_object_spec.rb
|
766
|
-
- spec/models/plan_update_input_plan_spec.rb
|
767
|
-
- spec/models/invoice_one_off_create_input_invoice_spec.rb
|
768
|
-
- spec/models/invoice_update_input_invoice_metadata_inner_spec.rb
|
769
|
-
- spec/models/applied_coupon_object_extended_spec.rb
|
770
|
-
- spec/models/customer_usage_object_spec.rb
|
771
|
-
- spec/models/add_on_base_input_spec.rb
|
761
|
+
- spec/models/tax_spec.rb
|
762
|
+
- spec/models/billable_metric_create_input_spec.rb
|
763
|
+
- spec/models/credit_note_estimate_input_credit_note_spec.rb
|
772
764
|
- spec/models/event_input_spec.rb
|
773
|
-
- spec/models/
|
774
|
-
- spec/models/
|
775
|
-
- spec/models/
|
776
|
-
- spec/models/billable_metric_object_spec.rb
|
777
|
-
- spec/models/credit_note_object_spec.rb
|
778
|
-
- spec/models/wallet_transactions_paginated_spec.rb
|
779
|
-
- spec/models/coupon_object_spec.rb
|
780
|
-
- spec/models/billable_metric_create_input_billable_metric_spec.rb
|
781
|
-
- spec/models/invoice_object_spec.rb
|
782
|
-
- spec/models/wallet_transactions_spec.rb
|
783
|
-
- spec/models/subscription_update_input_spec.rb
|
784
|
-
- spec/models/wallet_create_input_wallet_spec.rb
|
785
|
-
- spec/models/add_on_spec.rb
|
786
|
-
- spec/models/event_batch_input_event_spec.rb
|
765
|
+
- spec/models/invoice_update_input_invoice_spec.rb
|
766
|
+
- spec/models/customer_usage_spec.rb
|
767
|
+
- spec/models/invoice_spec.rb
|
787
768
|
- spec/models/customer_charge_usage_object_billable_metric_spec.rb
|
788
|
-
- spec/models/credit_note_update_input_credit_note_spec.rb
|
789
|
-
- spec/models/organization_billing_configuration_spec.rb
|
790
|
-
- spec/models/customer_charge_usage_object_spec.rb
|
791
|
-
- spec/models/credit_note_update_input_spec.rb
|
792
|
-
- spec/models/wallets_paginated_spec.rb
|
793
|
-
- spec/models/tax_create_input_spec.rb
|
794
769
|
- spec/models/credit_note_applied_tax_object_spec.rb
|
795
|
-
- spec/models/
|
796
|
-
- spec/models/
|
797
|
-
- spec/models/
|
798
|
-
- spec/models/
|
799
|
-
- spec/models/
|
800
|
-
- spec/models/
|
801
|
-
- spec/models/
|
770
|
+
- spec/models/event_batch_input_event_properties_spec.rb
|
771
|
+
- spec/models/subscription_update_input_subscription_spec.rb
|
772
|
+
- spec/models/event_spec.rb
|
773
|
+
- spec/models/event_object_properties_spec.rb
|
774
|
+
- spec/models/charge_object_properties_spec.rb
|
775
|
+
- spec/models/pagination_meta_spec.rb
|
776
|
+
- spec/models/fees_spec.rb
|
777
|
+
- spec/models/subscription_spec.rb
|
778
|
+
- spec/models/billable_metric_update_input_spec.rb
|
779
|
+
- spec/models/plan_spec.rb
|
780
|
+
- spec/models/api_error_not_found_spec.rb
|
781
|
+
- spec/models/credit_note_create_input_credit_note_spec.rb
|
782
|
+
- spec/models/credit_note_item_object_fee_spec.rb
|
802
783
|
- spec/models/applied_coupon_object_spec.rb
|
803
|
-
- spec/models/
|
804
|
-
- spec/models/
|
805
|
-
- spec/models/customer_past_usage_spec.rb
|
806
|
-
- spec/models/api_error_bad_request_spec.rb
|
784
|
+
- spec/models/fee_object_item_spec.rb
|
785
|
+
- spec/models/tax_create_input_spec.rb
|
807
786
|
- spec/models/taxes_paginated_spec.rb
|
808
|
-
- spec/models/
|
809
|
-
- spec/models/
|
810
|
-
- spec/models/
|
787
|
+
- spec/models/credit_note_estimated_estimated_credit_note_items_inner_spec.rb
|
788
|
+
- spec/models/fee_spec.rb
|
789
|
+
- spec/models/customer_charge_usage_object_charge_spec.rb
|
790
|
+
- spec/models/invoice_applied_tax_object_spec.rb
|
791
|
+
- spec/models/webhook_endpoints_paginated_spec.rb
|
792
|
+
- spec/models/credit_object_spec.rb
|
793
|
+
- spec/models/customer_billing_configuration_spec.rb
|
794
|
+
- spec/models/customer_object_extended_spec.rb
|
795
|
+
- spec/models/subscription_object_spec.rb
|
796
|
+
- spec/models/plan_create_input_plan_charges_inner_group_properties_inner_spec.rb
|
797
|
+
- spec/models/coupon_create_input_coupon_spec.rb
|
798
|
+
- spec/models/wallets_paginated_spec.rb
|
799
|
+
- spec/models/billable_metric_group_values_inner_spec.rb
|
800
|
+
- spec/models/subscription_update_input_spec.rb
|
801
|
+
- spec/models/group_object_spec.rb
|
811
802
|
- spec/models/wallet_spec.rb
|
812
|
-
- spec/models/
|
803
|
+
- spec/models/add_on_update_input_spec.rb
|
804
|
+
- spec/models/invoice_update_input_invoice_metadata_inner_spec.rb
|
805
|
+
- spec/models/billable_metric_spec.rb
|
806
|
+
- spec/models/customer_charge_usage_object_groups_inner_spec.rb
|
807
|
+
- spec/models/invoice_object_customer_spec.rb
|
808
|
+
- spec/models/credit_notes_spec.rb
|
809
|
+
- spec/models/fee_update_input_spec.rb
|
810
|
+
- spec/models/organization_update_input_spec.rb
|
811
|
+
- spec/models/plan_create_input_plan_charges_inner_spec.rb
|
812
|
+
- spec/models/base_applied_tax_spec.rb
|
813
|
+
- spec/models/event_estimate_fees_input_event_spec.rb
|
814
|
+
- spec/models/credit_object_invoice_spec.rb
|
813
815
|
- spec/models/subscriptions_paginated_spec.rb
|
814
|
-
- spec/models/
|
815
|
-
- spec/models/
|
816
|
-
- spec/models/
|
817
|
-
- spec/models/
|
818
|
-
- spec/models/
|
819
|
-
- spec/models/
|
816
|
+
- spec/models/api_error_forbidden_spec.rb
|
817
|
+
- spec/models/fee_update_input_fee_spec.rb
|
818
|
+
- spec/models/invoice_object_spec.rb
|
819
|
+
- spec/models/get_customer_portal_url200_response_customer_spec.rb
|
820
|
+
- spec/models/customers_paginated_spec.rb
|
821
|
+
- spec/models/credit_note_object_spec.rb
|
820
822
|
- spec/models/customer_spec.rb
|
821
|
-
- spec/models/
|
822
|
-
- spec/models/credit_note_item_object_fee_spec.rb
|
823
|
-
- spec/models/webhook_endpoint_create_input_webhook_endpoint_spec.rb
|
824
|
-
- spec/models/get_customer_portal_url200_response_spec.rb
|
825
|
-
- spec/models/credit_object_spec.rb
|
826
|
-
- spec/models/timezone_spec.rb
|
827
|
-
- spec/models/credit_note_spec.rb
|
828
|
-
- spec/models/event_object_properties_spec.rb
|
829
|
-
- spec/models/coupon_create_input_spec.rb
|
823
|
+
- spec/models/wallet_transactions_paginated_spec.rb
|
830
824
|
- spec/models/event_batch_input_spec.rb
|
831
|
-
- spec/models/
|
832
|
-
- spec/models/
|
833
|
-
- spec/models/
|
834
|
-
- spec/models/
|
825
|
+
- spec/models/wallet_transaction_create_input_spec.rb
|
826
|
+
- spec/models/credit_note_create_input_spec.rb
|
827
|
+
- spec/models/coupon_create_input_spec.rb
|
828
|
+
- spec/models/api_error_unprocessable_entity_spec.rb
|
829
|
+
- spec/models/subscription_create_input_subscription_spec.rb
|
830
|
+
- spec/models/credit_note_item_object_spec.rb
|
831
|
+
- spec/models/fees_paginated_spec.rb
|
832
|
+
- spec/models/plan_update_input_spec.rb
|
833
|
+
- spec/models/applied_coupon_spec.rb
|
834
|
+
- spec/models/plan_object_spec.rb
|
835
|
+
- spec/models/webhook_endpoint_update_input_spec.rb
|
836
|
+
- spec/models/fee_applied_tax_object_spec.rb
|
837
|
+
- spec/models/wallet_transaction_create_input_wallet_transaction_spec.rb
|
838
|
+
- spec/models/coupon_base_input_spec.rb
|
839
|
+
- spec/models/charge_properties_graduated_percentage_ranges_inner_spec.rb
|
840
|
+
- spec/models/wallet_create_input_wallet_spec.rb
|
841
|
+
- spec/models/credit_note_estimate_input_credit_note_items_inner_spec.rb
|
842
|
+
- spec/models/wallet_transactions_spec.rb
|
843
|
+
- spec/models/add_on_base_input_spec.rb
|
844
|
+
- spec/models/billable_metric_group_spec.rb
|
845
|
+
- spec/models/coupon_base_input_applies_to_spec.rb
|
835
846
|
- spec/models/event_estimate_fees_input_spec.rb
|
836
|
-
- spec/models/
|
847
|
+
- spec/models/timezone_spec.rb
|
848
|
+
- spec/models/plan_overrides_object_charges_inner_spec.rb
|
849
|
+
- spec/models/charge_object_spec.rb
|
850
|
+
- spec/models/country_spec.rb
|
851
|
+
- spec/models/wallet_update_input_wallet_spec.rb
|
852
|
+
- spec/models/subscription_create_input_spec.rb
|
853
|
+
- spec/models/wallet_create_input_spec.rb
|
854
|
+
- spec/models/coupon_object_spec.rb
|
855
|
+
- spec/models/applied_coupon_input_applied_coupon_spec.rb
|
856
|
+
- spec/models/wallet_transaction_object_spec.rb
|
857
|
+
- spec/models/applied_coupon_object_extended_spec.rb
|
858
|
+
- spec/models/plans_paginated_spec.rb
|
859
|
+
- spec/models/plan_create_input_plan_spec.rb
|
860
|
+
- spec/models/plan_create_input_spec.rb
|
861
|
+
- spec/models/add_on_spec.rb
|
862
|
+
- spec/models/get_customer_portal_url200_response_spec.rb
|
863
|
+
- spec/models/credit_note_estimated_estimated_credit_note_spec.rb
|
864
|
+
- spec/models/customer_create_input_spec.rb
|
865
|
+
- spec/models/credit_note_update_input_spec.rb
|
866
|
+
- spec/models/invoice_one_off_create_input_invoice_fees_inner_spec.rb
|
867
|
+
- spec/models/webhook_endpoint_create_input_spec.rb
|
868
|
+
- spec/models/group_properties_object_spec.rb
|
869
|
+
- spec/models/credit_note_estimated_spec.rb
|
870
|
+
- spec/models/api_error_bad_request_spec.rb
|
871
|
+
- spec/models/group_properties_object_values_spec.rb
|
872
|
+
- spec/models/organization_billing_configuration_spec.rb
|
873
|
+
- spec/models/credit_note_estimated_estimated_credit_note_applied_taxes_inner_spec.rb
|
874
|
+
- spec/models/customer_create_input_customer_spec.rb
|
837
875
|
- spec/spec_helper.rb
|