lago_ruby 0.51.0.pre.beta → 0.52.0.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -4
  3. data/docs/AddOnCreateInputAddOn.md +1 -1
  4. data/docs/AnalyticsApi.md +299 -0
  5. data/docs/CreditNoteItemObjectFee.md +4 -4
  6. data/docs/CustomerChargeUsageObjectCharge.md +3 -1
  7. data/docs/CustomersApi.md +70 -0
  8. data/docs/FeeObject.md +4 -4
  9. data/docs/GenerateCustomerCheckoutURL200Response.md +24 -0
  10. data/docs/GrossRevenueObject.md +22 -0
  11. data/docs/GrossRevenues.md +18 -0
  12. data/docs/InvoicedUsageObject.md +24 -0
  13. data/docs/InvoicedUsages.md +18 -0
  14. data/docs/MrrObject.md +22 -0
  15. data/docs/Mrrs.md +18 -0
  16. data/docs/OrganizationObject.md +2 -0
  17. data/docs/OrganizationUpdateInputOrganization.md +2 -0
  18. data/docs/OutstandingInvoiceObject.md +26 -0
  19. data/docs/OutstandingInvoices.md +18 -0
  20. data/docs/PlanOverridesObjectChargesInner.md +2 -0
  21. data/lago_ruby.gemspec +1 -1
  22. data/lib/lago_ruby/api/add_ons_api.rb +1 -1
  23. data/lib/lago_ruby/api/analytics_api.rb +268 -0
  24. data/lib/lago_ruby/api/billable_metrics_api.rb +1 -1
  25. data/lib/lago_ruby/api/coupons_api.rb +1 -1
  26. data/lib/lago_ruby/api/credit_notes_api.rb +1 -1
  27. data/lib/lago_ruby/api/customers_api.rb +64 -1
  28. data/lib/lago_ruby/api/events_api.rb +1 -1
  29. data/lib/lago_ruby/api/fees_api.rb +1 -1
  30. data/lib/lago_ruby/api/invoices_api.rb +1 -1
  31. data/lib/lago_ruby/api/organizations_api.rb +1 -1
  32. data/lib/lago_ruby/api/plans_api.rb +1 -1
  33. data/lib/lago_ruby/api/subscriptions_api.rb +1 -1
  34. data/lib/lago_ruby/api/taxes_api.rb +1 -1
  35. data/lib/lago_ruby/api/wallets_api.rb +1 -1
  36. data/lib/lago_ruby/api/webhook_endpoints_api.rb +1 -1
  37. data/lib/lago_ruby/api/webhooks_api.rb +1 -1
  38. data/lib/lago_ruby/api_client.rb +1 -1
  39. data/lib/lago_ruby/api_error.rb +1 -1
  40. data/lib/lago_ruby/configuration.rb +1 -1
  41. data/lib/lago_ruby/models/add_on.rb +1 -1
  42. data/lib/lago_ruby/models/add_on_base_input.rb +1 -1
  43. data/lib/lago_ruby/models/add_on_create_input.rb +1 -1
  44. data/lib/lago_ruby/models/add_on_create_input_add_on.rb +1 -1
  45. data/lib/lago_ruby/models/add_on_object.rb +1 -1
  46. data/lib/lago_ruby/models/add_on_update_input.rb +1 -1
  47. data/lib/lago_ruby/models/add_ons_paginated.rb +1 -1
  48. data/lib/lago_ruby/models/api_error_bad_request.rb +1 -1
  49. data/lib/lago_ruby/models/api_error_forbidden.rb +1 -1
  50. data/lib/lago_ruby/models/api_error_not_allowed.rb +1 -1
  51. data/lib/lago_ruby/models/api_error_not_found.rb +1 -1
  52. data/lib/lago_ruby/models/api_error_unauthorized.rb +1 -1
  53. data/lib/lago_ruby/models/api_error_unprocessable_entity.rb +1 -1
  54. data/lib/lago_ruby/models/applied_coupon.rb +1 -1
  55. data/lib/lago_ruby/models/applied_coupon_input.rb +1 -1
  56. data/lib/lago_ruby/models/applied_coupon_input_applied_coupon.rb +1 -1
  57. data/lib/lago_ruby/models/applied_coupon_object.rb +1 -1
  58. data/lib/lago_ruby/models/applied_coupon_object_extended.rb +1 -1
  59. data/lib/lago_ruby/models/applied_coupons_paginated.rb +1 -1
  60. data/lib/lago_ruby/models/base_applied_tax.rb +1 -1
  61. data/lib/lago_ruby/models/billable_metric.rb +1 -1
  62. data/lib/lago_ruby/models/billable_metric_base_input.rb +1 -1
  63. data/lib/lago_ruby/models/billable_metric_create_input.rb +1 -1
  64. data/lib/lago_ruby/models/billable_metric_create_input_billable_metric.rb +1 -1
  65. data/lib/lago_ruby/models/billable_metric_group.rb +1 -1
  66. data/lib/lago_ruby/models/billable_metric_group_values_inner.rb +1 -1
  67. data/lib/lago_ruby/models/billable_metric_group_values_inner_one_of.rb +1 -1
  68. data/lib/lago_ruby/models/billable_metric_object.rb +1 -1
  69. data/lib/lago_ruby/models/billable_metric_update_input.rb +1 -1
  70. data/lib/lago_ruby/models/billable_metrics_paginated.rb +1 -1
  71. data/lib/lago_ruby/models/charge_object.rb +1 -1
  72. data/lib/lago_ruby/models/charge_object_properties.rb +1 -1
  73. data/lib/lago_ruby/models/charge_properties.rb +1 -1
  74. data/lib/lago_ruby/models/charge_properties_graduated_percentage_ranges_inner.rb +1 -1
  75. data/lib/lago_ruby/models/charge_properties_graduated_ranges_inner.rb +1 -1
  76. data/lib/lago_ruby/models/charge_properties_volume_ranges_inner.rb +1 -1
  77. data/lib/lago_ruby/models/country.rb +1 -1
  78. data/lib/lago_ruby/models/coupon.rb +1 -1
  79. data/lib/lago_ruby/models/coupon_base_input.rb +1 -1
  80. data/lib/lago_ruby/models/coupon_base_input_applies_to.rb +1 -1
  81. data/lib/lago_ruby/models/coupon_create_input.rb +1 -1
  82. data/lib/lago_ruby/models/coupon_create_input_coupon.rb +1 -1
  83. data/lib/lago_ruby/models/coupon_object.rb +1 -1
  84. data/lib/lago_ruby/models/coupon_update_input.rb +1 -1
  85. data/lib/lago_ruby/models/coupons_paginated.rb +1 -1
  86. data/lib/lago_ruby/models/credit_note.rb +1 -1
  87. data/lib/lago_ruby/models/credit_note_applied_tax_object.rb +1 -1
  88. data/lib/lago_ruby/models/credit_note_create_input.rb +1 -1
  89. data/lib/lago_ruby/models/credit_note_create_input_credit_note.rb +1 -1
  90. data/lib/lago_ruby/models/credit_note_estimate_input.rb +1 -1
  91. data/lib/lago_ruby/models/credit_note_estimate_input_credit_note.rb +1 -1
  92. data/lib/lago_ruby/models/credit_note_estimate_input_credit_note_items_inner.rb +1 -1
  93. data/lib/lago_ruby/models/credit_note_estimated.rb +1 -1
  94. data/lib/lago_ruby/models/credit_note_estimated_estimated_credit_note.rb +1 -1
  95. data/lib/lago_ruby/models/credit_note_estimated_estimated_credit_note_applied_taxes_inner.rb +1 -1
  96. data/lib/lago_ruby/models/credit_note_estimated_estimated_credit_note_items_inner.rb +1 -1
  97. data/lib/lago_ruby/models/credit_note_item_object.rb +1 -1
  98. data/lib/lago_ruby/models/credit_note_item_object_fee.rb +5 -5
  99. data/lib/lago_ruby/models/credit_note_object.rb +1 -1
  100. data/lib/lago_ruby/models/credit_note_update_input.rb +1 -1
  101. data/lib/lago_ruby/models/credit_note_update_input_credit_note.rb +1 -1
  102. data/lib/lago_ruby/models/credit_notes.rb +1 -1
  103. data/lib/lago_ruby/models/credit_object.rb +1 -1
  104. data/lib/lago_ruby/models/credit_object_invoice.rb +1 -1
  105. data/lib/lago_ruby/models/credit_object_item.rb +1 -1
  106. data/lib/lago_ruby/models/currency.rb +1 -1
  107. data/lib/lago_ruby/models/customer.rb +1 -1
  108. data/lib/lago_ruby/models/customer_billing_configuration.rb +1 -1
  109. data/lib/lago_ruby/models/customer_charge_usage_object.rb +1 -1
  110. data/lib/lago_ruby/models/customer_charge_usage_object_billable_metric.rb +1 -1
  111. data/lib/lago_ruby/models/customer_charge_usage_object_charge.rb +15 -5
  112. data/lib/lago_ruby/models/customer_charge_usage_object_groups_inner.rb +1 -1
  113. data/lib/lago_ruby/models/customer_create_input.rb +1 -1
  114. data/lib/lago_ruby/models/customer_create_input_customer.rb +1 -1
  115. data/lib/lago_ruby/models/customer_create_input_customer_metadata_inner.rb +1 -1
  116. data/lib/lago_ruby/models/customer_metadata.rb +1 -1
  117. data/lib/lago_ruby/models/customer_object.rb +1 -1
  118. data/lib/lago_ruby/models/customer_object_extended.rb +1 -1
  119. data/lib/lago_ruby/models/customer_past_usage.rb +1 -1
  120. data/lib/lago_ruby/models/customer_usage.rb +1 -1
  121. data/lib/lago_ruby/models/customer_usage_object.rb +1 -1
  122. data/lib/lago_ruby/models/customers_paginated.rb +1 -1
  123. data/lib/lago_ruby/models/event.rb +1 -1
  124. data/lib/lago_ruby/models/event_batch_input.rb +1 -1
  125. data/lib/lago_ruby/models/event_batch_input_event.rb +1 -1
  126. data/lib/lago_ruby/models/event_batch_input_event_properties.rb +1 -1
  127. data/lib/lago_ruby/models/event_estimate_fees_input.rb +1 -1
  128. data/lib/lago_ruby/models/event_estimate_fees_input_event.rb +1 -1
  129. data/lib/lago_ruby/models/event_input.rb +1 -1
  130. data/lib/lago_ruby/models/event_input_event.rb +1 -1
  131. data/lib/lago_ruby/models/event_input_event_timestamp.rb +1 -1
  132. data/lib/lago_ruby/models/event_object.rb +1 -1
  133. data/lib/lago_ruby/models/event_object_properties.rb +1 -1
  134. data/lib/lago_ruby/models/fee.rb +1 -1
  135. data/lib/lago_ruby/models/fee_applied_tax_object.rb +1 -1
  136. data/lib/lago_ruby/models/fee_object.rb +5 -5
  137. data/lib/lago_ruby/models/fee_object_item.rb +1 -1
  138. data/lib/lago_ruby/models/fee_update_input.rb +1 -1
  139. data/lib/lago_ruby/models/fee_update_input_fee.rb +1 -1
  140. data/lib/lago_ruby/models/fees.rb +1 -1
  141. data/lib/lago_ruby/models/fees_paginated.rb +1 -1
  142. data/lib/lago_ruby/models/generate_customer_checkout_url200_response.rb +246 -0
  143. data/lib/lago_ruby/models/get_customer_portal_url200_response.rb +1 -1
  144. data/lib/lago_ruby/models/get_customer_portal_url200_response_customer.rb +1 -1
  145. data/lib/lago_ruby/models/gross_revenue_object.rb +241 -0
  146. data/lib/lago_ruby/models/gross_revenues.rb +223 -0
  147. data/lib/lago_ruby/models/group_object.rb +1 -1
  148. data/lib/lago_ruby/models/group_properties_object.rb +1 -1
  149. data/lib/lago_ruby/models/group_properties_object_values.rb +1 -1
  150. data/lib/lago_ruby/models/groups_paginated.rb +1 -1
  151. data/lib/lago_ruby/models/invoice.rb +1 -1
  152. data/lib/lago_ruby/models/invoice_applied_tax_object.rb +1 -1
  153. data/lib/lago_ruby/models/invoice_metadata_object.rb +1 -1
  154. data/lib/lago_ruby/models/invoice_object.rb +1 -1
  155. data/lib/lago_ruby/models/invoice_object_customer.rb +1 -1
  156. data/lib/lago_ruby/models/invoice_object_extended.rb +1 -1
  157. data/lib/lago_ruby/models/invoice_one_off_create_input.rb +1 -1
  158. data/lib/lago_ruby/models/invoice_one_off_create_input_invoice.rb +1 -1
  159. data/lib/lago_ruby/models/invoice_one_off_create_input_invoice_fees_inner.rb +1 -1
  160. data/lib/lago_ruby/models/invoice_update_input.rb +1 -1
  161. data/lib/lago_ruby/models/invoice_update_input_invoice.rb +1 -1
  162. data/lib/lago_ruby/models/invoice_update_input_invoice_metadata_inner.rb +1 -1
  163. data/lib/lago_ruby/models/invoiced_usage_object.rb +265 -0
  164. data/lib/lago_ruby/models/invoiced_usages.rb +223 -0
  165. data/lib/lago_ruby/models/invoices_paginated.rb +1 -1
  166. data/lib/lago_ruby/models/mrr_object.rb +241 -0
  167. data/lib/lago_ruby/models/mrrs.rb +223 -0
  168. data/lib/lago_ruby/models/organization.rb +1 -1
  169. data/lib/lago_ruby/models/organization_billing_configuration.rb +1 -1
  170. data/lib/lago_ruby/models/organization_object.rb +11 -2
  171. data/lib/lago_ruby/models/organization_update_input.rb +1 -1
  172. data/lib/lago_ruby/models/organization_update_input_organization.rb +11 -2
  173. data/lib/lago_ruby/models/outstanding_invoice_object.rb +309 -0
  174. data/lib/lago_ruby/models/outstanding_invoices.rb +223 -0
  175. data/lib/lago_ruby/models/pagination_meta.rb +1 -1
  176. data/lib/lago_ruby/models/plan.rb +1 -1
  177. data/lib/lago_ruby/models/plan_create_input.rb +1 -1
  178. data/lib/lago_ruby/models/plan_create_input_plan.rb +1 -1
  179. data/lib/lago_ruby/models/plan_create_input_plan_charges_inner.rb +1 -1
  180. data/lib/lago_ruby/models/plan_create_input_plan_charges_inner_group_properties_inner.rb +1 -1
  181. data/lib/lago_ruby/models/plan_object.rb +1 -1
  182. data/lib/lago_ruby/models/plan_overrides_object.rb +1 -1
  183. data/lib/lago_ruby/models/plan_overrides_object_charges_inner.rb +12 -2
  184. data/lib/lago_ruby/models/plan_update_input.rb +1 -1
  185. data/lib/lago_ruby/models/plan_update_input_plan.rb +1 -1
  186. data/lib/lago_ruby/models/plan_update_input_plan_charges_inner.rb +1 -1
  187. data/lib/lago_ruby/models/plans_paginated.rb +1 -1
  188. data/lib/lago_ruby/models/subscription.rb +1 -1
  189. data/lib/lago_ruby/models/subscription_create_input.rb +1 -1
  190. data/lib/lago_ruby/models/subscription_create_input_subscription.rb +1 -1
  191. data/lib/lago_ruby/models/subscription_object.rb +1 -1
  192. data/lib/lago_ruby/models/subscription_object_extended.rb +1 -1
  193. data/lib/lago_ruby/models/subscription_update_input.rb +1 -1
  194. data/lib/lago_ruby/models/subscription_update_input_subscription.rb +1 -1
  195. data/lib/lago_ruby/models/subscriptions_paginated.rb +1 -1
  196. data/lib/lago_ruby/models/tax.rb +1 -1
  197. data/lib/lago_ruby/models/tax_base_input.rb +1 -1
  198. data/lib/lago_ruby/models/tax_create_input.rb +1 -1
  199. data/lib/lago_ruby/models/tax_create_input_tax.rb +1 -1
  200. data/lib/lago_ruby/models/tax_object.rb +1 -1
  201. data/lib/lago_ruby/models/tax_update_input.rb +1 -1
  202. data/lib/lago_ruby/models/taxes_paginated.rb +1 -1
  203. data/lib/lago_ruby/models/timezone.rb +1 -1
  204. data/lib/lago_ruby/models/wallet.rb +1 -1
  205. data/lib/lago_ruby/models/wallet_create_input.rb +1 -1
  206. data/lib/lago_ruby/models/wallet_create_input_wallet.rb +1 -1
  207. data/lib/lago_ruby/models/wallet_object.rb +1 -1
  208. data/lib/lago_ruby/models/wallet_transaction_create_input.rb +1 -1
  209. data/lib/lago_ruby/models/wallet_transaction_create_input_wallet_transaction.rb +1 -1
  210. data/lib/lago_ruby/models/wallet_transaction_object.rb +1 -1
  211. data/lib/lago_ruby/models/wallet_transactions.rb +1 -1
  212. data/lib/lago_ruby/models/wallet_transactions_paginated.rb +1 -1
  213. data/lib/lago_ruby/models/wallet_update_input.rb +1 -1
  214. data/lib/lago_ruby/models/wallet_update_input_wallet.rb +1 -1
  215. data/lib/lago_ruby/models/wallets_paginated.rb +1 -1
  216. data/lib/lago_ruby/models/webhook_endpoint.rb +1 -1
  217. data/lib/lago_ruby/models/webhook_endpoint_create_input.rb +1 -1
  218. data/lib/lago_ruby/models/webhook_endpoint_create_input_webhook_endpoint.rb +1 -1
  219. data/lib/lago_ruby/models/webhook_endpoint_object.rb +1 -1
  220. data/lib/lago_ruby/models/webhook_endpoint_update_input.rb +1 -1
  221. data/lib/lago_ruby/models/webhook_endpoints_paginated.rb +1 -1
  222. data/lib/lago_ruby/version.rb +2 -2
  223. data/lib/lago_ruby.rb +11 -1
  224. data/spec/api/analytics_api_spec.rb +85 -0
  225. data/spec/api_client_spec.rb +1 -1
  226. data/spec/configuration_spec.rb +1 -1
  227. data/spec/models/generate_customer_checkout_url200_response_spec.rb +54 -0
  228. data/spec/models/gross_revenue_object_spec.rb +48 -0
  229. data/spec/models/gross_revenues_spec.rb +36 -0
  230. data/spec/models/invoiced_usage_object_spec.rb +54 -0
  231. data/spec/models/invoiced_usages_spec.rb +36 -0
  232. data/spec/models/mrr_object_spec.rb +48 -0
  233. data/spec/models/mrrs_spec.rb +36 -0
  234. data/spec/models/outstanding_invoice_object_spec.rb +64 -0
  235. data/spec/models/outstanding_invoices_spec.rb +36 -0
  236. data/spec/spec_helper.rb +1 -1
  237. metadata +204 -164
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.51.0.pre.beta
4
+ version: 0.52.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-06 00:00:00.000000000 Z
11
+ date: 2023-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -72,6 +72,7 @@ files:
72
72
  - docs/AddOnUpdateInput.md
