@aurigma/axios-backoffice-api-client 2.65.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. */
@@ -1899,15 +1905,15 @@ export declare module BackOfficeApiClient {
1899
1905
  /** Project status update parameters. */
1900
1906
  interface UpdateProjectStatusDto {
1901
1907
  /** Status code. */
1902
- code?: number;
1908
+ code?: number | null;
1903
1909
  /** Status mark color. */
1904
1910
  color?: string | null;
1905
1911
  /** Status display name. */
1906
1912
  displayName?: string | null;
1907
1913
  /** Indicates if status is initial for all projects. Only one status may be used as initial. */
1908
- isInitial?: boolean;
1914
+ isInitial?: boolean | null;
1909
1915
  /** Indicates if status is final. Multiple statuses may be used as final (e.g. Completed, Rejected etc). */
1910
- isFinal?: boolean;
1916
+ isFinal?: boolean | null;
1911
1917
  }
1912
1918
  /** Project status transition dto class. */
1913
1919
  interface ProjectStatusTransitionDto {
@@ -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) + "&";