@aurigma/axios-storefront-api-client 2.62.12 → 2.65.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.
- package/dist/cjs/storefront-api-client.d.ts +172 -26
- package/dist/cjs/storefront-api-client.js +444 -13
- package/dist/cjs/storefront-api-client.js.map +1 -1
- package/dist/esm/storefront-api-client.d.ts +172 -26
- package/dist/esm/storefront-api-client.js +443 -12
- package/dist/esm/storefront-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -105,6 +105,14 @@ export interface IProductBundlesApiClient {
|
|
|
105
105
|
* @return Success
|
|
106
106
|
*/
|
|
107
107
|
getProductBundle(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<ProductBundleDto>;
|
|
108
|
+
/**
|
|
109
|
+
* Returns a product bundle personalization parameters by product identifier.
|
|
110
|
+
* @param id Product bundle identifier.
|
|
111
|
+
* @param productBundleVersionId (optional) Product bundle version identifier.
|
|
112
|
+
* @param tenantId (optional) Tenant identifier.
|
|
113
|
+
* @return Success
|
|
114
|
+
*/
|
|
115
|
+
getProductBundlePersonalizationParameters(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<PersonalizationParametersDto>;
|
|
108
116
|
/**
|
|
109
117
|
* Returns a product bundle summary by product bundle identifier.
|
|
110
118
|
* @param id Product bundle identifier.
|
|
@@ -150,6 +158,15 @@ export declare class ProductBundlesApiClient extends ApiClientBase implements IP
|
|
|
150
158
|
*/
|
|
151
159
|
getProductBundle(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductBundleDto>;
|
|
152
160
|
protected processGetProductBundle(response: AxiosResponse): Promise<ProductBundleDto>;
|
|
161
|
+
/**
|
|
162
|
+
* Returns a product bundle personalization parameters by product identifier.
|
|
163
|
+
* @param id Product bundle identifier.
|
|
164
|
+
* @param productBundleVersionId (optional) Product bundle version identifier.
|
|
165
|
+
* @param tenantId (optional) Tenant identifier.
|
|
166
|
+
* @return Success
|
|
167
|
+
*/
|
|
168
|
+
getProductBundlePersonalizationParameters(id: number, productBundleVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationParametersDto>;
|
|
169
|
+
protected processGetProductBundlePersonalizationParameters(response: AxiosResponse): Promise<PersonalizationParametersDto>;
|
|
153
170
|
/**
|
|
154
171
|
* Returns a product bundle summary by product bundle identifier.
|
|
155
172
|
* @param id Product bundle identifier.
|
|
@@ -191,6 +208,14 @@ export interface IProductLinksApiClient {
|
|
|
191
208
|
* @return Success
|
|
192
209
|
*/
|
|
193
210
|
getProductLink(id: number, productLinkVersionId?: number | null | undefined, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<ProductLinkDto>;
|
|
211
|
+
/**
|
|
212
|
+
* Returns a product link personalization parameters by product identifier.
|
|
213
|
+
* @param id Product link identifier.
|
|
214
|
+
* @param productLinkVersionId (optional) Product link version identifier.
|
|
215
|
+
* @param tenantId (optional) Tenant identifier.
|
|
216
|
+
* @return Success
|
|
217
|
+
*/
|
|
218
|
+
getProductLinkPersonalizationParameters(id: number, productLinkVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<PersonalizationParametersDto>;
|
|
194
219
|
/**
|
|
195
220
|
* Returns a product link summary by product link identifier.
|
|
196
221
|
* @param id Product link identifier.
|
|
@@ -239,6 +264,15 @@ export declare class ProductLinksApiClient extends ApiClientBase implements IPro
|
|
|
239
264
|
*/
|
|
240
265
|
getProductLink(id: number, productLinkVersionId?: number | null | undefined, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductLinkDto>;
|
|
241
266
|
protected processGetProductLink(response: AxiosResponse): Promise<ProductLinkDto>;
|
|
267
|
+
/**
|
|
268
|
+
* Returns a product link personalization parameters by product identifier.
|
|
269
|
+
* @param id Product link identifier.
|
|
270
|
+
* @param productLinkVersionId (optional) Product link version identifier.
|
|
271
|
+
* @param tenantId (optional) Tenant identifier.
|
|
272
|
+
* @return Success
|
|
273
|
+
*/
|
|
274
|
+
getProductLinkPersonalizationParameters(id: number, productLinkVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationParametersDto>;
|
|
275
|
+
protected processGetProductLinkPersonalizationParameters(response: AxiosResponse): Promise<PersonalizationParametersDto>;
|
|
242
276
|
/**
|
|
243
277
|
* Returns a product link summary by product link identifier.
|
|
244
278
|
* @param id Product link identifier.
|
|
@@ -372,6 +406,14 @@ export interface IProductReferencesApiClient {
|
|
|
372
406
|
* @return Success
|
|
373
407
|
*/
|
|
374
408
|
get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Promise<ProductReferenceDto>;
|
|
409
|
+
/**
|
|
410
|
+
* Returns a personalization parameters by the storefront product reference.
|
|
411
|
+
* @param reference Product reference - external reference to Customer's Canvas product, e.g online store product identifier.
|
|
412
|
+
* @param storefrontId Storefront identifier.
|
|
413
|
+
* @param tenantId (optional) Tenant identifier.
|
|
414
|
+
* @return Success
|
|
415
|
+
*/
|
|
416
|
+
getPersonalizationParameters(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Promise<PersonalizationParametersDto>;
|
|
375
417
|
/**
|
|
376
418
|
* Returns a product specification by the storefront product reference.
|
|
377
419
|
* @param reference Product reference - external reference to Customer's Canvas product, e.g online store product identifier.
|
|
@@ -554,6 +596,15 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
|
|
|
554
596
|
*/
|
|
555
597
|
get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
|
|
556
598
|
protected processGet(response: AxiosResponse): Promise<ProductReferenceDto>;
|
|
599
|
+
/**
|
|
600
|
+
* Returns a personalization parameters by the storefront product reference.
|
|
601
|
+
* @param reference Product reference - external reference to Customer's Canvas product, e.g online store product identifier.
|
|
602
|
+
* @param storefrontId Storefront identifier.
|
|
603
|
+
* @param tenantId (optional) Tenant identifier.
|
|
604
|
+
* @return Success
|
|
605
|
+
*/
|
|
606
|
+
getPersonalizationParameters(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationParametersDto>;
|
|
607
|
+
protected processGetPersonalizationParameters(response: AxiosResponse): Promise<PersonalizationParametersDto>;
|
|
557
608
|
/**
|
|
558
609
|
* Returns a product specification by the storefront product reference.
|
|
559
610
|
* @param reference Product reference - external reference to Customer's Canvas product, e.g online store product identifier.
|
|
@@ -646,6 +697,14 @@ export interface IProductsApiClient {
|
|
|
646
697
|
* @return Success
|
|
647
698
|
*/
|
|
648
699
|
getProduct(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<ProductDto>;
|
|
700
|
+
/**
|
|
701
|
+
* Returns a product personalization parameters by product identifier.
|
|
702
|
+
* @param id Product identifier.
|
|
703
|
+
* @param productVersionId (optional) Product version identifier.
|
|
704
|
+
* @param tenantId (optional) Tenant identifier.
|
|
705
|
+
* @return Success
|
|
706
|
+
*/
|
|
707
|
+
getProductSummary(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<PersonalizationParametersDto>;
|
|
649
708
|
/**
|
|
650
709
|
* Returns a product summary by product identifier.
|
|
651
710
|
* @param id Product identifier.
|
|
@@ -656,7 +715,7 @@ export interface IProductsApiClient {
|
|
|
656
715
|
* @param tenantId (optional) Tenant identifier.
|
|
657
716
|
* @return Success
|
|
658
717
|
*/
|
|
659
|
-
|
|
718
|
+
getProductSummary2(id: number, productVersionId?: number | null | undefined, productLinkId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Promise<ProductSummaryDto>;
|
|
660
719
|
/**
|
|
661
720
|
* Returns a list of product options.
|
|
662
721
|
* @param id Product identifier.
|
|
@@ -823,6 +882,15 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
|
|
|
823
882
|
*/
|
|
824
883
|
getProduct(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductDto>;
|
|
825
884
|
protected processGetProduct(response: AxiosResponse): Promise<ProductDto>;
|
|
885
|
+
/**
|
|
886
|
+
* Returns a product personalization parameters by product identifier.
|
|
887
|
+
* @param id Product identifier.
|
|
888
|
+
* @param productVersionId (optional) Product version identifier.
|
|
889
|
+
* @param tenantId (optional) Tenant identifier.
|
|
890
|
+
* @return Success
|
|
891
|
+
*/
|
|
892
|
+
getProductSummary(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationParametersDto>;
|
|
893
|
+
protected processGetProductSummary(response: AxiosResponse): Promise<PersonalizationParametersDto>;
|
|
826
894
|
/**
|
|
827
895
|
* Returns a product summary by product identifier.
|
|
828
896
|
* @param id Product identifier.
|
|
@@ -833,8 +901,8 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
|
|
|
833
901
|
* @param tenantId (optional) Tenant identifier.
|
|
834
902
|
* @return Success
|
|
835
903
|
*/
|
|
836
|
-
|
|
837
|
-
protected
|
|
904
|
+
getProductSummary2(id: number, productVersionId?: number | null | undefined, productLinkId?: number | null | undefined, productVariantId?: number | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductSummaryDto>;
|
|
905
|
+
protected processGetProductSummary2(response: AxiosResponse): Promise<ProductSummaryDto>;
|
|
838
906
|
/**
|
|
839
907
|
* Returns a list of product options.
|
|
840
908
|
* @param id Product identifier.
|
|
@@ -1003,6 +1071,13 @@ export interface IProductSpecificationsApiClient {
|
|
|
1003
1071
|
* @return Success
|
|
1004
1072
|
*/
|
|
1005
1073
|
get(id: number, tenantId?: number | null | undefined): Promise<ProductSpecificationDto>;
|
|
1074
|
+
/**
|
|
1075
|
+
* Returns a product specification personalization parameters by product identifier.
|
|
1076
|
+
* @param id Product specification identifier.
|
|
1077
|
+
* @param tenantId (optional) Tenant identifier.
|
|
1078
|
+
* @return Success
|
|
1079
|
+
*/
|
|
1080
|
+
getProductSpecificationSummary(id: number, tenantId?: number | null | undefined): Promise<PersonalizationParametersDto>;
|
|
1006
1081
|
/**
|
|
1007
1082
|
* Returns a product personalization workflow description by product specification identifier.
|
|
1008
1083
|
* @param id Product specification identifier.
|
|
@@ -1035,6 +1110,14 @@ export declare class ProductSpecificationsApiClient extends ApiClientBase implem
|
|
|
1035
1110
|
*/
|
|
1036
1111
|
get(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductSpecificationDto>;
|
|
1037
1112
|
protected processGet(response: AxiosResponse): Promise<ProductSpecificationDto>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Returns a product specification personalization parameters by product identifier.
|
|
1115
|
+
* @param id Product specification identifier.
|
|
1116
|
+
* @param tenantId (optional) Tenant identifier.
|
|
1117
|
+
* @return Success
|
|
1118
|
+
*/
|
|
1119
|
+
getProductSpecificationSummary(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationParametersDto>;
|
|
1120
|
+
protected processGetProductSpecificationSummary(response: AxiosResponse): Promise<PersonalizationParametersDto>;
|
|
1038
1121
|
/**
|
|
1039
1122
|
* Returns a product personalization workflow description by product specification identifier.
|
|
1040
1123
|
* @param id Product specification identifier.
|
|
@@ -1129,7 +1212,7 @@ export interface IProjectsApiClient {
|
|
|
1129
1212
|
* @param tenantId (optional) Tenant identifier.
|
|
1130
1213
|
* @return Success
|
|
1131
1214
|
*/
|
|
1132
|
-
getAvailableTransitions(id: number, tenantId?: number | null | undefined): Promise<
|
|
1215
|
+
getAvailableTransitions(id: number, tenantId?: number | null | undefined): Promise<PagedOfProjectStatusTransitionDto>;
|
|
1133
1216
|
/**
|
|
1134
1217
|
* Changes the project status.
|
|
1135
1218
|
* @param id Project identifier
|
|
@@ -1165,7 +1248,7 @@ export interface IProjectsApiClient {
|
|
|
1165
1248
|
* @param tenantId (optional) Tenant identifier.
|
|
1166
1249
|
* @return Success
|
|
1167
1250
|
*/
|
|
1168
|
-
getAllTransitions(tenantId?: number | null | undefined): Promise<
|
|
1251
|
+
getAllTransitions(tenantId?: number | null | undefined): Promise<PagedOfProjectStatusTransitionDto>;
|
|
1169
1252
|
/**
|
|
1170
1253
|
* Returns a project processing results.
|
|
1171
1254
|
* @param id Project identifier.
|
|
@@ -1305,8 +1388,8 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
|
|
|
1305
1388
|
* @param tenantId (optional) Tenant identifier.
|
|
1306
1389
|
* @return Success
|
|
1307
1390
|
*/
|
|
1308
|
-
getAvailableTransitions(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<
|
|
1309
|
-
protected processGetAvailableTransitions(response: AxiosResponse): Promise<
|
|
1391
|
+
getAvailableTransitions(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectStatusTransitionDto>;
|
|
1392
|
+
protected processGetAvailableTransitions(response: AxiosResponse): Promise<PagedOfProjectStatusTransitionDto>;
|
|
1310
1393
|
/**
|
|
1311
1394
|
* Changes the project status.
|
|
1312
1395
|
* @param id Project identifier
|
|
@@ -1346,8 +1429,8 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
|
|
|
1346
1429
|
* @param tenantId (optional) Tenant identifier.
|
|
1347
1430
|
* @return Success
|
|
1348
1431
|
*/
|
|
1349
|
-
getAllTransitions(tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<
|
|
1350
|
-
protected processGetAllTransitions(response: AxiosResponse): Promise<
|
|
1432
|
+
getAllTransitions(tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectStatusTransitionDto>;
|
|
1433
|
+
protected processGetAllTransitions(response: AxiosResponse): Promise<PagedOfProjectStatusTransitionDto>;
|
|
1351
1434
|
/**
|
|
1352
1435
|
* Returns a project processing results.
|
|
1353
1436
|
* @param id Project identifier.
|
|
@@ -1402,10 +1485,11 @@ export interface IStorefrontsApiClient {
|
|
|
1402
1485
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
1403
1486
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
1404
1487
|
* @param search (optional) Search string for partial match.
|
|
1488
|
+
* @param status (optional) Storefront status.
|
|
1405
1489
|
* @param tenantId (optional) Tenant identifier.
|
|
1406
1490
|
* @return Success
|
|
1407
1491
|
*/
|
|
1408
|
-
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Promise<PagedOfStorefrontDto>;
|
|
1492
|
+
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, status?: StorefrontStatus | null | undefined, tenantId?: number | null | undefined): Promise<PagedOfStorefrontDto>;
|
|
1409
1493
|
/**
|
|
1410
1494
|
* Returns a storefront by identifier.
|
|
1411
1495
|
* @param id Storefront identifier.
|
|
@@ -1426,10 +1510,11 @@ export declare class StorefrontsApiClient extends ApiClientBase implements IStor
|
|
|
1426
1510
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
1427
1511
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
1428
1512
|
* @param search (optional) Search string for partial match.
|
|
1513
|
+
* @param status (optional) Storefront status.
|
|
1429
1514
|
* @param tenantId (optional) Tenant identifier.
|
|
1430
1515
|
* @return Success
|
|
1431
1516
|
*/
|
|
1432
|
-
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontDto>;
|
|
1517
|
+
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, status?: StorefrontStatus | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontDto>;
|
|
1433
1518
|
protected processGetAll(response: AxiosResponse): Promise<PagedOfStorefrontDto>;
|
|
1434
1519
|
/**
|
|
1435
1520
|
* Returns a storefront by identifier.
|
|
@@ -1760,6 +1845,49 @@ export interface GeneralConflictDto {
|
|
|
1760
1845
|
/** Coflict type. */
|
|
1761
1846
|
type?: ConflictType;
|
|
1762
1847
|
}
|
|
1848
|
+
/** Customer's Canvas product type. */
|
|
1849
|
+
export declare enum ProductType {
|
|
1850
|
+
ProductSpecification = "ProductSpecification",
|
|
1851
|
+
Product = "Product",
|
|
1852
|
+
ProductLink = "ProductLink",
|
|
1853
|
+
ProductBundle = "ProductBundle"
|
|
1854
|
+
}
|
|
1855
|
+
/** Type of editor that should be configured by workflow. */
|
|
1856
|
+
export declare enum WorkflowType {
|
|
1857
|
+
UIFramework = "UIFramework",
|
|
1858
|
+
SimpleEditor = "SimpleEditor",
|
|
1859
|
+
DesignEditor = "DesignEditor",
|
|
1860
|
+
WorkflowElements = "WorkflowElements"
|
|
1861
|
+
}
|
|
1862
|
+
/** DTO class, containing information needed to start personalization process. */
|
|
1863
|
+
export interface PersonalizationParametersDto {
|
|
1864
|
+
/** Customer's Canvas product type. */
|
|
1865
|
+
productType?: ProductType;
|
|
1866
|
+
/** Customer's Canvas product identifier.
|
|
1867
|
+
May keep reference to `Product`, `Product Specification`, `Product Link` or `Product Bundle` (depending on `Type` value). */
|
|
1868
|
+
id?: number | null;
|
|
1869
|
+
/** Customer's Canvas product version identifier.
|
|
1870
|
+
May keep reference to version of `Product`, `Product Link` or `Product Bundle` (depending on `Type` value). */
|
|
1871
|
+
versionId?: number | null;
|
|
1872
|
+
/** API Gateway URL address. */
|
|
1873
|
+
apiGatewayUrl?: string | null;
|
|
1874
|
+
/** Design Editor application URL address. */
|
|
1875
|
+
designEditorUrl?: string | null;
|
|
1876
|
+
/** Preflight application URL address. */
|
|
1877
|
+
preflightUrl?: string | null;
|
|
1878
|
+
/** Dynamic Image application URL address. */
|
|
1879
|
+
dynamicImageUrl?: string | null;
|
|
1880
|
+
/** Link to UI-Framework bundle. */
|
|
1881
|
+
uiFrameworkUrl?: string | null;
|
|
1882
|
+
/** Link to Simple Editor bundle. */
|
|
1883
|
+
simpleEditorUrl?: string | null;
|
|
1884
|
+
/** Link to Workflow Elements bundle. */
|
|
1885
|
+
workflowElementsUrl?: string | null;
|
|
1886
|
+
/** Personalization workflow type. */
|
|
1887
|
+
workflowType?: WorkflowType;
|
|
1888
|
+
/** Serialized content of compiled personalization workflow. */
|
|
1889
|
+
workflowContent?: string | null;
|
|
1890
|
+
}
|
|
1763
1891
|
/** Available appearance types. */
|
|
1764
1892
|
export declare enum AppearanceDataType {
|
|
1765
1893
|
Radio = "Radio",
|
|
@@ -1858,6 +1986,8 @@ export interface ProductSummaryDto {
|
|
|
1858
1986
|
productVariantSku?: string | null;
|
|
1859
1987
|
/** Product variant price. If product variant is not specified, should be null. */
|
|
1860
1988
|
productVariantPrice?: number | null;
|
|
1989
|
+
/** Product variant weight. If product variant is not specified, should be null. */
|
|
1990
|
+
productVariantWeight?: number | null;
|
|
1861
1991
|
/** Product variant availability. If product variant is not specified, should be null. */
|
|
1862
1992
|
isProductVariantAvailable?: boolean | null;
|
|
1863
1993
|
/** Product name. If product link is specified, name of link will be used. */
|
|
@@ -1882,13 +2012,6 @@ export interface ProductSummaryDto {
|
|
|
1882
2012
|
If product link or variant is specified, product options will be filtered by link or variant options. */
|
|
1883
2013
|
options?: ProductSummaryOptionDto[] | null;
|
|
1884
2014
|
}
|
|
1885
|
-
/** Type of editor that should be configured by workflow. */
|
|
1886
|
-
export declare enum WorkflowType {
|
|
1887
|
-
UIFramework = "UIFramework",
|
|
1888
|
-
SimpleEditor = "SimpleEditor",
|
|
1889
|
-
DesignEditor = "DesignEditor",
|
|
1890
|
-
WorkflowElements = "WorkflowElements"
|
|
1891
|
-
}
|
|
1892
2015
|
/** Personalization workflow description DTO. */
|
|
1893
2016
|
export interface PersonalizationWorkflowDto {
|
|
1894
2017
|
/** Workflow identifier. */
|
|
@@ -2233,6 +2356,8 @@ export interface ProductVariantDto {
|
|
|
2233
2356
|
isAvailable?: boolean;
|
|
2234
2357
|
/** Product variant price. */
|
|
2235
2358
|
price?: number | null;
|
|
2359
|
+
/** Product variant weight. */
|
|
2360
|
+
weight?: number | null;
|
|
2236
2361
|
/** Product variant sort index. */
|
|
2237
2362
|
sortIndex?: number;
|
|
2238
2363
|
/** Product variant identifier (usually SKU) in storefront / online store. */
|
|
@@ -2487,6 +2612,8 @@ export interface ProjectDto {
|
|
|
2487
2612
|
orderUrl?: string | null;
|
|
2488
2613
|
/** Order number in ecommerce system. */
|
|
2489
2614
|
orderNumber?: number | null;
|
|
2615
|
+
/** Order name in ecommerce system. */
|
|
2616
|
+
orderName?: string | null;
|
|
2490
2617
|
/** Order item identifier from storefront order. */
|
|
2491
2618
|
orderLineItemId?: string | null;
|
|
2492
2619
|
/** Order item index from storefront order. */
|
|
@@ -2594,6 +2721,8 @@ export interface CreateSingleItemProjectDto {
|
|
|
2594
2721
|
orderUrl?: string | null;
|
|
2595
2722
|
/** Order number in ecommerce system. */
|
|
2596
2723
|
orderNumber?: number | null;
|
|
2724
|
+
/** Order name in ecommerce system. */
|
|
2725
|
+
orderName?: string | null;
|
|
2597
2726
|
/** Customer identifier in ecommerce system. */
|
|
2598
2727
|
customerId?: string | null;
|
|
2599
2728
|
/** Customer name in ecommerce system. */
|
|
@@ -2615,6 +2744,8 @@ export interface CreateMultiItemProjectDto {
|
|
|
2615
2744
|
orderUrl?: string | null;
|
|
2616
2745
|
/** Order number in ecommerce system. */
|
|
2617
2746
|
orderNumber?: number | null;
|
|
2747
|
+
/** Order name in ecommerce system. */
|
|
2748
|
+
orderName?: string | null;
|
|
2618
2749
|
/** Customer identifier in ecommerce system. */
|
|
2619
2750
|
customerId?: string | null;
|
|
2620
2751
|
/** Customer name in ecommerce system. */
|
|
@@ -2636,6 +2767,8 @@ export interface OrderDetailsDto {
|
|
|
2636
2767
|
orderUrl?: string | null;
|
|
2637
2768
|
/** Order number in ecommerce system. */
|
|
2638
2769
|
orderNumber?: number | null;
|
|
2770
|
+
/** Order name in ecommerce system. */
|
|
2771
|
+
orderName?: string | null;
|
|
2639
2772
|
/** Line item index from ecommerce system order. */
|
|
2640
2773
|
orderLineItemIndex?: number | null;
|
|
2641
2774
|
/** Line Item identifier from ecommerce system order. */
|
|
@@ -2734,8 +2867,10 @@ export interface CreateProjectBySpecificPipelineScenarioDto {
|
|
|
2734
2867
|
/** 'Specific Pipeline' scenario params. For more information check BackOffice.Web.PublicApi.ApiStorefront.Models.SpecificPipelineScenarioDto. */
|
|
2735
2868
|
scenario: SpecificPipelineScenarioDto;
|
|
2736
2869
|
}
|
|
2737
|
-
/** Project transition dto class. */
|
|
2738
|
-
export interface
|
|
2870
|
+
/** Project status transition dto class. */
|
|
2871
|
+
export interface ProjectStatusTransitionDto {
|
|
2872
|
+
/** Transition identifier. */
|
|
2873
|
+
id?: number;
|
|
2739
2874
|
/** Transition identifying name. */
|
|
2740
2875
|
name?: string | null;
|
|
2741
2876
|
/** Transition display name. */
|
|
@@ -2746,23 +2881,27 @@ export interface ProjectTransitionDto {
|
|
|
2746
2881
|
resultStatus?: number;
|
|
2747
2882
|
}
|
|
2748
2883
|
/** Paged list of items. */
|
|
2749
|
-
export interface
|
|
2884
|
+
export interface PagedOfProjectStatusTransitionDto {
|
|
2750
2885
|
/** Items count. */
|
|
2751
2886
|
total?: number;
|
|
2752
2887
|
/** Items list. */
|
|
2753
|
-
items?:
|
|
2888
|
+
items?: ProjectStatusTransitionDto[] | null;
|
|
2754
2889
|
}
|
|
2755
|
-
/**
|
|
2890
|
+
/** Project status parameters. */
|
|
2756
2891
|
export interface ProjectStatusDto {
|
|
2892
|
+
/** Project status identifier. */
|
|
2893
|
+
id?: number;
|
|
2757
2894
|
/** Status code. */
|
|
2758
2895
|
code?: number;
|
|
2896
|
+
/** Status mark color. */
|
|
2897
|
+
color?: string | null;
|
|
2759
2898
|
/** Status display name. */
|
|
2760
2899
|
displayName?: string | null;
|
|
2761
2900
|
}
|
|
2762
|
-
/** Dto class, containing information about the project transition conflict. */
|
|
2763
|
-
export interface
|
|
2901
|
+
/** Dto class, containing information about the project status transition conflict. */
|
|
2902
|
+
export interface ProjectStatusTransitionConflictDto {
|
|
2764
2903
|
/** A list of all available status transitions for the project. */
|
|
2765
|
-
availableTransitions?:
|
|
2904
|
+
availableTransitions?: ProjectStatusTransitionDto[] | null;
|
|
2766
2905
|
/** Problem description. */
|
|
2767
2906
|
description?: string | null;
|
|
2768
2907
|
/** Coflict type. */
|
|
@@ -2838,6 +2977,11 @@ export declare enum StorefrontType {
|
|
|
2838
2977
|
Shopify = "Shopify",
|
|
2839
2978
|
ShopifyCustom = "ShopifyCustom"
|
|
2840
2979
|
}
|
|
2980
|
+
/** Storefront status. */
|
|
2981
|
+
export declare enum StorefrontStatus {
|
|
2982
|
+
Dev = "Dev",
|
|
2983
|
+
Prod = "Prod"
|
|
2984
|
+
}
|
|
2841
2985
|
/** Dto class, containing information about a storefront. */
|
|
2842
2986
|
export interface StorefrontDto {
|
|
2843
2987
|
/** Storefront identifier. */
|
|
@@ -2850,6 +2994,8 @@ export interface StorefrontDto {
|
|
|
2850
2994
|
type?: StorefrontType;
|
|
2851
2995
|
/** Storefront entity creation date and time. */
|
|
2852
2996
|
created?: string;
|
|
2997
|
+
/** Storefront status. */
|
|
2998
|
+
status?: StorefrontStatus;
|
|
2853
2999
|
}
|
|
2854
3000
|
/** Paged list of items. */
|
|
2855
3001
|
export interface PagedOfStorefrontDto {
|