73
73
  - docs/AddOnsApi.md
74
74
  - docs/AddOnsPaginated.md
75
+ - docs/AnalyticsApi.md
75
76
  - docs/ApiErrorBadRequest.md
76
77
  - docs/ApiErrorForbidden.md
77
78
  - docs/ApiErrorNotAllowed.md
@@ -183,8 +184,11 @@ files:
183
184
  - docs/FeesApi.md
184
185
  - docs/FeesPaginated.md
185
186
  - docs/FindAllWebhookEndpoints200Response.md
187
+ - docs/GenerateCustomerCheckoutURL200Response.md
186
188
  - docs/GetCustomerPortalUrl200Response.md
187
189
  - docs/GetCustomerPortalUrl200ResponseCustomer.md
190
+ - docs/GrossRevenueObject.md
191
+ - docs/GrossRevenues.md
188
192
  - docs/GroupObject.md
189
193
  - docs/GroupPropertiesObject.md
190
194
  - docs/GroupPropertiesObjectValues.md
@@ -201,14 +205,20 @@ files:
201
205
  - docs/InvoiceUpdateInput.md
202
206
  - docs/InvoiceUpdateInputInvoice.md
203
207
  - docs/InvoiceUpdateInputInvoiceMetadataInner.md
208
+ - docs/InvoicedUsageObject.md
209
+ - docs/InvoicedUsages.md
204
210
  - docs/InvoicesApi.md
