@aurigma/ng-storefront-api-client 2.41.2 → 2.42.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.
@@ -845,6 +845,12 @@ export interface ITenantInfoApiClient {
845
845
  * @return Success
846
846
  */
847
847
  getInfo(tenantId?: number | null | undefined): Observable<TenantInfoDto>;
848
+ /**
849
+ * Returns an information about the tenant measure units.
850
+ * @param tenantId (optional) Tenant identifier.
851
+ * @return Success
852
+ */
853
+ getMeasureUnitsInfo(tenantId?: number | null | undefined): Observable<TenantMeasureUnitsInfoDto>;
848
854
  /**
849
855
  * Returns a list of tenant users.
850
856
  * @param tenantId (optional) Tenant identifier.
@@ -871,6 +877,13 @@ export declare class TenantInfoApiClient extends ApiClientBase implements ITenan
871
877
  */
872
878
  getInfo(tenantId?: number | null | undefined): Observable<TenantInfoDto>;
873
879
  protected processGetInfo(response: HttpResponseBase): Observable<TenantInfoDto>;
880
+ /**
881
+ * Returns an information about the tenant measure units.
882
+ * @param tenantId (optional) Tenant identifier.
883
+ * @return Success
884
+ */
885
+ getMeasureUnitsInfo(tenantId?: number | null | undefined): Observable<TenantMeasureUnitsInfoDto>;
886
+ protected processGetMeasureUnitsInfo(response: HttpResponseBase): Observable<TenantMeasureUnitsInfoDto>;
874
887
  /**
875
888
  * Returns a list of tenant users.
876
889
  * @param tenantId (optional) Tenant identifier.
@@ -1431,6 +1444,22 @@ export interface TenantInfoDto {
1431
1444
  /** Tenant activeness status. */
1432
1445
  isActive?: boolean;
1433
1446
  }
1447
+ /** Dto class, containing information about size measure unit. */
1448
+ export interface SizeMeasureUnitDto {
1449
+ /** Measure unit full name. */
1450
+ name?: string | null;
1451
+ /** Measure unit short name. */
1452
+ shortName?: string | null;
1453
+ /** Measure unit ratio. */
1454
+ ratio?: number;
1455
+ /** Indicates if measure unit should be used by default. */
1456
+ isDefault?: boolean;
1457
+ }
1458
+ /** Dto class, containing information about tenant measure units. */
1459
+ export interface TenantMeasureUnitsInfoDto {
1460
+ /** A list of all 'size' measure units of the tenant. */
1461
+ sizeMeasureUntis?: SizeMeasureUnitDto[] | null;
1462
+ }
1434
1463
  export interface TenantUserInfoDto {
1435
1464
  /** Tenant identifier. */
1436
1465
  tenantId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-storefront-api-client",
3
- "version": "2.41.2",
3
+ "version": "2.42.1",
4
4
  "license": "SEE LICENSE IN License.md",
5
5
  "description": "Angular API Client for Storefront API service of Customer's Canvas web-to-print system.",
6
6
  "author": "Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)",