kintsugi_sdk 5.6.0 → 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/crystalline/types.rb +11 -3
- data/lib/kintsugi_sdk/addressvalidation.rb +26 -16
- data/lib/kintsugi_sdk/customers.rb +148 -123
- data/lib/kintsugi_sdk/exemptions.rb +102 -85
- data/lib/kintsugi_sdk/models/errors/apierror.rbi +2 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_address_validation_responses_validationerrorresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_customers_responses_validationerrorresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_exemptions_responses_validationerrorresponse.rbi +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.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/errorresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/httpvalidationerror.rbi +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} +3 -3
- 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 +3 -1
- 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 +3 -1
- 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 +3 -1
- 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 +3 -1
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb +13 -5
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rbi +5 -1
- 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 +3 -1
- 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 +7 -3
- 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 +15 -7
- 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 +3 -1
- 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 +3 -1
- 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 +15 -5
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rbi +3 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rbi +3 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rb +14 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rbi +7 -1
- 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 +3 -1
- 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 +3 -1
- 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 +5 -3
- 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 +3 -1
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rbi +3 -1
- 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/addressbase.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/addresses.rbi +3 -1
- data/lib/kintsugi_sdk/models/shared/addressresponsedata.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresssearchresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addressstatus.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresssubmittedresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresstype.rbi +1 -1
- 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/appliedto.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/attachmentread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_customers_responses_validationerroritem.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rbi +1 -1
- 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} +5 -5
- 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 +3 -3
- 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} +3 -3
- data/lib/kintsugi_sdk/models/shared/backend_src_tax_estimation_responses_validationerroritem.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_transactions_responses_validationerroritem.rbi +1 -1
- 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/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rbi +1 -1
- 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/countrycodeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/currencyenum.rbi +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 +7 -5
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rbi +7 -5
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rbi +7 -5
- data/lib/kintsugi_sdk/models/shared/customercreate.rb +20 -16
- data/lib/kintsugi_sdk/models/shared/customercreate.rbi +9 -7
- data/lib/kintsugi_sdk/models/shared/customerread.rb +24 -16
- data/lib/kintsugi_sdk/models/shared/customerread.rbi +11 -7
- data/lib/kintsugi_sdk/models/shared/customertaxregistrationread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customertaxtypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customerupdate.rb +13 -9
- data/lib/kintsugi_sdk/models/shared/customerupdate.rbi +5 -3
- 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 +3 -3
- 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 +9 -5
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rb +3 -3
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rb +22 -2
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rbi +11 -1
- 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/exemptionstatus.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/findthresholdcrossingtransactionstate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/jurisdictiontype.rbi +1 -1
- 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 +53 -41
- data/lib/kintsugi_sdk/models/shared/nexusstateenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/nexusstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/nexustypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/nexustypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/page_customerread_.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/page_nexusresponse_.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/page_transactionread_.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/periodmodelenum.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/periodmodelenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/processingstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/processingstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/productread.rb +40 -12
- data/lib/kintsugi_sdk/models/shared/productread.rbi +19 -5
- data/lib/kintsugi_sdk/models/shared/productstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/productstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/productupdate.rb +6 -6
- data/lib/kintsugi_sdk/models/shared/productupdate.rbi +3 -3
- 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/registrationsregimeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/relatedentitytype.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/salesortransactionsenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/security.rb +2 -6
- data/lib/kintsugi_sdk/models/shared/security.rbi +1 -3
- data/lib/kintsugi_sdk/models/shared/sourceenum.rb +15 -0
- data/lib/kintsugi_sdk/models/shared/sourceenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/statusenum.rbi +1 -1
- 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/taxexemptionenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rb +14 -14
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rbi +5 -5
- 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 +5 -5
- data/lib/kintsugi_sdk/models/shared/taxitemread.rb +10 -10
- data/lib/kintsugi_sdk/models/shared/taxitemread.rbi +5 -5
- data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxitemtypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxliabilitysourceenum.rbi +1 -1
- 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 +5 -3
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rb +8 -4
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rbi +3 -1
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb +11 -7
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rbi +5 -3
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rb +84 -78
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rbi +35 -29
- 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 +3 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rb +10 -8
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rbi +3 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rbi +3 -1
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_type.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionexemptstatusenum.rbi +1 -1
- 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 +21 -21
- 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 +21 -21
- 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 +5 -3
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rb +20 -10
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rbi +7 -5
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rb +51 -43
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rbi +23 -19
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rb +64 -62
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rbi +29 -25
- 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 +41 -29
- data/lib/kintsugi_sdk/models/shared/transactionrefundstatus.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rb +63 -61
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rbi +29 -25
- 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/treatmentenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/type.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/validationaddress.rb +12 -12
- data/lib/kintsugi_sdk/models/shared/validationaddress.rbi +5 -5
- data/lib/kintsugi_sdk/models/shared/validationerror.rb +11 -3
- data/lib/kintsugi_sdk/models/shared/validationerror.rbi +5 -1
- data/lib/kintsugi_sdk/models/shared.rb +73 -5
- data/lib/kintsugi_sdk/nexus.rb +15 -10
- data/lib/kintsugi_sdk/openapisdk.rb +7 -6
- data/lib/kintsugi_sdk/products.rb +32 -22
- data/lib/kintsugi_sdk/sdkconfiguration.rb +10 -11
- data/lib/kintsugi_sdk/taxestimation.rb +17 -12
- data/lib/kintsugi_sdk/transactions.rb +125 -105
- data/lib/kintsugi_sdk/utils/retries.rb +43 -1
- data/lib/kintsugi_sdk/utils/security.rb +22 -11
- data/lib/kintsugi_sdk/utils/utils.rb +6 -2
- data/lib/kintsugi_sdk.rb +1 -1
- metadata +172 -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
|
@@ -15,19 +15,23 @@ module KintsugiSDK
|
|
|
15
15
|
# Unique identifier of the product to be updated.
|
|
16
16
|
field :product_id, ::String, { 'path_param': { 'field_name': 'product_id', 'style': 'simple', 'explode': false } }
|
|
17
17
|
|
|
18
|
-
field :
|
|
18
|
+
field :request_body, Crystalline::Union.new(Models::Shared::ProductUpdate, Models::Shared::ProductUpdateV2), { 'request': { 'media_type': 'application/json' } }
|
|
19
|
+
# The unique identifier for the organization making the request
|
|
20
|
+
field :x_organization_id, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-organization-id', 'style': 'simple', 'explode': false } }
|
|
19
21
|
|
|
20
|
-
sig { params(product_id: ::String,
|
|
21
|
-
def initialize(product_id:,
|
|
22
|
+
sig { params(product_id: ::String, request_body: T.any(Models::Shared::ProductUpdate, Models::Shared::ProductUpdateV2), x_organization_id: T.nilable(::String)).void }
|
|
23
|
+
def initialize(product_id:, request_body:, x_organization_id: nil)
|
|
22
24
|
@product_id = product_id
|
|
23
|
-
@
|
|
25
|
+
@request_body = request_body
|
|
26
|
+
@x_organization_id = x_organization_id
|
|
24
27
|
end
|
|
25
28
|
|
|
26
29
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
30
|
def ==(other)
|
|
28
31
|
return false unless other.is_a? self.class
|
|
29
32
|
return false unless @product_id == other.product_id
|
|
30
|
-
return false unless @
|
|
33
|
+
return false unless @request_body == other.request_body
|
|
34
|
+
return false unless @x_organization_id == other.x_organization_id
|
|
31
35
|
true
|
|
32
36
|
end
|
|
33
37
|
end
|
|
@@ -10,6 +10,8 @@ end
|
|
|
10
10
|
class KintsugiSDK::Models::Ops::UpdateProductV1ProductsProductIdPutRequest
|
|
11
11
|
def product_id(); end
|
|
12
12
|
def product_id=(str_); end
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
end
|
|
13
|
+
def request_body(); end
|
|
14
|
+
def request_body=(str_); end
|
|
15
|
+
def x_organization_id(); end
|
|
16
|
+
def x_organization_id=(str_); end
|
|
17
|
+
end
|
data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rb
CHANGED
|
@@ -16,11 +16,14 @@ module KintsugiSDK
|
|
|
16
16
|
field :transaction_id, ::String, { 'path_param': { 'field_name': 'transaction_id', 'style': 'simple', 'explode': false } }
|
|
17
17
|
|
|
18
18
|
field :transaction_update, Models::Shared::TransactionUpdate, { 'request': { 'media_type': 'application/json' } }
|
|
19
|
+
# The unique identifier for the organization making the request
|
|
20
|
+
field :x_organization_id, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-organization-id', 'style': 'simple', 'explode': false } }
|
|
19
21
|
|
|
20
|
-
sig { params(transaction_id: ::String, transaction_update: Models::Shared::TransactionUpdate).void }
|
|
21
|
-
def initialize(transaction_id:, transaction_update:)
|
|
22
|
+
sig { params(transaction_id: ::String, transaction_update: Models::Shared::TransactionUpdate, x_organization_id: T.nilable(::String)).void }
|
|
23
|
+
def initialize(transaction_id:, transaction_update:, x_organization_id: nil)
|
|
22
24
|
@transaction_id = transaction_id
|
|
23
25
|
@transaction_update = transaction_update
|
|
26
|
+
@x_organization_id = x_organization_id
|
|
24
27
|
end
|
|
25
28
|
|
|
26
29
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -28,6 +31,7 @@ module KintsugiSDK
|
|
|
28
31
|
return false unless other.is_a? self.class
|
|
29
32
|
return false unless @transaction_id == other.transaction_id
|
|
30
33
|
return false unless @transaction_update == other.transaction_update
|
|
34
|
+
return false unless @x_organization_id == other.x_organization_id
|
|
31
35
|
true
|
|
32
36
|
end
|
|
33
37
|
end
|
data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rbi
CHANGED
|
@@ -12,4 +12,6 @@ class KintsugiSDK::Models::Ops::UpdateTransactionV1TransactionsTransactionIdPutR
|
|
|
12
12
|
def transaction_id=(str_); end
|
|
13
13
|
def transaction_update(); end
|
|
14
14
|
def transaction_update=(str_); end
|
|
15
|
-
end
|
|
15
|
+
def x_organization_id(); end
|
|
16
|
+
def x_organization_id=(str_); end
|
|
17
|
+
end
|
|
@@ -16,11 +16,14 @@ module KintsugiSDK
|
|
|
16
16
|
field :exemption_id, ::String, { 'path_param': { 'field_name': 'exemption_id', 'style': 'simple', 'explode': false } }
|
|
17
17
|
|
|
18
18
|
field :body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post, Models::Shared::BodyUploadExemptionCertificateV1ExemptionsExemptionIdAttachmentsPost, { 'request': { 'media_type': 'multipart/form-data' } }
|
|
19
|
+
# The unique identifier for the organization making the request
|
|
20
|
+
field :x_organization_id, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-organization-id', 'style': 'simple', 'explode': false } }
|
|
19
21
|
|
|
20
|
-
sig { params(exemption_id: ::String, body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post: Models::Shared::BodyUploadExemptionCertificateV1ExemptionsExemptionIdAttachmentsPost).void }
|
|
21
|
-
def initialize(exemption_id:, body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post:)
|
|
22
|
+
sig { params(exemption_id: ::String, body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post: Models::Shared::BodyUploadExemptionCertificateV1ExemptionsExemptionIdAttachmentsPost, x_organization_id: T.nilable(::String)).void }
|
|
23
|
+
def initialize(exemption_id:, body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post:, x_organization_id: nil)
|
|
22
24
|
@exemption_id = exemption_id
|
|
23
25
|
@body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post = body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post
|
|
26
|
+
@x_organization_id = x_organization_id
|
|
24
27
|
end
|
|
25
28
|
|
|
26
29
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -28,6 +31,7 @@ module KintsugiSDK
|
|
|
28
31
|
return false unless other.is_a? self.class
|
|
29
32
|
return false unless @exemption_id == other.exemption_id
|
|
30
33
|
return false unless @body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post == other.body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post
|
|
34
|
+
return false unless @x_organization_id == other.x_organization_id
|
|
31
35
|
true
|
|
32
36
|
end
|
|
33
37
|
end
|
|
@@ -12,4 +12,6 @@ class KintsugiSDK::Models::Ops::UploadExemptionCertRequest
|
|
|
12
12
|
def exemption_id=(str_); end
|
|
13
13
|
def body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post(); end
|
|
14
14
|
def body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post=(str_); end
|
|
15
|
-
end
|
|
15
|
+
def x_organization_id(); end
|
|
16
|
+
def x_organization_id=(str_); end
|
|
17
|
+
end
|
|
@@ -6,10 +6,16 @@
|
|
|
6
6
|
module KintsugiSDK
|
|
7
7
|
module Models
|
|
8
8
|
module Ops
|
|
9
|
+
autoload :Country, 'kintsugi_sdk/models/ops/country.rb'
|
|
10
|
+
autoload :CountryCode, 'kintsugi_sdk/models/ops/country_code.rb'
|
|
9
11
|
autoload :CreateTransactionByCustomerRequest, 'kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb'
|
|
12
|
+
autoload :CreateCustomerV1CustomersPostRequest, 'kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rb'
|
|
13
|
+
autoload :CreateExemptionV1ExemptionsPostRequest, 'kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rb'
|
|
14
|
+
autoload :CreateTransactionV1TransactionsPostRequest, 'kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rb'
|
|
10
15
|
autoload :EstimateTaxV1TaxEstimatePostRequest, 'kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rb'
|
|
11
16
|
autoload :GetExemptionAttachmentsRequest, 'kintsugi_sdk/models/ops/getexemptionattachments_request.rb'
|
|
12
17
|
autoload :GetTransactionByExternalIdRequest, 'kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rb'
|
|
18
|
+
autoload :GetTransactionsByCustomerResponseGetTransactionsByCustomerIdV1CustomersCustomerIdTransactionsGet, 'kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rb'
|
|
13
19
|
autoload :GetTransactionsByCustomerRequest, 'kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rb'
|
|
14
20
|
autoload :GetTransactionsByFilingRequest, 'kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rb'
|
|
15
21
|
autoload :GetCustomerByExternalIdV1CustomersExternalExternalIdGetRequest, 'kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rb'
|
|
@@ -17,12 +23,15 @@ module KintsugiSDK
|
|
|
17
23
|
autoload :GetCustomersV1Request, 'kintsugi_sdk/models/ops/get_customers_v1_request.rb'
|
|
18
24
|
autoload :GetExemptionByIdV1ExemptionsExemptionIdGetRequest, 'kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rb'
|
|
19
25
|
autoload :GetExemptionsV1ExemptionsGetRequest, 'kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb'
|
|
26
|
+
autoload :GetNexusForOrgV1NexusGetResponseGetNexusForOrgV1NexusGet, 'kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rb'
|
|
20
27
|
autoload :GetNexusForOrgV1NexusGetRequest, 'kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb'
|
|
21
28
|
autoload :GetProductByIdV1ProductsProductIdGetRequest, 'kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rb'
|
|
22
29
|
autoload :GetTransactionByIdV1TransactionsTransactionIdGetRequest, 'kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rb'
|
|
23
30
|
autoload :GetTransactionsV1TransactionsGetRequest, 'kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb'
|
|
24
|
-
autoload :
|
|
31
|
+
autoload :QueryParamCountry, 'kintsugi_sdk/models/ops/queryparam_country.rb'
|
|
32
|
+
autoload :SuggestionsV1AddressValidationSuggestionsPostRequest, 'kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rb'
|
|
25
33
|
autoload :UpdateCustomerV1CustomersCustomerIdPutRequest, 'kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rb'
|
|
34
|
+
autoload :UpdateProductV1ProductsProductIdPutProduct, 'kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rb'
|
|
26
35
|
autoload :UpdateProductV1ProductsProductIdPutRequest, 'kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb'
|
|
27
36
|
autoload :UpdateTransactionV1TransactionsTransactionIdPutRequest, 'kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rb'
|
|
28
37
|
autoload :UploadExemptionCertRequest, 'kintsugi_sdk/models/ops/uploadexemptioncert_request.rb'
|
|
@@ -26,7 +26,7 @@ module KintsugiSDK
|
|
|
26
26
|
field :state, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('state') } }
|
|
27
27
|
# ZIP or Postal code of the customer.
|
|
28
28
|
field :postal_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('postal_code') } }
|
|
29
|
-
|
|
29
|
+
# Country code in ISO 3166-1 alpha-2 format
|
|
30
30
|
field :country, Crystalline::Nilable.new(Models::Shared::CountryCodeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('country'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CountryCodeEnum, true) } }
|
|
31
31
|
# Complete address string of the customer, which can be used as an alternative to individual fields.
|
|
32
32
|
field :full_address, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('full_address') } }
|
|
@@ -33,13 +33,15 @@ module KintsugiSDK
|
|
|
33
33
|
field :county, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('county') } }
|
|
34
34
|
# Complete address string of the customer, which can be used as an alternative to individual fields.
|
|
35
35
|
field :full_address, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('full_address') } }
|
|
36
|
-
#
|
|
36
|
+
# Deprecated: ignored on estimate. Accepted for backward compatibility; each address is validated from structured fields.
|
|
37
37
|
#
|
|
38
38
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
39
39
|
field :status, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('status') } }
|
|
40
|
+
# If true, city-level tax rates are not applied for this address.
|
|
41
|
+
field :is_unincorporated, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_unincorporated') } }
|
|
40
42
|
|
|
41
|
-
sig { params(type: Models::Shared::Type, state: ::String, postal_code: ::String, country: ::String, phone: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), city: T.nilable(::String), county: T.nilable(::String), full_address: T.nilable(::String), status: T.nilable(::String)).void }
|
|
42
|
-
def initialize(type:, state:, postal_code:, country:, phone: nil, street_1: nil, street_2: nil, city: nil, county: nil, full_address: nil, status: nil)
|
|
43
|
+
sig { params(type: Models::Shared::Type, state: ::String, postal_code: ::String, country: ::String, phone: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), city: T.nilable(::String), county: T.nilable(::String), full_address: T.nilable(::String), status: T.nilable(::String), is_unincorporated: T.nilable(T::Boolean)).void }
|
|
44
|
+
def initialize(type:, state:, postal_code:, country:, phone: nil, street_1: nil, street_2: nil, city: nil, county: nil, full_address: nil, status: nil, is_unincorporated: false)
|
|
43
45
|
@type = type
|
|
44
46
|
@state = state
|
|
45
47
|
@postal_code = postal_code
|
|
@@ -51,6 +53,7 @@ module KintsugiSDK
|
|
|
51
53
|
@county = county
|
|
52
54
|
@full_address = full_address
|
|
53
55
|
@status = status
|
|
56
|
+
@is_unincorporated = is_unincorporated
|
|
54
57
|
end
|
|
55
58
|
|
|
56
59
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -67,6 +70,7 @@ module KintsugiSDK
|
|
|
67
70
|
return false unless @county == other.county
|
|
68
71
|
return false unless @full_address == other.full_address
|
|
69
72
|
return false unless @status == other.status
|
|
73
|
+
return false unless @is_unincorporated == other.is_unincorporated
|
|
70
74
|
true
|
|
71
75
|
end
|
|
72
76
|
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module KintsugiSDK
|
|
8
|
+
module Models
|
|
9
|
+
module Shared
|
|
10
|
+
# Item amount.
|
|
11
|
+
class Amount
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def initialize; end
|
|
18
|
+
|
|
19
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
20
|
+
def ==(other)
|
|
21
|
+
return false unless other.is_a? self.class
|
|
22
|
+
true
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -8,7 +8,7 @@ module KintsugiSDK
|
|
|
8
8
|
module Models
|
|
9
9
|
module Shared
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class BackendSrcExemptionsSchemasExemptionExemptionRead
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
@@ -20,31 +20,32 @@ module KintsugiSDK
|
|
|
20
20
|
field :id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('id'), required: true } }
|
|
21
21
|
# The jurisdiction identifier for the exemption
|
|
22
22
|
field :jurisdiction, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('jurisdiction') } }
|
|
23
|
-
|
|
23
|
+
# Country code in ISO 3166-1 alpha-2 format (e.g., 'US')
|
|
24
24
|
field :country_code, Crystalline::Nilable.new(Models::Shared::CountryCodeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('country_code'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CountryCodeEnum, true) } }
|
|
25
25
|
# End date for the exemption validity period (YYYY-MM-DD format)
|
|
26
|
-
field :end_date, Crystalline::Nilable.new(::
|
|
26
|
+
field :end_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('end_date'), 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(true) } }
|
|
27
27
|
# Unique identifier for the customer associated with the exemption
|
|
28
28
|
field :customer_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('customer_id') } }
|
|
29
29
|
# Unique identifier for the transaction
|
|
30
30
|
# associated with the exemption, if applicable.
|
|
31
31
|
field :transaction_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('transaction_id') } }
|
|
32
|
+
# Indicates whether the exemption is for a reseller
|
|
33
|
+
field :reseller, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('reseller') } }
|
|
32
34
|
# Federal Employer Identification Number
|
|
33
35
|
# associated with the exemption.
|
|
34
36
|
field :fein, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('FEIN') } }
|
|
35
37
|
# Sales tax ID for the exemption
|
|
36
38
|
field :sales_tax_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('sales_tax_id') } }
|
|
37
|
-
|
|
39
|
+
# The status of the exemption.
|
|
40
|
+
# Defaults to ACTIVE if not provided.
|
|
38
41
|
field :status, Crystalline::Nilable.new(Models::Shared::ExemptionStatus), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::ExemptionStatus, true) } }
|
|
39
42
|
|
|
40
43
|
field :customer_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('customer_name') } }
|
|
41
44
|
|
|
42
45
|
field :attachment_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('attachment_id') } }
|
|
43
|
-
# Indicates whether the exemption is for a reseller
|
|
44
|
-
field :reseller, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('reseller') } }
|
|
45
46
|
|
|
46
|
-
sig { params(exemption_type: Models::Shared::ExemptionType, start_date: ::Date, id: ::String, jurisdiction: T.nilable(::String), country_code: T.nilable(Models::Shared::CountryCodeEnum), end_date: T.nilable(::
|
|
47
|
-
def initialize(exemption_type:, start_date:, id:, jurisdiction: nil, country_code: nil, end_date: nil, customer_id: nil, transaction_id: nil, fein: nil, sales_tax_id: nil, status: nil, customer_name: nil, attachment_id: nil
|
|
47
|
+
sig { params(exemption_type: Models::Shared::ExemptionType, start_date: ::Date, id: ::String, jurisdiction: T.nilable(::String), country_code: T.nilable(Models::Shared::CountryCodeEnum), end_date: T.nilable(::Date), customer_id: T.nilable(::String), transaction_id: T.nilable(::String), reseller: T.nilable(T::Boolean), fein: T.nilable(::String), sales_tax_id: T.nilable(::String), status: T.nilable(Models::Shared::ExemptionStatus), customer_name: T.nilable(::String), attachment_id: T.nilable(::String)).void }
|
|
48
|
+
def initialize(exemption_type:, start_date:, id:, jurisdiction: nil, country_code: nil, end_date: nil, customer_id: nil, transaction_id: nil, reseller: false, fein: nil, sales_tax_id: nil, status: nil, customer_name: nil, attachment_id: nil)
|
|
48
49
|
@exemption_type = exemption_type
|
|
49
50
|
@start_date = start_date
|
|
50
51
|
@id = id
|
|
@@ -53,12 +54,12 @@ module KintsugiSDK
|
|
|
53
54
|
@end_date = end_date
|
|
54
55
|
@customer_id = customer_id
|
|
55
56
|
@transaction_id = transaction_id
|
|
57
|
+
@reseller = reseller
|
|
56
58
|
@fein = fein
|
|
57
59
|
@sales_tax_id = sales_tax_id
|
|
58
60
|
@status = status
|
|
59
61
|
@customer_name = customer_name
|
|
60
62
|
@attachment_id = attachment_id
|
|
61
|
-
@reseller = reseller
|
|
62
63
|
end
|
|
63
64
|
|
|
64
65
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -72,12 +73,12 @@ module KintsugiSDK
|
|
|
72
73
|
return false unless @end_date == other.end_date
|
|
73
74
|
return false unless @customer_id == other.customer_id
|
|
74
75
|
return false unless @transaction_id == other.transaction_id
|
|
76
|
+
return false unless @reseller == other.reseller
|
|
75
77
|
return false unless @fein == other.fein
|
|
76
78
|
return false unless @sales_tax_id == other.sales_tax_id
|
|
77
79
|
return false unless @status == other.status
|
|
78
80
|
return false unless @customer_name == other.customer_name
|
|
79
81
|
return false unless @attachment_id == other.attachment_id
|
|
80
|
-
return false unless @reseller == other.reseller
|
|
81
82
|
true
|
|
82
83
|
end
|
|
83
84
|
end
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class KintsugiSDK::Models::Shared::
|
|
5
|
+
class KintsugiSDK::Models::Shared::BackendSrcExemptionsSchemasExemptionExemptionRead
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class KintsugiSDK::Models::Shared::
|
|
10
|
+
class KintsugiSDK::Models::Shared::BackendSrcExemptionsSchemasExemptionExemptionRead
|
|
11
11
|
def exemption_type(); end
|
|
12
12
|
def exemption_type=(str_); end
|
|
13
13
|
def start_date(); end
|
|
@@ -24,6 +24,8 @@ class KintsugiSDK::Models::Shared::BackendSrcExemptionsModelsExemptionRead
|
|
|
24
24
|
def customer_id=(str_); end
|
|
25
25
|
def transaction_id(); end
|
|
26
26
|
def transaction_id=(str_); end
|
|
27
|
+
def reseller(); end
|
|
28
|
+
def reseller=(str_); end
|
|
27
29
|
def fein(); end
|
|
28
30
|
def fein=(str_); end
|
|
29
31
|
def sales_tax_id(); end
|
|
@@ -34,6 +36,4 @@ class KintsugiSDK::Models::Shared::BackendSrcExemptionsModelsExemptionRead
|
|
|
34
36
|
def customer_name=(str_); end
|
|
35
37
|
def attachment_id(); end
|
|
36
38
|
def attachment_id=(str_); end
|
|
37
|
-
|
|
38
|
-
def reseller=(str_); end
|
|
39
|
-
end
|
|
39
|
+
end
|
|
@@ -20,27 +20,27 @@ module KintsugiSDK
|
|
|
20
20
|
field :exemption_type, Models::Shared::ExemptionType, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exemption_type'), required: true, 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::ExemptionType, false) } }
|
|
21
21
|
|
|
22
22
|
field :status, Models::Shared::ExemptionStatus, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('status'), required: true, 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::ExemptionStatus, false) } }
|
|
23
|
-
|
|
23
|
+
# Country code in ISO 3166-1 alpha-2 format (e.g., 'US')
|
|
24
24
|
field :country_code, Crystalline::Nilable.new(Models::Shared::CountryCodeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('country_code'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CountryCodeEnum, true) } }
|
|
25
25
|
# The jurisdiction identifier for the exemption
|
|
26
26
|
field :jurisdiction, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('jurisdiction') } }
|
|
27
27
|
# End date for the exemption validity period (YYYY-MM-DD format)
|
|
28
|
-
field :end_date, Crystalline::Nilable.new(::
|
|
28
|
+
field :end_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('end_date'), 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(true) } }
|
|
29
29
|
# Unique identifier for the transaction, if applicable
|
|
30
30
|
field :transaction_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('transaction_id') } }
|
|
31
|
+
# Indicates whether the exemption is for a reseller
|
|
32
|
+
field :reseller, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('reseller') } }
|
|
31
33
|
# Federal Employer Identification Number
|
|
32
34
|
field :fein, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('FEIN') } }
|
|
33
35
|
# Sales tax ID for the exemption
|
|
34
36
|
field :sales_tax_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('sales_tax_id') } }
|
|
35
|
-
|
|
37
|
+
# Details of the customer associated with the exemption
|
|
36
38
|
field :customer, Crystalline::Nilable.new(Models::Shared::CustomerRead), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('customer') } }
|
|
37
39
|
# List of attachments related to the exemption
|
|
38
40
|
field :attachment, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::AttachmentRead)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('attachment') } }
|
|
39
|
-
# Indicates whether the exemption is for a reseller
|
|
40
|
-
field :reseller, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('reseller') } }
|
|
41
41
|
|
|
42
|
-
sig { params(start_date: ::Date, id: ::String, exemption_type: Models::Shared::ExemptionType, status: Models::Shared::ExemptionStatus, country_code: T.nilable(Models::Shared::CountryCodeEnum), jurisdiction: T.nilable(::String), end_date: T.nilable(::
|
|
43
|
-
def initialize(start_date:, id:, exemption_type:, status:, country_code: nil, jurisdiction: nil, end_date: nil, transaction_id: nil, fein: nil, sales_tax_id: nil, customer: nil, attachment: nil
|
|
42
|
+
sig { params(start_date: ::Date, id: ::String, exemption_type: Models::Shared::ExemptionType, status: Models::Shared::ExemptionStatus, country_code: T.nilable(Models::Shared::CountryCodeEnum), jurisdiction: T.nilable(::String), end_date: T.nilable(::Date), transaction_id: T.nilable(::String), reseller: T.nilable(T::Boolean), fein: T.nilable(::String), sales_tax_id: T.nilable(::String), customer: T.nilable(Models::Shared::CustomerRead), attachment: T.nilable(T::Array[Models::Shared::AttachmentRead])).void }
|
|
43
|
+
def initialize(start_date:, id:, exemption_type:, status:, country_code: nil, jurisdiction: nil, end_date: nil, transaction_id: nil, reseller: false, fein: nil, sales_tax_id: nil, customer: nil, attachment: nil)
|
|
44
44
|
@start_date = start_date
|
|
45
45
|
@id = id
|
|
46
46
|
@exemption_type = exemption_type
|
|
@@ -49,11 +49,11 @@ module KintsugiSDK
|
|
|
49
49
|
@jurisdiction = jurisdiction
|
|
50
50
|
@end_date = end_date
|
|
51
51
|
@transaction_id = transaction_id
|
|
52
|
+
@reseller = reseller
|
|
52
53
|
@fein = fein
|
|
53
54
|
@sales_tax_id = sales_tax_id
|
|
54
55
|
@customer = customer
|
|
55
56
|
@attachment = attachment
|
|
56
|
-
@reseller = reseller
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -67,11 +67,11 @@ module KintsugiSDK
|
|
|
67
67
|
return false unless @jurisdiction == other.jurisdiction
|
|
68
68
|
return false unless @end_date == other.end_date
|
|
69
69
|
return false unless @transaction_id == other.transaction_id
|
|
70
|
+
return false unless @reseller == other.reseller
|
|
70
71
|
return false unless @fein == other.fein
|
|
71
72
|
return false unless @sales_tax_id == other.sales_tax_id
|
|
72
73
|
return false unless @customer == other.customer
|
|
73
74
|
return false unless @attachment == other.attachment
|
|
74
|
-
return false unless @reseller == other.reseller
|
|
75
75
|
true
|
|
76
76
|
end
|
|
77
77
|
end
|
|
@@ -24,6 +24,8 @@ class KintsugiSDK::Models::Shared::BackendSrcExemptionsSerializersExemptionRead
|
|
|
24
24
|
def end_date=(str_); end
|
|
25
25
|
def transaction_id(); end
|
|
26
26
|
def transaction_id=(str_); end
|
|
27
|
+
def reseller(); end
|
|
28
|
+
def reseller=(str_); end
|
|
27
29
|
def fein(); end
|
|
28
30
|
def fein=(str_); end
|
|
29
31
|
def sales_tax_id(); end
|
|
@@ -32,6 +34,4 @@ class KintsugiSDK::Models::Shared::BackendSrcExemptionsSerializersExemptionRead
|
|
|
32
34
|
def customer=(str_); end
|
|
33
35
|
def attachment(); end
|
|
34
36
|
def attachment=(str_); end
|
|
35
|
-
|
|
36
|
-
def reseller=(str_); end
|
|
37
|
-
end
|
|
37
|
+
end
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class KintsugiSDK::Models::Shared::
|
|
5
|
+
class KintsugiSDK::Models::Shared::BackendSrcProductsSchemasResponsesValidationErrorItem
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class KintsugiSDK::Models::Shared::
|
|
10
|
+
class KintsugiSDK::Models::Shared::BackendSrcProductsSchemasResponsesValidationErrorItem
|
|
11
11
|
def type(); end
|
|
12
12
|
def type=(str_); end
|
|
13
13
|
def loc(); end
|
|
@@ -18,4 +18,4 @@ class KintsugiSDK::Models::Shared::BackendSrcProductsResponsesValidationErrorIte
|
|
|
18
18
|
def input=(str_); end
|
|
19
19
|
def ctx(); end
|
|
20
20
|
def ctx=(str_); end
|
|
21
|
-
end
|
|
21
|
+
end
|
|
@@ -13,9 +13,9 @@ module KintsugiSDK
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
# The file to be uploaded. Supported format: PDF. Max size: 10 MB.
|
|
16
|
-
field :file,
|
|
16
|
+
field :file, ::String, { 'multipart_form': { 'field_name': 'file' } }
|
|
17
17
|
|
|
18
|
-
sig { params(file:
|
|
18
|
+
sig { params(file: ::String).void }
|
|
19
19
|
def initialize(file:)
|
|
20
20
|
@file = file
|
|
21
21
|
end
|