205
211
  - docs/InvoicesPaginated.md
212
+ - docs/MrrObject.md
213
+ - docs/Mrrs.md
206
214
  - docs/Organization.md
207
215
  - docs/OrganizationBillingConfiguration.md
208
216
  - docs/OrganizationObject.md
209
217
  - docs/OrganizationUpdateInput.md
210
218
  - docs/OrganizationUpdateInputOrganization.md
211
219
  - docs/OrganizationsApi.md
220
+ - docs/OutstandingInvoiceObject.md
221
+ - docs/OutstandingInvoices.md
212
222
  - docs/PaginationMeta.md
213
223
  - docs/Plan.md
214
224
  - docs/PlanCreateInput.md
@@ -266,6 +276,7 @@ files:
266
276
  - lago_ruby.gemspec
267
277
  - lib/lago_ruby.rb
268
278
  - lib/lago_ruby/api/add_ons_api.rb
279
+ - lib/lago_ruby/api/analytics_api.rb
269
280
  - lib/lago_ruby/api/billable_metrics_api.rb
270
281
  - lib/lago_ruby/api/coupons_api.rb
271
282
  - lib/lago_ruby/api/credit_notes_api.rb
@@ -394,8 +405,11 @@ files:
394
405
  - lib/lago_ruby/models/fees.rb
