From 04ec29d294c1019b0684f5dca04b4c6edb4e51a1 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 25 Nov 2025 13:12:09 +0000 Subject: [PATCH] chore: update SDK from OpenAPI spec --- generator/catalog-ingestion-openapi-spec.yaml | 21 +------------ package.json | 2 +- src/types.ts | 31 ------------------- 3 files changed, 2 insertions(+), 52 deletions(-) diff --git a/generator/catalog-ingestion-openapi-spec.yaml b/generator/catalog-ingestion-openapi-spec.yaml index ebcf441..77ef6df 100644 --- a/generator/catalog-ingestion-openapi-spec.yaml +++ b/generator/catalog-ingestion-openapi-spec.yaml @@ -1369,7 +1369,7 @@ paths: }, "name": "Premium Red Winter Pants - Limited Edition", "description": "Stay warm and stylish with our premium red winter pants. Features thermal lining and water-resistant fabric perfect for cold weather adventures.", - "shortDescription": "Premium thermal-lined winter pants in classic red", + "shortDescription": "Premium thermal-lined winter pants in warm, classic red", "images": [ { "url": "https://cdn.example.com/products/red-pants-winter-2024.jpg", @@ -2657,10 +2657,6 @@ components: type: string description: Product display name that will override the base product name. Use for localized names, seasonal branding, or promotional titles. example: Premium Red Winter Pants - Limited Edition - slug: - type: string - description: URL-friendly identifier for the product page. Override to create layer-specific URLs for SEO or campaign tracking. - example: premium-red-winter-pants-limited-edition description: type: string nullable: true @@ -2688,21 +2684,6 @@ components: description: Related product SKUs that will be merged with base product links. Use to add seasonal recommendations, locale-specific cross-sells, or promotional bundles. items: $ref: "#/components/schemas/ProductLink" - routes: - type: array - description: URL routing configurations that will be merged with base product routes. Use to add layer-specific navigation paths or campaign-specific URLs. - items: - $ref: "#/components/schemas/ProductRoutes" - configurations: - type: array - description: Product configuration options for composite products (for example, configurable products) that will be merged with base configurations. Use to add layer-specific variants or seasonal options. - items: - $ref: "#/components/schemas/ProductConfiguration" - bundles: - type: array - description: Bundle product definitions that will be merged with base product bundles. Use to create seasonal bundles, promotional packages, or locale-specific product groupings. - items: - $ref: "#/components/schemas/ProductBundle" externalIds: type: array description: External system identifiers that will be merged with base product external IDs. Use to add layer-specific tracking codes, campaign IDs, or integration references. diff --git a/package.json b/package.json index dbd0677..f92cbab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe-commerce/aco-ts-sdk", - "version": "1.2.1", + "version": "1.2.2", "description": "TypeScript Client SDK for the Adobe Commerce Optimizer API", "type": "module", "license": "Apache-2.0", diff --git a/src/types.ts b/src/types.ts index 376e1ad..68ea9d6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -683,13 +683,6 @@ export interface FeedProductLayer { * @type {string} */ name?: string; - /** - * URL-friendly identifier for the product page. Override to create layer-specific URLs for SEO or campaign tracking. - * - * @memberof FeedProductLayer - * @type {string} - */ - slug?: string; /** * Detailed product description that replaces the base product description. Use for localized content, seasonal * messaging, or enhanced marketing copy. @@ -735,30 +728,6 @@ export interface FeedProductLayer { * @type {ProductLink[]} */ links?: ProductLink[]; - /** - * URL routing configurations that will be merged with base product routes. Use to add layer-specific navigation paths - * or campaign-specific URLs. - * - * @memberof FeedProductLayer - * @type {ProductRoutes[]} - */ - routes?: ProductRoutes[]; - /** - * Product configuration options for composite products (for example, configurable products) that will be merged with - * base configurations. Use to add layer-specific variants or seasonal options. - * - * @memberof FeedProductLayer - * @type {ProductConfiguration[]} - */ - configurations?: ProductConfiguration[]; - /** - * Bundle product definitions that will be merged with base product bundles. Use to create seasonal bundles, - * promotional packages, or locale-specific product groupings. - * - * @memberof FeedProductLayer - * @type {ProductBundle[]} - */ - bundles?: ProductBundle[]; /** * External system identifiers that will be merged with base product external IDs. Use to add layer-specific tracking * codes, campaign IDs, or integration references.