@aurigma/axios-backoffice-api-client 2.55.1 → 2.56.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.
@@ -266,30 +266,27 @@ export declare module BackOfficeApiClient {
266
266
  /**
267
267
  * Set product variants price. Variants identifiers will be changed.
268
268
  * @param id Product identifier.
269
- * @param productVersionId (optional) Product version identifier.
270
269
  * @param tenantId (optional) Tenant identifier.
271
270
  * @param body (optional) Set product variants price operation parameters.
272
271
  * @return Success
273
272
  */
274
- setProductVariantPrice(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined): Promise<void>;
273
+ setProductVariantPrice(id: number, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined): Promise<void>;
275
274
  /**
276
275
  * Set product variants availability. Variants identifiers will be changed.
277
276
  * @param id Product identifier.
278
- * @param productVersionId (optional) Product version identifier.
279
277
  * @param tenantId (optional) Tenant identifier.
280
278
  * @param body (optional) Set product variants availability operation parameters.
281
279
  * @return Success
282
280
  */
283
- setProductVariantAvailability(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantAvailabilityDto | null | undefined): Promise<void>;
281
+ setProductVariantAvailability(id: number, tenantId?: number | null | undefined, body?: SetProductVariantAvailabilityDto | null | undefined): Promise<void>;
284
282
  /**
285
283
  * Set product variants SKU. Variants identifiers will be changed.
286
284
  * @param id Product identifier.
287
- * @param productVersionId (optional) Product version identifier.
288
285
  * @param tenantId (optional) Tenant identifier.
289
286
  * @param body (optional) Set product variants SKU operation parameters.
290
287
  * @return Success
291
288
  */
292
- setProductVariantSku(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantSkuDto | null | undefined): Promise<void>;
289
+ setProductVariantSku(id: number, tenantId?: number | null | undefined, body?: SetProductVariantSkuDto | null | undefined): Promise<void>;
293
290
  /**
294
291
  * Imports products from a specific CSV file and returns a list of imported products descriptions.
295
292
  * @param tenantId (optional) Tenant identifier.
@@ -502,32 +499,29 @@ export declare module BackOfficeApiClient {
502
499
  /**
503
500
  * Set product variants price. Variants identifiers will be changed.
504
501
  * @param id Product identifier.
505
- * @param productVersionId (optional) Product version identifier.
506
502
  * @param tenantId (optional) Tenant identifier.
507
503
  * @param body (optional) Set product variants price operation parameters.
508
504
  * @return Success
509
505
  */
510
- setProductVariantPrice(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
506
+ setProductVariantPrice(id: number, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
511
507
  protected processSetProductVariantPrice(response: AxiosResponse): Promise<void>;
512
508
  /**
513
509
  * Set product variants availability. Variants identifiers will be changed.
514
510
  * @param id Product identifier.
515
- * @param productVersionId (optional) Product version identifier.
516
511
  * @param tenantId (optional) Tenant identifier.
517
512
  * @param body (optional) Set product variants availability operation parameters.
518
513
  * @return Success
519
514
  */
520
- setProductVariantAvailability(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantAvailabilityDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
515
+ setProductVariantAvailability(id: number, tenantId?: number | null | undefined, body?: SetProductVariantAvailabilityDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
521
516
  protected processSetProductVariantAvailability(response: AxiosResponse): Promise<void>;
522
517
  /**
523
518
  * Set product variants SKU. Variants identifiers will be changed.
524
519
  * @param id Product identifier.
525
- * @param productVersionId (optional) Product version identifier.
526
520
  * @param tenantId (optional) Tenant identifier.
527
521
  * @param body (optional) Set product variants SKU operation parameters.
528
522
  * @return Success
529
523
  */
530
- setProductVariantSku(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantSkuDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
524
+ setProductVariantSku(id: number, tenantId?: number | null | undefined, body?: SetProductVariantSkuDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
531
525
  protected processSetProductVariantSku(response: AxiosResponse): Promise<void>;
532
526
  /**
533
527
  * Imports products from a specific CSV file and returns a list of imported products descriptions.
@@ -1282,6 +1276,8 @@ export declare module BackOfficeApiClient {
1282
1276
  interface ProductVariantDesignDto {
1283
1277
  /** Product variant identifier. */
1284
1278
  productVariantId?: number;
1279
+ /** Product variant unique identifier. */
1280
+ productVariantUID?: string | null;
1285
1281
  /** Product version identifier. */
1286
1282
  productVersionId?: number;
1287
1283
  /** Product identifier. */
@@ -1334,6 +1330,8 @@ export declare module BackOfficeApiClient {
1334
1330
  interface ProductVariantMockupDto {
1335
1331
  /** Product variant identifier. */
1336
1332
  productVariantId?: number;
1333
+ /** Product variant unique identifier. */
1334
+ productVariantUID?: string | null;
1337
1335
  /** Product version identifier. */
1338
1336
  productVersionId?: number;
1339
1337
  /** Product identifier. */
@@ -1366,6 +1364,8 @@ export declare module BackOfficeApiClient {
1366
1364
  interface ProductVariantDocumentDto {
1367
1365
  /** Product variant identifier. */
1368
1366
  productVariantId?: number;
1367
+ /** Product variant unique identifier. */
1368
+ productVariantUID?: string | null;
1369
1369
  /** Product version identifier. */
1370
1370
  productVersionId?: number;
1371
1371
  /** Product identifier. */
@@ -1402,8 +1402,8 @@ export declare module BackOfficeApiClient {
1402
1402
  interface ProductVariantPriceDto {
1403
1403
  /** Price. */
1404
1404
  price?: number | null;
1405
- /** Identifiers of variants for price setting. */
1406
- variantIds?: number[] | null;
1405
+ /** UIDs of variants for price setting. */
1406
+ variantUIDs?: string[] | null;
1407
1407
  }
1408
1408
  /** Product variants price setting operation parameters. */
1409
1409
  interface SetProductVariantPriceDto {
@@ -1414,8 +1414,8 @@ export declare module BackOfficeApiClient {
1414
1414
  interface ProductVariantAvailabilityDto {
1415
1415
  /** Availability. */
1416
1416
  availability?: boolean;
1417
- /** Identifiers of variants for availability setting. */
1418
- variantIds?: number[] | null;
1417
+ /** UIDs of variants for availability setting. */
1418
+ variantUIDs?: string[] | null;
1419
1419
  }
1420
1420
  /** Product variants availability setting operation parameters. */
1421
1421
  interface SetProductVariantAvailabilityDto {
@@ -1426,8 +1426,8 @@ export declare module BackOfficeApiClient {
1426
1426
  interface ProductVariantSkuDto {
1427
1427
  /** SKU. */
1428
1428
  sku?: string | null;
1429
- /** Identifiers of variants for SKU setting. */
1430
- variantIds?: number[] | null;
1429
+ /** UIDs of variants for SKU setting. */
1430
+ variantUIDs?: string[] | null;
1431
1431
  }
1432
1432
  /** Product variants SKU setting operation parameters. */
1433
1433
  interface SetProductVariantSkuDto {
@@ -1463,18 +1463,15 @@ var BackOfficeApiClient;
1463
1463
  /**
1464
1464
  * Set product variants price. Variants identifiers will be changed.
1465
1465
  * @param id Product identifier.
1466
- * @param productVersionId (optional) Product version identifier.
1467
1466
  * @param tenantId (optional) Tenant identifier.
1468
1467
  * @param body (optional) Set product variants price operation parameters.
1469
1468
  * @return Success
1470
1469
  */
1471
- setProductVariantPrice(id, productVersionId, tenantId, body, cancelToken) {
1470
+ setProductVariantPrice(id, tenantId, body, cancelToken) {
1472
1471
  let url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/set-variant-price?";
1473
1472
  if (id === undefined || id === null)
1474
1473
  throw new Error("The parameter 'id' must be defined.");
1475
1474
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
1476
- if (productVersionId !== undefined && productVersionId !== null)
1477
- url_ += "productVersionId=" + encodeURIComponent("" + productVersionId) + "&";
1478
1475
  if (tenantId !== undefined && tenantId !== null)
1479
1476
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1480
1477
  url_ = url_.replace(/[?&]$/, "");
@@ -1546,18 +1543,15 @@ var BackOfficeApiClient;
1546
1543
  /**
1547
1544
  * Set product variants availability. Variants identifiers will be changed.
1548
1545
  * @param id Product identifier.
1549
- * @param productVersionId (optional) Product version identifier.
1550
1546
  * @param tenantId (optional) Tenant identifier.
1551
1547
  * @param body (optional) Set product variants availability operation parameters.
1552
1548
  * @return Success
1553
1549
  */
1554
- setProductVariantAvailability(id, productVersionId, tenantId, body, cancelToken) {
1550
+ setProductVariantAvailability(id, tenantId, body, cancelToken) {
1555
1551
  let url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/set-variant-availability?";
1556
1552
  if (id === undefined || id === null)
1557
1553
  throw new Error("The parameter 'id' must be defined.");
1558
1554
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
1559
- if (productVersionId !== undefined && productVersionId !== null)
1560
- url_ += "productVersionId=" + encodeURIComponent("" + productVersionId) + "&";
1561
1555
  if (tenantId !== undefined && tenantId !== null)
1562
1556
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1563
1557
  url_ = url_.replace(/[?&]$/, "");
@@ -1629,18 +1623,15 @@ var BackOfficeApiClient;
1629
1623
  /**
1630
1624
  * Set product variants SKU. Variants identifiers will be changed.
1631
1625
  * @param id Product identifier.
1632
- * @param productVersionId (optional) Product version identifier.
1633
1626
  * @param tenantId (optional) Tenant identifier.
1634
1627
  * @param body (optional) Set product variants SKU operation parameters.
1635
1628
  * @return Success
1636
1629
  */
1637
- setProductVariantSku(id, productVersionId, tenantId, body, cancelToken) {
1630
+ setProductVariantSku(id, tenantId, body, cancelToken) {
1638
1631
  let url_ = this.baseUrl + "/api/backoffice/v1/products/{id}/set-variant-sku?";
1639
1632
  if (id === undefined || id === null)
1640
1633
  throw new Error("The parameter 'id' must be defined.");
1641
1634
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
1642
- if (productVersionId !== undefined && productVersionId !== null)
1643
- url_ += "productVersionId=" + encodeURIComponent("" + productVersionId) + "&";
1644
1635
  if (tenantId !== undefined && tenantId !== null)
1645
1636
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1646
1637
  url_ = url_.replace(/[?&]$/, "");