@aurigma/ng-backoffice-api-client 2.59.1 → 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.
@@ -55,6 +55,7 @@ export interface IProductReferencesManagementApiClient {
55
55
  * @param productSpecificationId (optional) Customer's Canvas product specification filter.
56
56
  * @param productId (optional) Customer's Canvas product filter.
57
57
  * @param productLinkId (optional) Customer's Canvas product link filter.
58
+ * @param productBundleId (optional) Customer's Canvas product bundle filter.
58
59
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
59
60
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
60
61
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
@@ -65,7 +66,7 @@ export interface IProductReferencesManagementApiClient {
65
66
  * @param tenantId (optional) Tenant identifier.
66
67
  * @return Success
67
68
  */
68
- getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: 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): Observable<PagedOfProductReferenceDto>;
69
+ 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): Observable<PagedOfProductReferenceDto>;
69
70
  /**
70
71
  * Creates a new storefront product reference.
71
72
  * @param storefrontId Storefront identifier.
@@ -104,6 +105,7 @@ export declare class ProductReferencesManagementApiClient extends ApiClientBase
104
105
  * @param productSpecificationId (optional) Customer's Canvas product specification filter.
105
106
  * @param productId (optional) Customer's Canvas product filter.
106
107
  * @param productLinkId (optional) Customer's Canvas product link filter.
108
+ * @param productBundleId (optional) Customer's Canvas product bundle filter.
107
109
  * @param skip (optional) Defines page start offset from beginning of sorted result list.
108
110
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
109
111
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
@@ -114,7 +116,7 @@ export declare class ProductReferencesManagementApiClient extends ApiClientBase
114
116
  * @param tenantId (optional) Tenant identifier.
115
117
  * @return Success
116
118
  */
117
- getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: 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): Observable<PagedOfProductReferenceDto>;
119
+ 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): Observable<PagedOfProductReferenceDto>;
118
120
  protected processGetAll(response: HttpResponseBase): Observable<PagedOfProductReferenceDto>;
119
121
  /**
120
122
  * Creates a new storefront product reference.
@@ -188,6 +190,14 @@ export interface IProductsManagementApiClient {
188
190
  * @return Success
189
191
  */
190
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>;
191
201
  /**
192
202
  * Returns a list of product variants.
193
203
  * @param id Product identifier.
@@ -425,6 +435,15 @@ export declare class ProductsManagementApiClient extends ApiClientBase implement
425
435
  */
426
436
  getProductOptions(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductOptionDto>;
427
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>;
428
447
  /**
429
448
  * Returns a list of product variants.
430
449
  * @param id Product identifier.
@@ -940,7 +959,8 @@ export interface BuildInfoModel {
940
959
  export declare enum ProductReferenceType {
941
960
  ProductSpecification = "ProductSpecification",
942
961
  Product = "Product",
943
- ProductLink = "ProductLink"
962
+ ProductLink = "ProductLink",
963
+ ProductBundle = "ProductBundle"
944
964
  }
945
965
  /** DTO class, containing information about storefront product reference. */
946
966
  export interface ProductReferenceDto {
@@ -958,6 +978,8 @@ export interface ProductReferenceDto {
958
978
  productVersionId?: number;
959
979
  /** Customer's Canvas product link identifier. */
960
980
  productLinkId?: number;
981
+ /** Customer's Canvas product bundle identifier. */
982
+ productBundleId?: number;
961
983
  /** Storefront identifier. */
962
984
  storefrontId?: number;
963
985
  /** Tenant identifier. */
@@ -998,6 +1020,8 @@ export interface CreateProductReferenceDto {
998
1020
  productId?: number | null;
999
1021
  /** Customer's Canvas product link identifier. */
1000
1022
  productLinkId?: number | null;
1023
+ /** Customer's Canvas product bundle identifier. */
1024
+ productBundleId?: number | null;
1001
1025
  }
1002
1026
  export interface ProblemDetails {
1003
1027
  type?: string | null;
@@ -1020,6 +1044,8 @@ export interface ProductReferenceInfo {
1020
1044
  productId?: number;
1021
1045
  /** Customer's Canvas product link identifier. */
1022
1046
  productLinkId?: number;
1047
+ /** Customer's Canvas product bundle identifier. */
1048
+ productBundleId?: number;
1023
1049
  /** Storefront identifier. */
1024
1050
  storefrontId?: number;
1025
1051
  }
@@ -1220,6 +1246,47 @@ export interface PagedOfProductOptionDto {
1220
1246
  total?: number;
1221
1247
  items?: ProductOptionDto[] | null;
1222
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
+ }
1223
1290
  /** Dto class, containing information about a product variant option. */
1224
1291
  export interface ProductVariantOptionDto {
1225
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.59.1",
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)",