sellapp 0.1.1 → 0.2.1
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/README.md +2 -2
- data/docs/methods.md +2 -1
- data/docs/migration.md +20 -2
- data/docs/resources/coupons.md +24 -0
- data/docs/resources/customer_portal.md +47 -105
- data/docs/resources/product_variants.md +12 -0
- data/docs/resources/promotions.md +40 -0
- data/docs/resources/subscriptions.md +223 -145
- data/docs/resources/subscriptions_actions.md +178 -0
- data/lib/sellapp/add_ons/create_add_on_draft_request_application_json_property_variant.rb +4 -0
- data/lib/sellapp/blacklists/batch_create_coupons_request_application_json_property_resources_item.rb +11 -3
- data/lib/sellapp/blacklists/batch_create_coupons_response_value_200_application_jso_0ec85b96d02637d5.rb +8 -0
- data/lib/sellapp/blacklists/batch_delete_coupons_response_value_200_application_jso_e32fc6c28be8fcb0.rb +8 -0
- data/lib/sellapp/blacklists/batch_update_coupons_request_application_json_property_f2f17c43405120cd.rb +11 -3
- data/lib/sellapp/blacklists/batch_update_coupons_response_value_200_application_jso_da9a40b68416b178.rb +8 -0
- data/lib/sellapp/blacklists/create_coupon_response_value_201_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/delete_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/get_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/list_coupons_response_value_200_application_json_property_data_item.rb +8 -0
- data/lib/sellapp/blacklists/replace_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/sdk_create_coupon_request_application_json.rb +11 -3
- data/lib/sellapp/blacklists/sdk_replace_coupon_request_application_json.rb +11 -3
- data/lib/sellapp/blacklists/sdk_update_coupon_request_application_json.rb +11 -3
- data/lib/sellapp/blacklists/sdk_v_2_create_coupon_request_application_json.rb +11 -3
- data/lib/sellapp/blacklists/sdk_v_2_replace_coupon_request_application_json.rb +11 -3
- data/lib/sellapp/blacklists/sdk_v_2_update_coupon_request_application_json.rb +11 -3
- data/lib/sellapp/blacklists/search_coupons_response_value_200_application_json_property_data_item.rb +8 -0
- data/lib/sellapp/blacklists/update_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/v_2_batch_create_coupons_request_application_json_prope_ed426eec0e25abbc.rb +11 -3
- data/lib/sellapp/blacklists/v_2_batch_create_coupons_response_value_200_application_9b1202494c86b4da.rb +8 -0
- data/lib/sellapp/blacklists/v_2_batch_delete_coupons_response_value_200_application_c698eceb577c6910.rb +8 -0
- data/lib/sellapp/blacklists/v_2_batch_update_coupons_request_application_json_prope_d8687eabdd5373b5.rb +11 -3
- data/lib/sellapp/blacklists/v_2_batch_update_coupons_response_value_200_application_55d31662a4c43bd7.rb +8 -0
- data/lib/sellapp/blacklists/v_2_create_coupon_response_value_201_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/v_2_delete_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/v_2_get_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/v_2_list_coupons_response_value_200_application_json_property_data_item.rb +8 -0
- data/lib/sellapp/blacklists/v_2_replace_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/blacklists/v_2_search_coupons_response_value_200_application_json_5ca05afc2ac6576b.rb +8 -0
- data/lib/sellapp/blacklists/v_2_update_coupon_response_value_200_application_json_property_data.rb +8 -0
- data/lib/sellapp/bundle_items/get_bundle_item_response_value_200_application_json_pro_456afa58904c31c7.rb +32 -0
- data/lib/sellapp/bundle_items/get_bundle_item_response_value_200_application_json_pro_7435fb7df5c9edd7.rb +7 -0
- data/lib/sellapp/bundle_items/get_bundle_item_response_value_200_application_json_pro_99eef800c9794d5f.rb +36 -0
- data/lib/sellapp/bundle_items/get_bundle_item_response_value_200_application_json_pro_f08bbe34dba8d405.rb +38 -1
- data/lib/sellapp/bundle_items/list_bundle_items_response_value_200_application_json_p_258a94f35072eea6.rb +32 -0
- data/lib/sellapp/bundle_items/list_bundle_items_response_value_200_application_json_p_4bb397983e1c6fe5.rb +38 -1
- data/lib/sellapp/bundle_items/list_bundle_items_response_value_200_application_json_p_d1306fd6952625d2.rb +7 -0
- data/lib/sellapp/bundle_items/list_bundle_items_response_value_200_application_json_p_e27cb1b411a87d7c.rb +36 -0
- data/lib/sellapp/bundle_items/list_bundle_items_response_value_200_application_json_property_data_item.rb +82 -1
- data/lib/sellapp/charges.rb +1 -1
- data/lib/sellapp/client.rb +4 -0
- data/lib/sellapp/coupons.rb +66 -30
- data/lib/sellapp/customer_portal/cancel_customer_subscription_at_period_end_response_val_1b237a9df5e2d312.rb +21 -46
- data/lib/sellapp/customer_portal/cancel_customer_subscription_immediately_response_value_4f922b4e84788fe6.rb +46 -1
- data/lib/sellapp/customer_portal/confirm_customer_subscription_plan_change_request_appli_0579929af2b2a3b6.rb +7 -0
- data/lib/sellapp/customer_portal/confirm_customer_subscription_plan_change_response_valu_61645c9ab28a4ddf.rb +46 -1
- data/lib/sellapp/customer_portal/confirm_customer_subscription_renewal_date_change_reque_035e9e971f9cbb0d.rb +7 -0
- data/lib/sellapp/customer_portal/confirm_customer_subscription_renewal_date_change_respo_999430742430048f.rb +46 -1
- data/lib/sellapp/customer_portal/customer_portal_subscription.rb +68 -0
- data/lib/sellapp/customer_portal/customer_portal_subscription_plan.rb +40 -0
- data/lib/sellapp/customer_portal/get_customer_portal_profile_response_value_200_applicat_033e1c78cc821142.rb +1 -1
- data/lib/sellapp/customer_portal/get_customer_portal_profile_response_value_200_applicat_b14d0da3c725d58c.rb +42 -1
- data/lib/sellapp/customer_portal/get_customer_portal_subscription_capabilities_response_08ac914b08743f57.rb +12 -8
- data/lib/sellapp/customer_portal/get_customer_portal_subscription_capabilities_response_813909143cbd1ea5.rb +4 -4
- data/lib/sellapp/customer_portal/pause_customer_subscription_response_value_200_applicat_af208d6ddbfa995f.rb +46 -1
- data/lib/sellapp/customer_portal/preview_customer_subscription_plan_change_request_appli_12704d044b8d0d74.rb +7 -0
- data/lib/sellapp/customer_portal/preview_customer_subscription_plan_change_response_valu_292b713e27004f87.rb +34 -1
- data/lib/sellapp/customer_portal/preview_customer_subscription_renewal_date_change_reque_c9cc0e0cfdafa916.rb +7 -0
- data/lib/sellapp/customer_portal/{preview_customer_subscription_renewal_date_change_respo_f49367224934c0ce.rb → preview_customer_subscription_renewal_date_change_respo_0e58bc1a5b267b4b.rb} +1 -1
- data/lib/sellapp/customer_portal/preview_customer_subscription_renewal_date_change_respo_8bb4aa86f1b8a82c.rb +34 -1
- data/lib/sellapp/customer_portal/resume_customer_subscription_response_value_200_applica_1d78041ee517c32a.rb +46 -1
- data/lib/sellapp/customer_portal/sdk_cancel_customer_subscription_at_period_end_request_application_json.rb +2 -19
- data/lib/sellapp/customer_portal/sdk_cancel_customer_subscription_immediately_response_v_3cdcf09c81010590.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_confirm_customer_subscription_plan_change_request_application_json.rb +38 -1
- data/lib/sellapp/customer_portal/sdk_confirm_customer_subscription_plan_change_response_7b34bd27e3728a61.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_confirm_customer_subscription_renewal_date_change_r_1d60f8388ee9d4a0.rb +34 -1
- data/lib/sellapp/customer_portal/sdk_confirm_customer_subscription_renewal_date_change_r_854560ae195509dc.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_get_customer_portal_subscription_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_list_customer_portal_subscriptions_response_value_2_b195e1339dee14ac.rb +13 -4
- data/lib/sellapp/customer_portal/sdk_pause_customer_subscription_request_application_json.rb +26 -1
- data/lib/sellapp/customer_portal/sdk_pause_customer_subscription_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_preview_customer_subscription_plan_change_request_application_json.rb +34 -1
- data/lib/sellapp/customer_portal/sdk_preview_customer_subscription_plan_change_response_33f099059c9fe4e9.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_preview_customer_subscription_renewal_date_change_r_1c87ad45642cd397.rb +30 -1
- data/lib/sellapp/customer_portal/sdk_preview_customer_subscription_renewal_date_change_r_cfac8f32a7fa71d1.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_resume_customer_subscription_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_update_customer_subscription_payment_method_request_application_json.rb +21 -1
- data/lib/sellapp/customer_portal/sdk_update_customer_subscription_payment_method_respons_e87ff28ee5c705ab.rb +21 -1
- data/lib/sellapp/customer_portal/update_customer_portal_profile_response_value_200_appli_0d05a9df88ca5004.rb +1 -1
- data/lib/sellapp/customer_portal/update_customer_portal_profile_response_value_200_appli_f426cb31a5e240ec.rb +1 -1
- data/lib/sellapp/customer_portal/update_customer_subscription_payment_method_response_va_9476695c7a3f9972.rb +46 -1
- data/lib/sellapp/customer_portal.rb +61 -141
- data/lib/sellapp/customers/create_customer_response_value_201_application_json_pro_5eb217ae2306965e.rb +14 -1
- data/lib/sellapp/customers/update_customer_response_value_200_application_json_pro_7a6ab0adbc66a3b1.rb +1 -1
- data/lib/sellapp/customers/upsert_customer_response_value_200_application_json_pro_06ad2a443d9195b2.rb +1 -1
- data/lib/sellapp/events/list_integration_events_response_value_200_application_7182e7ce95bef432.rb +1 -1
- data/lib/sellapp/events/list_order_events_response_value_200_application_json_p_87793fc0f01adccc.rb +1 -1
- data/lib/sellapp/inflections.rb +198 -31
- data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_3708bfc37113f5b2.rb +2 -2
- data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_8492037e31dd7910.rb +1 -30
- data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_84da4d86bf3fba9a.rb +36 -0
- data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_8e002bfe1446badd.rb +1 -1
- data/lib/sellapp/invoices/create_invoice_refund_response_value_200_application_js_1e5be181ec12a31d.rb +1 -26
- data/lib/sellapp/invoices/create_invoice_refund_response_value_200_application_js_3c317881624a6039.rb +1 -1
- data/lib/sellapp/invoices/create_invoice_refund_response_value_200_application_js_73b3e46459410996.rb +1 -1
- data/lib/sellapp/invoices/create_invoice_refund_response_value_200_application_js_eaf53eda5392eb57.rb +1 -66
- data/lib/sellapp/invoices/create_invoice_response_value_201_application_json_prop_568491d53b76c0cd.rb +1 -1
- data/lib/sellapp/invoices/create_invoice_response_value_201_application_json_prop_8a7c4bb7c689f40c.rb +1 -1
- data/lib/sellapp/invoices/create_invoice_response_value_201_application_json_prop_90e407ab0d1b806a.rb +1 -1
- data/lib/sellapp/invoices/get_invoice_response_value_200_application_json_propert_64d7085a629bace5.rb +1 -1
- data/lib/sellapp/invoices/get_invoice_response_value_200_application_json_propert_68c7afb551a5a704.rb +1 -1
- data/lib/sellapp/invoices/get_invoice_response_value_200_application_json_propert_977cfa2a7dfe08b5.rb +1 -1
- data/lib/sellapp/invoices/get_invoice_response_value_200_application_json_property_data.rb +1 -1
- data/lib/sellapp/invoices/issue_replacement_for_completed_invoice_response_value_3f8b4996b36e812d.rb +1 -1
- data/lib/sellapp/invoices/issue_replacement_for_completed_invoice_response_value_4f5871d1b8874d52.rb +1 -1
- data/lib/sellapp/invoices/issue_replacement_for_completed_invoice_response_value_597d45fa5600b601.rb +1 -1
- data/lib/sellapp/invoices/list_invoices_response_value_200_application_json_prope_7a67ff66a39e061e.rb +1 -1
- data/lib/sellapp/invoices/list_invoices_response_value_200_application_json_prope_7e6f99cc87da4498.rb +1 -1
- data/lib/sellapp/invoices/list_invoices_response_value_200_application_json_prope_8ba19c6e5bb23bcd.rb +1 -1
- data/lib/sellapp/invoices/list_invoices_response_value_200_application_json_property_data_item.rb +1 -1
- data/lib/sellapp/invoices/mark_pending_invoice_completed_response_value_200_appli_402285b8ef24a272.rb +1 -1
- data/lib/sellapp/invoices/mark_pending_invoice_completed_response_value_200_appli_52a1d381df5ea1b8.rb +1 -1
- data/lib/sellapp/invoices/mark_pending_invoice_completed_response_value_200_appli_b660b430b1ec4fe3.rb +1 -1
- data/lib/sellapp/invoices/mark_pending_invoice_voided_response_value_200_applicat_39144e324756b3d0.rb +1 -1
- data/lib/sellapp/invoices/mark_pending_invoice_voided_response_value_200_applicat_676dbb65ddb39d6d.rb +1 -1
- data/lib/sellapp/invoices/mark_pending_invoice_voided_response_value_200_applicat_e6145e63ddac1e79.rb +1 -1
- data/lib/sellapp/invoices/sdk_issue_replacement_for_completed_invoice_response_va_59dad8110215972f.rb +1 -1
- data/lib/sellapp/invoices/sdk_mark_pending_invoice_completed_response_value_200_application_json.rb +1 -1
- data/lib/sellapp/invoices/sdk_mark_pending_invoice_voided_response_value_200_application_json.rb +1 -1
- data/lib/sellapp/invoices/sdk_update_invoice_status_response_value_200_application_json.rb +1 -1
- data/lib/sellapp/invoices/search_invoices_response_value_200_application_json_pro_629157f0f628bf19.rb +1 -1
- data/lib/sellapp/invoices/search_invoices_response_value_200_application_json_pro_8816c57834d18126.rb +1 -1
- data/lib/sellapp/invoices/search_invoices_response_value_200_application_json_pro_faae45d8b445442d.rb +1 -1
- data/lib/sellapp/invoices/search_invoices_response_value_200_application_json_property_data_item.rb +1 -1
- data/lib/sellapp/invoices/update_invoice_status_response_value_200_application_js_2a45851a5bac959c.rb +1 -1
- data/lib/sellapp/invoices/update_invoice_status_response_value_200_application_js_596c8c35d2776a6e.rb +1 -1
- data/lib/sellapp/invoices/update_invoice_status_response_value_200_application_js_5ddc5eec93b61311.rb +1 -1
- data/lib/sellapp/invoices.rb +7 -7
- data/lib/sellapp/orders.rb +2 -2
- data/lib/sellapp/product_variants/batch_create_product_variants_request_application_json_f7955cb84807f42d.rb +4 -0
- data/lib/sellapp/product_variants/batch_create_product_variants_response_value_200_applic_55397d6292d490d7.rb +32 -0
- data/lib/sellapp/product_variants/batch_create_product_variants_response_value_200_applic_5d961676137de8ec.rb +7 -0
- data/lib/sellapp/product_variants/batch_create_product_variants_response_value_200_applic_86f522bd59f541d6.rb +36 -0
- data/lib/sellapp/product_variants/batch_create_product_variants_response_value_200_applic_f8d8e72fd1ac31df.rb +7 -3
- data/lib/sellapp/product_variants/batch_delete_product_variants_response_value_200_applic_46743e853349a693.rb +82 -1
- data/lib/sellapp/product_variants/batch_delete_product_variants_response_value_200_applic_4f7fc18215784387.rb +32 -0
- data/lib/sellapp/product_variants/batch_delete_product_variants_response_value_200_applic_61d3fe356156617a.rb +7 -0
- data/lib/sellapp/product_variants/batch_delete_product_variants_response_value_200_applic_f537bac07a5096f6.rb +38 -1
- data/lib/sellapp/product_variants/batch_delete_product_variants_response_value_200_applic_fbb197394e0578d4.rb +36 -0
- data/lib/sellapp/product_variants/batch_update_product_variants_request_application_json_204c51466c3d72a7.rb +11 -3
- data/lib/sellapp/product_variants/batch_update_product_variants_response_value_200_applic_0b5432f752b791c7.rb +36 -0
- data/lib/sellapp/product_variants/batch_update_product_variants_response_value_200_applic_25eec2dabeeb9335.rb +82 -1
- data/lib/sellapp/product_variants/batch_update_product_variants_response_value_200_applic_3bcbc4ae6bd62480.rb +38 -1
- data/lib/sellapp/product_variants/batch_update_product_variants_response_value_200_applic_62b962d54b7dcfe5.rb +7 -0
- data/lib/sellapp/product_variants/batch_update_product_variants_response_value_200_applic_897de6fe082dc04a.rb +32 -0
- data/lib/sellapp/product_variants/create_product_variant_response_value_201_application_j_432a56466e0dfcb1.rb +36 -0
- data/lib/sellapp/product_variants/create_product_variant_response_value_201_application_j_9ab3a548f6675913.rb +7 -0
- data/lib/sellapp/product_variants/create_product_variant_response_value_201_application_j_ec452f5259d08899.rb +38 -1
- data/lib/sellapp/product_variants/create_product_variant_response_value_201_application_j_fcb291d38e267391.rb +32 -0
- data/lib/sellapp/product_variants/create_product_variant_response_value_201_application_json_property_data.rb +82 -1
- data/lib/sellapp/product_variants/delete_product_variant_response_value_200_application_j_1625f933ea9ef222.rb +38 -1
- data/lib/sellapp/product_variants/delete_product_variant_response_value_200_application_j_253e3aa89c30ea4d.rb +32 -0
- data/lib/sellapp/product_variants/delete_product_variant_response_value_200_application_j_512136b8d3549914.rb +36 -0
- data/lib/sellapp/product_variants/delete_product_variant_response_value_200_application_j_eee56a417d83c915.rb +7 -0
- data/lib/sellapp/product_variants/delete_product_variant_response_value_200_application_json_property_data.rb +82 -1
- data/lib/sellapp/product_variants/get_product_variant_response_value_200_application_json_39a20656a1877d3e.rb +38 -1
- data/lib/sellapp/product_variants/get_product_variant_response_value_200_application_json_5c36c0aed9bc127b.rb +32 -0
- data/lib/sellapp/product_variants/get_product_variant_response_value_200_application_json_7d90752def54f603.rb +7 -0
- data/lib/sellapp/product_variants/get_product_variant_response_value_200_application_json_a5840703626bd079.rb +36 -0
- data/lib/sellapp/product_variants/get_product_variant_response_value_200_application_json_property_data.rb +82 -1
- data/lib/sellapp/product_variants/list_product_variants_response_value_200_application_js_27ddb830e302cbb4.rb +38 -1
- data/lib/sellapp/product_variants/list_product_variants_response_value_200_application_js_61bd6a02c1541ad3.rb +32 -0
- data/lib/sellapp/product_variants/list_product_variants_response_value_200_application_js_9a92f855b36ba154.rb +36 -0
- data/lib/sellapp/product_variants/list_product_variants_response_value_200_application_js_e6e4f34bc9c5ef21.rb +7 -0
- data/lib/sellapp/product_variants/replace_product_variant_pricing_request_application_jso_5fddb64b863cba15.rb +36 -0
- data/lib/sellapp/product_variants/replace_product_variant_pricing_request_application_jso_e8b8f08422f94a24.rb +32 -0
- data/lib/sellapp/product_variants/replace_product_variant_pricing_request_application_jso_f0c3d4b7add5a74b.rb +32 -0
- data/lib/sellapp/product_variants/replace_product_variant_pricing_request_application_jso_f2e2f3da76859370.rb +7 -3
- data/lib/sellapp/product_variants/replace_product_variant_pricing_response_value_200_appl_02625ea2a00f5c11.rb +7 -0
- data/lib/sellapp/product_variants/replace_product_variant_pricing_response_value_200_appl_3952043ad627e3ba.rb +38 -1
- data/lib/sellapp/product_variants/replace_product_variant_pricing_response_value_200_appl_49b9539bb3faf3af.rb +32 -0
- data/lib/sellapp/product_variants/replace_product_variant_pricing_response_value_200_appl_938bcba5499e5ba2.rb +36 -0
- data/lib/sellapp/product_variants/replace_product_variant_pricing_response_value_200_appl_a48e0d3056849ba8.rb +82 -1
- data/lib/sellapp/product_variants/replace_product_variant_with_put_response_value_200_app_2a107fa42e603ca6.rb +32 -0
- data/lib/sellapp/product_variants/replace_product_variant_with_put_response_value_200_app_35eb6a14d86193b9.rb +36 -0
- data/lib/sellapp/product_variants/replace_product_variant_with_put_response_value_200_app_37053f7be0d6429f.rb +38 -1
- data/lib/sellapp/product_variants/replace_product_variant_with_put_response_value_200_app_4bee4b00b932c7fb.rb +7 -0
- data/lib/sellapp/product_variants/replace_product_variant_with_put_response_value_200_app_f261708d7ab0e92e.rb +82 -1
- data/lib/sellapp/product_variants/sdk_batch_delete_product_variants_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/sdk_batch_update_product_variants_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/sdk_create_product_variant_request_application_json.rb +4 -0
- data/lib/sellapp/product_variants/sdk_delete_product_variant_request_application_json.rb +7 -0
- data/lib/sellapp/product_variants/sdk_delete_product_variant_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/sdk_get_product_variant_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/sdk_replace_product_variant_pricing_request_application_json.rb +1 -1
- data/lib/sellapp/product_variants/sdk_replace_product_variant_pricing_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/sdk_replace_product_variant_with_put_request_application_json.rb +11 -3
- data/lib/sellapp/product_variants/sdk_replace_product_variant_with_put_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/sdk_search_product_variants_response_value_200_application_json.rb +30 -1
- data/lib/sellapp/product_variants/sdk_update_product_variant_pricing_request_application_json.rb +1 -1
- data/lib/sellapp/product_variants/sdk_update_product_variant_pricing_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/sdk_update_product_variant_request_application_json.rb +11 -3
- data/lib/sellapp/product_variants/sdk_update_product_variant_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/product_variants/search_product_variants_response_value_200_application_06f0e191901d4516.rb +36 -0
- data/lib/sellapp/product_variants/search_product_variants_response_value_200_application_3c00d6fbb94ff355.rb +32 -0
- data/lib/sellapp/product_variants/search_product_variants_response_value_200_application_6c2a7aac716e111e.rb +7 -0
- data/lib/sellapp/product_variants/search_product_variants_response_value_200_application_d28e51b3bfad1a5c.rb +38 -1
- data/lib/sellapp/product_variants/search_product_variants_response_value_200_application_e2c2895b71723d71.rb +82 -1
- data/lib/sellapp/product_variants/update_product_variant_pricing_request_application_json_32174a021ed2b562.rb +36 -0
- data/lib/sellapp/product_variants/update_product_variant_pricing_request_application_json_64bacb17d0182259.rb +32 -0
- data/lib/sellapp/product_variants/update_product_variant_pricing_request_application_json_d05e0aaddb671184.rb +32 -0
- data/lib/sellapp/product_variants/update_product_variant_pricing_request_application_json_property_pricing.rb +7 -3
- data/lib/sellapp/product_variants/update_product_variant_pricing_response_value_200_appli_7eb4581690d93d51.rb +36 -0
- data/lib/sellapp/product_variants/update_product_variant_pricing_response_value_200_appli_86f48bf6582b3fb4.rb +7 -0
- data/lib/sellapp/product_variants/update_product_variant_pricing_response_value_200_appli_a08396f8f7e99a40.rb +82 -1
- data/lib/sellapp/product_variants/update_product_variant_pricing_response_value_200_appli_ea4e2475c5e43cf1.rb +38 -1
- data/lib/sellapp/product_variants/update_product_variant_pricing_response_value_200_appli_ea785bdd54e04c3b.rb +32 -0
- data/lib/sellapp/product_variants/update_product_variant_response_value_200_application_j_3e8ceee3996cb7ce.rb +36 -0
- data/lib/sellapp/product_variants/update_product_variant_response_value_200_application_j_5a00baba4018ffc5.rb +38 -1
- data/lib/sellapp/product_variants/update_product_variant_response_value_200_application_j_dc7155b2f60bfa67.rb +32 -0
- data/lib/sellapp/product_variants/update_product_variant_response_value_200_application_j_f6e8ecea84932799.rb +7 -0
- data/lib/sellapp/product_variants/update_product_variant_response_value_200_application_json_property_data.rb +82 -1
- data/lib/sellapp/product_variants.rb +25 -3
- data/lib/sellapp/products/create_product_request_application_json_property_variants_item.rb +4 -0
- data/lib/sellapp/promotions/create_promotion_response_value_201_application_json_property_data.rb +20 -0
- data/lib/sellapp/promotions/delete_promotion_response_value_200_application_json_property_data.rb +20 -0
- data/lib/sellapp/promotions/get_promotion_response_value_200_application_json_property_data.rb +20 -0
- data/lib/sellapp/promotions/replace_promotion_response_value_200_application_json_property_data.rb +20 -0
- data/lib/sellapp/promotions/restore_promotion_response_value_200_application_json_property_data.rb +20 -0
- data/lib/sellapp/promotions/sdk_create_promotion_request_application_json.rb +20 -0
- data/lib/sellapp/promotions/sdk_replace_promotion_request_application_json.rb +20 -0
- data/lib/sellapp/promotions/sdk_restore_promotion_request_application_json.rb +20 -0
- data/lib/sellapp/promotions/sdk_update_promotion_request_application_json.rb +20 -0
- data/lib/sellapp/promotions/update_promotion_response_value_200_application_json_property_data.rb +20 -0
- data/lib/sellapp/promotions.rb +62 -2
- data/lib/sellapp/shared/batch_create_coupons_response_value_201_application_jso_a0caeba3fad6205f.rb +8 -0
- data/lib/sellapp/shared/batch_create_product_variants_response_value_201_applic_0bc62301b27d4389.rb +82 -1
- data/lib/sellapp/shared/batch_create_product_variants_response_value_201_applic_4412aa60f61be3e5.rb +32 -0
- data/lib/sellapp/shared/batch_create_product_variants_response_value_201_applic_52153f56c59444b3.rb +36 -0
- data/lib/sellapp/shared/batch_create_product_variants_response_value_201_applic_82b197a914cf0ccf.rb +38 -1
- data/lib/sellapp/shared/batch_create_product_variants_response_value_201_applic_df9a9910eb6198f0.rb +7 -0
- data/lib/sellapp/shared/create_checkout_session_response_value_201_application_c01eb75b6ba1d484.rb +1 -1
- data/lib/sellapp/shared/create_checkout_session_response_value_201_application_d7b2177a5c5c7834.rb +7 -0
- data/lib/sellapp/shared/sdk_batch_create_product_variants_response_value_201_application_json.rb +21 -1
- data/lib/sellapp/shared/upsert_customer_response_value_201_application_json_pro_0c835817b71b1115.rb +1 -1
- data/lib/sellapp/shared/v_2_batch_create_coupons_response_value_201_application_2470749202844407.rb +8 -0
- data/lib/sellapp/subscriptions/cancel_subscription_at_period_end_response_value_200_ap_6409adac3c0f0072.rb +9 -1
- data/lib/sellapp/subscriptions/cancel_subscription_immediately_response_value_200_appl_e9e78022e05c4ccb.rb +9 -1
- data/lib/sellapp/{customer_portal/cancel_customer_subscription_at_period_end_response_val_400775a4a08b1f68.rb → subscriptions/cancel_subscription_response_value_200_application_json_e2ce1ae55aff4517.rb} +3 -3
- data/lib/sellapp/subscriptions/cancel_subscription_response_value_200_application_json_property_data.rb +76 -11
- data/lib/sellapp/subscriptions/confirm_subscription_plan_change_response_value_200_app_165ae818f15da5ad.rb +76 -0
- data/lib/sellapp/subscriptions/confirm_subscription_renewal_date_change_response_value_003754f9ed1da158.rb +9 -1
- data/lib/sellapp/subscriptions/dismiss_subscription_action_response_value_200_applicat_6a1500e747207621.rb +76 -0
- data/lib/sellapp/subscriptions/get_subscription_action_response_value_200_application_b18090f02f1e4c68.rb +76 -0
- data/lib/sellapp/subscriptions/get_subscription_response_value_200_application_json_pr_02d4ff7e080fa2c4.rb +1 -1
- data/lib/sellapp/subscriptions/get_subscription_response_value_200_application_json_property_data.rb +143 -1
- data/lib/sellapp/subscriptions/keep_subscription_response_value_200_application_json_property_data.rb +76 -0
- data/lib/sellapp/subscriptions/pause_subscription_response_value_200_application_json_property_data.rb +9 -1
- data/lib/sellapp/subscriptions/preview_subscription_plan_change_response_value_200_app_7c013044a3b1c14f.rb +7 -0
- data/lib/sellapp/subscriptions/preview_subscription_plan_change_response_value_200_app_81f8bf9583de2c22.rb +48 -0
- data/lib/sellapp/subscriptions/resume_subscription_response_value_200_application_json_property_data.rb +9 -1
- data/lib/sellapp/subscriptions/sdk_confirm_subscription_plan_change_response_value_200_application_json.rb +36 -0
- data/lib/sellapp/subscriptions/sdk_dismiss_subscription_action_request_application_json.rb +42 -0
- data/lib/sellapp/subscriptions/sdk_dismiss_subscription_action_response_value_200_application_json.rb +32 -0
- data/lib/sellapp/subscriptions/sdk_get_subscription_action_response_value_200_application_json.rb +27 -0
- data/lib/sellapp/subscriptions/sdk_get_subscription_response_value_200_application_json.rb +21 -1
- data/lib/sellapp/{customer_portal/cancel_customer_subscription_at_period_end_response_val_e11ff4f0b23dea7a.rb → subscriptions/sdk_keep_subscription_request_application_json.rb} +12 -5
- data/lib/sellapp/subscriptions/sdk_keep_subscription_response_value_200_application_json.rb +32 -0
- data/lib/sellapp/subscriptions/sdk_list_subscription_actions_response_value_200_application_json.rb +7 -0
- data/lib/sellapp/subscriptions/sdk_list_subscriptions_response_value_200_application_json.rb +1 -30
- data/lib/sellapp/subscriptions/sdk_preview_subscription_plan_change_response_value_200_application_json.rb +32 -0
- data/lib/sellapp/subscriptions/sdk_resume_subscription_request_application_json.rb +1 -21
- data/lib/sellapp/subscriptions/sdk_search_subscriptions_request_application_json.rb +14 -6
- data/lib/sellapp/subscriptions/sdk_search_subscriptions_response_value_200_application_json.rb +1 -1
- data/lib/sellapp/subscriptions/sdk_update_subscription_payment_method_request_application_json.rb +26 -1
- data/lib/sellapp/subscriptions/sdk_update_subscription_payment_method_response_value_2_0e7dda95f205bad2.rb +36 -0
- data/lib/sellapp/subscriptions/search_subscriptions_request_application_json_property_d64a9058144ab025.rb +7 -0
- data/lib/sellapp/subscriptions/search_subscriptions_request_application_json_property_filters_item.rb +44 -0
- data/lib/sellapp/subscriptions/search_subscriptions_request_application_json_property_includes_item.rb +7 -0
- data/lib/sellapp/subscriptions/search_subscriptions_request_application_json_property_search.rb +7 -0
- data/lib/sellapp/subscriptions/search_subscriptions_request_application_json_property_sort_item.rb +32 -0
- data/lib/sellapp/subscriptions/subscription_plan_change_preview_payload.rb +44 -0
- data/lib/sellapp/subscriptions/update_subscription_payment_method_response_value_200_a_ef70359cc2691f13.rb +76 -0
- data/lib/sellapp/subscriptions.rb +166 -89
- data/lib/sellapp/subscriptions_actions.rb +116 -0
- data/lib/sellapp/types/batch_create_coupons_request_application_json_property_23b9d0de383242f7.rb +13 -0
- data/lib/sellapp/types/batch_create_coupons_response_value_200_application_jso_eb3c4879ea3d5cdf.rb +9 -0
- data/lib/sellapp/types/batch_create_coupons_response_value_201_application_jso_aa01c651906d92eb.rb +9 -0
- data/lib/sellapp/types/batch_create_product_variants_response_value_200_applic_2942a5ba451b2584.rb +13 -0
- data/lib/sellapp/types/batch_create_product_variants_response_value_200_applic_bbc133b66c1d0323.rb +15 -0
- data/lib/sellapp/types/batch_create_product_variants_response_value_201_applic_417bb542a33a5dad.rb +9 -0
- data/lib/sellapp/types/batch_create_product_variants_response_value_201_applic_da8d9005e17ee8da.rb +9 -0
- data/lib/sellapp/types/batch_delete_coupons_response_value_200_application_jso_71ab6b253b373877.rb +9 -0
- data/lib/sellapp/types/batch_delete_product_variants_response_value_200_applic_1b82aad85abd74b1.rb +9 -0
- data/lib/sellapp/types/batch_delete_product_variants_response_value_200_applic_f87b1b150f9bf4fb.rb +9 -0
- data/lib/sellapp/types/batch_update_coupons_request_application_json_property_35c03d76d732dd87.rb +9 -0
- data/lib/sellapp/types/batch_update_coupons_response_value_200_application_jso_70356cdc744ddc9a.rb +9 -0
- data/lib/sellapp/types/batch_update_product_variants_response_value_200_applic_15d8a18d1da30e1b.rb +9 -0
- data/lib/sellapp/types/batch_update_product_variants_response_value_200_applic_9bb20266e35c9dfa.rb +9 -0
- data/lib/sellapp/types/cancel_customer_subscription_at_period_end_response_val_0bf4364417656a91.rb +20 -0
- data/lib/sellapp/types/cancel_customer_subscription_at_period_end_response_val_be50b73f3b2a4c5d.rb +16 -0
- data/lib/sellapp/types/cancel_customer_subscription_immediately_response_value_33c18cc4158d461a.rb +9 -0
- data/lib/sellapp/types/cancel_customer_subscription_immediately_response_value_f0f5854d5c8939a9.rb +9 -0
- data/lib/sellapp/types/cancel_subscription_at_period_end_response_value_200_ap_86c430098c4454c7.rb +1 -10
- data/lib/sellapp/types/cancel_subscription_immediately_response_value_200_appl_cdd6aebb6ff00a9b.rb +1 -1
- data/lib/sellapp/types/cancel_subscription_response_value_200_application_json_b4d708055e2845fd.rb +18 -0
- data/lib/sellapp/types/confirm_customer_subscription_plan_change_response_valu_89741c8c56a69118.rb +9 -0
- data/lib/sellapp/types/confirm_customer_subscription_plan_change_response_valu_8ddd853d4257e4e2.rb +9 -0
- data/lib/sellapp/types/confirm_customer_subscription_renewal_date_change_respo_022fc2b5f97e9caa.rb +9 -0
- data/lib/sellapp/types/confirm_customer_subscription_renewal_date_change_respo_ff65d280a2bd2a1d.rb +9 -0
- data/lib/sellapp/types/confirm_subscription_plan_change_response_value_200_app_67e0b5b34b4bdd4b.rb +9 -0
- data/lib/sellapp/types/confirm_subscription_plan_change_response_value_200_app_86d1f45910d1c098.rb +9 -0
- data/lib/sellapp/types/confirm_subscription_renewal_date_change_response_value_4373b33874063209.rb +1 -1
- data/lib/sellapp/types/create_coupon_response_value_201_application_json_prope_3d21ce3bd8a7aec6.rb +9 -0
- data/lib/sellapp/types/create_product_variant_response_value_201_application_j_1003c6a73ad74d04.rb +9 -0
- data/lib/sellapp/types/create_product_variant_response_value_201_application_j_7381e3761d51b935.rb +9 -0
- data/lib/sellapp/types/create_promotion_response_value_201_application_json_pr_bd065be47c0828fc.rb +9 -0
- data/lib/sellapp/types/create_webhook_channel_response_value_201_application_j_51630cf318748378.rb +5 -1
- data/lib/sellapp/types/customer_portal_subscription_status.rb +9 -0
- data/lib/sellapp/types/delete_coupon_response_value_200_application_json_prope_1ce204876f91a600.rb +9 -0
- data/lib/sellapp/types/delete_product_variant_response_value_200_application_j_643d5c5ecd83d47b.rb +9 -0
- data/lib/sellapp/types/delete_product_variant_response_value_200_application_j_fce82679919230cb.rb +9 -0
- data/lib/sellapp/types/delete_promotion_response_value_200_application_json_pr_fbb5afc20ff855eb.rb +9 -0
- data/lib/sellapp/types/dismiss_subscription_action_response_value_200_applicat_25e36f630bb4c837.rb +9 -0
- data/lib/sellapp/types/dismiss_subscription_action_response_value_200_applicat_4ae8e514091c9fa1.rb +9 -0
- data/lib/sellapp/types/get_bundle_item_response_value_200_application_json_pro_62d5618f50a224f4.rb +9 -0
- data/lib/sellapp/types/get_bundle_item_response_value_200_application_json_pro_72ff07d9a45db027.rb +9 -0
- data/lib/sellapp/types/get_coupon_response_value_200_application_json_property_data_applies_to.rb +9 -0
- data/lib/sellapp/types/get_customer_portal_subscription_capabilities_response_c7be24af2b846890.rb +17 -0
- data/lib/sellapp/types/get_product_variant_response_value_200_application_json_b31fc93bb1115ebe.rb +9 -0
- data/lib/sellapp/types/get_product_variant_response_value_200_application_json_ec26e205803b8222.rb +9 -0
- data/lib/sellapp/types/get_promotion_response_value_200_application_json_prope_d62ba91b9a406535.rb +9 -0
- data/lib/sellapp/types/get_subscription_action_response_value_200_application_889293007a3e8028.rb +9 -0
- data/lib/sellapp/types/get_subscription_action_response_value_200_application_ec4418980df7ae13.rb +9 -0
- data/lib/sellapp/types/get_subscription_capabilities_response_value_200_applic_c868953288b435f6.rb +1 -9
- data/lib/sellapp/types/get_subscription_response_value_200_application_json_pr_8daed32cf53e1f73.rb +9 -0
- data/lib/sellapp/types/get_webhook_delivery_response_value_200_application_jso_6601bea4be0273b9.rb +3 -1
- data/lib/sellapp/types/keep_subscription_response_value_200_application_json_p_3c908fdf2c78cf9e.rb +9 -0
- data/lib/sellapp/types/keep_subscription_response_value_200_application_json_p_b695d95c4d5ce2f1.rb +9 -0
- data/lib/sellapp/types/list_bundle_items_response_value_200_application_json_p_1b562b16f2d58944.rb +9 -0
- data/lib/sellapp/types/list_bundle_items_response_value_200_application_json_p_c10fbeb26cfbdbf2.rb +9 -0
- data/lib/sellapp/types/list_coupons_response_value_200_application_json_proper_c84bf0f0f40abc22.rb +9 -0
- data/lib/sellapp/types/list_product_variants_response_value_200_application_js_9e1e6577dfc20b61.rb +9 -0
- data/lib/sellapp/types/list_product_variants_response_value_200_application_js_ab1db6f992a67efe.rb +9 -0
- data/lib/sellapp/types/pause_customer_subscription_response_value_200_applicat_b28e1b2262625bb8.rb +9 -0
- data/lib/sellapp/types/pause_customer_subscription_response_value_200_applicat_b57d57be23f7f75f.rb +9 -0
- data/lib/sellapp/types/pause_subscription_response_value_200_application_json_53ce84562987d30f.rb +1 -1
- data/lib/sellapp/types/replace_coupon_response_value_200_application_json_prop_c238cac1df08d57f.rb +9 -0
- data/lib/sellapp/types/replace_product_variant_pricing_request_application_jso_2c7da99bab64b988.rb +9 -0
- data/lib/sellapp/types/replace_product_variant_pricing_request_application_jso_50a32f3b446fcfa0.rb +9 -0
- data/lib/sellapp/types/replace_product_variant_pricing_request_application_jso_9a243a8a708b319d.rb +1 -7
- data/lib/sellapp/types/replace_product_variant_pricing_request_application_jso_bfc34be01eb90e59.rb +9 -0
- data/lib/sellapp/types/replace_product_variant_pricing_response_value_200_appl_1c5c7cfaf3263839.rb +9 -0
- data/lib/sellapp/types/replace_product_variant_pricing_response_value_200_appl_56e63344ae14c210.rb +9 -0
- data/lib/sellapp/types/replace_product_variant_with_put_response_value_200_app_53e2da956105de14.rb +9 -0
- data/lib/sellapp/types/replace_product_variant_with_put_response_value_200_app_bc33ce9bb289b54b.rb +9 -0
- data/lib/sellapp/types/replace_promotion_response_value_200_application_json_p_6450f28871d5e029.rb +9 -0
- data/lib/sellapp/types/restore_promotion_response_value_200_application_json_p_75424b375358ddfe.rb +9 -0
- data/lib/sellapp/types/resume_customer_subscription_response_value_200_applica_6de065657d973ad7.rb +9 -0
- data/lib/sellapp/types/resume_customer_subscription_response_value_200_applica_998ee0d4a44cb6ca.rb +9 -0
- data/lib/sellapp/types/resume_subscription_response_value_200_application_json_2c0d4ed1aedcbdf8.rb +1 -1
- data/lib/sellapp/types/sdk_confirm_customer_subscription_plan_change_request_a_6695407027f625c3.rb +13 -0
- data/lib/sellapp/types/sdk_confirm_customer_subscription_plan_change_request_a_d564a5d9c5ebb779.rb +15 -0
- data/lib/sellapp/types/sdk_confirm_subscription_plan_change_request_applicatio_1140ddcbbca91a39.rb +1 -7
- data/lib/sellapp/types/sdk_confirm_subscription_plan_change_request_applicatio_7bb1fbcc438e7b33.rb +1 -5
- data/lib/sellapp/types/sdk_create_coupon_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_create_promotion_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_preview_customer_subscription_plan_change_request_a_e15a2021104961b5.rb +9 -0
- data/lib/sellapp/types/sdk_preview_customer_subscription_plan_change_request_a_ef0f686cfc724974.rb +9 -0
- data/lib/sellapp/types/sdk_preview_subscription_plan_change_request_applicatio_9f5e23aedb1765cc.rb +1 -1
- data/lib/sellapp/types/sdk_preview_subscription_plan_change_request_applicatio_caea84ed852ca8d4.rb +1 -1
- data/lib/sellapp/types/sdk_replace_coupon_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_replace_promotion_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_restore_promotion_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_update_coupon_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_update_promotion_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_v_2_create_coupon_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_v_2_replace_coupon_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/sdk_v_2_update_coupon_request_application_json_applies_to.rb +9 -0
- data/lib/sellapp/types/search_coupons_response_value_200_application_json_prop_7c742f2d6e7b988d.rb +9 -0
- data/lib/sellapp/types/search_product_variants_response_value_200_application_5db3416c5477bd61.rb +9 -0
- data/lib/sellapp/types/search_product_variants_response_value_200_application_fa2c20caea12af3a.rb +9 -0
- data/lib/sellapp/types/search_subscriptions_request_application_json_property_21bbb1ee157aff8f.rb +9 -0
- data/lib/sellapp/types/search_subscriptions_request_application_json_property_filters_item_type.rb +9 -0
- data/lib/sellapp/types/subscriptions_status.rb +9 -0
- data/lib/sellapp/types/update_coupon_response_value_200_application_json_prope_c3ff67e4c7f9fe53.rb +9 -0
- data/lib/sellapp/types/update_customer_subscription_payment_method_response_va_5adc7a58a6006a5d.rb +9 -0
- data/lib/sellapp/types/update_customer_subscription_payment_method_response_va_a233737e5d7ecd7c.rb +9 -0
- data/lib/sellapp/types/update_product_variant_pricing_request_application_json_06c5b996dce6bb26.rb +1 -1
- data/lib/sellapp/types/update_product_variant_pricing_request_application_json_4c0c8a8519dd9622.rb +9 -0
- data/lib/sellapp/types/update_product_variant_pricing_request_application_json_6d20a5fc97b581b4.rb +9 -0
- data/lib/sellapp/types/update_product_variant_pricing_request_application_json_7988a8bcd048e2e2.rb +9 -0
- data/lib/sellapp/types/update_product_variant_pricing_response_value_200_appli_27b3b5e91f833702.rb +9 -0
- data/lib/sellapp/types/update_product_variant_pricing_response_value_200_appli_9d1bc81d5c724b88.rb +9 -0
- data/lib/sellapp/types/update_product_variant_response_value_200_application_j_8f19a9985407d82f.rb +9 -0
- data/lib/sellapp/types/update_product_variant_response_value_200_application_j_cb09690ab5cb3ac5.rb +9 -0
- data/lib/sellapp/types/update_promotion_response_value_200_application_json_pr_1fdb8ae70db0478c.rb +9 -0
- data/lib/sellapp/types/update_subscription_payment_method_response_value_200_a_84d80a8722656b6c.rb +9 -0
- data/lib/sellapp/types/update_subscription_payment_method_response_value_200_a_f7c5ce6ab0429950.rb +9 -0
- data/lib/sellapp/types/v_2_batch_create_coupons_request_application_json_prope_c6fb9db06d9f3628.rb +9 -0
- data/lib/sellapp/types/v_2_batch_create_coupons_response_value_200_application_259dceec390e1acb.rb +9 -0
- data/lib/sellapp/types/v_2_batch_create_coupons_response_value_201_application_3b0f0c24930f2601.rb +9 -0
- data/lib/sellapp/types/v_2_batch_delete_coupons_response_value_200_application_9a191f60c8e0f225.rb +9 -0
- data/lib/sellapp/types/v_2_batch_update_coupons_request_application_json_prope_2da43d7864ecadfe.rb +9 -0
- data/lib/sellapp/types/v_2_batch_update_coupons_response_value_200_application_0223795fd9bad981.rb +9 -0
- data/lib/sellapp/types/v_2_create_coupon_response_value_201_application_json_p_8e2791c35123e1ff.rb +9 -0
- data/lib/sellapp/types/v_2_delete_coupon_response_value_200_application_json_p_f113bec2aa2a6e72.rb +9 -0
- data/lib/sellapp/types/v_2_get_coupon_response_value_200_application_json_prop_084e009dbfc97a24.rb +9 -0
- data/lib/sellapp/types/v_2_list_coupons_response_value_200_application_json_pr_ef119abaf889dbc9.rb +9 -0
- data/lib/sellapp/types/v_2_replace_coupon_response_value_200_application_json_e41c4f99f44e3ce7.rb +9 -0
- data/lib/sellapp/types/v_2_search_coupons_response_value_200_application_json_361cf1cdef0fb6ea.rb +9 -0
- data/lib/sellapp/types/v_2_update_coupon_response_value_200_application_json_p_ef4ea06803ae542a.rb +9 -0
- data/lib/sellapp/version.rb +1 -1
- data/lib/sellapp/webhook_channels/create_webhook_channel_response_value_201_application_json_property_data.rb +1 -1
- data/lib/sellapp/webhook_channels/delete_webhook_channel_response_value_200_application_json_property_data.rb +1 -1
- data/lib/sellapp/webhook_channels/get_webhook_channel_response_value_200_application_json_property_data.rb +1 -1
- data/lib/sellapp/webhook_channels/list_webhook_channels_response_value_200_application_js_a1eb6b96a856726b.rb +1 -1
- data/lib/sellapp/webhook_channels/replace_webhook_channel_response_value_200_application_91bcedad7023dfdb.rb +1 -1
- data/lib/sellapp/webhook_channels/sdk_create_webhook_channel_request_application_json.rb +1 -1
- data/lib/sellapp/webhook_channels/sdk_replace_webhook_channel_request_application_json.rb +1 -1
- data/lib/sellapp/webhook_channels/sdk_search_webhook_channels_request_application_json.rb +1 -1
- data/lib/sellapp/webhook_channels/sdk_send_test_webhook_request_application_json.rb +1 -1
- data/lib/sellapp/webhook_channels/sdk_update_webhook_channel_request_application_json.rb +1 -1
- data/lib/sellapp/webhook_channels/search_webhook_channels_response_value_200_application_8b0363862f2da308.rb +1 -1
- data/lib/sellapp/webhook_channels/send_test_webhook_response_value_200_application_json_property_data.rb +1 -1
- data/lib/sellapp/webhook_channels/update_webhook_channel_response_value_200_application_json_property_data.rb +1 -1
- data/lib/sellapp/webhook_platform/get_webhook_delivery_response_value_200_application_json_property_data.rb +1 -1
- data/lib/sellapp/webhook_platform/list_webhook_deliveries_response_value_200_application_ee5250441aa280d8.rb +1 -1
- data/lib/sellapp/webhook_platform/replay_webhook_delivery_response_value_201_application_392e01c2cabfcd77.rb +1 -1
- data/rbi/sellapp/batch_create_coupons_request_application_json_property_resources_item.rbi +12 -0
- data/rbi/sellapp/batch_create_coupons_response_value_200_application_jso_0ec85b96d02637d5.rbi +12 -0
- data/rbi/sellapp/batch_create_coupons_response_value_201_application_jso_a0caeba3fad6205f.rbi +12 -0
- data/rbi/sellapp/batch_create_product_variants_request_application_json_f7955cb84807f42d.rbi +6 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_200_applic_55397d6292d490d7.rbi +30 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_200_applic_5d961676137de8ec.rbi +30 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_200_applic_86f522bd59f541d6.rbi +36 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_200_applic_f8d8e72fd1ac31df.rbi +6 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_201_applic_4412aa60f61be3e5.rbi +30 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_201_applic_52153f56c59444b3.rbi +36 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_201_applic_82b197a914cf0ccf.rbi +6 -0
- data/rbi/sellapp/batch_create_product_variants_response_value_201_applic_df9a9910eb6198f0.rbi +30 -0
- data/rbi/sellapp/batch_delete_coupons_response_value_200_application_jso_e32fc6c28be8fcb0.rbi +12 -0
- data/rbi/sellapp/batch_delete_product_variants_response_value_200_applic_4f7fc18215784387.rbi +30 -0
- data/rbi/sellapp/batch_delete_product_variants_response_value_200_applic_61d3fe356156617a.rbi +30 -0
- data/rbi/sellapp/batch_delete_product_variants_response_value_200_applic_f537bac07a5096f6.rbi +6 -0
- data/rbi/sellapp/batch_delete_product_variants_response_value_200_applic_fbb197394e0578d4.rbi +36 -0
- data/rbi/sellapp/batch_update_coupons_request_application_json_property_f2f17c43405120cd.rbi +12 -0
- data/rbi/sellapp/batch_update_coupons_response_value_200_application_jso_da9a40b68416b178.rbi +12 -0
- data/rbi/sellapp/batch_update_product_variants_request_application_json_204c51466c3d72a7.rbi +12 -0
- data/rbi/sellapp/batch_update_product_variants_response_value_200_applic_0b5432f752b791c7.rbi +36 -0
- data/rbi/sellapp/batch_update_product_variants_response_value_200_applic_3bcbc4ae6bd62480.rbi +6 -0
- data/rbi/sellapp/batch_update_product_variants_response_value_200_applic_62b962d54b7dcfe5.rbi +30 -0
- data/rbi/sellapp/batch_update_product_variants_response_value_200_applic_897de6fe082dc04a.rbi +30 -0
- data/rbi/sellapp/cancel_customer_subscription_at_period_end_response_val_1b237a9df5e2d312.rbi +18 -24
- data/rbi/sellapp/cancel_customer_subscription_immediately_response_value_4f922b4e84788fe6.rbi +18 -24
- data/rbi/sellapp/cancel_subscription_at_period_end_response_value_200_ap_6409adac3c0f0072.rbi +12 -0
- data/rbi/sellapp/cancel_subscription_immediately_response_value_200_appl_e9e78022e05c4ccb.rbi +12 -0
- data/rbi/sellapp/{list_subscriptions_response_value_200_application_json_ef5a64ce42a89897.rbi → cancel_subscription_response_value_200_application_json_e2ce1ae55aff4517.rbi} +3 -3
- data/rbi/sellapp/cancel_subscription_response_value_200_application_json_property_data.rbi +82 -16
- data/rbi/sellapp/{get_subscription_response_value_200_application_json_pr_fd726601caff080f.rbi → confirm_customer_subscription_plan_change_request_appli_0579929af2b2a3b6.rbi} +1 -1
- data/rbi/sellapp/confirm_customer_subscription_plan_change_response_valu_61645c9ab28a4ddf.rbi +18 -24
- data/rbi/sellapp/{list_subscriptions_response_value_200_application_json_5d2c3694b34cc2c9.rbi → confirm_customer_subscription_renewal_date_change_reque_035e9e971f9cbb0d.rbi} +1 -1
- data/rbi/sellapp/confirm_customer_subscription_renewal_date_change_respo_999430742430048f.rbi +18 -24
- data/rbi/sellapp/confirm_subscription_plan_change_response_value_200_app_165ae818f15da5ad.rbi +96 -0
- data/rbi/sellapp/confirm_subscription_renewal_date_change_response_value_003754f9ed1da158.rbi +12 -0
- data/rbi/sellapp/coupons.rbi +18 -6
- data/rbi/sellapp/create_add_on_draft_request_application_json_property_variant.rbi +6 -0
- data/rbi/sellapp/create_checkout_session_response_value_200_application_3708bfc37113f5b2.rbi +2 -2
- data/rbi/sellapp/create_checkout_session_response_value_200_application_84da4d86bf3fba9a.rbi +36 -0
- data/rbi/sellapp/create_checkout_session_response_value_200_application_8e002bfe1446badd.rbi +2 -2
- data/rbi/sellapp/create_checkout_session_response_value_201_application_7cb2c097a79c8ea5.rbi +2 -2
- data/rbi/sellapp/create_checkout_session_response_value_201_application_988fd4daf301651b.rbi +2 -2
- data/rbi/sellapp/create_checkout_session_response_value_201_application_d7b2177a5c5c7834.rbi +36 -0
- data/rbi/sellapp/create_coupon_response_value_201_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/create_invoice_refund_response_value_200_application_js_37f1c1845c0b0cdd.rbi +2 -2
- data/rbi/sellapp/create_invoice_response_value_201_application_json_prop_39a001660c6a4a3d.rbi +2 -2
- data/rbi/sellapp/create_product_request_application_json_property_variants_item.rbi +6 -0
- data/rbi/sellapp/create_product_variant_response_value_201_application_j_432a56466e0dfcb1.rbi +36 -0
- data/rbi/sellapp/create_product_variant_response_value_201_application_j_9ab3a548f6675913.rbi +30 -0
- data/rbi/sellapp/create_product_variant_response_value_201_application_j_ec452f5259d08899.rbi +6 -0
- data/rbi/sellapp/create_product_variant_response_value_201_application_j_fcb291d38e267391.rbi +30 -0
- data/rbi/sellapp/create_promotion_response_value_201_application_json_property_data.rbi +30 -0
- data/rbi/sellapp/customer_portal.rbi +24 -48
- data/rbi/sellapp/customer_portal_subscription.rbi +84 -0
- data/rbi/sellapp/customer_portal_subscription_plan.rbi +42 -0
- data/rbi/sellapp/delete_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/delete_product_variant_response_value_200_application_j_1625f933ea9ef222.rbi +6 -0
- data/rbi/sellapp/delete_product_variant_response_value_200_application_j_253e3aa89c30ea4d.rbi +30 -0
- data/rbi/sellapp/delete_product_variant_response_value_200_application_j_512136b8d3549914.rbi +36 -0
- data/rbi/sellapp/delete_product_variant_response_value_200_application_j_eee56a417d83c915.rbi +30 -0
- data/rbi/sellapp/delete_promotion_response_value_200_application_json_property_data.rbi +30 -0
- data/rbi/sellapp/dismiss_subscription_action_response_value_200_applicat_6a1500e747207621.rbi +96 -0
- data/rbi/sellapp/get_bundle_item_response_value_200_application_json_pro_456afa58904c31c7.rbi +30 -0
- data/rbi/sellapp/get_bundle_item_response_value_200_application_json_pro_7435fb7df5c9edd7.rbi +30 -0
- data/rbi/sellapp/get_bundle_item_response_value_200_application_json_pro_99eef800c9794d5f.rbi +36 -0
- data/rbi/sellapp/get_bundle_item_response_value_200_application_json_pro_f08bbe34dba8d405.rbi +6 -0
- data/rbi/sellapp/get_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/get_customer_portal_subscription_capabilities_response_08ac914b08743f57.rbi +12 -6
- data/rbi/sellapp/get_customer_portal_subscription_capabilities_response_813909143cbd1ea5.rbi +2 -2
- data/rbi/sellapp/get_invoice_response_value_200_application_json_propert_7fdc4821b301acdb.rbi +2 -2
- data/rbi/sellapp/get_product_variant_response_value_200_application_json_39a20656a1877d3e.rbi +6 -0
- data/rbi/sellapp/get_product_variant_response_value_200_application_json_5c36c0aed9bc127b.rbi +30 -0
- data/rbi/sellapp/get_product_variant_response_value_200_application_json_7d90752def54f603.rbi +30 -0
- data/rbi/sellapp/get_product_variant_response_value_200_application_json_a5840703626bd079.rbi +36 -0
- data/rbi/sellapp/get_promotion_response_value_200_application_json_property_data.rbi +30 -0
- data/rbi/sellapp/get_subscription_action_response_value_200_application_b18090f02f1e4c68.rbi +96 -0
- data/rbi/sellapp/get_subscription_response_value_200_application_json_pr_02d4ff7e080fa2c4.rbi +2 -2
- data/rbi/sellapp/get_subscription_response_value_200_application_json_property_data.rbi +114 -6
- data/rbi/sellapp/issue_replacement_for_completed_invoice_response_value_60f8f7e00a0130cc.rbi +2 -2
- data/rbi/sellapp/keep_subscription_response_value_200_application_json_property_data.rbi +96 -0
- data/rbi/sellapp/list_bundle_items_response_value_200_application_json_p_258a94f35072eea6.rbi +30 -0
- data/rbi/sellapp/list_bundle_items_response_value_200_application_json_p_4bb397983e1c6fe5.rbi +6 -0
- data/rbi/sellapp/list_bundle_items_response_value_200_application_json_p_d1306fd6952625d2.rbi +30 -0
- data/rbi/sellapp/list_bundle_items_response_value_200_application_json_p_e27cb1b411a87d7c.rbi +36 -0
- data/rbi/sellapp/list_coupons_response_value_200_application_json_property_data_item.rbi +12 -0
- data/rbi/sellapp/list_invoices_response_value_200_application_json_prope_3ffd725bd795802f.rbi +2 -2
- data/rbi/sellapp/list_product_variants_response_value_200_application_js_27ddb830e302cbb4.rbi +6 -0
- data/rbi/sellapp/list_product_variants_response_value_200_application_js_61bd6a02c1541ad3.rbi +30 -0
- data/rbi/sellapp/list_product_variants_response_value_200_application_js_9a92f855b36ba154.rbi +36 -0
- data/rbi/sellapp/list_product_variants_response_value_200_application_js_e6e4f34bc9c5ef21.rbi +30 -0
- data/rbi/sellapp/mark_pending_invoice_completed_response_value_200_appli_3640822bc0148ebb.rbi +2 -2
- data/rbi/sellapp/mark_pending_invoice_voided_response_value_200_applicat_323718d7621c89d3.rbi +2 -2
- data/rbi/sellapp/pause_customer_subscription_response_value_200_applicat_af208d6ddbfa995f.rbi +18 -24
- data/rbi/sellapp/pause_subscription_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/{search_subscriptions_response_value_200_application_jso_7acae8465bf50921.rbi → preview_customer_subscription_plan_change_request_appli_12704d044b8d0d74.rbi} +1 -1
- data/rbi/sellapp/preview_customer_subscription_plan_change_response_valu_292b713e27004f87.rbi +10 -34
- data/rbi/sellapp/{pause_customer_subscription_response_value_200_applicat_8bf9c73dfe762f34.rbi → preview_customer_subscription_renewal_date_change_reque_c9cc0e0cfdafa916.rbi} +1 -1
- data/rbi/sellapp/{preview_customer_subscription_renewal_date_change_respo_75f3149dcc4d5fd1.rbi → preview_customer_subscription_renewal_date_change_respo_0e58bc1a5b267b4b.rbi} +1 -1
- data/rbi/sellapp/preview_customer_subscription_renewal_date_change_respo_8bb4aa86f1b8a82c.rbi +10 -34
- data/rbi/sellapp/preview_subscription_plan_change_response_value_200_app_7c013044a3b1c14f.rbi +18 -0
- data/rbi/sellapp/preview_subscription_plan_change_response_value_200_app_81f8bf9583de2c22.rbi +54 -0
- data/rbi/sellapp/product_variants.rbi +10 -4
- data/rbi/sellapp/promotions.rbi +24 -4
- data/rbi/sellapp/replace_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/replace_product_variant_pricing_request_application_jso_5fddb64b863cba15.rbi +36 -0
- data/rbi/sellapp/replace_product_variant_pricing_request_application_jso_e8b8f08422f94a24.rbi +30 -0
- data/rbi/sellapp/replace_product_variant_pricing_request_application_jso_f0c3d4b7add5a74b.rbi +30 -0
- data/rbi/sellapp/replace_product_variant_pricing_request_application_jso_f2e2f3da76859370.rbi +6 -0
- data/rbi/sellapp/replace_product_variant_pricing_response_value_200_appl_02625ea2a00f5c11.rbi +30 -0
- data/rbi/sellapp/replace_product_variant_pricing_response_value_200_appl_3952043ad627e3ba.rbi +6 -0
- data/rbi/sellapp/replace_product_variant_pricing_response_value_200_appl_49b9539bb3faf3af.rbi +30 -0
- data/rbi/sellapp/replace_product_variant_pricing_response_value_200_appl_938bcba5499e5ba2.rbi +36 -0
- data/rbi/sellapp/replace_product_variant_with_put_response_value_200_app_2a107fa42e603ca6.rbi +30 -0
- data/rbi/sellapp/replace_product_variant_with_put_response_value_200_app_35eb6a14d86193b9.rbi +36 -0
- data/rbi/sellapp/replace_product_variant_with_put_response_value_200_app_37053f7be0d6429f.rbi +6 -0
- data/rbi/sellapp/replace_product_variant_with_put_response_value_200_app_4bee4b00b932c7fb.rbi +30 -0
- data/rbi/sellapp/replace_promotion_response_value_200_application_json_property_data.rbi +30 -0
- data/rbi/sellapp/restore_promotion_response_value_200_application_json_property_data.rbi +30 -0
- data/rbi/sellapp/resume_customer_subscription_response_value_200_applica_1d78041ee517c32a.rbi +18 -24
- data/rbi/sellapp/resume_subscription_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/sdk_cancel_customer_subscription_at_period_end_request_application_json.rbi +0 -24
- data/rbi/sellapp/sdk_cancel_customer_subscription_immediately_request_application_json.rbi +0 -24
- data/rbi/sellapp/sdk_confirm_customer_subscription_plan_change_request_application_json.rbi +16 -16
- data/rbi/sellapp/sdk_confirm_customer_subscription_renewal_date_change_r_1d60f8388ee9d4a0.rbi +10 -16
- data/rbi/sellapp/sdk_confirm_subscription_plan_change_response_value_200_application_json.rbi +36 -0
- data/rbi/sellapp/sdk_create_coupon_request_application_json.rbi +12 -0
- data/rbi/sellapp/sdk_create_product_variant_request_application_json.rbi +6 -0
- data/rbi/sellapp/sdk_create_promotion_request_application_json.rbi +30 -0
- data/rbi/sellapp/{confirm_customer_subscription_plan_change_response_valu_be2e9aa48dd8cdb5.rbi → sdk_delete_product_variant_request_application_json.rbi} +7 -1
- data/rbi/sellapp/sdk_dismiss_subscription_action_request_application_json.rbi +30 -0
- data/rbi/sellapp/sdk_dismiss_subscription_action_response_value_200_application_json.rbi +30 -0
- data/rbi/sellapp/sdk_get_customer_portal_subscription_response_value_200_application_json.rbi +2 -2
- data/rbi/sellapp/sdk_get_subscription_action_response_value_200_application_json.rbi +24 -0
- data/rbi/sellapp/{cancel_customer_subscription_immediately_response_value_26878c257b5af4e5.rbi → sdk_keep_subscription_request_application_json.rbi} +7 -1
- data/rbi/sellapp/sdk_keep_subscription_response_value_200_application_json.rbi +30 -0
- data/rbi/sellapp/sdk_list_customer_portal_subscriptions_response_value_2_b195e1339dee14ac.rbi +14 -2
- data/rbi/sellapp/sdk_list_subscription_actions_response_value_200_application_json.rbi +18 -0
- data/rbi/sellapp/sdk_list_subscriptions_response_value_200_application_json.rbi +0 -18
- data/rbi/sellapp/sdk_pause_customer_subscription_request_application_json.rbi +2 -20
- data/rbi/sellapp/sdk_preview_customer_subscription_plan_change_request_application_json.rbi +12 -18
- data/rbi/sellapp/sdk_preview_customer_subscription_renewal_date_change_r_1c87ad45642cd397.rbi +8 -20
- data/rbi/sellapp/sdk_preview_subscription_plan_change_response_value_200_application_json.rbi +30 -0
- data/rbi/sellapp/sdk_replace_coupon_request_application_json.rbi +12 -0
- data/rbi/sellapp/sdk_replace_product_variant_with_put_request_application_json.rbi +12 -0
- data/rbi/sellapp/sdk_replace_promotion_request_application_json.rbi +30 -0
- data/rbi/sellapp/sdk_restore_promotion_request_application_json.rbi +30 -0
- data/rbi/sellapp/sdk_search_subscriptions_request_application_json.rbi +18 -6
- data/rbi/sellapp/sdk_search_subscriptions_response_value_200_application_json.rbi +0 -18
- data/rbi/sellapp/sdk_update_coupon_request_application_json.rbi +12 -0
- data/rbi/sellapp/sdk_update_customer_subscription_payment_method_request_application_json.rbi +0 -24
- data/rbi/sellapp/sdk_update_product_variant_request_application_json.rbi +12 -0
- data/rbi/sellapp/sdk_update_promotion_request_application_json.rbi +30 -0
- data/rbi/sellapp/sdk_update_subscription_payment_method_request_application_json.rbi +6 -0
- data/rbi/sellapp/sdk_update_subscription_payment_method_response_value_2_0e7dda95f205bad2.rbi +36 -0
- data/rbi/sellapp/sdk_v_2_create_coupon_request_application_json.rbi +12 -0
- data/rbi/sellapp/sdk_v_2_replace_coupon_request_application_json.rbi +12 -0
- data/rbi/sellapp/sdk_v_2_update_coupon_request_application_json.rbi +12 -0
- data/rbi/sellapp/search_coupons_response_value_200_application_json_property_data_item.rbi +12 -0
- data/rbi/sellapp/search_invoices_response_value_200_application_json_pro_c32975fb3651b049.rbi +2 -2
- data/rbi/sellapp/search_product_variants_response_value_200_application_06f0e191901d4516.rbi +36 -0
- data/rbi/sellapp/search_product_variants_response_value_200_application_3c00d6fbb94ff355.rbi +30 -0
- data/rbi/sellapp/search_product_variants_response_value_200_application_6c2a7aac716e111e.rbi +30 -0
- data/rbi/sellapp/search_product_variants_response_value_200_application_d28e51b3bfad1a5c.rbi +6 -0
- data/rbi/sellapp/search_subscriptions_request_application_json_property_d64a9058144ab025.rbi +18 -0
- data/rbi/sellapp/search_subscriptions_request_application_json_property_filters_item.rbi +48 -0
- data/rbi/sellapp/{cancel_customer_subscription_at_period_end_response_val_e11ff4f0b23dea7a.rbi → search_subscriptions_request_application_json_property_includes_item.rbi} +7 -1
- data/rbi/sellapp/search_subscriptions_request_application_json_property_search.rbi +30 -0
- data/rbi/sellapp/{confirm_customer_subscription_renewal_date_change_respo_92ed1c9cbced40d4.rbi → search_subscriptions_request_application_json_property_sort_item.rbi} +13 -1
- data/rbi/sellapp/{sdk_resume_customer_subscription_request_application_json.rbi → subscription_plan_change_preview_payload.rbi} +13 -13
- data/rbi/sellapp/subscriptions.rbi +47 -28
- data/rbi/sellapp/subscriptions_actions.rbi +44 -0
- data/rbi/sellapp/update_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/update_customer_subscription_payment_method_response_va_9476695c7a3f9972.rbi +18 -24
- data/rbi/sellapp/update_invoice_status_response_value_200_application_js_e7d745531a4cae68.rbi +2 -2
- data/rbi/sellapp/update_product_variant_pricing_request_application_json_32174a021ed2b562.rbi +36 -0
- data/rbi/sellapp/update_product_variant_pricing_request_application_json_64bacb17d0182259.rbi +30 -0
- data/rbi/sellapp/update_product_variant_pricing_request_application_json_d05e0aaddb671184.rbi +30 -0
- data/rbi/sellapp/update_product_variant_pricing_request_application_json_property_pricing.rbi +6 -0
- data/rbi/sellapp/update_product_variant_pricing_response_value_200_appli_7eb4581690d93d51.rbi +36 -0
- data/rbi/sellapp/update_product_variant_pricing_response_value_200_appli_86f48bf6582b3fb4.rbi +30 -0
- data/rbi/sellapp/update_product_variant_pricing_response_value_200_appli_ea4e2475c5e43cf1.rbi +6 -0
- data/rbi/sellapp/update_product_variant_pricing_response_value_200_appli_ea785bdd54e04c3b.rbi +30 -0
- data/rbi/sellapp/update_product_variant_response_value_200_application_j_3e8ceee3996cb7ce.rbi +36 -0
- data/rbi/sellapp/update_product_variant_response_value_200_application_j_5a00baba4018ffc5.rbi +6 -0
- data/rbi/sellapp/update_product_variant_response_value_200_application_j_dc7155b2f60bfa67.rbi +30 -0
- data/rbi/sellapp/update_product_variant_response_value_200_application_j_f6e8ecea84932799.rbi +30 -0
- data/rbi/sellapp/update_promotion_response_value_200_application_json_property_data.rbi +30 -0
- data/rbi/sellapp/update_subscription_payment_method_response_value_200_a_ef70359cc2691f13.rbi +96 -0
- data/rbi/sellapp/v_2_batch_create_coupons_request_application_json_prope_ed426eec0e25abbc.rbi +12 -0
- data/rbi/sellapp/v_2_batch_create_coupons_response_value_200_application_9b1202494c86b4da.rbi +12 -0
- data/rbi/sellapp/v_2_batch_create_coupons_response_value_201_application_2470749202844407.rbi +12 -0
- data/rbi/sellapp/v_2_batch_delete_coupons_response_value_200_application_c698eceb577c6910.rbi +12 -0
- data/rbi/sellapp/v_2_batch_update_coupons_request_application_json_prope_d8687eabdd5373b5.rbi +12 -0
- data/rbi/sellapp/v_2_batch_update_coupons_response_value_200_application_55d31662a4c43bd7.rbi +12 -0
- data/rbi/sellapp/v_2_create_coupon_response_value_201_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/v_2_delete_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/v_2_get_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/v_2_list_coupons_response_value_200_application_json_property_data_item.rbi +12 -0
- data/rbi/sellapp/v_2_replace_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/rbi/sellapp/v_2_search_coupons_response_value_200_application_json_5ca05afc2ac6576b.rbi +12 -0
- data/rbi/sellapp/v_2_update_coupon_response_value_200_application_json_property_data.rbi +12 -0
- data/sig/sellapp.rbs +1016 -469
- metadata +286 -66
- data/lib/sellapp/customer_portal/cancel_customer_subscription_immediately_response_value_26878c257b5af4e5.rb +0 -7
- data/lib/sellapp/customer_portal/cancel_customer_subscription_immediately_response_value_d762d4b5b0812a02.rb +0 -7
- data/lib/sellapp/customer_portal/confirm_customer_subscription_plan_change_response_valu_8f18d8bd8f4f9b79.rb +0 -7
- data/lib/sellapp/customer_portal/confirm_customer_subscription_plan_change_response_valu_be2e9aa48dd8cdb5.rb +0 -7
- data/lib/sellapp/customer_portal/confirm_customer_subscription_renewal_date_change_respo_04eefb3f38acd135.rb +0 -7
- data/lib/sellapp/customer_portal/confirm_customer_subscription_renewal_date_change_respo_92ed1c9cbced40d4.rb +0 -7
- data/lib/sellapp/customer_portal/get_customer_portal_subscription_response_value_200_app_7f60348c3cb26504.rb +0 -7
- data/lib/sellapp/customer_portal/get_customer_portal_subscription_response_value_200_app_c8294b0dbd34ac0a.rb +0 -7
- data/lib/sellapp/customer_portal/get_customer_portal_subscription_response_value_200_app_de83e054e429757c.rb +0 -7
- data/lib/sellapp/customer_portal/list_customer_portal_subscriptions_response_value_200_a_a0defe6d3d636f8c.rb +0 -7
- data/lib/sellapp/customer_portal/list_customer_portal_subscriptions_response_value_200_a_adf4e71e216ef14d.rb +0 -7
- data/lib/sellapp/customer_portal/list_customer_portal_subscriptions_response_value_200_a_d516b72def2eabcf.rb +0 -7
- data/lib/sellapp/customer_portal/pause_customer_subscription_response_value_200_applicat_8bf9c73dfe762f34.rb +0 -7
- data/lib/sellapp/customer_portal/pause_customer_subscription_response_value_200_applicat_bd8916d023679e65.rb +0 -7
- data/lib/sellapp/customer_portal/preview_customer_subscription_plan_change_response_valu_afd3ce7dc51846e6.rb +0 -7
- data/lib/sellapp/customer_portal/preview_customer_subscription_plan_change_response_valu_cbb420df88fca7dc.rb +0 -7
- data/lib/sellapp/customer_portal/preview_customer_subscription_renewal_date_change_respo_75f3149dcc4d5fd1.rb +0 -7
- data/lib/sellapp/customer_portal/resume_customer_subscription_response_value_200_applica_33bbabda45d97f71.rb +0 -7
- data/lib/sellapp/customer_portal/resume_customer_subscription_response_value_200_applica_c642495eb5e4db3a.rb +0 -7
- data/lib/sellapp/customer_portal/sdk_resume_customer_subscription_request_application_json.rb +0 -7
- data/lib/sellapp/customer_portal/update_customer_subscription_payment_method_response_va_3990946206084a72.rb +0 -7
- data/lib/sellapp/customer_portal/update_customer_subscription_payment_method_response_va_b87e2f1eba01177d.rb +0 -7
- data/lib/sellapp/subscriptions/get_subscription_response_value_200_application_json_pr_fd726601caff080f.rb +0 -7
- data/lib/sellapp/subscriptions/list_subscriptions_response_value_200_application_json_5543a884272391eb.rb +0 -7
- data/lib/sellapp/subscriptions/list_subscriptions_response_value_200_application_json_5d2c3694b34cc2c9.rb +0 -7
- data/lib/sellapp/subscriptions/list_subscriptions_response_value_200_application_json_ef5a64ce42a89897.rb +0 -7
- data/lib/sellapp/subscriptions/search_subscriptions_response_value_200_application_jso_458e9002411933f6.rb +0 -7
- data/lib/sellapp/subscriptions/search_subscriptions_response_value_200_application_jso_7acae8465bf50921.rb +0 -7
- data/lib/sellapp/subscriptions/search_subscriptions_response_value_200_application_jso_ef42956bab18d4ee.rb +0 -7
- data/rbi/sellapp/cancel_customer_subscription_at_period_end_response_val_400775a4a08b1f68.rbi +0 -54
- data/rbi/sellapp/cancel_customer_subscription_immediately_response_value_d762d4b5b0812a02.rbi +0 -54
- data/rbi/sellapp/confirm_customer_subscription_plan_change_response_valu_8f18d8bd8f4f9b79.rbi +0 -54
- data/rbi/sellapp/confirm_customer_subscription_renewal_date_change_respo_04eefb3f38acd135.rbi +0 -54
- data/rbi/sellapp/get_customer_portal_subscription_response_value_200_app_7f60348c3cb26504.rbi +0 -18
- data/rbi/sellapp/get_customer_portal_subscription_response_value_200_app_c8294b0dbd34ac0a.rbi +0 -54
- data/rbi/sellapp/get_customer_portal_subscription_response_value_200_app_de83e054e429757c.rbi +0 -66
- data/rbi/sellapp/list_customer_portal_subscriptions_response_value_200_a_a0defe6d3d636f8c.rbi +0 -54
- data/rbi/sellapp/list_customer_portal_subscriptions_response_value_200_a_adf4e71e216ef14d.rbi +0 -66
- data/rbi/sellapp/list_customer_portal_subscriptions_response_value_200_a_d516b72def2eabcf.rbi +0 -18
- data/rbi/sellapp/list_subscriptions_response_value_200_application_json_5543a884272391eb.rbi +0 -66
- data/rbi/sellapp/pause_customer_subscription_response_value_200_applicat_bd8916d023679e65.rbi +0 -54
- data/rbi/sellapp/preview_customer_subscription_plan_change_response_valu_afd3ce7dc51846e6.rbi +0 -54
- data/rbi/sellapp/preview_customer_subscription_plan_change_response_valu_cbb420df88fca7dc.rbi +0 -18
- data/rbi/sellapp/preview_customer_subscription_renewal_date_change_respo_f49367224934c0ce.rbi +0 -54
- data/rbi/sellapp/resume_customer_subscription_response_value_200_applica_33bbabda45d97f71.rbi +0 -18
- data/rbi/sellapp/resume_customer_subscription_response_value_200_applica_c642495eb5e4db3a.rbi +0 -54
- data/rbi/sellapp/search_subscriptions_response_value_200_application_jso_458e9002411933f6.rbi +0 -66
- data/rbi/sellapp/search_subscriptions_response_value_200_application_jso_ef42956bab18d4ee.rbi +0 -54
- data/rbi/sellapp/update_customer_subscription_payment_method_response_va_3990946206084a72.rbi +0 -18
- data/rbi/sellapp/update_customer_subscription_payment_method_response_va_b87e2f1eba01177d.rbi +0 -54
data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_3708bfc37113f5b2.rb
CHANGED
|
@@ -10,7 +10,7 @@ module SellApp
|
|
|
10
10
|
}.freeze
|
|
11
11
|
|
|
12
12
|
SCHEMA = {
|
|
13
|
-
history: {required: true, schema: {kind: :array, items: {kind: :
|
|
13
|
+
history: {required: true, schema: {kind: :array, items: {kind: :model, name: "SellApp::CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem"}}},
|
|
14
14
|
status: {required: true, schema: {kind: :model, name: "SellApp::CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyStatus"}}
|
|
15
15
|
}.freeze
|
|
16
16
|
ADDITIONAL_PROPERTIES = true
|
|
@@ -25,7 +25,7 @@ module SellApp
|
|
|
25
25
|
self.class.validate_schema!(hash, SCHEMA, direction: :response, additional_properties: ADDITIONAL_PROPERTIES, constraints: MODEL_CONSTRAINTS)
|
|
26
26
|
@additional_properties = self.class.unknown_fields(hash, HASH_ATTRS.keys)
|
|
27
27
|
@present_fields = hash.keys.map(&:to_s)
|
|
28
|
-
@history = hash[:history]
|
|
28
|
+
@history = hash[:history] ? hash[:history].map { |item| item ? SellApp::CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem.new(item) : nil } : nil
|
|
29
29
|
@status = hash[:status] ? SellApp::CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyStatus.new(hash[:status]) : nil
|
|
30
30
|
end
|
|
31
31
|
end
|
data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_8492037e31dd7910.rb
CHANGED
|
@@ -3,34 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
|
|
7
|
-
HASH_ATTRS = {
|
|
8
|
-
setAt: :set_at,
|
|
9
|
-
status: :status,
|
|
10
|
-
updatedAt: :updated_at
|
|
11
|
-
}.freeze
|
|
12
|
-
|
|
13
|
-
SCHEMA = {
|
|
14
|
-
setAt: {required: true, schema: {kind: :string, format: "date-time"}},
|
|
15
|
-
status: {required: true, schema: {kind: :string}},
|
|
16
|
-
updatedAt: {required: true, schema: {kind: :string, format: "date-time"}}
|
|
17
|
-
}.freeze
|
|
18
|
-
ADDITIONAL_PROPERTIES = true
|
|
19
|
-
MODEL_CONSTRAINTS = {}.freeze
|
|
20
|
-
|
|
21
|
-
attr_accessor \
|
|
22
|
-
:set_at,
|
|
23
|
-
:status,
|
|
24
|
-
:updated_at
|
|
25
|
-
|
|
26
|
-
def initialize(json)
|
|
27
|
-
hash = self.class.normalize(json)
|
|
28
|
-
self.class.validate_schema!(hash, SCHEMA, direction: :response, additional_properties: ADDITIONAL_PROPERTIES, constraints: MODEL_CONSTRAINTS)
|
|
29
|
-
@additional_properties = self.class.unknown_fields(hash, HASH_ATTRS.keys)
|
|
30
|
-
@present_fields = hash.keys.map(&:to_s)
|
|
31
|
-
@set_at = hash[:setAt]
|
|
32
|
-
@status = hash[:status]
|
|
33
|
-
@updated_at = hash[:updatedAt]
|
|
34
|
-
end
|
|
35
|
-
end
|
|
6
|
+
CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
36
7
|
end
|
data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_84da4d86bf3fba9a.rb
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module SellApp
|
|
6
|
+
class CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem < SellApp::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
setAt: :set_at,
|
|
9
|
+
status: :status,
|
|
10
|
+
updatedAt: :updated_at
|
|
11
|
+
}.freeze
|
|
12
|
+
|
|
13
|
+
SCHEMA = {
|
|
14
|
+
setAt: {required: true, schema: {kind: :string, format: "date-time"}},
|
|
15
|
+
status: {required: true, schema: {kind: :string}},
|
|
16
|
+
updatedAt: {required: true, schema: {kind: :string, format: "date-time"}}
|
|
17
|
+
}.freeze
|
|
18
|
+
ADDITIONAL_PROPERTIES = true
|
|
19
|
+
MODEL_CONSTRAINTS = {}.freeze
|
|
20
|
+
|
|
21
|
+
attr_accessor \
|
|
22
|
+
:set_at,
|
|
23
|
+
:status,
|
|
24
|
+
:updated_at
|
|
25
|
+
|
|
26
|
+
def initialize(json)
|
|
27
|
+
hash = self.class.normalize(json)
|
|
28
|
+
self.class.validate_schema!(hash, SCHEMA, direction: :response, additional_properties: ADDITIONAL_PROPERTIES, constraints: MODEL_CONSTRAINTS)
|
|
29
|
+
@additional_properties = self.class.unknown_fields(hash, HASH_ATTRS.keys)
|
|
30
|
+
@present_fields = hash.keys.map(&:to_s)
|
|
31
|
+
@set_at = hash[:setAt]
|
|
32
|
+
@status = hash[:status]
|
|
33
|
+
@updated_at = hash[:updatedAt]
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
data/lib/sellapp/invoices/create_checkout_session_response_value_200_application_8e002bfe1446badd.rb
CHANGED
|
@@ -11,7 +11,7 @@ module SellApp
|
|
|
11
11
|
|
|
12
12
|
SCHEMA = {
|
|
13
13
|
data: {required: true, schema: {kind: :model, name: "SellApp::CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyPaymentPropertyGatewayPropertyData"}},
|
|
14
|
-
type: {required: true, schema: {kind: :string}}
|
|
14
|
+
type: {required: true, schema: {kind: :nullable, inner: {kind: :string}}}
|
|
15
15
|
}.freeze
|
|
16
16
|
ADDITIONAL_PROPERTIES = true
|
|
17
17
|
MODEL_CONSTRAINTS = {}.freeze
|
|
@@ -3,30 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
|
|
7
|
-
HASH_ATTRS = {
|
|
8
|
-
history: :history,
|
|
9
|
-
status: :status
|
|
10
|
-
}.freeze
|
|
11
|
-
|
|
12
|
-
SCHEMA = {
|
|
13
|
-
history: {required: true, schema: {kind: :array, items: {kind: :model, name: "SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyHistoryItem"}}},
|
|
14
|
-
status: {required: true, schema: {kind: :model, name: "SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyStatus"}}
|
|
15
|
-
}.freeze
|
|
16
|
-
ADDITIONAL_PROPERTIES = true
|
|
17
|
-
MODEL_CONSTRAINTS = {}.freeze
|
|
18
|
-
|
|
19
|
-
attr_accessor \
|
|
20
|
-
:history,
|
|
21
|
-
:status
|
|
22
|
-
|
|
23
|
-
def initialize(json)
|
|
24
|
-
hash = self.class.normalize(json)
|
|
25
|
-
self.class.validate_schema!(hash, SCHEMA, direction: :response, additional_properties: ADDITIONAL_PROPERTIES, constraints: MODEL_CONSTRAINTS)
|
|
26
|
-
@additional_properties = self.class.unknown_fields(hash, HASH_ATTRS.keys)
|
|
27
|
-
@present_fields = hash.keys.map(&:to_s)
|
|
28
|
-
@history = hash[:history] ? hash[:history].map { |item| item ? SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyHistoryItem.new(item) : nil } : nil
|
|
29
|
-
@status = hash[:status] ? SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyStatus.new(hash[:status]) : nil
|
|
30
|
-
end
|
|
31
|
-
end
|
|
6
|
+
CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
32
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyHistoryItem =
|
|
6
|
+
CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyStatus =
|
|
6
|
+
CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,70 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
|
|
7
|
-
HASH_ATTRS = {
|
|
8
|
-
id: :id,
|
|
9
|
-
payment: :payment,
|
|
10
|
-
status: :status,
|
|
11
|
-
webhooks: :webhooks,
|
|
12
|
-
feedback: :feedback,
|
|
13
|
-
created_at: :created_at,
|
|
14
|
-
updated_at: :updated_at,
|
|
15
|
-
store_id: :store_id,
|
|
16
|
-
coupon_id: :coupon_id,
|
|
17
|
-
subscription_id: :subscription_id,
|
|
18
|
-
customer_information: :customer_information,
|
|
19
|
-
product_variants: :product_variants
|
|
20
|
-
}.freeze
|
|
21
|
-
|
|
22
|
-
SCHEMA = {
|
|
23
|
-
id: {required: true, schema: {kind: :integer}},
|
|
24
|
-
payment: {required: true, schema: {kind: :model, name: "SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyPayment"}},
|
|
25
|
-
status: {required: true, schema: {kind: :model, name: "SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatus"}},
|
|
26
|
-
webhooks: {required: true, schema: {kind: :array, items: {kind: :model, name: "SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyWebhooksItem"}}},
|
|
27
|
-
feedback: {required: true, schema: {kind: :nullable, inner: {kind: :string}}},
|
|
28
|
-
created_at: {required: true, schema: {kind: :string, format: "date-time"}},
|
|
29
|
-
updated_at: {required: true, schema: {kind: :string, format: "date-time"}},
|
|
30
|
-
store_id: {required: true, schema: {kind: :integer}},
|
|
31
|
-
coupon_id: {required: true, schema: {kind: :nullable, inner: {kind: :integer}}},
|
|
32
|
-
subscription_id: {required: true, schema: {kind: :nullable, inner: {kind: :integer}}},
|
|
33
|
-
customer_information: {required: true, schema: {kind: :model, name: "SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyCustomerInformation"}},
|
|
34
|
-
product_variants: {required: true, schema: {kind: :array, items: {kind: :model, name: "SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyProductVariantsItem"}}}
|
|
35
|
-
}.freeze
|
|
36
|
-
ADDITIONAL_PROPERTIES = true
|
|
37
|
-
MODEL_CONSTRAINTS = {}.freeze
|
|
38
|
-
|
|
39
|
-
attr_accessor \
|
|
40
|
-
:id,
|
|
41
|
-
:payment,
|
|
42
|
-
:status,
|
|
43
|
-
:webhooks,
|
|
44
|
-
:feedback,
|
|
45
|
-
:created_at,
|
|
46
|
-
:updated_at,
|
|
47
|
-
:store_id,
|
|
48
|
-
:coupon_id,
|
|
49
|
-
:subscription_id,
|
|
50
|
-
:customer_information,
|
|
51
|
-
:product_variants
|
|
52
|
-
|
|
53
|
-
def initialize(json)
|
|
54
|
-
hash = self.class.normalize(json)
|
|
55
|
-
self.class.validate_schema!(hash, SCHEMA, direction: :response, additional_properties: ADDITIONAL_PROPERTIES, constraints: MODEL_CONSTRAINTS)
|
|
56
|
-
@additional_properties = self.class.unknown_fields(hash, HASH_ATTRS.keys)
|
|
57
|
-
@present_fields = hash.keys.map(&:to_s)
|
|
58
|
-
@id = hash[:id]
|
|
59
|
-
@payment = hash[:payment] ? SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyPayment.new(hash[:payment]) : nil
|
|
60
|
-
@status = hash[:status] ? SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyStatus.new(hash[:status]) : nil
|
|
61
|
-
@webhooks = hash[:webhooks] ? hash[:webhooks].map { |item| item ? SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyWebhooksItem.new(item) : nil } : nil
|
|
62
|
-
@feedback = hash[:feedback]
|
|
63
|
-
@created_at = hash[:created_at]
|
|
64
|
-
@updated_at = hash[:updated_at]
|
|
65
|
-
@store_id = hash[:store_id]
|
|
66
|
-
@coupon_id = hash[:coupon_id]
|
|
67
|
-
@subscription_id = hash[:subscription_id]
|
|
68
|
-
@customer_information = hash[:customer_information] ? SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyCustomerInformation.new(hash[:customer_information]) : nil
|
|
69
|
-
@product_variants = hash[:product_variants] ? hash[:product_variants].map { |item| item ? SellApp::CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoicePropertyProductVariantsItem.new(item) : nil } : nil
|
|
70
|
-
end
|
|
71
|
-
end
|
|
6
|
+
CreateInvoiceRefundResponseValue200ApplicationJsonPropertyDataPropertyInvoice = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
72
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
CreateInvoiceResponseValue201ApplicationJsonPropertyDataPropertyStatusPropertyStatus =
|
|
6
|
+
CreateInvoiceResponseValue201ApplicationJsonPropertyDataPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
CreateInvoiceResponseValue201ApplicationJsonPropertyDataPropertyStatus =
|
|
6
|
+
CreateInvoiceResponseValue201ApplicationJsonPropertyDataPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
CreateInvoiceResponseValue201ApplicationJsonPropertyDataPropertyStatusPropertyHistoryItem =
|
|
6
|
+
CreateInvoiceResponseValue201ApplicationJsonPropertyDataPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
GetInvoiceResponseValue200ApplicationJsonPropertyDataPropertyStatusPropertyHistoryItem =
|
|
6
|
+
GetInvoiceResponseValue200ApplicationJsonPropertyDataPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
GetInvoiceResponseValue200ApplicationJsonPropertyDataPropertyStatus =
|
|
6
|
+
GetInvoiceResponseValue200ApplicationJsonPropertyDataPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
GetInvoiceResponseValue200ApplicationJsonPropertyDataPropertyStatusPropertyStatus =
|
|
6
|
+
GetInvoiceResponseValue200ApplicationJsonPropertyDataPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
GetInvoiceResponseValue200ApplicationJsonPropertyData =
|
|
6
|
+
GetInvoiceResponseValue200ApplicationJsonPropertyData = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
7
7
|
end
|
data/lib/sellapp/invoices/issue_replacement_for_completed_invoice_response_value_3f8b4996b36e812d.rb
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
IssueReplacementForCompletedInvoiceResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem =
|
|
6
|
+
IssueReplacementForCompletedInvoiceResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
data/lib/sellapp/invoices/issue_replacement_for_completed_invoice_response_value_4f5871d1b8874d52.rb
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
IssueReplacementForCompletedInvoiceResponseValue200ApplicationJsonPropertyStatus =
|
|
6
|
+
IssueReplacementForCompletedInvoiceResponseValue200ApplicationJsonPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
data/lib/sellapp/invoices/issue_replacement_for_completed_invoice_response_value_597d45fa5600b601.rb
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
IssueReplacementForCompletedInvoiceResponseValue200ApplicationJsonPropertyStatusPropertyStatus =
|
|
6
|
+
IssueReplacementForCompletedInvoiceResponseValue200ApplicationJsonPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
ListInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyStatus =
|
|
6
|
+
ListInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
ListInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyHistoryItem =
|
|
6
|
+
ListInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
ListInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatus =
|
|
6
|
+
ListInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
data/lib/sellapp/invoices/list_invoices_response_value_200_application_json_property_data_item.rb
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
ListInvoicesResponseValue200ApplicationJsonPropertyDataItem =
|
|
6
|
+
ListInvoicesResponseValue200ApplicationJsonPropertyDataItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
MarkPendingInvoiceCompletedResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem =
|
|
6
|
+
MarkPendingInvoiceCompletedResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
MarkPendingInvoiceCompletedResponseValue200ApplicationJsonPropertyStatus =
|
|
6
|
+
MarkPendingInvoiceCompletedResponseValue200ApplicationJsonPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
MarkPendingInvoiceCompletedResponseValue200ApplicationJsonPropertyStatusPropertyStatus =
|
|
6
|
+
MarkPendingInvoiceCompletedResponseValue200ApplicationJsonPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
MarkPendingInvoiceVoidedResponseValue200ApplicationJsonPropertyStatus =
|
|
6
|
+
MarkPendingInvoiceVoidedResponseValue200ApplicationJsonPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
MarkPendingInvoiceVoidedResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem =
|
|
6
|
+
MarkPendingInvoiceVoidedResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
MarkPendingInvoiceVoidedResponseValue200ApplicationJsonPropertyStatusPropertyStatus =
|
|
6
|
+
MarkPendingInvoiceVoidedResponseValue200ApplicationJsonPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SdkIssueReplacementForCompletedInvoiceResponseValue200ApplicationJson =
|
|
6
|
+
SdkIssueReplacementForCompletedInvoiceResponseValue200ApplicationJson = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
7
7
|
end
|
data/lib/sellapp/invoices/sdk_mark_pending_invoice_completed_response_value_200_application_json.rb
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SdkMarkPendingInvoiceCompletedResponseValue200ApplicationJson =
|
|
6
|
+
SdkMarkPendingInvoiceCompletedResponseValue200ApplicationJson = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
7
7
|
end
|
data/lib/sellapp/invoices/sdk_mark_pending_invoice_voided_response_value_200_application_json.rb
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SdkMarkPendingInvoiceVoidedResponseValue200ApplicationJson =
|
|
6
|
+
SdkMarkPendingInvoiceVoidedResponseValue200ApplicationJson = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SdkUpdateInvoiceStatusResponseValue200ApplicationJson =
|
|
6
|
+
SdkUpdateInvoiceStatusResponseValue200ApplicationJson = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyStatus =
|
|
6
|
+
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyHistoryItem =
|
|
6
|
+
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatus =
|
|
6
|
+
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItemPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
data/lib/sellapp/invoices/search_invoices_response_value_200_application_json_property_data_item.rb
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItem =
|
|
6
|
+
SearchInvoicesResponseValue200ApplicationJsonPropertyDataItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoice
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
UpdateInvoiceStatusResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem =
|
|
6
|
+
UpdateInvoiceStatusResponseValue200ApplicationJsonPropertyStatusPropertyHistoryItem = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
UpdateInvoiceStatusResponseValue200ApplicationJsonPropertyStatus =
|
|
6
|
+
UpdateInvoiceStatusResponseValue200ApplicationJsonPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatus
|
|
7
7
|
end
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module SellApp
|
|
6
|
-
UpdateInvoiceStatusResponseValue200ApplicationJsonPropertyStatusPropertyStatus =
|
|
6
|
+
UpdateInvoiceStatusResponseValue200ApplicationJsonPropertyStatusPropertyStatus = CreateCheckoutSessionResponseValue200ApplicationJsonPropertyInvoicePropertyStatusPropertyHistoryItem
|
|
7
7
|
end
|
data/lib/sellapp/invoices.rb
CHANGED
|
@@ -25,8 +25,8 @@ module SellApp
|
|
|
25
25
|
# @param crypto_txid [String, nil] Filter by crypto TXID.
|
|
26
26
|
# @param crypto_address [String, nil] Filter by crypto payment address.
|
|
27
27
|
# @param coupon_code [String, nil] Filter by coupon code.
|
|
28
|
-
# @param status [Array<SellApp::Types::InvoicesStatus>, nil] Filter by one or more invoice statuses.
|
|
29
|
-
# @param payment_methods [Array<SellApp::Types::InvoicesPaymentMethods>, nil] Filter by one or more payment methods.
|
|
28
|
+
# @param status [Array<SellApp::Types::InvoicesStatus>, nil] Filter by one or more invoice statuses. Repeat the parameter to select several.
|
|
29
|
+
# @param payment_methods [Array<SellApp::Types::InvoicesPaymentMethods>, nil] Filter by one or more payment methods. Repeat the parameter to select several.
|
|
30
30
|
# @param sort [SellApp::Types::InvoicesSort, nil] Sort order for the result set.
|
|
31
31
|
# @param request_options [Hash] (see SellApp::Types::RequestOptions)
|
|
32
32
|
# @return [SellApp::SdkListInvoicesResponseValue200ApplicationJson]
|
|
@@ -65,8 +65,8 @@ module SellApp
|
|
|
65
65
|
'crypto_txid' => crypto_txid,
|
|
66
66
|
'crypto_address' => crypto_address,
|
|
67
67
|
'coupon_code' => coupon_code,
|
|
68
|
-
'status' => status,
|
|
69
|
-
'payment_methods' => payment_methods,
|
|
68
|
+
'status[]' => status,
|
|
69
|
+
'payment_methods[]' => payment_methods,
|
|
70
70
|
'sort' => sort
|
|
71
71
|
}.compact
|
|
72
72
|
SellApp::Types::BaseModel.validate_value!(limit, {kind: :integer, minimum: 1, maximum: 100}, "$request.limit") unless limit.nil?
|
|
@@ -83,8 +83,8 @@ module SellApp
|
|
|
83
83
|
SellApp::Types::BaseModel.validate_value!(crypto_txid, {kind: :string}, "$request.crypto_txid") unless crypto_txid.nil?
|
|
84
84
|
SellApp::Types::BaseModel.validate_value!(crypto_address, {kind: :string}, "$request.crypto_address") unless crypto_address.nil?
|
|
85
85
|
SellApp::Types::BaseModel.validate_value!(coupon_code, {kind: :string}, "$request.coupon_code") unless coupon_code.nil?
|
|
86
|
-
SellApp::Types::BaseModel.validate_value!(status, {kind: :array, items: {kind: :enum, values: ["PENDING", "REVERSED", "PARTIAL", "VOIDED", "REFUNDED", "PAID", "COMPLETED", "DISPUTING", "REVIEW", "FAILED"]}}, "$request.status") unless status.nil?
|
|
87
|
-
SellApp::Types::BaseModel.validate_value!(payment_methods, {kind: :array, items: {kind: :enum, values: ["AUTHNET", "BTCPAY", "CASHAPP", "COINBASE", "PADDLE", "PAYDASH", "PAYPAL", "PAYSTACK", "SQUARE", "STRIPE", "VENMO", "NMI", "MERCADO_PAGO", "MOLLIE", "RAZORPAY", "CUSTOM_PAYMENT_METHOD", "LIFI", "BTC", "LTC", "ETH", "XMR", "SOL", "ADA", "BNB", "TRX", "MATIC", "ETH_USDT", "ETH_USDC", "ETH_UNI", "ETH_SHIB", "ETH_DAI", "BNB_USDT", "BNB_USDC", "TRX_USDT", "TRX_USDC", "SOL_USDT", "SOL_USDC"]}}, "$request.payment_methods") unless payment_methods.nil?
|
|
86
|
+
SellApp::Types::BaseModel.validate_value!(status, {kind: :array, items: {kind: :enum, values: ["PENDING", "REVERSED", "PARTIAL", "VOIDED", "REFUNDED", "PAID", "COMPLETED", "DISPUTING", "REVIEW", "FAILED"]}}, "$request.status[]") unless status.nil?
|
|
87
|
+
SellApp::Types::BaseModel.validate_value!(payment_methods, {kind: :array, items: {kind: :enum, values: ["AUTHNET", "BTCPAY", "CASHAPP", "COINBASE", "PADDLE", "PAYDASH", "PAYPAL", "PAYSTACK", "SQUARE", "STRIPE", "VENMO", "NMI", "MERCADO_PAGO", "MOLLIE", "RAZORPAY", "CUSTOM_PAYMENT_METHOD", "LIFI", "BTC", "LTC", "ETH", "XMR", "SOL", "ADA", "BNB", "TRX", "MATIC", "ETH_USDT", "ETH_USDC", "ETH_UNI", "ETH_SHIB", "ETH_DAI", "BNB_USDT", "BNB_USDC", "TRX_USDT", "TRX_USDC", "SOL_USDT", "SOL_USDC"]}}, "$request.payment_methods[]") unless payment_methods.nil?
|
|
88
88
|
SellApp::Types::BaseModel.validate_value!(sort, {kind: :enum, values: ["created_at", "-created_at"]}, "$request.sort") unless sort.nil?
|
|
89
89
|
request_options = request_options.merge(operation_id: 'listInvoices', credential_policy: {anonymous: false, apiKey: true, accessToken: true, customerSession: false, browserSession: false, clientBasic: false, apiKeyRequiresStore: false, apiKeyUsesStore: true, accessTokenRequiresStore: true}, retry_forbidden: false, idempotency_supported: false)
|
|
90
90
|
response = @client.request(
|
|
@@ -104,7 +104,7 @@ module SellApp
|
|
|
104
104
|
|
|
105
105
|
# Create an invoice
|
|
106
106
|
# @param customer_email [String]
|
|
107
|
-
# @param customer_ip [String, nil]
|
|
107
|
+
# @param customer_ip [String, nil] The IP address the customer is buying from. Send it when you sell a plan with a trial: a trial of the same product taken from this address in the last 30 days counts as the customer's. Without it, only `customer_email` is checked, so a customer could take another trial with a new email address.
|
|
108
108
|
# @param payment_method [SellApp::Types::SdkCreateInvoiceRequestApplicationJsonPaymentMethod]
|
|
109
109
|
# @param coupon [String, nil]
|
|
110
110
|
# @param vat_id [String, nil]
|
data/lib/sellapp/orders.rb
CHANGED
|
@@ -44,7 +44,7 @@ module SellApp
|
|
|
44
44
|
|
|
45
45
|
# Create an order
|
|
46
46
|
# @param customer_email [String]
|
|
47
|
-
# @param customer_ip [String, nil]
|
|
47
|
+
# @param customer_ip [String, nil] The IP address the customer is buying from. Send it when you sell a plan with a trial: a trial of the same product taken from this address in the last 30 days counts as the customer's. Without it, only `customer_email` is checked, so a customer could take another trial with a new email address.
|
|
48
48
|
# @param payment_method [SellApp::Types::SdkCreateOrderRequestApplicationJsonPaymentMethod]
|
|
49
49
|
# @param coupon [String, nil]
|
|
50
50
|
# @param vat_id [String, nil]
|
|
@@ -400,7 +400,7 @@ module SellApp
|
|
|
400
400
|
|
|
401
401
|
# Create and pay an order from a wallet
|
|
402
402
|
# @param customer_email [String]
|
|
403
|
-
# @param customer_ip [String, nil]
|
|
403
|
+
# @param customer_ip [String, nil] The IP address the customer is buying from. Send it when you sell a plan with a trial: a trial of the same product taken from this address in the last 30 days counts as the customer's. Without it, only `customer_email` is checked, so a customer could take another trial with a new email address.
|
|
404
404
|
# @param coupon [String, nil]
|
|
405
405
|
# @param vat_id [String, nil]
|
|
406
406
|
# @param country [String, nil]
|
|
@@ -13,6 +13,7 @@ module SellApp
|
|
|
13
13
|
maximum_purchase_quantity: :maximum_purchase_quantity,
|
|
14
14
|
bulk_discount: :bulk_discount,
|
|
15
15
|
payment_methods: :payment_methods,
|
|
16
|
+
custom_payment_method_ids: :custom_payment_method_ids,
|
|
16
17
|
other_settings: :other_settings,
|
|
17
18
|
expected_updated_at: :expected_updated_at
|
|
18
19
|
}.freeze
|
|
@@ -26,6 +27,7 @@ module SellApp
|
|
|
26
27
|
maximum_purchase_quantity: {required: false, schema: {kind: :nullable, inner: {kind: :integer}}},
|
|
27
28
|
bulk_discount: {required: false, schema: {kind: :array, items: {kind: :model, name: "SellApp::BatchCreateProductVariantsRequestApplicationJsonPropertyResourcesItemPropertyBulkDiscountItem"}}},
|
|
28
29
|
payment_methods: {required: true, schema: {kind: :array, items: {kind: :enum, values: ["AUTHNET", "BTCPAY", "CASHAPP", "COINBASE", "PADDLE", "PAYDASH", "PAYPAL", "PAYSTACK", "SQUARE", "STRIPE", "VENMO", "NMI", "MERCADO_PAGO", "MOLLIE", "RAZORPAY", "CUSTOM_PAYMENT_METHOD", "LIFI", "BTC", "LTC", "ETH", "XMR", "SOL", "ADA", "BNB", "TRX", "MATIC", "ETH_USDT", "ETH_USDC", "ETH_UNI", "ETH_SHIB", "ETH_DAI", "BNB_USDT", "BNB_USDC", "TRX_USDT", "TRX_USDC", "SOL_USDT", "SOL_USDC"]}, min: 1}},
|
|
30
|
+
custom_payment_method_ids: {required: false, schema: {kind: :array, items: {kind: :string, pattern: "^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}}},
|
|
29
31
|
other_settings: {required: false, schema: {kind: :model, name: "SellApp::BatchCreateProductVariantsRequestApplicationJsonPropertyResourcesItemPropertyOtherSettings"}},
|
|
30
32
|
expected_updated_at: {required: false, schema: {kind: :string, format: "date-time"}}
|
|
31
33
|
}.freeze
|
|
@@ -41,6 +43,7 @@ module SellApp
|
|
|
41
43
|
:maximum_purchase_quantity,
|
|
42
44
|
:bulk_discount,
|
|
43
45
|
:payment_methods,
|
|
46
|
+
:custom_payment_method_ids,
|
|
44
47
|
:other_settings,
|
|
45
48
|
:expected_updated_at
|
|
46
49
|
|
|
@@ -57,6 +60,7 @@ module SellApp
|
|
|
57
60
|
@maximum_purchase_quantity = hash[:maximum_purchase_quantity]
|
|
58
61
|
@bulk_discount = hash[:bulk_discount] ? hash[:bulk_discount].map { |item| item ? SellApp::BatchCreateProductVariantsRequestApplicationJsonPropertyResourcesItemPropertyBulkDiscountItem.new(item) : nil } : nil
|
|
59
62
|
@payment_methods = hash[:payment_methods]
|
|
63
|
+
@custom_payment_method_ids = hash[:custom_payment_method_ids]
|
|
60
64
|
@other_settings = hash[:other_settings] ? SellApp::BatchCreateProductVariantsRequestApplicationJsonPropertyResourcesItemPropertyOtherSettings.new(hash[:other_settings]) : nil
|
|
61
65
|
@expected_updated_at = hash[:expected_updated_at]
|
|
62
66
|
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module SellApp
|
|
6
|
+
class BatchCreateProductVariantsResponseValue200ApplicationJsonPropertyDataItemPropertyPricingPropertyTrialPropertyLength < SellApp::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
value: :value,
|
|
9
|
+
interval: :interval
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
SCHEMA = {
|
|
13
|
+
value: {required: true, schema: {kind: :integer}},
|
|
14
|
+
interval: {required: true, schema: {kind: :enum, values: ["DAY", "WEEK", "MONTH", "YEAR"]}}
|
|
15
|
+
}.freeze
|
|
16
|
+
ADDITIONAL_PROPERTIES = true
|
|
17
|
+
MODEL_CONSTRAINTS = {}.freeze
|
|
18
|
+
|
|
19
|
+
attr_accessor \
|
|
20
|
+
:value,
|
|
21
|
+
:interval
|
|
22
|
+
|
|
23
|
+
def initialize(json)
|
|
24
|
+
hash = self.class.normalize(json)
|
|
25
|
+
self.class.validate_schema!(hash, SCHEMA, direction: :response, additional_properties: ADDITIONAL_PROPERTIES, constraints: MODEL_CONSTRAINTS)
|
|
26
|
+
@additional_properties = self.class.unknown_fields(hash, HASH_ATTRS.keys)
|
|
27
|
+
@present_fields = hash.keys.map(&:to_s)
|
|
28
|
+
@value = hash[:value]
|
|
29
|
+
@interval = hash[:interval]
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|