repzo 1.0.43 → 1.0.45
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/index.d.ts +349 -705
- package/lib/index.js +1022 -1589
- package/lib/types/index.d.ts +5215 -5573
- package/package.json +1 -1
- package/src/types/index.ts +5 -2
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -721,6 +721,7 @@ export namespace Service {
|
|
|
721
721
|
category: string | Category.CategorySchema;
|
|
722
722
|
sub_category?: string[] | SubCategory.SubCategorySchema[];
|
|
723
723
|
sv_tax?: string | Tax.TaxSchema | Pick<Tax.TaxSchema, "_id" | "name">;
|
|
724
|
+
tax?: string | Tax.TaxSchema;
|
|
724
725
|
sv_measureUnit?:
|
|
725
726
|
| string
|
|
726
727
|
| MeasureUnit.MeasureUnitSchema
|
|
@@ -733,6 +734,7 @@ export namespace Service {
|
|
|
733
734
|
variants?: Variant.VariantSchema[];
|
|
734
735
|
defaultVariant?: Variant.VariantSchema;
|
|
735
736
|
assigned_media?: string | Media.MediaSchema;
|
|
737
|
+
teams?: string[] | Team.TeamSchema[];
|
|
736
738
|
};
|
|
737
739
|
|
|
738
740
|
type PopulatedKeys =
|
|
@@ -745,7 +747,8 @@ export namespace Service {
|
|
|
745
747
|
| "measureunit"
|
|
746
748
|
| "sv_measureUnit"
|
|
747
749
|
| "brand"
|
|
748
|
-
| "product_groups"
|
|
750
|
+
| "product_groups"
|
|
751
|
+
| "teams";
|
|
749
752
|
|
|
750
753
|
export namespace Find {
|
|
751
754
|
export type Params = DefaultPaginationQueryParams & {
|
|
@@ -1222,7 +1225,7 @@ export namespace Service {
|
|
|
1222
1225
|
}
|
|
1223
1226
|
|
|
1224
1227
|
export namespace Tax {
|
|
1225
|
-
type TaxType = "inclusive" | "additive"
|
|
1228
|
+
type TaxType = "inclusive" | "additive";
|
|
1226
1229
|
export interface TaxSchema {
|
|
1227
1230
|
_id: string;
|
|
1228
1231
|
name: string;
|