@aurigma/ng-backoffice-api-client 2.62.12 → 2.63.14
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.
- package/aurigma-ng-backoffice-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-backoffice-api-client.umd.js +402 -102
- package/bundles/aurigma-ng-backoffice-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-backoffice-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-backoffice-api-client.umd.min.js.map +1 -1
- package/esm2015/lib/backoffice-api-client.js +262 -1
- package/fesm2015/aurigma-ng-backoffice-api-client.js +261 -0
- package/fesm2015/aurigma-ng-backoffice-api-client.js.map +1 -1
- package/lib/backoffice-api-client.d.ts +63 -0
- package/package.json +1 -1
|
@@ -221,6 +221,21 @@ export interface IProductsManagementApiClient {
|
|
|
221
221
|
* @return Success
|
|
222
222
|
*/
|
|
223
223
|
getProductVariant(id: number, productVariantId: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductVariantDto>;
|
|
224
|
+
/**
|
|
225
|
+
* Updates product variant resources.
|
|
226
|
+
* @param id Product identifier.
|
|
227
|
+
* @param productVersionId (optional) Product version identifier.
|
|
228
|
+
* @param tenantId (optional) Tenant identifier.
|
|
229
|
+
* @return Success
|
|
230
|
+
*/
|
|
231
|
+
updateProductVariantResources(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<void>;
|
|
232
|
+
/**
|
|
233
|
+
* Validates product variant resources.
|
|
234
|
+
* @param id Product identifier.
|
|
235
|
+
* @param tenantId (optional) Tenant identifier.
|
|
236
|
+
* @return Success
|
|
237
|
+
*/
|
|
238
|
+
validateProductVariantResources(id: number, tenantId?: number | null | undefined): Observable<void>;
|
|
224
239
|
/**
|
|
225
240
|
* Returns a list of product variant designs.
|
|
226
241
|
* @param id Product identifier.
|
|
@@ -283,6 +298,14 @@ export interface IProductsManagementApiClient {
|
|
|
283
298
|
* @return Success
|
|
284
299
|
*/
|
|
285
300
|
setProductVariantPrice(id: number, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined): Observable<void>;
|
|
301
|
+
/**
|
|
302
|
+
* Set product variants weight. Variants identifiers will be changed.
|
|
303
|
+
* @param id Product identifier.
|
|
304
|
+
* @param tenantId (optional) Tenant identifier.
|
|
305
|
+
* @param body (optional) Set product variants weight operation parameters.
|
|
306
|
+
* @return Success
|
|
307
|
+
*/
|
|
308
|
+
setProductVariantWeight(id: number, tenantId?: number | null | undefined, body?: SetProductVariantWeightDto | null | undefined): Observable<void>;
|
|
286
309
|
/**
|
|
287
310
|
* Set product variants availability. Variants identifiers will be changed.
|
|
288
311
|
* @param id Product identifier.
|
|
@@ -469,6 +492,23 @@ export declare class ProductsManagementApiClient extends ApiClientBase implement
|
|
|
469
492
|
*/
|
|
470
493
|
getProductVariant(id: number, productVariantId: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductVariantDto>;
|
|
471
494
|
protected processGetProductVariant(response: HttpResponseBase): Observable<ProductVariantDto>;
|
|
495
|
+
/**
|
|
496
|
+
* Updates product variant resources.
|
|
497
|
+
* @param id Product identifier.
|
|
498
|
+
* @param productVersionId (optional) Product version identifier.
|
|
499
|
+
* @param tenantId (optional) Tenant identifier.
|
|
500
|
+
* @return Success
|
|
501
|
+
*/
|
|
502
|
+
updateProductVariantResources(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<void>;
|
|
503
|
+
protected processUpdateProductVariantResources(response: HttpResponseBase): Observable<void>;
|
|
504
|
+
/**
|
|
505
|
+
* Validates product variant resources.
|
|
506
|
+
* @param id Product identifier.
|
|
507
|
+
* @param tenantId (optional) Tenant identifier.
|
|
508
|
+
* @return Success
|
|
509
|
+
*/
|
|
510
|
+
validateProductVariantResources(id: number, tenantId?: number | null | undefined): Observable<void>;
|
|
511
|
+
protected processValidateProductVariantResources(response: HttpResponseBase): Observable<void>;
|
|
472
512
|
/**
|
|
473
513
|
* Returns a list of product variant designs.
|
|
474
514
|
* @param id Product identifier.
|
|
@@ -535,6 +575,15 @@ export declare class ProductsManagementApiClient extends ApiClientBase implement
|
|
|
535
575
|
*/
|
|
536
576
|
setProductVariantPrice(id: number, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined): Observable<void>;
|
|
537
577
|
protected processSetProductVariantPrice(response: HttpResponseBase): Observable<void>;
|
|
578
|
+
/**
|
|
579
|
+
* Set product variants weight. Variants identifiers will be changed.
|
|
580
|
+
* @param id Product identifier.
|
|
581
|
+
* @param tenantId (optional) Tenant identifier.
|
|
582
|
+
* @param body (optional) Set product variants weight operation parameters.
|
|
583
|
+
* @return Success
|
|
584
|
+
*/
|
|
585
|
+
setProductVariantWeight(id: number, tenantId?: number | null | undefined, body?: SetProductVariantWeightDto | null | undefined): Observable<void>;
|
|
586
|
+
protected processSetProductVariantWeight(response: HttpResponseBase): Observable<void>;
|
|
538
587
|
/**
|
|
539
588
|
* Set product variants availability. Variants identifiers will be changed.
|
|
540
589
|
* @param id Product identifier.
|
|
@@ -1320,6 +1369,8 @@ export interface ProductVariantDto {
|
|
|
1320
1369
|
isAvailable?: boolean;
|
|
1321
1370
|
/** Product variant price. */
|
|
1322
1371
|
price?: number | null;
|
|
1372
|
+
/** Product variant weight. */
|
|
1373
|
+
weight?: number | null;
|
|
1323
1374
|
/** Product variant sort index. */
|
|
1324
1375
|
sortIndex?: number;
|
|
1325
1376
|
/** Product variant identifier (usually SKU) in storefront / online store. */
|
|
@@ -1502,6 +1553,18 @@ export interface SetProductVariantPriceDto {
|
|
|
1502
1553
|
/** List of product variants grouped by price value. */
|
|
1503
1554
|
items?: ProductVariantPriceDto[] | null;
|
|
1504
1555
|
}
|
|
1556
|
+
/** Parameters for setting product variants weight. */
|
|
1557
|
+
export interface ProductVariantWeightDto {
|
|
1558
|
+
/** Weight. */
|
|
1559
|
+
weight?: number | null;
|
|
1560
|
+
/** UIDs of variants for price setting. */
|
|
1561
|
+
variantUIDs?: string[] | null;
|
|
1562
|
+
}
|
|
1563
|
+
/** Product variants weight setting operation parameters. */
|
|
1564
|
+
export interface SetProductVariantWeightDto {
|
|
1565
|
+
/** List of product variants grouped by weight value. */
|
|
1566
|
+
items?: ProductVariantWeightDto[] | null;
|
|
1567
|
+
}
|
|
1505
1568
|
/** Parameters for setting product variants availability. */
|
|
1506
1569
|
export interface ProductVariantAvailabilityDto {
|
|
1507
1570
|
/** Availability. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurigma/ng-backoffice-api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.63.14",
|
|
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)",
|