Skip to content

Commit

Permalink
feat: update resources to schema v7.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Oct 4, 2024
1 parent 8663fbb commit a0ce3f1
Show file tree
Hide file tree
Showing 6 changed files with 1,190 additions and 1,021 deletions.
194 changes: 121 additions & 73 deletions gen/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "Commerce Layer API",
"version": "7.2.1",
"version": "7.2.2",
"contact": {
"name": "API Support",
"url": "https://commercelayer.io",
Expand Down Expand Up @@ -81246,78 +81246,6 @@
"example": "GTM-5FJXX7",
"nullable": true
},
"addresses_phone_required": {
"type": "boolean",
"description": "Indicates if the phone attribute is required for addresses, default is true.",
"example": true,
"nullable": true
},
"bundles_max_items_count": {
"type": "integer",
"description": "The maximum number of SKUs allowed for bundles, default is 10.",
"example": 10,
"nullable": true
},
"coupons_min_code_length": {
"type": "integer",
"description": "The minimum length for coupon code, default is 8.",
"example": 8,
"nullable": true
},
"coupons_max_code_length": {
"type": "integer",
"description": "The maximum length for coupon code, default is 40.",
"example": 40,
"nullable": true
},
"promotions_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of active concurrent promotions allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"imports_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of concurrent imports allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"exports_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of concurrent exports allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"cleanups_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of concurrent cleanups allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"orders_number_editable_test": {
"type": "boolean",
"description": "Enables orders number editing as a string in test (for enterprise plans only).",
"example": false,
"nullable": true
},
"orders_number_editable_live": {
"type": "boolean",
"description": "Enables orders number editing as a string in live (for enterprise plans only).",
"example": false,
"nullable": true
},
"tax_calculators_errors": {
"type": "boolean",
"description": "Enables raising of API errors in case of tax calculation failure, default is false.",
"example": true,
"nullable": true
},
"external_promotions_errors": {
"type": "boolean",
"description": "Enables raising of API errors in case of external promotion failure, default is false.",
"example": true,
"nullable": true
},
"config": {
"type": "object",
"description": "The organization's configuration.",
Expand Down Expand Up @@ -81428,6 +81356,126 @@
},
"nullable": true
},
"api_auth_redirect": {
"type": "boolean",
"description": "Enables the redirect on the new Auth API.",
"example": true,
"nullable": true
},
"api_rules_engine": {
"type": "boolean",
"description": "Enables the rules engine for flex promotions and sku list rules.",
"example": false,
"nullable": true
},
"addresses_phone_required": {
"type": "boolean",
"description": "Indicates if the phone attribute is required for addresses, default is true.",
"example": true,
"nullable": true
},
"orders_autorefresh_cutoff_test": {
"type": "integer",
"description": "The maximum number line items allowed for a test order before disabling the autorefresh option.",
"example": 50,
"nullable": true
},
"orders_autorefresh_cutoff_live": {
"type": "integer",
"description": "The maximum number line items allowed for a live order before disabling the autorefresh option.",
"example": 500,
"nullable": true
},
"orders_number_editable_test": {
"type": "boolean",
"description": "Enables orders number editing as a string in test (for enterprise plans only).",
"example": false,
"nullable": true
},
"orders_number_editable_live": {
"type": "boolean",
"description": "Enables orders number editing as a string in live (for enterprise plans only).",
"example": false,
"nullable": true
},
"orders_number_as_reference": {
"type": "boolean",
"description": "Enables to use the order number as payment reference on supported gateways.",
"example": true,
"nullable": true
},
"bundles_max_items_count": {
"type": "integer",
"description": "The maximum number of SKUs allowed for bundles, default is 10.",
"example": 10,
"nullable": true
},
"coupons_min_code_length": {
"type": "integer",
"description": "The minimum length for coupon code, default is 8.",
"example": 8,
"nullable": true
},
"coupons_max_code_length": {
"type": "integer",
"description": "The maximum length for coupon code, default is 40.",
"example": 40,
"nullable": true
},
"gift_cards_min_code_length": {
"type": "integer",
"description": "The minimum length for gift card code, default is 8.",
"example": 8,
"nullable": true
},
"gift_cards_max_code_length": {
"type": "integer",
"description": "The maximum length for gift card code, default is 40.",
"example": 40,
"nullable": true
},
"cleanups_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of concurrent cleanups allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"exports_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of concurrent exports allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"imports_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of concurrent imports allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"promotions_max_concurrent_count": {
"type": "integer",
"description": "The maximum number of active concurrent promotions allowed for your organization, default is 10.",
"example": 10,
"nullable": true
},
"imports_trigger_webhooks": {
"type": "integer",
"description": "Enables triggering of webhooks during imports, default is false.",
"example": 0,
"nullable": true
},
"tax_calculators_errors": {
"type": "boolean",
"description": "Enables raising of API errors in case of tax calculation failure, default is false.",
"example": false,
"nullable": true
},
"external_promotions_errors": {
"type": "boolean",
"description": "Enables raising of API errors in case of external promotion failure, default is false.",
"example": false,
"nullable": true
},
"created_at": {
"type": "string",
"description": "Time at which the resource was created.",
Expand Down
Loading

0 comments on commit a0ce3f1

Please sign in to comment.