@aurigma/ng-storefront-api-client 2.59.1 → 2.62.12
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.
- package/aurigma-ng-storefront-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.js +925 -230
- package/bundles/aurigma-ng-storefront-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js.map +1 -1
- package/esm2015/aurigma-ng-storefront-api-client.js +1 -1
- package/esm2015/lib/storefront-api-client.js +636 -18
- package/esm2015/lib/storefront.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js +636 -18
- package/fesm2015/aurigma-ng-storefront-api-client.js.map +1 -1
- package/lib/storefront-api-client.d.ts +358 -63
- package/package.json +1 -1
|
@@ -88,6 +88,92 @@ export declare class ProcessingPipelinesApiClient extends ApiClientBase implemen
|
|
|
88
88
|
get(id: number, tenantId?: number | null | undefined): Observable<ProcessingPipelineDto>;
|
|
89
89
|
protected processGet(response: HttpResponseBase): Observable<ProcessingPipelineDto>;
|
|
90
90
|
}
|
|
91
|
+
export interface IProductBundlesApiClient {
|
|
92
|
+
/**
|
|
93
|
+
* Returns all product bundles, relevant to the specified query parameters.
|
|
94
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
95
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
96
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
97
|
+
* @param search (optional) Search string for partial match.
|
|
98
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}
|
|
99
|
+
* @param tenantId (optional) Tenant identifier.
|
|
100
|
+
* @return Success
|
|
101
|
+
*/
|
|
102
|
+
getAllProductBundles(skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductBundleDto>;
|
|
103
|
+
/**
|
|
104
|
+
* Returns a product bundle by its identifier.
|
|
105
|
+
* @param id Product identifier.
|
|
106
|
+
* @param productBundleVersionId (optional) Product bundle version identifier. Optional
|
|
107
|
+
* @param tenantId (optional) Tenant identifier.
|
|
108
|
+
* @return Success
|
|
109
|
+
*/
|
|
110
|
+
getProductBundle(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductBundleDto>;
|
|
111
|
+
/**
|
|
112
|
+
* Returns a product bundle summary by product bundle identifier.
|
|
113
|
+
* @param id Product bundle identifier.
|
|
114
|
+
* @param productBundleVersionId (optional) Product bundle version identifier.
|
|
115
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
116
|
+
* @param sku (optional) Product variant SKU.
|
|
117
|
+
* @param tenantId (optional) Tenant identifier.
|
|
118
|
+
* @return Success
|
|
119
|
+
*/
|
|
120
|
+
getProductSummary(id: number, productBundleVersionId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<ProductSummaryDto>;
|
|
121
|
+
/**
|
|
122
|
+
* Returns a product bundle personalization workflow description by product bundle identifier.
|
|
123
|
+
* @param id Product bundle identifier.
|
|
124
|
+
* @param productBundleVersionId (optional) Product bundle version identifier.
|
|
125
|
+
* @param tenantId (optional) Tenant identifier.
|
|
126
|
+
* @return Success
|
|
127
|
+
*/
|
|
128
|
+
getPersonalizationWorkflow(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PersonalizationWorkflowDto>;
|
|
129
|
+
}
|
|
130
|
+
export declare class ProductBundlesApiClient extends ApiClientBase implements IProductBundlesApiClient {
|
|
131
|
+
private http;
|
|
132
|
+
private baseUrl;
|
|
133
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
134
|
+
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
135
|
+
/**
|
|
136
|
+
* Returns all product bundles, relevant to the specified query parameters.
|
|
137
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
138
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
139
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
140
|
+
* @param search (optional) Search string for partial match.
|
|
141
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}
|
|
142
|
+
* @param tenantId (optional) Tenant identifier.
|
|
143
|
+
* @return Success
|
|
144
|
+
*/
|
|
145
|
+
getAllProductBundles(skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductBundleDto>;
|
|
146
|
+
protected processGetAllProductBundles(response: HttpResponseBase): Observable<PagedOfProductBundleDto>;
|
|
147
|
+
/**
|
|
148
|
+
* Returns a product bundle by its identifier.
|
|
149
|
+
* @param id Product identifier.
|
|
150
|
+
* @param productBundleVersionId (optional) Product bundle version identifier. Optional
|
|
151
|
+
* @param tenantId (optional) Tenant identifier.
|
|
152
|
+
* @return Success
|
|
153
|
+
*/
|
|
154
|
+
getProductBundle(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductBundleDto>;
|
|
155
|
+
protected processGetProductBundle(response: HttpResponseBase): Observable<ProductBundleDto>;
|
|
156
|
+
/**
|
|
157
|
+
* Returns a product bundle summary by product bundle identifier.
|
|
158
|
+
* @param id Product bundle identifier.
|
|
159
|
+
* @param productBundleVersionId (optional) Product bundle version identifier.
|
|
160
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
161
|
+
* @param sku (optional) Product variant SKU.
|
|
162
|
+
* @param tenantId (optional) Tenant identifier.
|
|
163
|
+
* @return Success
|
|
164
|
+
*/
|
|
165
|
+
getProductSummary(id: number, productBundleVersionId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<ProductSummaryDto>;
|
|
166
|
+
protected processGetProductSummary(response: HttpResponseBase): Observable<ProductSummaryDto>;
|
|
167
|
+
/**
|
|
168
|
+
* Returns a product bundle personalization workflow description by product bundle identifier.
|
|
169
|
+
* @param id Product bundle identifier.
|
|
170
|
+
* @param productBundleVersionId (optional) Product bundle version identifier.
|
|
171
|
+
* @param tenantId (optional) Tenant identifier.
|
|
172
|
+
* @return Success
|
|
173
|
+
*/
|
|
174
|
+
getPersonalizationWorkflow(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PersonalizationWorkflowDto>;
|
|
175
|
+
protected processGetPersonalizationWorkflow(response: HttpResponseBase): Observable<PersonalizationWorkflowDto>;
|
|
176
|
+
}
|
|
91
177
|
export interface IProductLinksApiClient {
|
|
92
178
|
/**
|
|
93
179
|
* Returns all product links, relevant to the specified query parameters.
|
|
@@ -189,6 +275,7 @@ export interface IProductReferencesApiClient {
|
|
|
189
275
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
190
276
|
* @param productId (optional) Customer's Canvas product filter.
|
|
191
277
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
278
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
192
279
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
193
280
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
194
281
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -199,7 +286,7 @@ export interface IProductReferencesApiClient {
|
|
|
199
286
|
* @param tenantId (optional) Tenant identifier.
|
|
200
287
|
* @return Success
|
|
201
288
|
*/
|
|
202
|
-
getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductReferenceDto>;
|
|
289
|
+
getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductReferenceDto>;
|
|
203
290
|
/**
|
|
204
291
|
* Returns a list of product specifications associated with storefront product references relevant to the specified query parameters.
|
|
205
292
|
* @param storefrontId Storefront identifier.
|
|
@@ -208,6 +295,7 @@ export interface IProductReferencesApiClient {
|
|
|
208
295
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
209
296
|
* @param productId (optional) Customer's Canvas product filter.
|
|
210
297
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
298
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
211
299
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
212
300
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
213
301
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -218,7 +306,7 @@ export interface IProductReferencesApiClient {
|
|
|
218
306
|
* @param tenantId (optional) Tenant identifier.
|
|
219
307
|
* @return Success
|
|
220
308
|
*/
|
|
221
|
-
getAllProductSpecifications(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductSpecificationDto>;
|
|
309
|
+
getAllProductSpecifications(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductSpecificationDto>;
|
|
222
310
|
/**
|
|
223
311
|
* Returns a list of products associated with storefront product references relevant to the specified query parameters.
|
|
224
312
|
* @param storefrontId Storefront identifier.
|
|
@@ -227,6 +315,7 @@ export interface IProductReferencesApiClient {
|
|
|
227
315
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
228
316
|
* @param productId (optional) Customer's Canvas product filter.
|
|
229
317
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
318
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
230
319
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
231
320
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
232
321
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -237,7 +326,7 @@ export interface IProductReferencesApiClient {
|
|
|
237
326
|
* @param tenantId (optional) Tenant identifier.
|
|
238
327
|
* @return Success
|
|
239
328
|
*/
|
|
240
|
-
getAllProducts(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductDto>;
|
|
329
|
+
getAllProducts(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductDto>;
|
|
241
330
|
/**
|
|
242
331
|
* Returns a list of product links associated with storefront product references relevant to the specified query parameters.
|
|
243
332
|
* @param storefrontId Storefront identifier.
|
|
@@ -246,6 +335,7 @@ export interface IProductReferencesApiClient {
|
|
|
246
335
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
247
336
|
* @param productId (optional) Customer's Canvas product filter.
|
|
248
337
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
338
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
249
339
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
250
340
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
251
341
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -256,7 +346,27 @@ export interface IProductReferencesApiClient {
|
|
|
256
346
|
* @param tenantId (optional) Tenant identifier.
|
|
257
347
|
* @return Success
|
|
258
348
|
*/
|
|
259
|
-
getAllProductLinks(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductLinkDto>;
|
|
349
|
+
getAllProductLinks(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductLinkDto>;
|
|
350
|
+
/**
|
|
351
|
+
* Returns a list of product bundles associated with storefront product references relevant to the specified query parameters.
|
|
352
|
+
* @param storefrontId Storefront identifier.
|
|
353
|
+
* @param productReference (optional) Product reference filter.
|
|
354
|
+
Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
|
|
355
|
+
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
356
|
+
* @param productId (optional) Customer's Canvas product filter.
|
|
357
|
+
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
358
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
359
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
360
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
361
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
362
|
+
* @param search (optional) Search string for partial match.
|
|
363
|
+
* @param sku (optional) SKU filter.
|
|
364
|
+
* @param tags (optional) List of tags that product should have.
|
|
365
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}.
|
|
366
|
+
* @param tenantId (optional) Tenant identifier.
|
|
367
|
+
* @return Success
|
|
368
|
+
*/
|
|
369
|
+
getAllProductBundles(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductBundleDto>;
|
|
260
370
|
/**
|
|
261
371
|
* Returns a storefront product reference.
|
|
262
372
|
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
@@ -299,6 +409,14 @@ export interface IProductReferencesApiClient {
|
|
|
299
409
|
* @return Success
|
|
300
410
|
*/
|
|
301
411
|
getProductLink(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductLinkDto>;
|
|
412
|
+
/**
|
|
413
|
+
* Returns a product bundle by storefront product reference.
|
|
414
|
+
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
415
|
+
* @param storefrontId Storefront identifier.
|
|
416
|
+
* @param tenantId (optional) Tenant identifier.
|
|
417
|
+
* @return Success
|
|
418
|
+
*/
|
|
419
|
+
getProductBundle(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductBundleDto>;
|
|
302
420
|
/**
|
|
303
421
|
* Returns a product cost details from ecommerce system.
|
|
304
422
|
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
@@ -333,6 +451,7 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
333
451
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
334
452
|
* @param productId (optional) Customer's Canvas product filter.
|
|
335
453
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
454
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
336
455
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
337
456
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
338
457
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -343,7 +462,7 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
343
462
|
* @param tenantId (optional) Tenant identifier.
|
|
344
463
|
* @return Success
|
|
345
464
|
*/
|
|
346
|
-
getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductReferenceDto>;
|
|
465
|
+
getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductReferenceDto>;
|
|
347
466
|
protected processGetAll(response: HttpResponseBase): Observable<PagedOfProductReferenceDto>;
|
|
348
467
|
/**
|
|
349
468
|
* Returns a list of product specifications associated with storefront product references relevant to the specified query parameters.
|
|
@@ -353,6 +472,7 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
353
472
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
354
473
|
* @param productId (optional) Customer's Canvas product filter.
|
|
355
474
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
475
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
356
476
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
357
477
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
358
478
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -363,7 +483,7 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
363
483
|
* @param tenantId (optional) Tenant identifier.
|
|
364
484
|
* @return Success
|
|
365
485
|
*/
|
|
366
|
-
getAllProductSpecifications(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductSpecificationDto>;
|
|
486
|
+
getAllProductSpecifications(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductSpecificationDto>;
|
|
367
487
|
protected processGetAllProductSpecifications(response: HttpResponseBase): Observable<PagedOfProductSpecificationDto>;
|
|
368
488
|
/**
|
|
369
489
|
* Returns a list of products associated with storefront product references relevant to the specified query parameters.
|
|
@@ -373,6 +493,7 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
373
493
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
374
494
|
* @param productId (optional) Customer's Canvas product filter.
|
|
375
495
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
496
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
376
497
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
377
498
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
378
499
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -383,7 +504,7 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
383
504
|
* @param tenantId (optional) Tenant identifier.
|
|
384
505
|
* @return Success
|
|
385
506
|
*/
|
|
386
|
-
getAllProducts(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductDto>;
|
|
507
|
+
getAllProducts(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductDto>;
|
|
387
508
|
protected processGetAllProducts(response: HttpResponseBase): Observable<PagedOfProductDto>;
|
|
388
509
|
/**
|
|
389
510
|
* Returns a list of product links associated with storefront product references relevant to the specified query parameters.
|
|
@@ -393,6 +514,7 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
393
514
|
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
394
515
|
* @param productId (optional) Customer's Canvas product filter.
|
|
395
516
|
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
517
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
396
518
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
397
519
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
398
520
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -403,8 +525,29 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
403
525
|
* @param tenantId (optional) Tenant identifier.
|
|
404
526
|
* @return Success
|
|
405
527
|
*/
|
|
406
|
-
getAllProductLinks(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductLinkDto>;
|
|
528
|
+
getAllProductLinks(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductLinkDto>;
|
|
407
529
|
protected processGetAllProductLinks(response: HttpResponseBase): Observable<PagedOfProductLinkDto>;
|
|
530
|
+
/**
|
|
531
|
+
* Returns a list of product bundles associated with storefront product references relevant to the specified query parameters.
|
|
532
|
+
* @param storefrontId Storefront identifier.
|
|
533
|
+
* @param productReference (optional) Product reference filter.
|
|
534
|
+
Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
|
|
535
|
+
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
536
|
+
* @param productId (optional) Customer's Canvas product filter.
|
|
537
|
+
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
538
|
+
* @param productBundleId (optional) Customer's Canvas product bundle filter.
|
|
539
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
540
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
541
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
542
|
+
* @param search (optional) Search string for partial match.
|
|
543
|
+
* @param sku (optional) SKU filter.
|
|
544
|
+
* @param tags (optional) List of tags that product should have.
|
|
545
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}.
|
|
546
|
+
* @param tenantId (optional) Tenant identifier.
|
|
547
|
+
* @return Success
|
|
548
|
+
*/
|
|
549
|
+
getAllProductBundles(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductBundleDto>;
|
|
550
|
+
protected processGetAllProductBundles(response: HttpResponseBase): Observable<PagedOfProductBundleDto>;
|
|
408
551
|
/**
|
|
409
552
|
* Returns a storefront product reference.
|
|
410
553
|
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
@@ -452,6 +595,15 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
452
595
|
*/
|
|
453
596
|
getProductLink(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductLinkDto>;
|
|
454
597
|
protected processGetProductLink(response: HttpResponseBase): Observable<ProductLinkDto>;
|
|
598
|
+
/**
|
|
599
|
+
* Returns a product bundle by storefront product reference.
|
|
600
|
+
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
601
|
+
* @param storefrontId Storefront identifier.
|
|
602
|
+
* @param tenantId (optional) Tenant identifier.
|
|
603
|
+
* @return Success
|
|
604
|
+
*/
|
|
605
|
+
getProductBundle(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductBundleDto>;
|
|
606
|
+
protected processGetProductBundle(response: HttpResponseBase): Observable<ProductBundleDto>;
|
|
455
607
|
/**
|
|
456
608
|
* Returns a product cost details from ecommerce system.
|
|
457
609
|
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
@@ -525,7 +677,7 @@ export interface IProductsApiClient {
|
|
|
525
677
|
/**
|
|
526
678
|
* Returns a list of product links.
|
|
527
679
|
* @param id Product identifier.
|
|
528
|
-
* @param productVersionId (optional)
|
|
680
|
+
* @param productVersionId (optional) Product version identifier.
|
|
529
681
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
530
682
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
531
683
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -538,7 +690,7 @@ export interface IProductsApiClient {
|
|
|
538
690
|
* Returns a product link.
|
|
539
691
|
* @param id Product identifier.
|
|
540
692
|
* @param productLinkId Product link identifier.
|
|
541
|
-
* @param productVersionId (optional)
|
|
693
|
+
* @param productVersionId (optional) Product version identifier.
|
|
542
694
|
* @param tenantId (optional) Tenant identifier.
|
|
543
695
|
* @return Success
|
|
544
696
|
*/
|
|
@@ -705,7 +857,7 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
|
|
|
705
857
|
/**
|
|
706
858
|
* Returns a list of product links.
|
|
707
859
|
* @param id Product identifier.
|
|
708
|
-
* @param productVersionId (optional)
|
|
860
|
+
* @param productVersionId (optional) Product version identifier.
|
|
709
861
|
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
710
862
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
711
863
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
@@ -719,7 +871,7 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
|
|
|
719
871
|
* Returns a product link.
|
|
720
872
|
* @param id Product identifier.
|
|
721
873
|
* @param productLinkId Product link identifier.
|
|
722
|
-
* @param productVersionId (optional)
|
|
874
|
+
* @param productVersionId (optional) Product version identifier.
|
|
723
875
|
* @param tenantId (optional) Tenant identifier.
|
|
724
876
|
* @return Success
|
|
725
877
|
*/
|
|
@@ -1512,72 +1664,90 @@ export interface ImageInfo {
|
|
|
1512
1664
|
/** Product Resource URL. */
|
|
1513
1665
|
url?: string | null;
|
|
1514
1666
|
}
|
|
1515
|
-
/**
|
|
1516
|
-
export declare enum
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
PageCount = "PageCount"
|
|
1520
|
-
}
|
|
1521
|
-
/** DTO class, containing information about a product filter option. */
|
|
1522
|
-
export interface ProductFilterOptionDto {
|
|
1523
|
-
/** Product option identifier. */
|
|
1524
|
-
productOptionId?: number | null;
|
|
1525
|
-
/** Product option value identifier. */
|
|
1526
|
-
productOptionValueId?: number | null;
|
|
1527
|
-
/** Product option type ('Simple' / 'Size' / 'PageCount'). */
|
|
1528
|
-
productOptionType?: OptionType;
|
|
1529
|
-
/** Product option traits. */
|
|
1530
|
-
productOptionTraits?: string[] | null;
|
|
1531
|
-
/** Product option title. */
|
|
1532
|
-
productOptionTitle?: string | null;
|
|
1533
|
-
/** Product option value title. */
|
|
1534
|
-
productOptionValueTitle?: string | null;
|
|
1535
|
-
/** Indicates if option value should be used as a default value for corresponding option. */
|
|
1536
|
-
isDefault?: boolean;
|
|
1667
|
+
/** Product bundle resource type. */
|
|
1668
|
+
export declare enum ProductBundleResourceType {
|
|
1669
|
+
Custom = "Custom",
|
|
1670
|
+
Preview = "Preview"
|
|
1537
1671
|
}
|
|
1538
|
-
/** DTO class, containing information about a product
|
|
1539
|
-
export interface
|
|
1540
|
-
/** Product
|
|
1672
|
+
/** DTO class, containing information about a product bundle resource. */
|
|
1673
|
+
export interface ProductBundleResourceDto {
|
|
1674
|
+
/** Product bundle resource identifier. */
|
|
1541
1675
|
id?: number;
|
|
1542
|
-
/** Product link version identifier. */
|
|
1543
|
-
productLinkVersionId?: number;
|
|
1544
|
-
/** Linked product identifier. */
|
|
1545
|
-
productId?: number;
|
|
1546
|
-
/** Linked product version identifier. */
|
|
1547
|
-
productVersionId?: number;
|
|
1548
1676
|
/** Tenant identifier. */
|
|
1549
1677
|
tenantId?: number;
|
|
1550
|
-
/**
|
|
1678
|
+
/** Resource identifier. */
|
|
1679
|
+
resourceId?: string | null;
|
|
1680
|
+
/** Resource name. */
|
|
1551
1681
|
name?: string | null;
|
|
1552
|
-
/**
|
|
1682
|
+
/** Resource namespace. */
|
|
1683
|
+
namespace?: string | null;
|
|
1684
|
+
/** Resource type. */
|
|
1685
|
+
type?: ProductBundleResourceType;
|
|
1686
|
+
/** Resource URL. */
|
|
1687
|
+
url?: string | null;
|
|
1688
|
+
}
|
|
1689
|
+
/** DTO class, containing information about a product bundle item. */
|
|
1690
|
+
export interface ProductBundleItemDto {
|
|
1691
|
+
/** Product bundle item identifier. */
|
|
1692
|
+
id?: number;
|
|
1693
|
+
/** Product bundle item name. */
|
|
1694
|
+
name?: string | null;
|
|
1695
|
+
/** Product bundle item description. */
|
|
1553
1696
|
description?: string | null;
|
|
1554
|
-
/**
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1697
|
+
/** Bundled product identifier. */
|
|
1698
|
+
productId?: number | null;
|
|
1699
|
+
/** Bundled product version identifier. */
|
|
1700
|
+
productVersionId?: number | null;
|
|
1701
|
+
/** Bundled product name. */
|
|
1702
|
+
productName?: string | null;
|
|
1703
|
+
/** Bundled product variant identifier. */
|
|
1704
|
+
productVariantId?: number | null;
|
|
1705
|
+
/** Bundled product variant UID. */
|
|
1706
|
+
productVariantUID?: string | null;
|
|
1707
|
+
/** Bundled product variant Name. */
|
|
1708
|
+
productVariantName?: string | null;
|
|
1709
|
+
/** Bundled product variant SKU. */
|
|
1710
|
+
productVariantSku?: string | null;
|
|
1711
|
+
/** Product bundle item image info. */
|
|
1557
1712
|
image?: ImageInfo | null;
|
|
1558
|
-
/** Product
|
|
1713
|
+
/** Product bundle item resources. */
|
|
1714
|
+
resources?: ProductBundleResourceDto[] | null;
|
|
1715
|
+
}
|
|
1716
|
+
/** DTO class, containing information about a product bundle. */
|
|
1717
|
+
export interface ProductBundleDto {
|
|
1718
|
+
/** Product bundle identifier. */
|
|
1719
|
+
id?: number;
|
|
1720
|
+
/** Product bundle version identifier. */
|
|
1721
|
+
productBundleVersionId?: number;
|
|
1722
|
+
/** Tenant identifier. */
|
|
1723
|
+
tenantId?: number;
|
|
1724
|
+
/** Product bundle name. */
|
|
1725
|
+
name?: string | null;
|
|
1726
|
+
/** Product bundle description. */
|
|
1727
|
+
description?: string | null;
|
|
1728
|
+
/** Product bundle creation time. */
|
|
1559
1729
|
created?: string;
|
|
1560
|
-
/** Product
|
|
1730
|
+
/** Product bundle las modification time. */
|
|
1561
1731
|
lastModified?: string | null;
|
|
1562
|
-
/** Product filter options. */
|
|
1563
|
-
productFilterOptions?: ProductFilterOptionDto[] | null;
|
|
1564
1732
|
/** Personalization workflow identifier. */
|
|
1565
1733
|
personalizationWorkflowId?: number | null;
|
|
1566
|
-
/**
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
|
|
1572
|
-
/**
|
|
1573
|
-
|
|
1734
|
+
/** Product bundle custom fields. */
|
|
1735
|
+
customFields?: {
|
|
1736
|
+
[key: string]: string;
|
|
1737
|
+
} | null;
|
|
1738
|
+
/** Product bundle image info. */
|
|
1739
|
+
image?: ImageInfo | null;
|
|
1740
|
+
/** Product bundle items. */
|
|
1741
|
+
items?: ProductBundleItemDto[] | null;
|
|
1742
|
+
/** Product bundle resources. */
|
|
1743
|
+
resources?: ProductBundleResourceDto[] | null;
|
|
1574
1744
|
}
|
|
1575
1745
|
/** Paged list of items. */
|
|
1576
|
-
export interface
|
|
1746
|
+
export interface PagedOfProductBundleDto {
|
|
1577
1747
|
/** Items count. */
|
|
1578
1748
|
total?: number;
|
|
1579
1749
|
/** Items list. */
|
|
1580
|
-
items?:
|
|
1750
|
+
items?: ProductBundleDto[] | null;
|
|
1581
1751
|
}
|
|
1582
1752
|
/** Conflict types. */
|
|
1583
1753
|
export declare enum ConflictType {
|
|
@@ -1681,6 +1851,10 @@ export interface ProductSummaryDto {
|
|
|
1681
1851
|
productLinkVersionId?: number | null;
|
|
1682
1852
|
/** Product filter identifier for product link. If product link is not specified, should be null. */
|
|
1683
1853
|
productFilterId?: number | null;
|
|
1854
|
+
/** Product bundle identifier. If product bundle is not specified, should be null. */
|
|
1855
|
+
productBundleId?: number | null;
|
|
1856
|
+
/** Product bundle version identifier. If product bundle is not specified, should be null. */
|
|
1857
|
+
productBundleVersionId?: number | null;
|
|
1684
1858
|
/** Product variant identifier. If product variant is not specified, should be null. */
|
|
1685
1859
|
productVariantId?: number | null;
|
|
1686
1860
|
/** Product variant SKU. If product variant is not specified, should be null. */
|
|
@@ -1727,11 +1901,103 @@ export interface PersonalizationWorkflowDto {
|
|
|
1727
1901
|
/** Workflow type. */
|
|
1728
1902
|
workflowType?: WorkflowType;
|
|
1729
1903
|
}
|
|
1904
|
+
/** Product link resource type. */
|
|
1905
|
+
export declare enum ProductLinkResourceType {
|
|
1906
|
+
Preview = "Preview",
|
|
1907
|
+
Custom = "Custom"
|
|
1908
|
+
}
|
|
1909
|
+
/** DTO class, containing information about a product link resource. */
|
|
1910
|
+
export interface ProductLinkResourceDto {
|
|
1911
|
+
/** Product link resource identifier. */
|
|
1912
|
+
id?: number;
|
|
1913
|
+
/** Tenant identifier. */
|
|
1914
|
+
tenantId?: number;
|
|
1915
|
+
/** Resource identifier. */
|
|
1916
|
+
resourceId?: string | null;
|
|
1917
|
+
/** Resource name. */
|
|
1918
|
+
name?: string | null;
|
|
1919
|
+
/** Resource namespace. */
|
|
1920
|
+
namespace?: string | null;
|
|
1921
|
+
/** Resource type. */
|
|
1922
|
+
type?: ProductLinkResourceType;
|
|
1923
|
+
/** Resource URL. */
|
|
1924
|
+
url?: string | null;
|
|
1925
|
+
}
|
|
1926
|
+
/** Available option types. */
|
|
1927
|
+
export declare enum OptionType {
|
|
1928
|
+
Simple = "Simple",
|
|
1929
|
+
Size = "Size",
|
|
1930
|
+
PageCount = "PageCount"
|
|
1931
|
+
}
|
|
1932
|
+
/** DTO class, containing information about a product filter option. */
|
|
1933
|
+
export interface ProductFilterOptionDto {
|
|
1934
|
+
/** Product option identifier. */
|
|
1935
|
+
productOptionId?: number | null;
|
|
1936
|
+
/** Product option value identifier. */
|
|
1937
|
+
productOptionValueId?: number | null;
|
|
1938
|
+
/** Product option type ('Simple' / 'Size' / 'PageCount'). */
|
|
1939
|
+
productOptionType?: OptionType;
|
|
1940
|
+
/** Product option traits. */
|
|
1941
|
+
productOptionTraits?: string[] | null;
|
|
1942
|
+
/** Product option title. */
|
|
1943
|
+
productOptionTitle?: string | null;
|
|
1944
|
+
/** Product option value title. */
|
|
1945
|
+
productOptionValueTitle?: string | null;
|
|
1946
|
+
/** Indicates if option value should be used as a default value for corresponding option. */
|
|
1947
|
+
isDefault?: boolean;
|
|
1948
|
+
}
|
|
1949
|
+
/** DTO class, containing information about a product link. */
|
|
1950
|
+
export interface ProductLinkDto {
|
|
1951
|
+
/** Product link identifier. */
|
|
1952
|
+
id?: number;
|
|
1953
|
+
/** Product link version identifier. */
|
|
1954
|
+
productLinkVersionId?: number;
|
|
1955
|
+
/** Linked product identifier. */
|
|
1956
|
+
productId?: number;
|
|
1957
|
+
/** Linked product version identifier. */
|
|
1958
|
+
productVersionId?: number;
|
|
1959
|
+
/** Tenant identifier. */
|
|
1960
|
+
tenantId?: number;
|
|
1961
|
+
/** Product link name. */
|
|
1962
|
+
name?: string | null;
|
|
1963
|
+
/** Product link description. */
|
|
1964
|
+
description?: string | null;
|
|
1965
|
+
/** Product filter identifier. */
|
|
1966
|
+
productFilterId?: number;
|
|
1967
|
+
/** Product link image info. */
|
|
1968
|
+
image?: ImageInfo | null;
|
|
1969
|
+
/** Product link resources. */
|
|
1970
|
+
resources?: ProductLinkResourceDto[] | null;
|
|
1971
|
+
/** Product link creation time. */
|
|
1972
|
+
created?: string;
|
|
1973
|
+
/** Product link modification time. */
|
|
1974
|
+
lastModified?: string | null;
|
|
1975
|
+
/** Product filter options. */
|
|
1976
|
+
productFilterOptions?: ProductFilterOptionDto[] | null;
|
|
1977
|
+
/** Personalization workflow identifier. */
|
|
1978
|
+
personalizationWorkflowId?: number | null;
|
|
1979
|
+
/** Processing pipeline identifier. */
|
|
1980
|
+
processingPipelineId?: number | null;
|
|
1981
|
+
/** Default storefront identifier. */
|
|
1982
|
+
storefrontId?: number | null;
|
|
1983
|
+
/** Default storefront product identifier. */
|
|
1984
|
+
storefrontProductId?: string | null;
|
|
1985
|
+
/** Default storefront product name. */
|
|
1986
|
+
storefrontProductName?: string | null;
|
|
1987
|
+
}
|
|
1988
|
+
/** Paged list of items. */
|
|
1989
|
+
export interface PagedOfProductLinkDto {
|
|
1990
|
+
/** Items count. */
|
|
1991
|
+
total?: number;
|
|
1992
|
+
/** Items list. */
|
|
1993
|
+
items?: ProductLinkDto[] | null;
|
|
1994
|
+
}
|
|
1730
1995
|
/** Available product reference target types. */
|
|
1731
1996
|
export declare enum ProductReferenceType {
|
|
1732
1997
|
ProductSpecification = "ProductSpecification",
|
|
1733
1998
|
Product = "Product",
|
|
1734
|
-
ProductLink = "ProductLink"
|
|
1999
|
+
ProductLink = "ProductLink",
|
|
2000
|
+
ProductBundle = "ProductBundle"
|
|
1735
2001
|
}
|
|
1736
2002
|
/** DTO class, containing information about storefront product reference. */
|
|
1737
2003
|
export interface ProductReferenceDto {
|
|
@@ -1749,6 +2015,8 @@ export interface ProductReferenceDto {
|
|
|
1749
2015
|
productVersionId?: number;
|
|
1750
2016
|
/** Customer's Canvas product link identifier. */
|
|
1751
2017
|
productLinkId?: number;
|
|
2018
|
+
/** Customer's Canvas product bundle identifier. */
|
|
2019
|
+
productBundleId?: number;
|
|
1752
2020
|
/** Storefront identifier. */
|
|
1753
2021
|
storefrontId?: number;
|
|
1754
2022
|
/** Tenant identifier. */
|
|
@@ -2090,6 +2358,8 @@ export interface ProductVariantMockupDto {
|
|
|
2090
2358
|
mockupId?: string | null;
|
|
2091
2359
|
/** Mockup name. */
|
|
2092
2360
|
mockupName?: string | null;
|
|
2361
|
+
/** Mockup validation type. */
|
|
2362
|
+
mockupValidationType?: string | null;
|
|
2093
2363
|
/** Mockup type. */
|
|
2094
2364
|
mockupType?: ProductVariantMockupType;
|
|
2095
2365
|
/** Surface index indicates a surface of a design to which mockup should be applied. */
|
|
@@ -2181,6 +2451,8 @@ export interface ProjectItemDto {
|
|
|
2181
2451
|
id?: number;
|
|
2182
2452
|
/** Item name. */
|
|
2183
2453
|
name?: string | null;
|
|
2454
|
+
/** Project item group identifier. */
|
|
2455
|
+
groupId?: string | null;
|
|
2184
2456
|
/** Item quantity information. */
|
|
2185
2457
|
quantity?: number | null;
|
|
2186
2458
|
/** Order item identifier from storefront order. */
|
|
@@ -2261,10 +2533,31 @@ export interface ProjectItemResourceParametersDto {
|
|
|
2261
2533
|
/** Original resource identifier. */
|
|
2262
2534
|
resourceId?: string | null;
|
|
2263
2535
|
}
|
|
2536
|
+
export declare enum ProjectItemProductType {
|
|
2537
|
+
ProductSpecification = "ProductSpecification",
|
|
2538
|
+
Product = "Product",
|
|
2539
|
+
ProductLink = "ProductLink"
|
|
2540
|
+
}
|
|
2541
|
+
/** Additional project item product information description. */
|
|
2542
|
+
export interface ProjectItemProductSpecifierDto {
|
|
2543
|
+
/** Customer's Canvas product type. */
|
|
2544
|
+
type?: ProjectItemProductType;
|
|
2545
|
+
/** Customer's Canvas product identifier.
|
|
2546
|
+
May keep reference to `Product`, `Product Specification` and `Product Link` (depending on `Type` value). */
|
|
2547
|
+
id?: number | null;
|
|
2548
|
+
/** Customer's Canvas product version identifier.
|
|
2549
|
+
May keep reference to version of `Product`, or `Product Link` (depending on `Type` value). */
|
|
2550
|
+
versionId?: number | null;
|
|
2551
|
+
/** Customer's Canvas product variant identifier.
|
|
2552
|
+
May keep reference to version of `Product` (depending on `Type` value). */
|
|
2553
|
+
variantId?: number | null;
|
|
2554
|
+
}
|
|
2264
2555
|
/** Dto class, containing create operation parameters for a project item. */
|
|
2265
2556
|
export interface ProjectItemParametersDto {
|
|
2266
2557
|
/** Item name. */
|
|
2267
2558
|
name?: string | null;
|
|
2559
|
+
/** Project item group identifier. */
|
|
2560
|
+
groupId?: string | null;
|
|
2268
2561
|
/** Item quantity information. */
|
|
2269
2562
|
quantity?: number | null;
|
|
2270
2563
|
/** Line item index from ecommerce system order. */
|
|
@@ -2285,6 +2578,8 @@ export interface ProjectItemParametersDto {
|
|
|
2285
2578
|
sku?: string | null;
|
|
2286
2579
|
/** External resources descriptions. */
|
|
2287
2580
|
resources?: ProjectItemResourceParametersDto[] | null;
|
|
2581
|
+
/** Additional project item product information description. */
|
|
2582
|
+
productSpecifier?: ProjectItemProductSpecifierDto | null;
|
|
2288
2583
|
}
|
|
2289
2584
|
/** Dto class, containing create operation parameters for single-item project entity. */
|
|
2290
2585
|
export interface CreateSingleItemProjectDto {
|