395
406
  - lib/lago_ruby/models/fees_paginated.rb
396
407
  - lib/lago_ruby/models/find_all_webhook_endpoints200_response.rb
408
+ - lib/lago_ruby/models/generate_customer_checkout_url200_response.rb
397
409
  - lib/lago_ruby/models/get_customer_portal_url200_response.rb
398
410
  - lib/lago_ruby/models/get_customer_portal_url200_response_customer.rb
411
+ - lib/lago_ruby/models/gross_revenue_object.rb
412
+ - lib/lago_ruby/models/gross_revenues.rb
399
413
  - lib/lago_ruby/models/group_object.rb
400
414
  - lib/lago_ruby/models/group_properties_object.rb
401
415
  - lib/lago_ruby/models/group_properties_object_values.rb
@@ -412,12 +426,18 @@ files:
412
426
  - lib/lago_ruby/models/invoice_update_input.rb
413
427
  - lib/lago_ruby/models/invoice_update_input_invoice.rb
414
428
  - lib/lago_ruby/models/invoice_update_input_invoice_metadata_inner.rb
429
+ - lib/lago_ruby/models/invoiced_usage_object.rb
430
+ - lib/lago_ruby/models/invoiced_usages.rb
415
431
  - lib/lago_ruby/models/invoices_paginated.rb
