kintsugi_sdk 5.6.1 → 5.7.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/lib/kintsugi_sdk/addressvalidation.rb +27 -25
- data/lib/kintsugi_sdk/customers.rb +133 -131
- data/lib/kintsugi_sdk/exemptions.rb +94 -94
- data/lib/kintsugi_sdk/models/errors/apierror.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_address_validation_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_customers_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_exemptions_responses_validationerrorresponse.rb +1 -1
- 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/backend_src_tax_estimation_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/errorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/httpvalidationerror.rb +1 -1
- 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 +19 -11
- 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_address_validation_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_customers_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rb → backend_src_exemptions_schemas_exemption_exemptionread.rb} +15 -10
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rbi → backend_src_exemptions_schemas_exemption_exemptionread.rbi} +6 -4
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rb +13 -9
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rb → backend_src_products_schemas_responses_validationerroritem.rb} +3 -3
- 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/backend_src_tax_estimation_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_transactions_responses_validationerroritem.rb +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/currencyenum.rb +1 -1
- 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/exemptioncreate.rb +8 -4
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rbi +2 -0
- 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 +46 -0
- data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rb +2 -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 +130 -90
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rbi +58 -44
- 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 +41 -15
- 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/relatedentitytype.rb +4 -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 +23 -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 +2 -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 +3 -0
- data/lib/kintsugi_sdk/models/shared/taxtypeenum.rb +30 -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 +89 -79
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rbi +36 -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/{exemption.rb → transactionembeddedexemption.rb} +38 -16
- data/lib/kintsugi_sdk/models/shared/{exemption.rbi → transactionembeddedexemption.rbi} +12 -6
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rb +10 -8
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rb +11 -9
- 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 +57 -53
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rbi +22 -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 +57 -53
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rbi +22 -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 +15 -7
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rb +18 -10
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rb +64 -44
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rbi +28 -18
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rb +69 -63
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rbi +30 -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 +107 -73
- data/lib/kintsugi_sdk/models/shared/transactionread.rbi +48 -28
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rb +68 -62
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rbi +30 -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/usetaxregistrationpath.rb +24 -0
- data/lib/kintsugi_sdk/models/shared/usetaxregistrationpath.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 +75 -6
- data/lib/kintsugi_sdk/nexus.rb +9 -9
- data/lib/kintsugi_sdk/openapisdk.rb +10 -10
- data/lib/kintsugi_sdk/products.rb +28 -26
- data/lib/kintsugi_sdk/sdk_hooks/hooks.rb +1 -1
- data/lib/kintsugi_sdk/sdk_hooks/types.rb +14 -14
- data/lib/kintsugi_sdk/sdkconfiguration.rb +22 -22
- data/lib/kintsugi_sdk/taxestimation.rb +15 -15
- data/lib/kintsugi_sdk/transactions.rb +113 -113
- data/lib/kintsugi_sdk/utils/forms.rb +23 -23
- data/lib/kintsugi_sdk/utils/headers.rb +4 -4
- data/lib/kintsugi_sdk/utils/query_params.rb +14 -14
- data/lib/kintsugi_sdk/utils/request_bodies.rb +7 -7
- data/lib/kintsugi_sdk/utils/retries.rb +42 -3
- data/lib/kintsugi_sdk/utils/security.rb +16 -16
- data/lib/kintsugi_sdk/utils/url.rb +6 -6
- data/lib/kintsugi_sdk/utils/utils.rb +37 -33
- data/lib/kintsugi_sdk.rb +1 -1
- metadata +174 -18
- 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
|
@@ -23,7 +23,7 @@ module KintsugiSDK
|
|
|
23
23
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
sig { params(base_url: String, url_variables: T.nilable(T::Hash[Symbol, T.any(String, T::Enum)])).returns(String) }
|
|
26
|
+
sig { params(base_url: ::String, url_variables: T.nilable(T::Hash[::Symbol, T.any(::String, T::Enum)])).returns(::String) }
|
|
27
27
|
def get_url(base_url:, url_variables: nil)
|
|
28
28
|
sd_base_url, sd_options = @sdk_configuration.get_server_details
|
|
29
29
|
|
|
@@ -41,15 +41,15 @@ module KintsugiSDK
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
sig { params(request: Models::Ops::GetExemptionsV1ExemptionsGetRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::FastapiPaginationDefaultPageExemptionRead2) }
|
|
44
|
+
sig { params(request: Models::Ops::GetExemptionsV1ExemptionsGetRequest, timeout_ms: T.nilable(::Integer), http_headers: T.nilable(T::Hash[T.any(::String, ::Symbol), ::String])).returns(Models::Shared::FastapiPaginationDefaultPageExemptionRead2) }
|
|
45
45
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
46
|
-
# list - Get
|
|
46
|
+
# list - Get exemptions
|
|
47
47
|
# Retrieve a list of exemptions based on filters.
|
|
48
48
|
url, params = @sdk_configuration.get_server_details
|
|
49
49
|
base_url = Utils.template_url(url, params)
|
|
50
50
|
url = "#{base_url}/v1/exemptions"
|
|
51
|
-
headers =
|
|
52
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
51
|
+
headers = Utils.get_headers(request)
|
|
52
|
+
headers = T.cast(headers, T::Hash[::String, ::String])
|
|
53
53
|
query_params = Utils.get_query_params(Models::Ops::GetExemptionsV1ExemptionsGetRequest, request, nil)
|
|
54
54
|
headers['Accept'] = 'application/json'
|
|
55
55
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
@@ -70,7 +70,7 @@ module KintsugiSDK
|
|
|
70
70
|
security_source: @sdk_configuration.security_source
|
|
71
71
|
)
|
|
72
72
|
|
|
73
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
73
|
+
error = T.let(nil, T.nilable(::StandardError))
|
|
74
74
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
75
75
|
|
|
76
76
|
|
|
@@ -91,7 +91,7 @@ module KintsugiSDK
|
|
|
91
91
|
request: req
|
|
92
92
|
)
|
|
93
93
|
end
|
|
94
|
-
rescue StandardError => e
|
|
94
|
+
rescue ::StandardError => e
|
|
95
95
|
error = e
|
|
96
96
|
ensure
|
|
97
97
|
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
@@ -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::FastapiPaginationDefaultPageExemptionRead2)
|
|
130
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Shared::FastapiPaginationDefaultPageExemptionRead2)
|
|
131
131
|
|
|
132
132
|
return obj
|
|
133
133
|
else
|
|
@@ -142,7 +142,7 @@ module KintsugiSDK
|
|
|
142
142
|
response: http_response
|
|
143
143
|
)
|
|
144
144
|
response_data = http_response.env.response_body
|
|
145
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
145
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
146
146
|
raise 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'
|
|
@@ -156,7 +156,7 @@ module KintsugiSDK
|
|
|
156
156
|
response: http_response
|
|
157
157
|
)
|
|
158
158
|
response_data = http_response.env.response_body
|
|
159
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
159
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
160
160
|
raise obj
|
|
161
161
|
else
|
|
162
162
|
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'
|
|
@@ -170,7 +170,7 @@ module KintsugiSDK
|
|
|
170
170
|
response: http_response
|
|
171
171
|
)
|
|
172
172
|
response_data = http_response.env.response_body
|
|
173
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
173
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
174
174
|
raise obj
|
|
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'
|
|
@@ -186,25 +186,25 @@ module KintsugiSDK
|
|
|
186
186
|
end
|
|
187
187
|
|
|
188
188
|
|
|
189
|
-
sig { params(request: Models::
|
|
189
|
+
sig { params(request: Models::Ops::CreateExemptionV1ExemptionsPostRequest, timeout_ms: T.nilable(::Integer), http_headers: T.nilable(T::Hash[T.any(::String, ::Symbol), ::String])).returns(Models::Shared::BackendSrcExemptionsSerializersExemptionRead) }
|
|
190
190
|
def create(request:, timeout_ms: nil, http_headers: nil)
|
|
191
|
-
# create - Create
|
|
191
|
+
# create - Create exemption
|
|
192
192
|
# The Create Exemption API allows you to create a new exemption record.
|
|
193
193
|
# This includes defining details such as exemption type, jurisdiction,
|
|
194
194
|
# Country, State, validity dates, etc.
|
|
195
195
|
url, params = @sdk_configuration.get_server_details
|
|
196
196
|
base_url = Utils.template_url(url, params)
|
|
197
197
|
url = "#{base_url}/v1/exemptions"
|
|
198
|
-
headers =
|
|
199
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
200
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :
|
|
198
|
+
headers = Utils.get_headers(request)
|
|
199
|
+
headers = T.cast(headers, T::Hash[::String, ::String])
|
|
200
|
+
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :exemption_create, :json)
|
|
201
201
|
headers['content-type'] = req_content_type
|
|
202
|
-
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
202
|
+
raise ::StandardError, 'request body is required' if data.nil? && form.nil?
|
|
203
203
|
|
|
204
204
|
if form && !form.empty?
|
|
205
205
|
body = Utils.encode_form(form)
|
|
206
206
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
207
|
-
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
207
|
+
body = ::URI.encode_www_form(T.cast(data, T::Hash[::Symbol, ::Object]))
|
|
208
208
|
else
|
|
209
209
|
body = data
|
|
210
210
|
end
|
|
@@ -227,7 +227,7 @@ module KintsugiSDK
|
|
|
227
227
|
security_source: @sdk_configuration.security_source
|
|
228
228
|
)
|
|
229
229
|
|
|
230
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
230
|
+
error = T.let(nil, T.nilable(::StandardError))
|
|
231
231
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
232
232
|
|
|
233
233
|
|
|
@@ -248,7 +248,7 @@ module KintsugiSDK
|
|
|
248
248
|
request: req
|
|
249
249
|
)
|
|
250
250
|
end
|
|
251
|
-
rescue StandardError => e
|
|
251
|
+
rescue ::StandardError => e
|
|
252
252
|
error = e
|
|
253
253
|
ensure
|
|
254
254
|
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
@@ -284,7 +284,7 @@ module KintsugiSDK
|
|
|
284
284
|
response: http_response
|
|
285
285
|
)
|
|
286
286
|
response_data = http_response.env.response_body
|
|
287
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::BackendSrcExemptionsSerializersExemptionRead)
|
|
287
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Shared::BackendSrcExemptionsSerializersExemptionRead)
|
|
288
288
|
|
|
289
289
|
return obj
|
|
290
290
|
else
|
|
@@ -299,7 +299,7 @@ module KintsugiSDK
|
|
|
299
299
|
response: http_response
|
|
300
300
|
)
|
|
301
301
|
response_data = http_response.env.response_body
|
|
302
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
302
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
303
303
|
raise obj
|
|
304
304
|
else
|
|
305
305
|
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'
|
|
@@ -313,7 +313,7 @@ module KintsugiSDK
|
|
|
313
313
|
response: http_response
|
|
314
314
|
)
|
|
315
315
|
response_data = http_response.env.response_body
|
|
316
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
316
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
317
317
|
raise obj
|
|
318
318
|
else
|
|
319
319
|
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'
|
|
@@ -327,7 +327,7 @@ module KintsugiSDK
|
|
|
327
327
|
response: http_response
|
|
328
328
|
)
|
|
329
329
|
response_data = http_response.env.response_body
|
|
330
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
330
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
331
331
|
raise obj
|
|
332
332
|
else
|
|
333
333
|
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'
|
|
@@ -343,9 +343,9 @@ module KintsugiSDK
|
|
|
343
343
|
end
|
|
344
344
|
|
|
345
345
|
|
|
346
|
-
sig { params(request: Models::Ops::GetExemptionByIdV1ExemptionsExemptionIdGetRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::
|
|
346
|
+
sig { params(request: Models::Ops::GetExemptionByIdV1ExemptionsExemptionIdGetRequest, timeout_ms: T.nilable(::Integer), http_headers: T.nilable(T::Hash[T.any(::String, ::Symbol), ::String])).returns(Models::Shared::BackendSrcExemptionsSchemasExemptionExemptionRead) }
|
|
347
347
|
def get(request:, timeout_ms: nil, http_headers: nil)
|
|
348
|
-
# get - Get
|
|
348
|
+
# get - Get exemption by id
|
|
349
349
|
# The Get Exemption By ID API retrieves a specific exemption record by
|
|
350
350
|
# its unique ID. This API is useful for retrieving detailed information
|
|
351
351
|
# about a particular exemption, including its associated
|
|
@@ -358,8 +358,8 @@ module KintsugiSDK
|
|
|
358
358
|
'/v1/exemptions/{exemption_id}',
|
|
359
359
|
request
|
|
360
360
|
)
|
|
361
|
-
headers =
|
|
362
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
361
|
+
headers = Utils.get_headers(request)
|
|
362
|
+
headers = T.cast(headers, T::Hash[::String, ::String])
|
|
363
363
|
headers['Accept'] = 'application/json'
|
|
364
364
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
365
365
|
|
|
@@ -379,7 +379,7 @@ module KintsugiSDK
|
|
|
379
379
|
security_source: @sdk_configuration.security_source
|
|
380
380
|
)
|
|
381
381
|
|
|
382
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
382
|
+
error = T.let(nil, T.nilable(::StandardError))
|
|
383
383
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
384
384
|
|
|
385
385
|
|
|
@@ -399,7 +399,7 @@ module KintsugiSDK
|
|
|
399
399
|
request: req
|
|
400
400
|
)
|
|
401
401
|
end
|
|
402
|
-
rescue StandardError => e
|
|
402
|
+
rescue ::StandardError => e
|
|
403
403
|
error = e
|
|
404
404
|
ensure
|
|
405
405
|
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
@@ -435,7 +435,7 @@ module KintsugiSDK
|
|
|
435
435
|
response: http_response
|
|
436
436
|
)
|
|
437
437
|
response_data = http_response.env.response_body
|
|
438
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::
|
|
438
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Shared::BackendSrcExemptionsSchemasExemptionExemptionRead)
|
|
439
439
|
|
|
440
440
|
return obj
|
|
441
441
|
else
|
|
@@ -450,7 +450,7 @@ module KintsugiSDK
|
|
|
450
450
|
response: http_response
|
|
451
451
|
)
|
|
452
452
|
response_data = http_response.env.response_body
|
|
453
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
453
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
454
454
|
raise obj
|
|
455
455
|
else
|
|
456
456
|
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'
|
|
@@ -464,7 +464,7 @@ module KintsugiSDK
|
|
|
464
464
|
response: http_response
|
|
465
465
|
)
|
|
466
466
|
response_data = http_response.env.response_body
|
|
467
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
467
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
468
468
|
raise obj
|
|
469
469
|
else
|
|
470
470
|
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'
|
|
@@ -478,7 +478,7 @@ module KintsugiSDK
|
|
|
478
478
|
response: http_response
|
|
479
479
|
)
|
|
480
480
|
response_data = http_response.env.response_body
|
|
481
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
481
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
482
482
|
raise obj
|
|
483
483
|
else
|
|
484
484
|
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'
|
|
@@ -494,34 +494,23 @@ module KintsugiSDK
|
|
|
494
494
|
end
|
|
495
495
|
|
|
496
496
|
|
|
497
|
-
sig { params(request: Models::Ops::
|
|
498
|
-
def
|
|
499
|
-
#
|
|
500
|
-
# The
|
|
501
|
-
#
|
|
502
|
-
# This is
|
|
503
|
-
#
|
|
497
|
+
sig { params(request: Models::Ops::GetExemptionAttachmentsRequest, timeout_ms: T.nilable(::Integer), http_headers: T.nilable(T::Hash[T.any(::String, ::Symbol), ::String])).returns(T::Array[Models::Shared::AttachmentRead]) }
|
|
498
|
+
def get_attachments(request:, timeout_ms: nil, http_headers: nil)
|
|
499
|
+
# get_attachments - Get attachments for exemption
|
|
500
|
+
# The Get Attachments for Exemption API retrieves all
|
|
501
|
+
# attachments associated with a specific exemption.
|
|
502
|
+
# This is used to view and manage supporting documents
|
|
503
|
+
# like exemption certificates uploaded for a particular exemption record.
|
|
504
504
|
url, params = @sdk_configuration.get_server_details
|
|
505
505
|
base_url = Utils.template_url(url, params)
|
|
506
506
|
url = Utils.generate_url(
|
|
507
|
-
Models::Ops::
|
|
507
|
+
Models::Ops::GetExemptionAttachmentsRequest,
|
|
508
508
|
base_url,
|
|
509
509
|
'/v1/exemptions/{exemption_id}/attachments',
|
|
510
510
|
request
|
|
511
511
|
)
|
|
512
|
-
headers =
|
|
513
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
514
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post, :multipart)
|
|
515
|
-
headers['content-type'] = req_content_type
|
|
516
|
-
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
517
|
-
|
|
518
|
-
if form && !form.empty?
|
|
519
|
-
body = Utils.encode_form(form)
|
|
520
|
-
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
521
|
-
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
522
|
-
else
|
|
523
|
-
body = data
|
|
524
|
-
end
|
|
512
|
+
headers = Utils.get_headers(request)
|
|
513
|
+
headers = T.cast(headers, T::Hash[::String, ::String])
|
|
525
514
|
headers['Accept'] = 'application/json'
|
|
526
515
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
527
516
|
|
|
@@ -537,17 +526,16 @@ module KintsugiSDK
|
|
|
537
526
|
config: @sdk_configuration,
|
|
538
527
|
base_url: base_url,
|
|
539
528
|
oauth2_scopes: nil,
|
|
540
|
-
operation_id: '
|
|
529
|
+
operation_id: 'getExemptionAttachments',
|
|
541
530
|
security_source: @sdk_configuration.security_source
|
|
542
531
|
)
|
|
543
532
|
|
|
544
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
533
|
+
error = T.let(nil, T.nilable(::StandardError))
|
|
545
534
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
546
535
|
|
|
547
536
|
|
|
548
537
|
begin
|
|
549
|
-
http_response = T.must(connection).
|
|
550
|
-
req.body = body
|
|
538
|
+
http_response = T.must(connection).get(url) do |req|
|
|
551
539
|
req.headers.merge!(headers)
|
|
552
540
|
req.options.timeout = timeout unless timeout.nil?
|
|
553
541
|
Utils.configure_request_security(req, security)
|
|
@@ -562,7 +550,7 @@ module KintsugiSDK
|
|
|
562
550
|
request: req
|
|
563
551
|
)
|
|
564
552
|
end
|
|
565
|
-
rescue StandardError => e
|
|
553
|
+
rescue ::StandardError => e
|
|
566
554
|
error = e
|
|
567
555
|
ensure
|
|
568
556
|
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
@@ -598,7 +586,7 @@ module KintsugiSDK
|
|
|
598
586
|
response: http_response
|
|
599
587
|
)
|
|
600
588
|
response_data = http_response.env.response_body
|
|
601
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::AttachmentRead)
|
|
589
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Crystalline::Array.new(Models::Shared::AttachmentRead))
|
|
602
590
|
|
|
603
591
|
return obj
|
|
604
592
|
else
|
|
@@ -613,7 +601,7 @@ module KintsugiSDK
|
|
|
613
601
|
response: http_response
|
|
614
602
|
)
|
|
615
603
|
response_data = http_response.env.response_body
|
|
616
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
604
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
617
605
|
raise obj
|
|
618
606
|
else
|
|
619
607
|
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'
|
|
@@ -627,21 +615,7 @@ module KintsugiSDK
|
|
|
627
615
|
response: http_response
|
|
628
616
|
)
|
|
629
617
|
response_data = http_response.env.response_body
|
|
630
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
631
|
-
raise obj
|
|
632
|
-
else
|
|
633
|
-
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'
|
|
634
|
-
end
|
|
635
|
-
elsif Utils.match_status_code(http_response.status, ['500'])
|
|
636
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
637
|
-
@sdk_configuration.hooks.after_success(
|
|
638
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
639
|
-
hook_ctx: hook_ctx
|
|
640
|
-
),
|
|
641
|
-
response: http_response
|
|
642
|
-
)
|
|
643
|
-
response_data = http_response.env.response_body
|
|
644
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
618
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
645
619
|
raise obj
|
|
646
620
|
else
|
|
647
621
|
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'
|
|
@@ -657,23 +631,34 @@ module KintsugiSDK
|
|
|
657
631
|
end
|
|
658
632
|
|
|
659
633
|
|
|
660
|
-
sig { params(request: Models::Ops::
|
|
661
|
-
def
|
|
662
|
-
#
|
|
663
|
-
# The
|
|
664
|
-
#
|
|
665
|
-
# This is used to
|
|
666
|
-
#
|
|
634
|
+
sig { params(request: Models::Ops::UploadExemptionCertRequest, timeout_ms: T.nilable(::Integer), http_headers: T.nilable(T::Hash[T.any(::String, ::Symbol), ::String])).returns(Models::Shared::AttachmentRead) }
|
|
635
|
+
def upload_certificate(request:, timeout_ms: nil, http_headers: nil)
|
|
636
|
+
# upload_certificate - Upload exemption certificate
|
|
637
|
+
# The Upload Exemption Certificate API allows you
|
|
638
|
+
# to upload a file attachment (e.g., exemption certificate) for a specific exemption.
|
|
639
|
+
# This is primarily used to associate supporting documents with an exemption record
|
|
640
|
+
# to ensure compliance and facilitate verification.
|
|
667
641
|
url, params = @sdk_configuration.get_server_details
|
|
668
642
|
base_url = Utils.template_url(url, params)
|
|
669
643
|
url = Utils.generate_url(
|
|
670
|
-
Models::Ops::
|
|
644
|
+
Models::Ops::UploadExemptionCertRequest,
|
|
671
645
|
base_url,
|
|
672
646
|
'/v1/exemptions/{exemption_id}/attachments',
|
|
673
647
|
request
|
|
674
648
|
)
|
|
675
|
-
headers =
|
|
676
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
649
|
+
headers = Utils.get_headers(request)
|
|
650
|
+
headers = T.cast(headers, T::Hash[::String, ::String])
|
|
651
|
+
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post, :multipart)
|
|
652
|
+
headers['content-type'] = req_content_type
|
|
653
|
+
raise ::StandardError, 'request body is required' if data.nil? && form.nil?
|
|
654
|
+
|
|
655
|
+
if form && !form.empty?
|
|
656
|
+
body = Utils.encode_form(form)
|
|
657
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
658
|
+
body = ::URI.encode_www_form(T.cast(data, T::Hash[::Symbol, ::Object]))
|
|
659
|
+
else
|
|
660
|
+
body = data
|
|
661
|
+
end
|
|
677
662
|
headers['Accept'] = 'application/json'
|
|
678
663
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
679
664
|
|
|
@@ -689,16 +674,17 @@ module KintsugiSDK
|
|
|
689
674
|
config: @sdk_configuration,
|
|
690
675
|
base_url: base_url,
|
|
691
676
|
oauth2_scopes: nil,
|
|
692
|
-
operation_id: '
|
|
677
|
+
operation_id: 'uploadExemptionCert',
|
|
693
678
|
security_source: @sdk_configuration.security_source
|
|
694
679
|
)
|
|
695
680
|
|
|
696
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
681
|
+
error = T.let(nil, T.nilable(::StandardError))
|
|
697
682
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
698
683
|
|
|
699
684
|
|
|
700
685
|
begin
|
|
701
|
-
http_response = T.must(connection).
|
|
686
|
+
http_response = T.must(connection).post(url) do |req|
|
|
687
|
+
req.body = body
|
|
702
688
|
req.headers.merge!(headers)
|
|
703
689
|
req.options.timeout = timeout unless timeout.nil?
|
|
704
690
|
Utils.configure_request_security(req, security)
|
|
@@ -713,7 +699,7 @@ module KintsugiSDK
|
|
|
713
699
|
request: req
|
|
714
700
|
)
|
|
715
701
|
end
|
|
716
|
-
rescue StandardError => e
|
|
702
|
+
rescue ::StandardError => e
|
|
717
703
|
error = e
|
|
718
704
|
ensure
|
|
719
705
|
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
@@ -749,7 +735,7 @@ module KintsugiSDK
|
|
|
749
735
|
response: http_response
|
|
750
736
|
)
|
|
751
737
|
response_data = http_response.env.response_body
|
|
752
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data),
|
|
738
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Shared::AttachmentRead)
|
|
753
739
|
|
|
754
740
|
return obj
|
|
755
741
|
else
|
|
@@ -764,7 +750,7 @@ module KintsugiSDK
|
|
|
764
750
|
response: http_response
|
|
765
751
|
)
|
|
766
752
|
response_data = http_response.env.response_body
|
|
767
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
753
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
768
754
|
raise obj
|
|
769
755
|
else
|
|
770
756
|
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'
|
|
@@ -778,7 +764,21 @@ module KintsugiSDK
|
|
|
778
764
|
response: http_response
|
|
779
765
|
)
|
|
780
766
|
response_data = http_response.env.response_body
|
|
781
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
767
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::BackendSrcExemptionsResponsesValidationErrorResponse)
|
|
768
|
+
raise obj
|
|
769
|
+
else
|
|
770
|
+
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'
|
|
771
|
+
end
|
|
772
|
+
elsif Utils.match_status_code(http_response.status, ['500'])
|
|
773
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
774
|
+
@sdk_configuration.hooks.after_success(
|
|
775
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
776
|
+
hook_ctx: hook_ctx
|
|
777
|
+
),
|
|
778
|
+
response: http_response
|
|
779
|
+
)
|
|
780
|
+
response_data = http_response.env.response_body
|
|
781
|
+
obj = Crystalline.unmarshal_json(::JSON.parse(response_data), Models::Errors::ErrorResponse)
|
|
782
782
|
raise obj
|
|
783
783
|
else
|
|
784
784
|
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'
|
|
@@ -8,7 +8,7 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Errors
|
|
10
10
|
|
|
11
|
-
class BackendSrcAddressValidationResponsesValidationErrorResponse < StandardError
|
|
11
|
+
class BackendSrcAddressValidationResponsesValidationErrorResponse < ::StandardError
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
data/lib/kintsugi_sdk/models/errors/backend_src_customers_responses_validationerrorresponse.rb
CHANGED
|
@@ -8,7 +8,7 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Errors
|
|
10
10
|
|
|
11
|
-
class BackendSrcCustomersResponsesValidationErrorResponse < StandardError
|
|
11
|
+
class BackendSrcCustomersResponsesValidationErrorResponse < ::StandardError
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
data/lib/kintsugi_sdk/models/errors/backend_src_exemptions_responses_validationerrorresponse.rb
CHANGED
|
@@ -8,7 +8,7 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Errors
|
|
10
10
|
|
|
11
|
-
class BackendSrcExemptionsResponsesValidationErrorResponse < StandardError
|
|
11
|
+
class BackendSrcExemptionsResponsesValidationErrorResponse < ::StandardError
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
@@ -8,14 +8,14 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Errors
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class BackendSrcProductsSchemasResponsesValidationErrorResponse < ::StandardError
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :detail, Crystalline::Array.new(Models::Shared::
|
|
16
|
+
field :detail, Crystalline::Array.new(Models::Shared::BackendSrcProductsSchemasResponsesValidationErrorItem), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('detail'), required: true } }
|
|
17
17
|
|
|
18
|
-
sig { params(detail: T::Array[Models::Shared::
|
|
18
|
+
sig { params(detail: T::Array[Models::Shared::BackendSrcProductsSchemasResponsesValidationErrorItem]).void }
|
|
19
19
|
def initialize(detail:)
|
|
20
20
|
@detail = detail
|
|
21
21
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class KintsugiSDK::Models::Errors::BackendSrcProductsSchemasResponsesValidationErrorResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class KintsugiSDK::Models::Errors::BackendSrcProductsSchemasResponsesValidationErrorResponse
|
|
11
|
+
def detail(); end
|
|
12
|
+
def detail=(str_); end
|
|
13
|
+
end
|
data/lib/kintsugi_sdk/models/errors/backend_src_tax_estimation_responses_validationerrorresponse.rb
CHANGED
|
@@ -8,7 +8,7 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Errors
|
|
10
10
|
|
|
11
|
-
class BackendSrcTaxEstimationResponsesValidationErrorResponse < StandardError
|
|
11
|
+
class BackendSrcTaxEstimationResponsesValidationErrorResponse < ::StandardError
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
data/lib/kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rb
CHANGED
|
@@ -8,7 +8,7 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Errors
|
|
10
10
|
|
|
11
|
-
class BackendSrcTransactionsResponsesValidationErrorResponse < StandardError
|
|
11
|
+
class BackendSrcTransactionsResponsesValidationErrorResponse < ::StandardError
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
@@ -12,7 +12,7 @@ module KintsugiSDK
|
|
|
12
12
|
autoload :BackendSrcAddressValidationResponsesValidationErrorResponse, 'kintsugi_sdk/models/errors/backend_src_address_validation_responses_validationerrorresponse.rb'
|
|
13
13
|
autoload :BackendSrcCustomersResponsesValidationErrorResponse, 'kintsugi_sdk/models/errors/backend_src_customers_responses_validationerrorresponse.rb'
|
|
14
14
|
autoload :BackendSrcExemptionsResponsesValidationErrorResponse, 'kintsugi_sdk/models/errors/backend_src_exemptions_responses_validationerrorresponse.rb'
|
|
15
|
-
autoload :
|
|
15
|
+
autoload :BackendSrcProductsSchemasResponsesValidationErrorResponse, 'kintsugi_sdk/models/errors/backend_src_products_schemas_responses_validationerrorresponse.rb'
|
|
16
16
|
autoload :BackendSrcTaxEstimationResponsesValidationErrorResponse, 'kintsugi_sdk/models/errors/backend_src_tax_estimation_responses_validationerrorresponse.rb'
|
|
17
17
|
autoload :BackendSrcTransactionsResponsesValidationErrorResponse, 'kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rb'
|
|
18
18
|
end
|
data/lib/kintsugi_sdk/models/ops/{search_v1_address_validation_search_post_security.rb → country.rb}
RENAMED
|
@@ -8,22 +8,17 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Ops
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class Country
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
sig { params(api_key_header: ::String).void }
|
|
19
|
-
def initialize(api_key_header:)
|
|
20
|
-
@api_key_header = api_key_header
|
|
21
|
-
end
|
|
16
|
+
|
|
17
|
+
def initialize; end
|
|
22
18
|
|
|
23
19
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
20
|
def ==(other)
|
|
25
21
|
return false unless other.is_a? self.class
|
|
26
|
-
return false unless @api_key_header == other.api_key_header
|
|
27
22
|
true
|
|
28
23
|
end
|
|
29
24
|
end
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class KintsugiSDK::Models::
|
|
5
|
+
class KintsugiSDK::Models::Ops::Country
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class KintsugiSDK::Models::
|
|
10
|
+
class KintsugiSDK::Models::Ops::Country
|
|
11
11
|
end
|