kintsugi_sdk 5.6.1 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kintsugi_sdk/addressvalidation.rb +8 -6
- data/lib/kintsugi_sdk/customers.rb +90 -88
- data/lib/kintsugi_sdk/exemptions.rb +60 -60
- data/lib/kintsugi_sdk/models/errors/{backend_src_products_responses_validationerrorresponse.rb → backend_src_products_schemas_responses_validationerrorresponse.rb} +3 -3
- data/lib/kintsugi_sdk/models/errors/backend_src_products_schemas_responses_validationerrorresponse.rbi +13 -0
- data/lib/kintsugi_sdk/models/errors.rb +1 -1
- data/lib/kintsugi_sdk/models/ops/{search_v1_address_validation_search_post_security.rb → country.rb} +3 -8
- data/lib/kintsugi_sdk/models/{shared/registration.rbi → ops/country.rbi} +2 -2
- data/lib/kintsugi_sdk/models/ops/country_code.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/country_code.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb +13 -5
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rbi +4 -0
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb +17 -9
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rbi +6 -2
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb +29 -13
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rbi +14 -6
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb +44 -18
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rbi +14 -4
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rb +14 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rbi +6 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/queryparam_country.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/queryparam_country.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb +9 -5
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rbi +4 -2
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops.rb +10 -1
- data/lib/kintsugi_sdk/models/shared/addressbase.rb +1 -1
- data/lib/kintsugi_sdk/models/shared/addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/addresses.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rb → backend_src_exemptions_schemas_exemption_exemptionread.rb} +11 -10
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rbi → backend_src_exemptions_schemas_exemption_exemptionread.rbi} +4 -4
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rb +9 -9
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rb → backend_src_products_schemas_responses_validationerroritem.rb} +1 -1
- data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rbi → backend_src_products_schemas_responses_validationerroritem.rbi} +2 -2
- data/lib/kintsugi_sdk/models/shared/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/{registration.rb → context.rb} +1 -1
- data/lib/kintsugi_sdk/models/shared/context.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/conversion_rate.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/conversion_rate.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/customer.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/customer.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/customerbase.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbase.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customercreate.rb +20 -16
- data/lib/kintsugi_sdk/models/shared/customercreate.rbi +8 -6
- data/lib/kintsugi_sdk/models/shared/customerread.rb +24 -16
- data/lib/kintsugi_sdk/models/shared/customerread.rbi +10 -6
- data/lib/kintsugi_sdk/models/shared/customerupdate.rb +13 -9
- data/lib/kintsugi_sdk/models/shared/customerupdate.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/discount_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/discount_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rb +6 -6
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rb +20 -0
- data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/documenttypeenum.rb +21 -0
- data/lib/kintsugi_sdk/models/shared/documenttypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/exemption.rb +23 -14
- data/lib/kintsugi_sdk/models/shared/exemption.rbi +8 -4
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rb +3 -3
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rb +22 -2
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rbi +10 -0
- data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rb +42 -0
- data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/loc.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/loc.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rb +112 -82
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rbi +52 -40
- data/lib/kintsugi_sdk/models/shared/nexustypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/periodmodelenum.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/processingstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/productread.rb +40 -12
- data/lib/kintsugi_sdk/models/shared/productread.rbi +18 -4
- data/lib/kintsugi_sdk/models/shared/productstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/productupdate.rb +6 -6
- data/lib/kintsugi_sdk/models/shared/productupdate.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/productupdatev2.rb +64 -0
- data/lib/kintsugi_sdk/models/shared/productupdatev2.rbi +29 -0
- data/lib/kintsugi_sdk/models/shared/quantity.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/quantity.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/rate.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/rate.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/security.rb +3 -7
- data/lib/kintsugi_sdk/models/shared/security.rbi +0 -2
- data/lib/kintsugi_sdk/models/shared/sourceenum.rb +15 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxexemptionenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rb +14 -14
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rb +10 -10
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitemread.rb +10 -10
- data/lib/kintsugi_sdk/models/shared/taxitemread.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/taxtypeenum.rb +26 -0
- data/lib/kintsugi_sdk/models/shared/taxtypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rb +11 -7
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rb +8 -4
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb +11 -7
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rb +84 -78
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rbi +34 -28
- data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rb +19 -0
- data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rb +9 -7
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rb +10 -8
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rb +104 -0
- data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rbi +49 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rb +53 -53
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rbi +20 -20
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rb +53 -53
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rbi +20 -20
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rb +17 -7
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rb +20 -10
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rb +51 -43
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rbi +22 -18
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rb +64 -62
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rbi +28 -24
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionread.rb +89 -71
- data/lib/kintsugi_sdk/models/shared/transactionread.rbi +40 -28
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rb +63 -61
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rbi +28 -24
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/validationaddress.rb +12 -12
- data/lib/kintsugi_sdk/models/shared/validationaddress.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/validationerror.rb +11 -3
- data/lib/kintsugi_sdk/models/shared/validationerror.rbi +4 -0
- data/lib/kintsugi_sdk/models/shared.rb +73 -5
- data/lib/kintsugi_sdk/nexus.rb +4 -4
- data/lib/kintsugi_sdk/openapisdk.rb +5 -5
- data/lib/kintsugi_sdk/products.rb +11 -9
- data/lib/kintsugi_sdk/sdkconfiguration.rb +8 -8
- data/lib/kintsugi_sdk/taxestimation.rb +6 -6
- data/lib/kintsugi_sdk/transactions.rb +73 -73
- data/lib/kintsugi_sdk/utils/retries.rb +41 -2
- data/lib/kintsugi_sdk/utils/utils.rb +6 -2
- data/lib/kintsugi_sdk.rb +1 -1
- metadata +170 -16
- data/lib/kintsugi_sdk/models/errors/backend_src_products_responses_validationerrorresponse.rbi +0 -13
- data/lib/kintsugi_sdk/models/ops/search_v1_address_validation_search_post_security.rbi +0 -13
- data/lib/kintsugi_sdk/models/shared/file.rb +0 -36
- data/lib/kintsugi_sdk/models/shared/file.rbi +0 -15
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rb +0 -48
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rbi +0 -21
|
@@ -18,14 +18,14 @@ class KintsugiSDK::Models::Shared::ValidationAddress
|
|
|
18
18
|
def city=(str_); end
|
|
19
19
|
def state(); end
|
|
20
20
|
def state=(str_); end
|
|
21
|
+
def country(); end
|
|
22
|
+
def country=(str_); end
|
|
23
|
+
def postal_code(); end
|
|
24
|
+
def postal_code=(str_); end
|
|
21
25
|
def id(); end
|
|
22
26
|
def id=(str_); end
|
|
23
27
|
def county(); end
|
|
24
28
|
def county=(str_); end
|
|
25
29
|
def full_address(); end
|
|
26
30
|
def full_address=(str_); end
|
|
27
|
-
def country(); end
|
|
28
|
-
def country=(str_); end
|
|
29
|
-
def postal_code(); end
|
|
30
|
-
def postal_code=(str_); end
|
|
31
31
|
end
|
|
@@ -13,17 +13,23 @@ module KintsugiSDK
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :loc, Crystalline::Array.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('loc'), required: true } }
|
|
16
|
+
field :loc, Crystalline::Array.new(Crystalline::Union.new(::String, ::Integer)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('loc'), required: true } }
|
|
17
17
|
|
|
18
18
|
field :msg, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('msg'), required: true } }
|
|
19
19
|
|
|
20
20
|
field :type, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('type'), required: true } }
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
field :input, Crystalline::Nilable.new(::Object), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('input') } }
|
|
23
|
+
|
|
24
|
+
field :ctx, Crystalline::Nilable.new(Models::Shared::Context), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('ctx') } }
|
|
25
|
+
|
|
26
|
+
sig { params(loc: T::Array[T.any(::String, ::Integer)], msg: ::String, type: ::String, input: T.nilable(::Object), ctx: T.nilable(Models::Shared::Context)).void }
|
|
27
|
+
def initialize(loc:, msg:, type:, input: nil, ctx: nil)
|
|
24
28
|
@loc = loc
|
|
25
29
|
@msg = msg
|
|
26
30
|
@type = type
|
|
31
|
+
@input = input
|
|
32
|
+
@ctx = ctx
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -32,6 +38,8 @@ module KintsugiSDK
|
|
|
32
38
|
return false unless @loc == other.loc
|
|
33
39
|
return false unless @msg == other.msg
|
|
34
40
|
return false unless @type == other.type
|
|
41
|
+
return false unless @input == other.input
|
|
42
|
+
return false unless @ctx == other.ctx
|
|
35
43
|
true
|
|
36
44
|
end
|
|
37
45
|
end
|
|
@@ -12,11 +12,25 @@ module KintsugiSDK
|
|
|
12
12
|
autoload :AddressStatus, 'kintsugi_sdk/models/shared/addressstatus.rb'
|
|
13
13
|
autoload :AddressSubmittedResponse, 'kintsugi_sdk/models/shared/addresssubmittedresponse.rb'
|
|
14
14
|
autoload :AddressType, 'kintsugi_sdk/models/shared/addresstype.rb'
|
|
15
|
+
autoload :Amount, 'kintsugi_sdk/models/shared/amount.rb'
|
|
15
16
|
autoload :AppliedTo, 'kintsugi_sdk/models/shared/appliedto.rb'
|
|
16
17
|
autoload :AttachmentRead, 'kintsugi_sdk/models/shared/attachmentread.rb'
|
|
17
18
|
autoload :BodyUploadExemptionCertificateV1ExemptionsExemptionIdAttachmentsPost, 'kintsugi_sdk/models/shared/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rb'
|
|
19
|
+
autoload :Context, 'kintsugi_sdk/models/shared/context.rb'
|
|
20
|
+
autoload :ConversionRate, 'kintsugi_sdk/models/shared/conversion_rate.rb'
|
|
21
|
+
autoload :ConvertedAmount, 'kintsugi_sdk/models/shared/converted_amount.rb'
|
|
22
|
+
autoload :ConvertedSubtotal, 'kintsugi_sdk/models/shared/converted_subtotal.rb'
|
|
23
|
+
autoload :ConvertedTaxAmountCalculated, 'kintsugi_sdk/models/shared/converted_tax_amount_calculated.rb'
|
|
24
|
+
autoload :ConvertedTaxAmountImported, 'kintsugi_sdk/models/shared/converted_tax_amount_imported.rb'
|
|
25
|
+
autoload :ConvertedTaxableAmount, 'kintsugi_sdk/models/shared/converted_taxable_amount.rb'
|
|
26
|
+
autoload :ConvertedTotalAmount, 'kintsugi_sdk/models/shared/converted_total_amount.rb'
|
|
27
|
+
autoload :ConvertedTotalDiscount, 'kintsugi_sdk/models/shared/converted_total_discount.rb'
|
|
28
|
+
autoload :ConvertedTotalTaxAmountCalculated, 'kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rb'
|
|
29
|
+
autoload :ConvertedTotalTaxAmountImported, 'kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rb'
|
|
30
|
+
autoload :ConvertedTotalTaxLiabilityAmount, 'kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rb'
|
|
18
31
|
autoload :CountryCodeEnum, 'kintsugi_sdk/models/shared/countrycodeenum.rb'
|
|
19
32
|
autoload :CurrencyEnum, 'kintsugi_sdk/models/shared/currencyenum.rb'
|
|
33
|
+
autoload :Customer, 'kintsugi_sdk/models/shared/customer.rb'
|
|
20
34
|
autoload :CustomerBase, 'kintsugi_sdk/models/shared/customerbase.rb'
|
|
21
35
|
autoload :CustomerBaseBase, 'kintsugi_sdk/models/shared/customerbasebase.rb'
|
|
22
36
|
autoload :CustomerBasePublic, 'kintsugi_sdk/models/shared/customerbasepublic.rb'
|
|
@@ -25,13 +39,16 @@ module KintsugiSDK
|
|
|
25
39
|
autoload :CustomerTaxRegistrationRead, 'kintsugi_sdk/models/shared/customertaxregistrationread.rb'
|
|
26
40
|
autoload :CustomerTaxTypeEnum, 'kintsugi_sdk/models/shared/customertaxtypeenum.rb'
|
|
27
41
|
autoload :CustomerUpdate, 'kintsugi_sdk/models/shared/customerupdate.rb'
|
|
42
|
+
autoload :DiscountAmount, 'kintsugi_sdk/models/shared/discount_amount.rb'
|
|
28
43
|
autoload :DiscountBuilder, 'kintsugi_sdk/models/shared/discountbuilder.rb'
|
|
44
|
+
autoload :DisregardedTypeEnum, 'kintsugi_sdk/models/shared/disregardedtypeenum.rb'
|
|
45
|
+
autoload :DocumentTypeEnum, 'kintsugi_sdk/models/shared/documenttypeenum.rb'
|
|
29
46
|
autoload :Exemption, 'kintsugi_sdk/models/shared/exemption.rb'
|
|
30
47
|
autoload :ExemptionCreate, 'kintsugi_sdk/models/shared/exemptioncreate.rb'
|
|
31
48
|
autoload :ExemptionRequired, 'kintsugi_sdk/models/shared/exemptionrequired.rb'
|
|
49
|
+
autoload :ExemptionSourceEnum, 'kintsugi_sdk/models/shared/exemptionsourceenum.rb'
|
|
32
50
|
autoload :ExemptionStatus, 'kintsugi_sdk/models/shared/exemptionstatus.rb'
|
|
33
51
|
autoload :ExemptionType, 'kintsugi_sdk/models/shared/exemptiontype.rb'
|
|
34
|
-
autoload :File, 'kintsugi_sdk/models/shared/file.rb'
|
|
35
52
|
autoload :FindThresholdCrossingTransactionState, 'kintsugi_sdk/models/shared/findthresholdcrossingtransactionstate.rb'
|
|
36
53
|
autoload :JurisdictionType, 'kintsugi_sdk/models/shared/jurisdictiontype.rb'
|
|
37
54
|
autoload :NexusResponse, 'kintsugi_sdk/models/shared/nexusresponse.rb'
|
|
@@ -40,60 +57,111 @@ module KintsugiSDK
|
|
|
40
57
|
autoload :NexusTypeEnum, 'kintsugi_sdk/models/shared/nexustypeenum.rb'
|
|
41
58
|
autoload :PageCustomerRead, 'kintsugi_sdk/models/shared/page_customerread_.rb'
|
|
42
59
|
autoload :PageNexusResponse, 'kintsugi_sdk/models/shared/page_nexusresponse_.rb'
|
|
43
|
-
autoload :PageTransactionEstimateResponse, 'kintsugi_sdk/models/shared/page_transactionestimateresponse_.rb'
|
|
44
60
|
autoload :PageTransactionRead, 'kintsugi_sdk/models/shared/page_transactionread_.rb'
|
|
45
61
|
autoload :PeriodModelEnum, 'kintsugi_sdk/models/shared/periodmodelenum.rb'
|
|
46
62
|
autoload :ProcessingStatusEnum, 'kintsugi_sdk/models/shared/processingstatusenum.rb'
|
|
47
63
|
autoload :ProductRead, 'kintsugi_sdk/models/shared/productread.rb'
|
|
48
64
|
autoload :ProductStatusEnum, 'kintsugi_sdk/models/shared/productstatusenum.rb'
|
|
49
65
|
autoload :ProductUpdate, 'kintsugi_sdk/models/shared/productupdate.rb'
|
|
66
|
+
autoload :ProductUpdateV2, 'kintsugi_sdk/models/shared/productupdatev2.rb'
|
|
67
|
+
autoload :Quantity, 'kintsugi_sdk/models/shared/quantity.rb'
|
|
68
|
+
autoload :QuantityOfTheProduct, 'kintsugi_sdk/models/shared/quantity_of_the_product_.rb'
|
|
69
|
+
autoload :Rate, 'kintsugi_sdk/models/shared/rate.rb'
|
|
50
70
|
autoload :RegistrationsRegimeEnum, 'kintsugi_sdk/models/shared/registrationsregimeenum.rb'
|
|
51
71
|
autoload :RelatedEntityType, 'kintsugi_sdk/models/shared/relatedentitytype.rb'
|
|
52
72
|
autoload :SalesOrTransactionsEnum, 'kintsugi_sdk/models/shared/salesortransactionsenum.rb'
|
|
53
73
|
autoload :Security, 'kintsugi_sdk/models/shared/security.rb'
|
|
54
74
|
autoload :SourceEnum, 'kintsugi_sdk/models/shared/sourceenum.rb'
|
|
55
75
|
autoload :StatusEnum, 'kintsugi_sdk/models/shared/statusenum.rb'
|
|
76
|
+
autoload :TaxAmountCalculated, 'kintsugi_sdk/models/shared/tax_amount_calculated.rb'
|
|
77
|
+
autoload :TaxAmountImported, 'kintsugi_sdk/models/shared/tax_amount_imported.rb'
|
|
78
|
+
autoload :TaxRateCalculated, 'kintsugi_sdk/models/shared/tax_rate_calculated.rb'
|
|
79
|
+
autoload :TaxRateImported, 'kintsugi_sdk/models/shared/tax_rate_imported.rb'
|
|
56
80
|
autoload :TaxExemptionEnum, 'kintsugi_sdk/models/shared/taxexemptionenum.rb'
|
|
57
81
|
autoload :TaxItemBuilder, 'kintsugi_sdk/models/shared/taxitembuilder.rb'
|
|
82
|
+
autoload :TaxItemBuilderAmount, 'kintsugi_sdk/models/shared/taxitembuilder_amount.rb'
|
|
83
|
+
autoload :TaxItemBuilderConvertedAmount, 'kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rb'
|
|
58
84
|
autoload :TaxItemEstimate, 'kintsugi_sdk/models/shared/taxitemestimate.rb'
|
|
59
85
|
autoload :TaxItemRead, 'kintsugi_sdk/models/shared/taxitemread.rb'
|
|
60
86
|
autoload :TaxItemReturnReasonEnum, 'kintsugi_sdk/models/shared/taxitemreturnreasonenum.rb'
|
|
61
87
|
autoload :TaxItemTypeEnum, 'kintsugi_sdk/models/shared/taxitemtypeenum.rb'
|
|
62
88
|
autoload :TaxLiabilitySourceEnum, 'kintsugi_sdk/models/shared/taxliabilitysourceenum.rb'
|
|
89
|
+
autoload :TaxTypeEnum, 'kintsugi_sdk/models/shared/taxtypeenum.rb'
|
|
90
|
+
autoload :TaxableAmount, 'kintsugi_sdk/models/shared/taxable_amount.rb'
|
|
91
|
+
autoload :TotalAmount, 'kintsugi_sdk/models/shared/total_amount.rb'
|
|
92
|
+
autoload :TotalTaxAmountCalculated, 'kintsugi_sdk/models/shared/total_tax_amount_calculated.rb'
|
|
93
|
+
autoload :TotalTaxAmountImported, 'kintsugi_sdk/models/shared/total_tax_amount_imported.rb'
|
|
94
|
+
autoload :TotalTaxLiabilityAmount, 'kintsugi_sdk/models/shared/total_tax_liability_amount.rb'
|
|
95
|
+
autoload :TotalAmountOfThisTransactionItemAfterDiscounts, 'kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rb'
|
|
63
96
|
autoload :TransactionAddressBuilder, 'kintsugi_sdk/models/shared/transactionaddressbuilder.rb'
|
|
64
97
|
autoload :TransactionAddressPublic, 'kintsugi_sdk/models/shared/transactionaddresspublic.rb'
|
|
65
98
|
autoload :TransactionAddressReadOutput, 'kintsugi_sdk/models/shared/transactionaddressread_output.rb'
|
|
66
99
|
autoload :TransactionCreate, 'kintsugi_sdk/models/shared/transactioncreate.rb'
|
|
100
|
+
autoload :TransactionDirectionEnum, 'kintsugi_sdk/models/shared/transactiondirectionenum.rb'
|
|
67
101
|
autoload :TransactionEstimatePublicRequest, 'kintsugi_sdk/models/shared/transactionestimatepublicrequest.rb'
|
|
68
102
|
autoload :TransactionEstimateResponse, 'kintsugi_sdk/models/shared/transactionestimateresponse.rb'
|
|
69
103
|
autoload :TransactionEstimateResponseAddresses, 'kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rb'
|
|
70
104
|
autoload :TransactionEstimateResponseType, 'kintsugi_sdk/models/shared/transactionestimateresponse_type.rb'
|
|
71
105
|
autoload :TransactionExemptStatusEnum, 'kintsugi_sdk/models/shared/transactionexemptstatusenum.rb'
|
|
106
|
+
autoload :TransactionImportCustomer, 'kintsugi_sdk/models/shared/transactionimportcustomer.rb'
|
|
72
107
|
autoload :TransactionItemBuilder, 'kintsugi_sdk/models/shared/transactionitembuilder.rb'
|
|
108
|
+
autoload :TransactionItemBuilderAmount, 'kintsugi_sdk/models/shared/transactionitembuilder_amount.rb'
|
|
109
|
+
autoload :TransactionItemBuilderConvertedAmount, 'kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rb'
|
|
110
|
+
autoload :TransactionItemBuilderConvertedSubtotal, 'kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rb'
|
|
111
|
+
autoload :TransactionItemBuilderConvertedTaxAmountCalculated, 'kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rb'
|
|
112
|
+
autoload :TransactionItemBuilderConvertedTaxAmountImported, 'kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rb'
|
|
113
|
+
autoload :TransactionItemBuilderConvertedTaxableAmount, 'kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rb'
|
|
114
|
+
autoload :TransactionItemBuilderConvertedTotalDiscount, 'kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rb'
|
|
115
|
+
autoload :TransactionItemBuilderQuantity, 'kintsugi_sdk/models/shared/transactionitembuilder_quantity.rb'
|
|
116
|
+
autoload :TransactionItemBuilderTaxAmountCalculated, 'kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rb'
|
|
117
|
+
autoload :TransactionItemBuilderTaxAmountImported, 'kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rb'
|
|
118
|
+
autoload :TransactionItemBuilderTaxRateCalculated, 'kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rb'
|
|
119
|
+
autoload :TransactionItemBuilderTaxRateImported, 'kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rb'
|
|
120
|
+
autoload :TransactionItemBuilderTaxableAmount, 'kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rb'
|
|
73
121
|
autoload :TransactionItemCreateUpdate, 'kintsugi_sdk/models/shared/transactionitemcreateupdate.rb'
|
|
122
|
+
autoload :TransactionItemCreateUpdateConvertedSubtotal, 'kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rb'
|
|
123
|
+
autoload :TransactionItemCreateUpdateConvertedTaxableAmount, 'kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rb'
|
|
124
|
+
autoload :TransactionItemCreateUpdateConvertedTotalDiscount, 'kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rb'
|
|
125
|
+
autoload :TransactionItemCreateUpdateTaxRateCalculated, 'kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rb'
|
|
126
|
+
autoload :TransactionItemCreateUpdateTaxRateImported, 'kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rb'
|
|
127
|
+
autoload :TransactionItemCreateUpdateTaxableAmount, 'kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rb'
|
|
74
128
|
autoload :TransactionItemEstimateBase, 'kintsugi_sdk/models/shared/transactionitemestimatebase.rb'
|
|
75
129
|
autoload :TransactionItemEstimateResponse, 'kintsugi_sdk/models/shared/transactionitemestimateresponse.rb'
|
|
76
130
|
autoload :TransactionItemRead, 'kintsugi_sdk/models/shared/transactionitemread.rb'
|
|
77
131
|
autoload :TransactionPublicRequest, 'kintsugi_sdk/models/shared/transactionpublicrequest.rb'
|
|
132
|
+
autoload :TransactionPublicRequestTaxRateCalculated, 'kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rb'
|
|
133
|
+
autoload :TransactionPublicRequestTaxRateImported, 'kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rb'
|
|
134
|
+
autoload :TransactionPublicRequestTaxableAmount, 'kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rb'
|
|
135
|
+
autoload :TransactionPublicRequestTotalAmount, 'kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rb'
|
|
136
|
+
autoload :TransactionPublicRequestTotalTaxAmountCalculated, 'kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rb'
|
|
137
|
+
autoload :TransactionPublicRequestTotalTaxAmountImported, 'kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rb'
|
|
138
|
+
autoload :TransactionPublicRequestTotalTaxLiabilityAmount, 'kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rb'
|
|
78
139
|
autoload :TransactionRead, 'kintsugi_sdk/models/shared/transactionread.rb'
|
|
79
140
|
autoload :TransactionRefundStatus, 'kintsugi_sdk/models/shared/transactionrefundstatus.rb'
|
|
80
141
|
autoload :TransactionStatusEnum, 'kintsugi_sdk/models/shared/transactionstatusenum.rb'
|
|
81
142
|
autoload :TransactionTypeEnum, 'kintsugi_sdk/models/shared/transactiontypeenum.rb'
|
|
82
143
|
autoload :TransactionUpdate, 'kintsugi_sdk/models/shared/transactionupdate.rb'
|
|
144
|
+
autoload :TransactionUpdateTaxRateCalculated, 'kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rb'
|
|
145
|
+
autoload :TransactionUpdateTaxRateImported, 'kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rb'
|
|
146
|
+
autoload :TransactionUpdateTaxableAmount, 'kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rb'
|
|
147
|
+
autoload :TransactionUpdateTotalAmount, 'kintsugi_sdk/models/shared/transactionupdate_total_amount.rb'
|
|
148
|
+
autoload :TransactionUpdateTotalTaxAmountCalculated, 'kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rb'
|
|
149
|
+
autoload :TransactionUpdateTotalTaxAmountImported, 'kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rb'
|
|
150
|
+
autoload :TransactionUpdateTotalTaxLiabilityAmount, 'kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rb'
|
|
83
151
|
autoload :TreatmentEnum, 'kintsugi_sdk/models/shared/treatmentenum.rb'
|
|
84
152
|
autoload :ValidationAddress, 'kintsugi_sdk/models/shared/validationaddress.rb'
|
|
85
153
|
autoload :ValidationError, 'kintsugi_sdk/models/shared/validationerror.rb'
|
|
86
154
|
autoload :Addresses, 'kintsugi_sdk/models/shared/addresses.rb'
|
|
87
155
|
autoload :BackendSrcAddressValidationResponsesValidationErrorItem, 'kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rb'
|
|
88
156
|
autoload :BackendSrcCustomersResponsesValidationErrorItem, 'kintsugi_sdk/models/shared/backend_src_customers_responses_validationerroritem.rb'
|
|
89
|
-
autoload :BackendSrcExemptionsModelsExemptionRead, 'kintsugi_sdk/models/shared/backend_src_exemptions_models_exemptionread.rb'
|
|
90
157
|
autoload :BackendSrcExemptionsResponsesValidationErrorItem, 'kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rb'
|
|
158
|
+
autoload :BackendSrcExemptionsSchemasExemptionExemptionRead, 'kintsugi_sdk/models/shared/backend_src_exemptions_schemas_exemption_exemptionread.rb'
|
|
91
159
|
autoload :BackendSrcExemptionsSerializersExemptionRead, 'kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rb'
|
|
92
|
-
autoload :
|
|
160
|
+
autoload :BackendSrcProductsSchemasResponsesValidationErrorItem, 'kintsugi_sdk/models/shared/backend_src_products_schemas_responses_validationerroritem.rb'
|
|
93
161
|
autoload :BackendSrcTaxEstimationResponsesValidationErrorItem, 'kintsugi_sdk/models/shared/backend_src_tax_estimation_responses_validationerroritem.rb'
|
|
94
162
|
autoload :BackendSrcTransactionsResponsesValidationErrorItem, 'kintsugi_sdk/models/shared/backend_src_transactions_responses_validationerroritem.rb'
|
|
95
163
|
autoload :FastapiPaginationDefaultPageExemptionRead2, 'kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rb'
|
|
96
|
-
autoload :
|
|
164
|
+
autoload :Loc, 'kintsugi_sdk/models/shared/loc.rb'
|
|
97
165
|
autoload :Type, 'kintsugi_sdk/models/shared/type.rb'
|
|
98
166
|
end
|
|
99
167
|
end
|
data/lib/kintsugi_sdk/nexus.rb
CHANGED
|
@@ -41,14 +41,14 @@ module KintsugiSDK
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
sig { params(request: Models::Ops::GetNexusForOrgV1NexusGetRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::PageNexusResponse) }
|
|
44
|
+
sig { params(request: Models::Ops::GetNexusForOrgV1NexusGetRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(T.any(Models::Shared::PageNexusResponse, T::Array[Models::Shared::NexusResponse])) }
|
|
45
45
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
46
|
-
# list - Get
|
|
46
|
+
# list - Get nexus for org
|
|
47
47
|
# Get a list of all nexuses for the organization.
|
|
48
48
|
url, params = @sdk_configuration.get_server_details
|
|
49
49
|
base_url = Utils.template_url(url, params)
|
|
50
50
|
url = "#{base_url}/v1/nexus"
|
|
51
|
-
headers =
|
|
51
|
+
headers = Utils.get_headers(request)
|
|
52
52
|
headers = T.cast(headers, T::Hash[String, String])
|
|
53
53
|
query_params = Utils.get_query_params(Models::Ops::GetNexusForOrgV1NexusGetRequest, request, nil)
|
|
54
54
|
headers['Accept'] = 'application/json'
|
|
@@ -127,7 +127,7 @@ module KintsugiSDK
|
|
|
127
127
|
response: http_response
|
|
128
128
|
)
|
|
129
129
|
response_data = http_response.env.response_body
|
|
130
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::PageNexusResponse)
|
|
130
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Union.new(Models::Shared::PageNexusResponse, Crystalline::Array.new(Models::Shared::NexusResponse)))
|
|
131
131
|
|
|
132
132
|
return obj
|
|
133
133
|
else
|
|
@@ -16,7 +16,7 @@ module KintsugiSDK
|
|
|
16
16
|
class OpenApiSDK
|
|
17
17
|
extend T::Sig
|
|
18
18
|
|
|
19
|
-
attr_accessor :address_validation, :customers, :exemptions, :nexus, :products, :
|
|
19
|
+
attr_accessor :address_validation, :customers, :exemptions, :nexus, :products, :tax_estimation, :transactions
|
|
20
20
|
|
|
21
21
|
# Instantiates the SDK, configuring it with the provided parameters.
|
|
22
22
|
#
|
|
@@ -33,14 +33,14 @@ module KintsugiSDK
|
|
|
33
33
|
client: T.nilable(Faraday::Connection),
|
|
34
34
|
retry_config: T.nilable(::KintsugiSDK::Utils::RetryConfig),
|
|
35
35
|
timeout_ms: T.nilable(Integer),
|
|
36
|
-
|
|
36
|
+
api_key_header: T.nilable(::String),
|
|
37
37
|
security_source: T.nilable(T.proc.returns(Models::Shared::Security)),
|
|
38
38
|
server_idx: T.nilable(Integer),
|
|
39
39
|
server_url: T.nilable(String),
|
|
40
40
|
url_params: T.nilable(T::Hash[Symbol, String])
|
|
41
41
|
).void
|
|
42
42
|
end
|
|
43
|
-
def initialize(client: nil, retry_config: nil, timeout_ms: nil,
|
|
43
|
+
def initialize(client: nil, retry_config: nil, timeout_ms: nil, api_key_header: nil, security_source: nil, server_idx: nil, server_url: nil, url_params: nil)
|
|
44
44
|
|
|
45
45
|
connection_options = {
|
|
46
46
|
request: {
|
|
@@ -67,7 +67,7 @@ module KintsugiSDK
|
|
|
67
67
|
hooks,
|
|
68
68
|
retry_config,
|
|
69
69
|
timeout_ms,
|
|
70
|
-
|
|
70
|
+
api_key_header,
|
|
71
71
|
security_source,
|
|
72
72
|
server_url,
|
|
73
73
|
server_idx
|
|
@@ -83,8 +83,8 @@ module KintsugiSDK
|
|
|
83
83
|
@exemptions = Exemptions.new(@sdk_configuration)
|
|
84
84
|
@nexus = Nexus.new(@sdk_configuration)
|
|
85
85
|
@products = Products.new(@sdk_configuration)
|
|
86
|
-
@transactions = Transactions.new(@sdk_configuration)
|
|
87
86
|
@tax_estimation = TaxEstimation.new(@sdk_configuration)
|
|
87
|
+
@transactions = Transactions.new(@sdk_configuration)
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
sig { params(base_url: String, url_variables: T.nilable(T::Hash[Symbol, T.any(String, T::Enum)])).returns(String) }
|
|
@@ -43,7 +43,7 @@ module KintsugiSDK
|
|
|
43
43
|
|
|
44
44
|
sig { params(request: Models::Ops::GetProductByIdV1ProductsProductIdGetRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::ProductRead) }
|
|
45
45
|
def get(request:, timeout_ms: nil, http_headers: nil)
|
|
46
|
-
# get - Get
|
|
46
|
+
# get - Get product by id
|
|
47
47
|
# The Get Product By ID API retrieves detailed information about
|
|
48
48
|
# a single product by its unique ID. This API helps in viewing the specific details
|
|
49
49
|
# of a product, including its attributes, status, and categorization.
|
|
@@ -55,7 +55,7 @@ module KintsugiSDK
|
|
|
55
55
|
'/v1/products/{product_id}',
|
|
56
56
|
request
|
|
57
57
|
)
|
|
58
|
-
headers =
|
|
58
|
+
headers = Utils.get_headers(request)
|
|
59
59
|
headers = T.cast(headers, T::Hash[String, String])
|
|
60
60
|
headers['Accept'] = 'application/json'
|
|
61
61
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
@@ -161,7 +161,7 @@ module KintsugiSDK
|
|
|
161
161
|
response: http_response
|
|
162
162
|
)
|
|
163
163
|
response_data = http_response.env.response_body
|
|
164
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::
|
|
164
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BackendSrcProductsSchemasResponsesValidationErrorResponse)
|
|
165
165
|
raise obj
|
|
166
166
|
else
|
|
167
167
|
raise ::KintsugiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
@@ -193,11 +193,13 @@ module KintsugiSDK
|
|
|
193
193
|
|
|
194
194
|
sig { params(request: Models::Ops::UpdateProductV1ProductsProductIdPutRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::ProductRead) }
|
|
195
195
|
def update(request:, timeout_ms: nil, http_headers: nil)
|
|
196
|
-
# update - Update
|
|
196
|
+
# update - Update product
|
|
197
197
|
# The Update Product API allows users to modify the details of
|
|
198
198
|
# an existing product identified by its unique product_id. You can
|
|
199
|
-
# retrieve supported categories and subcategories from
|
|
200
|
-
# [GET /products/categories endpoint](/reference/api/products/get-product-categories)
|
|
199
|
+
# retrieve supported categories and subcategories from the
|
|
200
|
+
# [GET /products/categories endpoint](/reference/api/products/get-product-categories),
|
|
201
|
+
# or browse the full catalog with descriptions and examples in the
|
|
202
|
+
# [Product Categories guide](/docs/guides/product-categories)
|
|
201
203
|
url, params = @sdk_configuration.get_server_details
|
|
202
204
|
base_url = Utils.template_url(url, params)
|
|
203
205
|
url = Utils.generate_url(
|
|
@@ -206,9 +208,9 @@ module KintsugiSDK
|
|
|
206
208
|
'/v1/products/{product_id}',
|
|
207
209
|
request
|
|
208
210
|
)
|
|
209
|
-
headers =
|
|
211
|
+
headers = Utils.get_headers(request)
|
|
210
212
|
headers = T.cast(headers, T::Hash[String, String])
|
|
211
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :
|
|
213
|
+
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :request_body, :json)
|
|
212
214
|
headers['content-type'] = req_content_type
|
|
213
215
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
214
216
|
|
|
@@ -324,7 +326,7 @@ module KintsugiSDK
|
|
|
324
326
|
response: http_response
|
|
325
327
|
)
|
|
326
328
|
response_data = http_response.env.response_body
|
|
327
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::
|
|
329
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BackendSrcProductsSchemasResponsesValidationErrorResponse)
|
|
328
330
|
raise obj
|
|
329
331
|
else
|
|
330
332
|
raise ::KintsugiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
@@ -14,7 +14,7 @@ module KintsugiSDK
|
|
|
14
14
|
extend T::Sig
|
|
15
15
|
|
|
16
16
|
SERVERS = T.let([
|
|
17
|
-
'https://api.trykintsugi.com', # 1 - Production
|
|
17
|
+
'https://api.trykintsugi.com', # 1 - Production
|
|
18
18
|
].freeze, T::Array[String])
|
|
19
19
|
# Contains the list of servers available to the SDK
|
|
20
20
|
|
|
@@ -67,13 +67,13 @@ module KintsugiSDK
|
|
|
67
67
|
hooks: ::KintsugiSDK::SDKHooks::Hooks,
|
|
68
68
|
retry_config: T.nilable(::KintsugiSDK::Utils::RetryConfig),
|
|
69
69
|
timeout_ms: T.nilable(Integer),
|
|
70
|
-
|
|
70
|
+
api_key_header: T.nilable(::String),
|
|
71
71
|
security_source: T.nilable(T.proc.returns(Models::Shared::Security)),
|
|
72
72
|
server_url: T.nilable(String),
|
|
73
73
|
server_idx: T.nilable(Integer)
|
|
74
74
|
).void
|
|
75
75
|
end
|
|
76
|
-
def initialize(client, hooks, retry_config, timeout_ms,
|
|
76
|
+
def initialize(client, hooks, retry_config, timeout_ms, api_key_header, security_source, server_url, server_idx)
|
|
77
77
|
@client = client
|
|
78
78
|
@hooks = hooks
|
|
79
79
|
@retry_config = retry_config
|
|
@@ -83,14 +83,14 @@ module KintsugiSDK
|
|
|
83
83
|
raise StandardError, "Invalid server index #{server_idx}" if @server_idx.negative? || @server_idx >= SERVERS.length
|
|
84
84
|
if !security_source.nil?
|
|
85
85
|
@security_source = security_source
|
|
86
|
-
elsif !
|
|
87
|
-
@security_source = -> {
|
|
86
|
+
elsif !api_key_header.nil?
|
|
87
|
+
@security_source = -> { Models::Shared::Security.new(api_key_header: api_key_header) }
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = '1.0.0'
|
|
91
|
-
@sdk_version = '5.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 5.
|
|
91
|
+
@sdk_version = '5.7.0'
|
|
92
|
+
@gen_version = '2.937.18'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 5.7.0 2.937.18 1.0.0 kintsugi_sdk'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
|
@@ -41,16 +41,16 @@ module KintsugiSDK
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
sig { params(request: Models::Ops::EstimateTaxV1TaxEstimatePostRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::
|
|
44
|
+
sig { params(request: Models::Ops::EstimateTaxV1TaxEstimatePostRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::TransactionEstimateResponse) }
|
|
45
45
|
def estimate_tax(request:, timeout_ms: nil, http_headers: nil)
|
|
46
|
-
# estimate_tax - Estimate
|
|
46
|
+
# estimate_tax - Estimate tax
|
|
47
47
|
# The Estimate Tax API calculates the estimated tax for a specific
|
|
48
48
|
# transaction based on the provided details, including organization nexus,
|
|
49
49
|
# transaction details, customer details, and addresses. Optionally simulates nexus being met for tax calculation purposes. The `simulate_nexus_met` parameter is deprecated and will be removed in future releases.
|
|
50
50
|
url, params = @sdk_configuration.get_server_details
|
|
51
51
|
base_url = Utils.template_url(url, params)
|
|
52
52
|
url = "#{base_url}/v1/tax/estimate"
|
|
53
|
-
headers =
|
|
53
|
+
headers = Utils.get_headers(request)
|
|
54
54
|
headers = T.cast(headers, T::Hash[String, String])
|
|
55
55
|
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :transaction_estimate_public_request, :json)
|
|
56
56
|
headers['content-type'] = req_content_type
|
|
@@ -141,13 +141,13 @@ module KintsugiSDK
|
|
|
141
141
|
response: http_response
|
|
142
142
|
)
|
|
143
143
|
response_data = http_response.env.response_body
|
|
144
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::
|
|
144
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::TransactionEstimateResponse)
|
|
145
145
|
|
|
146
146
|
return obj
|
|
147
147
|
else
|
|
148
148
|
raise ::KintsugiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
149
149
|
end
|
|
150
|
-
elsif Utils.match_status_code(http_response.status, ['401'])
|
|
150
|
+
elsif Utils.match_status_code(http_response.status, ['400', '401'])
|
|
151
151
|
if Utils.match_content_type(content_type, 'application/json')
|
|
152
152
|
@sdk_configuration.hooks.after_success(
|
|
153
153
|
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
@@ -175,7 +175,7 @@ module KintsugiSDK
|
|
|
175
175
|
else
|
|
176
176
|
raise ::KintsugiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
177
177
|
end
|
|
178
|
-
elsif Utils.match_status_code(http_response.status, ['500'])
|
|
178
|
+
elsif Utils.match_status_code(http_response.status, ['500', '503'])
|
|
179
179
|
if Utils.match_content_type(content_type, 'application/json')
|
|
180
180
|
@sdk_configuration.hooks.after_success(
|
|
181
181
|
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|