432
+ - lib/lago_ruby/models/mrr_object.rb
433
+ - lib/lago_ruby/models/mrrs.rb
416
434
  - lib/lago_ruby/models/organization.rb
417
435
  - lib/lago_ruby/models/organization_billing_configuration.rb
418
436
  - lib/lago_ruby/models/organization_object.rb
419
437
  - lib/lago_ruby/models/organization_update_input.rb
420
438
  - lib/lago_ruby/models/organization_update_input_organization.rb
439
+ - lib/lago_ruby/models/outstanding_invoice_object.rb
440
+ - lib/lago_ruby/models/outstanding_invoices.rb
421
441
  - lib/lago_ruby/models/pagination_meta.rb
422
442
  - lib/lago_ruby/models/plan.rb
423
443
  - lib/lago_ruby/models/plan_create_input.rb
@@ -467,6 +487,7 @@ files:
467
487
  - lib/lago_ruby/models/webhook_endpoints_paginated.rb
468
488
  - lib/lago_ruby/version.rb
469
489
  - spec/api/add_ons_api_spec.rb
490
+ - spec/api/analytics_api_spec.rb
470
491
  - spec/api/billable_metrics_api_spec.rb
471
492
  - spec/api/coupons_api_spec.rb
472
493
  - spec/api/credit_notes_api_spec.rb
@@ -584,8 +605,11 @@ files:
584
605
  - spec/models/fee_update_input_spec.rb
585
606
  - spec/models/fees_paginated_spec.rb
586
607
  - spec/models/fees_spec.rb
608
+ - spec/models/generate_customer_checkout_url200_response_spec.rb
587
609
  - spec/models/get_customer_portal_url200_response_customer_spec.rb
588
610
  - spec/models/get_customer_portal_url200_response_spec.rb
611
+ - spec/models/gross_revenue_object_spec.rb
612
+ - spec/models/gross_revenues_spec.rb
589
613
  - spec/models/group_object_spec.rb
590
614
  - spec/models/group_properties_object_spec.rb
591
615
  - spec/models/group_properties_object_values_spec.rb
@@ -602,12 +626,18 @@ files:
602
626
  - spec/models/invoice_update_input_invoice_metadata_inner_spec.rb
603
627
  - spec/models/invoice_update_input_invoice_spec.rb
604
628
  - spec/models/invoice_update_input_spec.rb
629
+ - spec/models/invoiced_usage_object_spec.rb
630
+ - spec/models/invoiced_usages_spec.rb
605
631
  - spec/models/invoices_paginated_spec.rb
