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/src/types/index.ts
CHANGED
|
@@ -3254,6 +3254,7 @@ export namespace Service {
|
|
|
3254
3254
|
export type Result = ChannelSchema;
|
|
3255
3255
|
}
|
|
3256
3256
|
}
|
|
3257
|
+
|
|
3257
3258
|
export namespace Speciality {
|
|
3258
3259
|
export interface SpecialitySchema {
|
|
3259
3260
|
_id: string;
|
|
@@ -3316,6 +3317,7 @@ export namespace Service {
|
|
|
3316
3317
|
export type Result = SpecialitySchema;
|
|
3317
3318
|
}
|
|
3318
3319
|
}
|
|
3320
|
+
|
|
3319
3321
|
export namespace ClientContact {
|
|
3320
3322
|
export interface ClientContactSchema {
|
|
3321
3323
|
_id: string;
|
|
@@ -3395,6 +3397,7 @@ export namespace Service {
|
|
|
3395
3397
|
export type Result = ClientContactSchema;
|
|
3396
3398
|
}
|
|
3397
3399
|
}
|
|
3400
|
+
|
|
3398
3401
|
export namespace PaymentTerm {
|
|
3399
3402
|
export interface PaymentTermSchema {
|
|
3400
3403
|
_id: string;
|
|
@@ -4947,11 +4950,13 @@ export namespace Service {
|
|
|
4947
4950
|
comment?: string;
|
|
4948
4951
|
return_comment?: string;
|
|
4949
4952
|
creator: AdminCreator | RepCreator | ClientCreator;
|
|
4953
|
+
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
4950
4954
|
latest?: boolean;
|
|
4951
4955
|
version?: number;
|
|
4952
4956
|
time?: number;
|
|
4953
4957
|
issue_date: string;
|
|
4954
4958
|
delivery_date?: string;
|
|
4959
|
+
business_day?: string;
|
|
4955
4960
|
currency: string;
|
|
4956
4961
|
serial_number: SerialNumber;
|
|
4957
4962
|
geo_tag?: {
|
|
@@ -5058,6 +5063,98 @@ export namespace Service {
|
|
|
5058
5063
|
createdAt: string;
|
|
5059
5064
|
updatedAt: string;
|
|
5060
5065
|
__v: number;
|
|
5066
|
+
transaction_processed: boolean;
|
|
5067
|
+
advanced_serial_number?: string;
|
|
5068
|
+
ubl_qr?: string;
|
|
5069
|
+
ubl_uuid?: string;
|
|
5070
|
+
ubl_id?: string;
|
|
5071
|
+
ubl_reported_time?: number;
|
|
5072
|
+
ubl_reported?: boolean;
|
|
5073
|
+
ubl_clearance_qr?: string;
|
|
5074
|
+
ubl_clearance_time?: number;
|
|
5075
|
+
ubl_clearance?: boolean;
|
|
5076
|
+
ubl_invoice_type?: "simplified" | "standard";
|
|
5077
|
+
ubl_reporting_type?: "report" | "clearance";
|
|
5078
|
+
ubl_invoice_counter_number?: number;
|
|
5079
|
+
simulation_ubl_reported_time?: number;
|
|
5080
|
+
simulation_ubl_reported?: boolean;
|
|
5081
|
+
simulation_ubl_clearance_time?: number;
|
|
5082
|
+
simulation_ubl_clearance?: boolean;
|
|
5083
|
+
simulation_ubl_invoice_type?: "simplified" | "standard";
|
|
5084
|
+
simulation_ubl_reporting_type?: "report" | "clearance";
|
|
5085
|
+
simulation_ubl_invoice_counter_number?: number;
|
|
5086
|
+
simulation_ubl_qr?: string;
|
|
5087
|
+
simulation_reporting_status?: boolean;
|
|
5088
|
+
production_reporting_status?: boolean;
|
|
5089
|
+
skip_promos?: boolean;
|
|
5090
|
+
skipped_promotions?: { _id: StringId; name?: string; ref?: string }[];
|
|
5091
|
+
partially_returned_from?: StringId;
|
|
5092
|
+
partially_returned_to?: StringId;
|
|
5093
|
+
partially_returned_from_serial_number?: SerialNumber;
|
|
5094
|
+
partially_returned_to_serial_number?: SerialNumber;
|
|
5095
|
+
discount_amount_float?: number;
|
|
5096
|
+
net_total?: number;
|
|
5097
|
+
tax_amount_after_deduction_float?: number;
|
|
5098
|
+
tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5099
|
+
tax_amount_after_deduction_float_rounded?: number;
|
|
5100
|
+
total_float?: number;
|
|
5101
|
+
total_float_rounded?: number;
|
|
5102
|
+
total_float_rounded_sum?: number;
|
|
5103
|
+
total_before_tax?: number;
|
|
5104
|
+
taxable_amount_float?: number;
|
|
5105
|
+
taxable_amount_float_rounded_sum?: number;
|
|
5106
|
+
taxable_amount_float_rounded?: number;
|
|
5107
|
+
pre_discount_amount_float?: number;
|
|
5108
|
+
pre_net_total?: number;
|
|
5109
|
+
pre_tax_amount_after_deduction_float?: number;
|
|
5110
|
+
pre_tax_amount_after_deduction_float_rounded?: number;
|
|
5111
|
+
pre_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5112
|
+
pre_total_float?: number;
|
|
5113
|
+
pre_total_float_rounded?: number;
|
|
5114
|
+
pre_total_float_rounded_sum?: number;
|
|
5115
|
+
pre_total_before_tax?: number;
|
|
5116
|
+
pre_taxable_amount_float?: number;
|
|
5117
|
+
pre_taxable_amount_float_rounded?: number;
|
|
5118
|
+
pre_taxable_amount_float_rounded_sum?: number;
|
|
5119
|
+
return_discount_amount_float?: number;
|
|
5120
|
+
return_net_total?: number;
|
|
5121
|
+
return_tax_amount_after_deduction_float?: number;
|
|
5122
|
+
return_tax_amount_after_deduction_float_rounded?: number;
|
|
5123
|
+
return_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5124
|
+
return_total_float?: number;
|
|
5125
|
+
return_total_float_rounded?: number;
|
|
5126
|
+
return_total_float_rounded_sum?: number;
|
|
5127
|
+
return_total_before_tax?: number;
|
|
5128
|
+
return_taxable_amount_float?: number;
|
|
5129
|
+
return_taxable_amount_float_rounded?: number;
|
|
5130
|
+
return_taxable_amount_float_rounded_sum?: number;
|
|
5131
|
+
totalDeductedTaxFloat?: number;
|
|
5132
|
+
totalDeductionFloat?: number;
|
|
5133
|
+
totalDeductionBeforeTaxFloat?: number;
|
|
5134
|
+
totalAfterDeductionFloat?: number;
|
|
5135
|
+
lines_discount?: number;
|
|
5136
|
+
lines_discount_float?: number;
|
|
5137
|
+
total_word?: string;
|
|
5138
|
+
total_local_word?: string;
|
|
5139
|
+
workorder?: StringId;
|
|
5140
|
+
asset?: StringId;
|
|
5141
|
+
asset_unit?: StringId;
|
|
5142
|
+
signature?: StringId;
|
|
5143
|
+
media?: StringId[];
|
|
5144
|
+
total_items_base_unit_qty?: number;
|
|
5145
|
+
total_return_items_base_unit_qty?: number;
|
|
5146
|
+
total_items_qty?: number;
|
|
5147
|
+
total_return_items_qty?: number;
|
|
5148
|
+
invoice_payment_type?: "cash" | "credit";
|
|
5149
|
+
client_geo_location?: { lat: number; lng: number };
|
|
5150
|
+
network_state?: number;
|
|
5151
|
+
platform?: string;
|
|
5152
|
+
version_name?: string;
|
|
5153
|
+
battery_level?: number;
|
|
5154
|
+
time_zone?: string;
|
|
5155
|
+
identifier?: number;
|
|
5156
|
+
device_id?: string;
|
|
5157
|
+
device_unique_id?: string;
|
|
5061
5158
|
}
|
|
5062
5159
|
interface CreateBody {
|
|
5063
5160
|
items?: Item.Body[];
|
|
@@ -5154,6 +5251,100 @@ export namespace Service {
|
|
|
5154
5251
|
payment_charge?: number;
|
|
5155
5252
|
total_with_charges?: number;
|
|
5156
5253
|
payment?: { amount?: number };
|
|
5254
|
+
transaction_processed: boolean;
|
|
5255
|
+
advanced_serial_number?: string;
|
|
5256
|
+
ubl_qr?: string;
|
|
5257
|
+
ubl_uuid?: string;
|
|
5258
|
+
ubl_id?: string;
|
|
5259
|
+
ubl_reported_time?: number;
|
|
5260
|
+
ubl_reported?: boolean;
|
|
5261
|
+
ubl_clearance_qr?: string;
|
|
5262
|
+
ubl_clearance_time?: number;
|
|
5263
|
+
ubl_clearance?: boolean;
|
|
5264
|
+
ubl_invoice_type?: "simplified" | "standard";
|
|
5265
|
+
ubl_reporting_type?: "report" | "clearance";
|
|
5266
|
+
ubl_invoice_counter_number?: number;
|
|
5267
|
+
simulation_ubl_reported_time?: number;
|
|
5268
|
+
simulation_ubl_reported?: boolean;
|
|
5269
|
+
simulation_ubl_clearance_time?: number;
|
|
5270
|
+
simulation_ubl_clearance?: boolean;
|
|
5271
|
+
simulation_ubl_invoice_type?: "simplified" | "standard";
|
|
5272
|
+
simulation_ubl_reporting_type?: "report" | "clearance";
|
|
5273
|
+
simulation_ubl_invoice_counter_number?: number;
|
|
5274
|
+
simulation_ubl_qr?: string;
|
|
5275
|
+
simulation_reporting_status?: boolean;
|
|
5276
|
+
production_reporting_status?: boolean;
|
|
5277
|
+
skip_promos?: boolean;
|
|
5278
|
+
skipped_promotions?: { _id: StringId; name?: string; ref?: string }[];
|
|
5279
|
+
partially_returned_from?: StringId;
|
|
5280
|
+
partially_returned_to?: StringId;
|
|
5281
|
+
partially_returned_from_serial_number?: SerialNumber;
|
|
5282
|
+
partially_returned_to_serial_number?: SerialNumber;
|
|
5283
|
+
discount_amount_float?: number;
|
|
5284
|
+
net_total?: number;
|
|
5285
|
+
tax_amount_after_deduction_float?: number;
|
|
5286
|
+
tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5287
|
+
tax_amount_after_deduction_float_rounded?: number;
|
|
5288
|
+
total_float?: number;
|
|
5289
|
+
total_float_rounded?: number;
|
|
5290
|
+
total_float_rounded_sum?: number;
|
|
5291
|
+
total_before_tax?: number;
|
|
5292
|
+
taxable_amount_float?: number;
|
|
5293
|
+
taxable_amount_float_rounded_sum?: number;
|
|
5294
|
+
taxable_amount_float_rounded?: number;
|
|
5295
|
+
pre_discount_amount_float?: number;
|
|
5296
|
+
pre_net_total?: number;
|
|
5297
|
+
pre_tax_amount_after_deduction_float?: number;
|
|
5298
|
+
pre_tax_amount_after_deduction_float_rounded?: number;
|
|
5299
|
+
pre_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5300
|
+
pre_total_float?: number;
|
|
5301
|
+
pre_total_float_rounded?: number;
|
|
5302
|
+
pre_total_float_rounded_sum?: number;
|
|
5303
|
+
pre_total_before_tax?: number;
|
|
5304
|
+
pre_taxable_amount_float?: number;
|
|
5305
|
+
pre_taxable_amount_float_rounded?: number;
|
|
5306
|
+
pre_taxable_amount_float_rounded_sum?: number;
|
|
5307
|
+
return_discount_amount_float?: number;
|
|
5308
|
+
return_net_total?: number;
|
|
5309
|
+
return_tax_amount_after_deduction_float?: number;
|
|
5310
|
+
return_tax_amount_after_deduction_float_rounded?: number;
|
|
5311
|
+
return_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5312
|
+
return_total_float?: number;
|
|
5313
|
+
return_total_float_rounded?: number;
|
|
5314
|
+
return_total_float_rounded_sum?: number;
|
|
5315
|
+
return_total_before_tax?: number;
|
|
5316
|
+
return_taxable_amount_float?: number;
|
|
5317
|
+
return_taxable_amount_float_rounded?: number;
|
|
5318
|
+
return_taxable_amount_float_rounded_sum?: number;
|
|
5319
|
+
totalDeductedTaxFloat?: number;
|
|
5320
|
+
totalDeductionFloat?: number;
|
|
5321
|
+
totalDeductionBeforeTaxFloat?: number;
|
|
5322
|
+
totalAfterDeductionFloat?: number;
|
|
5323
|
+
lines_discount?: number;
|
|
5324
|
+
lines_discount_float?: number;
|
|
5325
|
+
total_word?: string;
|
|
5326
|
+
total_local_word?: string;
|
|
5327
|
+
workorder?: StringId;
|
|
5328
|
+
asset?: StringId;
|
|
5329
|
+
asset_unit?: StringId;
|
|
5330
|
+
signature?: StringId;
|
|
5331
|
+
media?: StringId[];
|
|
5332
|
+
total_items_base_unit_qty?: number;
|
|
5333
|
+
total_return_items_base_unit_qty?: number;
|
|
5334
|
+
total_items_qty?: number;
|
|
5335
|
+
total_return_items_qty?: number;
|
|
5336
|
+
invoice_payment_type?: "cash" | "credit";
|
|
5337
|
+
client_geo_location?: { lat: number; lng: number };
|
|
5338
|
+
network_state?: number;
|
|
5339
|
+
platform?: string;
|
|
5340
|
+
version_name?: string;
|
|
5341
|
+
battery_level?: number;
|
|
5342
|
+
time_zone?: string;
|
|
5343
|
+
identifier?: number;
|
|
5344
|
+
device_id?: string;
|
|
5345
|
+
device_unique_id?: string;
|
|
5346
|
+
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
5347
|
+
business_day?: string;
|
|
5157
5348
|
}
|
|
5158
5349
|
interface UpdateBody {
|
|
5159
5350
|
integration_meta?: { [key: string]: any };
|
|
@@ -5410,6 +5601,100 @@ export namespace Service {
|
|
|
5410
5601
|
client_id?: string | Client.ClientSchema;
|
|
5411
5602
|
custom_status?: string | CustomStatus.CustomStatusSchema;
|
|
5412
5603
|
tax_number?: string | Pick<Client.ClientSchema, "_id" | "tax_number">;
|
|
5604
|
+
transaction_processed: boolean;
|
|
5605
|
+
advanced_serial_number?: string;
|
|
5606
|
+
ubl_qr?: string;
|
|
5607
|
+
ubl_uuid?: string;
|
|
5608
|
+
ubl_id?: string;
|
|
5609
|
+
ubl_reported_time?: number;
|
|
5610
|
+
ubl_reported?: boolean;
|
|
5611
|
+
ubl_clearance_qr?: string;
|
|
5612
|
+
ubl_clearance_time?: number;
|
|
5613
|
+
ubl_clearance?: boolean;
|
|
5614
|
+
ubl_invoice_type?: "simplified" | "standard";
|
|
5615
|
+
ubl_reporting_type?: "report" | "clearance";
|
|
5616
|
+
ubl_invoice_counter_number?: number;
|
|
5617
|
+
simulation_ubl_reported_time?: number;
|
|
5618
|
+
simulation_ubl_reported?: boolean;
|
|
5619
|
+
simulation_ubl_clearance_time?: number;
|
|
5620
|
+
simulation_ubl_clearance?: boolean;
|
|
5621
|
+
simulation_ubl_invoice_type?: "simplified" | "standard";
|
|
5622
|
+
simulation_ubl_reporting_type?: "report" | "clearance";
|
|
5623
|
+
simulation_ubl_invoice_counter_number?: number;
|
|
5624
|
+
simulation_ubl_qr?: string;
|
|
5625
|
+
simulation_reporting_status?: boolean;
|
|
5626
|
+
production_reporting_status?: boolean;
|
|
5627
|
+
skip_promos?: boolean;
|
|
5628
|
+
skipped_promotions?: { _id: StringId; name?: string; ref?: string }[];
|
|
5629
|
+
partially_returned_from?: StringId;
|
|
5630
|
+
partially_returned_to?: StringId;
|
|
5631
|
+
partially_returned_from_serial_number?: SerialNumber;
|
|
5632
|
+
partially_returned_to_serial_number?: SerialNumber;
|
|
5633
|
+
discount_amount_float?: number;
|
|
5634
|
+
net_total?: number;
|
|
5635
|
+
tax_amount_after_deduction_float?: number;
|
|
5636
|
+
tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5637
|
+
tax_amount_after_deduction_float_rounded?: number;
|
|
5638
|
+
total_float?: number;
|
|
5639
|
+
total_float_rounded?: number;
|
|
5640
|
+
total_float_rounded_sum?: number;
|
|
5641
|
+
total_before_tax?: number;
|
|
5642
|
+
taxable_amount_float?: number;
|
|
5643
|
+
taxable_amount_float_rounded_sum?: number;
|
|
5644
|
+
taxable_amount_float_rounded?: number;
|
|
5645
|
+
pre_discount_amount_float?: number;
|
|
5646
|
+
pre_net_total?: number;
|
|
5647
|
+
pre_tax_amount_after_deduction_float?: number;
|
|
5648
|
+
pre_tax_amount_after_deduction_float_rounded?: number;
|
|
5649
|
+
pre_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5650
|
+
pre_total_float?: number;
|
|
5651
|
+
pre_total_float_rounded?: number;
|
|
5652
|
+
pre_total_float_rounded_sum?: number;
|
|
5653
|
+
pre_total_before_tax?: number;
|
|
5654
|
+
pre_taxable_amount_float?: number;
|
|
5655
|
+
pre_taxable_amount_float_rounded?: number;
|
|
5656
|
+
pre_taxable_amount_float_rounded_sum?: number;
|
|
5657
|
+
return_discount_amount_float?: number;
|
|
5658
|
+
return_net_total?: number;
|
|
5659
|
+
return_tax_amount_after_deduction_float?: number;
|
|
5660
|
+
return_tax_amount_after_deduction_float_rounded?: number;
|
|
5661
|
+
return_tax_amount_after_deduction_float_rounded_sum?: number;
|
|
5662
|
+
return_total_float?: number;
|
|
5663
|
+
return_total_float_rounded?: number;
|
|
5664
|
+
return_total_float_rounded_sum?: number;
|
|
5665
|
+
return_total_before_tax?: number;
|
|
5666
|
+
return_taxable_amount_float?: number;
|
|
5667
|
+
return_taxable_amount_float_rounded?: number;
|
|
5668
|
+
return_taxable_amount_float_rounded_sum?: number;
|
|
5669
|
+
totalDeductedTaxFloat?: number;
|
|
5670
|
+
totalDeductionFloat?: number;
|
|
5671
|
+
totalDeductionBeforeTaxFloat?: number;
|
|
5672
|
+
totalAfterDeductionFloat?: number;
|
|
5673
|
+
lines_discount?: number;
|
|
5674
|
+
lines_discount_float?: number;
|
|
5675
|
+
total_word?: string;
|
|
5676
|
+
total_local_word?: string;
|
|
5677
|
+
workorder?: StringId;
|
|
5678
|
+
asset?: StringId;
|
|
5679
|
+
asset_unit?: StringId;
|
|
5680
|
+
signature?: PopulatedMediaStorage;
|
|
5681
|
+
media?: PopulatedMediaStorage[];
|
|
5682
|
+
total_items_base_unit_qty?: number;
|
|
5683
|
+
total_return_items_base_unit_qty?: number;
|
|
5684
|
+
total_items_qty?: number;
|
|
5685
|
+
total_return_items_qty?: number;
|
|
5686
|
+
invoice_payment_type?: "cash" | "credit";
|
|
5687
|
+
client_geo_location?: { lat: number; lng: number };
|
|
5688
|
+
network_state?: number;
|
|
5689
|
+
platform?: string;
|
|
5690
|
+
version_name?: string;
|
|
5691
|
+
battery_level?: number;
|
|
5692
|
+
time_zone?: string;
|
|
5693
|
+
identifier?: number;
|
|
5694
|
+
device_id?: string;
|
|
5695
|
+
device_unique_id?: string;
|
|
5696
|
+
implemented_by?: AdminCreator | RepCreator | ClientCreator;
|
|
5697
|
+
business_day?: string;
|
|
5413
5698
|
};
|
|
5414
5699
|
|
|
5415
5700
|
type InvoiceStatus = "paid" | "unpaid" | "partially_paid";
|
|
@@ -6814,6 +7099,7 @@ export namespace Service {
|
|
|
6814
7099
|
export type Result = ReceivingMaterialSchema;
|
|
6815
7100
|
}
|
|
6816
7101
|
}
|
|
7102
|
+
|
|
6817
7103
|
export namespace Supplier {
|
|
6818
7104
|
export interface SupplierSchema {
|
|
6819
7105
|
_id: string;
|
|
@@ -6877,6 +7163,7 @@ export namespace Service {
|
|
|
6877
7163
|
export type Result = SupplierSchema;
|
|
6878
7164
|
}
|
|
6879
7165
|
}
|
|
7166
|
+
|
|
6880
7167
|
export namespace Cycle {
|
|
6881
7168
|
type CycleStatus = "pending" | "approved" | "processing" | "rejected";
|
|
6882
7169
|
export interface Schema {
|
|
@@ -7415,7 +7702,7 @@ export namespace Service {
|
|
|
7415
7702
|
to_createdAt?: number;
|
|
7416
7703
|
from_updatedAt?: number;
|
|
7417
7704
|
to_updatedAt?: number;
|
|
7418
|
-
|
|
7705
|
+
populatedKeys?: PopulatedKeys[];
|
|
7419
7706
|
};
|
|
7420
7707
|
export interface Result extends DefaultPaginationResult {
|
|
7421
7708
|
data: Data[] | PopulatedData[];
|
|
@@ -7497,6 +7784,7 @@ export namespace Service {
|
|
|
7497
7784
|
export type Result = Data;
|
|
7498
7785
|
}
|
|
7499
7786
|
}
|
|
7787
|
+
|
|
7500
7788
|
export namespace Inventory {
|
|
7501
7789
|
export interface InventorySchema {
|
|
7502
7790
|
_id: string;
|
|
@@ -7755,6 +8043,7 @@ export namespace Service {
|
|
|
7755
8043
|
export type Result = Schema;
|
|
7756
8044
|
}
|
|
7757
8045
|
}
|
|
8046
|
+
|
|
7758
8047
|
export namespace JoinActionsWeHook {
|
|
7759
8048
|
interface JoinData {
|
|
7760
8049
|
app: string;
|
|
@@ -7772,6 +8061,7 @@ export namespace Service {
|
|
|
7772
8061
|
data: JoinData[];
|
|
7773
8062
|
}
|
|
7774
8063
|
}
|
|
8064
|
+
|
|
7775
8065
|
export namespace App {
|
|
7776
8066
|
export interface Schema {
|
|
7777
8067
|
_id: string;
|
|
@@ -8186,7 +8476,7 @@ export namespace Service {
|
|
|
8186
8476
|
asset_part_types?: string[] | string;
|
|
8187
8477
|
assets?: string[] | string;
|
|
8188
8478
|
asset_units?: string[] | string;
|
|
8189
|
-
|
|
8479
|
+
populatedKeys?: PopulatedKeys[];
|
|
8190
8480
|
sortBy?: {
|
|
8191
8481
|
field:
|
|
8192
8482
|
| "_id"
|
|
@@ -8206,7 +8496,7 @@ export namespace Service {
|
|
|
8206
8496
|
export namespace Get {
|
|
8207
8497
|
export type ID = string;
|
|
8208
8498
|
export type Params = {
|
|
8209
|
-
|
|
8499
|
+
populatedKeys?: PopulatedKeys[];
|
|
8210
8500
|
[key: string]: any;
|
|
8211
8501
|
};
|
|
8212
8502
|
export type Result = Data | PopulatedDoc;
|
|
@@ -8431,7 +8721,7 @@ export namespace Service {
|
|
|
8431
8721
|
to_updatedAt?: number;
|
|
8432
8722
|
from_createdAt?: number;
|
|
8433
8723
|
to_createdAt?: number;
|
|
8434
|
-
|
|
8724
|
+
populatedKeys?: PopulatedKeys[];
|
|
8435
8725
|
sortBy?: {
|
|
8436
8726
|
field: "_id" | "asset_part_index" | "createdAt" | "updatedAt";
|
|
8437
8727
|
type: "asc" | "desc";
|
|
@@ -8454,7 +8744,7 @@ export namespace Service {
|
|
|
8454
8744
|
export namespace Get {
|
|
8455
8745
|
export type ID = string;
|
|
8456
8746
|
export type Params = {
|
|
8457
|
-
|
|
8747
|
+
populatedKeys?: PopulatedKeys[];
|
|
8458
8748
|
[key: string]: any;
|
|
8459
8749
|
};
|
|
8460
8750
|
export type Result = Data | PopulatedDoc;
|
|
@@ -8619,7 +8909,7 @@ export namespace Service {
|
|
|
8619
8909
|
from_updatedAt?: number;
|
|
8620
8910
|
to_updatedAt?: number;
|
|
8621
8911
|
workorder?: StringId | StringId[];
|
|
8622
|
-
|
|
8912
|
+
populatedKeys?: PopulatedKeys[];
|
|
8623
8913
|
sortBy?: {
|
|
8624
8914
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8625
8915
|
type: "asc" | "desc";
|
|
@@ -8633,7 +8923,7 @@ export namespace Service {
|
|
|
8633
8923
|
export namespace Get {
|
|
8634
8924
|
export type ID = string;
|
|
8635
8925
|
export type Params = {
|
|
8636
|
-
|
|
8926
|
+
populatedKeys?: PopulatedKeys[];
|
|
8637
8927
|
[key: string]: any;
|
|
8638
8928
|
};
|
|
8639
8929
|
export type Result = Data | PopulatedDoc;
|
|
@@ -8874,7 +9164,7 @@ export namespace Service {
|
|
|
8874
9164
|
to_createdAt?: number;
|
|
8875
9165
|
from_updatedAt?: number;
|
|
8876
9166
|
to_updatedAt?: number;
|
|
8877
|
-
|
|
9167
|
+
populatedKeys?: PopulatedKeys[];
|
|
8878
9168
|
sortBy?: {
|
|
8879
9169
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
8880
9170
|
type: "asc" | "desc";
|
|
@@ -8890,7 +9180,7 @@ export namespace Service {
|
|
|
8890
9180
|
export type Params = {
|
|
8891
9181
|
withCycle?: boolean;
|
|
8892
9182
|
validityCheck?: boolean;
|
|
8893
|
-
|
|
9183
|
+
populatedKeys?: PopulatedKeys[];
|
|
8894
9184
|
[key: string]: any; // integration_meta.
|
|
8895
9185
|
};
|
|
8896
9186
|
export type Result = (Data | PopulatedDoc) & {
|
|
@@ -9134,7 +9424,7 @@ export namespace Service {
|
|
|
9134
9424
|
from_updatedAt?: number;
|
|
9135
9425
|
to_updatedAt?: number;
|
|
9136
9426
|
workorder?: StringId | StringId[];
|
|
9137
|
-
|
|
9427
|
+
populatedKeys?: PopulatedKeys[];
|
|
9138
9428
|
sortBy?: {
|
|
9139
9429
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
9140
9430
|
type: "asc" | "desc";
|
|
@@ -9150,7 +9440,7 @@ export namespace Service {
|
|
|
9150
9440
|
export type Params = {
|
|
9151
9441
|
withCycle?: boolean;
|
|
9152
9442
|
validityCheck?: boolean;
|
|
9153
|
-
|
|
9443
|
+
populatedKeys?: PopulatedKeys[];
|
|
9154
9444
|
[key: string]: any; // integration_meta.
|
|
9155
9445
|
};
|
|
9156
9446
|
export type Result = (Data | PopulatedDoc) & {
|
|
@@ -9375,7 +9665,7 @@ export namespace Service {
|
|
|
9375
9665
|
to_createdAt?: number;
|
|
9376
9666
|
from_updatedAt?: number;
|
|
9377
9667
|
to_updatedAt?: number;
|
|
9378
|
-
|
|
9668
|
+
populatedKeys?: PopulatedKeys[];
|
|
9379
9669
|
sortBy?: {
|
|
9380
9670
|
field: "_id" | "time" | "createdAt" | "updatedAt";
|
|
9381
9671
|
type: "asc" | "desc";
|
|
@@ -9391,7 +9681,7 @@ export namespace Service {
|
|
|
9391
9681
|
export type Params = {
|
|
9392
9682
|
withCycle?: boolean;
|
|
9393
9683
|
validityCheck?: boolean;
|
|
9394
|
-
|
|
9684
|
+
populatedKeys?: PopulatedKeys[];
|
|
9395
9685
|
[key: string]: any; // integration_meta.
|
|
9396
9686
|
};
|
|
9397
9687
|
export type Result = (Data | PopulatedDoc) & {
|
|
@@ -10133,7 +10423,7 @@ export namespace Service {
|
|
|
10133
10423
|
visit_id?: StringId[] | StringId;
|
|
10134
10424
|
from_time?: number;
|
|
10135
10425
|
to_time?: number;
|
|
10136
|
-
status
|
|
10426
|
+
status?: string[];
|
|
10137
10427
|
rep?: StringId[] | StringId;
|
|
10138
10428
|
admin?: StringId[] | StringId;
|
|
10139
10429
|
"creator._id"?: StringId[] | StringId;
|
|
@@ -10309,7 +10599,7 @@ export namespace Service {
|
|
|
10309
10599
|
export type Params = DefaultPaginationQueryParams & {
|
|
10310
10600
|
_id?: StringId[] | StringId;
|
|
10311
10601
|
disabled?: boolean;
|
|
10312
|
-
template
|
|
10602
|
+
template?: StringId[] | StringId;
|
|
10313
10603
|
client?: StringId[] | StringId;
|
|
10314
10604
|
doc_type?: string[] | string;
|
|
10315
10605
|
job_group?: StringId[] | StringId;
|
|
@@ -10541,7 +10831,7 @@ export namespace Service {
|
|
|
10541
10831
|
template?: StringId | StringId[];
|
|
10542
10832
|
page_number?: number;
|
|
10543
10833
|
proforma?: StringId | StringId[];
|
|
10544
|
-
status
|
|
10834
|
+
status?: string | string[];
|
|
10545
10835
|
};
|
|
10546
10836
|
export interface Result extends DefaultPaginationResult {
|
|
10547
10837
|
data: Data[] & PopulatedDoc[];
|
|
@@ -10685,7 +10975,7 @@ export namespace Service {
|
|
|
10685
10975
|
template?: StringId | StringId[];
|
|
10686
10976
|
page_number?: number;
|
|
10687
10977
|
proforma?: StringId | StringId[];
|
|
10688
|
-
status
|
|
10978
|
+
status?: string | string[];
|
|
10689
10979
|
};
|
|
10690
10980
|
export interface Result extends DefaultPaginationResult {
|
|
10691
10981
|
data: Data[] & PopulatedDoc[];
|