repzo 1.0.238 → 1.0.239
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/lib/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/types/index.ts +5 -2
package/lib/types/index.d.ts
CHANGED
|
@@ -712,7 +712,7 @@ export declare namespace Service {
|
|
|
712
712
|
assigned_media?: string | Media.MediaSchema;
|
|
713
713
|
teams?: string[] | Team.TeamSchema[];
|
|
714
714
|
};
|
|
715
|
-
type PopulatedKeys = "category" | "sub_category" | "tax" | "sv_tax" | "media" | "measureunit_family" | "measureunit" | "sv_measureUnit" | "brand" | "product_groups" | "teams";
|
|
715
|
+
type PopulatedKeys = "category" | "sub_category" | "tax" | "sv_tax" | "media" | "measureunit_family" | "measureunit" | "sv_measureUnit" | "brand" | "product_groups" | "teams" | "measureunit_family_with_measureunit";
|
|
716
716
|
export namespace Find {
|
|
717
717
|
type Params = DefaultPaginationQueryParams & {
|
|
718
718
|
populatedKeys?: PopulatedKeys[];
|
|
@@ -1366,7 +1366,7 @@ export declare namespace Service {
|
|
|
1366
1366
|
_id: string;
|
|
1367
1367
|
name: string;
|
|
1368
1368
|
local_name?: string;
|
|
1369
|
-
measureunits: string[];
|
|
1369
|
+
measureunits: string[] | Pick<MeasureUnit.MeasureUnitSchema, "_id" | "name" | "disabled">[];
|
|
1370
1370
|
disabled?: boolean;
|
|
1371
1371
|
integration_meta?: {
|
|
1372
1372
|
[key: string]: any;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -955,7 +955,8 @@ export namespace Service {
|
|
|
955
955
|
| "sv_measureUnit"
|
|
956
956
|
| "brand"
|
|
957
957
|
| "product_groups"
|
|
958
|
-
| "teams"
|
|
958
|
+
| "teams"
|
|
959
|
+
| "measureunit_family_with_measureunit";
|
|
959
960
|
|
|
960
961
|
export namespace Find {
|
|
961
962
|
export type Params = DefaultPaginationQueryParams & {
|
|
@@ -1632,7 +1633,9 @@ export namespace Service {
|
|
|
1632
1633
|
_id: string;
|
|
1633
1634
|
name: string;
|
|
1634
1635
|
local_name?: string;
|
|
1635
|
-
measureunits:
|
|
1636
|
+
measureunits:
|
|
1637
|
+
| string[]
|
|
1638
|
+
| Pick<MeasureUnit.MeasureUnitSchema, "_id" | "name" | "disabled">[];
|
|
1636
1639
|
disabled?: boolean;
|
|
1637
1640
|
integration_meta?: { [key: string]: any };
|
|
1638
1641
|
company_namespace: string[];
|