@aurigma/axios-storefront-api-client 2.54.34 → 2.54.43

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.
@@ -197,14 +197,6 @@ export interface IProductReferencesApiClient {
197
197
  * @return Success
198
198
  */
199
199
  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): Promise<PagedOfProductReferenceDto>;
200
- /**
201
- * Creates a new storefront product reference.
202
- * @param storefrontId Storefront identifier.
203
- * @param tenantId (optional) Tenant identifier.
204
- * @param body (optional) Create operation parameters.
205
- * @return Success
206
- */
207
- create(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProductReferenceDto | null | undefined): Promise<ProductReferenceDto>;
208
200
  /**
209
201
  * Returns a list of product specifications associated with storefront product references relevant to the specified query parameters.
210
202
  * @param storefrontId Storefront identifier.
@@ -270,14 +262,6 @@ export interface IProductReferencesApiClient {
270
262
  * @return Success
271
263
  */
272
264
  get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Promise<ProductReferenceDto>;
273
- /**
274
- * Deletes the storefront product reference.
275
- * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier.
276
- * @param storefrontId Storefront identifier.
277
- * @param tenantId (optional) Tenant identifier.
278
- * @return Success
279
- */
280
- delete(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Promise<ProductReferenceDto>;
281
265
  /**
282
266
  * Returns a product specification by the storefront product reference.
283
267
  * @param reference Product reference - external reference to Customer's Canvas product, e.g online store product identifier.
@@ -332,15 +316,6 @@ export interface IProductReferencesApiClient {
332
316
  * @return Success
333
317
  */
334
318
  getPersonalizationWorkflow(reference: string | null, storefrontId?: number | undefined, tenantId?: number | null | undefined): Promise<PersonalizationWorkflowDto>;
335
- /**
336
- * Returns a product personalization workflow configuration by storefront product reference.
337
- * @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
338
- * @param storefrontId Storefront identifier.
339
- * @param tenantId (optional) Tenant identifier.
340
- * @return Success
341
- * @deprecated
342
- */
343
- getProductConfig(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Promise<string>;
344
319
  }
345
320
  export declare class ProductReferencesApiClient extends ApiClientBase implements IProductReferencesApiClient {
346
321
  private instance;
@@ -367,15 +342,6 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
367
342
  */
368
343
  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, cancelToken?: CancelToken | undefined): Promise<PagedOfProductReferenceDto>;
369
344
  protected processGetAll(response: AxiosResponse): Promise<PagedOfProductReferenceDto>;
370
- /**
371
- * Creates a new storefront product reference.
372
- * @param storefrontId Storefront identifier.
373
- * @param tenantId (optional) Tenant identifier.
374
- * @param body (optional) Create operation parameters.
375
- * @return Success
376
- */
377
- create(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProductReferenceDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
378
- protected processCreate(response: AxiosResponse): Promise<ProductReferenceDto>;
379
345
  /**
380
346
  * Returns a list of product specifications associated with storefront product references relevant to the specified query parameters.
381
347
  * @param storefrontId Storefront identifier.
@@ -445,15 +411,6 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
445
411
  */
446
412
  get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
447
413
  protected processGet(response: AxiosResponse): Promise<ProductReferenceDto>;
448
- /**
449
- * Deletes the storefront product reference.
450
- * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier.
451
- * @param storefrontId Storefront identifier.
452
- * @param tenantId (optional) Tenant identifier.
453
- * @return Success
454
- */
455
- delete(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
456
- protected processDelete(response: AxiosResponse): Promise<ProductReferenceDto>;
457
414
  /**
458
415
  * Returns a product specification by the storefront product reference.
459
416
  * @param reference Product reference - external reference to Customer's Canvas product, e.g online store product identifier.
@@ -514,16 +471,6 @@ export declare class ProductReferencesApiClient extends ApiClientBase implements
514
471
  */
515
472
  getPersonalizationWorkflow(reference: string | null, storefrontId?: number | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationWorkflowDto>;
516
473
  protected processGetPersonalizationWorkflow(response: AxiosResponse): Promise<PersonalizationWorkflowDto>;
517
- /**
518
- * Returns a product personalization workflow configuration by storefront product reference.
519
- * @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
520
- * @param storefrontId Storefront identifier.
521
- * @param tenantId (optional) Tenant identifier.
522
- * @return Success
523
- * @deprecated
524
- */
525
- getProductConfig(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<string>;
526
- protected processGetProductConfig(response: AxiosResponse): Promise<string>;
527
474
  }
528
475
  export interface IProductsApiClient {
529
476
  /**
@@ -678,15 +625,6 @@ export interface IProductsApiClient {
678
625
  * @return Success
679
626
  */
680
627
  updateProductVariantResources(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Promise<void>;
681
- /**
682
- * Set product variant price.
683
- * @param id Product identifier.
684
- * @param productVersionId (optional) Product version identifier.
685
- * @param tenantId (optional) Tenant identifier.
686
- * @param body (optional) Set product variant price operation parameters.
687
- * @return Success
688
- */
689
- setProductVariantPrice(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto[] | null | undefined): Promise<void>;
690
628
  /**
691
629
  * Returns a list of all available product tags.
692
630
  * @param search (optional) Search string for partial match.
@@ -875,16 +813,6 @@ export declare class ProductsApiClient extends ApiClientBase implements IProduct
875
813
  */
876
814
  updateProductVariantResources(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
877
815
  protected processUpdateProductVariantResources(response: AxiosResponse): Promise<void>;
878
- /**
879
- * Set product variant price.
880
- * @param id Product identifier.
881
- * @param productVersionId (optional) Product version identifier.
882
- * @param tenantId (optional) Tenant identifier.
883
- * @param body (optional) Set product variant price operation parameters.
884
- * @return Success
885
- */
886
- setProductVariantPrice(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto[] | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
887
- protected processSetProductVariantPrice(response: AxiosResponse): Promise<void>;
888
816
  /**
889
817
  * Returns a list of all available product tags.
890
818
  * @param search (optional) Search string for partial match.
@@ -930,14 +858,6 @@ export interface IProductSpecificationsApiClient {
930
858
  * @return Success
931
859
  */
932
860
  getPersonalizationWorkflow(id: number, tenantId?: number | null | undefined): Promise<PersonalizationWorkflowDto>;
933
- /**
934
- * Returns a product personalization workflow configuration by product specification identifier.
935
- * @param id Product specification identifier.
936
- * @param tenantId (optional) Tenant identifier.
937
- * @return Success
938
- * @deprecated
939
- */
940
- getConfiguration(id: number, tenantId?: number | null | undefined): Promise<string>;
941
861
  }
942
862
  export declare class ProductSpecificationsApiClient extends ApiClientBase implements IProductSpecificationsApiClient {
943
863
  private instance;
@@ -971,15 +891,6 @@ export declare class ProductSpecificationsApiClient extends ApiClientBase implem
971
891
  */
972
892
  getPersonalizationWorkflow(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PersonalizationWorkflowDto>;
973
893
  protected processGetPersonalizationWorkflow(response: AxiosResponse): Promise<PersonalizationWorkflowDto>;
974
- /**
975
- * Returns a product personalization workflow configuration by product specification identifier.
976
- * @param id Product specification identifier.
977
- * @param tenantId (optional) Tenant identifier.
978
- * @return Success
979
- * @deprecated
980
- */
981
- getConfiguration(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<string>;
982
- protected processGetConfiguration(response: AxiosResponse): Promise<string>;
983
894
  }
984
895
  export interface IProjectsApiClient {
985
896
  /**
@@ -1103,27 +1014,6 @@ export interface IProjectsApiClient {
1103
1014
  * @return Success
1104
1015
  */
1105
1016
  getAllTransitions(tenantId?: number | null | undefined): Promise<PagedOfProjectTransitionDto>;
1106
- /**
1107
- * Returns an url to download project print file.
1108
- * @param id Project identifier.
1109
- * @param designUserId Design owner identifier.
1110
- * @param designId Design identifier.
1111
- * @param tenantId (optional) Tenant identifier.
1112
- * @return Success
1113
- * @deprecated
1114
- */
1115
- getProjectPdfUrl(id: number, designUserId: string, designId: string, tenantId?: number | null | undefined): Promise<ProjectPdfResultDto>;
1116
- /**
1117
- * Returns an archive file, which contains all project print files.
1118
- * @param id Project identifier.
1119
- * @param designUserId Design owner identifier.
1120
- * @param designId Design identifier.
1121
- * @param attachment (optional) If set to 'true', the requested file will be provided as an attachment with proper filename supplied (default value is 'false').
1122
- * @param tenantId (optional) Tenant identifier.
1123
- * @return Success
1124
- * @deprecated
1125
- */
1126
- getProjectPdfZip(id: number, designUserId: string, designId: string, attachment?: boolean | null | undefined, tenantId?: number | null | undefined): Promise<FileResponse>;
1127
1017
  /**
1128
1018
  * Returns a project processing results.
1129
1019
  * @param id Project identifier.
@@ -1306,29 +1196,6 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
1306
1196
  */
1307
1197
  getAllTransitions(tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectTransitionDto>;
1308
1198
  protected processGetAllTransitions(response: AxiosResponse): Promise<PagedOfProjectTransitionDto>;
1309
- /**
1310
- * Returns an url to download project print file.
1311
- * @param id Project identifier.
1312
- * @param designUserId Design owner identifier.
1313
- * @param designId Design identifier.
1314
- * @param tenantId (optional) Tenant identifier.
1315
- * @return Success
1316
- * @deprecated
1317
- */
1318
- getProjectPdfUrl(id: number, designUserId: string, designId: string, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectPdfResultDto>;
1319
- protected processGetProjectPdfUrl(response: AxiosResponse): Promise<ProjectPdfResultDto>;
1320
- /**
1321
- * Returns an archive file, which contains all project print files.
1322
- * @param id Project identifier.
1323
- * @param designUserId Design owner identifier.
1324
- * @param designId Design identifier.
1325
- * @param attachment (optional) If set to 'true', the requested file will be provided as an attachment with proper filename supplied (default value is 'false').
1326
- * @param tenantId (optional) Tenant identifier.
1327
- * @return Success
1328
- * @deprecated
1329
- */
1330
- getProjectPdfZip(id: number, designUserId: string, designId: string, attachment?: boolean | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
1331
- protected processGetProjectPdfZip(response: AxiosResponse): Promise<FileResponse>;
1332
1199
  /**
1333
1200
  * Returns a project processing results.
1334
1201
  * @param id Project identifier.
@@ -1887,47 +1754,6 @@ export interface PagedOfProductReferenceDto {
1887
1754
  /** Items list. */
1888
1755
  items?: ProductReferenceDto[] | null;
1889
1756
  }
1890
- /** Dto class, containing create operation parameters for storefront product reference. */
1891
- export interface CreateProductReferenceDto {
1892
- /** Product reference is an external reference to Customer's Canvas product, e.g online store product identifier. */
1893
- productReference: string;
1894
- /** Product reference target type. */
1895
- productReferenceType?: ProductReferenceType;
1896
- /** Product reference name, e.g. online store product name. */
1897
- productReferenceName?: string | null;
1898
- /** Customer's Canvas product specification identifier. */
1899
- productSpecificationId?: number | null;
1900
- /** Customer's Canvas product identifier. */
1901
- productId?: number | null;
1902
- /** Customer's Canvas product link identifier. */
1903
- productLinkId?: number | null;
1904
- }
1905
- /** DTO class, containing information about storefront product reference. */
1906
- export interface ProductReferenceInfo {
1907
- /** Product reference is an external reference to Customer's Canvas product, e.g online store product identifier. */
1908
- productReference?: string | null;
1909
- /** Product reference target type. */
1910
- productReferenceType?: ProductReferenceType;
1911
- /** Product reference name, e.g. online store product name. */
1912
- productReferenceName?: string | null;
1913
- /** Customer's Canvas product specification identifier. */
1914
- productSpecificationId?: number;
1915
- /** Customer's Canvas product identifier. */
1916
- productId?: number;
1917
- /** Customer's Canvas product link identifier. */
1918
- productLinkId?: number;
1919
- /** Storefront identifier. */
1920
- storefrontId?: number;
1921
- }
1922
- /** DTO class, containing information about storefront product reference creation conflict. */
1923
- export interface ProductReferenceCreationConflictDto {
1924
- /** List of storefront product references, which are already exist. */
1925
- existingReferences?: ProductReferenceInfo[] | null;
1926
- /** Problem description. */
1927
- description?: string | null;
1928
- /** Coflict type. */
1929
- type?: ConflictType;
1930
- }
1931
1757
  /** Dto class, containing information about product attribute. */
1932
1758
  export interface ProductAttributeDto {
1933
1759
  /** Product attribute name. */
@@ -1945,6 +1771,8 @@ export interface ProductSpecificationDto {
1945
1771
  tenantId?: number;
1946
1772
  /** Product specification name. */
1947
1773
  name?: string | null;
1774
+ /** Product specification description. */
1775
+ description?: string | null;
1948
1776
  /** List of product attributes. */
1949
1777
  productAttributes?: ProductAttributeDto[] | null;
1950
1778
  /** Product specification creation time. */
@@ -2115,6 +1943,8 @@ export interface ProductVariantOptionDto {
2115
1943
  export interface ProductVariantDto {
2116
1944
  /** Product variant identifier. */
2117
1945
  id?: number;
1946
+ /** Product variant unique identifier. */
1947
+ uid?: string | null;
2118
1948
  /** Product version identifier. */
2119
1949
  productVersionId?: number;
2120
1950
  /** Product identifier. */
@@ -2129,6 +1959,8 @@ export interface ProductVariantDto {
2129
1959
  sortIndex?: number;
2130
1960
  /** Product variant identifier (usually SKU) in storefront / online store. */
2131
1961
  storefrontProductVariantId?: string | null;
1962
+ /** Product variant SKU. */
1963
+ sku?: string | null;
2132
1964
  /** A list of product variant options. */
2133
1965
  productVariantOptions?: ProductVariantOptionDto[] | null;
2134
1966
  }
@@ -2187,6 +2019,8 @@ export interface ProductVariantDesignDto {
2187
2019
  sortIndex?: number;
2188
2020
  /** Product variant identifier (usually SKU) in storefront / online store. */
2189
2021
  storefrontProductVariantId?: string | null;
2022
+ /** Product variant SKU. */
2023
+ sku?: string | null;
2190
2024
  /** Design identifier. */
2191
2025
  designId?: string | null;
2192
2026
  /** Design name. */
@@ -2233,6 +2067,8 @@ export interface ProductVariantMockupDto {
2233
2067
  tenantId?: number | null;
2234
2068
  /** Product variant identifier in online store (usually SKU). */
2235
2069
  storefrontProductVariantId?: string | null;
2070
+ /** Product variant SKU. */
2071
+ sku?: string | null;
2236
2072
  /** Mockup identifier. */
2237
2073
  mockupId?: string | null;
2238
2074
  /** Mockup name. */
@@ -2271,6 +2107,8 @@ export interface ProductVariantDocumentDto {
2271
2107
  sortIndex?: number;
2272
2108
  /** Product variant identifier (usually SKU) in storefront / online store. */
2273
2109
  storefrontProductVariantId?: string | null;
2110
+ /** Product variant SKU. */
2111
+ sku?: string | null;
2274
2112
  /** Document identifier. */
2275
2113
  documentId?: string | null;
2276
2114
  /** Document name. */
@@ -2289,13 +2127,6 @@ export interface PagedOfProductVariantDocumentDto {
2289
2127
  /** Items list. */
2290
2128
  items?: ProductVariantDocumentDto[] | null;
2291
2129
  }
2292
- /** Parameters for setting product variants price. */
2293
- export interface SetProductVariantPriceDto {
2294
- /** Price. */
2295
- price?: number | null;
2296
- /** Identifiers of variants for price setting. */
2297
- variantIds?: number[] | null;
2298
- }
2299
2130
  /** Defines all available date period filter values for queries. */
2300
2131
  export declare enum DatePeriod {
2301
2132
  All = "All",
@@ -2638,11 +2469,6 @@ export interface PagedOfProjectStatusDto {
2638
2469
  /** Items list. */
2639
2470
  items?: ProjectStatusDto[] | null;
2640
2471
  }
2641
- /** Dto class, containing result of 'get project pdf url' operation. */
2642
- export interface ProjectPdfResultDto {
2643
- /** Project pdf url. */
2644
- url?: string | null;
2645
- }
2646
2472
  /** Dto class, containing description of a project output file. */
2647
2473
  export interface ProjectOutputFileDetailsDto {
2648
2474
  /** Project item identifier. */