@aurigma/ng-backoffice-api-client 2.57.1 → 2.58.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.
@@ -344,6 +344,15 @@ export interface IProductsManagementApiClient {
344
344
  * @return Success
345
345
  */
346
346
  removeDocumentsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductDocumentConnectionsDto | null | undefined): Observable<void>;
347
+ /**
348
+ * Set a thumbnail image for an existing product.
349
+ * @param id Product identifier.
350
+ * @param productVersionId (optional)
351
+ * @param tenantId (optional) Tenant identifier.
352
+ * @param file (optional)
353
+ * @return Success
354
+ */
355
+ setProductImage(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, file?: FileParameter | null | undefined): Observable<void>;
347
356
  /**
348
357
  * Returns all available product personalization workflows.
349
358
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
@@ -587,6 +596,16 @@ export declare class ProductsManagementApiClient extends ApiClientBase implement
587
596
  */
588
597
  removeDocumentsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductDocumentConnectionsDto | null | undefined): Observable<void>;
589
598
  protected processRemoveDocumentsConnections(response: HttpResponseBase): Observable<void>;
599
+ /**
600
+ * Set a thumbnail image for an existing product.
601
+ * @param id Product identifier.
602
+ * @param productVersionId (optional)
603
+ * @param tenantId (optional) Tenant identifier.
604
+ * @param file (optional)
605
+ * @return Success
606
+ */
607
+ setProductImage(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, file?: FileParameter | null | undefined): Observable<void>;
608
+ protected processSetProductImage(response: HttpResponseBase): Observable<void>;
590
609
  /**
591
610
  * Returns all available product personalization workflows.
592
611
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
@@ -1068,7 +1087,7 @@ export interface CreateProductOptionValueDto {
1068
1087
  /** Product option creation operation parameters. */
1069
1088
  export interface CreateProductOptionDto {
1070
1089
  /** Option title. */
1071
- title?: string | null;
1090
+ title: string;
1072
1091
  /** Option traits. */
1073
1092
  traits?: string[] | null;
1074
1093
  /** Product option values. */
@@ -1083,7 +1102,7 @@ export interface CreateProductOptionDto {
1083
1102
  /** Product option creation operation parameters. */
1084
1103
  export interface CreateProductDto {
1085
1104
  /** Product name. */
1086
- name?: string | null;
1105
+ name: string;
1087
1106
  /** Product description. */
1088
1107
  description?: string | null;
1089
1108
  /** Personalization workflow identifier. */
@@ -1146,6 +1165,8 @@ export interface ProductOptionValueDto {
1146
1165
  isDefault?: boolean;
1147
1166
  /** Product option value identifying tag. */
1148
1167
  tag?: string | null;
1168
+ /** Product option value UID. */
1169
+ uid?: string | null;
1149
1170
  /** Product option value description for 'Simple' option type. */
1150
1171
  simpleOptionValue?: SimpleOptionValue | null;
1151
1172
  /** Product option value description. */
@@ -1175,6 +1196,8 @@ export interface ProductOptionDto {
1175
1196
  sortIndex?: number;
1176
1197
  /** Product option identifying tag. */
1177
1198
  tag?: string | null;
1199
+ /** Product option UID. */
1200
+ uid?: string | null;
1178
1201
  /** Specifies if the option is used for design binding. */
1179
1202
  useForDesignBinding?: boolean;
1180
1203
  /** Specifies if the option is used for mockup binding. */
@@ -1438,10 +1461,10 @@ export interface SetProductVariantSkuDto {
1438
1461
  }
1439
1462
  /** Product asset connection options description. */
1440
1463
  export interface ProductAssetConnectionOptionsDto {
1441
- /** Product option identifier. */
1442
- optionId?: number;
1443
- /** Product option values identifiers. */
1444
- optionValueIds?: number[] | null;
1464
+ /** Product option UID. */
1465
+ optionUID?: string | null;
1466
+ /** Product option values UIDs. */
1467
+ optionValueUIDs?: string[] | null;
1445
1468
  }
1446
1469
  /** Product design connection description. */
1447
1470
  export interface ProductDesignConnectionDto {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-backoffice-api-client",
3
- "version": "2.57.1",
3
+ "version": "2.58.1",
4
4
  "license": "SEE LICENSE IN License.md",
5
5
  "description": "Angular API Client for BackOffice API service of Customer's Canvas web-to-print system.",
6
6
  "author": "Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)",