kintsugi_sdk 5.6.1 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kintsugi_sdk/addressvalidation.rb +27 -25
- data/lib/kintsugi_sdk/customers.rb +133 -131
- data/lib/kintsugi_sdk/exemptions.rb +94 -94
- data/lib/kintsugi_sdk/models/errors/apierror.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_address_validation_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_customers_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_exemptions_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/{backend_src_products_responses_validationerrorresponse.rb → backend_src_products_schemas_responses_validationerrorresponse.rb} +3 -3
- data/lib/kintsugi_sdk/models/errors/backend_src_products_schemas_responses_validationerrorresponse.rbi +13 -0
- data/lib/kintsugi_sdk/models/errors/backend_src_tax_estimation_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/errorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/httpvalidationerror.rb +1 -1
- data/lib/kintsugi_sdk/models/errors.rb +1 -1
- data/lib/kintsugi_sdk/models/ops/{search_v1_address_validation_search_post_security.rb → country.rb} +3 -8
- data/lib/kintsugi_sdk/models/{shared/registration.rbi → ops/country.rbi} +2 -2
- data/lib/kintsugi_sdk/models/ops/country_code.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/country_code.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb +13 -5
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rbi +4 -0
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb +19 -11
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rbi +6 -2
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb +29 -13
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rbi +14 -6
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb +44 -18
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rbi +14 -4
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rb +14 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rbi +6 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/queryparam_country.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/queryparam_country.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb +9 -5
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rbi +4 -2
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops.rb +10 -1
- data/lib/kintsugi_sdk/models/shared/addressbase.rb +1 -1
- data/lib/kintsugi_sdk/models/shared/addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/addresses.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_customers_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rb → backend_src_exemptions_schemas_exemption_exemptionread.rb} +15 -10
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rbi → backend_src_exemptions_schemas_exemption_exemptionread.rbi} +6 -4
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rb +13 -9
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rb → backend_src_products_schemas_responses_validationerroritem.rb} +3 -3
- data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rbi → backend_src_products_schemas_responses_validationerroritem.rbi} +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_tax_estimation_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_transactions_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/{registration.rb → context.rb} +1 -1
- data/lib/kintsugi_sdk/models/shared/context.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/conversion_rate.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/conversion_rate.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/currencyenum.rb +1 -1
- data/lib/kintsugi_sdk/models/shared/customer.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/customer.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/customerbase.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbase.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customercreate.rb +20 -16
- data/lib/kintsugi_sdk/models/shared/customercreate.rbi +8 -6
- data/lib/kintsugi_sdk/models/shared/customerread.rb +24 -16
- data/lib/kintsugi_sdk/models/shared/customerread.rbi +10 -6
- data/lib/kintsugi_sdk/models/shared/customerupdate.rb +13 -9
- data/lib/kintsugi_sdk/models/shared/customerupdate.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/discount_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/discount_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rb +6 -6
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rb +20 -0
- data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/documenttypeenum.rb +21 -0
- data/lib/kintsugi_sdk/models/shared/documenttypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rb +8 -4
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rb +22 -2
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rbi +10 -0
- data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rb +46 -0
- data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/loc.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/loc.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rb +130 -90
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rbi +58 -44
- data/lib/kintsugi_sdk/models/shared/nexustypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/periodmodelenum.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/processingstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/productread.rb +41 -15
- data/lib/kintsugi_sdk/models/shared/productread.rbi +18 -4
- data/lib/kintsugi_sdk/models/shared/productstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/productupdate.rb +6 -6
- data/lib/kintsugi_sdk/models/shared/productupdate.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/productupdatev2.rb +64 -0
- data/lib/kintsugi_sdk/models/shared/productupdatev2.rbi +29 -0
- data/lib/kintsugi_sdk/models/shared/quantity.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/quantity.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/rate.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/rate.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/relatedentitytype.rb +4 -0
- data/lib/kintsugi_sdk/models/shared/security.rb +3 -7
- data/lib/kintsugi_sdk/models/shared/security.rbi +0 -2
- data/lib/kintsugi_sdk/models/shared/sourceenum.rb +23 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxexemptionenum.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rb +14 -14
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rb +10 -10
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitemread.rb +10 -10
- data/lib/kintsugi_sdk/models/shared/taxitemread.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rb +3 -0
- data/lib/kintsugi_sdk/models/shared/taxtypeenum.rb +30 -0
- data/lib/kintsugi_sdk/models/shared/taxtypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rb +11 -7
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rb +8 -4
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb +11 -7
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rb +89 -79
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rbi +36 -28
- data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rb +19 -0
- data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/{exemption.rb → transactionembeddedexemption.rb} +38 -16
- data/lib/kintsugi_sdk/models/shared/{exemption.rbi → transactionembeddedexemption.rbi} +12 -6
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rb +10 -8
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rb +11 -9
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rb +104 -0
- data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rbi +49 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rb +57 -53
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rbi +22 -20
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rb +57 -53
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rbi +22 -20
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rb +15 -7
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rb +18 -10
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rb +64 -44
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rbi +28 -18
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rb +69 -63
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rbi +30 -24
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionread.rb +107 -73
- data/lib/kintsugi_sdk/models/shared/transactionread.rbi +48 -28
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rb +68 -62
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rbi +30 -24
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/usetaxregistrationpath.rb +24 -0
- data/lib/kintsugi_sdk/models/shared/usetaxregistrationpath.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/validationaddress.rb +12 -12
- data/lib/kintsugi_sdk/models/shared/validationaddress.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/validationerror.rb +11 -3
- data/lib/kintsugi_sdk/models/shared/validationerror.rbi +4 -0
- data/lib/kintsugi_sdk/models/shared.rb +75 -6
- data/lib/kintsugi_sdk/nexus.rb +9 -9
- data/lib/kintsugi_sdk/openapisdk.rb +10 -10
- data/lib/kintsugi_sdk/products.rb +28 -26
- data/lib/kintsugi_sdk/sdk_hooks/hooks.rb +1 -1
- data/lib/kintsugi_sdk/sdk_hooks/types.rb +14 -14
- data/lib/kintsugi_sdk/sdkconfiguration.rb +22 -22
- data/lib/kintsugi_sdk/taxestimation.rb +15 -15
- data/lib/kintsugi_sdk/transactions.rb +113 -113
- data/lib/kintsugi_sdk/utils/forms.rb +23 -23
- data/lib/kintsugi_sdk/utils/headers.rb +4 -4
- data/lib/kintsugi_sdk/utils/query_params.rb +14 -14
- data/lib/kintsugi_sdk/utils/request_bodies.rb +7 -7
- data/lib/kintsugi_sdk/utils/retries.rb +42 -3
- data/lib/kintsugi_sdk/utils/security.rb +16 -16
- data/lib/kintsugi_sdk/utils/url.rb +6 -6
- data/lib/kintsugi_sdk/utils/utils.rb +37 -33
- data/lib/kintsugi_sdk.rb +1 -1
- metadata +174 -18
- data/lib/kintsugi_sdk/models/errors/backend_src_products_responses_validationerrorresponse.rbi +0 -13
- data/lib/kintsugi_sdk/models/ops/search_v1_address_validation_search_post_security.rbi +0 -13
- data/lib/kintsugi_sdk/models/shared/file.rb +0 -36
- data/lib/kintsugi_sdk/models/shared/file.rbi +0 -15
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rb +0 -48
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rbi +0 -21
|
@@ -25,10 +25,6 @@ module KintsugiSDK
|
|
|
25
25
|
|
|
26
26
|
field :sales_or_transactions, Models::Shared::SalesOrTransactionsEnum, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('sales_or_transactions'), required: true, 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::SalesOrTransactionsEnum, false) } }
|
|
27
27
|
|
|
28
|
-
field :threshold_sales, ::Integer, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('threshold_sales'), required: true } }
|
|
29
|
-
|
|
30
|
-
field :threshold_transactions, ::Integer, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('threshold_transactions'), required: true } }
|
|
31
|
-
|
|
32
28
|
field :start_date, ::Date, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('start_date'), required: true, 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(false) } }
|
|
33
29
|
|
|
34
30
|
field :period_model, Models::Shared::PeriodModelEnum, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('period_model'), required: true, 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::PeriodModelEnum, false) } }
|
|
@@ -37,18 +33,12 @@ module KintsugiSDK
|
|
|
37
33
|
|
|
38
34
|
field :period_end_date, ::Date, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('period_end_date'), required: true, 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(false) } }
|
|
39
35
|
|
|
40
|
-
field :previous_period_start_date, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('previous_period_start_date'), required: true } }
|
|
41
|
-
|
|
42
|
-
field :previous_period_end_date, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('previous_period_end_date'), required: true } }
|
|
43
|
-
|
|
44
36
|
field :id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('id'), required: true } }
|
|
45
37
|
|
|
46
|
-
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('created_at'), required: true, 'decoder': ::KintsugiSDK::Utils.datetime_from_iso_format(false) } }
|
|
47
|
-
|
|
48
|
-
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('updated_at'), required: true, 'decoder': ::KintsugiSDK::Utils.datetime_from_iso_format(false) } }
|
|
49
|
-
|
|
50
38
|
field :organization_id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('organization_id'), required: true } }
|
|
51
39
|
|
|
40
|
+
field :threshold_sales, ::Integer, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('threshold_sales'), required: true } }
|
|
41
|
+
|
|
52
42
|
field :is_vda_eligible, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_vda_eligible'), required: true } }
|
|
53
43
|
|
|
54
44
|
field :nexus_type, Models::Shared::NexusTypeEnum, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('nexus_type'), required: true, 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::NexusTypeEnum, false) } }
|
|
@@ -61,56 +51,52 @@ module KintsugiSDK
|
|
|
61
51
|
|
|
62
52
|
field :total_transactions_marketplace, ::Integer, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_transactions_marketplace'), required: true } }
|
|
63
53
|
|
|
64
|
-
field :marketplace_included, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('marketplace_included'), required: true } }
|
|
65
|
-
|
|
66
54
|
field :processing_status, Crystalline::Nilable.new(Models::Shared::NexusStatusEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('processing_status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::NexusStatusEnum, true) } }
|
|
67
55
|
|
|
68
56
|
field :status, Crystalline::Nilable.new(Models::Shared::NexusStateEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::NexusStateEnum, true) } }
|
|
69
57
|
|
|
70
|
-
field :
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
field :
|
|
81
|
-
|
|
82
|
-
field :find_threshold_crossing_transaction_state, Crystalline::Nilable.new(Models::Shared::FindThresholdCrossingTransactionState), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('find_threshold_crossing_transaction_state') } }
|
|
83
|
-
|
|
84
|
-
field :predicted_month_from_today, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('predicted_month_from_today') } }
|
|
85
|
-
|
|
86
|
-
field :confidence_level, Crystalline::Nilable.new(::Float), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('confidence_level') } }
|
|
87
|
-
|
|
88
|
-
field :last_processed_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('last_processed_at') } }
|
|
58
|
+
field :threshold_transactions, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('threshold_transactions'), required: true } }
|
|
59
|
+
# Tax obligation on a nexus, registration, or filing row.
|
|
60
|
+
#
|
|
61
|
+
# Registrations and filings may be SALES_AND_USE_TAX: one state account and
|
|
62
|
+
# one return can cover both taxes, and each is stored as a single row.
|
|
63
|
+
# Nexus rows are SALES_TAX, USE_TAX, RETAIL_DELIVERY_FEE, or
|
|
64
|
+
# SMALL_PARCEL_VAT. Sales tax, use tax, the retail delivery fee, and the
|
|
65
|
+
# Swiss small-parcel threshold are separate obligations with their own met
|
|
66
|
+
# dates and period models. SMALL_PARCEL_VAT is a threshold only. A sales
|
|
67
|
+
# tax registration covers it, and it has no account and no return of its own.
|
|
68
|
+
field :tax_type, Crystalline::Nilable.new(Models::Shared::TaxTypeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_type'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TaxTypeEnum, true) } }
|
|
89
69
|
|
|
90
|
-
field :
|
|
70
|
+
field :previous_period_start_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('previous_period_start_date'), required: true, 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(false) } }
|
|
91
71
|
|
|
92
|
-
field :
|
|
72
|
+
field :previous_period_end_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('previous_period_end_date'), required: true, 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(false) } }
|
|
93
73
|
|
|
94
|
-
field :
|
|
74
|
+
field :periods, Crystalline::Nilable.new(Crystalline::Array.new(Crystalline::Hash.new(::Symbol, ::Object))), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('periods') } }
|
|
95
75
|
|
|
96
|
-
field :
|
|
76
|
+
field :created_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('created_at'), required: true } }
|
|
97
77
|
|
|
98
|
-
field :
|
|
78
|
+
field :updated_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('updated_at'), required: true } }
|
|
99
79
|
|
|
100
|
-
field :
|
|
80
|
+
field :disregarded_nexus_types, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('disregarded_nexus_types') } }
|
|
81
|
+
# What Register does with a use tax row, as the nexus response reports it.
|
|
82
|
+
#
|
|
83
|
+
# - ABSORBED: Register folds the row into the org's live sales tax registration
|
|
84
|
+
# - SEPARATE: the state always keeps use tax on its own registration
|
|
85
|
+
# - NONE: everything else, and always NONE on a row that is not use tax
|
|
86
|
+
field :use_tax_registration_path, Crystalline::Nilable.new(Models::Shared::UseTaxRegistrationPath), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('use_tax_registration_path'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::UseTaxRegistrationPath, true) } }
|
|
101
87
|
|
|
102
|
-
field :
|
|
88
|
+
field :marketplace_included, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('marketplace_included'), required: true } }
|
|
103
89
|
|
|
104
|
-
field :
|
|
90
|
+
field :threshold_sales_bigint, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('threshold_sales_bigint') } }
|
|
105
91
|
|
|
106
92
|
field :transaction_count, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('transaction_count') } }
|
|
107
93
|
|
|
108
94
|
field :transactions_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('transactions_amount') } }
|
|
109
|
-
# Deprecated: transaction_count now includes both current and previous period values when period_model is CURRENT_OR_PREVIOUS
|
|
95
|
+
# Deprecated: transaction_count now includes both current and previous period values when period_model is CURRENT_OR_PREVIOUS, CURRENT_OR_TWO_PREVIOUS, or CURRENT_OR_PREVIOUS_12_MONTHS
|
|
110
96
|
#
|
|
111
97
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
112
98
|
field :previous_transaction_count, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('previous_transaction_count') } }
|
|
113
|
-
# Deprecated: transactions_amount now includes both current and previous period values when period_model is CURRENT_OR_PREVIOUS
|
|
99
|
+
# Deprecated: transactions_amount now includes both current and previous period values when period_model is CURRENT_OR_PREVIOUS, CURRENT_OR_TWO_PREVIOUS, or CURRENT_OR_PREVIOUS_12_MONTHS
|
|
114
100
|
#
|
|
115
101
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
116
102
|
field :previous_transactions_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('previous_transactions_amount') } }
|
|
@@ -123,79 +109,126 @@ module KintsugiSDK
|
|
|
123
109
|
|
|
124
110
|
field :nexus_met, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('nexus_met') } }
|
|
125
111
|
|
|
112
|
+
field :nexus_met_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('nexus_met_date'), 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(true) } }
|
|
113
|
+
|
|
126
114
|
field :economic_nexus_met, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('economic_nexus_met') } }
|
|
127
115
|
|
|
116
|
+
field :economic_nexus_met_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('economic_nexus_met_date'), 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(true) } }
|
|
117
|
+
|
|
128
118
|
field :physical_nexus_met, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('physical_nexus_met') } }
|
|
129
119
|
|
|
120
|
+
field :physical_nexus_met_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('physical_nexus_met_date'), 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(true) } }
|
|
121
|
+
|
|
130
122
|
field :collected_tax_nexus_met, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('collected_tax_nexus_met') } }
|
|
131
123
|
|
|
132
|
-
field :
|
|
124
|
+
field :collected_tax_nexus_met_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('collected_tax_nexus_met_date'), 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(true) } }
|
|
125
|
+
|
|
126
|
+
field :earliest_transaction_date, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('earliest_transaction_date') } }
|
|
127
|
+
|
|
128
|
+
field :most_recent_transaction_date, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('most_recent_transaction_date') } }
|
|
129
|
+
|
|
130
|
+
field :find_threshold_crossing_transaction_state, Crystalline::Nilable.new(Models::Shared::FindThresholdCrossingTransactionState), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('find_threshold_crossing_transaction_state') } }
|
|
131
|
+
|
|
132
|
+
field :earliest_collected_date, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('earliest_collected_date') } }
|
|
133
|
+
|
|
134
|
+
field :predicted_month_from_today, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('predicted_month_from_today') } }
|
|
133
135
|
|
|
134
136
|
field :vda_eligible, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('vda_eligible') } }
|
|
135
137
|
|
|
138
|
+
field :confidence_level, Crystalline::Nilable.new(::Float), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('confidence_level') } }
|
|
139
|
+
|
|
140
|
+
field :last_processed_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('last_processed_at') } }
|
|
141
|
+
|
|
142
|
+
field :last_tax_liability_processed_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('last_tax_liability_processed_at') } }
|
|
143
|
+
# Currency code for the nexus (e.g., USD, CAD).
|
|
144
|
+
field :currency, Crystalline::Nilable.new(Models::Shared::CurrencyEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('currency'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CurrencyEnum, true) } }
|
|
145
|
+
|
|
146
|
+
field :registration, Crystalline::Nilable.new(Crystalline::Hash.new(::Symbol, ::Object)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('registration') } }
|
|
147
|
+
|
|
148
|
+
field :registration_regime, Crystalline::Nilable.new(Models::Shared::RegistrationsRegimeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('registration_regime'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::RegistrationsRegimeEnum, true) } }
|
|
149
|
+
|
|
150
|
+
field :disregarded_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('disregarded_at') } }
|
|
151
|
+
|
|
152
|
+
field :disregarded_by, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('disregarded_by') } }
|
|
153
|
+
|
|
154
|
+
field :disregarded_type, Crystalline::Nilable.new(Models::Shared::DisregardedTypeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('disregarded_type'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::DisregardedTypeEnum, true) } }
|
|
155
|
+
|
|
136
156
|
field :is_currently_disregarded, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_currently_disregarded') } }
|
|
137
157
|
|
|
138
|
-
|
|
139
|
-
|
|
158
|
+
field :ior_opt_out_eligible, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('ior_opt_out_eligible') } }
|
|
159
|
+
|
|
160
|
+
field :ior_eligible_at_registration, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('ior_eligible_at_registration') } }
|
|
161
|
+
|
|
162
|
+
field :requires_ior_number_to_register, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('requires_ior_number_to_register') } }
|
|
163
|
+
|
|
164
|
+
sig { params(country_code: Models::Shared::CountryCodeEnum, state_code: ::String, state_name: ::String, treatment_of_exempt_transactions: Models::Shared::TreatmentEnum, trigger: ::String, sales_or_transactions: Models::Shared::SalesOrTransactionsEnum, start_date: ::Date, period_model: Models::Shared::PeriodModelEnum, period_start_date: ::Date, period_end_date: ::Date, id: ::String, organization_id: ::String, threshold_sales: ::Integer, is_vda_eligible: T::Boolean, nexus_type: Models::Shared::NexusTypeEnum, total_transactions: ::Integer, total_transactions_included: ::Integer, total_transactions_exempted: ::Integer, total_transactions_marketplace: ::Integer, processing_status: T.nilable(Models::Shared::NexusStatusEnum), status: T.nilable(Models::Shared::NexusStateEnum), threshold_transactions: T.nilable(::Integer), tax_type: T.nilable(Models::Shared::TaxTypeEnum), previous_period_start_date: T.nilable(::Date), previous_period_end_date: T.nilable(::Date), periods: T.nilable(T::Array[T::Hash[::Symbol, ::Object]]), created_at: T.nilable(::String), updated_at: T.nilable(::String), disregarded_nexus_types: T.nilable(T::Array[::String]), use_tax_registration_path: T.nilable(Models::Shared::UseTaxRegistrationPath), marketplace_included: T.nilable(T::Boolean), threshold_sales_bigint: T.nilable(::Integer), transaction_count: T.nilable(::Integer), transactions_amount: T.nilable(::String), previous_transaction_count: T.nilable(::Integer), previous_transactions_amount: T.nilable(::String), calculated_tax_liability: T.nilable(::String), imported_tax_liability: T.nilable(::String), tax_liability: T.nilable(::String), nexus_met: T.nilable(T::Boolean), nexus_met_date: T.nilable(::Date), economic_nexus_met: T.nilable(T::Boolean), economic_nexus_met_date: T.nilable(::Date), physical_nexus_met: T.nilable(T::Boolean), physical_nexus_met_date: T.nilable(::Date), collected_tax_nexus_met: T.nilable(T::Boolean), collected_tax_nexus_met_date: T.nilable(::Date), earliest_transaction_date: T.nilable(::String), most_recent_transaction_date: T.nilable(::String), find_threshold_crossing_transaction_state: T.nilable(Models::Shared::FindThresholdCrossingTransactionState), earliest_collected_date: T.nilable(::String), predicted_month_from_today: T.nilable(::Integer), vda_eligible: T.nilable(T::Boolean), confidence_level: T.nilable(::Float), last_processed_at: T.nilable(::String), last_tax_liability_processed_at: T.nilable(::String), currency: T.nilable(Models::Shared::CurrencyEnum), registration: T.nilable(T::Hash[::Symbol, ::Object]), registration_regime: T.nilable(Models::Shared::RegistrationsRegimeEnum), disregarded_at: T.nilable(::String), disregarded_by: T.nilable(::String), disregarded_type: T.nilable(Models::Shared::DisregardedTypeEnum), is_currently_disregarded: T.nilable(T::Boolean), ior_opt_out_eligible: T.nilable(T::Boolean), ior_eligible_at_registration: T.nilable(T::Boolean), requires_ior_number_to_register: T.nilable(T::Boolean)).void }
|
|
165
|
+
def initialize(country_code:, state_code:, state_name:, treatment_of_exempt_transactions:, trigger:, sales_or_transactions:, start_date:, period_model:, period_start_date:, period_end_date:, id:, organization_id:, threshold_sales:, is_vda_eligible:, nexus_type:, total_transactions:, total_transactions_included:, total_transactions_exempted:, total_transactions_marketplace:, processing_status: nil, status: nil, threshold_transactions: nil, tax_type: nil, previous_period_start_date: nil, previous_period_end_date: nil, periods: nil, created_at: nil, updated_at: nil, disregarded_nexus_types: nil, use_tax_registration_path: nil, marketplace_included: nil, threshold_sales_bigint: 0, transaction_count: 0, transactions_amount: '0.00', previous_transaction_count: 0, previous_transactions_amount: '0.00', calculated_tax_liability: nil, imported_tax_liability: nil, tax_liability: '0.00', nexus_met: false, nexus_met_date: nil, economic_nexus_met: false, economic_nexus_met_date: nil, physical_nexus_met: false, physical_nexus_met_date: nil, collected_tax_nexus_met: nil, collected_tax_nexus_met_date: nil, earliest_transaction_date: nil, most_recent_transaction_date: nil, find_threshold_crossing_transaction_state: nil, earliest_collected_date: nil, predicted_month_from_today: nil, vda_eligible: nil, confidence_level: nil, last_processed_at: nil, last_tax_liability_processed_at: nil, currency: nil, registration: nil, registration_regime: nil, disregarded_at: nil, disregarded_by: nil, disregarded_type: nil, is_currently_disregarded: false, ior_opt_out_eligible: false, ior_eligible_at_registration: false, requires_ior_number_to_register: false)
|
|
140
166
|
@country_code = country_code
|
|
141
167
|
@state_code = state_code
|
|
142
168
|
@state_name = state_name
|
|
143
169
|
@treatment_of_exempt_transactions = treatment_of_exempt_transactions
|
|
144
170
|
@trigger = trigger
|
|
145
171
|
@sales_or_transactions = sales_or_transactions
|
|
146
|
-
@threshold_sales = threshold_sales
|
|
147
|
-
@threshold_transactions = threshold_transactions
|
|
148
172
|
@start_date = start_date
|
|
149
173
|
@period_model = period_model
|
|
150
174
|
@period_start_date = period_start_date
|
|
151
175
|
@period_end_date = period_end_date
|
|
152
|
-
@previous_period_start_date = previous_period_start_date
|
|
153
|
-
@previous_period_end_date = previous_period_end_date
|
|
154
176
|
@id = id
|
|
155
|
-
@created_at = created_at
|
|
156
|
-
@updated_at = updated_at
|
|
157
177
|
@organization_id = organization_id
|
|
178
|
+
@threshold_sales = threshold_sales
|
|
158
179
|
@is_vda_eligible = is_vda_eligible
|
|
159
180
|
@nexus_type = nexus_type
|
|
160
181
|
@total_transactions = total_transactions
|
|
161
182
|
@total_transactions_included = total_transactions_included
|
|
162
183
|
@total_transactions_exempted = total_transactions_exempted
|
|
163
184
|
@total_transactions_marketplace = total_transactions_marketplace
|
|
164
|
-
@marketplace_included = marketplace_included
|
|
165
185
|
@processing_status = processing_status
|
|
166
186
|
@status = status
|
|
187
|
+
@threshold_transactions = threshold_transactions
|
|
188
|
+
@tax_type = tax_type
|
|
189
|
+
@previous_period_start_date = previous_period_start_date
|
|
190
|
+
@previous_period_end_date = previous_period_end_date
|
|
191
|
+
@periods = periods
|
|
192
|
+
@created_at = created_at
|
|
193
|
+
@updated_at = updated_at
|
|
194
|
+
@disregarded_nexus_types = disregarded_nexus_types
|
|
195
|
+
@use_tax_registration_path = use_tax_registration_path
|
|
196
|
+
@marketplace_included = marketplace_included
|
|
197
|
+
@threshold_sales_bigint = threshold_sales_bigint
|
|
198
|
+
@transaction_count = transaction_count
|
|
199
|
+
@transactions_amount = transactions_amount
|
|
200
|
+
@previous_transaction_count = previous_transaction_count
|
|
201
|
+
@previous_transactions_amount = previous_transactions_amount
|
|
202
|
+
@calculated_tax_liability = calculated_tax_liability
|
|
203
|
+
@imported_tax_liability = imported_tax_liability
|
|
204
|
+
@tax_liability = tax_liability
|
|
205
|
+
@nexus_met = nexus_met
|
|
167
206
|
@nexus_met_date = nexus_met_date
|
|
207
|
+
@economic_nexus_met = economic_nexus_met
|
|
168
208
|
@economic_nexus_met_date = economic_nexus_met_date
|
|
209
|
+
@physical_nexus_met = physical_nexus_met
|
|
169
210
|
@physical_nexus_met_date = physical_nexus_met_date
|
|
211
|
+
@collected_tax_nexus_met = collected_tax_nexus_met
|
|
170
212
|
@collected_tax_nexus_met_date = collected_tax_nexus_met_date
|
|
171
213
|
@earliest_transaction_date = earliest_transaction_date
|
|
172
214
|
@most_recent_transaction_date = most_recent_transaction_date
|
|
173
215
|
@find_threshold_crossing_transaction_state = find_threshold_crossing_transaction_state
|
|
216
|
+
@earliest_collected_date = earliest_collected_date
|
|
174
217
|
@predicted_month_from_today = predicted_month_from_today
|
|
218
|
+
@vda_eligible = vda_eligible
|
|
175
219
|
@confidence_level = confidence_level
|
|
176
220
|
@last_processed_at = last_processed_at
|
|
177
221
|
@last_tax_liability_processed_at = last_tax_liability_processed_at
|
|
178
|
-
@periods = periods
|
|
179
222
|
@currency = currency
|
|
180
223
|
@registration = registration
|
|
181
224
|
@registration_regime = registration_regime
|
|
182
225
|
@disregarded_at = disregarded_at
|
|
183
226
|
@disregarded_by = disregarded_by
|
|
184
|
-
@
|
|
185
|
-
@transaction_count = transaction_count
|
|
186
|
-
@transactions_amount = transactions_amount
|
|
187
|
-
@previous_transaction_count = previous_transaction_count
|
|
188
|
-
@previous_transactions_amount = previous_transactions_amount
|
|
189
|
-
@calculated_tax_liability = calculated_tax_liability
|
|
190
|
-
@imported_tax_liability = imported_tax_liability
|
|
191
|
-
@tax_liability = tax_liability
|
|
192
|
-
@nexus_met = nexus_met
|
|
193
|
-
@economic_nexus_met = economic_nexus_met
|
|
194
|
-
@physical_nexus_met = physical_nexus_met
|
|
195
|
-
@collected_tax_nexus_met = collected_tax_nexus_met
|
|
196
|
-
@earliest_collected_date = earliest_collected_date
|
|
197
|
-
@vda_eligible = vda_eligible
|
|
227
|
+
@disregarded_type = disregarded_type
|
|
198
228
|
@is_currently_disregarded = is_currently_disregarded
|
|
229
|
+
@ior_opt_out_eligible = ior_opt_out_eligible
|
|
230
|
+
@ior_eligible_at_registration = ior_eligible_at_registration
|
|
231
|
+
@requires_ior_number_to_register = requires_ior_number_to_register
|
|
199
232
|
end
|
|
200
233
|
|
|
201
234
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -207,59 +240,66 @@ module KintsugiSDK
|
|
|
207
240
|
return false unless @treatment_of_exempt_transactions == other.treatment_of_exempt_transactions
|
|
208
241
|
return false unless @trigger == other.trigger
|
|
209
242
|
return false unless @sales_or_transactions == other.sales_or_transactions
|
|
210
|
-
return false unless @threshold_sales == other.threshold_sales
|
|
211
|
-
return false unless @threshold_transactions == other.threshold_transactions
|
|
212
243
|
return false unless @start_date == other.start_date
|
|
213
244
|
return false unless @period_model == other.period_model
|
|
214
245
|
return false unless @period_start_date == other.period_start_date
|
|
215
246
|
return false unless @period_end_date == other.period_end_date
|
|
216
|
-
return false unless @previous_period_start_date == other.previous_period_start_date
|
|
217
|
-
return false unless @previous_period_end_date == other.previous_period_end_date
|
|
218
247
|
return false unless @id == other.id
|
|
219
|
-
return false unless @created_at == other.created_at
|
|
220
|
-
return false unless @updated_at == other.updated_at
|
|
221
248
|
return false unless @organization_id == other.organization_id
|
|
249
|
+
return false unless @threshold_sales == other.threshold_sales
|
|
222
250
|
return false unless @is_vda_eligible == other.is_vda_eligible
|
|
223
251
|
return false unless @nexus_type == other.nexus_type
|
|
224
252
|
return false unless @total_transactions == other.total_transactions
|
|
225
253
|
return false unless @total_transactions_included == other.total_transactions_included
|
|
226
254
|
return false unless @total_transactions_exempted == other.total_transactions_exempted
|
|
227
255
|
return false unless @total_transactions_marketplace == other.total_transactions_marketplace
|
|
228
|
-
return false unless @marketplace_included == other.marketplace_included
|
|
229
256
|
return false unless @processing_status == other.processing_status
|
|
230
257
|
return false unless @status == other.status
|
|
258
|
+
return false unless @threshold_transactions == other.threshold_transactions
|
|
259
|
+
return false unless @tax_type == other.tax_type
|
|
260
|
+
return false unless @previous_period_start_date == other.previous_period_start_date
|
|
261
|
+
return false unless @previous_period_end_date == other.previous_period_end_date
|
|
262
|
+
return false unless @periods == other.periods
|
|
263
|
+
return false unless @created_at == other.created_at
|
|
264
|
+
return false unless @updated_at == other.updated_at
|
|
265
|
+
return false unless @disregarded_nexus_types == other.disregarded_nexus_types
|
|
266
|
+
return false unless @use_tax_registration_path == other.use_tax_registration_path
|
|
267
|
+
return false unless @marketplace_included == other.marketplace_included
|
|
268
|
+
return false unless @threshold_sales_bigint == other.threshold_sales_bigint
|
|
269
|
+
return false unless @transaction_count == other.transaction_count
|
|
270
|
+
return false unless @transactions_amount == other.transactions_amount
|
|
271
|
+
return false unless @previous_transaction_count == other.previous_transaction_count
|
|
272
|
+
return false unless @previous_transactions_amount == other.previous_transactions_amount
|
|
273
|
+
return false unless @calculated_tax_liability == other.calculated_tax_liability
|
|
274
|
+
return false unless @imported_tax_liability == other.imported_tax_liability
|
|
275
|
+
return false unless @tax_liability == other.tax_liability
|
|
276
|
+
return false unless @nexus_met == other.nexus_met
|
|
231
277
|
return false unless @nexus_met_date == other.nexus_met_date
|
|
278
|
+
return false unless @economic_nexus_met == other.economic_nexus_met
|
|
232
279
|
return false unless @economic_nexus_met_date == other.economic_nexus_met_date
|
|
280
|
+
return false unless @physical_nexus_met == other.physical_nexus_met
|
|
233
281
|
return false unless @physical_nexus_met_date == other.physical_nexus_met_date
|
|
282
|
+
return false unless @collected_tax_nexus_met == other.collected_tax_nexus_met
|
|
234
283
|
return false unless @collected_tax_nexus_met_date == other.collected_tax_nexus_met_date
|
|
235
284
|
return false unless @earliest_transaction_date == other.earliest_transaction_date
|
|
236
285
|
return false unless @most_recent_transaction_date == other.most_recent_transaction_date
|
|
237
286
|
return false unless @find_threshold_crossing_transaction_state == other.find_threshold_crossing_transaction_state
|
|
287
|
+
return false unless @earliest_collected_date == other.earliest_collected_date
|
|
238
288
|
return false unless @predicted_month_from_today == other.predicted_month_from_today
|
|
289
|
+
return false unless @vda_eligible == other.vda_eligible
|
|
239
290
|
return false unless @confidence_level == other.confidence_level
|
|
240
291
|
return false unless @last_processed_at == other.last_processed_at
|
|
241
292
|
return false unless @last_tax_liability_processed_at == other.last_tax_liability_processed_at
|
|
242
|
-
return false unless @periods == other.periods
|
|
243
293
|
return false unless @currency == other.currency
|
|
244
294
|
return false unless @registration == other.registration
|
|
245
295
|
return false unless @registration_regime == other.registration_regime
|
|
246
296
|
return false unless @disregarded_at == other.disregarded_at
|
|
247
297
|
return false unless @disregarded_by == other.disregarded_by
|
|
248
|
-
return false unless @
|
|
249
|
-
return false unless @transaction_count == other.transaction_count
|
|
250
|
-
return false unless @transactions_amount == other.transactions_amount
|
|
251
|
-
return false unless @previous_transaction_count == other.previous_transaction_count
|
|
252
|
-
return false unless @previous_transactions_amount == other.previous_transactions_amount
|
|
253
|
-
return false unless @calculated_tax_liability == other.calculated_tax_liability
|
|
254
|
-
return false unless @imported_tax_liability == other.imported_tax_liability
|
|
255
|
-
return false unless @tax_liability == other.tax_liability
|
|
256
|
-
return false unless @nexus_met == other.nexus_met
|
|
257
|
-
return false unless @economic_nexus_met == other.economic_nexus_met
|
|
258
|
-
return false unless @physical_nexus_met == other.physical_nexus_met
|
|
259
|
-
return false unless @collected_tax_nexus_met == other.collected_tax_nexus_met
|
|
260
|
-
return false unless @earliest_collected_date == other.earliest_collected_date
|
|
261
|
-
return false unless @vda_eligible == other.vda_eligible
|
|
298
|
+
return false unless @disregarded_type == other.disregarded_type
|
|
262
299
|
return false unless @is_currently_disregarded == other.is_currently_disregarded
|
|
300
|
+
return false unless @ior_opt_out_eligible == other.ior_opt_out_eligible
|
|
301
|
+
return false unless @ior_eligible_at_registration == other.ior_eligible_at_registration
|
|
302
|
+
return false unless @requires_ior_number_to_register == other.requires_ior_number_to_register
|
|
263
303
|
true
|
|
264
304
|
end
|
|
265
305
|
end
|
|
@@ -20,10 +20,6 @@ class KintsugiSDK::Models::Shared::NexusResponse
|
|
|
20
20
|
def trigger=(str_); end
|
|
21
21
|
def sales_or_transactions(); end
|
|
22
22
|
def sales_or_transactions=(str_); end
|
|
23
|
-
def threshold_sales(); end
|
|
24
|
-
def threshold_sales=(str_); end
|
|
25
|
-
def threshold_transactions(); end
|
|
26
|
-
def threshold_transactions=(str_); end
|
|
27
23
|
def start_date(); end
|
|
28
24
|
def start_date=(str_); end
|
|
29
25
|
def period_model(); end
|
|
@@ -32,18 +28,12 @@ class KintsugiSDK::Models::Shared::NexusResponse
|
|
|
32
28
|
def period_start_date=(str_); end
|
|
33
29
|
def period_end_date(); end
|
|
34
30
|
def period_end_date=(str_); end
|
|
35
|
-
def previous_period_start_date(); end
|
|
36
|
-
def previous_period_start_date=(str_); end
|
|
37
|
-
def previous_period_end_date(); end
|
|
38
|
-
def previous_period_end_date=(str_); end
|
|
39
31
|
def id(); end
|
|
40
32
|
def id=(str_); end
|
|
41
|
-
def created_at(); end
|
|
42
|
-
def created_at=(str_); end
|
|
43
|
-
def updated_at(); end
|
|
44
|
-
def updated_at=(str_); end
|
|
45
33
|
def organization_id(); end
|
|
46
34
|
def organization_id=(str_); end
|
|
35
|
+
def threshold_sales(); end
|
|
36
|
+
def threshold_sales=(str_); end
|
|
47
37
|
def is_vda_eligible(); end
|
|
48
38
|
def is_vda_eligible=(str_); end
|
|
49
39
|
def nexus_type(); end
|
|
@@ -56,18 +46,60 @@ class KintsugiSDK::Models::Shared::NexusResponse
|
|
|
56
46
|
def total_transactions_exempted=(str_); end
|
|
57
47
|
def total_transactions_marketplace(); end
|
|
58
48
|
def total_transactions_marketplace=(str_); end
|
|
59
|
-
def marketplace_included(); end
|
|
60
|
-
def marketplace_included=(str_); end
|
|
61
49
|
def processing_status(); end
|
|
62
50
|
def processing_status=(str_); end
|
|
63
51
|
def status(); end
|
|
64
52
|
def status=(str_); end
|
|
53
|
+
def threshold_transactions(); end
|
|
54
|
+
def threshold_transactions=(str_); end
|
|
55
|
+
def tax_type(); end
|
|
56
|
+
def tax_type=(str_); end
|
|
57
|
+
def previous_period_start_date(); end
|
|
58
|
+
def previous_period_start_date=(str_); end
|
|
59
|
+
def previous_period_end_date(); end
|
|
60
|
+
def previous_period_end_date=(str_); end
|
|
61
|
+
def periods(); end
|
|
62
|
+
def periods=(str_); end
|
|
63
|
+
def created_at(); end
|
|
64
|
+
def created_at=(str_); end
|
|
65
|
+
def updated_at(); end
|
|
66
|
+
def updated_at=(str_); end
|
|
67
|
+
def disregarded_nexus_types(); end
|
|
68
|
+
def disregarded_nexus_types=(str_); end
|
|
69
|
+
def use_tax_registration_path(); end
|
|
70
|
+
def use_tax_registration_path=(str_); end
|
|
71
|
+
def marketplace_included(); end
|
|
72
|
+
def marketplace_included=(str_); end
|
|
73
|
+
def threshold_sales_bigint(); end
|
|
74
|
+
def threshold_sales_bigint=(str_); end
|
|
75
|
+
def transaction_count(); end
|
|
76
|
+
def transaction_count=(str_); end
|
|
77
|
+
def transactions_amount(); end
|
|
78
|
+
def transactions_amount=(str_); end
|
|
79
|
+
def previous_transaction_count(); end
|
|
80
|
+
def previous_transaction_count=(str_); end
|
|
81
|
+
def previous_transactions_amount(); end
|
|
82
|
+
def previous_transactions_amount=(str_); end
|
|
83
|
+
def calculated_tax_liability(); end
|
|
84
|
+
def calculated_tax_liability=(str_); end
|
|
85
|
+
def imported_tax_liability(); end
|
|
86
|
+
def imported_tax_liability=(str_); end
|
|
87
|
+
def tax_liability(); end
|
|
88
|
+
def tax_liability=(str_); end
|
|
89
|
+
def nexus_met(); end
|
|
90
|
+
def nexus_met=(str_); end
|
|
65
91
|
def nexus_met_date(); end
|
|
66
92
|
def nexus_met_date=(str_); end
|
|
93
|
+
def economic_nexus_met(); end
|
|
94
|
+
def economic_nexus_met=(str_); end
|
|
67
95
|
def economic_nexus_met_date(); end
|
|
68
96
|
def economic_nexus_met_date=(str_); end
|
|
97
|
+
def physical_nexus_met(); end
|
|
98
|
+
def physical_nexus_met=(str_); end
|
|
69
99
|
def physical_nexus_met_date(); end
|
|
70
100
|
def physical_nexus_met_date=(str_); end
|
|
101
|
+
def collected_tax_nexus_met(); end
|
|
102
|
+
def collected_tax_nexus_met=(str_); end
|
|
71
103
|
def collected_tax_nexus_met_date(); end
|
|
72
104
|
def collected_tax_nexus_met_date=(str_); end
|
|
73
105
|
def earliest_transaction_date(); end
|
|
@@ -76,16 +108,18 @@ class KintsugiSDK::Models::Shared::NexusResponse
|
|
|
76
108
|
def most_recent_transaction_date=(str_); end
|
|
77
109
|
def find_threshold_crossing_transaction_state(); end
|
|
78
110
|
def find_threshold_crossing_transaction_state=(str_); end
|
|
111
|
+
def earliest_collected_date(); end
|
|
112
|
+
def earliest_collected_date=(str_); end
|
|
79
113
|
def predicted_month_from_today(); end
|
|
80
114
|
def predicted_month_from_today=(str_); end
|
|
115
|
+
def vda_eligible(); end
|
|
116
|
+
def vda_eligible=(str_); end
|
|
81
117
|
def confidence_level(); end
|
|
82
118
|
def confidence_level=(str_); end
|
|
83
119
|
def last_processed_at(); end
|
|
84
120
|
def last_processed_at=(str_); end
|
|
85
121
|
def last_tax_liability_processed_at(); end
|
|
86
122
|
def last_tax_liability_processed_at=(str_); end
|
|
87
|
-
def periods(); end
|
|
88
|
-
def periods=(str_); end
|
|
89
123
|
def currency(); end
|
|
90
124
|
def currency=(str_); end
|
|
91
125
|
def registration(); end
|
|
@@ -96,34 +130,14 @@ class KintsugiSDK::Models::Shared::NexusResponse
|
|
|
96
130
|
def disregarded_at=(str_); end
|
|
97
131
|
def disregarded_by(); end
|
|
98
132
|
def disregarded_by=(str_); end
|
|
99
|
-
def
|
|
100
|
-
def
|
|
101
|
-
def transaction_count(); end
|
|
102
|
-
def transaction_count=(str_); end
|
|
103
|
-
def transactions_amount(); end
|
|
104
|
-
def transactions_amount=(str_); end
|
|
105
|
-
def previous_transaction_count(); end
|
|
106
|
-
def previous_transaction_count=(str_); end
|
|
107
|
-
def previous_transactions_amount(); end
|
|
108
|
-
def previous_transactions_amount=(str_); end
|
|
109
|
-
def calculated_tax_liability(); end
|
|
110
|
-
def calculated_tax_liability=(str_); end
|
|
111
|
-
def imported_tax_liability(); end
|
|
112
|
-
def imported_tax_liability=(str_); end
|
|
113
|
-
def tax_liability(); end
|
|
114
|
-
def tax_liability=(str_); end
|
|
115
|
-
def nexus_met(); end
|
|
116
|
-
def nexus_met=(str_); end
|
|
117
|
-
def economic_nexus_met(); end
|
|
118
|
-
def economic_nexus_met=(str_); end
|
|
119
|
-
def physical_nexus_met(); end
|
|
120
|
-
def physical_nexus_met=(str_); end
|
|
121
|
-
def collected_tax_nexus_met(); end
|
|
122
|
-
def collected_tax_nexus_met=(str_); end
|
|
123
|
-
def earliest_collected_date(); end
|
|
124
|
-
def earliest_collected_date=(str_); end
|
|
125
|
-
def vda_eligible(); end
|
|
126
|
-
def vda_eligible=(str_); end
|
|
133
|
+
def disregarded_type(); end
|
|
134
|
+
def disregarded_type=(str_); end
|
|
127
135
|
def is_currently_disregarded(); end
|
|
128
136
|
def is_currently_disregarded=(str_); end
|
|
137
|
+
def ior_opt_out_eligible(); end
|
|
138
|
+
def ior_opt_out_eligible=(str_); end
|
|
139
|
+
def ior_eligible_at_registration(); end
|
|
140
|
+
def ior_eligible_at_registration=(str_); end
|
|
141
|
+
def requires_ior_number_to_register(); end
|
|
142
|
+
def requires_ior_number_to_register=(str_); end
|
|
129
143
|
end
|
|
@@ -11,9 +11,11 @@ module KintsugiSDK
|
|
|
11
11
|
class PeriodModelEnum < T::Enum
|
|
12
12
|
enums do
|
|
13
13
|
CURRENT_OR_PREVIOUS = new('CURRENT_OR_PREVIOUS')
|
|
14
|
+
CURRENT_OR_TWO_PREVIOUS = new('CURRENT_OR_TWO_PREVIOUS')
|
|
14
15
|
PRECEDING_YEAR_FROM_OCTOBER = new('PRECEDING_YEAR_FROM_OCTOBER')
|
|
15
16
|
CALENDAR_YEAR = new('CALENDAR_YEAR')
|
|
16
17
|
PREVIOUS_12_MONTHS = new('PREVIOUS_12_MONTHS')
|
|
18
|
+
CURRENT_OR_PREVIOUS_12_MONTHS = new('CURRENT_OR_PREVIOUS_12_MONTHS')
|
|
17
19
|
PREVIOUS_4_QUARTERS = new('PREVIOUS_4_QUARTERS')
|
|
18
20
|
PREVIOUS_4_QUARTERS_OFFSET = new('PREVIOUS_4_QUARTERS_OFFSET')
|
|
19
21
|
PRECEDING_YEAR = new('PRECEDING_YEAR')
|