632
+ - spec/models/mrr_object_spec.rb
633
+ - spec/models/mrrs_spec.rb
606
634
  - spec/models/organization_billing_configuration_spec.rb
607
635
  - spec/models/organization_object_spec.rb
608
636
  - spec/models/organization_spec.rb
609
637
  - spec/models/organization_update_input_organization_spec.rb
610
638
  - spec/models/organization_update_input_spec.rb
639
+ - spec/models/outstanding_invoice_object_spec.rb
640
+ - spec/models/outstanding_invoices_spec.rb
611
641
  - spec/models/pagination_meta_spec.rb
612
642
  - spec/models/plan_create_input_plan_charges_inner_group_properties_inner_spec.rb
613
643
  - spec/models/plan_create_input_plan_charges_inner_spec.rb
@@ -683,193 +713,203 @@ signing_key:
683
713
  specification_version: 4
684
714
  summary: Ruby wrapper for the Lago API
685
715
  test_files:
686
- - spec/api/events_api_spec.rb
687
- - spec/api/subscriptions_api_spec.rb
688
- - spec/api/fees_api_spec.rb
689
- - spec/api/add_ons_api_spec.rb
690
- - spec/api/invoices_api_spec.rb
691
- - spec/api/plans_api_spec.rb
716
+ - spec/api/webhook_endpoints_api_spec.rb
717
+ - spec/api/organizations_api_spec.rb
692
718
  - spec/api/credit_notes_api_spec.rb
719
+ - spec/api/fees_api_spec.rb
720
+ - spec/api/webhooks_api_spec.rb
693
721
  - spec/api/customers_api_spec.rb
694
- - spec/api/coupons_api_spec.rb
722
+ - spec/api/subscriptions_api_spec.rb
695
723
  - spec/api/billable_metrics_api_spec.rb
696
724
  - spec/api/wallets_api_spec.rb
697
- - spec/api/webhooks_api_spec.rb
725
+ - spec/api/plans_api_spec.rb
726
+ - spec/api/invoices_api_spec.rb
698
727
  - spec/api/taxes_api_spec.rb
699
- - spec/api/webhook_endpoints_api_spec.rb
700
- - spec/api/organizations_api_spec.rb
728
+ - spec/api/add_ons_api_spec.rb
729
+ - spec/api/analytics_api_spec.rb
730
+ - spec/api/coupons_api_spec.rb
731
+ - spec/api/events_api_spec.rb
701
732
  - spec/api_client_spec.rb
702
733
  - spec/configuration_spec.rb
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
734
+ - spec/models/wallet_create_input_spec.rb
735
+ - spec/models/credit_object_spec.rb
736
+ - spec/models/fees_spec.rb
737
+ - spec/models/groups_paginated_spec.rb
738
+ - spec/models/subscription_object_spec.rb
739
+ - spec/models/plan_create_input_spec.rb
740
+ - spec/models/event_estimate_fees_input_spec.rb
741
+ - spec/models/credit_note_update_input_credit_note_spec.rb
742
+ - spec/models/customer_create_input_spec.rb
743
+ - spec/models/subscription_create_input_spec.rb
744
+ - spec/models/wallet_transactions_spec.rb
745
+ - spec/models/applied_coupons_paginated_spec.rb
746
+ - spec/models/credit_note_estimated_estimated_credit_note_spec.rb
747
+ - spec/models/applied_coupon_object_extended_spec.rb
748
+ - spec/models/billable_metrics_paginated_spec.rb
749
+ - spec/models/event_spec.rb
750
+ - spec/models/organization_billing_configuration_spec.rb
751
+ - spec/models/api_error_bad_request_spec.rb
752
+ - spec/models/plan_spec.rb
753
+ - spec/models/pagination_meta_spec.rb
754
+ - spec/models/credit_note_object_spec.rb
755
+ - spec/models/credit_note_item_object_spec.rb
756
+ - spec/models/wallet_update_input_spec.rb
757
+ - spec/models/customer_create_input_customer_spec.rb
758
+ - spec/models/credit_note_estimated_estimated_credit_note_items_inner_spec.rb
708
759
  - 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
760
+ - spec/models/customer_create_input_customer_metadata_inner_spec.rb
761
+ - spec/models/group_properties_object_spec.rb
711
762
  - 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
716
- - spec/models/coupon_update_input_spec.rb
763
+ - spec/models/invoice_applied_tax_object_spec.rb
764
+ - spec/models/invoice_object_customer_spec.rb
765
+ - spec/models/invoice_object_spec.rb
766
+ - spec/models/event_batch_input_event_properties_spec.rb
767
+ - spec/models/plans_paginated_spec.rb
717
768
  - 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
721
- - spec/models/invoice_object_extended_spec.rb
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
769
+ - spec/models/credit_note_item_object_fee_spec.rb
770
+ - spec/models/credit_object_invoice_spec.rb
771
+ - spec/models/coupon_create_input_coupon_spec.rb
730
772
  - 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
