@aurigma/ng-backoffice-api-client 2.60.2 → 2.62.12

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.
@@ -190,6 +190,14 @@ export interface IProductsManagementApiClient {
190
190
  * @return Success
191
191
  */
192
192
  getProductOptions(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductOptionDto>;
193
+ /**
194
+ * Set product options and returns updated options list.
195
+ * @param id Product identifier.
196
+ * @param tenantId (optional) Tenant identifier.
197
+ * @param body (optional)
198
+ * @return Success
199
+ */
200
+ setProductOptions(id: number, tenantId?: number | null | undefined, body?: SetProductOptionsDto | null | undefined): Observable<PagedOfProductOptionDto>;
193
201
  /**
194
202
  * Returns a list of product variants.
195
203
  * @param id Product identifier.
@@ -427,6 +435,15 @@ export declare class ProductsManagementApiClient extends ApiClientBase implement
427
435
  */
428
436
  getProductOptions(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductOptionDto>;
429
437
  protected processGetProductOptions(response: HttpResponseBase): Observable<PagedOfProductOptionDto>;
438
+ /**
439
+ * Set product options and returns updated options list.
440
+ * @param id Product identifier.
441
+ * @param tenantId (optional) Tenant identifier.
442
+ * @param body (optional)
443
+ * @return Success
444
+ */
445
+ setProductOptions(id: number, tenantId?: number | null | undefined, body?: SetProductOptionsDto | null | undefined): Observable<PagedOfProductOptionDto>;
446
+ protected processSetProductOptions(response: HttpResponseBase): Observable<PagedOfProductOptionDto>;
430
447
  /**
431
448
  * Returns a list of product variants.
432
449
  * @param id Product identifier.
@@ -1229,6 +1246,47 @@ export interface PagedOfProductOptionDto {
1229
1246
  total?: number;
1230
1247
  items?: ProductOptionDto[] | null;
1231
1248
  }
1249
+ /** Product option value create or update operation parameters. */
1250
+ export interface SetProductOptionValueDto {
1251
+ /** Product option value UID. */
1252
+ uid?: string | null;
1253
+ /** Product option value description. */
1254
+ description?: string | null;
1255
+ /** Product option value sort index. */
1256
+ sortIndex?: number;
1257
+ /** Indicates if product option value is used as a default value. */
1258
+ isDefault?: boolean;
1259
+ /** Product option value. */
1260
+ value?: string | null;
1261
+ /** Product option value colors. */
1262
+ colors?: string[] | null;
1263
+ }
1264
+ /** Product option create or update operation parameters. */
1265
+ export interface SetProductOptionDto {
1266
+ /** Product option UID. */
1267
+ uid?: string | null;
1268
+ /** Product option title. */
1269
+ title?: string | null;
1270
+ /** Product option description. */
1271
+ description?: string | null;
1272
+ /** Product option tooltip. */
1273
+ tooltip?: string | null;
1274
+ /** Product option sort index. */
1275
+ sortIndex?: number;
1276
+ /** Specifies if the option is used for design binding. */
1277
+ useForDesignBinding?: boolean;
1278
+ /** Specifies if the option is used for mockup binding. */
1279
+ useForMockupBinding?: boolean;
1280
+ /** Specifies if the option is used for document binding. */
1281
+ useForDocumentBinding?: boolean;
1282
+ /** A list of product option values. */
1283
+ values?: SetProductOptionValueDto[] | null;
1284
+ }
1285
+ /** Product options setting operation parameters. */
1286
+ export interface SetProductOptionsDto {
1287
+ /** Product options create or update parameters. */
1288
+ options?: SetProductOptionDto[] | null;
1289
+ }
1232
1290
  /** Dto class, containing information about a product variant option. */
1233
1291
  export interface ProductVariantOptionDto {
1234
1292
  /** Product option identifier. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-backoffice-api-client",
3
- "version": "2.60.2",
3
+ "version": "2.62.12",
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)",