kintsugi_sdk 5.5.14 → 5.6.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/crystalline/enum.rbi +17 -0
- data/lib/crystalline/metadata_fields.rb +94 -38
- data/lib/crystalline/module.rb +103 -13
- data/lib/crystalline/types.rb +111 -19
- data/lib/crystalline/utils.rb +13 -0
- data/lib/kintsugi_sdk/addressvalidation.rb +24 -16
- data/lib/kintsugi_sdk/customers.rb +76 -53
- data/lib/kintsugi_sdk/exemptions.rb +55 -38
- data/lib/kintsugi_sdk/models/errors/apierror.rbi +2 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_address_validation_responses_validationerrorresponse.rb +0 -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.rb +0 -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.rb +0 -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 +0 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_products_responses_validationerrorresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_tax_estimation_responses_validationerrorresponse.rb +0 -1
- 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.rb +0 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/errorresponse.rb +0 -1
- data/lib/kintsugi_sdk/models/errors/errorresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/errors/httpvalidationerror.rb +0 -1
- data/lib/kintsugi_sdk/models/errors/httpvalidationerror.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rb +2 -3
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb +6 -3
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rbi +3 -1
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/search_v1_address_validation_search_post_security.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/search_v1_address_validation_search_post_security.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb +0 -1
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rbi +1 -1
- data/lib/kintsugi_sdk/models/ops.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/addressbase.rb +1 -2
- data/lib/kintsugi_sdk/models/shared/addressbase.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresses.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/addresses.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addressresponsedata.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/addressresponsedata.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresssearchresponse.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/addresssearchresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addressstatus.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/addressstatus.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresssubmittedresponse.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/addresssubmittedresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/addresstype.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/addresstype.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/appliedto.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/appliedto.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/attachmentread.rb +1 -2
- data/lib/kintsugi_sdk/models/shared/attachmentread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rb +0 -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.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_customers_responses_validationerroritem.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_models_exemptionread.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_models_exemptionread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_products_responses_validationerroritem.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_products_responses_validationerroritem.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/backend_src_tax_estimation_responses_validationerroritem.rb +0 -1
- 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.rb +0 -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 +0 -1
- 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/countrycodeenum.rb +1 -3
- data/lib/kintsugi_sdk/models/shared/countrycodeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/currencyenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/currencyenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customerbase.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/customerbase.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customercreate.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/customercreate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customerread.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/customerread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customertaxregistrationread.rb +2 -3
- data/lib/kintsugi_sdk/models/shared/customertaxregistrationread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customertaxtypeenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/customertaxtypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/customerupdate.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/customerupdate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rb +2 -3
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/exemption.rb +5 -6
- data/lib/kintsugi_sdk/models/shared/exemption.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rb +6 -5
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/exemptionstatus.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/exemptionstatus.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/file.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/file.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/findthresholdcrossingtransactionstate.rb +56 -0
- data/lib/kintsugi_sdk/models/shared/findthresholdcrossingtransactionstate.rbi +25 -0
- data/lib/kintsugi_sdk/models/shared/jurisdictiontype.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/jurisdictiontype.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rb +41 -22
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rbi +11 -1
- data/lib/kintsugi_sdk/models/shared/nexusstateenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/nexusstateenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/nexusstatusenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/nexusstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/nexustypeenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/nexustypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/page_customerread_.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/page_customerread_.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/page_nexusresponse_.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/page_nexusresponse_.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/page_transactionread_.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/page_transactionread_.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/periodmodelenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/periodmodelenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/processingstatusenum.rb +1 -3
- data/lib/kintsugi_sdk/models/shared/processingstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/productread.rb +12 -9
- data/lib/kintsugi_sdk/models/shared/productread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/productstatusenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/productstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/productupdate.rb +10 -7
- data/lib/kintsugi_sdk/models/shared/productupdate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/registration.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/registration.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/registrationsregimeenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/registrationsregimeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/relatedentitytype.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/relatedentitytype.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/salesortransactionsenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/salesortransactionsenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/security.rb +2 -3
- data/lib/kintsugi_sdk/models/shared/security.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/sourceenum.rb +6 -3
- data/lib/kintsugi_sdk/models/shared/sourceenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/statusenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/statusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxexemptionenum.rb +1 -3
- data/lib/kintsugi_sdk/models/shared/taxexemptionenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rb +1 -2
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxitemread.rb +4 -5
- data/lib/kintsugi_sdk/models/shared/taxitemread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rb +2 -3
- data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxitemtypeenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/taxitemtypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/taxliabilitysourceenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/taxliabilitysourceenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rb +2 -3
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rb +23 -19
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rbi +3 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rb +6 -11
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rbi +1 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rb +7 -12
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rbi +1 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_type.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_type.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionexemptstatusenum.rb +2 -3
- data/lib/kintsugi_sdk/models/shared/transactionexemptstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rb +8 -7
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rb +8 -7
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rb +2 -3
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rb +3 -4
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rb +7 -6
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rb +21 -17
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rbi +3 -3
- data/lib/kintsugi_sdk/models/shared/transactionread.rb +24 -20
- data/lib/kintsugi_sdk/models/shared/transactionread.rbi +3 -3
- data/lib/kintsugi_sdk/models/shared/transactionrefundstatus.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/transactionrefundstatus.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionstatusenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/transactionstatusenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rb +20 -16
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rbi +3 -3
- data/lib/kintsugi_sdk/models/shared/treatmentenum.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/treatmentenum.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/type.rb +0 -3
- data/lib/kintsugi_sdk/models/shared/type.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/validationaddress.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/validationaddress.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared/validationerror.rb +0 -1
- data/lib/kintsugi_sdk/models/shared/validationerror.rbi +1 -1
- data/lib/kintsugi_sdk/models/shared.rb +1 -7
- data/lib/kintsugi_sdk/nexus.rb +13 -8
- data/lib/kintsugi_sdk/openapisdk.rb +15 -16
- data/lib/kintsugi_sdk/products.rb +25 -425
- data/lib/kintsugi_sdk/sdk_hooks/hooks.rb +0 -1
- data/lib/kintsugi_sdk/sdkconfiguration.rb +7 -13
- data/lib/kintsugi_sdk/taxestimation.rb +15 -10
- data/lib/kintsugi_sdk/transactions.rb +65 -45
- data/lib/kintsugi_sdk/utils/forms.rb +1 -1
- data/lib/kintsugi_sdk/utils/query_params.rb +4 -2
- data/lib/kintsugi_sdk/utils/request_bodies.rb +11 -6
- data/lib/kintsugi_sdk/utils/retries.rb +4 -1
- data/lib/kintsugi_sdk/utils/security.rb +32 -11
- data/lib/kintsugi_sdk/utils/url.rb +11 -5
- data/lib/kintsugi_sdk/utils/utils.rb +45 -3
- metadata +73 -41
- data/lib/kintsugi_sdk/models/ops/get_products_v1_products_get_request.rb +0 -61
- data/lib/kintsugi_sdk/models/ops/get_products_v1_products_get_request.rbi +0 -27
- data/lib/kintsugi_sdk/models/shared/page_productread_.rb +0 -49
- data/lib/kintsugi_sdk/models/shared/page_productread_.rbi +0 -21
- data/lib/kintsugi_sdk/models/shared/productcategories.rb +0 -38
- data/lib/kintsugi_sdk/models/shared/productcategories.rbi +0 -15
- data/lib/kintsugi_sdk/models/shared/productcategoryenum.rb +0 -25
- data/lib/kintsugi_sdk/models/shared/productcategoryenum.rbi +0 -11
- data/lib/kintsugi_sdk/models/shared/productcodeenum.rb +0 -82
- data/lib/kintsugi_sdk/models/shared/productcodeenum.rbi +0 -11
- data/lib/kintsugi_sdk/models/shared/productcreatemanual.rb +0 -61
- data/lib/kintsugi_sdk/models/shared/productcreatemanual.rbi +0 -27
- data/lib/kintsugi_sdk/models/shared/productsubcategory.rb +0 -46
- data/lib/kintsugi_sdk/models/shared/productsubcategory.rbi +0 -19
- data/lib/kintsugi_sdk/models/shared/productsubcategoryenum.rb +0 -83
- data/lib/kintsugi_sdk/models/shared/productsubcategoryenum.rbi +0 -11
|
@@ -39,8 +39,10 @@ module KintsugiSDK
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
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) }
|
|
45
|
+
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# list - Get Exemptions
|
|
45
47
|
# Retrieve a list of exemptions based on filters.
|
|
46
48
|
url, params = @sdk_configuration.get_server_details
|
|
@@ -56,14 +58,14 @@ module KintsugiSDK
|
|
|
56
58
|
|
|
57
59
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
58
60
|
timeout ||= @sdk_configuration.timeout
|
|
59
|
-
|
|
61
|
+
|
|
60
62
|
|
|
61
63
|
connection = @sdk_configuration.client
|
|
62
64
|
|
|
63
65
|
hook_ctx = SDKHooks::HookContext.new(
|
|
64
66
|
config: @sdk_configuration,
|
|
65
67
|
base_url: base_url,
|
|
66
|
-
oauth2_scopes:
|
|
68
|
+
oauth2_scopes: nil,
|
|
67
69
|
operation_id: 'get_exemptions_v1_exemptions_get',
|
|
68
70
|
security_source: @sdk_configuration.security_source
|
|
69
71
|
)
|
|
@@ -71,13 +73,16 @@ module KintsugiSDK
|
|
|
71
73
|
error = T.let(nil, T.nilable(StandardError))
|
|
72
74
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
73
75
|
|
|
74
|
-
|
|
76
|
+
|
|
75
77
|
begin
|
|
76
78
|
http_response = T.must(connection).get(url) do |req|
|
|
77
79
|
req.headers.merge!(headers)
|
|
78
80
|
req.options.timeout = timeout unless timeout.nil?
|
|
79
81
|
req.params = query_params
|
|
80
82
|
Utils.configure_request_security(req, security)
|
|
83
|
+
http_headers&.each do |key, value|
|
|
84
|
+
req.headers[key.to_s] = value
|
|
85
|
+
end
|
|
81
86
|
|
|
82
87
|
@sdk_configuration.hooks.before_request(
|
|
83
88
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -105,13 +110,13 @@ module KintsugiSDK
|
|
|
105
110
|
response: http_response
|
|
106
111
|
)
|
|
107
112
|
end
|
|
108
|
-
|
|
113
|
+
|
|
109
114
|
if http_response.nil?
|
|
110
115
|
raise error if !error.nil?
|
|
111
116
|
raise 'no response'
|
|
112
117
|
end
|
|
113
118
|
end
|
|
114
|
-
|
|
119
|
+
|
|
115
120
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
116
121
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
117
122
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -181,8 +186,8 @@ module KintsugiSDK
|
|
|
181
186
|
end
|
|
182
187
|
|
|
183
188
|
|
|
184
|
-
sig { params(request: Models::Shared::ExemptionCreate, timeout_ms: T.nilable(Integer)).returns(Models::Shared::BackendSrcExemptionsSerializersExemptionRead) }
|
|
185
|
-
def create(request:, timeout_ms: nil)
|
|
189
|
+
sig { params(request: Models::Shared::ExemptionCreate, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Shared::BackendSrcExemptionsSerializersExemptionRead) }
|
|
190
|
+
def create(request:, timeout_ms: nil, http_headers: nil)
|
|
186
191
|
# create - Create Exemption
|
|
187
192
|
# The Create Exemption API allows you to create a new exemption record.
|
|
188
193
|
# This includes defining details such as exemption type, jurisdiction,
|
|
@@ -196,7 +201,7 @@ module KintsugiSDK
|
|
|
196
201
|
headers['content-type'] = req_content_type
|
|
197
202
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
198
203
|
|
|
199
|
-
if form
|
|
204
|
+
if form && !form.empty?
|
|
200
205
|
body = Utils.encode_form(form)
|
|
201
206
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
202
207
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -210,14 +215,14 @@ module KintsugiSDK
|
|
|
210
215
|
|
|
211
216
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
212
217
|
timeout ||= @sdk_configuration.timeout
|
|
213
|
-
|
|
218
|
+
|
|
214
219
|
|
|
215
220
|
connection = @sdk_configuration.client
|
|
216
221
|
|
|
217
222
|
hook_ctx = SDKHooks::HookContext.new(
|
|
218
223
|
config: @sdk_configuration,
|
|
219
224
|
base_url: base_url,
|
|
220
|
-
oauth2_scopes:
|
|
225
|
+
oauth2_scopes: nil,
|
|
221
226
|
operation_id: 'create_exemption_v1_exemptions_post',
|
|
222
227
|
security_source: @sdk_configuration.security_source
|
|
223
228
|
)
|
|
@@ -225,13 +230,16 @@ module KintsugiSDK
|
|
|
225
230
|
error = T.let(nil, T.nilable(StandardError))
|
|
226
231
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
227
232
|
|
|
228
|
-
|
|
233
|
+
|
|
229
234
|
begin
|
|
230
235
|
http_response = T.must(connection).post(url) do |req|
|
|
231
236
|
req.body = body
|
|
232
237
|
req.headers.merge!(headers)
|
|
233
238
|
req.options.timeout = timeout unless timeout.nil?
|
|
234
239
|
Utils.configure_request_security(req, security)
|
|
240
|
+
http_headers&.each do |key, value|
|
|
241
|
+
req.headers[key.to_s] = value
|
|
242
|
+
end
|
|
235
243
|
|
|
236
244
|
@sdk_configuration.hooks.before_request(
|
|
237
245
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -259,13 +267,13 @@ module KintsugiSDK
|
|
|
259
267
|
response: http_response
|
|
260
268
|
)
|
|
261
269
|
end
|
|
262
|
-
|
|
270
|
+
|
|
263
271
|
if http_response.nil?
|
|
264
272
|
raise error if !error.nil?
|
|
265
273
|
raise 'no response'
|
|
266
274
|
end
|
|
267
275
|
end
|
|
268
|
-
|
|
276
|
+
|
|
269
277
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
270
278
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
271
279
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -335,8 +343,8 @@ module KintsugiSDK
|
|
|
335
343
|
end
|
|
336
344
|
|
|
337
345
|
|
|
338
|
-
sig { params(request: Models::Ops::GetExemptionByIdV1ExemptionsExemptionIdGetRequest, timeout_ms: T.nilable(Integer)).returns(Models::Shared::BackendSrcExemptionsModelsExemptionRead) }
|
|
339
|
-
def get(request:, timeout_ms: nil)
|
|
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::BackendSrcExemptionsModelsExemptionRead) }
|
|
347
|
+
def get(request:, timeout_ms: nil, http_headers: nil)
|
|
340
348
|
# get - Get Exemption By Id
|
|
341
349
|
# The Get Exemption By ID API retrieves a specific exemption record by
|
|
342
350
|
# its unique ID. This API is useful for retrieving detailed information
|
|
@@ -359,14 +367,14 @@ module KintsugiSDK
|
|
|
359
367
|
|
|
360
368
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
361
369
|
timeout ||= @sdk_configuration.timeout
|
|
362
|
-
|
|
370
|
+
|
|
363
371
|
|
|
364
372
|
connection = @sdk_configuration.client
|
|
365
373
|
|
|
366
374
|
hook_ctx = SDKHooks::HookContext.new(
|
|
367
375
|
config: @sdk_configuration,
|
|
368
376
|
base_url: base_url,
|
|
369
|
-
oauth2_scopes:
|
|
377
|
+
oauth2_scopes: nil,
|
|
370
378
|
operation_id: 'get_exemption_by_id_v1_exemptions__exemption_id__get',
|
|
371
379
|
security_source: @sdk_configuration.security_source
|
|
372
380
|
)
|
|
@@ -374,12 +382,15 @@ module KintsugiSDK
|
|
|
374
382
|
error = T.let(nil, T.nilable(StandardError))
|
|
375
383
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
376
384
|
|
|
377
|
-
|
|
385
|
+
|
|
378
386
|
begin
|
|
379
387
|
http_response = T.must(connection).get(url) do |req|
|
|
380
388
|
req.headers.merge!(headers)
|
|
381
389
|
req.options.timeout = timeout unless timeout.nil?
|
|
382
390
|
Utils.configure_request_security(req, security)
|
|
391
|
+
http_headers&.each do |key, value|
|
|
392
|
+
req.headers[key.to_s] = value
|
|
393
|
+
end
|
|
383
394
|
|
|
384
395
|
@sdk_configuration.hooks.before_request(
|
|
385
396
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -407,13 +418,13 @@ module KintsugiSDK
|
|
|
407
418
|
response: http_response
|
|
408
419
|
)
|
|
409
420
|
end
|
|
410
|
-
|
|
421
|
+
|
|
411
422
|
if http_response.nil?
|
|
412
423
|
raise error if !error.nil?
|
|
413
424
|
raise 'no response'
|
|
414
425
|
end
|
|
415
426
|
end
|
|
416
|
-
|
|
427
|
+
|
|
417
428
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
418
429
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
419
430
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -483,8 +494,8 @@ module KintsugiSDK
|
|
|
483
494
|
end
|
|
484
495
|
|
|
485
496
|
|
|
486
|
-
sig { params(request: Models::Ops::UploadExemptionCertRequest, timeout_ms: T.nilable(Integer)).returns(Models::Shared::AttachmentRead) }
|
|
487
|
-
def upload_certificate(request:, timeout_ms: nil)
|
|
497
|
+
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) }
|
|
498
|
+
def upload_certificate(request:, timeout_ms: nil, http_headers: nil)
|
|
488
499
|
# upload_certificate - Upload Exemption Certificate
|
|
489
500
|
# The Upload Exemption Certificate API allows you
|
|
490
501
|
# to upload a file attachment (e.g., exemption certificate) for a specific exemption.
|
|
@@ -504,7 +515,7 @@ module KintsugiSDK
|
|
|
504
515
|
headers['content-type'] = req_content_type
|
|
505
516
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
506
517
|
|
|
507
|
-
if form
|
|
518
|
+
if form && !form.empty?
|
|
508
519
|
body = Utils.encode_form(form)
|
|
509
520
|
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
510
521
|
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
@@ -518,14 +529,14 @@ module KintsugiSDK
|
|
|
518
529
|
|
|
519
530
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
520
531
|
timeout ||= @sdk_configuration.timeout
|
|
521
|
-
|
|
532
|
+
|
|
522
533
|
|
|
523
534
|
connection = @sdk_configuration.client
|
|
524
535
|
|
|
525
536
|
hook_ctx = SDKHooks::HookContext.new(
|
|
526
537
|
config: @sdk_configuration,
|
|
527
538
|
base_url: base_url,
|
|
528
|
-
oauth2_scopes:
|
|
539
|
+
oauth2_scopes: nil,
|
|
529
540
|
operation_id: 'uploadExemptionCert',
|
|
530
541
|
security_source: @sdk_configuration.security_source
|
|
531
542
|
)
|
|
@@ -533,13 +544,16 @@ module KintsugiSDK
|
|
|
533
544
|
error = T.let(nil, T.nilable(StandardError))
|
|
534
545
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
535
546
|
|
|
536
|
-
|
|
547
|
+
|
|
537
548
|
begin
|
|
538
549
|
http_response = T.must(connection).post(url) do |req|
|
|
539
550
|
req.body = body
|
|
540
551
|
req.headers.merge!(headers)
|
|
541
552
|
req.options.timeout = timeout unless timeout.nil?
|
|
542
553
|
Utils.configure_request_security(req, security)
|
|
554
|
+
http_headers&.each do |key, value|
|
|
555
|
+
req.headers[key.to_s] = value
|
|
556
|
+
end
|
|
543
557
|
|
|
544
558
|
@sdk_configuration.hooks.before_request(
|
|
545
559
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -567,13 +581,13 @@ module KintsugiSDK
|
|
|
567
581
|
response: http_response
|
|
568
582
|
)
|
|
569
583
|
end
|
|
570
|
-
|
|
584
|
+
|
|
571
585
|
if http_response.nil?
|
|
572
586
|
raise error if !error.nil?
|
|
573
587
|
raise 'no response'
|
|
574
588
|
end
|
|
575
589
|
end
|
|
576
|
-
|
|
590
|
+
|
|
577
591
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
578
592
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
579
593
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -643,8 +657,8 @@ module KintsugiSDK
|
|
|
643
657
|
end
|
|
644
658
|
|
|
645
659
|
|
|
646
|
-
sig { params(request: Models::Ops::GetExemptionAttachmentsRequest, timeout_ms: T.nilable(Integer)).returns(T::Array[Models::Shared::AttachmentRead]) }
|
|
647
|
-
def get_attachments(request:, timeout_ms: nil)
|
|
660
|
+
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]) }
|
|
661
|
+
def get_attachments(request:, timeout_ms: nil, http_headers: nil)
|
|
648
662
|
# get_attachments - Get Attachments For Exemption
|
|
649
663
|
# The Get Attachments for Exemption API retrieves all
|
|
650
664
|
# attachments associated with a specific exemption.
|
|
@@ -667,14 +681,14 @@ module KintsugiSDK
|
|
|
667
681
|
|
|
668
682
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
669
683
|
timeout ||= @sdk_configuration.timeout
|
|
670
|
-
|
|
684
|
+
|
|
671
685
|
|
|
672
686
|
connection = @sdk_configuration.client
|
|
673
687
|
|
|
674
688
|
hook_ctx = SDKHooks::HookContext.new(
|
|
675
689
|
config: @sdk_configuration,
|
|
676
690
|
base_url: base_url,
|
|
677
|
-
oauth2_scopes:
|
|
691
|
+
oauth2_scopes: nil,
|
|
678
692
|
operation_id: 'getExemptionAttachments',
|
|
679
693
|
security_source: @sdk_configuration.security_source
|
|
680
694
|
)
|
|
@@ -682,12 +696,15 @@ module KintsugiSDK
|
|
|
682
696
|
error = T.let(nil, T.nilable(StandardError))
|
|
683
697
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
684
698
|
|
|
685
|
-
|
|
699
|
+
|
|
686
700
|
begin
|
|
687
701
|
http_response = T.must(connection).get(url) do |req|
|
|
688
702
|
req.headers.merge!(headers)
|
|
689
703
|
req.options.timeout = timeout unless timeout.nil?
|
|
690
704
|
Utils.configure_request_security(req, security)
|
|
705
|
+
http_headers&.each do |key, value|
|
|
706
|
+
req.headers[key.to_s] = value
|
|
707
|
+
end
|
|
691
708
|
|
|
692
709
|
@sdk_configuration.hooks.before_request(
|
|
693
710
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -715,13 +732,13 @@ module KintsugiSDK
|
|
|
715
732
|
response: http_response
|
|
716
733
|
)
|
|
717
734
|
end
|
|
718
|
-
|
|
735
|
+
|
|
719
736
|
if http_response.nil?
|
|
720
737
|
raise error if !error.nil?
|
|
721
738
|
raise 'no response'
|
|
722
739
|
end
|
|
723
740
|
end
|
|
724
|
-
|
|
741
|
+
|
|
725
742
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
726
743
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
727
744
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -775,5 +792,5 @@ module KintsugiSDK
|
|
|
775
792
|
|
|
776
793
|
end
|
|
777
794
|
end
|
|
778
|
-
|
|
795
|
+
end
|
|
779
796
|
end
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
module KintsugiSDK
|
|
8
8
|
module Models
|
|
9
9
|
module Ops
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class EstimateTaxV1TaxEstimatePostRequest
|
|
13
12
|
extend T::Sig
|
|
@@ -16,8 +15,8 @@ module KintsugiSDK
|
|
|
16
15
|
|
|
17
16
|
field :transaction_estimate_public_request, Models::Shared::TransactionEstimatePublicRequest, { 'request': { 'media_type': 'application/json' } }
|
|
18
17
|
# **Deprecated:** Use `simulate_active_registration` in the request body instead.
|
|
19
|
-
#
|
|
20
|
-
# @deprecated
|
|
18
|
+
#
|
|
19
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
21
20
|
field :simulate_nexus_met, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'simulate_nexus_met', 'style': 'form', 'explode': true } }
|
|
22
21
|
|
|
23
22
|
sig { params(transaction_estimate_public_request: Models::Shared::TransactionEstimatePublicRequest, simulate_nexus_met: T.nilable(T::Boolean)).void }
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
module KintsugiSDK
|
|
8
8
|
module Models
|
|
9
9
|
module Ops
|
|
10
|
-
|
|
11
10
|
|
|
12
11
|
class GetNexusForOrgV1NexusGetRequest
|
|
13
12
|
extend T::Sig
|
|
14
13
|
include Crystalline::MetadataFields
|
|
15
14
|
|
|
15
|
+
# Filter nexuses by disregard view: 'exposed' or 'disregarded'
|
|
16
|
+
field :disregard_view, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'disregard_view', 'style': 'form', 'explode': true } }
|
|
16
17
|
|
|
17
18
|
field :state_code, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'state_code', 'style': 'form', 'explode': true } }
|
|
18
19
|
|
|
@@ -30,8 +31,9 @@ module KintsugiSDK
|
|
|
30
31
|
|
|
31
32
|
field :size, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'size', 'style': 'form', 'explode': true } }
|
|
32
33
|
|
|
33
|
-
sig { params(state_code: T.nilable(::String), country_code_in: T.nilable(::String), collected_tax_nexus_met: T.nilable(T::Boolean), without_pagination: T.nilable(T::Boolean), status_in: T.nilable(::String), order_by: T.nilable(::String), page: T.nilable(::Integer), size: T.nilable(::Integer)).void }
|
|
34
|
-
def initialize(state_code: nil, country_code_in: nil, collected_tax_nexus_met: nil, without_pagination: false, status_in: 'APPROACHING,NOT_EXPOSED,PENDING_REGISTRATION,EXPOSED,APPROACHING,REGISTERED', order_by: 'state_code,country_code', page: 1, size: 50)
|
|
34
|
+
sig { params(disregard_view: T.nilable(::String), state_code: T.nilable(::String), country_code_in: T.nilable(::String), collected_tax_nexus_met: T.nilable(T::Boolean), without_pagination: T.nilable(T::Boolean), status_in: T.nilable(::String), order_by: T.nilable(::String), page: T.nilable(::Integer), size: T.nilable(::Integer)).void }
|
|
35
|
+
def initialize(disregard_view: nil, state_code: nil, country_code_in: nil, collected_tax_nexus_met: nil, without_pagination: false, status_in: 'APPROACHING,NOT_EXPOSED,PENDING_REGISTRATION,EXPOSED,APPROACHING,REGISTERED', order_by: 'state_code,country_code', page: 1, size: 50)
|
|
36
|
+
@disregard_view = disregard_view
|
|
35
37
|
@state_code = state_code
|
|
36
38
|
@country_code_in = country_code_in
|
|
37
39
|
@collected_tax_nexus_met = collected_tax_nexus_met
|
|
@@ -45,6 +47,7 @@ module KintsugiSDK
|
|
|
45
47
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
46
48
|
def ==(other)
|
|
47
49
|
return false unless other.is_a? self.class
|
|
50
|
+
return false unless @disregard_view == other.disregard_view
|
|
48
51
|
return false unless @state_code == other.state_code
|
|
49
52
|
return false unless @country_code_in == other.country_code_in
|
|
50
53
|
return false unless @collected_tax_nexus_met == other.collected_tax_nexus_met
|
|
@@ -8,6 +8,8 @@ end
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class KintsugiSDK::Models::Ops::GetNexusForOrgV1NexusGetRequest
|
|
11
|
+
def disregard_view(); end
|
|
12
|
+
def disregard_view=(str_); end
|
|
11
13
|
def state_code(); end
|
|
12
14
|
def state_code=(str_); end
|
|
13
15
|
def country_code_in(); end
|
|
@@ -24,4 +26,4 @@ class KintsugiSDK::Models::Ops::GetNexusForOrgV1NexusGetRequest
|
|
|
24
26
|
def page=(str_); end
|
|
25
27
|
def size(); end
|
|
26
28
|
def size=(str_); end
|
|
27
|
-
end
|
|
29
|
+
end
|