repzo 1.0.119 → 1.0.121

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.
@@ -93,11 +93,15 @@ interface Check {
93
93
  }
94
94
 
95
95
  interface AssetUnitsPopulated {
96
+ _id: StringId;
96
97
  name: string;
98
+ local_name?: string;
97
99
  cover_photo: MediaPopulated;
98
100
  }
99
101
  interface AssetsPopulated {
102
+ _id: StringId;
100
103
  name: string;
104
+ local_name?: string;
101
105
  cover_photo: MediaPopulated;
102
106
  }
103
107
  interface RepresentativesPopulated {
@@ -105,7 +109,9 @@ interface RepresentativesPopulated {
105
109
  _id: string;
106
110
  }
107
111
  interface ClientLocationPopulated {
112
+ _id: StringId;
108
113
  name: string;
114
+ local_name?: string;
109
115
  }
110
116
  interface FormPopulated {
111
117
  name: string;
@@ -176,7 +182,9 @@ export interface DefaultPaginationQueryParams {
176
182
  sortPageOrder?: "asc" | "dsc";
177
183
  }
178
184
  interface WorkorderCategoryPopulated {
185
+ _id: StringId;
179
186
  name: string;
187
+ local_name?: string;
180
188
  }
181
189
  export interface DefaultPaginationResult {
182
190
  total_result: number;
@@ -5242,6 +5250,182 @@ export namespace Service {
5242
5250
  }
5243
5251
  }
5244
5252
 
5253
+ export namespace WorkorderRequest {
5254
+ export type Status = "pending" | "rejected" | "approved";
5255
+ export interface Data {
5256
+ _id: StringId;
5257
+ name: string;
5258
+ disabled: boolean;
5259
+ client?: StringId;
5260
+ client_location?: StringId;
5261
+ workorder_categories?: StringId[];
5262
+ workorder?: StringId;
5263
+ contract?: StringId;
5264
+ status: Status;
5265
+ customFields?: { [key: string]: any };
5266
+ media?: StringId[];
5267
+ workorder_portal?: StringId;
5268
+ workorder_portal_link?: StringId;
5269
+ creator: AdminCreator | RepCreator | ClientCreator;
5270
+ editor?: AdminCreator | RepCreator | ClientCreator;
5271
+ teams?: StringId[];
5272
+ sync_id: string;
5273
+ description?: string;
5274
+ assets?: StringId[];
5275
+ asset_units?: StringId[];
5276
+ priority?: Priority;
5277
+ priority_human?: Priority_human;
5278
+ company_namespace: string[];
5279
+ createdAt: Date;
5280
+ updatedAt: Date;
5281
+ }
5282
+ export interface PopulatedData {
5283
+ _id: StringId;
5284
+ name: string;
5285
+ disabled: boolean;
5286
+ client?: StringId;
5287
+ client_location?: StringId;
5288
+ workorder_categories?: StringId[];
5289
+ workorder?: StringId;
5290
+ contract?: StringId;
5291
+ status: Status;
5292
+ customFields?: { [key: string]: any };
5293
+ media?: StringId[];
5294
+ workorder_portal?: StringId;
5295
+ workorder_portal_link?: StringId;
5296
+ creator: AdminCreator | RepCreator | ClientCreator;
5297
+ editor?: AdminCreator | RepCreator | ClientCreator;
5298
+ teams?: StringId[];
5299
+ sync_id: string;
5300
+ description?: string;
5301
+ assets?: StringId[];
5302
+ asset_units?: StringId[];
5303
+ priority?: Priority;
5304
+ priority_human?: Priority_human;
5305
+ company_namespace: string[];
5306
+ createdAt: Date;
5307
+ updatedAt: Date;
5308
+ client_populated?: Pick<
5309
+ Client.ClientSchema,
5310
+ "client_code" | "name" | "_id"
5311
+ >;
5312
+ asset_units_populated?: AssetUnitsPopulated[];
5313
+ assets_populated?: AssetsPopulated[];
5314
+ client_location_populated?: ClientLocationPopulated;
5315
+ workorder_categories_populated?: WorkorderCategoryPopulated[];
5316
+ media_populated?: MediaPopulated;
5317
+ workorder_populated?: Workorder.WorkorderSchema;
5318
+ }
5319
+ export interface CreateBody {
5320
+ name: string;
5321
+ disabled?: boolean;
5322
+ client?: StringId;
5323
+ client_location?: StringId;
5324
+ workorder_categories?: StringId[];
5325
+ workorder?: StringId;
5326
+ contract?: StringId;
5327
+ status?: Status;
5328
+ customFields?: { [key: string]: any };
5329
+ media?: StringId[];
5330
+ workorder_portal?: StringId;
5331
+ workorder_portal_link?: StringId;
5332
+ creator?: AdminCreator | RepCreator | ClientCreator;
5333
+ teams?: StringId[];
5334
+ sync_id: string;
5335
+ description?: string;
5336
+ assets?: StringId[];
5337
+ asset_units?: StringId[];
5338
+ priority?: Priority;
5339
+ priority_human?: Priority_human;
5340
+ company_namespace?: string[];
5341
+ }
5342
+ export interface UpdateBody {
5343
+ _id?: StringId;
5344
+ name?: string;
5345
+ disabled?: boolean;
5346
+ client?: StringId;
5347
+ client_location?: StringId;
5348
+ workorder_categories?: StringId[];
5349
+ workorder?: StringId;
5350
+ contract?: StringId;
5351
+ status?: Status;
5352
+ customFields?: { [key: string]: any };
5353
+ media?: StringId[];
5354
+ workorder_portal?: StringId;
5355
+ workorder_portal_link?: StringId;
5356
+ creator?: AdminCreator | RepCreator | ClientCreator;
5357
+ editor?: AdminCreator | RepCreator | ClientCreator;
5358
+ teams?: StringId[];
5359
+ sync_id?: string;
5360
+ description?: string;
5361
+ assets?: StringId[];
5362
+ asset_units?: StringId[];
5363
+ priority?: Priority;
5364
+ priority_human?: Priority_human;
5365
+ company_namespace?: string[];
5366
+ createdAt?: Date;
5367
+ updatedAt?: Date;
5368
+ }
5369
+
5370
+ type SortingKeys = "priority" | "updatedAt" | "createdAt" | "_id";
5371
+ type PopulatedKeys =
5372
+ | "client"
5373
+ | "client_location"
5374
+ | "asset_units"
5375
+ | "assets"
5376
+ | "workorder_categories"
5377
+ | "media"
5378
+ | "workorder";
5379
+ export namespace Find {
5380
+ export type Params = DefaultPaginationQueryParams & {
5381
+ name?: string | string[];
5382
+ _id?: StringId | StringId[];
5383
+ priority?: Priority | Priority[];
5384
+ priority_human?: Priority_human | Priority_human[];
5385
+ status?: Status | Status[];
5386
+ workorder_categories?: StringId | StringId[];
5387
+ client_location?: StringId | StringId[];
5388
+ client?: StringId | StringId[];
5389
+ assets?: StringId | StringId[];
5390
+ asset_units?: StringId | StringId[];
5391
+ from_createdAt?: number;
5392
+ to_createdAt?: number;
5393
+ from_updatedAt?: number;
5394
+ to_updatedAt?: number;
5395
+ teams?: StringId | StringId[];
5396
+ "creator._id"?: StringId | StringId[];
5397
+ search?: string;
5398
+ populatedKeys?: PopulatedKeys | PopulatedKeys[];
5399
+ sortBy?: { field: SortingKeys; type: "asc" | "desc" }[];
5400
+ [key: string]: any; // integration_meta.
5401
+ };
5402
+ export interface Result extends DefaultPaginationResult {
5403
+ data: Data[] | PopulatedData[];
5404
+ }
5405
+ }
5406
+ export namespace Get {
5407
+ export type ID = string;
5408
+ export interface Params {
5409
+ populatedKeys?: PopulatedKeys[];
5410
+ [key: string]: any;
5411
+ }
5412
+ export type Result = Data | PopulatedData;
5413
+ }
5414
+ export namespace Create {
5415
+ export type Body = CreateBody;
5416
+ export type Result = Data;
5417
+ }
5418
+ export namespace Update {
5419
+ export type ID = string;
5420
+ export type Body = UpdateBody;
5421
+ export type Result = Data;
5422
+ }
5423
+ export namespace Remove {
5424
+ export type ID = string;
5425
+ export type Result = Data;
5426
+ }
5427
+ }
5428
+
5245
5429
  export namespace QuickConvertToPdf {
5246
5430
  export interface QuickConvertToPdfSchema {
5247
5431
  _id?: string;
@@ -5310,6 +5494,7 @@ export namespace Service {
5310
5494
  qr_code_tlv?: string;
5311
5495
  processable?: boolean;
5312
5496
  client_id: string;
5497
+ client_balance?: number;
5313
5498
  client_name: string;
5314
5499
  comment?: string;
5315
5500
  return_comment?: string;
@@ -5849,6 +6034,7 @@ export namespace Service {
5849
6034
  qr_code_tlv?: string;
5850
6035
  processable?: boolean;
5851
6036
  client_name: string;
6037
+ client_balance?: number;
5852
6038
  comment?: string;
5853
6039
  return_comment?: string;
5854
6040
  creator: AdminCreator | RepCreator | ClientCreator;
@@ -12287,6 +12473,486 @@ export namespace Service {
12287
12473
  export type Result = Settings.Data;
12288
12474
  }
12289
12475
  }
12476
+
12477
+ export namespace ClientLocation {
12478
+ export interface Data {
12479
+ _id: StringId;
12480
+ creator: AdminOrRep;
12481
+ editor?: AdminOrRep;
12482
+ name: string;
12483
+ local_name?: string;
12484
+ client: StringId;
12485
+ description?: string;
12486
+ address?: string;
12487
+ contacts?: StringId[];
12488
+ disabled: boolean;
12489
+ customFields?: {};
12490
+ media?: StringId[];
12491
+ cover_photo?: StringId;
12492
+ integration_meta?: { [key: string]: any };
12493
+ company_namespace: string[];
12494
+ geoPoint?: GeoPoint;
12495
+ createdAt: string;
12496
+ updatedAt: string;
12497
+ }
12498
+
12499
+ export interface CreateBody {
12500
+ creator?: AdminOrRep;
12501
+ name: string;
12502
+ local_name?: string;
12503
+ client: StringId;
12504
+ description?: string;
12505
+ address?: string;
12506
+ contacts?: StringId[];
12507
+ disabled: boolean;
12508
+ customFields?: {};
12509
+ media?: StringId[];
12510
+ cover_photo?: StringId;
12511
+ integration_meta?: { [key: string]: any };
12512
+ geoPoint?: GeoPoint;
12513
+ }
12514
+ export interface UpdateBody {
12515
+ editor?: AdminOrRep;
12516
+ name?: string;
12517
+ local_name?: string;
12518
+ client?: StringId;
12519
+ description?: string;
12520
+ address?: string;
12521
+ contacts?: StringId[];
12522
+ customFields?: {};
12523
+ media?: StringId[];
12524
+ cover_photo?: StringId;
12525
+ integration_meta?: { [key: string]: any };
12526
+ geoPoint?: GeoPoint;
12527
+ }
12528
+
12529
+ export interface PopulatedDoc {
12530
+ _id: StringId;
12531
+ creator: AdminOrRep;
12532
+ editor?: AdminOrRep;
12533
+ local_name?: string;
12534
+ name: string;
12535
+ client:
12536
+ | StringId
12537
+ | (Pick<Client.ClientSchema, "name" | "client_code" | "contacts"> & {
12538
+ contacts:
12539
+ | StringId[]
12540
+ | Pick<ClientContact.ClientContactSchema, "name">[];
12541
+ });
12542
+ description?: string;
12543
+ address?: string;
12544
+ contacts?: StringId[] | ClientContact.ClientContactSchema[];
12545
+ disabled: boolean;
12546
+ customFields?: {};
12547
+ media?: StringId[] | PopulatedMediaStorage[];
12548
+ cover_photo?: StringId | PopulatedMediaStorage;
12549
+ integration_meta?: { [key: string]: any };
12550
+ company_namespace: string[];
12551
+ geoPoint?: GeoPoint;
12552
+ createdAt: string;
12553
+ updatedAt: string;
12554
+ }
12555
+
12556
+ type PopulatedKeys =
12557
+ | "client"
12558
+ | "contacts"
12559
+ | "media"
12560
+ | "cover_photo"
12561
+ | "customFields";
12562
+
12563
+ export namespace Find {
12564
+ export type Params = DefaultPaginationQueryParams & {
12565
+ name?: string | string[];
12566
+ client?: StringId | StringId[];
12567
+ _id?: StringId | StringId[];
12568
+ from_updatedAt?: number;
12569
+ to_updatedAt?: number;
12570
+ from_createdAt?: number;
12571
+ to_createdAt?: number;
12572
+ search?: string;
12573
+ sortBy?: {
12574
+ field: "name" | "client";
12575
+ type: "asc" | "desc";
12576
+ }[];
12577
+ populatedKeys?: PopulatedKeys[];
12578
+ };
12579
+ export interface Result extends DefaultPaginationResult {
12580
+ data: Data[] & PopulatedDoc[];
12581
+ }
12582
+ }
12583
+ export namespace Get {
12584
+ export type ID = string;
12585
+ export type Params = {
12586
+ populatedKeys?: PopulatedKeys[];
12587
+ };
12588
+ export type Result = Data & PopulatedDoc;
12589
+ }
12590
+ export namespace Update {
12591
+ export type ID = StringId;
12592
+ export type Body = UpdateBody;
12593
+ export type Result = Data;
12594
+ }
12595
+ export namespace Create {
12596
+ export type Body = CreateBody;
12597
+ export type Result = Data;
12598
+ }
12599
+ export namespace Remove {
12600
+ export type ID = string;
12601
+ export type Params = {};
12602
+ export type Result = Data;
12603
+ }
12604
+ }
12605
+
12606
+ export namespace AssetType {
12607
+ export interface Data {
12608
+ _id: StringId;
12609
+ creator: AdminOrRep;
12610
+ editor?: AdminOrRep;
12611
+ name: string;
12612
+ color: string;
12613
+ local_name?: string;
12614
+ disabled: boolean;
12615
+ integration_meta?: { [key: string]: any };
12616
+ company_namespace: string[];
12617
+ createdAt: string;
12618
+ updatedAt: string;
12619
+ }
12620
+
12621
+ export interface CreateBody {
12622
+ creator?: AdminOrRep;
12623
+ name: string;
12624
+ local_name?: string;
12625
+ color: string;
12626
+ disabled?: boolean;
12627
+ integration_meta?: { [key: string]: any };
12628
+ }
12629
+ export interface UpdateBody {
12630
+ editor?: AdminOrRep;
12631
+ name?: string;
12632
+ local_name?: string;
12633
+ color?: string;
12634
+ disabled?: boolean;
12635
+ integration_meta?: { [key: string]: any };
12636
+ }
12637
+
12638
+ export namespace Find {
12639
+ export type Params = DefaultPaginationQueryParams & {
12640
+ _id?: StringId | StringId[];
12641
+ search?: string;
12642
+ name?: string | string[];
12643
+ from_updatedAt?: number;
12644
+ to_updatedAt?: number;
12645
+ sortBy?: { field: "color" | "name"; type: "asc" | "desc" }[];
12646
+ };
12647
+ export interface Result extends DefaultPaginationResult {
12648
+ data: Data[];
12649
+ }
12650
+ }
12651
+ export namespace Get {
12652
+ export type ID = string;
12653
+ export type Result = Data;
12654
+ }
12655
+ export namespace Update {
12656
+ export type ID = StringId;
12657
+ export type Body = UpdateBody;
12658
+ export type Result = Data;
12659
+ }
12660
+ export namespace Create {
12661
+ export type Body = CreateBody;
12662
+ export type Result = Data;
12663
+ }
12664
+ export namespace Remove {
12665
+ export type ID = string;
12666
+ export type Params = {};
12667
+ export type Result = Data;
12668
+ }
12669
+ }
12670
+
12671
+ export namespace Asset {
12672
+ export interface Data {
12673
+ _id: StringId;
12674
+ creator: AdminCreator;
12675
+ editor?: AdminCreator;
12676
+ name: string;
12677
+ local_name?: string;
12678
+ description?: string;
12679
+ barcode?: string;
12680
+ model?: string;
12681
+ manufacturer?: string;
12682
+ year?: string;
12683
+ asset_types: StringId[];
12684
+ location: StringId;
12685
+ customFields?: { [key: string]: string | number | boolean };
12686
+ disabled: boolean;
12687
+ integration_meta?: { [key: string]: any };
12688
+ media?: StringId[];
12689
+ cover_photo?: StringId;
12690
+ company_namespace: string[];
12691
+ createdAt: string;
12692
+ updatedAt: string;
12693
+ }
12694
+
12695
+ export interface CreateBody {
12696
+ creator?: AdminCreator;
12697
+ name: string;
12698
+ local_name?: string;
12699
+ description?: string;
12700
+ barcode?: string;
12701
+ model?: string;
12702
+ manufacturer?: string;
12703
+ year?: string;
12704
+ asset_types: StringId[];
12705
+ location: StringId;
12706
+ customFields?: {};
12707
+ disabled?: boolean;
12708
+ media?: StringId[];
12709
+ cover_photo?: StringId;
12710
+ integration_meta?: { [key: string]: any };
12711
+ }
12712
+ export interface UpdateBody {
12713
+ editor?: AdminCreator;
12714
+ name?: string;
12715
+ local_name?: string;
12716
+ description?: string;
12717
+ barcode?: string;
12718
+ model?: string;
12719
+ manufacturer?: string;
12720
+ year?: string;
12721
+ asset_types?: StringId[];
12722
+ location?: StringId;
12723
+ customFields?: {};
12724
+ disabled?: boolean;
12725
+ media?: StringId[];
12726
+ cover_photo?: StringId;
12727
+ integration_meta?: { [key: string]: any };
12728
+ }
12729
+
12730
+ export interface PopulatedDoc {
12731
+ _id: StringId;
12732
+ creator: AdminCreator;
12733
+ editor?: AdminCreator;
12734
+ name: string;
12735
+ local_name?: string;
12736
+ description?: string;
12737
+ barcode?: string;
12738
+ model?: string;
12739
+ manufacturer?: string;
12740
+ year?: string;
12741
+ asset_types: StringId[] | AssetType.Data[];
12742
+ location:
12743
+ | StringId
12744
+ | ClientLocation.Data
12745
+ | (ClientLocation.Data & {
12746
+ client?: Pick<
12747
+ Client.ClientSchema,
12748
+ "name" | "_id" | "client_code" | "local_name"
12749
+ >;
12750
+ });
12751
+ media?: StringId[] | PopulatedMediaStorage[];
12752
+ cover_photo?: StringId | PopulatedMediaStorage;
12753
+ customFields?: { [key: string]: string | number | boolean };
12754
+ disabled: boolean;
12755
+ integration_meta?: { [key: string]: any };
12756
+ company_namespace: string[];
12757
+ createdAt: string;
12758
+ updatedAt: string;
12759
+ }
12760
+
12761
+ type PopulatedKeys =
12762
+ | "asset_types"
12763
+ | "location"
12764
+ | "media"
12765
+ | "cover_photo"
12766
+ | "locationClient"
12767
+ | "customFields";
12768
+
12769
+ export namespace Find {
12770
+ export type Params = DefaultPaginationQueryParams & {
12771
+ name?: string | string[];
12772
+ _id?: StringId | StringId[];
12773
+ from_updatedAt?: number;
12774
+ to_updatedAt?: number;
12775
+ asset_types?: StringId | StringId[];
12776
+ location?: StringId | StringId[];
12777
+ from_createdAt?: number;
12778
+ to_createdAt?: number;
12779
+ search?: string;
12780
+ sortBy?: {
12781
+ field: "barcode" | "name" | "model";
12782
+ type: "asc" | "desc";
12783
+ }[];
12784
+ populatedKeys?: PopulatedKeys[];
12785
+ };
12786
+ export interface Result extends DefaultPaginationResult {
12787
+ data: Data[] & PopulatedDoc[];
12788
+ }
12789
+ }
12790
+ export namespace Get {
12791
+ export type ID = string;
12792
+ export type Params = {
12793
+ populatedKeys?: PopulatedKeys[];
12794
+ };
12795
+ export type Result = Data & PopulatedDoc;
12796
+ }
12797
+ export namespace Update {
12798
+ export type ID = StringId;
12799
+ export type Body = UpdateBody;
12800
+ export type Result = Data;
12801
+ }
12802
+ export namespace Create {
12803
+ export type Body = CreateBody;
12804
+ export type Result = Data;
12805
+ }
12806
+ export namespace Remove {
12807
+ export type ID = string;
12808
+ export type Params = {};
12809
+ export type Result = Data;
12810
+ }
12811
+ }
12812
+
12813
+ export namespace AssetUnit {
12814
+ export interface Data {
12815
+ _id: StringId;
12816
+ creator: AdminOrRep;
12817
+ editor?: AdminOrRep;
12818
+ name: string;
12819
+ asset: StringId;
12820
+ location?: StringId;
12821
+ local_name?: string;
12822
+ description?: string;
12823
+ serial_nu?: string;
12824
+ customFields?: {};
12825
+ disabled: boolean;
12826
+ integration_meta?: { [key: string]: any };
12827
+ media?: StringId[];
12828
+ cover_photo?: StringId;
12829
+ comany_namespace: string[];
12830
+ createdAt: string;
12831
+ updatedAt: string;
12832
+ }
12833
+
12834
+ export interface CreateBody {
12835
+ creator?: AdminOrRep;
12836
+ name: string;
12837
+ asset: StringId;
12838
+ location?: StringId;
12839
+ local_name?: string;
12840
+ description?: string;
12841
+ serial_nu?: string;
12842
+ customFields?: {};
12843
+ integration_meta?: { [key: string]: any };
12844
+ media?: StringId[];
12845
+ cover_photo?: StringId;
12846
+ }
12847
+ export interface UpdateBody {
12848
+ editor?: AdminOrRep;
12849
+ name?: string;
12850
+ asset?: StringId;
12851
+ location?: StringId;
12852
+ local_name?: string;
12853
+ description?: string;
12854
+ serial_nu?: string;
12855
+ customFields?: {};
12856
+ integration_meta?: { [key: string]: any };
12857
+ media?: StringId[] | string[];
12858
+ cover_photo?: StringId;
12859
+ }
12860
+
12861
+ type assetPopulated =
12862
+ | StringId
12863
+ | Asset.Data
12864
+ | (Asset.Data & { location?: ClientLocation.Data })
12865
+ | (Asset.Data & {
12866
+ location?:
12867
+ | ClientLocation.Data
12868
+ | (ClientLocation.Data & {
12869
+ client: Pick<
12870
+ Client.ClientSchema,
12871
+ "name" | "client_code" | "_id"
12872
+ >;
12873
+ });
12874
+ });
12875
+
12876
+ type locationPopulated =
12877
+ | StringId
12878
+ | ClientLocation.Data
12879
+ | (ClientLocation.Data & {
12880
+ client: Pick<Client.ClientSchema, "name" | "_id" | "client_code">;
12881
+ });
12882
+
12883
+ export interface PopulatedDoc {
12884
+ _id: StringId;
12885
+ creator: AdminOrRep;
12886
+ editor?: AdminOrRep;
12887
+ name: string;
12888
+ asset: assetPopulated;
12889
+ location?: locationPopulated;
12890
+ local_name?: string;
12891
+ description?: string;
12892
+ serial_nu?: string;
12893
+ customFields?: {};
12894
+ disabled: boolean;
12895
+ integration_meta?: { [key: string]: any };
12896
+ media?: StringId[] | PopulatedMediaStorage[];
12897
+ cover_photo?: StringId | PopulatedMediaStorage;
12898
+ comany_namespace: string[];
12899
+ createdAt: string;
12900
+ updatedAt: string;
12901
+ }
12902
+
12903
+ type PopulatedKeys =
12904
+ | "asset"
12905
+ | "location"
12906
+ | "locationClient"
12907
+ | "assetLocation"
12908
+ | "assetLocationClient"
12909
+ | "media"
12910
+ | "cover_photo"
12911
+ | "customFields";
12912
+
12913
+ export namespace Find {
12914
+ export type Params = DefaultPaginationQueryParams & {
12915
+ name?: string | string[];
12916
+ _id?: StringId | StringId[];
12917
+ from_updatedAt?: number;
12918
+ to_updatedAt?: number;
12919
+ asset?: StringId | StringId[];
12920
+ location?: StringId | StringId[];
12921
+ from_createdAt?: number;
12922
+ to_createdAt?: number;
12923
+ search?: string;
12924
+ sortBy?: {
12925
+ field: "asset" | "name";
12926
+ type: "asc" | "desc";
12927
+ }[];
12928
+ populatedKeys?: PopulatedKeys[];
12929
+ };
12930
+ export interface Result extends DefaultPaginationResult {
12931
+ data: Data[] & PopulatedDoc[];
12932
+ }
12933
+ }
12934
+ export namespace Get {
12935
+ export type ID = string;
12936
+ export type Params = {
12937
+ populatedKeys?: PopulatedKeys[];
12938
+ };
12939
+ export type Result = Data & PopulatedDoc;
12940
+ }
12941
+ export namespace Update {
12942
+ export type ID = StringId;
12943
+ export type Body = UpdateBody;
12944
+ export type Result = Data;
12945
+ }
12946
+ export namespace Create {
12947
+ export type Body = CreateBody;
12948
+ export type Result = Data;
12949
+ }
12950
+ export namespace Remove {
12951
+ export type ID = string;
12952
+ export type Params = {};
12953
+ export type Result = Data;
12954
+ }
12955
+ }
12290
12956
  }
12291
12957
 
12292
12958
  export type StringId = string;