743
- - spec/models/add_ons_paginated_spec.rb
744
- - spec/models/invoice_one_off_create_input_invoice_spec.rb
745
- - spec/models/credit_note_estimate_input_spec.rb
746
- - spec/models/add_on_object_spec.rb
747
- - spec/models/customer_object_spec.rb
748
- - spec/models/coupons_paginated_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
773
+ - spec/models/event_input_spec.rb
754
774
  - spec/models/currency_spec.rb
755
- - spec/models/charge_properties_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
760
- - spec/models/webhook_endpoint_object_spec.rb
761
775
  - 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
764
- - spec/models/event_input_spec.rb
765
- - spec/models/invoice_update_input_invoice_spec.rb
766
- - spec/models/customer_usage_spec.rb
767
- - spec/models/invoice_spec.rb
768
- - spec/models/customer_charge_usage_object_billable_metric_spec.rb
769
- - spec/models/credit_note_applied_tax_object_spec.rb
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
776
+ - spec/models/event_input_event_spec.rb
781
777
  - spec/models/credit_note_create_input_credit_note_spec.rb
782
- - spec/models/credit_note_item_object_fee_spec.rb
783
- - spec/models/applied_coupon_object_spec.rb
784
- - spec/models/fee_object_item_spec.rb
785
- - spec/models/tax_create_input_spec.rb
786
- - spec/models/taxes_paginated_spec.rb
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
778
+ - spec/models/base_applied_tax_spec.rb
796
779
  - 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
780
+ - spec/models/billable_metric_create_input_billable_metric_spec.rb
800
781
  - spec/models/subscription_update_input_spec.rb
801
- - spec/models/group_object_spec.rb
802
- - spec/models/wallet_spec.rb
782
+ - spec/models/fee_spec.rb
783
+ - spec/models/fees_paginated_spec.rb
784
+ - spec/models/wallet_create_input_wallet_spec.rb
785
+ - spec/models/coupon_base_input_applies_to_spec.rb
786
+ - spec/models/customer_usage_object_spec.rb
803
787
  - 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
788
+ - spec/models/plan_overrides_object_spec.rb
789
+ - spec/models/taxes_paginated_spec.rb
790
+ - spec/models/add_on_create_input_add_on_spec.rb
791
+ - spec/models/plan_create_input_plan_spec.rb
792
+ - spec/models/generate_customer_checkout_url200_response_spec.rb
793
+ - spec/models/organization_object_spec.rb
794
+ - spec/models/tax_base_input_spec.rb
795
+ - spec/models/country_spec.rb
796
+ - spec/models/customer_object_extended_spec.rb
797
+ - spec/models/fee_object_item_spec.rb
798
+ - spec/models/applied_coupon_input_spec.rb
808
799
  - spec/models/credit_notes_spec.rb
809
- - spec/models/fee_update_input_spec.rb
810
- - spec/models/organization_update_input_spec.rb
811
800
  - 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
815
- - spec/models/subscriptions_paginated_spec.rb
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
822
- - spec/models/customer_spec.rb
823
- - spec/models/wallet_transactions_paginated_spec.rb
824
- - spec/models/event_batch_input_spec.rb
825
- - spec/models/wallet_transaction_create_input_spec.rb
826
- - spec/models/credit_note_create_input_spec.rb
801
+ - spec/models/charge_object_properties_spec.rb
802
+ - spec/models/credit_note_estimated_spec.rb
803
+ - spec/models/billable_metric_group_values_inner_one_of_spec.rb
804
+ - spec/models/api_error_not_allowed_spec.rb
805
+ - spec/models/invoice_one_off_create_input_spec.rb
806
+ - spec/models/webhook_endpoint_create_input_webhook_endpoint_spec.rb
807
+ - spec/models/customer_charge_usage_object_billable_metric_spec.rb
808
+ - spec/models/credit_note_estimate_input_spec.rb
809
+ - spec/models/credit_note_spec.rb
810
+ - spec/models/organization_spec.rb
827
811
  - 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
812
+ - spec/models/get_customer_portal_url200_response_spec.rb
813
+ - spec/models/wallet_transaction_object_spec.rb
814
+ - spec/models/organization_update_input_organization_spec.rb
815
+ - spec/models/billable_metric_group_values_inner_spec.rb
816
+ - spec/models/applied_coupon_object_spec.rb
817
+ - spec/models/invoice_spec.rb
818
+ - spec/models/wallet_spec.rb
819
+ - spec/models/billable_metric_base_input_spec.rb
820
+ - spec/models/subscriptions_paginated_spec.rb
821
+ - spec/models/customer_charge_usage_object_spec.rb
822
+ - spec/models/wallets_paginated_spec.rb
823
+ - spec/models/webhook_endpoint_object_spec.rb
824
+ - spec/models/billable_metric_spec.rb
825
+ - spec/models/invoices_paginated_spec.rb
834
826
  - 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
846
- - spec/models/event_estimate_fees_input_spec.rb
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
827
  - spec/models/coupon_object_spec.rb
855
828
  - 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
829
+ - spec/models/coupon_base_input_spec.rb
830
+ - spec/models/gross_revenue_object_spec.rb
831
+ - spec/models/credit_note_applied_tax_object_spec.rb
832
+ - spec/models/event_input_event_timestamp_spec.rb
833
+ - spec/models/tax_object_spec.rb
834
+ - spec/models/fee_object_spec.rb
835
+ - spec/models/invoice_one_off_create_input_invoice_spec.rb
836
+ - spec/models/customer_charge_usage_object_groups_inner_spec.rb
865
837
  - spec/models/credit_note_update_input_spec.rb
