@commercetools/platform-sdk
Advanced tools
Comparing version 7.6.0 to 7.7.0
@@ -33,3 +33,3 @@ /** | ||
* If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection, | ||
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices) | ||
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices), | ||
* and [inventory](ctp:api:type:ProductProjectionInventoryEntries). | ||
@@ -36,0 +36,0 @@ * |
@@ -33,3 +33,3 @@ /** | ||
* If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection, | ||
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices) | ||
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices), | ||
* and [inventory](ctp:api:type:ProductProjectionInventoryEntries). | ||
@@ -36,0 +36,0 @@ * |
@@ -32,12 +32,2 @@ /** | ||
}): ApiRequest<ProductPagedSearchResponse>; | ||
/** | ||
* Checks whether a search index for the Project's Products exists. | ||
* Returns a `200 OK` status if the index exists, a `404 Not Found` error otherwise. | ||
* | ||
*/ | ||
head(methodArgs?: { | ||
headers?: { | ||
[key: string]: string | string[]; | ||
}; | ||
}): ApiRequest<void>; | ||
} |
@@ -39,3 +39,3 @@ /** | ||
/** | ||
* Date and time (UTC) the APIClient was initially created at. | ||
* Date and time (UTC) the APIClient was initially created. | ||
* | ||
@@ -42,0 +42,0 @@ */ |
@@ -118,3 +118,3 @@ /** | ||
/** | ||
* Date and time (UTC) when the [Approval Flow](ctp:api:type:ApprovalFlow) was approved at. | ||
* Date and time (UTC) the [Approval Flow](ctp:api:type:ApprovalFlow) was approved. | ||
* | ||
@@ -173,3 +173,3 @@ * | ||
/** | ||
* Date and time (UTC) when the [Approval Flow](ctp:api:type:ApprovalFlow) was rejected at. | ||
* Date and time (UTC) the [Approval Flow](ctp:api:type:ApprovalFlow) was rejected. | ||
* | ||
@@ -176,0 +176,0 @@ * |
@@ -24,3 +24,3 @@ /** | ||
/** | ||
* Date and time (UTC) for the CartDiscount was initially created. | ||
* Date and time (UTC) the CartDiscount was initially created. | ||
* | ||
@@ -31,3 +31,3 @@ * | ||
/** | ||
* Date and time (UTC) for the CartDiscount was last updated. | ||
* Date and time (UTC) the CartDiscount was last updated. | ||
* | ||
@@ -34,0 +34,0 @@ * |
@@ -223,2 +223,20 @@ /** | ||
/** | ||
* Indicates the source and method that indirectly created or modified the resource. This is present on resources created or updated after 1 April 2024. | ||
*/ | ||
export interface Attribution { | ||
/** | ||
* `id` of the [API Client](ctp:api:type:ApiClient) that created or modified the resource. | ||
* | ||
* | ||
*/ | ||
readonly clientId?: string; | ||
/** | ||
* Method used to initiate the creation or modification of the resource. | ||
* | ||
* | ||
*/ | ||
readonly source: AttributionSource; | ||
} | ||
export type AttributionSource = 'Export' | 'Import' | string; | ||
/** | ||
* Polymorphic base type that represents a postal address and contact details. | ||
@@ -494,2 +512,8 @@ * Depending on the read or write action, it can be either [Address](ctp:api:type:Address) or [AddressDraft](ctp:api:type:AddressDraft) that | ||
/** | ||
* Indicates if the resource was created indirectly. | ||
* | ||
* | ||
*/ | ||
readonly attributedTo?: Attribution; | ||
/** | ||
* Indicates the [Customer](ctp:api:type:Customer) who created the resource in the context of a [Business Unit](ctp:api:type:BusinessUnit). Only present when an Associate acts on behalf of a company using the [associate endpoints](/associates-overview#on-the-associate-endpoints). | ||
@@ -609,2 +633,8 @@ * | ||
/** | ||
* Indicates if the resource was modified indirectly. | ||
* | ||
* | ||
*/ | ||
readonly attributedTo?: Attribution; | ||
/** | ||
* Indicates the [Customer](ctp:api:type:Customer) who modified the resource in the context of a [Business Unit](ctp:api:type:BusinessUnit). Only present when an Associate acts on behalf of a company using the [associate endpoints](/associates-overview#on-the-associate-endpoints). | ||
@@ -611,0 +641,0 @@ * |
@@ -42,3 +42,3 @@ /** | ||
/** | ||
* The http status code of the response. | ||
* The HTTP status code of the response. | ||
* | ||
@@ -73,3 +73,3 @@ */ | ||
/** | ||
* Whether the search criteria definitely matches for all Variants of the returned Product, like for Product-level fields. Is always `false` for search expressions on Variant-level fields. | ||
* Whether the search criteria definitely matches all Variants of the returned Product, like for Product-level fields. Is always `false` for search expressions on Variant-level fields. | ||
* | ||
@@ -131,3 +131,3 @@ */ | ||
* If the Store has defined some languages, countries, distribution or supply Channels, | ||
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices) | ||
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices), | ||
* and [inventory](ctp:api:type:ProductProjectionInventoryEntries). | ||
@@ -201,2 +201,3 @@ * If the Store has defined [Product Selections](ctp:api:type:ProductSelection), they have no effect on the results of this query. | ||
/** | ||
* Name of the count facet to appear in the [ProductSearchFacetResultCount](ctp:api:type:ProductSearchFacetResultCount). | ||
* | ||
@@ -236,3 +237,3 @@ */ | ||
/** | ||
* Name of the distinct facet. | ||
* Name of the distinct facet to appear in the [ProductSearchFacetResultBucket](ctp:api:type:ProductSearchFacetResultBucket). | ||
* | ||
@@ -257,4 +258,5 @@ */ | ||
/** | ||
* The field to facet on. Can be any searchable field on the [Product](ctp:api:type:Product). | ||
* The [searchable Product field](/api/projects/product-search#searchable-product-fields) to facet on. | ||
* | ||
* | ||
*/ | ||
@@ -340,3 +342,3 @@ readonly field: string; | ||
/** | ||
* Name to assign the ranges facet. | ||
* Name of the ranges facet to appear in the [ProductSearchFacetResultBucket](ctp:api:type:ProductSearchFacetResultBucket). | ||
* | ||
@@ -361,4 +363,5 @@ */ | ||
/** | ||
* The field to facet on. Can be any searchable field on the [Product](ctp:api:type:Product). | ||
* The [searchable Product field](/api/projects/product-search#searchable-product-fields) to facet on. | ||
* | ||
* | ||
*/ | ||
@@ -391,2 +394,6 @@ readonly field: string; | ||
export type _ProductSearchFacetResult = ProductSearchFacetResult | ProductSearchFacetResultBucket | ProductSearchFacetResultCount; | ||
/** | ||
* Result of a [distinct facet](/../api/projects/product-search#distinct-facets) or a [ranges facet](/../api/projects/product-search#ranges-facets). | ||
* | ||
*/ | ||
export interface ProductSearchFacetResultBucket extends ProductSearchFacetResult { | ||
@@ -411,2 +418,6 @@ /** | ||
} | ||
/** | ||
* Result of a [count facet](/../api/projects/product-search#count-facets). | ||
* | ||
*/ | ||
export interface ProductSearchFacetResultCount extends ProductSearchFacetResult { | ||
@@ -413,0 +424,0 @@ /** |
@@ -7,3 +7,3 @@ /** | ||
/** | ||
* Possible values for the `fieldType` property on query expressions indicating the data type of the `field`. | ||
* Possible values for the `fieldType` property on [query expressions](/../api/search-query-language#query-expressions) indicating the data type of the `field`. | ||
*/ | ||
@@ -121,3 +121,3 @@ export type SearchFieldType = 'boolean' | 'date' | 'datetime' | 'enum' | 'lenum' | 'ltext' | 'money' | 'number' | 'reference' | 'set_boolean' | 'set_date' | 'set_datetime' | 'set_enum' | 'set_lenum' | 'set_ltext' | 'set_money' | 'set_number' | 'set_reference' | 'set_text' | 'set_time' | 'text' | 'time' | string; | ||
/** | ||
* Possible values for the `fieldType` property on query expressions indicating the data type of the `field`. | ||
* Possible values for the `fieldType` property on [query expressions](/../api/search-query-language#query-expressions) indicating the data type of the `field`. | ||
* | ||
@@ -124,0 +124,0 @@ */ |
@@ -7,3 +7,3 @@ { | ||
"name": "@commercetools/platform-sdk", | ||
"version": "7.6.0", | ||
"version": "7.7.0", | ||
"engines": { | ||
@@ -30,3 +30,3 @@ "node": ">=14" | ||
"dependencies": { | ||
"@commercetools/sdk-client-v2": "^2.4.0", | ||
"@commercetools/sdk-client-v2": "^2.4.1", | ||
"@commercetools/sdk-middleware-auth": "^7.0.0", | ||
@@ -33,0 +33,0 @@ "@commercetools/sdk-middleware-http": "^7.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
5643356
152468