@aurigma/axios-backoffice-api-client 2.66.1 → 2.66.6

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.
@@ -64,7 +64,7 @@ export declare module BackOfficeApiClient {
64
64
  * @param tenantId (optional) Tenant identifier.
65
65
  * @return Success
66
66
  */
67
- getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | 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>;
67
+ 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): Promise<PagedOfProductReferenceDto>;
68
68
  /**
69
69
  * Creates a new storefront product reference.
70
70
  * @param storefrontId Storefront identifier.
@@ -114,7 +114,7 @@ export declare module BackOfficeApiClient {
114
114
  * @param tenantId (optional) Tenant identifier.
115
115
  * @return Success
116
116
  */
117
- getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, productBundleId?: number | 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>;
117
+ 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, cancelToken?: CancelToken | undefined): Promise<PagedOfProductReferenceDto>;
118
118
  protected processGetAll(response: AxiosResponse): Promise<PagedOfProductReferenceDto>;
119
119
  /**
120
120
  * Creates a new storefront product reference.
@@ -1322,8 +1322,12 @@ export declare module BackOfficeApiClient {
1322
1322
  }
1323
1323
  /** Product option value creation operation parameters. */
1324
1324
  interface CreateProductOptionValueDto {
1325
+ /** Product option title. */
1326
+ title?: string | null;
1325
1327
  /** Product option value. */
1326
1328
  value?: string | null;
1329
+ /** Product option description. */
1330
+ description?: string | null;
1327
1331
  }
1328
1332
  /** Product option creation operation parameters. */
1329
1333
  interface CreateProductOptionDto {
@@ -1471,6 +1475,8 @@ export declare module BackOfficeApiClient {
1471
1475
  sortIndex?: number;
1472
1476
  /** Indicates if product option value is used as a default value. */
1473
1477
  isDefault?: boolean;
1478
+ /** Product option title. */
1479
+ title?: string | null;
1474
1480
  /** Product option value. */
1475
1481
  value?: string | null;
1476
1482
  /** Product option value colors. */
@@ -202,9 +202,7 @@ var BackOfficeApiClient;
202
202
  url_ += "productId=" + encodeURIComponent("" + productId) + "&";
203
203
  if (productLinkId !== undefined && productLinkId !== null)
204
204
  url_ += "productLinkId=" + encodeURIComponent("" + productLinkId) + "&";
205
- if (productBundleId === null)
206
- throw new Error("The parameter 'productBundleId' cannot be null.");
207
- else if (productBundleId !== undefined)
205
+ if (productBundleId !== undefined && productBundleId !== null)
208
206
  url_ += "productBundleId=" + encodeURIComponent("" + productBundleId) + "&";
209
207
  if (skip !== undefined && skip !== null)
210
208
  url_ += "skip=" + encodeURIComponent("" + skip) + "&";