838
+ - spec/models/fee_applied_tax_object_spec.rb
839
+ - spec/models/group_object_spec.rb
840
+ - spec/models/subscription_create_input_subscription_spec.rb
841
+ - spec/models/timezone_spec.rb
866
842
  - 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
843
+ - spec/models/subscription_object_extended_spec.rb
844
+ - spec/models/customer_billing_configuration_spec.rb
845
+ - spec/models/invoice_update_input_invoice_spec.rb
846
+ - spec/models/fee_update_input_fee_spec.rb
847
+ - spec/models/coupon_update_input_spec.rb
848
+ - spec/models/tax_create_input_spec.rb
849
+ - spec/models/event_batch_input_event_spec.rb
850
+ - spec/models/event_object_spec.rb
851
+ - spec/models/api_error_unprocessable_entity_spec.rb
852
+ - spec/models/customer_object_spec.rb
853
+ - spec/models/credit_note_create_input_spec.rb
854
+ - spec/models/invoiced_usage_object_spec.rb
855
+ - spec/models/wallet_transactions_paginated_spec.rb
856
+ - spec/models/invoice_update_input_invoice_metadata_inner_spec.rb
857
+ - spec/models/coupons_paginated_spec.rb
858
+ - spec/models/event_estimate_fees_input_event_spec.rb
871
859
  - spec/models/group_properties_object_values_spec.rb
872
- - spec/models/organization_billing_configuration_spec.rb
860
+ - spec/models/event_batch_input_spec.rb
861
+ - spec/models/tax_update_input_spec.rb
862
+ - spec/models/webhook_endpoint_create_input_spec.rb
863
+ - spec/models/event_object_properties_spec.rb
864
+ - spec/models/mrr_object_spec.rb
865
+ - spec/models/billable_metric_create_input_spec.rb
866
+ - spec/models/credit_note_estimate_input_credit_note_spec.rb
867
+ - spec/models/customer_usage_spec.rb
868
+ - spec/models/outstanding_invoices_spec.rb
869
+ - spec/models/customers_paginated_spec.rb
870
+ - spec/models/wallet_object_spec.rb
871
+ - spec/models/fee_update_input_spec.rb
872
+ - spec/models/add_ons_paginated_spec.rb
873
+ - spec/models/charge_object_spec.rb
874
+ - spec/models/invoice_object_extended_spec.rb
875
+ - spec/models/mrrs_spec.rb
876
+ - spec/models/plan_update_input_plan_spec.rb
877
+ - spec/models/invoiced_usages_spec.rb
878
+ - spec/models/subscription_update_input_subscription_spec.rb
879
+ - spec/models/invoice_update_input_spec.rb
880
+ - spec/models/wallet_transaction_create_input_wallet_transaction_spec.rb
881
+ - spec/models/charge_properties_spec.rb
882
+ - spec/models/get_customer_portal_url200_response_customer_spec.rb
883
+ - spec/models/plan_update_input_spec.rb
884
+ - spec/models/invoice_metadata_object_spec.rb
885
+ - spec/models/plan_overrides_object_charges_inner_spec.rb
886
+ - spec/models/billable_metric_group_spec.rb
887
+ - spec/models/gross_revenues_spec.rb
888
+ - spec/models/wallet_transaction_create_input_spec.rb
889
+ - spec/models/webhook_endpoint_update_input_spec.rb
890
+ - spec/models/plan_update_input_plan_charges_inner_spec.rb
891
+ - spec/models/api_error_forbidden_spec.rb
892
+ - spec/models/tax_create_input_tax_spec.rb
893
+ - spec/models/subscription_spec.rb
894
+ - spec/models/coupon_spec.rb
895
+ - spec/models/billable_metric_object_spec.rb
896
+ - spec/models/organization_update_input_spec.rb
873
897
  - spec/models/credit_note_estimated_estimated_credit_note_applied_taxes_inner_spec.rb
874
- - spec/models/customer_create_input_customer_spec.rb
898
+ - spec/models/wallet_update_input_wallet_spec.rb
899
+ - spec/models/customer_charge_usage_object_charge_spec.rb
900
+ - spec/models/billable_metric_update_input_spec.rb
901
+ - spec/models/outstanding_invoice_object_spec.rb
902
+ - spec/models/customer_past_usage_spec.rb
903
+ - spec/models/api_error_unauthorized_spec.rb
904
+ - spec/models/customer_spec.rb
905
+ - spec/models/api_error_not_found_spec.rb
906
+ - spec/models/add_on_spec.rb
907
+ - spec/models/add_on_object_spec.rb
908
+ - spec/models/charge_properties_graduated_percentage_ranges_inner_spec.rb
909
+ - spec/models/add_on_base_input_spec.rb
910
+ - spec/models/webhook_endpoints_paginated_spec.rb
911
+ - spec/models/add_on_create_input_spec.rb
912
+ - spec/models/applied_coupon_spec.rb
913
+ - spec/models/credit_object_item_spec.rb
914
+ - spec/models/credit_note_estimate_input_credit_note_items_inner_spec.rb
875
915
  - spec/spec_helper.rb