repzo 1.0.85 → 1.0.87
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 +19 -6
- package/package.json +1 -1
- package/src/types/index.ts +21 -6
package/lib/types/index.d.ts
CHANGED
|
@@ -4636,6 +4636,7 @@ export declare namespace Service {
|
|
|
4636
4636
|
status: WorkorderStatus;
|
|
4637
4637
|
assets?: string[];
|
|
4638
4638
|
asset_units?: string[];
|
|
4639
|
+
asset_part_units?: StringId[];
|
|
4639
4640
|
workorder_categories: string[];
|
|
4640
4641
|
due_date?: number;
|
|
4641
4642
|
start_date?: number;
|
|
@@ -4675,6 +4676,14 @@ export declare namespace Service {
|
|
|
4675
4676
|
client_populated?: Pick<Client.ClientSchema, "client_code" | "name">;
|
|
4676
4677
|
asset_units_populated?: AssetUnitsPopulated[];
|
|
4677
4678
|
assets_populated?: AssetsPopulated[];
|
|
4679
|
+
asset_part_units_populated?: (Pick<
|
|
4680
|
+
AssetPartUnit.Data,
|
|
4681
|
+
"_id" | "asset_part"
|
|
4682
|
+
> & {
|
|
4683
|
+
asset_part: Pick<AssetPart.Data, "_id" | "name" | "local_name"> & {
|
|
4684
|
+
cover_photo?: PopulatedMediaStorage[];
|
|
4685
|
+
};
|
|
4686
|
+
})[];
|
|
4678
4687
|
assigned_to_populated?: RepresentativesPopulated;
|
|
4679
4688
|
client_location_populated?: ClientLocationPopulated;
|
|
4680
4689
|
workorder_categories_populated?: WorkorderCategoryPopulated[];
|
|
@@ -4693,6 +4702,7 @@ export declare namespace Service {
|
|
|
4693
4702
|
type PopulatedKeys =
|
|
4694
4703
|
| "client"
|
|
4695
4704
|
| "asset_units"
|
|
4705
|
+
| "asset_part_units"
|
|
4696
4706
|
| "assets"
|
|
4697
4707
|
| "assigned_to"
|
|
4698
4708
|
| "client_location"
|
|
@@ -4714,6 +4724,7 @@ export declare namespace Service {
|
|
|
4714
4724
|
client?: string;
|
|
4715
4725
|
assets?: string[];
|
|
4716
4726
|
asset_units?: string[];
|
|
4727
|
+
asset_part_units?: StringId[];
|
|
4717
4728
|
due_date?: number;
|
|
4718
4729
|
start_date?: number;
|
|
4719
4730
|
forms?: string[];
|
|
@@ -8171,7 +8182,7 @@ export declare namespace Service {
|
|
|
8171
8182
|
| "media"
|
|
8172
8183
|
| "cover_photo"
|
|
8173
8184
|
)[];
|
|
8174
|
-
sortBy
|
|
8185
|
+
sortBy?: {
|
|
8175
8186
|
field:
|
|
8176
8187
|
| "_id"
|
|
8177
8188
|
| "name"
|
|
@@ -8297,7 +8308,9 @@ export declare namespace Service {
|
|
|
8297
8308
|
client: StringId;
|
|
8298
8309
|
client_name: string;
|
|
8299
8310
|
warehouse: StringId;
|
|
8311
|
+
warehouse_name?: string;
|
|
8300
8312
|
receival_warehouse: string;
|
|
8313
|
+
receival_warehouse_name?: string;
|
|
8301
8314
|
asset_part: StringId;
|
|
8302
8315
|
asset_part_name: string;
|
|
8303
8316
|
qty: number;
|
|
@@ -8346,7 +8359,7 @@ export declare namespace Service {
|
|
|
8346
8359
|
| "custom_status"
|
|
8347
8360
|
| "media"
|
|
8348
8361
|
)[];
|
|
8349
|
-
sortBy
|
|
8362
|
+
sortBy?: {
|
|
8350
8363
|
field: "_id" | "asset_part_index" | "createdAt" | "updatedAt";
|
|
8351
8364
|
type: "asc" | "desc";
|
|
8352
8365
|
}[];
|
|
@@ -8517,7 +8530,7 @@ export declare namespace Service {
|
|
|
8517
8530
|
| "media"
|
|
8518
8531
|
| "signature"
|
|
8519
8532
|
)[];
|
|
8520
|
-
sortBy
|
|
8533
|
+
sortBy?: {
|
|
8521
8534
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8522
8535
|
type: "asc" | "desc";
|
|
8523
8536
|
}[];
|
|
@@ -8768,7 +8781,7 @@ export declare namespace Service {
|
|
|
8768
8781
|
| "teams"
|
|
8769
8782
|
| "custom_status"
|
|
8770
8783
|
)[];
|
|
8771
|
-
sortBy
|
|
8784
|
+
sortBy?: {
|
|
8772
8785
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8773
8786
|
type: "asc" | "desc";
|
|
8774
8787
|
}[];
|
|
@@ -8974,7 +8987,7 @@ export declare namespace Service {
|
|
|
8974
8987
|
| "meadia"
|
|
8975
8988
|
| "signature"
|
|
8976
8989
|
)[];
|
|
8977
|
-
sortBy
|
|
8990
|
+
sortBy?: {
|
|
8978
8991
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8979
8992
|
type: "asc" | "desc";
|
|
8980
8993
|
}[];
|
|
@@ -9170,7 +9183,7 @@ export declare namespace Service {
|
|
|
9170
9183
|
| "meadia"
|
|
9171
9184
|
| "signature"
|
|
9172
9185
|
)[];
|
|
9173
|
-
sortBy
|
|
9186
|
+
sortBy?: {
|
|
9174
9187
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
9175
9188
|
type: "asc" | "desc";
|
|
9176
9189
|
}[];
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -4667,6 +4667,7 @@ export namespace Service {
|
|
|
4667
4667
|
status: WorkorderStatus;
|
|
4668
4668
|
assets?: string[];
|
|
4669
4669
|
asset_units?: string[];
|
|
4670
|
+
asset_part_units?: StringId[];
|
|
4670
4671
|
workorder_categories: string[];
|
|
4671
4672
|
due_date?: number;
|
|
4672
4673
|
start_date?: number;
|
|
@@ -4706,6 +4707,14 @@ export namespace Service {
|
|
|
4706
4707
|
client_populated?: Pick<Client.ClientSchema, "client_code" | "name">;
|
|
4707
4708
|
asset_units_populated?: AssetUnitsPopulated[];
|
|
4708
4709
|
assets_populated?: AssetsPopulated[];
|
|
4710
|
+
asset_part_units_populated?: (Pick<
|
|
4711
|
+
AssetPartUnit.Data,
|
|
4712
|
+
"_id" | "asset_part"
|
|
4713
|
+
> & {
|
|
4714
|
+
asset_part: Pick<AssetPart.Data, "_id" | "name" | "local_name"> & {
|
|
4715
|
+
cover_photo?: PopulatedMediaStorage[];
|
|
4716
|
+
};
|
|
4717
|
+
})[];
|
|
4709
4718
|
assigned_to_populated?: RepresentativesPopulated;
|
|
4710
4719
|
client_location_populated?: ClientLocationPopulated;
|
|
4711
4720
|
workorder_categories_populated?: WorkorderCategoryPopulated[];
|
|
@@ -4724,6 +4733,7 @@ export namespace Service {
|
|
|
4724
4733
|
status: WorkorderStatus;
|
|
4725
4734
|
assets?: string[];
|
|
4726
4735
|
asset_units?: string[];
|
|
4736
|
+
asset_part_units?: StringId[];
|
|
4727
4737
|
workorder_categories: string[];
|
|
4728
4738
|
due_date?: number;
|
|
4729
4739
|
start_date?: number;
|
|
@@ -4760,6 +4770,7 @@ export namespace Service {
|
|
|
4760
4770
|
status: WorkorderStatus;
|
|
4761
4771
|
assets?: string[];
|
|
4762
4772
|
asset_units?: string[];
|
|
4773
|
+
asset_part_units?: StringId[];
|
|
4763
4774
|
workorder_categories: string[];
|
|
4764
4775
|
due_date?: number;
|
|
4765
4776
|
start_date?: number;
|
|
@@ -4803,6 +4814,7 @@ export namespace Service {
|
|
|
4803
4814
|
type PopulatedKeys =
|
|
4804
4815
|
| "client"
|
|
4805
4816
|
| "asset_units"
|
|
4817
|
+
| "asset_part_units"
|
|
4806
4818
|
| "assets"
|
|
4807
4819
|
| "assigned_to"
|
|
4808
4820
|
| "client_location"
|
|
@@ -4824,6 +4836,7 @@ export namespace Service {
|
|
|
4824
4836
|
client?: string;
|
|
4825
4837
|
assets?: string[];
|
|
4826
4838
|
asset_units?: string[];
|
|
4839
|
+
asset_part_units?: StringId[];
|
|
4827
4840
|
due_date?: number;
|
|
4828
4841
|
start_date?: number;
|
|
4829
4842
|
forms?: string[];
|
|
@@ -8108,7 +8121,7 @@ export namespace Service {
|
|
|
8108
8121
|
| "media"
|
|
8109
8122
|
| "cover_photo"
|
|
8110
8123
|
)[];
|
|
8111
|
-
sortBy
|
|
8124
|
+
sortBy?: {
|
|
8112
8125
|
field:
|
|
8113
8126
|
| "_id"
|
|
8114
8127
|
| "name"
|
|
@@ -8231,7 +8244,9 @@ export namespace Service {
|
|
|
8231
8244
|
client: StringId;
|
|
8232
8245
|
client_name: string;
|
|
8233
8246
|
warehouse: StringId;
|
|
8247
|
+
warehouse_name?: string;
|
|
8234
8248
|
receival_warehouse: string;
|
|
8249
|
+
receival_warehouse_name?: string;
|
|
8235
8250
|
asset_part: StringId;
|
|
8236
8251
|
asset_part_name: string;
|
|
8237
8252
|
qty: number;
|
|
@@ -8279,7 +8294,7 @@ export namespace Service {
|
|
|
8279
8294
|
| "custom_status"
|
|
8280
8295
|
| "media"
|
|
8281
8296
|
)[];
|
|
8282
|
-
sortBy
|
|
8297
|
+
sortBy?: {
|
|
8283
8298
|
field: "_id" | "asset_part_index" | "createdAt" | "updatedAt";
|
|
8284
8299
|
type: "asc" | "desc";
|
|
8285
8300
|
}[];
|
|
@@ -8444,7 +8459,7 @@ export namespace Service {
|
|
|
8444
8459
|
| "media"
|
|
8445
8460
|
| "signature"
|
|
8446
8461
|
)[];
|
|
8447
|
-
sortBy
|
|
8462
|
+
sortBy?: {
|
|
8448
8463
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8449
8464
|
type: "asc" | "desc";
|
|
8450
8465
|
}[];
|
|
@@ -8674,7 +8689,7 @@ export namespace Service {
|
|
|
8674
8689
|
| "teams"
|
|
8675
8690
|
| "custom_status"
|
|
8676
8691
|
)[];
|
|
8677
|
-
sortBy
|
|
8692
|
+
sortBy?: {
|
|
8678
8693
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8679
8694
|
type: "asc" | "desc";
|
|
8680
8695
|
}[];
|
|
@@ -8859,7 +8874,7 @@ export namespace Service {
|
|
|
8859
8874
|
| "meadia"
|
|
8860
8875
|
| "signature"
|
|
8861
8876
|
)[];
|
|
8862
|
-
sortBy
|
|
8877
|
+
sortBy?: {
|
|
8863
8878
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8864
8879
|
type: "asc" | "desc";
|
|
8865
8880
|
}[];
|
|
@@ -9034,7 +9049,7 @@ export namespace Service {
|
|
|
9034
9049
|
| "meadia"
|
|
9035
9050
|
| "signature"
|
|
9036
9051
|
)[];
|
|
9037
|
-
sortBy
|
|
9052
|
+
sortBy?: {
|
|
9038
9053
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
9039
9054
|
type: "asc" | "desc";
|
|
9040
9055
|
}[];
|