newstore-apimatic-sdk 0.0.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 +7 -0
- data/LICENSE +28 -0
- data/README.md +230 -0
- data/bin/console +15 -0
- data/lib/new_store_api/api_helper.rb +10 -0
- data/lib/new_store_api/client.rb +559 -0
- data/lib/new_store_api/configuration.rb +244 -0
- data/lib/new_store_api/controllers/address_completion_controller.rb +24 -0
- data/lib/new_store_api/controllers/address_controller.rb +131 -0
- data/lib/new_store_api/controllers/adyen_adapter_controller.rb +43 -0
- data/lib/new_store_api/controllers/associate_app_experiments_configuration_controller.rb +132 -0
- data/lib/new_store_api/controllers/audit_events_controller.rb +73 -0
- data/lib/new_store_api/controllers/base_controller.rb +60 -0
- data/lib/new_store_api/controllers/bookings_controller.rb +134 -0
- data/lib/new_store_api/controllers/cart_controller.rb +234 -0
- data/lib/new_store_api/controllers/cashboxes_controller.rb +137 -0
- data/lib/new_store_api/controllers/clients_controller.rb +110 -0
- data/lib/new_store_api/controllers/counting_controller.rb +134 -0
- data/lib/new_store_api/controllers/customer_configuration_controller.rb +47 -0
- data/lib/new_store_api/controllers/customer_profile_controller.rb +195 -0
- data/lib/new_store_api/controllers/data_controller.rb +61 -0
- data/lib/new_store_api/controllers/datasets_controller.rb +64 -0
- data/lib/new_store_api/controllers/device_notifications_controller.rb +38 -0
- data/lib/new_store_api/controllers/device_registrations_controller.rb +38 -0
- data/lib/new_store_api/controllers/device_subscriptions_controller.rb +84 -0
- data/lib/new_store_api/controllers/discounts_controller.rb +37 -0
- data/lib/new_store_api/controllers/easypost_adapter_config_controller.rb +74 -0
- data/lib/new_store_api/controllers/events_controller.rb +69 -0
- data/lib/new_store_api/controllers/extensions_controller.rb +144 -0
- data/lib/new_store_api/controllers/financial_document_controller.rb +161 -0
- data/lib/new_store_api/controllers/fiscal_providers_controller.rb +23 -0
- data/lib/new_store_api/controllers/fulfillment_requests_controller.rb +192 -0
- data/lib/new_store_api/controllers/fulfillment_tasks_controller.rb +46 -0
- data/lib/new_store_api/controllers/identity_providers_controller.rb +118 -0
- data/lib/new_store_api/controllers/import_schemas_controller.rb +145 -0
- data/lib/new_store_api/controllers/insights_controller.rb +85 -0
- data/lib/new_store_api/controllers/installations_controller.rb +60 -0
- data/lib/new_store_api/controllers/inventory_configuration_controller.rb +46 -0
- data/lib/new_store_api/controllers/jobs_controller.rb +224 -0
- data/lib/new_store_api/controllers/manifests_controller.rb +37 -0
- data/lib/new_store_api/controllers/notifications_controller.rb +50 -0
- data/lib/new_store_api/controllers/o_auth_authorization_controller.rb +42 -0
- data/lib/new_store_api/controllers/order_injection_config_controller.rb +80 -0
- data/lib/new_store_api/controllers/order_injection_controller.rb +125 -0
- data/lib/new_store_api/controllers/order_placement_controller.rb +48 -0
- data/lib/new_store_api/controllers/orders_controller.rb +128 -0
- data/lib/new_store_api/controllers/package_types_controller.rb +160 -0
- data/lib/new_store_api/controllers/payment_account_controller.rb +47 -0
- data/lib/new_store_api/controllers/payment_definitions_controller.rb +37 -0
- data/lib/new_store_api/controllers/payment_links_controller.rb +69 -0
- data/lib/new_store_api/controllers/phavda_notifications_controller.rb +58 -0
- data/lib/new_store_api/controllers/platform_event_callbacks_controller.rb +37 -0
- data/lib/new_store_api/controllers/platform_status_controller.rb +32 -0
- data/lib/new_store_api/controllers/pricebook_export_controller.rb +51 -0
- data/lib/new_store_api/controllers/product_export_controller.rb +123 -0
- data/lib/new_store_api/controllers/profiles_controller.rb +50 -0
- data/lib/new_store_api/controllers/provider_rates_controller.rb +119 -0
- data/lib/new_store_api/controllers/providers_controller.rb +235 -0
- data/lib/new_store_api/controllers/reason_codes_controller.rb +128 -0
- data/lib/new_store_api/controllers/reservations_controller.rb +266 -0
- data/lib/new_store_api/controllers/roles_controller.rb +149 -0
- data/lib/new_store_api/controllers/routing_config_controller.rb +345 -0
- data/lib/new_store_api/controllers/routing_controller.rb +58 -0
- data/lib/new_store_api/controllers/routing_ruleset_controller.rb +135 -0
- data/lib/new_store_api/controllers/sales_goals_management_controller.rb +51 -0
- data/lib/new_store_api/controllers/sales_orders_controller.rb +370 -0
- data/lib/new_store_api/controllers/segmentation_controller.rb +485 -0
- data/lib/new_store_api/controllers/settings_controller.rb +165 -0
- data/lib/new_store_api/controllers/shipment_configurations_controller.rb +136 -0
- data/lib/new_store_api/controllers/shipping_labels_controller.rb +30 -0
- data/lib/new_store_api/controllers/shipping_option_audits_controller.rb +54 -0
- data/lib/new_store_api/controllers/shipping_options_controller.rb +185 -0
- data/lib/new_store_api/controllers/shortings_controller.rb +48 -0
- data/lib/new_store_api/controllers/simulation_controller.rb +43 -0
- data/lib/new_store_api/controllers/stock_controller.rb +139 -0
- data/lib/new_store_api/controllers/store_reporting_config_controller.rb +61 -0
- data/lib/new_store_api/controllers/store_tax_configuration_controller.rb +129 -0
- data/lib/new_store_api/controllers/stores_controller.rb +137 -0
- data/lib/new_store_api/controllers/stripe_webhook_notifications_controller.rb +42 -0
- data/lib/new_store_api/controllers/support_users_controller.rb +63 -0
- data/lib/new_store_api/controllers/tax_definitions_controller.rb +40 -0
- data/lib/new_store_api/controllers/tax_quotations_controller.rb +43 -0
- data/lib/new_store_api/controllers/tax_transactions_controller.rb +131 -0
- data/lib/new_store_api/controllers/tenant_config_controller.rb +68 -0
- data/lib/new_store_api/controllers/tenant_tax_configuration_controller.rb +69 -0
- data/lib/new_store_api/controllers/token_operations_controller.rb +47 -0
- data/lib/new_store_api/controllers/tppe_controller.rb +51 -0
- data/lib/new_store_api/controllers/transferring_controller.rb +37 -0
- data/lib/new_store_api/controllers/users_controller.rb +224 -0
- data/lib/new_store_api/exceptions/api_exception.rb +21 -0
- data/lib/new_store_api/exceptions/o_auth_provider_exception.rb +64 -0
- data/lib/new_store_api/http/auth/o_auth2.rb +157 -0
- data/lib/new_store_api/http/http_call_back.rb +10 -0
- data/lib/new_store_api/http/http_method_enum.rb +10 -0
- data/lib/new_store_api/http/http_request.rb +10 -0
- data/lib/new_store_api/http/http_response.rb +10 -0
- data/lib/new_store_api/http/proxy_settings.rb +22 -0
- data/lib/new_store_api/models/accept_enum.rb +26 -0
- data/lib/new_store_api/models/action_enum.rb +36 -0
- data/lib/new_store_api/models/actor.rb +134 -0
- data/lib/new_store_api/models/adapter_enum.rb +36 -0
- data/lib/new_store_api/models/adapter_http_timeout.rb +74 -0
- data/lib/new_store_api/models/add_item_item_price.rb +71 -0
- data/lib/new_store_api/models/add_item_request_body.rb +133 -0
- data/lib/new_store_api/models/add_item_response_body.rb +71 -0
- data/lib/new_store_api/models/add_on_links.rb +81 -0
- data/lib/new_store_api/models/add_on_resource.rb +137 -0
- data/lib/new_store_api/models/add_replace_or_test.rb +102 -0
- data/lib/new_store_api/models/address.rb +149 -0
- data/lib/new_store_api/models/address1.rb +204 -0
- data/lib/new_store_api/models/address_data_ie_v1_dto.rb +116 -0
- data/lib/new_store_api/models/address_data_no_v1_dto.rb +141 -0
- data/lib/new_store_api/models/address_model.rb +150 -0
- data/lib/new_store_api/models/address_response.rb +189 -0
- data/lib/new_store_api/models/adjustment.rb +60 -0
- data/lib/new_store_api/models/allocation.rb +85 -0
- data/lib/new_store_api/models/amount.rb +69 -0
- data/lib/new_store_api/models/application_enum.rb +40 -0
- data/lib/new_store_api/models/atp_insights_response.rb +135 -0
- data/lib/new_store_api/models/atp_key.rb +70 -0
- data/lib/new_store_api/models/audit_event.rb +164 -0
- data/lib/new_store_api/models/audit_event_list.rb +80 -0
- data/lib/new_store_api/models/audit_event_read_only.rb +95 -0
- data/lib/new_store_api/models/audit_operation_enum.rb +40 -0
- data/lib/new_store_api/models/audit_read_only.rb +133 -0
- data/lib/new_store_api/models/audit_response.rb +60 -0
- data/lib/new_store_api/models/audits_response.rb +77 -0
- data/lib/new_store_api/models/automatic_rerouting_settings.rb +83 -0
- data/lib/new_store_api/models/availability_row.rb +79 -0
- data/lib/new_store_api/models/avalara_config_create_dto.rb +126 -0
- data/lib/new_store_api/models/avalara_config_dto.rb +156 -0
- data/lib/new_store_api/models/avalara_config_update_dto.rb +130 -0
- data/lib/new_store_api/models/avalara_env_enum.rb +36 -0
- data/lib/new_store_api/models/avalara_exemption_class_item_create_dto.rb +111 -0
- data/lib/new_store_api/models/avalara_exemption_class_item_dto.rb +137 -0
- data/lib/new_store_api/models/avalara_exemption_class_item_update_dto.rb +111 -0
- data/lib/new_store_api/models/axena_activation_data_v1_dto.rb +97 -0
- data/lib/new_store_api/models/base_model.rb +110 -0
- data/lib/new_store_api/models/billing_address.rb +62 -0
- data/lib/new_store_api/models/body.rb +62 -0
- data/lib/new_store_api/models/booking_product.rb +211 -0
- data/lib/new_store_api/models/booking_product_customs.rb +107 -0
- data/lib/new_store_api/models/booking_response_cost.rb +68 -0
- data/lib/new_store_api/models/bulk_profile_lookup_response.rb +68 -0
- data/lib/new_store_api/models/byo_crm_config_request.rb +85 -0
- data/lib/new_store_api/models/byo_crm_config_response.rb +80 -0
- data/lib/new_store_api/models/calculation_mode_enum.rb +42 -0
- data/lib/new_store_api/models/canceled.rb +91 -0
- data/lib/new_store_api/models/cancellation_policy_settings.rb +82 -0
- data/lib/new_store_api/models/cancellation_policy_settings_reasons_enum.rb +53 -0
- data/lib/new_store_api/models/cancellation_policy_settings_value.rb +79 -0
- data/lib/new_store_api/models/capacity_based_routing_settings.rb +82 -0
- data/lib/new_store_api/models/card_details.rb +150 -0
- data/lib/new_store_api/models/card_payment.rb +184 -0
- data/lib/new_store_api/models/carriers_config.rb +80 -0
- data/lib/new_store_api/models/carriers_config_carrier.rb +117 -0
- data/lib/new_store_api/models/cart.rb +158 -0
- data/lib/new_store_api/models/cart_discount.rb +107 -0
- data/lib/new_store_api/models/cart_links.rb +90 -0
- data/lib/new_store_api/models/cart_list_item.rb +68 -0
- data/lib/new_store_api/models/cart_resource.rb +172 -0
- data/lib/new_store_api/models/cash_denomination_dto.rb +85 -0
- data/lib/new_store_api/models/cash_denominations_response_dto.rb +95 -0
- data/lib/new_store_api/models/cash_details.rb +74 -0
- data/lib/new_store_api/models/cash_payment.rb +179 -0
- data/lib/new_store_api/models/cashbox_config_axena_se_v1_dto.rb +283 -0
- data/lib/new_store_api/models/cashbox_config_efsta_pt_v1_dto.rb +131 -0
- data/lib/new_store_api/models/cashbox_config_epson_it_v1_dto.rb +114 -0
- data/lib/new_store_api/models/cashbox_config_fiskaltrust_at_v1_dto.rb +91 -0
- data/lib/new_store_api/models/cashbox_config_fiskaltrust_de_v1_dto.rb +91 -0
- data/lib/new_store_api/models/cashbox_config_fiskaltrust_fr_v1_dto.rb +136 -0
- data/lib/new_store_api/models/cashbox_config_new_store_be_v1_dto.rb +107 -0
- data/lib/new_store_api/models/cashbox_config_new_store_es_v1_dto.rb +75 -0
- data/lib/new_store_api/models/cashbox_config_new_store_in_v1_dto.rb +81 -0
- data/lib/new_store_api/models/cashbox_config_new_store_th_v1_dto.rb +81 -0
- data/lib/new_store_api/models/cashbox_config_newstore_ie_v1_dto.rb +123 -0
- data/lib/new_store_api/models/cashbox_config_newstore_no_v1_dto.rb +145 -0
- data/lib/new_store_api/models/cashbox_config_posnet_pl_v1_dto.rb +114 -0
- data/lib/new_store_api/models/cashbox_config_ycs_pr_v1_dto.rb +94 -0
- data/lib/new_store_api/models/cashbox_create_v1_dto.rb +94 -0
- data/lib/new_store_api/models/cashbox_created_v1_dto.rb +196 -0
- data/lib/new_store_api/models/cashbox_get_v1_dto.rb +202 -0
- data/lib/new_store_api/models/cashbox_list_v1_dto.rb +69 -0
- data/lib/new_store_api/models/cashbox_release_v1_dto.rb +67 -0
- data/lib/new_store_api/models/cashbox_state_enum.rb +36 -0
- data/lib/new_store_api/models/cashbox_v1_dto.rb +185 -0
- data/lib/new_store_api/models/catalog.rb +68 -0
- data/lib/new_store_api/models/category_enum.rb +36 -0
- data/lib/new_store_api/models/change_cart_request_body.rb +62 -0
- data/lib/new_store_api/models/change_item_request_body.rb +92 -0
- data/lib/new_store_api/models/change_item_response_body.rb +71 -0
- data/lib/new_store_api/models/changes_response_body.rb +62 -0
- data/lib/new_store_api/models/channel.rb +70 -0
- data/lib/new_store_api/models/channel1.rb +94 -0
- data/lib/new_store_api/models/channel_type1_enum.rb +40 -0
- data/lib/new_store_api/models/channel_type_enum.rb +26 -0
- data/lib/new_store_api/models/checkout_financial_documents_exchange_receipts_request.rb +83 -0
- data/lib/new_store_api/models/checkout_financial_documents_sales_receipts_request.rb +62 -0
- data/lib/new_store_api/models/code_enum.rb +52 -0
- data/lib/new_store_api/models/combine_enum.rb +36 -0
- data/lib/new_store_api/models/complete_zone_request.rb +60 -0
- data/lib/new_store_api/models/completion_response.rb +63 -0
- data/lib/new_store_api/models/condition.rb +103 -0
- data/lib/new_store_api/models/conditions.rb +87 -0
- data/lib/new_store_api/models/config.rb +113 -0
- data/lib/new_store_api/models/config_dto.rb +192 -0
- data/lib/new_store_api/models/config_model.rb +242 -0
- data/lib/new_store_api/models/config_model_response.rb +262 -0
- data/lib/new_store_api/models/configuration_feature_flags.rb +73 -0
- data/lib/new_store_api/models/configuration_name_enum.rb +64 -0
- data/lib/new_store_api/models/configuration_request.rb +94 -0
- data/lib/new_store_api/models/configuration_response.rb +84 -0
- data/lib/new_store_api/models/context_v1_dto.rb +113 -0
- data/lib/new_store_api/models/correlation.rb +87 -0
- data/lib/new_store_api/models/count_task_line_item_response.rb +95 -0
- data/lib/new_store_api/models/country_code_enum.rb +1025 -0
- data/lib/new_store_api/models/create_cart_request_body.rb +124 -0
- data/lib/new_store_api/models/create_data_request.rb +79 -0
- data/lib/new_store_api/models/create_data_response.rb +60 -0
- data/lib/new_store_api/models/create_identity_provider_request.rb +116 -0
- data/lib/new_store_api/models/create_import_request.rb +75 -0
- data/lib/new_store_api/models/create_job_request.rb +167 -0
- data/lib/new_store_api/models/create_oidc_identity_provider_config.rb +104 -0
- data/lib/new_store_api/models/create_package_tracking_custom_adapter.rb +125 -0
- data/lib/new_store_api/models/create_package_tracking_easypost_adapter.rb +75 -0
- data/lib/new_store_api/models/create_package_type_request.rb +79 -0
- data/lib/new_store_api/models/create_payment_link_request.rb +105 -0
- data/lib/new_store_api/models/create_profile_request.rb +141 -0
- data/lib/new_store_api/models/create_reservation_request_v1.rb +132 -0
- data/lib/new_store_api/models/create_saml_identity_provider_config.rb +74 -0
- data/lib/new_store_api/models/create_session_token_request.rb +64 -0
- data/lib/new_store_api/models/create_tag_request.rb +94 -0
- data/lib/new_store_api/models/currency1_enum.rb +756 -0
- data/lib/new_store_api/models/currency2_enum.rb +744 -0
- data/lib/new_store_api/models/currency3_enum.rb +676 -0
- data/lib/new_store_api/models/currency_enum.rb +752 -0
- data/lib/new_store_api/models/current.rb +72 -0
- data/lib/new_store_api/models/custom_api_version_enum.rb +36 -0
- data/lib/new_store_api/models/custom_config_additional_create_dto.rb +65 -0
- data/lib/new_store_api/models/custom_config_additional_dto.rb +75 -0
- data/lib/new_store_api/models/custom_config_additional_update_dto.rb +65 -0
- data/lib/new_store_api/models/custom_config_authentication_dto.rb +103 -0
- data/lib/new_store_api/models/custom_config_authentication_method_enum.rb +26 -0
- data/lib/new_store_api/models/custom_config_create_dto.rb +121 -0
- data/lib/new_store_api/models/custom_config_dto.rb +137 -0
- data/lib/new_store_api/models/custom_config_update_dto.rb +122 -0
- data/lib/new_store_api/models/custom_v0_avalara_config_create_dto.rb +91 -0
- data/lib/new_store_api/models/custom_v0_avalara_config_dto.rb +121 -0
- data/lib/new_store_api/models/custom_v0_avalara_config_update_dto.rb +96 -0
- data/lib/new_store_api/models/customer.rb +72 -0
- data/lib/new_store_api/models/customer1.rb +92 -0
- data/lib/new_store_api/models/customization_adapter_config.rb +76 -0
- data/lib/new_store_api/models/customization_adapter_config_value.rb +74 -0
- data/lib/new_store_api/models/data.rb +70 -0
- data/lib/new_store_api/models/delivery_destination.rb +85 -0
- data/lib/new_store_api/models/destination_region.rb +74 -0
- data/lib/new_store_api/models/destination_region1.rb +84 -0
- data/lib/new_store_api/models/dimension_unit_enum.rb +48 -0
- data/lib/new_store_api/models/discount.rb +136 -0
- data/lib/new_store_api/models/download_response.rb +61 -0
- data/lib/new_store_api/models/easypost_adapter_config.rb +159 -0
- data/lib/new_store_api/models/enriched_quotation_item_dto.rb +264 -0
- data/lib/new_store_api/models/enriched_quotation_tax_rate_dto.rb +123 -0
- data/lib/new_store_api/models/enriched_transaction_address_dto.rb +134 -0
- data/lib/new_store_api/models/enriched_transaction_dto.rb +188 -0
- data/lib/new_store_api/models/enriched_transaction_item_dto.rb +261 -0
- data/lib/new_store_api/models/environment_enum.rb +36 -0
- data/lib/new_store_api/models/epc_body.rb +78 -0
- data/lib/new_store_api/models/epson_printer_model_enum.rb +36 -0
- data/lib/new_store_api/models/error.rb +79 -0
- data/lib/new_store_api/models/event_captured_dto.rb +60 -0
- data/lib/new_store_api/models/event_name1_enum.rb +36 -0
- data/lib/new_store_api/models/event_name_enum.rb +37 -0
- data/lib/new_store_api/models/excluded_product.rb +71 -0
- data/lib/new_store_api/models/exemption_class_enum.rb +87 -0
- data/lib/new_store_api/models/exemption_class_item_create_dto.rb +115 -0
- data/lib/new_store_api/models/exemption_class_item_dto.rb +115 -0
- data/lib/new_store_api/models/exemption_class_item_extended_dto.rb +104 -0
- data/lib/new_store_api/models/exemption_class_item_update_dto.rb +93 -0
- data/lib/new_store_api/models/exemption_class_mapping_it_v1_dto.rb +97 -0
- data/lib/new_store_api/models/exemption_code_it_enum.rb +52 -0
- data/lib/new_store_api/models/experiment.rb +79 -0
- data/lib/new_store_api/models/ext_attr_resource.rb +90 -0
- data/lib/new_store_api/models/extend_order_s_grace_period_timer.rb +72 -0
- data/lib/new_store_api/models/extended_attribute.rb +69 -0
- data/lib/new_store_api/models/extended_attribute_model.rb +68 -0
- data/lib/new_store_api/models/external_atp_settings.rb +83 -0
- data/lib/new_store_api/models/external_fulfillment_settings_request.rb +63 -0
- data/lib/new_store_api/models/external_fulfillment_settings_response.rb +74 -0
- data/lib/new_store_api/models/external_identifiers.rb +75 -0
- data/lib/new_store_api/models/external_identifiers1.rb +83 -0
- data/lib/new_store_api/models/external_token_response.rb +63 -0
- data/lib/new_store_api/models/f11n_tax_method_enum.rb +36 -0
- data/lib/new_store_api/models/f11n_transaction_type_enum.rb +92 -0
- data/lib/new_store_api/models/f11n_warning_code_enum.rb +44 -0
- data/lib/new_store_api/models/failed.rb +68 -0
- data/lib/new_store_api/models/fallback_error_dto.rb +79 -0
- data/lib/new_store_api/models/feature_enum.rb +36 -0
- data/lib/new_store_api/models/fiscal_countries_dto.rb +60 -0
- data/lib/new_store_api/models/fiscal_environment_enum.rb +36 -0
- data/lib/new_store_api/models/fiscal_mode_enum.rb +36 -0
- data/lib/new_store_api/models/fiscal_printer_error_state_enum.rb +212 -0
- data/lib/new_store_api/models/fiscal_provider_id_enum.rb +88 -0
- data/lib/new_store_api/models/fiscal_receipt_result_v1_dto.rb +98 -0
- data/lib/new_store_api/models/fixed_discount.rb +173 -0
- data/lib/new_store_api/models/fixed_rate_config_create_dto.rb +105 -0
- data/lib/new_store_api/models/fixed_rate_config_dto.rb +105 -0
- data/lib/new_store_api/models/fixed_rate_config_update_dto.rb +92 -0
- data/lib/new_store_api/models/format_enum.rb +36 -0
- data/lib/new_store_api/models/ft_at_signature_format_enum.rb +84 -0
- data/lib/new_store_api/models/ft_at_signature_type_enum.rb +44 -0
- data/lib/new_store_api/models/ft_at_state_enum.rb +64 -0
- data/lib/new_store_api/models/ft_de_signature_format_enum.rb +84 -0
- data/lib/new_store_api/models/ft_de_signature_type_enum.rb +136 -0
- data/lib/new_store_api/models/ft_de_state_enum.rb +52 -0
- data/lib/new_store_api/models/ft_fr_signature_format_enum.rb +84 -0
- data/lib/new_store_api/models/ft_fr_signature_type_enum.rb +60 -0
- data/lib/new_store_api/models/ft_fr_state_enum.rb +64 -0
- data/lib/new_store_api/models/fulfillment1.rb +75 -0
- data/lib/new_store_api/models/fulfillment_assignment.rb +109 -0
- data/lib/new_store_api/models/fulfillment_config_destination_region.rb +70 -0
- data/lib/new_store_api/models/fulfillment_config_get_routing_rules_section_sample_response.rb +87 -0
- data/lib/new_store_api/models/fulfillment_config_get_routing_rules_section_sample_response1.rb +76 -0
- data/lib/new_store_api/models/fulfillment_config_get_routing_rules_section_sample_response2.rb +75 -0
- data/lib/new_store_api/models/fulfillment_config_get_routing_rules_section_sample_response3.rb +76 -0
- data/lib/new_store_api/models/fulfillment_config_route.rb +73 -0
- data/lib/new_store_api/models/fulfillment_config_routing_rules.rb +116 -0
- data/lib/new_store_api/models/fulfillment_config_v2_body.rb +61 -0
- data/lib/new_store_api/models/fulfillment_enum.rb +36 -0
- data/lib/new_store_api/models/fulfillment_node_assignment.rb +103 -0
- data/lib/new_store_api/models/fulfillment_node_customs_info.rb +80 -0
- data/lib/new_store_api/models/fulfillment_node_customs_info_value.rb +75 -0
- data/lib/new_store_api/models/fulfillment_option.rb +83 -0
- data/lib/new_store_api/models/fulfillment_request.rb +133 -0
- data/lib/new_store_api/models/fulfillment_request1.rb +131 -0
- data/lib/new_store_api/models/fulfillment_request_items_states_request.rb +131 -0
- data/lib/new_store_api/models/fulfillment_request_line_item.rb +139 -0
- data/lib/new_store_api/models/fulfillment_task_document.rb +81 -0
- data/lib/new_store_api/models/fulfillment_task_item_external_identier.rb +68 -0
- data/lib/new_store_api/models/fulfillment_task_item_model.rb +179 -0
- data/lib/new_store_api/models/fulfillment_task_model.rb +287 -0
- data/lib/new_store_api/models/future_allocation.rb +85 -0
- data/lib/new_store_api/models/generate_static_option_for_dc.rb +74 -0
- data/lib/new_store_api/models/get_client_response.rb +90 -0
- data/lib/new_store_api/models/get_clients_response.rb +71 -0
- data/lib/new_store_api/models/get_config_response.rb +78 -0
- data/lib/new_store_api/models/get_notifications_response.rb +62 -0
- data/lib/new_store_api/models/get_permissions_response.rb +71 -0
- data/lib/new_store_api/models/get_response.rb +77 -0
- data/lib/new_store_api/models/get_return_receipt_request.rb +81 -0
- data/lib/new_store_api/models/get_roles_response.rb +71 -0
- data/lib/new_store_api/models/get_scopes_response.rb +80 -0
- data/lib/new_store_api/models/get_shortings_model.rb +77 -0
- data/lib/new_store_api/models/get_task_model.rb +69 -0
- data/lib/new_store_api/models/get_transfer_transaction_response.rb +140 -0
- data/lib/new_store_api/models/get_userinfo_response.rb +121 -0
- data/lib/new_store_api/models/get_users_by_role_response.rb +71 -0
- data/lib/new_store_api/models/get_users_response.rb +82 -0
- data/lib/new_store_api/models/gift_wrapping.rb +128 -0
- data/lib/new_store_api/models/gift_wrapping1.rb +116 -0
- data/lib/new_store_api/models/historical_order_shipment.rb +133 -0
- data/lib/new_store_api/models/historical_shipping_option.rb +226 -0
- data/lib/new_store_api/models/http_response_body.rb +71 -0
- data/lib/new_store_api/models/identity_provider_config.rb +102 -0
- data/lib/new_store_api/models/identity_provider_protocol_enum.rb +36 -0
- data/lib/new_store_api/models/identity_provider_response.rb +101 -0
- data/lib/new_store_api/models/identity_provider_vendor_enum.rb +40 -0
- data/lib/new_store_api/models/identity_providers_response.rb +71 -0
- data/lib/new_store_api/models/import_entity_enum.rb +26 -0
- data/lib/new_store_api/models/import_response.rb +130 -0
- data/lib/new_store_api/models/import_schema_created.rb +76 -0
- data/lib/new_store_api/models/import_schema_get.rb +83 -0
- data/lib/new_store_api/models/import_tag_response.rb +143 -0
- data/lib/new_store_api/models/initial_reservation_status_enum.rb +37 -0
- data/lib/new_store_api/models/injected_order_address.rb +193 -0
- data/lib/new_store_api/models/injected_order_discount_info.rb +141 -0
- data/lib/new_store_api/models/injected_order_discount_info1.rb +141 -0
- data/lib/new_store_api/models/injected_order_extended_attribute.rb +91 -0
- data/lib/new_store_api/models/injected_order_item_ids.rb +79 -0
- data/lib/new_store_api/models/injected_order_item_tax_line.rb +115 -0
- data/lib/new_store_api/models/injected_order_payment.rb +187 -0
- data/lib/new_store_api/models/injected_order_request.rb +402 -0
- data/lib/new_store_api/models/injected_order_response.rb +86 -0
- data/lib/new_store_api/models/injected_order_routing_strategy.rb +75 -0
- data/lib/new_store_api/models/injected_order_routing_strategy1.rb +94 -0
- data/lib/new_store_api/models/injected_order_routing_strategy2.rb +93 -0
- data/lib/new_store_api/models/injected_order_shipment.rb +105 -0
- data/lib/new_store_api/models/injected_order_shipment_item.rb +169 -0
- data/lib/new_store_api/models/injected_order_shipment_item_price.rb +169 -0
- data/lib/new_store_api/models/injected_order_shipping_option.rb +139 -0
- data/lib/new_store_api/models/injected_order_shipping_option1.rb +136 -0
- data/lib/new_store_api/models/insights_activities_schema_response.rb +71 -0
- data/lib/new_store_api/models/insights_config_response.rb +71 -0
- data/lib/new_store_api/models/integration_config.rb +77 -0
- data/lib/new_store_api/models/item1.rb +150 -0
- data/lib/new_store_api/models/item11.rb +71 -0
- data/lib/new_store_api/models/item12.rb +238 -0
- data/lib/new_store_api/models/item21.rb +91 -0
- data/lib/new_store_api/models/item211.rb +104 -0
- data/lib/new_store_api/models/item22.rb +105 -0
- data/lib/new_store_api/models/item3.rb +88 -0
- data/lib/new_store_api/models/item31.rb +74 -0
- data/lib/new_store_api/models/item4.rb +115 -0
- data/lib/new_store_api/models/item41.rb +104 -0
- data/lib/new_store_api/models/item5.rb +79 -0
- data/lib/new_store_api/models/item6.rb +79 -0
- data/lib/new_store_api/models/item7.rb +115 -0
- data/lib/new_store_api/models/item8.rb +106 -0
- data/lib/new_store_api/models/item9.rb +161 -0
- data/lib/new_store_api/models/item_discount.rb +97 -0
- data/lib/new_store_api/models/item_links.rb +100 -0
- data/lib/new_store_api/models/item_price.rb +68 -0
- data/lib/new_store_api/models/item_resource.rb +176 -0
- data/lib/new_store_api/models/item_type_enum.rb +44 -0
- data/lib/new_store_api/models/job_download_response.rb +97 -0
- data/lib/new_store_api/models/job_id_response.rb +97 -0
- data/lib/new_store_api/models/job_list_response.rb +77 -0
- data/lib/new_store_api/models/job_response.rb +175 -0
- data/lib/new_store_api/models/level_enum.rb +37 -0
- data/lib/new_store_api/models/limit_exceeded_when.rb +72 -0
- data/lib/new_store_api/models/line_item.rb +73 -0
- data/lib/new_store_api/models/line_item11.rb +91 -0
- data/lib/new_store_api/models/line_item2.rb +141 -0
- data/lib/new_store_api/models/line_item21.rb +122 -0
- data/lib/new_store_api/models/line_item3.rb +71 -0
- data/lib/new_store_api/models/line_item_price.rb +180 -0
- data/lib/new_store_api/models/link.rb +70 -0
- data/lib/new_store_api/models/list_addresses_response.rb +79 -0
- data/lib/new_store_api/models/list_count_task_line_items_response.rb +77 -0
- data/lib/new_store_api/models/list_import_tags.rb +80 -0
- data/lib/new_store_api/models/list_imports_response.rb +69 -0
- data/lib/new_store_api/models/list_product_zones_response.rb +69 -0
- data/lib/new_store_api/models/list_profiles_response.rb +79 -0
- data/lib/new_store_api/models/list_reservations_response_v1.rb +78 -0
- data/lib/new_store_api/models/list_reservations_response_v2.rb +78 -0
- data/lib/new_store_api/models/list_response.rb +69 -0
- data/lib/new_store_api/models/list_tag_profiles_response.rb +72 -0
- data/lib/new_store_api/models/list_tags_response.rb +80 -0
- data/lib/new_store_api/models/list_zones_response.rb +77 -0
- data/lib/new_store_api/models/localization.rb +68 -0
- data/lib/new_store_api/models/localized_reason_code.rb +77 -0
- data/lib/new_store_api/models/location_mapping.rb +80 -0
- data/lib/new_store_api/models/location_mapping_body.rb +93 -0
- data/lib/new_store_api/models/location_mappings_response.rb +63 -0
- data/lib/new_store_api/models/meta.rb +64 -0
- data/lib/new_store_api/models/meta_data.rb +62 -0
- data/lib/new_store_api/models/move_or_copy.rb +102 -0
- data/lib/new_store_api/models/not_routed_item_response.rb +68 -0
- data/lib/new_store_api/models/notification.rb +89 -0
- data/lib/new_store_api/models/notification_request.rb +84 -0
- data/lib/new_store_api/models/notification_response.rb +63 -0
- data/lib/new_store_api/models/o_auth_provider_error_enum.rb +62 -0
- data/lib/new_store_api/models/o_auth_scope_enum.rb +288 -0
- data/lib/new_store_api/models/o_auth_token.rb +96 -0
- data/lib/new_store_api/models/offline_countries_config_metadata_v1_dto.rb +162 -0
- data/lib/new_store_api/models/offline_countries_config_update_v1_dto.rb +157 -0
- data/lib/new_store_api/models/offline_countries_config_v1_dto.rb +162 -0
- data/lib/new_store_api/models/offline_countries_response_v1_dto.rb +61 -0
- data/lib/new_store_api/models/offline_countries_update_request_v1_dto.rb +61 -0
- data/lib/new_store_api/models/offline_country_config_metadata_v1_dto.rb +93 -0
- data/lib/new_store_api/models/offline_country_config_v1_dto.rb +68 -0
- data/lib/new_store_api/models/op1_enum.rb +36 -0
- data/lib/new_store_api/models/op_enum.rb +40 -0
- data/lib/new_store_api/models/operation1_enum.rb +36 -0
- data/lib/new_store_api/models/operation_enum.rb +36 -0
- data/lib/new_store_api/models/operation_error.rb +68 -0
- data/lib/new_store_api/models/operation_response.rb +125 -0
- data/lib/new_store_api/models/operation_status_enum.rb +48 -0
- data/lib/new_store_api/models/operation_tags_request.rb +60 -0
- data/lib/new_store_api/models/operator_enum.rb +60 -0
- data/lib/new_store_api/models/opt_in_state_enum.rb +40 -0
- data/lib/new_store_api/models/opted_in.rb +77 -0
- data/lib/new_store_api/models/option_product_customs.rb +107 -0
- data/lib/new_store_api/models/order_by1_enum.rb +44 -0
- data/lib/new_store_api/models/order_by_enum.rb +36 -0
- data/lib/new_store_api/models/order_completed_dto.rb +117 -0
- data/lib/new_store_api/models/order_conflict_resolution_request.rb +96 -0
- data/lib/new_store_api/models/order_conflict_resolution_response.rb +125 -0
- data/lib/new_store_api/models/order_fulfillment_requests_response.rb +70 -0
- data/lib/new_store_api/models/order_injection_configuration_big_sales_order.rb +66 -0
- data/lib/new_store_api/models/order_injection_configuration_response.rb +101 -0
- data/lib/new_store_api/models/order_injection_tenant_configuration.rb +83 -0
- data/lib/new_store_api/models/order_management_state_enum.rb +36 -0
- data/lib/new_store_api/models/order_request.rb +208 -0
- data/lib/new_store_api/models/order_response.rb +101 -0
- data/lib/new_store_api/models/origin.rb +72 -0
- data/lib/new_store_api/models/original.rb +72 -0
- data/lib/new_store_api/models/package_dimensions.rb +85 -0
- data/lib/new_store_api/models/package_option.rb +72 -0
- data/lib/new_store_api/models/package_option_dimensions.rb +85 -0
- data/lib/new_store_api/models/package_option_weight.rb +68 -0
- data/lib/new_store_api/models/package_tracking.rb +104 -0
- data/lib/new_store_api/models/package_type_response.rb +87 -0
- data/lib/new_store_api/models/package_types_response.rb +69 -0
- data/lib/new_store_api/models/package_weight.rb +68 -0
- data/lib/new_store_api/models/packing_time_duration.rb +74 -0
- data/lib/new_store_api/models/paginated_response.rb +77 -0
- data/lib/new_store_api/models/pagination_info.rb +77 -0
- data/lib/new_store_api/models/patch_import_request.rb +63 -0
- data/lib/new_store_api/models/payment.rb +77 -0
- data/lib/new_store_api/models/payment1.rb +87 -0
- data/lib/new_store_api/models/payment_link_get_response.rb +90 -0
- data/lib/new_store_api/models/payment_link_request.rb +101 -0
- data/lib/new_store_api/models/payment_link_response.rb +81 -0
- data/lib/new_store_api/models/payment_status_enum.rb +36 -0
- data/lib/new_store_api/models/percentage_discount.rb +169 -0
- data/lib/new_store_api/models/period_type_enum.rb +48 -0
- data/lib/new_store_api/models/permalink_response.rb +72 -0
- data/lib/new_store_api/models/permission.rb +88 -0
- data/lib/new_store_api/models/platform_event_dto.rb +125 -0
- data/lib/new_store_api/models/platform_status_enum.rb +44 -0
- data/lib/new_store_api/models/platform_status_response.rb +62 -0
- data/lib/new_store_api/models/posnet_online_command_log_v1_dto.rb +135 -0
- data/lib/new_store_api/models/posnet_online_counters_v1_dto.rb +166 -0
- data/lib/new_store_api/models/posnet_online_printer_model_enum.rb +44 -0
- data/lib/new_store_api/models/post_charge_request.rb +71 -0
- data/lib/new_store_api/models/post_charge_response.rb +62 -0
- data/lib/new_store_api/models/post_client_request.rb +90 -0
- data/lib/new_store_api/models/post_client_response.rb +86 -0
- data/lib/new_store_api/models/post_roles_request.rb +77 -0
- data/lib/new_store_api/models/post_support_users_request.rb +90 -0
- data/lib/new_store_api/models/post_users_request.rb +123 -0
- data/lib/new_store_api/models/presigned_url_request.rb +60 -0
- data/lib/new_store_api/models/presigned_url_response.rb +60 -0
- data/lib/new_store_api/models/price1.rb +87 -0
- data/lib/new_store_api/models/price_override.rb +88 -0
- data/lib/new_store_api/models/pricing.rb +83 -0
- data/lib/new_store_api/models/pricing_method_enum.rb +36 -0
- data/lib/new_store_api/models/problem.rb +161 -0
- data/lib/new_store_api/models/processor_metadata.rb +75 -0
- data/lib/new_store_api/models/product.rb +215 -0
- data/lib/new_store_api/models/product1.rb +274 -0
- data/lib/new_store_api/models/product_attributes.rb +116 -0
- data/lib/new_store_api/models/profile.rb +107 -0
- data/lib/new_store_api/models/profile_deleted.rb +79 -0
- data/lib/new_store_api/models/profile_deletion_request.rb +60 -0
- data/lib/new_store_api/models/profile_response.rb +176 -0
- data/lib/new_store_api/models/profiles.rb +77 -0
- data/lib/new_store_api/models/provider.rb +71 -0
- data/lib/new_store_api/models/provider1_enum.rb +36 -0
- data/lib/new_store_api/models/provider_rate_schema.rb +135 -0
- data/lib/new_store_api/models/provider_rate_shipping_type_enum.rb +40 -0
- data/lib/new_store_api/models/put_roles_by_id_request.rb +77 -0
- data/lib/new_store_api/models/put_routing_ruleset_response.rb +75 -0
- data/lib/new_store_api/models/put_routing_ruleset_response1.rb +75 -0
- data/lib/new_store_api/models/put_users_by_id_request.rb +105 -0
- data/lib/new_store_api/models/quotation_dto.rb +160 -0
- data/lib/new_store_api/models/quotation_item_dto.rb +264 -0
- data/lib/new_store_api/models/quotation_result_dto.rb +152 -0
- data/lib/new_store_api/models/quotation_tax_rate_dto.rb +117 -0
- data/lib/new_store_api/models/quotation_totals_dto.rb +154 -0
- data/lib/new_store_api/models/reason_code_init.rb +68 -0
- data/lib/new_store_api/models/reason_code_patch.rb +60 -0
- data/lib/new_store_api/models/reason_enum.rb +41 -0
- data/lib/new_store_api/models/reason_type_enum.rb +37 -0
- data/lib/new_store_api/models/recipients.rb +82 -0
- data/lib/new_store_api/models/registration_request.rb +98 -0
- data/lib/new_store_api/models/registration_response.rb +100 -0
- data/lib/new_store_api/models/rejected_rerouting_settings.rb +83 -0
- data/lib/new_store_api/models/remove.rb +88 -0
- data/lib/new_store_api/models/remove_item_response_body.rb +71 -0
- data/lib/new_store_api/models/replace_provider_rate_schema.rb +127 -0
- data/lib/new_store_api/models/request.rb +116 -0
- data/lib/new_store_api/models/request_context.rb +111 -0
- data/lib/new_store_api/models/request_create_bookings.rb +137 -0
- data/lib/new_store_api/models/request_create_manifest.rb +60 -0
- data/lib/new_store_api/models/request_package.rb +106 -0
- data/lib/new_store_api/models/request_package_customs.rb +73 -0
- data/lib/new_store_api/models/request_recipient_address.rb +167 -0
- data/lib/new_store_api/models/request_service_level_rates.rb +107 -0
- data/lib/new_store_api/models/request_shipping_option.rb +142 -0
- data/lib/new_store_api/models/rerouted.rb +75 -0
- data/lib/new_store_api/models/reservation.rb +100 -0
- data/lib/new_store_api/models/reservation_config_response.rb +84 -0
- data/lib/new_store_api/models/reservation_config_update.rb +92 -0
- data/lib/new_store_api/models/reservation_details_response_v1.rb +173 -0
- data/lib/new_store_api/models/reservation_details_response_v2.rb +185 -0
- data/lib/new_store_api/models/reservation_item_details_response.rb +106 -0
- data/lib/new_store_api/models/reservation_item_request.rb +60 -0
- data/lib/new_store_api/models/reservation_item_status_enum.rb +48 -0
- data/lib/new_store_api/models/reservation_item_summary_response.rb +68 -0
- data/lib/new_store_api/models/reservation_item_update.rb +81 -0
- data/lib/new_store_api/models/reservation_status_enum.rb +48 -0
- data/lib/new_store_api/models/reservation_summary_response_v1.rb +168 -0
- data/lib/new_store_api/models/reservation_summary_response_v2.rb +178 -0
- data/lib/new_store_api/models/reservation_update.rb +60 -0
- data/lib/new_store_api/models/reservations_pagination_info.rb +96 -0
- data/lib/new_store_api/models/response_booked_package.rb +194 -0
- data/lib/new_store_api/models/response_booked_package_transaction.rb +81 -0
- data/lib/new_store_api/models/response_create_bookings.rb +87 -0
- data/lib/new_store_api/models/response_create_manifest.rb +78 -0
- data/lib/new_store_api/models/response_createconfigurationbyname.rb +62 -0
- data/lib/new_store_api/models/response_createjob.rb +110 -0
- data/lib/new_store_api/models/response_delivery_window.rb +81 -0
- data/lib/new_store_api/models/response_service_level_rates.rb +69 -0
- data/lib/new_store_api/models/response_shipping_option.rb +155 -0
- data/lib/new_store_api/models/response_show_bookings.rb +77 -0
- data/lib/new_store_api/models/response_showconfigurationbyname.rb +62 -0
- data/lib/new_store_api/models/response_unit_item.rb +84 -0
- data/lib/new_store_api/models/retrieve_bulk_email_lookup_request.rb +60 -0
- data/lib/new_store_api/models/retrieve_bulk_email_lookup_response.rb +70 -0
- data/lib/new_store_api/models/return_processed_dto.rb +303 -0
- data/lib/new_store_api/models/return_receipt_response.rb +150 -0
- data/lib/new_store_api/models/reverse_calculation_quotation_item_dto.rb +336 -0
- data/lib/new_store_api/models/reverse_calculation_transaction_item_dto.rb +327 -0
- data/lib/new_store_api/models/role.rb +135 -0
- data/lib/new_store_api/models/role_item.rb +98 -0
- data/lib/new_store_api/models/route_to.rb +76 -0
- data/lib/new_store_api/models/routes.rb +85 -0
- data/lib/new_store_api/models/routes_v1.rb +75 -0
- data/lib/new_store_api/models/routing_decision_trace.rb +128 -0
- data/lib/new_store_api/models/routing_decision_trace_picked.rb +68 -0
- data/lib/new_store_api/models/routing_insights.rb +60 -0
- data/lib/new_store_api/models/routing_insights_activity.rb +141 -0
- data/lib/new_store_api/models/routing_insights_correlation.rb +163 -0
- data/lib/new_store_api/models/routing_insights_data.rb +128 -0
- data/lib/new_store_api/models/routing_insights_fulfillment_requests.rb +109 -0
- data/lib/new_store_api/models/routing_insights_routing_strategies.rb +85 -0
- data/lib/new_store_api/models/routing_insights_routing_strategy1.rb +86 -0
- data/lib/new_store_api/models/routing_insights_service_levels.rb +83 -0
- data/lib/new_store_api/models/routing_insights_strategy_type_enum.rb +44 -0
- data/lib/new_store_api/models/routing_options_request.rb +123 -0
- data/lib/new_store_api/models/routing_options_response.rb +92 -0
- data/lib/new_store_api/models/routing_ruleset.rb +95 -0
- data/lib/new_store_api/models/routing_ruleset1.rb +122 -0
- data/lib/new_store_api/models/routing_simulation_line_item.rb +80 -0
- data/lib/new_store_api/models/routing_simulation_request_payload.rb +98 -0
- data/lib/new_store_api/models/routing_simulation_response_payload.rb +111 -0
- data/lib/new_store_api/models/routing_status_enum.rb +72 -0
- data/lib/new_store_api/models/routing_strategy.rb +74 -0
- data/lib/new_store_api/models/routing_strategy1.rb +109 -0
- data/lib/new_store_api/models/rules.rb +81 -0
- data/lib/new_store_api/models/sales_order.rb +163 -0
- data/lib/new_store_api/models/sales_order_address.rb +207 -0
- data/lib/new_store_api/models/sales_order_cancellation_request.rb +70 -0
- data/lib/new_store_api/models/sales_order_cancellation_response.rb +77 -0
- data/lib/new_store_api/models/sales_order_channel_type_enum.rb +36 -0
- data/lib/new_store_api/models/sales_order_customer.rb +91 -0
- data/lib/new_store_api/models/sales_order_detail.rb +247 -0
- data/lib/new_store_api/models/sales_order_detail_response.rb +390 -0
- data/lib/new_store_api/models/sales_order_discount.rb +123 -0
- data/lib/new_store_api/models/sales_order_extended_attribute.rb +68 -0
- data/lib/new_store_api/models/sales_order_external_identifier.rb +71 -0
- data/lib/new_store_api/models/sales_order_fulfillment.rb +71 -0
- data/lib/new_store_api/models/sales_order_fulfillment_type_enum.rb +49 -0
- data/lib/new_store_api/models/sales_order_gift_wrapping.rb +90 -0
- data/lib/new_store_api/models/sales_order_item.rb +111 -0
- data/lib/new_store_api/models/sales_order_item_payment_history.rb +103 -0
- data/lib/new_store_api/models/sales_order_item_shipment.rb +107 -0
- data/lib/new_store_api/models/sales_order_item_status_enum.rb +54 -0
- data/lib/new_store_api/models/sales_order_item_v2.rb +134 -0
- data/lib/new_store_api/models/sales_order_items1.rb +127 -0
- data/lib/new_store_api/models/sales_order_list_response.rb +69 -0
- data/lib/new_store_api/models/sales_order_list_response_v2.rb +79 -0
- data/lib/new_store_api/models/sales_order_origin_enum.rb +36 -0
- data/lib/new_store_api/models/sales_order_payment_method_enum.rb +40 -0
- data/lib/new_store_api/models/sales_order_price1.rb +129 -0
- data/lib/new_store_api/models/sales_order_prices_request.rb +76 -0
- data/lib/new_store_api/models/sales_order_prices_response.rb +92 -0
- data/lib/new_store_api/models/sales_order_product_attributes.rb +114 -0
- data/lib/new_store_api/models/sales_order_serial_numbers_request.rb +69 -0
- data/lib/new_store_api/models/sales_order_serial_numbers_request_item.rb +80 -0
- data/lib/new_store_api/models/sales_order_serial_numbers_request_item_epc.rb +78 -0
- data/lib/new_store_api/models/sales_order_status_enum.rb +48 -0
- data/lib/new_store_api/models/sales_order_tax_line.rb +90 -0
- data/lib/new_store_api/models/sales_order_tax_method_enum.rb +36 -0
- data/lib/new_store_api/models/sales_order_totals.rb +121 -0
- data/lib/new_store_api/models/sales_order_v2.rb +247 -0
- data/lib/new_store_api/models/schema.rb +71 -0
- data/lib/new_store_api/models/schema_for_bulk_cancel_orders_request.rb +79 -0
- data/lib/new_store_api/models/schema_for_bulk_cancel_orders_response.rb +77 -0
- data/lib/new_store_api/models/section_enum.rb +44 -0
- data/lib/new_store_api/models/service_level_rate.rb +131 -0
- data/lib/new_store_api/models/service_levels.rb +73 -0
- data/lib/new_store_api/models/session_token_response.rb +96 -0
- data/lib/new_store_api/models/set_fix_service_level_shipping_price.rb +74 -0
- data/lib/new_store_api/models/settings_response.rb +69 -0
- data/lib/new_store_api/models/shipment_limits_request.rb +88 -0
- data/lib/new_store_api/models/shipment_limits_response.rb +69 -0
- data/lib/new_store_api/models/shipping_address.rb +111 -0
- data/lib/new_store_api/models/shipping_offer_update_settings.rb +82 -0
- data/lib/new_store_api/models/shipping_option_audit.rb +102 -0
- data/lib/new_store_api/models/shipping_type_enum.rb +44 -0
- data/lib/new_store_api/models/shop.rb +68 -0
- data/lib/new_store_api/models/shorting_model.rb +139 -0
- data/lib/new_store_api/models/shorting_type_enum.rb +36 -0
- data/lib/new_store_api/models/show_provider_rates_schema.rb +69 -0
- data/lib/new_store_api/models/signature_at_v1_dto.rb +257 -0
- data/lib/new_store_api/models/signature_be_v1_dto.rb +135 -0
- data/lib/new_store_api/models/signature_de_v1_dto.rb +257 -0
- data/lib/new_store_api/models/signature_dummy_v1_dto.rb +90 -0
- data/lib/new_store_api/models/signature_es_v1_dto.rb +105 -0
- data/lib/new_store_api/models/signature_fr_v1_dto.rb +295 -0
- data/lib/new_store_api/models/signature_ie_v1_dto.rb +165 -0
- data/lib/new_store_api/models/signature_in_v1_dto.rb +105 -0
- data/lib/new_store_api/models/signature_it_v1_dto.rb +182 -0
- data/lib/new_store_api/models/signature_item_at_v1_dto.rb +115 -0
- data/lib/new_store_api/models/signature_item_de_v1_dto.rb +115 -0
- data/lib/new_store_api/models/signature_item_fr_v1_dto.rb +115 -0
- data/lib/new_store_api/models/signature_no_v1_dto.rb +126 -0
- data/lib/new_store_api/models/signature_pl_v1_dto.rb +101 -0
- data/lib/new_store_api/models/signature_pr_v1_dto.rb +161 -0
- data/lib/new_store_api/models/signature_pt_v1_dto.rb +129 -0
- data/lib/new_store_api/models/signature_response_v1_dto.rb +208 -0
- data/lib/new_store_api/models/signature_se_v1_dto.rb +122 -0
- data/lib/new_store_api/models/signature_th_v1_dto.rb +105 -0
- data/lib/new_store_api/models/signature_version_ie_enum.rb +26 -0
- data/lib/new_store_api/models/simulation_routed_item.rb +80 -0
- data/lib/new_store_api/models/sort_options_enum.rb +44 -0
- data/lib/new_store_api/models/source_enum.rb +36 -0
- data/lib/new_store_api/models/state_enum.rb +37 -0
- data/lib/new_store_api/models/status11_enum.rb +50 -0
- data/lib/new_store_api/models/status1_enum.rb +52 -0
- data/lib/new_store_api/models/status21_enum.rb +40 -0
- data/lib/new_store_api/models/status2_enum.rb +49 -0
- data/lib/new_store_api/models/status_enum.rb +44 -0
- data/lib/new_store_api/models/stock_product_availability_request.rb +81 -0
- data/lib/new_store_api/models/stock_product_availability_response.rb +77 -0
- data/lib/new_store_api/models/stock_unallocated_items_request.rb +69 -0
- data/lib/new_store_api/models/stock_unallocated_items_response.rb +70 -0
- data/lib/new_store_api/models/store_config_create_dto.rb +173 -0
- data/lib/new_store_api/models/store_config_dto.rb +292 -0
- data/lib/new_store_api/models/store_config_list_dto.rb +89 -0
- data/lib/new_store_api/models/store_config_update_dto.rb +173 -0
- data/lib/new_store_api/models/store_config_update_it_v1_dto.rb +118 -0
- data/lib/new_store_api/models/store_config_update_pl_v1_dto.rb +111 -0
- data/lib/new_store_api/models/store_config_update_v1_dto.rb +95 -0
- data/lib/new_store_api/models/store_config_v1_dto.rb +80 -0
- data/lib/new_store_api/models/store_create_v1_dto.rb +98 -0
- data/lib/new_store_api/models/store_list_v1_dto.rb +83 -0
- data/lib/new_store_api/models/store_update_v1_dto.rb +97 -0
- data/lib/new_store_api/models/store_v1_dto.rb +126 -0
- data/lib/new_store_api/models/strategies.rb +71 -0
- data/lib/new_store_api/models/subscription.rb +72 -0
- data/lib/new_store_api/models/subscription_request.rb +88 -0
- data/lib/new_store_api/models/subscription_response.rb +91 -0
- data/lib/new_store_api/models/subscriptions_response.rb +71 -0
- data/lib/new_store_api/models/support_access_details.rb +99 -0
- data/lib/new_store_api/models/supported_identity_provider.rb +71 -0
- data/lib/new_store_api/models/supported_identity_providers.rb +71 -0
- data/lib/new_store_api/models/swap_to.rb +223 -0
- data/lib/new_store_api/models/swapped.rb +74 -0
- data/lib/new_store_api/models/sync_job_response.rb +136 -0
- data/lib/new_store_api/models/tag_response.rb +130 -0
- data/lib/new_store_api/models/task_package.rb +77 -0
- data/lib/new_store_api/models/task_package_item.rb +103 -0
- data/lib/new_store_api/models/tax_calculation_strategy_enum.rb +48 -0
- data/lib/new_store_api/models/tax_exemption.rb +75 -0
- data/lib/new_store_api/models/tax_exemption_classes_dto.rb +69 -0
- data/lib/new_store_api/models/tax_exemption_country_code_enum.rb +1013 -0
- data/lib/new_store_api/models/tax_information.rb +69 -0
- data/lib/new_store_api/models/tax_line.rb +116 -0
- data/lib/new_store_api/models/tax_rate_dto.rb +121 -0
- data/lib/new_store_api/models/tax_service_error_code_enum.rb +117 -0
- data/lib/new_store_api/models/tax_status_enum.rb +42 -0
- data/lib/new_store_api/models/tax_totals_dto.rb +149 -0
- data/lib/new_store_api/models/tenant_config_create_dto.rb +168 -0
- data/lib/new_store_api/models/tenant_config_dto.rb +230 -0
- data/lib/new_store_api/models/tenant_config_update_dto.rb +171 -0
- data/lib/new_store_api/models/tenant_config_v1_dto.rb +129 -0
- data/lib/new_store_api/models/timezone_enum.rb +2404 -0
- data/lib/new_store_api/models/token_request.rb +62 -0
- data/lib/new_store_api/models/token_response.rb +62 -0
- data/lib/new_store_api/models/tokens_request.rb +60 -0
- data/lib/new_store_api/models/tokens_response.rb +69 -0
- data/lib/new_store_api/models/total_price_currency_enum.rb +753 -0
- data/lib/new_store_api/models/tracking_status_enum.rb +64 -0
- data/lib/new_store_api/models/transaction_address_dto.rb +144 -0
- data/lib/new_store_api/models/transaction_dto.rb +193 -0
- data/lib/new_store_api/models/transaction_item_dto.rb +259 -0
- data/lib/new_store_api/models/transaction_min_v1_dto.rb +170 -0
- data/lib/new_store_api/models/transaction_signature_strategy_enum.rb +56 -0
- data/lib/new_store_api/models/transaction_state_enum.rb +40 -0
- data/lib/new_store_api/models/transaction_tax_rate_dto.rb +117 -0
- data/lib/new_store_api/models/transaction_type_enum.rb +36 -0
- data/lib/new_store_api/models/transaction_update_dto.rb +64 -0
- data/lib/new_store_api/models/transfer_document_response.rb +71 -0
- data/lib/new_store_api/models/transfer_transaction_line_item_response.rb +71 -0
- data/lib/new_store_api/models/type11_enum.rb +36 -0
- data/lib/new_store_api/models/type12_enum.rb +38 -0
- data/lib/new_store_api/models/type1_enum.rb +36 -0
- data/lib/new_store_api/models/type2_enum.rb +37 -0
- data/lib/new_store_api/models/update_address_request.rb +171 -0
- data/lib/new_store_api/models/update_identity_provider_request.rb +86 -0
- data/lib/new_store_api/models/update_oidc_identity_provider_config.rb +74 -0
- data/lib/new_store_api/models/update_package_type_request.rb +86 -0
- data/lib/new_store_api/models/update_profile_request.rb +160 -0
- data/lib/new_store_api/models/update_saml_identity_provider_config.rb +75 -0
- data/lib/new_store_api/models/update_service_level_request.rb +61 -0
- data/lib/new_store_api/models/update_tag_request.rb +72 -0
- data/lib/new_store_api/models/updated_item_status_enum.rb +36 -0
- data/lib/new_store_api/models/updated_reservation_status_enum.rb +36 -0
- data/lib/new_store_api/models/use_customizable_provider_rates.rb +74 -0
- data/lib/new_store_api/models/use_prioritized_provider_rates.rb +74 -0
- data/lib/new_store_api/models/user.rb +209 -0
- data/lib/new_store_api/models/v0_orders_request.rb +62 -0
- data/lib/new_store_api/models/value.rb +123 -0
- data/lib/new_store_api/models/vertex_administrative_origin_create_dto.rb +129 -0
- data/lib/new_store_api/models/vertex_administrative_origin_dto.rb +175 -0
- data/lib/new_store_api/models/vertex_administrative_origin_update_dto.rb +139 -0
- data/lib/new_store_api/models/vertex_auth_login_type_enum.rb +39 -0
- data/lib/new_store_api/models/vertex_config_create_dto.rb +227 -0
- data/lib/new_store_api/models/vertex_config_dto.rb +253 -0
- data/lib/new_store_api/models/vertex_config_update_dto.rb +230 -0
- data/lib/new_store_api/models/vertex_exemption_class_item_create_dto.rb +105 -0
- data/lib/new_store_api/models/vertex_exemption_class_item_dto.rb +131 -0
- data/lib/new_store_api/models/vertex_exemption_class_item_update_dto.rb +105 -0
- data/lib/new_store_api/models/vertex_flexible_field_config_create_dto.rb +95 -0
- data/lib/new_store_api/models/vertex_flexible_field_config_dto.rb +121 -0
- data/lib/new_store_api/models/vertex_flexible_field_config_update_dto.rb +99 -0
- data/lib/new_store_api/models/vertex_target_field_enum.rb +40 -0
- data/lib/new_store_api/models/warning.rb +85 -0
- data/lib/new_store_api/models/weight_unit_enum.rb +44 -0
- data/lib/new_store_api/models/write_accepted.rb +60 -0
- data/lib/new_store_api/models/zone_response.rb +68 -0
- data/lib/new_store_api/utilities/date_time_helper.rb +11 -0
- data/lib/new_store_api/utilities/file_wrapper.rb +28 -0
- data/lib/new_store_api/utilities/union_type_lookup.rb +578 -0
- data/lib/new_store_api.rb +850 -0
- metadata +903 -0
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
# new_store_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated for NewStore by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module NewStoreApi
|
|
7
|
+
# new_store_api client class.
|
|
8
|
+
class Client
|
|
9
|
+
include CoreLibrary
|
|
10
|
+
attr_reader :config, :auth_managers
|
|
11
|
+
|
|
12
|
+
def user_agent_detail
|
|
13
|
+
config.user_agent_detail
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Returns the configured authentication oauth instance.
|
|
17
|
+
def oauth
|
|
18
|
+
@auth_managers['oauth']
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# Access to import_schemas controller.
|
|
22
|
+
# @return [ImportSchemasController] Returns the controller instance.
|
|
23
|
+
def import_schemas
|
|
24
|
+
@import_schemas ||= ImportSchemasController.new @global_configuration
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Access to pricebook_export controller.
|
|
28
|
+
# @return [PricebookExportController] Returns the controller instance.
|
|
29
|
+
def pricebook_export
|
|
30
|
+
@pricebook_export ||= PricebookExportController.new @global_configuration
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Access to product_export controller.
|
|
34
|
+
# @return [ProductExportController] Returns the controller instance.
|
|
35
|
+
def product_export
|
|
36
|
+
@product_export ||= ProductExportController.new @global_configuration
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Access to cart controller.
|
|
40
|
+
# @return [CartController] Returns the controller instance.
|
|
41
|
+
def cart
|
|
42
|
+
@cart ||= CartController.new @global_configuration
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Access to financial_document controller.
|
|
46
|
+
# @return [FinancialDocumentController] Returns the controller instance.
|
|
47
|
+
def financial_document
|
|
48
|
+
@financial_document ||= FinancialDocumentController.new @global_configuration
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Access to notifications controller.
|
|
52
|
+
# @return [NotificationsController] Returns the controller instance.
|
|
53
|
+
def notifications
|
|
54
|
+
@notifications ||= NotificationsController.new @global_configuration
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Access to profiles controller.
|
|
58
|
+
# @return [ProfilesController] Returns the controller instance.
|
|
59
|
+
def profiles
|
|
60
|
+
@profiles ||= ProfilesController.new @global_configuration
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Access to customer_profile controller.
|
|
64
|
+
# @return [CustomerProfileController] Returns the controller instance.
|
|
65
|
+
def customer_profile
|
|
66
|
+
@customer_profile ||= CustomerProfileController.new @global_configuration
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Access to data controller.
|
|
70
|
+
# @return [DataController] Returns the controller instance.
|
|
71
|
+
def data
|
|
72
|
+
@data ||= DataController.new @global_configuration
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Access to token_operations controller.
|
|
76
|
+
# @return [TokenOperationsController] Returns the controller instance.
|
|
77
|
+
def token_operations
|
|
78
|
+
@token_operations ||= TokenOperationsController.new @global_configuration
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Access to address controller.
|
|
82
|
+
# @return [AddressController] Returns the controller instance.
|
|
83
|
+
def address
|
|
84
|
+
@address ||= AddressController.new @global_configuration
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Access to customer_configuration controller.
|
|
88
|
+
# @return [CustomerConfigurationController] Returns the controller instance.
|
|
89
|
+
def customer_configuration
|
|
90
|
+
@customer_configuration ||= CustomerConfigurationController.new @global_configuration
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Access to segmentation controller.
|
|
94
|
+
# @return [SegmentationController] Returns the controller instance.
|
|
95
|
+
def segmentation
|
|
96
|
+
@segmentation ||= SegmentationController.new @global_configuration
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Access to datasets controller.
|
|
100
|
+
# @return [DatasetsController] Returns the controller instance.
|
|
101
|
+
def datasets
|
|
102
|
+
@datasets ||= DatasetsController.new @global_configuration
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Access to jobs controller.
|
|
106
|
+
# @return [JobsController] Returns the controller instance.
|
|
107
|
+
def jobs
|
|
108
|
+
@jobs ||= JobsController.new @global_configuration
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Access to events controller.
|
|
112
|
+
# @return [EventsController] Returns the controller instance.
|
|
113
|
+
def events
|
|
114
|
+
@events ||= EventsController.new @global_configuration
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Access to extensions controller.
|
|
118
|
+
# @return [ExtensionsController] Returns the controller instance.
|
|
119
|
+
def extensions
|
|
120
|
+
@extensions ||= ExtensionsController.new @global_configuration
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Access to installations controller.
|
|
124
|
+
# @return [InstallationsController] Returns the controller instance.
|
|
125
|
+
def installations
|
|
126
|
+
@installations ||= InstallationsController.new @global_configuration
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Access to stores controller.
|
|
130
|
+
# @return [StoresController] Returns the controller instance.
|
|
131
|
+
def stores
|
|
132
|
+
@stores ||= StoresController.new @global_configuration
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Access to cashboxes controller.
|
|
136
|
+
# @return [CashboxesController] Returns the controller instance.
|
|
137
|
+
def cashboxes
|
|
138
|
+
@cashboxes ||= CashboxesController.new @global_configuration
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Access to orders controller.
|
|
142
|
+
# @return [OrdersController] Returns the controller instance.
|
|
143
|
+
def orders
|
|
144
|
+
@orders ||= OrdersController.new @global_configuration
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Access to fiscal_providers controller.
|
|
148
|
+
# @return [FiscalProvidersController] Returns the controller instance.
|
|
149
|
+
def fiscal_providers
|
|
150
|
+
@fiscal_providers ||= FiscalProvidersController.new @global_configuration
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Access to tenant_config controller.
|
|
154
|
+
# @return [TenantConfigController] Returns the controller instance.
|
|
155
|
+
def tenant_config
|
|
156
|
+
@tenant_config ||= TenantConfigController.new @global_configuration
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Access to easypost_adapter_config controller.
|
|
160
|
+
# @return [EasypostAdapterConfigController] Returns the controller instance.
|
|
161
|
+
def easypost_adapter_config
|
|
162
|
+
@easypost_adapter_config ||= EasypostAdapterConfigController.new @global_configuration
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Access to shipment_configurations controller.
|
|
166
|
+
# @return [ShipmentConfigurationsController] Returns the controller instance.
|
|
167
|
+
def shipment_configurations
|
|
168
|
+
@shipment_configurations ||= ShipmentConfigurationsController.new @global_configuration
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Access to provider_rates controller.
|
|
172
|
+
# @return [ProviderRatesController] Returns the controller instance.
|
|
173
|
+
def provider_rates
|
|
174
|
+
@provider_rates ||= ProviderRatesController.new @global_configuration
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Access to shipping_options controller.
|
|
178
|
+
# @return [ShippingOptionsController] Returns the controller instance.
|
|
179
|
+
def shipping_options
|
|
180
|
+
@shipping_options ||= ShippingOptionsController.new @global_configuration
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Access to shipping_option_audits controller.
|
|
184
|
+
# @return [ShippingOptionAuditsController] Returns the controller instance.
|
|
185
|
+
def shipping_option_audits
|
|
186
|
+
@shipping_option_audits ||= ShippingOptionAuditsController.new @global_configuration
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# Access to shipping_labels controller.
|
|
190
|
+
# @return [ShippingLabelsController] Returns the controller instance.
|
|
191
|
+
def shipping_labels
|
|
192
|
+
@shipping_labels ||= ShippingLabelsController.new @global_configuration
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Access to manifests controller.
|
|
196
|
+
# @return [ManifestsController] Returns the controller instance.
|
|
197
|
+
def manifests
|
|
198
|
+
@manifests ||= ManifestsController.new @global_configuration
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# Access to bookings controller.
|
|
202
|
+
# @return [BookingsController] Returns the controller instance.
|
|
203
|
+
def bookings
|
|
204
|
+
@bookings ||= BookingsController.new @global_configuration
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Access to fulfillment_requests controller.
|
|
208
|
+
# @return [FulfillmentRequestsController] Returns the controller instance.
|
|
209
|
+
def fulfillment_requests
|
|
210
|
+
@fulfillment_requests ||= FulfillmentRequestsController.new @global_configuration
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# Access to fulfillment_tasks controller.
|
|
214
|
+
# @return [FulfillmentTasksController] Returns the controller instance.
|
|
215
|
+
def fulfillment_tasks
|
|
216
|
+
@fulfillment_tasks ||= FulfillmentTasksController.new @global_configuration
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# Access to shortings controller.
|
|
220
|
+
# @return [ShortingsController] Returns the controller instance.
|
|
221
|
+
def shortings
|
|
222
|
+
@shortings ||= ShortingsController.new @global_configuration
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# Access to package_types controller.
|
|
226
|
+
# @return [PackageTypesController] Returns the controller instance.
|
|
227
|
+
def package_types
|
|
228
|
+
@package_types ||= PackageTypesController.new @global_configuration
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# Access to clients controller.
|
|
232
|
+
# @return [ClientsController] Returns the controller instance.
|
|
233
|
+
def clients
|
|
234
|
+
@clients ||= ClientsController.new @global_configuration
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# Access to identity_providers controller.
|
|
238
|
+
# @return [IdentityProvidersController] Returns the controller instance.
|
|
239
|
+
def identity_providers
|
|
240
|
+
@identity_providers ||= IdentityProvidersController.new @global_configuration
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# Access to users controller.
|
|
244
|
+
# @return [UsersController] Returns the controller instance.
|
|
245
|
+
def users
|
|
246
|
+
@users ||= UsersController.new @global_configuration
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Access to support_users controller.
|
|
250
|
+
# @return [SupportUsersController] Returns the controller instance.
|
|
251
|
+
def support_users
|
|
252
|
+
@support_users ||= SupportUsersController.new @global_configuration
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# Access to roles controller.
|
|
256
|
+
# @return [RolesController] Returns the controller instance.
|
|
257
|
+
def roles
|
|
258
|
+
@roles ||= RolesController.new @global_configuration
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# Access to sales_goals_management controller.
|
|
262
|
+
# @return [SalesGoalsManagementController] Returns the controller instance.
|
|
263
|
+
def sales_goals_management
|
|
264
|
+
@sales_goals_management ||= SalesGoalsManagementController.new @global_configuration
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
# Access to store_reporting_config controller.
|
|
268
|
+
# @return [StoreReportingConfigController] Returns the controller instance.
|
|
269
|
+
def store_reporting_config
|
|
270
|
+
@store_reporting_config ||= StoreReportingConfigController.new @global_configuration
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# Access to insights controller.
|
|
274
|
+
# @return [InsightsController] Returns the controller instance.
|
|
275
|
+
def insights
|
|
276
|
+
@insights ||= InsightsController.new @global_configuration
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# Access to inventory_configuration controller.
|
|
280
|
+
# @return [InventoryConfigurationController] Returns the controller instance.
|
|
281
|
+
def inventory_configuration
|
|
282
|
+
@inventory_configuration ||= InventoryConfigurationController.new @global_configuration
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# Access to counting controller.
|
|
286
|
+
# @return [CountingController] Returns the controller instance.
|
|
287
|
+
def counting
|
|
288
|
+
@counting ||= CountingController.new @global_configuration
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# Access to transferring controller.
|
|
292
|
+
# @return [TransferringController] Returns the controller instance.
|
|
293
|
+
def transferring
|
|
294
|
+
@transferring ||= TransferringController.new @global_configuration
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Access to reservations controller.
|
|
298
|
+
# @return [ReservationsController] Returns the controller instance.
|
|
299
|
+
def reservations
|
|
300
|
+
@reservations ||= ReservationsController.new @global_configuration
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Access to phavda_notifications controller.
|
|
304
|
+
# @return [PhavdaNotificationsController] Returns the controller instance.
|
|
305
|
+
def phavda_notifications
|
|
306
|
+
@phavda_notifications ||= PhavdaNotificationsController.new @global_configuration
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Access to sales_orders controller.
|
|
310
|
+
# @return [SalesOrdersController] Returns the controller instance.
|
|
311
|
+
def sales_orders
|
|
312
|
+
@sales_orders ||= SalesOrdersController.new @global_configuration
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
# Access to stock controller.
|
|
316
|
+
# @return [StockController] Returns the controller instance.
|
|
317
|
+
def stock
|
|
318
|
+
@stock ||= StockController.new @global_configuration
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
# Access to order_placement controller.
|
|
322
|
+
# @return [OrderPlacementController] Returns the controller instance.
|
|
323
|
+
def order_placement
|
|
324
|
+
@order_placement ||= OrderPlacementController.new @global_configuration
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# Access to adyen_adapter controller.
|
|
328
|
+
# @return [AdyenAdapterController] Returns the controller instance.
|
|
329
|
+
def adyen_adapter
|
|
330
|
+
@adyen_adapter ||= AdyenAdapterController.new @global_configuration
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
# Access to payment_definitions controller.
|
|
334
|
+
# @return [PaymentDefinitionsController] Returns the controller instance.
|
|
335
|
+
def payment_definitions
|
|
336
|
+
@payment_definitions ||= PaymentDefinitionsController.new @global_configuration
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
# Access to stripe_webhook_notifications controller.
|
|
340
|
+
# @return [StripeWebhookNotificationsController] Returns the controller instance.
|
|
341
|
+
def stripe_webhook_notifications
|
|
342
|
+
@stripe_webhook_notifications ||= StripeWebhookNotificationsController.new @global_configuration
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
# Access to providers controller.
|
|
346
|
+
# @return [ProvidersController] Returns the controller instance.
|
|
347
|
+
def providers
|
|
348
|
+
@providers ||= ProvidersController.new @global_configuration
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# Access to payment_links controller.
|
|
352
|
+
# @return [PaymentLinksController] Returns the controller instance.
|
|
353
|
+
def payment_links
|
|
354
|
+
@payment_links ||= PaymentLinksController.new @global_configuration
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
# Access to payment_account controller.
|
|
358
|
+
# @return [PaymentAccountController] Returns the controller instance.
|
|
359
|
+
def payment_account
|
|
360
|
+
@payment_account ||= PaymentAccountController.new @global_configuration
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# Access to discounts controller.
|
|
364
|
+
# @return [DiscountsController] Returns the controller instance.
|
|
365
|
+
def discounts
|
|
366
|
+
@discounts ||= DiscountsController.new @global_configuration
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
# Access to tppe controller.
|
|
370
|
+
# @return [TppeController] Returns the controller instance.
|
|
371
|
+
def tppe
|
|
372
|
+
@tppe ||= TppeController.new @global_configuration
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
# Access to reason_codes controller.
|
|
376
|
+
# @return [ReasonCodesController] Returns the controller instance.
|
|
377
|
+
def reason_codes
|
|
378
|
+
@reason_codes ||= ReasonCodesController.new @global_configuration
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
# Access to address_completion controller.
|
|
382
|
+
# @return [AddressCompletionController] Returns the controller instance.
|
|
383
|
+
def address_completion
|
|
384
|
+
@address_completion ||= AddressCompletionController.new @global_configuration
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
# Access to settings controller.
|
|
388
|
+
# @return [SettingsController] Returns the controller instance.
|
|
389
|
+
def settings
|
|
390
|
+
@settings ||= SettingsController.new @global_configuration
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# Access to device_notifications controller.
|
|
394
|
+
# @return [DeviceNotificationsController] Returns the controller instance.
|
|
395
|
+
def device_notifications
|
|
396
|
+
@device_notifications ||= DeviceNotificationsController.new @global_configuration
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
# Access to device_registrations controller.
|
|
400
|
+
# @return [DeviceRegistrationsController] Returns the controller instance.
|
|
401
|
+
def device_registrations
|
|
402
|
+
@device_registrations ||= DeviceRegistrationsController.new @global_configuration
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# Access to device_subscriptions controller.
|
|
406
|
+
# @return [DeviceSubscriptionsController] Returns the controller instance.
|
|
407
|
+
def device_subscriptions
|
|
408
|
+
@device_subscriptions ||= DeviceSubscriptionsController.new @global_configuration
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
# Access to platform_status controller.
|
|
412
|
+
# @return [PlatformStatusController] Returns the controller instance.
|
|
413
|
+
def platform_status
|
|
414
|
+
@platform_status ||= PlatformStatusController.new @global_configuration
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
# Access to associate_app_experiments_configuration controller.
|
|
418
|
+
# @return [AssociateAppExperimentsConfigurationController] Returns the controller instance.
|
|
419
|
+
def associate_app_experiments_configuration
|
|
420
|
+
@associate_app_experiments_configuration ||= AssociateAppExperimentsConfigurationController.new @global_configuration
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
# Access to simulation controller.
|
|
424
|
+
# @return [SimulationController] Returns the controller instance.
|
|
425
|
+
def simulation
|
|
426
|
+
@simulation ||= SimulationController.new @global_configuration
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
# Access to routing_ruleset controller.
|
|
430
|
+
# @return [RoutingRulesetController] Returns the controller instance.
|
|
431
|
+
def routing_ruleset
|
|
432
|
+
@routing_ruleset ||= RoutingRulesetController.new @global_configuration
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# Access to routing_config controller.
|
|
436
|
+
# @return [RoutingConfigController] Returns the controller instance.
|
|
437
|
+
def routing_config
|
|
438
|
+
@routing_config ||= RoutingConfigController.new @global_configuration
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Access to routing controller.
|
|
442
|
+
# @return [RoutingController] Returns the controller instance.
|
|
443
|
+
def routing
|
|
444
|
+
@routing ||= RoutingController.new @global_configuration
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# Access to order_injection_config controller.
|
|
448
|
+
# @return [OrderInjectionConfigController] Returns the controller instance.
|
|
449
|
+
def order_injection_config
|
|
450
|
+
@order_injection_config ||= OrderInjectionConfigController.new @global_configuration
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Access to order_injection controller.
|
|
454
|
+
# @return [OrderInjectionController] Returns the controller instance.
|
|
455
|
+
def order_injection
|
|
456
|
+
@order_injection ||= OrderInjectionController.new @global_configuration
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# Access to audit_events controller.
|
|
460
|
+
# @return [AuditEventsController] Returns the controller instance.
|
|
461
|
+
def audit_events
|
|
462
|
+
@audit_events ||= AuditEventsController.new @global_configuration
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# Access to platform_event_callbacks controller.
|
|
466
|
+
# @return [PlatformEventCallbacksController] Returns the controller instance.
|
|
467
|
+
def platform_event_callbacks
|
|
468
|
+
@platform_event_callbacks ||= PlatformEventCallbacksController.new @global_configuration
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
# Access to tax_definitions controller.
|
|
472
|
+
# @return [TaxDefinitionsController] Returns the controller instance.
|
|
473
|
+
def tax_definitions
|
|
474
|
+
@tax_definitions ||= TaxDefinitionsController.new @global_configuration
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# Access to store_tax_configuration controller.
|
|
478
|
+
# @return [StoreTaxConfigurationController] Returns the controller instance.
|
|
479
|
+
def store_tax_configuration
|
|
480
|
+
@store_tax_configuration ||= StoreTaxConfigurationController.new @global_configuration
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# Access to tax_transactions controller.
|
|
484
|
+
# @return [TaxTransactionsController] Returns the controller instance.
|
|
485
|
+
def tax_transactions
|
|
486
|
+
@tax_transactions ||= TaxTransactionsController.new @global_configuration
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
# Access to tax_quotations controller.
|
|
490
|
+
# @return [TaxQuotationsController] Returns the controller instance.
|
|
491
|
+
def tax_quotations
|
|
492
|
+
@tax_quotations ||= TaxQuotationsController.new @global_configuration
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
# Access to tenant_tax_configuration controller.
|
|
496
|
+
# @return [TenantTaxConfigurationController] Returns the controller instance.
|
|
497
|
+
def tenant_tax_configuration
|
|
498
|
+
@tenant_tax_configuration ||= TenantTaxConfigurationController.new @global_configuration
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
# Access to o_auth_authorization controller.
|
|
502
|
+
# @return [OAuthAuthorizationController] Returns the controller instance.
|
|
503
|
+
def o_auth_authorization
|
|
504
|
+
@o_auth_authorization ||= OAuthAuthorizationController.new @global_configuration
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
def initialize(
|
|
508
|
+
connection: nil, adapter: :net_http_persistent, timeout: 60,
|
|
509
|
+
max_retries: 0, retry_interval: 1, backoff_factor: 2,
|
|
510
|
+
retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
|
|
511
|
+
retry_methods: %i[get put], http_callback: nil, proxy_settings: nil,
|
|
512
|
+
environment: Environment::STAGING, tenant: 'dodici',
|
|
513
|
+
o_auth_client_id: nil, o_auth_client_secret: nil, o_auth_token: nil,
|
|
514
|
+
o_auth_scopes: nil, client_credentials_auth_credentials: nil, config: nil
|
|
515
|
+
)
|
|
516
|
+
@config = if config.nil?
|
|
517
|
+
Configuration.new(
|
|
518
|
+
connection: connection, adapter: adapter, timeout: timeout,
|
|
519
|
+
max_retries: max_retries, retry_interval: retry_interval,
|
|
520
|
+
backoff_factor: backoff_factor,
|
|
521
|
+
retry_statuses: retry_statuses,
|
|
522
|
+
retry_methods: retry_methods, http_callback: http_callback,
|
|
523
|
+
proxy_settings: proxy_settings, environment: environment,
|
|
524
|
+
tenant: tenant, o_auth_client_id: o_auth_client_id,
|
|
525
|
+
o_auth_client_secret: o_auth_client_secret,
|
|
526
|
+
o_auth_token: o_auth_token, o_auth_scopes: o_auth_scopes,
|
|
527
|
+
client_credentials_auth_credentials: client_credentials_auth_credentials
|
|
528
|
+
)
|
|
529
|
+
else
|
|
530
|
+
config
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
@global_configuration = GlobalConfiguration.new(client_configuration: @config)
|
|
534
|
+
.base_uri_executor(@config.method(:get_base_uri))
|
|
535
|
+
.global_errors(BaseController::GLOBAL_ERRORS)
|
|
536
|
+
.user_agent(BaseController.user_agent)
|
|
537
|
+
|
|
538
|
+
initialize_auth_managers(@global_configuration)
|
|
539
|
+
@global_configuration = @global_configuration.auth_managers(@auth_managers)
|
|
540
|
+
end
|
|
541
|
+
|
|
542
|
+
# Initializes the auth managers hash used for authenticating API calls.
|
|
543
|
+
# @param [GlobalConfiguration] global_config The global configuration of the SDK)
|
|
544
|
+
def initialize_auth_managers(global_config)
|
|
545
|
+
@auth_managers = {}
|
|
546
|
+
http_client_config = global_config.client_configuration
|
|
547
|
+
%w[oauth].each { |auth| @auth_managers[auth] = nil }
|
|
548
|
+
@auth_managers['oauth'] = OAuth2.new(http_client_config.client_credentials_auth_credentials,
|
|
549
|
+
global_config)
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# Creates a client directly from environment variables.
|
|
553
|
+
def self.from_env(**overrides)
|
|
554
|
+
default_config = Configuration.build_default_config_from_env
|
|
555
|
+
new_config = default_config.clone_with(**overrides)
|
|
556
|
+
new(config: new_config)
|
|
557
|
+
end
|
|
558
|
+
end
|
|
559
|
+
end
|