repzo 1.0.101 → 1.0.103
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/changelog.md +1 -0
- package/lib/index.d.ts +102 -105
- package/lib/types/index.d.ts +320 -17
- package/package.json +1 -1
- package/src/types/index.ts +307 -17
package/lib/types/index.d.ts
CHANGED
|
@@ -4835,11 +4835,13 @@ export declare namespace Service {
|
|
|
4835
4835
|
comment?: string;
|
|
4836
4836
|
return_comment?: string;
|
|
4837
4837
|
creator: AdminCreator | RepCreator | ClientCreator;
|
|
4838
|
+
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
4838
4839
|
latest?: boolean;
|
|
4839
4840
|
version?: number;
|
|
4840
4841
|
time?: number;
|
|
4841
4842
|
issue_date: string;
|
|
4842
4843
|
delivery_date?: string;
|
|
4844
|
+
business_day?: string;
|
|
4843
4845
|
currency: string;
|
|
4844
4846
|
serial_number: SerialNumber;
|
|
4845
4847
|
geo_tag?: {
|
|
@@ -4954,6 +4956,105 @@ export declare namespace Service {
|
|
|
4954
4956
|
createdAt: string;
|
|
4955
4957
|
updatedAt: string;
|
|
4956
4958
|
__v: number;
|
|
4959
|
+
transaction_processed: boolean;
|
|
4960
|
+
advanced_serial_number?: string;
|
|
4961
|
+
ubl_qr?: string;
|
|
4962
|
+
ubl_uuid?: string;
|
|
4963
|
+
ubl_id?: string;
|
|
4964
|
+
ubl_reported_time?: number;
|
|
4965
|
+
ubl_reported?: boolean;
|
|
4966
|
+
ubl_clearance_qr?: string;
|
|
4967
|
+
ubl_clearance_time?: number;
|
|
4968
|
+
ubl_clearance?: boolean;
|
|
4969
|
+
ubl_invoice_type?: "simplified" | "standard";
|
|
4970
|
+
ubl_reporting_type?: "report" | "clearance";
|
|
4971
|
+
ubl_invoice_counter_number?: number;
|
|
4972
|
+
simulation_ubl_reported_time?: number;
|
|
4973
|
+
simulation_ubl_reported?: boolean;
|
|
4974
|
+
simulation_ubl_clearance_time?: number;
|
|
4975
|
+
simulation_ubl_clearance?: boolean;
|
|
4976
|
+
simulation_ubl_invoice_type?: "simplified" | "standard";
|
|
4977
|
+
simulation_ubl_reporting_type?: "report" | "clearance";
|
|
4978
|
+
simulation_ubl_invoice_counter_number?: number;
|
|
4979
|
+
simulation_ubl_qr?: string;
|
|
4980
|
+
simulation_reporting_status?: boolean;
|
|
4981
|
+
production_reporting_status?: boolean;
|
|
4982
|
+
skip_promos?: boolean;
|
|
4983
|
+
skipped_promotions?: {
|
|
4984
|
+
_id: StringId;
|
|
4985
|
+
name?: string;
|
|
4986
|
+
ref?: string;
|
|
4987
|
+
}[];
|
|
4988
|
+
partially_returned_from?: StringId;
|
|
4989
|
+
partially_returned_to?: StringId;
|
|
4990
|
+
partially_returned_from_serial_number?: SerialNumber;
|
|
4991
|
+
partially_returned_to_serial_number?: SerialNumber;
|
|
4992
|
+
discount_amount_float?: number;
|
|
4993
|
+
net_total?: number;
|
|
4994
|
+
tax_amount_after_deduction_float?: number;
|
|
4995
|
+
tax_amount_after_deduction_float_rounded_sum?: number;
|
|
4996
|
+
tax_amount_after_deduction_float_rounded?: number;
|
|
4997
|
+
total_float?: number;
|
|
4998
|
+
total_float_rounded?: number;
|
|
4999
|
+
total_float_rounded_sum?: number;
|
|
5000
|
+
total_before_tax?: number;
|
|
5001
|
+
taxable_amount_float?: number;
|
|
5002
|
+
taxable_amount_float_rounded_sum?: number;
|
|
5003
|
+
taxable_amount_float_rounded?: number;
|
|
5004
|
+
pre_discount_amount_float?: number;
|
|
5005
|
+
pre_net_total?: number;
|
|
5006
|
+
pre_tax_amount_after_deduction_float?: number;
|
|
5007
|
+
pre_tax_amount_after_deduction_float_rounded?: number;
|
|
5008
|
+
pre_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5009
|
+
pre_total_float?: number;
|
|
5010
|
+
pre_total_float_rounded?: number;
|
|
5011
|
+
pre_total_float_rounded_sum?: number;
|
|
5012
|
+
pre_total_before_tax?: number;
|
|
5013
|
+
pre_taxable_amount_float?: number;
|
|
5014
|
+
pre_taxable_amount_float_rounded?: number;
|
|
5015
|
+
pre_taxable_amount_float_rounded_sum?: number;
|
|
5016
|
+
return_discount_amount_float?: number;
|
|
5017
|
+
return_net_total?: number;
|
|
5018
|
+
return_tax_amount_after_deduction_float?: number;
|
|
5019
|
+
return_tax_amount_after_deduction_float_rounded?: number;
|
|
5020
|
+
return_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5021
|
+
return_total_float?: number;
|
|
5022
|
+
return_total_float_rounded?: number;
|
|
5023
|
+
return_total_float_rounded_sum?: number;
|
|
5024
|
+
return_total_before_tax?: number;
|
|
5025
|
+
return_taxable_amount_float?: number;
|
|
5026
|
+
return_taxable_amount_float_rounded?: number;
|
|
5027
|
+
return_taxable_amount_float_rounded_sum?: number;
|
|
5028
|
+
totalDeductedTaxFloat?: number;
|
|
5029
|
+
totalDeductionFloat?: number;
|
|
5030
|
+
totalDeductionBeforeTaxFloat?: number;
|
|
5031
|
+
totalAfterDeductionFloat?: number;
|
|
5032
|
+
lines_discount?: number;
|
|
5033
|
+
lines_discount_float?: number;
|
|
5034
|
+
total_word?: string;
|
|
5035
|
+
total_local_word?: string;
|
|
5036
|
+
workorder?: StringId;
|
|
5037
|
+
asset?: StringId;
|
|
5038
|
+
asset_unit?: StringId;
|
|
5039
|
+
signature?: StringId;
|
|
5040
|
+
media?: StringId[];
|
|
5041
|
+
total_items_base_unit_qty?: number;
|
|
5042
|
+
total_return_items_base_unit_qty?: number;
|
|
5043
|
+
total_items_qty?: number;
|
|
5044
|
+
total_return_items_qty?: number;
|
|
5045
|
+
invoice_payment_type?: "cash" | "credit";
|
|
5046
|
+
client_geo_location?: {
|
|
5047
|
+
lat: number;
|
|
5048
|
+
lng: number;
|
|
5049
|
+
};
|
|
5050
|
+
network_state?: number;
|
|
5051
|
+
platform?: string;
|
|
5052
|
+
version_name?: string;
|
|
5053
|
+
battery_level?: number;
|
|
5054
|
+
time_zone?: string;
|
|
5055
|
+
identifier?: number;
|
|
5056
|
+
device_id?: string;
|
|
5057
|
+
device_unique_id?: string;
|
|
4957
5058
|
}
|
|
4958
5059
|
interface CreateBody {
|
|
4959
5060
|
items?: Item.Body[];
|
|
@@ -5060,6 +5161,107 @@ export declare namespace Service {
|
|
|
5060
5161
|
payment?: {
|
|
5061
5162
|
amount?: number;
|
|
5062
5163
|
};
|
|
5164
|
+
transaction_processed: boolean;
|
|
5165
|
+
advanced_serial_number?: string;
|
|
5166
|
+
ubl_qr?: string;
|
|
5167
|
+
ubl_uuid?: string;
|
|
5168
|
+
ubl_id?: string;
|
|
5169
|
+
ubl_reported_time?: number;
|
|
5170
|
+
ubl_reported?: boolean;
|
|
5171
|
+
ubl_clearance_qr?: string;
|
|
5172
|
+
ubl_clearance_time?: number;
|
|
5173
|
+
ubl_clearance?: boolean;
|
|
5174
|
+
ubl_invoice_type?: "simplified" | "standard";
|
|
5175
|
+
ubl_reporting_type?: "report" | "clearance";
|
|
5176
|
+
ubl_invoice_counter_number?: number;
|
|
5177
|
+
simulation_ubl_reported_time?: number;
|
|
5178
|
+
simulation_ubl_reported?: boolean;
|
|
5179
|
+
simulation_ubl_clearance_time?: number;
|
|
5180
|
+
simulation_ubl_clearance?: boolean;
|
|
5181
|
+
simulation_ubl_invoice_type?: "simplified" | "standard";
|
|
5182
|
+
simulation_ubl_reporting_type?: "report" | "clearance";
|
|
5183
|
+
simulation_ubl_invoice_counter_number?: number;
|
|
5184
|
+
simulation_ubl_qr?: string;
|
|
5185
|
+
simulation_reporting_status?: boolean;
|
|
5186
|
+
production_reporting_status?: boolean;
|
|
5187
|
+
skip_promos?: boolean;
|
|
5188
|
+
skipped_promotions?: {
|
|
5189
|
+
_id: StringId;
|
|
5190
|
+
name?: string;
|
|
5191
|
+
ref?: string;
|
|
5192
|
+
}[];
|
|
5193
|
+
partially_returned_from?: StringId;
|
|
5194
|
+
partially_returned_to?: StringId;
|
|
5195
|
+
partially_returned_from_serial_number?: SerialNumber;
|
|
5196
|
+
partially_returned_to_serial_number?: SerialNumber;
|
|
5197
|
+
discount_amount_float?: number;
|
|
5198
|
+
net_total?: number;
|
|
5199
|
+
tax_amount_after_deduction_float?: number;
|
|
5200
|
+
tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5201
|
+
tax_amount_after_deduction_float_rounded?: number;
|
|
5202
|
+
total_float?: number;
|
|
5203
|
+
total_float_rounded?: number;
|
|
5204
|
+
total_float_rounded_sum?: number;
|
|
5205
|
+
total_before_tax?: number;
|
|
5206
|
+
taxable_amount_float?: number;
|
|
5207
|
+
taxable_amount_float_rounded_sum?: number;
|
|
5208
|
+
taxable_amount_float_rounded?: number;
|
|
5209
|
+
pre_discount_amount_float?: number;
|
|
5210
|
+
pre_net_total?: number;
|
|
5211
|
+
pre_tax_amount_after_deduction_float?: number;
|
|
5212
|
+
pre_tax_amount_after_deduction_float_rounded?: number;
|
|
5213
|
+
pre_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5214
|
+
pre_total_float?: number;
|
|
5215
|
+
pre_total_float_rounded?: number;
|
|
5216
|
+
pre_total_float_rounded_sum?: number;
|
|
5217
|
+
pre_total_before_tax?: number;
|
|
5218
|
+
pre_taxable_amount_float?: number;
|
|
5219
|
+
pre_taxable_amount_float_rounded?: number;
|
|
5220
|
+
pre_taxable_amount_float_rounded_sum?: number;
|
|
5221
|
+
return_discount_amount_float?: number;
|
|
5222
|
+
return_net_total?: number;
|
|
5223
|
+
return_tax_amount_after_deduction_float?: number;
|
|
5224
|
+
return_tax_amount_after_deduction_float_rounded?: number;
|
|
5225
|
+
return_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5226
|
+
return_total_float?: number;
|
|
5227
|
+
return_total_float_rounded?: number;
|
|
5228
|
+
return_total_float_rounded_sum?: number;
|
|
5229
|
+
return_total_before_tax?: number;
|
|
5230
|
+
return_taxable_amount_float?: number;
|
|
5231
|
+
return_taxable_amount_float_rounded?: number;
|
|
5232
|
+
return_taxable_amount_float_rounded_sum?: number;
|
|
5233
|
+
totalDeductedTaxFloat?: number;
|
|
5234
|
+
totalDeductionFloat?: number;
|
|
5235
|
+
totalDeductionBeforeTaxFloat?: number;
|
|
5236
|
+
totalAfterDeductionFloat?: number;
|
|
5237
|
+
lines_discount?: number;
|
|
5238
|
+
lines_discount_float?: number;
|
|
5239
|
+
total_word?: string;
|
|
5240
|
+
total_local_word?: string;
|
|
5241
|
+
workorder?: StringId;
|
|
5242
|
+
asset?: StringId;
|
|
5243
|
+
asset_unit?: StringId;
|
|
5244
|
+
signature?: StringId;
|
|
5245
|
+
media?: StringId[];
|
|
5246
|
+
total_items_base_unit_qty?: number;
|
|
5247
|
+
total_return_items_base_unit_qty?: number;
|
|
5248
|
+
total_items_qty?: number;
|
|
5249
|
+
total_return_items_qty?: number;
|
|
5250
|
+
invoice_payment_type?: "cash" | "credit";
|
|
5251
|
+
client_geo_location?: {
|
|
5252
|
+
lat: number;
|
|
5253
|
+
lng: number;
|
|
5254
|
+
};
|
|
5255
|
+
network_state?: number;
|
|
5256
|
+
platform?: string;
|
|
5257
|
+
version_name?: string;
|
|
5258
|
+
battery_level?: number;
|
|
5259
|
+
time_zone?: string;
|
|
5260
|
+
identifier?: number;
|
|
5261
|
+
device_id?: string;
|
|
5262
|
+
device_unique_id?: string;
|
|
5263
|
+
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
5264
|
+
business_day?: string;
|
|
5063
5265
|
}
|
|
5064
5266
|
interface UpdateBody {
|
|
5065
5267
|
integration_meta?: {
|
|
@@ -5351,6 +5553,107 @@ export declare namespace Service {
|
|
|
5351
5553
|
client_id?: string | Client.ClientSchema;
|
|
5352
5554
|
custom_status?: string | CustomStatus.CustomStatusSchema;
|
|
5353
5555
|
tax_number?: string | Pick<Client.ClientSchema, "_id" | "tax_number">;
|
|
5556
|
+
transaction_processed: boolean;
|
|
5557
|
+
advanced_serial_number?: string;
|
|
5558
|
+
ubl_qr?: string;
|
|
5559
|
+
ubl_uuid?: string;
|
|
5560
|
+
ubl_id?: string;
|
|
5561
|
+
ubl_reported_time?: number;
|
|
5562
|
+
ubl_reported?: boolean;
|
|
5563
|
+
ubl_clearance_qr?: string;
|
|
5564
|
+
ubl_clearance_time?: number;
|
|
5565
|
+
ubl_clearance?: boolean;
|
|
5566
|
+
ubl_invoice_type?: "simplified" | "standard";
|
|
5567
|
+
ubl_reporting_type?: "report" | "clearance";
|
|
5568
|
+
ubl_invoice_counter_number?: number;
|
|
5569
|
+
simulation_ubl_reported_time?: number;
|
|
5570
|
+
simulation_ubl_reported?: boolean;
|
|
5571
|
+
simulation_ubl_clearance_time?: number;
|
|
5572
|
+
simulation_ubl_clearance?: boolean;
|
|
5573
|
+
simulation_ubl_invoice_type?: "simplified" | "standard";
|
|
5574
|
+
simulation_ubl_reporting_type?: "report" | "clearance";
|
|
5575
|
+
simulation_ubl_invoice_counter_number?: number;
|
|
5576
|
+
simulation_ubl_qr?: string;
|
|
5577
|
+
simulation_reporting_status?: boolean;
|
|
5578
|
+
production_reporting_status?: boolean;
|
|
5579
|
+
skip_promos?: boolean;
|
|
5580
|
+
skipped_promotions?: {
|
|
5581
|
+
_id: StringId;
|
|
5582
|
+
name?: string;
|
|
5583
|
+
ref?: string;
|
|
5584
|
+
}[];
|
|
5585
|
+
partially_returned_from?: StringId;
|
|
5586
|
+
partially_returned_to?: StringId;
|
|
5587
|
+
partially_returned_from_serial_number?: SerialNumber;
|
|
5588
|
+
partially_returned_to_serial_number?: SerialNumber;
|
|
5589
|
+
discount_amount_float?: number;
|
|
5590
|
+
net_total?: number;
|
|
5591
|
+
tax_amount_after_deduction_float?: number;
|
|
5592
|
+
tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5593
|
+
tax_amount_after_deduction_float_rounded?: number;
|
|
5594
|
+
total_float?: number;
|
|
5595
|
+
total_float_rounded?: number;
|
|
5596
|
+
total_float_rounded_sum?: number;
|
|
5597
|
+
total_before_tax?: number;
|
|
5598
|
+
taxable_amount_float?: number;
|
|
5599
|
+
taxable_amount_float_rounded_sum?: number;
|
|
5600
|
+
taxable_amount_float_rounded?: number;
|
|
5601
|
+
pre_discount_amount_float?: number;
|
|
5602
|
+
pre_net_total?: number;
|
|
5603
|
+
pre_tax_amount_after_deduction_float?: number;
|
|
5604
|
+
pre_tax_amount_after_deduction_float_rounded?: number;
|
|
5605
|
+
pre_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5606
|
+
pre_total_float?: number;
|
|
5607
|
+
pre_total_float_rounded?: number;
|
|
5608
|
+
pre_total_float_rounded_sum?: number;
|
|
5609
|
+
pre_total_before_tax?: number;
|
|
5610
|
+
pre_taxable_amount_float?: number;
|
|
5611
|
+
pre_taxable_amount_float_rounded?: number;
|
|
5612
|
+
pre_taxable_amount_float_rounded_sum?: number;
|
|
5613
|
+
return_discount_amount_float?: number;
|
|
5614
|
+
return_net_total?: number;
|
|
5615
|
+
return_tax_amount_after_deduction_float?: number;
|
|
5616
|
+
return_tax_amount_after_deduction_float_rounded?: number;
|
|
5617
|
+
return_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5618
|
+
return_total_float?: number;
|
|
5619
|
+
return_total_float_rounded?: number;
|
|
5620
|
+
return_total_float_rounded_sum?: number;
|
|
5621
|
+
return_total_before_tax?: number;
|
|
5622
|
+
return_taxable_amount_float?: number;
|
|
5623
|
+
return_taxable_amount_float_rounded?: number;
|
|
5624
|
+
return_taxable_amount_float_rounded_sum?: number;
|
|
5625
|
+
totalDeductedTaxFloat?: number;
|
|
5626
|
+
totalDeductionFloat?: number;
|
|
5627
|
+
totalDeductionBeforeTaxFloat?: number;
|
|
5628
|
+
totalAfterDeductionFloat?: number;
|
|
5629
|
+
lines_discount?: number;
|
|
5630
|
+
lines_discount_float?: number;
|
|
5631
|
+
total_word?: string;
|
|
5632
|
+
total_local_word?: string;
|
|
5633
|
+
workorder?: StringId;
|
|
5634
|
+
asset?: StringId;
|
|
5635
|
+
asset_unit?: StringId;
|
|
5636
|
+
signature?: PopulatedMediaStorage;
|
|
5637
|
+
media?: PopulatedMediaStorage[];
|
|
5638
|
+
total_items_base_unit_qty?: number;
|
|
5639
|
+
total_return_items_base_unit_qty?: number;
|
|
5640
|
+
total_items_qty?: number;
|
|
5641
|
+
total_return_items_qty?: number;
|
|
5642
|
+
invoice_payment_type?: "cash" | "credit";
|
|
5643
|
+
client_geo_location?: {
|
|
5644
|
+
lat: number;
|
|
5645
|
+
lng: number;
|
|
5646
|
+
};
|
|
5647
|
+
network_state?: number;
|
|
5648
|
+
platform?: string;
|
|
5649
|
+
version_name?: string;
|
|
5650
|
+
battery_level?: number;
|
|
5651
|
+
time_zone?: string;
|
|
5652
|
+
identifier?: number;
|
|
5653
|
+
device_id?: string;
|
|
5654
|
+
device_unique_id?: string;
|
|
5655
|
+
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
5656
|
+
business_day?: string;
|
|
5354
5657
|
};
|
|
5355
5658
|
type InvoiceStatus = "paid" | "unpaid" | "partially_paid";
|
|
5356
5659
|
type PopulatedKeys =
|
|
@@ -7418,7 +7721,7 @@ export declare namespace Service {
|
|
|
7418
7721
|
to_createdAt?: number;
|
|
7419
7722
|
from_updatedAt?: number;
|
|
7420
7723
|
to_updatedAt?: number;
|
|
7421
|
-
|
|
7724
|
+
populatedKeys?: PopulatedKeys[];
|
|
7422
7725
|
};
|
|
7423
7726
|
interface Result extends DefaultPaginationResult {
|
|
7424
7727
|
data: Data[] | PopulatedData[];
|
|
@@ -8253,7 +8556,7 @@ export declare namespace Service {
|
|
|
8253
8556
|
asset_part_types?: string[] | string;
|
|
8254
8557
|
assets?: string[] | string;
|
|
8255
8558
|
asset_units?: string[] | string;
|
|
8256
|
-
|
|
8559
|
+
populatedKeys?: PopulatedKeys[];
|
|
8257
8560
|
sortBy?: {
|
|
8258
8561
|
field:
|
|
8259
8562
|
| "_id"
|
|
@@ -8273,7 +8576,7 @@ export declare namespace Service {
|
|
|
8273
8576
|
export namespace Get {
|
|
8274
8577
|
type ID = string;
|
|
8275
8578
|
type Params = {
|
|
8276
|
-
|
|
8579
|
+
populatedKeys?: PopulatedKeys[];
|
|
8277
8580
|
[key: string]: any;
|
|
8278
8581
|
};
|
|
8279
8582
|
type Result = Data | PopulatedDoc;
|
|
@@ -8502,7 +8805,7 @@ export declare namespace Service {
|
|
|
8502
8805
|
to_updatedAt?: number;
|
|
8503
8806
|
from_createdAt?: number;
|
|
8504
8807
|
to_createdAt?: number;
|
|
8505
|
-
|
|
8808
|
+
populatedKeys?: PopulatedKeys[];
|
|
8506
8809
|
sortBy?: {
|
|
8507
8810
|
field: "_id" | "asset_part_index" | "createdAt" | "updatedAt";
|
|
8508
8811
|
type: "asc" | "desc";
|
|
@@ -8525,7 +8828,7 @@ export declare namespace Service {
|
|
|
8525
8828
|
export namespace Get {
|
|
8526
8829
|
type ID = string;
|
|
8527
8830
|
type Params = {
|
|
8528
|
-
|
|
8831
|
+
populatedKeys?: PopulatedKeys[];
|
|
8529
8832
|
[key: string]: any;
|
|
8530
8833
|
};
|
|
8531
8834
|
type Result = Data | PopulatedDoc;
|
|
@@ -8696,7 +8999,7 @@ export declare namespace Service {
|
|
|
8696
8999
|
from_updatedAt?: number;
|
|
8697
9000
|
to_updatedAt?: number;
|
|
8698
9001
|
workorder?: StringId | StringId[];
|
|
8699
|
-
|
|
9002
|
+
populatedKeys?: PopulatedKeys[];
|
|
8700
9003
|
sortBy?: {
|
|
8701
9004
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8702
9005
|
type: "asc" | "desc";
|
|
@@ -8710,7 +9013,7 @@ export declare namespace Service {
|
|
|
8710
9013
|
export namespace Get {
|
|
8711
9014
|
type ID = string;
|
|
8712
9015
|
type Params = {
|
|
8713
|
-
|
|
9016
|
+
populatedKeys?: PopulatedKeys[];
|
|
8714
9017
|
[key: string]: any;
|
|
8715
9018
|
};
|
|
8716
9019
|
type Result = Data | PopulatedDoc;
|
|
@@ -8989,7 +9292,7 @@ export declare namespace Service {
|
|
|
8989
9292
|
to_createdAt?: number;
|
|
8990
9293
|
from_updatedAt?: number;
|
|
8991
9294
|
to_updatedAt?: number;
|
|
8992
|
-
|
|
9295
|
+
populatedKeys?: PopulatedKeys[];
|
|
8993
9296
|
sortBy?: {
|
|
8994
9297
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8995
9298
|
type: "asc" | "desc";
|
|
@@ -9005,7 +9308,7 @@ export declare namespace Service {
|
|
|
9005
9308
|
type Params = {
|
|
9006
9309
|
withCycle?: boolean;
|
|
9007
9310
|
validityCheck?: boolean;
|
|
9008
|
-
|
|
9311
|
+
populatedKeys?: PopulatedKeys[];
|
|
9009
9312
|
[key: string]: any;
|
|
9010
9313
|
};
|
|
9011
9314
|
type Result = (Data | PopulatedDoc) & {
|
|
@@ -9282,7 +9585,7 @@ export declare namespace Service {
|
|
|
9282
9585
|
from_updatedAt?: number;
|
|
9283
9586
|
to_updatedAt?: number;
|
|
9284
9587
|
workorder?: StringId | StringId[];
|
|
9285
|
-
|
|
9588
|
+
populatedKeys?: PopulatedKeys[];
|
|
9286
9589
|
sortBy?: {
|
|
9287
9590
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
9288
9591
|
type: "asc" | "desc";
|
|
@@ -9298,7 +9601,7 @@ export declare namespace Service {
|
|
|
9298
9601
|
type Params = {
|
|
9299
9602
|
withCycle?: boolean;
|
|
9300
9603
|
validityCheck?: boolean;
|
|
9301
|
-
|
|
9604
|
+
populatedKeys?: PopulatedKeys[];
|
|
9302
9605
|
[key: string]: any;
|
|
9303
9606
|
};
|
|
9304
9607
|
type Result = (Data | PopulatedDoc) & {
|
|
@@ -9556,7 +9859,7 @@ export declare namespace Service {
|
|
|
9556
9859
|
to_createdAt?: number;
|
|
9557
9860
|
from_updatedAt?: number;
|
|
9558
9861
|
to_updatedAt?: number;
|
|
9559
|
-
|
|
9862
|
+
populatedKeys?: PopulatedKeys[];
|
|
9560
9863
|
sortBy?: {
|
|
9561
9864
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
9562
9865
|
type: "asc" | "desc";
|
|
@@ -9572,7 +9875,7 @@ export declare namespace Service {
|
|
|
9572
9875
|
type Params = {
|
|
9573
9876
|
withCycle?: boolean;
|
|
9574
9877
|
validityCheck?: boolean;
|
|
9575
|
-
|
|
9878
|
+
populatedKeys?: PopulatedKeys[];
|
|
9576
9879
|
[key: string]: any;
|
|
9577
9880
|
};
|
|
9578
9881
|
type Result = (Data | PopulatedDoc) & {
|
|
@@ -10376,7 +10679,7 @@ export declare namespace Service {
|
|
|
10376
10679
|
visit_id?: StringId[] | StringId;
|
|
10377
10680
|
from_time?: number;
|
|
10378
10681
|
to_time?: number;
|
|
10379
|
-
status
|
|
10682
|
+
status?: string[];
|
|
10380
10683
|
rep?: StringId[] | StringId;
|
|
10381
10684
|
admin?: StringId[] | StringId;
|
|
10382
10685
|
"creator._id"?: StringId[] | StringId;
|
|
@@ -10539,7 +10842,7 @@ export declare namespace Service {
|
|
|
10539
10842
|
type Params = DefaultPaginationQueryParams & {
|
|
10540
10843
|
_id?: StringId[] | StringId;
|
|
10541
10844
|
disabled?: boolean;
|
|
10542
|
-
template
|
|
10845
|
+
template?: StringId[] | StringId;
|
|
10543
10846
|
client?: StringId[] | StringId;
|
|
10544
10847
|
doc_type?: string[] | string;
|
|
10545
10848
|
job_group?: StringId[] | StringId;
|
|
@@ -10773,7 +11076,7 @@ export declare namespace Service {
|
|
|
10773
11076
|
template?: StringId | StringId[];
|
|
10774
11077
|
page_number?: number;
|
|
10775
11078
|
proforma?: StringId | StringId[];
|
|
10776
|
-
status
|
|
11079
|
+
status?: string | string[];
|
|
10777
11080
|
};
|
|
10778
11081
|
interface Result extends DefaultPaginationResult {
|
|
10779
11082
|
data: Data[] & PopulatedDoc[];
|
|
@@ -10916,7 +11219,7 @@ export declare namespace Service {
|
|
|
10916
11219
|
template?: StringId | StringId[];
|
|
10917
11220
|
page_number?: number;
|
|
10918
11221
|
proforma?: StringId | StringId[];
|
|
10919
|
-
status
|
|
11222
|
+
status?: string | string[];
|
|
10920
11223
|
};
|
|
10921
11224
|
interface Result extends DefaultPaginationResult {
|
|
10922
11225
|
data: Data[] & PopulatedDoc[];
|