dodopayments 2.3.0 → 2.4.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 +9 -0
- data/README.md +1 -1
- data/lib/dodopayments/client.rb +0 -8
- data/lib/dodopayments/models/customer_delete_payment_method_params.rb +26 -0
- data/lib/dodopayments/models/dispute.rb +9 -1
- data/lib/dodopayments/models/dispute_list_response.rb +9 -1
- data/lib/dodopayments/models/get_dispute.rb +9 -1
- data/lib/dodopayments/models.rb +2 -18
- data/lib/dodopayments/resources/customers.rb +25 -0
- data/lib/dodopayments/resources/invoices/payments.rb +0 -18
- data/lib/dodopayments/version.rb +1 -1
- data/lib/dodopayments.rb +4 -29
- data/rbi/dodopayments/client.rbi +0 -6
- data/rbi/dodopayments/models/credit_entitlement_cart_response.rbi +4 -4
- data/rbi/dodopayments/models/credit_entitlements/credit_ledger_entry.rbi +2 -2
- data/rbi/dodopayments/models/{your_webhook_url_create_params.rbi → customer_delete_payment_method_params.rbi} +9 -19
- data/rbi/dodopayments/models/dispute.rbi +12 -4
- data/rbi/dodopayments/models/dispute_list_response.rbi +11 -3
- data/rbi/dodopayments/models/get_dispute.rbi +12 -4
- data/rbi/dodopayments/models/license_key.rbi +2 -2
- data/rbi/dodopayments/models/meter_cart_response_item.rbi +2 -2
- data/rbi/dodopayments/models/payment.rbi +12 -10
- data/rbi/dodopayments/models/refund.rbi +4 -4
- data/rbi/dodopayments/models/refund_list_item.rbi +4 -4
- data/rbi/dodopayments/models/subscription.rbi +10 -8
- data/rbi/dodopayments/models.rbi +3 -25
- data/rbi/dodopayments/resources/customers.rbi +16 -0
- data/rbi/dodopayments/resources/invoices/payments.rbi +0 -9
- data/sig/dodopayments/client.rbs +0 -4
- data/sig/dodopayments/models/{product_collection_update_images_params.rbs → customer_delete_payment_method_params.rbs} +9 -9
- data/sig/dodopayments/models/dispute.rbs +5 -0
- data/sig/dodopayments/models/dispute_list_response.rbs +8 -3
- data/sig/dodopayments/models/get_dispute.rbs +5 -0
- data/sig/dodopayments/models.rbs +2 -18
- data/sig/dodopayments/resources/customers.rbs +6 -0
- data/sig/dodopayments/resources/invoices/payments.rbs +0 -5
- metadata +4 -79
- data/lib/dodopayments/models/invoices/payment_retrieve_payout_params.rb +0 -22
- data/lib/dodopayments/models/product_collection_create_params.rb +0 -98
- data/lib/dodopayments/models/product_collection_create_response.rb +0 -226
- data/lib/dodopayments/models/product_collection_delete_params.rb +0 -20
- data/lib/dodopayments/models/product_collection_list_params.rb +0 -46
- data/lib/dodopayments/models/product_collection_list_response.rb +0 -65
- data/lib/dodopayments/models/product_collection_retrieve_params.rb +0 -20
- data/lib/dodopayments/models/product_collection_retrieve_response.rb +0 -226
- data/lib/dodopayments/models/product_collection_unarchive_params.rb +0 -20
- data/lib/dodopayments/models/product_collection_unarchive_response.rb +0 -33
- data/lib/dodopayments/models/product_collection_update_images_params.rb +0 -29
- data/lib/dodopayments/models/product_collection_update_images_response.rb +0 -25
- data/lib/dodopayments/models/product_collection_update_params.rb +0 -61
- data/lib/dodopayments/models/product_collections/group_create_params.rb +0 -71
- data/lib/dodopayments/models/product_collections/group_create_response.rb +0 -160
- data/lib/dodopayments/models/product_collections/group_delete_params.rb +0 -28
- data/lib/dodopayments/models/product_collections/group_update_params.rb +0 -59
- data/lib/dodopayments/models/product_collections/groups/item_create_params.rb +0 -60
- data/lib/dodopayments/models/product_collections/groups/item_create_response.rb +0 -136
- data/lib/dodopayments/models/product_collections/groups/item_delete_params.rb +0 -36
- data/lib/dodopayments/models/product_collections/groups/item_update_params.rb +0 -47
- data/lib/dodopayments/models/your_webhook_url_create_params.rb +0 -32
- data/lib/dodopayments/resources/product_collections/groups/items.rb +0 -111
- data/lib/dodopayments/resources/product_collections/groups.rb +0 -109
- data/lib/dodopayments/resources/product_collections.rb +0 -179
- data/lib/dodopayments/resources/your_webhook_url.rb +0 -56
- data/rbi/dodopayments/models/invoices/payment_retrieve_payout_params.rbi +0 -40
- data/rbi/dodopayments/models/product_collection_create_params.rbi +0 -180
- data/rbi/dodopayments/models/product_collection_create_response.rbi +0 -303
- data/rbi/dodopayments/models/product_collection_delete_params.rbi +0 -38
- data/rbi/dodopayments/models/product_collection_list_params.rbi +0 -82
- data/rbi/dodopayments/models/product_collection_list_response.rbi +0 -88
- data/rbi/dodopayments/models/product_collection_retrieve_params.rbi +0 -38
- data/rbi/dodopayments/models/product_collection_retrieve_response.rbi +0 -305
- data/rbi/dodopayments/models/product_collection_unarchive_params.rbi +0 -38
- data/rbi/dodopayments/models/product_collection_unarchive_response.rbi +0 -56
- data/rbi/dodopayments/models/product_collection_update_images_params.rbi +0 -52
- data/rbi/dodopayments/models/product_collection_update_images_response.rbi +0 -40
- data/rbi/dodopayments/models/product_collection_update_params.rbi +0 -84
- data/rbi/dodopayments/models/product_collections/group_create_params.rbi +0 -123
- data/rbi/dodopayments/models/product_collections/group_create_response.rbi +0 -204
- data/rbi/dodopayments/models/product_collections/group_delete_params.rbi +0 -48
- data/rbi/dodopayments/models/product_collections/group_update_params.rbi +0 -80
- data/rbi/dodopayments/models/product_collections/groups/item_create_params.rbi +0 -113
- data/rbi/dodopayments/models/product_collections/groups/item_create_response.rbi +0 -156
- data/rbi/dodopayments/models/product_collections/groups/item_delete_params.rbi +0 -55
- data/rbi/dodopayments/models/product_collections/groups/item_update_params.rbi +0 -68
- data/rbi/dodopayments/resources/product_collections/groups/items.rbi +0 -83
- data/rbi/dodopayments/resources/product_collections/groups.rbi +0 -90
- data/rbi/dodopayments/resources/product_collections.rbi +0 -149
- data/rbi/dodopayments/resources/your_webhook_url.rbi +0 -53
- data/sig/dodopayments/models/invoices/payment_retrieve_payout_params.rbs +0 -25
- data/sig/dodopayments/models/product_collection_create_params.rbs +0 -80
- data/sig/dodopayments/models/product_collection_create_response.rbs +0 -179
- data/sig/dodopayments/models/product_collection_delete_params.rbs +0 -23
- data/sig/dodopayments/models/product_collection_list_params.rbs +0 -49
- data/sig/dodopayments/models/product_collection_list_response.rbs +0 -50
- data/sig/dodopayments/models/product_collection_retrieve_params.rbs +0 -23
- data/sig/dodopayments/models/product_collection_retrieve_response.rbs +0 -179
- data/sig/dodopayments/models/product_collection_unarchive_params.rbs +0 -23
- data/sig/dodopayments/models/product_collection_unarchive_response.rbs +0 -30
- data/sig/dodopayments/models/product_collection_update_images_response.rbs +0 -16
- data/sig/dodopayments/models/product_collection_update_params.rbs +0 -51
- data/sig/dodopayments/models/product_collections/group_create_params.rbs +0 -55
- data/sig/dodopayments/models/product_collections/group_create_response.rbs +0 -129
- data/sig/dodopayments/models/product_collections/group_delete_params.rbs +0 -30
- data/sig/dodopayments/models/product_collections/group_update_params.rbs +0 -48
- data/sig/dodopayments/models/product_collections/groups/item_create_params.rbs +0 -52
- data/sig/dodopayments/models/product_collections/groups/item_create_response.rbs +0 -104
- data/sig/dodopayments/models/product_collections/groups/item_delete_params.rbs +0 -36
- data/sig/dodopayments/models/product_collections/groups/item_update_params.rbs +0 -40
- data/sig/dodopayments/models/your_webhook_url_create_params.rbs +0 -42
- data/sig/dodopayments/resources/product_collections/groups/items.rbs +0 -33
- data/sig/dodopayments/resources/product_collections/groups.rbs +0 -34
- data/sig/dodopayments/resources/product_collections.rbs +0 -56
- data/sig/dodopayments/resources/your_webhook_url.rbs +0 -18
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dodopayments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dodo Payments
|
|
@@ -155,6 +155,7 @@ files:
|
|
|
155
155
|
- lib/dodopayments/models/custom_field_response.rb
|
|
156
156
|
- lib/dodopayments/models/customer.rb
|
|
157
157
|
- lib/dodopayments/models/customer_create_params.rb
|
|
158
|
+
- lib/dodopayments/models/customer_delete_payment_method_params.rb
|
|
158
159
|
- lib/dodopayments/models/customer_limited_details.rb
|
|
159
160
|
- lib/dodopayments/models/customer_list_credit_entitlements_params.rb
|
|
160
161
|
- lib/dodopayments/models/customer_list_credit_entitlements_response.rb
|
|
@@ -201,7 +202,6 @@ files:
|
|
|
201
202
|
- lib/dodopayments/models/get_dispute.rb
|
|
202
203
|
- lib/dodopayments/models/intent_status.rb
|
|
203
204
|
- lib/dodopayments/models/invoices/payment_retrieve_params.rb
|
|
204
|
-
- lib/dodopayments/models/invoices/payment_retrieve_payout_params.rb
|
|
205
205
|
- lib/dodopayments/models/invoices/payment_retrieve_refund_params.rb
|
|
206
206
|
- lib/dodopayments/models/license_activate_params.rb
|
|
207
207
|
- lib/dodopayments/models/license_activate_response.rb
|
|
@@ -253,26 +253,6 @@ files:
|
|
|
253
253
|
- lib/dodopayments/models/price.rb
|
|
254
254
|
- lib/dodopayments/models/product.rb
|
|
255
255
|
- lib/dodopayments/models/product_archive_params.rb
|
|
256
|
-
- lib/dodopayments/models/product_collection_create_params.rb
|
|
257
|
-
- lib/dodopayments/models/product_collection_create_response.rb
|
|
258
|
-
- lib/dodopayments/models/product_collection_delete_params.rb
|
|
259
|
-
- lib/dodopayments/models/product_collection_list_params.rb
|
|
260
|
-
- lib/dodopayments/models/product_collection_list_response.rb
|
|
261
|
-
- lib/dodopayments/models/product_collection_retrieve_params.rb
|
|
262
|
-
- lib/dodopayments/models/product_collection_retrieve_response.rb
|
|
263
|
-
- lib/dodopayments/models/product_collection_unarchive_params.rb
|
|
264
|
-
- lib/dodopayments/models/product_collection_unarchive_response.rb
|
|
265
|
-
- lib/dodopayments/models/product_collection_update_images_params.rb
|
|
266
|
-
- lib/dodopayments/models/product_collection_update_images_response.rb
|
|
267
|
-
- lib/dodopayments/models/product_collection_update_params.rb
|
|
268
|
-
- lib/dodopayments/models/product_collections/group_create_params.rb
|
|
269
|
-
- lib/dodopayments/models/product_collections/group_create_response.rb
|
|
270
|
-
- lib/dodopayments/models/product_collections/group_delete_params.rb
|
|
271
|
-
- lib/dodopayments/models/product_collections/group_update_params.rb
|
|
272
|
-
- lib/dodopayments/models/product_collections/groups/item_create_params.rb
|
|
273
|
-
- lib/dodopayments/models/product_collections/groups/item_create_response.rb
|
|
274
|
-
- lib/dodopayments/models/product_collections/groups/item_delete_params.rb
|
|
275
|
-
- lib/dodopayments/models/product_collections/groups/item_update_params.rb
|
|
276
256
|
- lib/dodopayments/models/product_create_params.rb
|
|
277
257
|
- lib/dodopayments/models/product_item_req.rb
|
|
278
258
|
- lib/dodopayments/models/product_list_params.rb
|
|
@@ -351,7 +331,6 @@ files:
|
|
|
351
331
|
- lib/dodopayments/models/webhooks/header_retrieve_params.rb
|
|
352
332
|
- lib/dodopayments/models/webhooks/header_retrieve_response.rb
|
|
353
333
|
- lib/dodopayments/models/webhooks/header_update_params.rb
|
|
354
|
-
- lib/dodopayments/models/your_webhook_url_create_params.rb
|
|
355
334
|
- lib/dodopayments/request_options.rb
|
|
356
335
|
- lib/dodopayments/resources/addons.rb
|
|
357
336
|
- lib/dodopayments/resources/balances.rb
|
|
@@ -374,9 +353,6 @@ files:
|
|
|
374
353
|
- lib/dodopayments/resources/misc.rb
|
|
375
354
|
- lib/dodopayments/resources/payments.rb
|
|
376
355
|
- lib/dodopayments/resources/payouts.rb
|
|
377
|
-
- lib/dodopayments/resources/product_collections.rb
|
|
378
|
-
- lib/dodopayments/resources/product_collections/groups.rb
|
|
379
|
-
- lib/dodopayments/resources/product_collections/groups/items.rb
|
|
380
356
|
- lib/dodopayments/resources/products.rb
|
|
381
357
|
- lib/dodopayments/resources/products/images.rb
|
|
382
358
|
- lib/dodopayments/resources/products/short_links.rb
|
|
@@ -386,7 +362,6 @@ files:
|
|
|
386
362
|
- lib/dodopayments/resources/webhook_events.rb
|
|
387
363
|
- lib/dodopayments/resources/webhooks.rb
|
|
388
364
|
- lib/dodopayments/resources/webhooks/headers.rb
|
|
389
|
-
- lib/dodopayments/resources/your_webhook_url.rb
|
|
390
365
|
- lib/dodopayments/version.rb
|
|
391
366
|
- manifest.yaml
|
|
392
367
|
- rbi/dodopayments/client.rbi
|
|
@@ -480,6 +455,7 @@ files:
|
|
|
480
455
|
- rbi/dodopayments/models/custom_field_response.rbi
|
|
481
456
|
- rbi/dodopayments/models/customer.rbi
|
|
482
457
|
- rbi/dodopayments/models/customer_create_params.rbi
|
|
458
|
+
- rbi/dodopayments/models/customer_delete_payment_method_params.rbi
|
|
483
459
|
- rbi/dodopayments/models/customer_limited_details.rbi
|
|
484
460
|
- rbi/dodopayments/models/customer_list_credit_entitlements_params.rbi
|
|
485
461
|
- rbi/dodopayments/models/customer_list_credit_entitlements_response.rbi
|
|
@@ -526,7 +502,6 @@ files:
|
|
|
526
502
|
- rbi/dodopayments/models/get_dispute.rbi
|
|
527
503
|
- rbi/dodopayments/models/intent_status.rbi
|
|
528
504
|
- rbi/dodopayments/models/invoices/payment_retrieve_params.rbi
|
|
529
|
-
- rbi/dodopayments/models/invoices/payment_retrieve_payout_params.rbi
|
|
530
505
|
- rbi/dodopayments/models/invoices/payment_retrieve_refund_params.rbi
|
|
531
506
|
- rbi/dodopayments/models/license_activate_params.rbi
|
|
532
507
|
- rbi/dodopayments/models/license_activate_response.rbi
|
|
@@ -578,26 +553,6 @@ files:
|
|
|
578
553
|
- rbi/dodopayments/models/price.rbi
|
|
579
554
|
- rbi/dodopayments/models/product.rbi
|
|
580
555
|
- rbi/dodopayments/models/product_archive_params.rbi
|
|
581
|
-
- rbi/dodopayments/models/product_collection_create_params.rbi
|
|
582
|
-
- rbi/dodopayments/models/product_collection_create_response.rbi
|
|
583
|
-
- rbi/dodopayments/models/product_collection_delete_params.rbi
|
|
584
|
-
- rbi/dodopayments/models/product_collection_list_params.rbi
|
|
585
|
-
- rbi/dodopayments/models/product_collection_list_response.rbi
|
|
586
|
-
- rbi/dodopayments/models/product_collection_retrieve_params.rbi
|
|
587
|
-
- rbi/dodopayments/models/product_collection_retrieve_response.rbi
|
|
588
|
-
- rbi/dodopayments/models/product_collection_unarchive_params.rbi
|
|
589
|
-
- rbi/dodopayments/models/product_collection_unarchive_response.rbi
|
|
590
|
-
- rbi/dodopayments/models/product_collection_update_images_params.rbi
|
|
591
|
-
- rbi/dodopayments/models/product_collection_update_images_response.rbi
|
|
592
|
-
- rbi/dodopayments/models/product_collection_update_params.rbi
|
|
593
|
-
- rbi/dodopayments/models/product_collections/group_create_params.rbi
|
|
594
|
-
- rbi/dodopayments/models/product_collections/group_create_response.rbi
|
|
595
|
-
- rbi/dodopayments/models/product_collections/group_delete_params.rbi
|
|
596
|
-
- rbi/dodopayments/models/product_collections/group_update_params.rbi
|
|
597
|
-
- rbi/dodopayments/models/product_collections/groups/item_create_params.rbi
|
|
598
|
-
- rbi/dodopayments/models/product_collections/groups/item_create_response.rbi
|
|
599
|
-
- rbi/dodopayments/models/product_collections/groups/item_delete_params.rbi
|
|
600
|
-
- rbi/dodopayments/models/product_collections/groups/item_update_params.rbi
|
|
601
556
|
- rbi/dodopayments/models/product_create_params.rbi
|
|
602
557
|
- rbi/dodopayments/models/product_item_req.rbi
|
|
603
558
|
- rbi/dodopayments/models/product_list_params.rbi
|
|
@@ -676,7 +631,6 @@ files:
|
|
|
676
631
|
- rbi/dodopayments/models/webhooks/header_retrieve_params.rbi
|
|
677
632
|
- rbi/dodopayments/models/webhooks/header_retrieve_response.rbi
|
|
678
633
|
- rbi/dodopayments/models/webhooks/header_update_params.rbi
|
|
679
|
-
- rbi/dodopayments/models/your_webhook_url_create_params.rbi
|
|
680
634
|
- rbi/dodopayments/request_options.rbi
|
|
681
635
|
- rbi/dodopayments/resources/addons.rbi
|
|
682
636
|
- rbi/dodopayments/resources/balances.rbi
|
|
@@ -699,9 +653,6 @@ files:
|
|
|
699
653
|
- rbi/dodopayments/resources/misc.rbi
|
|
700
654
|
- rbi/dodopayments/resources/payments.rbi
|
|
701
655
|
- rbi/dodopayments/resources/payouts.rbi
|
|
702
|
-
- rbi/dodopayments/resources/product_collections.rbi
|
|
703
|
-
- rbi/dodopayments/resources/product_collections/groups.rbi
|
|
704
|
-
- rbi/dodopayments/resources/product_collections/groups/items.rbi
|
|
705
656
|
- rbi/dodopayments/resources/products.rbi
|
|
706
657
|
- rbi/dodopayments/resources/products/images.rbi
|
|
707
658
|
- rbi/dodopayments/resources/products/short_links.rbi
|
|
@@ -711,7 +662,6 @@ files:
|
|
|
711
662
|
- rbi/dodopayments/resources/webhook_events.rbi
|
|
712
663
|
- rbi/dodopayments/resources/webhooks.rbi
|
|
713
664
|
- rbi/dodopayments/resources/webhooks/headers.rbi
|
|
714
|
-
- rbi/dodopayments/resources/your_webhook_url.rbi
|
|
715
665
|
- rbi/dodopayments/version.rbi
|
|
716
666
|
- sig/dodopayments/client.rbs
|
|
717
667
|
- sig/dodopayments/errors.rbs
|
|
@@ -804,6 +754,7 @@ files:
|
|
|
804
754
|
- sig/dodopayments/models/custom_field_response.rbs
|
|
805
755
|
- sig/dodopayments/models/customer.rbs
|
|
806
756
|
- sig/dodopayments/models/customer_create_params.rbs
|
|
757
|
+
- sig/dodopayments/models/customer_delete_payment_method_params.rbs
|
|
807
758
|
- sig/dodopayments/models/customer_limited_details.rbs
|
|
808
759
|
- sig/dodopayments/models/customer_list_credit_entitlements_params.rbs
|
|
809
760
|
- sig/dodopayments/models/customer_list_credit_entitlements_response.rbs
|
|
@@ -850,7 +801,6 @@ files:
|
|
|
850
801
|
- sig/dodopayments/models/get_dispute.rbs
|
|
851
802
|
- sig/dodopayments/models/intent_status.rbs
|
|
852
803
|
- sig/dodopayments/models/invoices/payment_retrieve_params.rbs
|
|
853
|
-
- sig/dodopayments/models/invoices/payment_retrieve_payout_params.rbs
|
|
854
804
|
- sig/dodopayments/models/invoices/payment_retrieve_refund_params.rbs
|
|
855
805
|
- sig/dodopayments/models/license_activate_params.rbs
|
|
856
806
|
- sig/dodopayments/models/license_activate_response.rbs
|
|
@@ -902,26 +852,6 @@ files:
|
|
|
902
852
|
- sig/dodopayments/models/price.rbs
|
|
903
853
|
- sig/dodopayments/models/product.rbs
|
|
904
854
|
- sig/dodopayments/models/product_archive_params.rbs
|
|
905
|
-
- sig/dodopayments/models/product_collection_create_params.rbs
|
|
906
|
-
- sig/dodopayments/models/product_collection_create_response.rbs
|
|
907
|
-
- sig/dodopayments/models/product_collection_delete_params.rbs
|
|
908
|
-
- sig/dodopayments/models/product_collection_list_params.rbs
|
|
909
|
-
- sig/dodopayments/models/product_collection_list_response.rbs
|
|
910
|
-
- sig/dodopayments/models/product_collection_retrieve_params.rbs
|
|
911
|
-
- sig/dodopayments/models/product_collection_retrieve_response.rbs
|
|
912
|
-
- sig/dodopayments/models/product_collection_unarchive_params.rbs
|
|
913
|
-
- sig/dodopayments/models/product_collection_unarchive_response.rbs
|
|
914
|
-
- sig/dodopayments/models/product_collection_update_images_params.rbs
|
|
915
|
-
- sig/dodopayments/models/product_collection_update_images_response.rbs
|
|
916
|
-
- sig/dodopayments/models/product_collection_update_params.rbs
|
|
917
|
-
- sig/dodopayments/models/product_collections/group_create_params.rbs
|
|
918
|
-
- sig/dodopayments/models/product_collections/group_create_response.rbs
|
|
919
|
-
- sig/dodopayments/models/product_collections/group_delete_params.rbs
|
|
920
|
-
- sig/dodopayments/models/product_collections/group_update_params.rbs
|
|
921
|
-
- sig/dodopayments/models/product_collections/groups/item_create_params.rbs
|
|
922
|
-
- sig/dodopayments/models/product_collections/groups/item_create_response.rbs
|
|
923
|
-
- sig/dodopayments/models/product_collections/groups/item_delete_params.rbs
|
|
924
|
-
- sig/dodopayments/models/product_collections/groups/item_update_params.rbs
|
|
925
855
|
- sig/dodopayments/models/product_create_params.rbs
|
|
926
856
|
- sig/dodopayments/models/product_item_req.rbs
|
|
927
857
|
- sig/dodopayments/models/product_list_params.rbs
|
|
@@ -1000,7 +930,6 @@ files:
|
|
|
1000
930
|
- sig/dodopayments/models/webhooks/header_retrieve_params.rbs
|
|
1001
931
|
- sig/dodopayments/models/webhooks/header_retrieve_response.rbs
|
|
1002
932
|
- sig/dodopayments/models/webhooks/header_update_params.rbs
|
|
1003
|
-
- sig/dodopayments/models/your_webhook_url_create_params.rbs
|
|
1004
933
|
- sig/dodopayments/request_options.rbs
|
|
1005
934
|
- sig/dodopayments/resources/addons.rbs
|
|
1006
935
|
- sig/dodopayments/resources/balances.rbs
|
|
@@ -1023,9 +952,6 @@ files:
|
|
|
1023
952
|
- sig/dodopayments/resources/misc.rbs
|
|
1024
953
|
- sig/dodopayments/resources/payments.rbs
|
|
1025
954
|
- sig/dodopayments/resources/payouts.rbs
|
|
1026
|
-
- sig/dodopayments/resources/product_collections.rbs
|
|
1027
|
-
- sig/dodopayments/resources/product_collections/groups.rbs
|
|
1028
|
-
- sig/dodopayments/resources/product_collections/groups/items.rbs
|
|
1029
955
|
- sig/dodopayments/resources/products.rbs
|
|
1030
956
|
- sig/dodopayments/resources/products/images.rbs
|
|
1031
957
|
- sig/dodopayments/resources/products/short_links.rbs
|
|
@@ -1035,7 +961,6 @@ files:
|
|
|
1035
961
|
- sig/dodopayments/resources/webhook_events.rbs
|
|
1036
962
|
- sig/dodopayments/resources/webhooks.rbs
|
|
1037
963
|
- sig/dodopayments/resources/webhooks/headers.rbs
|
|
1038
|
-
- sig/dodopayments/resources/your_webhook_url.rbs
|
|
1039
964
|
- sig/dodopayments/version.rbs
|
|
1040
965
|
homepage: https://gemdocs.org/gems/dodopayments
|
|
1041
966
|
licenses: []
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Dodopayments
|
|
4
|
-
module Models
|
|
5
|
-
module Invoices
|
|
6
|
-
# @see Dodopayments::Resources::Invoices::Payments#retrieve_payout
|
|
7
|
-
class PaymentRetrievePayoutParams < Dodopayments::Internal::Type::BaseModel
|
|
8
|
-
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Dodopayments::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
# @!attribute payout_id
|
|
12
|
-
#
|
|
13
|
-
# @return [String]
|
|
14
|
-
required :payout_id, String
|
|
15
|
-
|
|
16
|
-
# @!method initialize(payout_id:, request_options: {})
|
|
17
|
-
# @param payout_id [String]
|
|
18
|
-
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Dodopayments
|
|
4
|
-
module Models
|
|
5
|
-
# @see Dodopayments::Resources::ProductCollections#create
|
|
6
|
-
class ProductCollectionCreateParams < Dodopayments::Internal::Type::BaseModel
|
|
7
|
-
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Dodopayments::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute groups
|
|
11
|
-
# Groups of products in this collection
|
|
12
|
-
#
|
|
13
|
-
# @return [Array<Dodopayments::Models::ProductCollectionCreateParams::Group>]
|
|
14
|
-
required :groups,
|
|
15
|
-
-> { Dodopayments::Internal::Type::ArrayOf[Dodopayments::ProductCollectionCreateParams::Group] }
|
|
16
|
-
|
|
17
|
-
# @!attribute name
|
|
18
|
-
# Name of the product collection
|
|
19
|
-
#
|
|
20
|
-
# @return [String]
|
|
21
|
-
required :name, String
|
|
22
|
-
|
|
23
|
-
# @!attribute brand_id
|
|
24
|
-
# Brand id for the collection, if not provided will default to primary brand
|
|
25
|
-
#
|
|
26
|
-
# @return [String, nil]
|
|
27
|
-
optional :brand_id, String, nil?: true
|
|
28
|
-
|
|
29
|
-
# @!attribute description
|
|
30
|
-
# Optional description of the product collection
|
|
31
|
-
#
|
|
32
|
-
# @return [String, nil]
|
|
33
|
-
optional :description, String, nil?: true
|
|
34
|
-
|
|
35
|
-
# @!method initialize(groups:, name:, brand_id: nil, description: nil, request_options: {})
|
|
36
|
-
# @param groups [Array<Dodopayments::Models::ProductCollectionCreateParams::Group>] Groups of products in this collection
|
|
37
|
-
#
|
|
38
|
-
# @param name [String] Name of the product collection
|
|
39
|
-
#
|
|
40
|
-
# @param brand_id [String, nil] Brand id for the collection, if not provided will default to primary brand
|
|
41
|
-
#
|
|
42
|
-
# @param description [String, nil] Optional description of the product collection
|
|
43
|
-
#
|
|
44
|
-
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
45
|
-
|
|
46
|
-
class Group < Dodopayments::Internal::Type::BaseModel
|
|
47
|
-
# @!attribute products
|
|
48
|
-
# Products in this group
|
|
49
|
-
#
|
|
50
|
-
# @return [Array<Dodopayments::Models::ProductCollectionCreateParams::Group::Product>]
|
|
51
|
-
required :products,
|
|
52
|
-
-> { Dodopayments::Internal::Type::ArrayOf[Dodopayments::ProductCollectionCreateParams::Group::Product] }
|
|
53
|
-
|
|
54
|
-
# @!attribute group_name
|
|
55
|
-
# Optional group name. Multiple groups can have null names, but named groups must
|
|
56
|
-
# be unique per collection
|
|
57
|
-
#
|
|
58
|
-
# @return [String, nil]
|
|
59
|
-
optional :group_name, String, nil?: true
|
|
60
|
-
|
|
61
|
-
# @!attribute status
|
|
62
|
-
# Status of the group (defaults to true if not provided)
|
|
63
|
-
#
|
|
64
|
-
# @return [Boolean, nil]
|
|
65
|
-
optional :status, Dodopayments::Internal::Type::Boolean, nil?: true
|
|
66
|
-
|
|
67
|
-
# @!method initialize(products:, group_name: nil, status: nil)
|
|
68
|
-
# Some parameter documentations has been truncated, see
|
|
69
|
-
# {Dodopayments::Models::ProductCollectionCreateParams::Group} for more details.
|
|
70
|
-
#
|
|
71
|
-
# @param products [Array<Dodopayments::Models::ProductCollectionCreateParams::Group::Product>] Products in this group
|
|
72
|
-
#
|
|
73
|
-
# @param group_name [String, nil] Optional group name. Multiple groups can have null names, but named groups must
|
|
74
|
-
#
|
|
75
|
-
# @param status [Boolean, nil] Status of the group (defaults to true if not provided)
|
|
76
|
-
|
|
77
|
-
class Product < Dodopayments::Internal::Type::BaseModel
|
|
78
|
-
# @!attribute product_id
|
|
79
|
-
# Product ID to include in the group
|
|
80
|
-
#
|
|
81
|
-
# @return [String]
|
|
82
|
-
required :product_id, String
|
|
83
|
-
|
|
84
|
-
# @!attribute status
|
|
85
|
-
# Status of the product in this group (defaults to true if not provided)
|
|
86
|
-
#
|
|
87
|
-
# @return [Boolean, nil]
|
|
88
|
-
optional :status, Dodopayments::Internal::Type::Boolean, nil?: true
|
|
89
|
-
|
|
90
|
-
# @!method initialize(product_id:, status: nil)
|
|
91
|
-
# @param product_id [String] Product ID to include in the group
|
|
92
|
-
#
|
|
93
|
-
# @param status [Boolean, nil] Status of the product in this group (defaults to true if not provided)
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
end
|
|
97
|
-
end
|
|
98
|
-
end
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Dodopayments
|
|
4
|
-
module Models
|
|
5
|
-
# @see Dodopayments::Resources::ProductCollections#create
|
|
6
|
-
class ProductCollectionCreateResponse < Dodopayments::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute id
|
|
8
|
-
# Unique identifier for the product collection
|
|
9
|
-
#
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :id, String
|
|
12
|
-
|
|
13
|
-
# @!attribute brand_id
|
|
14
|
-
# Brand ID for the collection
|
|
15
|
-
#
|
|
16
|
-
# @return [String]
|
|
17
|
-
required :brand_id, String
|
|
18
|
-
|
|
19
|
-
# @!attribute created_at
|
|
20
|
-
# Timestamp when the collection was created
|
|
21
|
-
#
|
|
22
|
-
# @return [Time]
|
|
23
|
-
required :created_at, Time
|
|
24
|
-
|
|
25
|
-
# @!attribute groups
|
|
26
|
-
# Groups in this collection
|
|
27
|
-
#
|
|
28
|
-
# @return [Array<Dodopayments::Models::ProductCollectionCreateResponse::Group>]
|
|
29
|
-
required :groups,
|
|
30
|
-
-> { Dodopayments::Internal::Type::ArrayOf[Dodopayments::Models::ProductCollectionCreateResponse::Group] }
|
|
31
|
-
|
|
32
|
-
# @!attribute name
|
|
33
|
-
# Name of the collection
|
|
34
|
-
#
|
|
35
|
-
# @return [String]
|
|
36
|
-
required :name, String
|
|
37
|
-
|
|
38
|
-
# @!attribute updated_at
|
|
39
|
-
# Timestamp when the collection was last updated
|
|
40
|
-
#
|
|
41
|
-
# @return [Time]
|
|
42
|
-
required :updated_at, Time
|
|
43
|
-
|
|
44
|
-
# @!attribute description
|
|
45
|
-
# Description of the collection
|
|
46
|
-
#
|
|
47
|
-
# @return [String, nil]
|
|
48
|
-
optional :description, String, nil?: true
|
|
49
|
-
|
|
50
|
-
# @!attribute image
|
|
51
|
-
# URL of the collection image
|
|
52
|
-
#
|
|
53
|
-
# @return [String, nil]
|
|
54
|
-
optional :image, String, nil?: true
|
|
55
|
-
|
|
56
|
-
# @!method initialize(id:, brand_id:, created_at:, groups:, name:, updated_at:, description: nil, image: nil)
|
|
57
|
-
# @param id [String] Unique identifier for the product collection
|
|
58
|
-
#
|
|
59
|
-
# @param brand_id [String] Brand ID for the collection
|
|
60
|
-
#
|
|
61
|
-
# @param created_at [Time] Timestamp when the collection was created
|
|
62
|
-
#
|
|
63
|
-
# @param groups [Array<Dodopayments::Models::ProductCollectionCreateResponse::Group>] Groups in this collection
|
|
64
|
-
#
|
|
65
|
-
# @param name [String] Name of the collection
|
|
66
|
-
#
|
|
67
|
-
# @param updated_at [Time] Timestamp when the collection was last updated
|
|
68
|
-
#
|
|
69
|
-
# @param description [String, nil] Description of the collection
|
|
70
|
-
#
|
|
71
|
-
# @param image [String, nil] URL of the collection image
|
|
72
|
-
|
|
73
|
-
class Group < Dodopayments::Internal::Type::BaseModel
|
|
74
|
-
# @!attribute group_id
|
|
75
|
-
#
|
|
76
|
-
# @return [String]
|
|
77
|
-
required :group_id, String
|
|
78
|
-
|
|
79
|
-
# @!attribute products
|
|
80
|
-
#
|
|
81
|
-
# @return [Array<Dodopayments::Models::ProductCollectionCreateResponse::Group::Product>]
|
|
82
|
-
required :products,
|
|
83
|
-
-> { Dodopayments::Internal::Type::ArrayOf[Dodopayments::Models::ProductCollectionCreateResponse::Group::Product] }
|
|
84
|
-
|
|
85
|
-
# @!attribute status
|
|
86
|
-
#
|
|
87
|
-
# @return [Boolean]
|
|
88
|
-
required :status, Dodopayments::Internal::Type::Boolean
|
|
89
|
-
|
|
90
|
-
# @!attribute group_name
|
|
91
|
-
#
|
|
92
|
-
# @return [String, nil]
|
|
93
|
-
optional :group_name, String, nil?: true
|
|
94
|
-
|
|
95
|
-
# @!method initialize(group_id:, products:, status:, group_name: nil)
|
|
96
|
-
# @param group_id [String]
|
|
97
|
-
# @param products [Array<Dodopayments::Models::ProductCollectionCreateResponse::Group::Product>]
|
|
98
|
-
# @param status [Boolean]
|
|
99
|
-
# @param group_name [String, nil]
|
|
100
|
-
|
|
101
|
-
class Product < Dodopayments::Internal::Type::BaseModel
|
|
102
|
-
# @!attribute id
|
|
103
|
-
#
|
|
104
|
-
# @return [String]
|
|
105
|
-
required :id, String
|
|
106
|
-
|
|
107
|
-
# @!attribute addons_count
|
|
108
|
-
#
|
|
109
|
-
# @return [Integer]
|
|
110
|
-
required :addons_count, Integer
|
|
111
|
-
|
|
112
|
-
# @!attribute files_count
|
|
113
|
-
#
|
|
114
|
-
# @return [Integer]
|
|
115
|
-
required :files_count, Integer
|
|
116
|
-
|
|
117
|
-
# @!attribute has_credit_entitlements
|
|
118
|
-
# Whether this product has any credit entitlements attached
|
|
119
|
-
#
|
|
120
|
-
# @return [Boolean]
|
|
121
|
-
required :has_credit_entitlements, Dodopayments::Internal::Type::Boolean
|
|
122
|
-
|
|
123
|
-
# @!attribute is_recurring
|
|
124
|
-
#
|
|
125
|
-
# @return [Boolean]
|
|
126
|
-
required :is_recurring, Dodopayments::Internal::Type::Boolean
|
|
127
|
-
|
|
128
|
-
# @!attribute license_key_enabled
|
|
129
|
-
#
|
|
130
|
-
# @return [Boolean]
|
|
131
|
-
required :license_key_enabled, Dodopayments::Internal::Type::Boolean
|
|
132
|
-
|
|
133
|
-
# @!attribute meters_count
|
|
134
|
-
#
|
|
135
|
-
# @return [Integer]
|
|
136
|
-
required :meters_count, Integer
|
|
137
|
-
|
|
138
|
-
# @!attribute product_id
|
|
139
|
-
#
|
|
140
|
-
# @return [String]
|
|
141
|
-
required :product_id, String
|
|
142
|
-
|
|
143
|
-
# @!attribute status
|
|
144
|
-
#
|
|
145
|
-
# @return [Boolean]
|
|
146
|
-
required :status, Dodopayments::Internal::Type::Boolean
|
|
147
|
-
|
|
148
|
-
# @!attribute currency
|
|
149
|
-
#
|
|
150
|
-
# @return [Symbol, Dodopayments::Models::Currency, nil]
|
|
151
|
-
optional :currency, enum: -> { Dodopayments::Currency }, nil?: true
|
|
152
|
-
|
|
153
|
-
# @!attribute description
|
|
154
|
-
#
|
|
155
|
-
# @return [String, nil]
|
|
156
|
-
optional :description, String, nil?: true
|
|
157
|
-
|
|
158
|
-
# @!attribute name
|
|
159
|
-
#
|
|
160
|
-
# @return [String, nil]
|
|
161
|
-
optional :name, String, nil?: true
|
|
162
|
-
|
|
163
|
-
# @!attribute price
|
|
164
|
-
#
|
|
165
|
-
# @return [Integer, nil]
|
|
166
|
-
optional :price, Integer, nil?: true
|
|
167
|
-
|
|
168
|
-
# @!attribute price_detail
|
|
169
|
-
# One-time price details.
|
|
170
|
-
#
|
|
171
|
-
# @return [Dodopayments::Models::Price::OneTimePrice, Dodopayments::Models::Price::RecurringPrice, Dodopayments::Models::Price::UsageBasedPrice, nil]
|
|
172
|
-
optional :price_detail, union: -> { Dodopayments::Price }, nil?: true
|
|
173
|
-
|
|
174
|
-
# @!attribute tax_category
|
|
175
|
-
# Represents the different categories of taxation applicable to various products
|
|
176
|
-
# and services.
|
|
177
|
-
#
|
|
178
|
-
# @return [Symbol, Dodopayments::Models::TaxCategory, nil]
|
|
179
|
-
optional :tax_category, enum: -> { Dodopayments::TaxCategory }, nil?: true
|
|
180
|
-
|
|
181
|
-
# @!attribute tax_inclusive
|
|
182
|
-
#
|
|
183
|
-
# @return [Boolean, nil]
|
|
184
|
-
optional :tax_inclusive, Dodopayments::Internal::Type::Boolean, nil?: true
|
|
185
|
-
|
|
186
|
-
# @!method initialize(id:, addons_count:, files_count:, has_credit_entitlements:, is_recurring:, license_key_enabled:, meters_count:, product_id:, status:, currency: nil, description: nil, name: nil, price: nil, price_detail: nil, tax_category: nil, tax_inclusive: nil)
|
|
187
|
-
# Some parameter documentations has been truncated, see
|
|
188
|
-
# {Dodopayments::Models::ProductCollectionCreateResponse::Group::Product} for more
|
|
189
|
-
# details.
|
|
190
|
-
#
|
|
191
|
-
# @param id [String]
|
|
192
|
-
#
|
|
193
|
-
# @param addons_count [Integer]
|
|
194
|
-
#
|
|
195
|
-
# @param files_count [Integer]
|
|
196
|
-
#
|
|
197
|
-
# @param has_credit_entitlements [Boolean] Whether this product has any credit entitlements attached
|
|
198
|
-
#
|
|
199
|
-
# @param is_recurring [Boolean]
|
|
200
|
-
#
|
|
201
|
-
# @param license_key_enabled [Boolean]
|
|
202
|
-
#
|
|
203
|
-
# @param meters_count [Integer]
|
|
204
|
-
#
|
|
205
|
-
# @param product_id [String]
|
|
206
|
-
#
|
|
207
|
-
# @param status [Boolean]
|
|
208
|
-
#
|
|
209
|
-
# @param currency [Symbol, Dodopayments::Models::Currency, nil]
|
|
210
|
-
#
|
|
211
|
-
# @param description [String, nil]
|
|
212
|
-
#
|
|
213
|
-
# @param name [String, nil]
|
|
214
|
-
#
|
|
215
|
-
# @param price [Integer, nil]
|
|
216
|
-
#
|
|
217
|
-
# @param price_detail [Dodopayments::Models::Price::OneTimePrice, Dodopayments::Models::Price::RecurringPrice, Dodopayments::Models::Price::UsageBasedPrice, nil] One-time price details.
|
|
218
|
-
#
|
|
219
|
-
# @param tax_category [Symbol, Dodopayments::Models::TaxCategory, nil] Represents the different categories of taxation applicable to various products a
|
|
220
|
-
#
|
|
221
|
-
# @param tax_inclusive [Boolean, nil]
|
|
222
|
-
end
|
|
223
|
-
end
|
|
224
|
-
end
|
|
225
|
-
end
|
|
226
|
-
end
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Dodopayments
|
|
4
|
-
module Models
|
|
5
|
-
# @see Dodopayments::Resources::ProductCollections#delete
|
|
6
|
-
class ProductCollectionDeleteParams < Dodopayments::Internal::Type::BaseModel
|
|
7
|
-
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Dodopayments::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute id
|
|
11
|
-
#
|
|
12
|
-
# @return [String]
|
|
13
|
-
required :id, String
|
|
14
|
-
|
|
15
|
-
# @!method initialize(id:, request_options: {})
|
|
16
|
-
# @param id [String]
|
|
17
|
-
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Dodopayments
|
|
4
|
-
module Models
|
|
5
|
-
# @see Dodopayments::Resources::ProductCollections#list
|
|
6
|
-
class ProductCollectionListParams < Dodopayments::Internal::Type::BaseModel
|
|
7
|
-
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Dodopayments::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute archived
|
|
11
|
-
# List archived collections
|
|
12
|
-
#
|
|
13
|
-
# @return [Boolean, nil]
|
|
14
|
-
optional :archived, Dodopayments::Internal::Type::Boolean
|
|
15
|
-
|
|
16
|
-
# @!attribute brand_id
|
|
17
|
-
# Filter by Brand id
|
|
18
|
-
#
|
|
19
|
-
# @return [String, nil]
|
|
20
|
-
optional :brand_id, String
|
|
21
|
-
|
|
22
|
-
# @!attribute page_number
|
|
23
|
-
# Page number default is 0
|
|
24
|
-
#
|
|
25
|
-
# @return [Integer, nil]
|
|
26
|
-
optional :page_number, Integer
|
|
27
|
-
|
|
28
|
-
# @!attribute page_size
|
|
29
|
-
# Page size default is 10 max is 100
|
|
30
|
-
#
|
|
31
|
-
# @return [Integer, nil]
|
|
32
|
-
optional :page_size, Integer
|
|
33
|
-
|
|
34
|
-
# @!method initialize(archived: nil, brand_id: nil, page_number: nil, page_size: nil, request_options: {})
|
|
35
|
-
# @param archived [Boolean] List archived collections
|
|
36
|
-
#
|
|
37
|
-
# @param brand_id [String] Filter by Brand id
|
|
38
|
-
#
|
|
39
|
-
# @param page_number [Integer] Page number default is 0
|
|
40
|
-
#
|
|
41
|
-
# @param page_size [Integer] Page size default is 10 max is 100
|
|
42
|
-
#
|
|
43
|
-
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|