repzo 1.0.130 → 1.0.132
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 +65 -2
- package/lib/index.js +295 -167
- package/lib/types/index.d.ts +406 -3
- package/package.json +1 -1
- package/src/index.ts +250 -83
- package/src/oas/brand.yaml +17 -17
- package/src/oas/category.yaml +17 -17
- package/src/oas/client.yaml +17 -17
- package/src/oas/measureunit-family.yaml +18 -18
- package/src/oas/measureunit.yaml +24 -24
- package/src/oas/media.yaml +151 -24
- package/src/oas/pricelist-item.yaml +20 -20
- package/src/oas/pricelist.yaml +17 -17
- package/src/oas/product-group.yaml +17 -17
- package/src/oas/product.yaml +19 -19
- package/src/oas/rep.yaml +17 -17
- package/src/oas/return-reason.yaml +17 -17
- package/src/oas/route.yaml +17 -17
- package/src/oas/subcategory.yaml +17 -17
- package/src/oas/tag.yaml +17 -17
- package/src/oas/tax.yaml +17 -17
- package/src/oas/team.yaml +17 -17
- package/src/oas/variant.yaml +17 -17
- package/src/oas/warehouse.yaml +17 -17
- package/src/types/index.ts +389 -6
- package/test.ts +0 -2
package/src/types/index.ts
CHANGED
|
@@ -4361,6 +4361,7 @@ export namespace Service {
|
|
|
4361
4361
|
name: string;
|
|
4362
4362
|
local_name: string;
|
|
4363
4363
|
barcode: string;
|
|
4364
|
+
integration_meta?: { [key: string]: any };
|
|
4364
4365
|
};
|
|
4365
4366
|
product_name: string;
|
|
4366
4367
|
variant_id:
|
|
@@ -5441,6 +5442,8 @@ export namespace Service {
|
|
|
5441
5442
|
assignedToMe?: boolean;
|
|
5442
5443
|
search?: string;
|
|
5443
5444
|
populatedKeys?: PopulatedKeys | PopulatedKeys[];
|
|
5445
|
+
from__id?: StringId | StringId[];
|
|
5446
|
+
to__id?: StringId | StringId[];
|
|
5444
5447
|
sortBy?: { field: SortingKeys; type: "asc" | "desc" }[];
|
|
5445
5448
|
[key: string]: any; // integration_meta.
|
|
5446
5449
|
};
|
|
@@ -5619,6 +5622,8 @@ export namespace Service {
|
|
|
5619
5622
|
"creator._id"?: StringId | StringId[];
|
|
5620
5623
|
search?: string;
|
|
5621
5624
|
populatedKeys?: PopulatedKeys | PopulatedKeys[];
|
|
5625
|
+
from__id?: StringId | StringId[];
|
|
5626
|
+
to__id?: StringId | StringId[];
|
|
5622
5627
|
sortBy?: { field: SortingKeys; type: "asc" | "desc" }[];
|
|
5623
5628
|
[key: string]: any; // integration_meta.
|
|
5624
5629
|
};
|
|
@@ -9551,6 +9556,9 @@ export namespace Service {
|
|
|
9551
9556
|
disabled?: boolean;
|
|
9552
9557
|
from_updatedAt?: number;
|
|
9553
9558
|
to_updatedAt?: number;
|
|
9559
|
+
from__id?: StringId | StringId[];
|
|
9560
|
+
to__id?: StringId | StringId[];
|
|
9561
|
+
sortBy?: { field: "_id"; type: "asc" | "desc" }[];
|
|
9554
9562
|
[key: string]: any; // integration_meta.
|
|
9555
9563
|
};
|
|
9556
9564
|
export interface Result extends DefaultPaginationResult {
|
|
@@ -9703,6 +9711,8 @@ export namespace Service {
|
|
|
9703
9711
|
| "updatedAt";
|
|
9704
9712
|
type: "asc" | "desc";
|
|
9705
9713
|
}[];
|
|
9714
|
+
from__id?: StringId | StringId[];
|
|
9715
|
+
to__id?: StringId | StringId[];
|
|
9706
9716
|
[key: string]: any; // integration_meta.
|
|
9707
9717
|
};
|
|
9708
9718
|
export interface Result extends DefaultPaginationResult {
|
|
@@ -9951,6 +9961,8 @@ export namespace Service {
|
|
|
9951
9961
|
"creator._id"?: StringId[] | StringId;
|
|
9952
9962
|
creator_type?: string | string[];
|
|
9953
9963
|
"creator.type"?: string | string[];
|
|
9964
|
+
from__id?: StringId | StringId[];
|
|
9965
|
+
to__id?: StringId | StringId[];
|
|
9954
9966
|
[key: string]: any; // integration_meta.
|
|
9955
9967
|
};
|
|
9956
9968
|
export interface Result extends DefaultPaginationResult {
|
|
@@ -13233,9 +13245,11 @@ export namespace Service {
|
|
|
13233
13245
|
_id?: StringId | StringId[];
|
|
13234
13246
|
search?: string;
|
|
13235
13247
|
name?: string | string[];
|
|
13248
|
+
from__id?: StringId | StringId[];
|
|
13249
|
+
to__id?: StringId | StringId[];
|
|
13236
13250
|
from_updatedAt?: number;
|
|
13237
13251
|
to_updatedAt?: number;
|
|
13238
|
-
sortBy?: { field: "color" | "name"; type: "asc" | "desc" }[];
|
|
13252
|
+
sortBy?: { field: "color" | "name" | "_id"; type: "asc" | "desc" }[];
|
|
13239
13253
|
};
|
|
13240
13254
|
export interface Result extends DefaultPaginationResult {
|
|
13241
13255
|
data: Data[];
|
|
@@ -13370,8 +13384,10 @@ export namespace Service {
|
|
|
13370
13384
|
from_createdAt?: number;
|
|
13371
13385
|
to_createdAt?: number;
|
|
13372
13386
|
search?: string;
|
|
13387
|
+
from__id?: StringId | StringId[];
|
|
13388
|
+
to__id?: StringId | StringId[];
|
|
13373
13389
|
sortBy?: {
|
|
13374
|
-
field: "barcode" | "name" | "model";
|
|
13390
|
+
field: "barcode" | "name" | "model" | "_id";
|
|
13375
13391
|
type: "asc" | "desc";
|
|
13376
13392
|
}[];
|
|
13377
13393
|
populatedKeys?: PopulatedKeys[];
|
|
@@ -13514,10 +13530,9 @@ export namespace Service {
|
|
|
13514
13530
|
from_createdAt?: number;
|
|
13515
13531
|
to_createdAt?: number;
|
|
13516
13532
|
search?: string;
|
|
13517
|
-
sortBy?: {
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
}[];
|
|
13533
|
+
sortBy?: { field: "asset" | "name" | "_id"; type: "asc" | "desc" }[];
|
|
13534
|
+
from__id?: StringId | StringId[];
|
|
13535
|
+
to__id?: StringId | StringId[];
|
|
13521
13536
|
populatedKeys?: PopulatedKeys[];
|
|
13522
13537
|
};
|
|
13523
13538
|
export interface Result extends DefaultPaginationResult {
|
|
@@ -13546,6 +13561,374 @@ export namespace Service {
|
|
|
13546
13561
|
export type Result = Data;
|
|
13547
13562
|
}
|
|
13548
13563
|
}
|
|
13564
|
+
|
|
13565
|
+
export namespace WorkorderCategory {
|
|
13566
|
+
export interface Data {
|
|
13567
|
+
_id: StringId;
|
|
13568
|
+
creator: AdminOrRep;
|
|
13569
|
+
editor?: AdminOrRep;
|
|
13570
|
+
name: string;
|
|
13571
|
+
local_name?: string;
|
|
13572
|
+
description?: string;
|
|
13573
|
+
disabled: boolean;
|
|
13574
|
+
integration_meta?: { [key: string]: any };
|
|
13575
|
+
comany_namespace: string[];
|
|
13576
|
+
createdAt: string;
|
|
13577
|
+
updatedAt: string;
|
|
13578
|
+
}
|
|
13579
|
+
|
|
13580
|
+
export interface CreateBody {
|
|
13581
|
+
creator?: AdminOrRep;
|
|
13582
|
+
name: string;
|
|
13583
|
+
local_name?: string;
|
|
13584
|
+
description?: string;
|
|
13585
|
+
disabled?: boolean;
|
|
13586
|
+
integration_meta?: { [key: string]: any };
|
|
13587
|
+
comany_namespace?: string[];
|
|
13588
|
+
}
|
|
13589
|
+
export interface UpdateBody {
|
|
13590
|
+
_id?: StringId;
|
|
13591
|
+
creator?: AdminOrRep;
|
|
13592
|
+
editor?: AdminOrRep;
|
|
13593
|
+
name?: string;
|
|
13594
|
+
local_name?: string;
|
|
13595
|
+
description?: string;
|
|
13596
|
+
disabled?: boolean;
|
|
13597
|
+
integration_meta?: { [key: string]: any };
|
|
13598
|
+
comany_namespace?: string[];
|
|
13599
|
+
}
|
|
13600
|
+
|
|
13601
|
+
export namespace Find {
|
|
13602
|
+
export type Params = DefaultPaginationQueryParams & {
|
|
13603
|
+
name?: string | string[];
|
|
13604
|
+
_id?: StringId | StringId[];
|
|
13605
|
+
from_updatedAt?: number;
|
|
13606
|
+
to_updatedAt?: number;
|
|
13607
|
+
from_createdAt?: number;
|
|
13608
|
+
to_createdAt?: number;
|
|
13609
|
+
from__id?: StringId | StringId[];
|
|
13610
|
+
to__id?: StringId | StringId[];
|
|
13611
|
+
search?: string;
|
|
13612
|
+
sortBy?: { field: "_id" | "name"; type: "asc" | "desc" }[];
|
|
13613
|
+
};
|
|
13614
|
+
export interface Result extends DefaultPaginationResult {
|
|
13615
|
+
data: Data[];
|
|
13616
|
+
}
|
|
13617
|
+
}
|
|
13618
|
+
export namespace Get {
|
|
13619
|
+
export type ID = string;
|
|
13620
|
+
export type Params = {};
|
|
13621
|
+
export type Result = Data;
|
|
13622
|
+
}
|
|
13623
|
+
export namespace Update {
|
|
13624
|
+
export type ID = StringId;
|
|
13625
|
+
export type Body = UpdateBody;
|
|
13626
|
+
export type Result = Data;
|
|
13627
|
+
}
|
|
13628
|
+
export namespace Create {
|
|
13629
|
+
export type Body = CreateBody;
|
|
13630
|
+
export type Result = Data;
|
|
13631
|
+
}
|
|
13632
|
+
export namespace Remove {
|
|
13633
|
+
export type ID = string;
|
|
13634
|
+
export type Params = {};
|
|
13635
|
+
export type Result = Data;
|
|
13636
|
+
}
|
|
13637
|
+
}
|
|
13638
|
+
|
|
13639
|
+
export namespace Contract {
|
|
13640
|
+
export type ContractStatus = "open" | "closed" | "canceled";
|
|
13641
|
+
export interface Data {
|
|
13642
|
+
_id: StringId;
|
|
13643
|
+
creator: AdminOrRep;
|
|
13644
|
+
editor?: AdminOrRep;
|
|
13645
|
+
sync_id: string;
|
|
13646
|
+
title?: string;
|
|
13647
|
+
serial_number: SerialNumber;
|
|
13648
|
+
external_serial_number?: string;
|
|
13649
|
+
start_time: number;
|
|
13650
|
+
end_time: number;
|
|
13651
|
+
amount?: number;
|
|
13652
|
+
client: StringId;
|
|
13653
|
+
status?: ContractStatus;
|
|
13654
|
+
disabled: boolean;
|
|
13655
|
+
locations?: {
|
|
13656
|
+
_id: StringId;
|
|
13657
|
+
assets?: StringId[];
|
|
13658
|
+
asset_units?: StringId[];
|
|
13659
|
+
}[];
|
|
13660
|
+
media?: StringId[];
|
|
13661
|
+
renewed_from?: StringId;
|
|
13662
|
+
comany_namespace: string[];
|
|
13663
|
+
createdAt: string;
|
|
13664
|
+
updatedAt: string;
|
|
13665
|
+
}
|
|
13666
|
+
export interface CreateBody {
|
|
13667
|
+
sync_id: string;
|
|
13668
|
+
creator?: AdminOrRep;
|
|
13669
|
+
title?: string;
|
|
13670
|
+
serial_number?: SerialNumber;
|
|
13671
|
+
external_serial_number?: string;
|
|
13672
|
+
start_time: number;
|
|
13673
|
+
end_time: number;
|
|
13674
|
+
amount?: number;
|
|
13675
|
+
client: StringId;
|
|
13676
|
+
status?: ContractStatus;
|
|
13677
|
+
disabled?: boolean;
|
|
13678
|
+
locations?: {
|
|
13679
|
+
_id: StringId;
|
|
13680
|
+
assets?: StringId[];
|
|
13681
|
+
asset_units?: StringId[];
|
|
13682
|
+
}[];
|
|
13683
|
+
media?: StringId[];
|
|
13684
|
+
renewed_from?: StringId;
|
|
13685
|
+
comany_namespace?: string[];
|
|
13686
|
+
}
|
|
13687
|
+
export interface UpdateBody {
|
|
13688
|
+
_id?: StringId;
|
|
13689
|
+
creator?: AdminOrRep;
|
|
13690
|
+
editor?: AdminOrRep;
|
|
13691
|
+
sync_id?: string;
|
|
13692
|
+
title?: string;
|
|
13693
|
+
serial_number?: SerialNumber;
|
|
13694
|
+
external_serial_number?: string;
|
|
13695
|
+
start_time?: number;
|
|
13696
|
+
end_time?: number;
|
|
13697
|
+
amount?: number;
|
|
13698
|
+
client?: StringId;
|
|
13699
|
+
status?: ContractStatus;
|
|
13700
|
+
disabled?: boolean;
|
|
13701
|
+
locations?: {
|
|
13702
|
+
_id: StringId;
|
|
13703
|
+
assets?: StringId[];
|
|
13704
|
+
asset_units?: StringId[];
|
|
13705
|
+
}[];
|
|
13706
|
+
media?: StringId[];
|
|
13707
|
+
renewed_from?: StringId;
|
|
13708
|
+
comany_namespace?: string[];
|
|
13709
|
+
createdAt?: string;
|
|
13710
|
+
updatedAt?: string;
|
|
13711
|
+
}
|
|
13712
|
+
export interface PopulatedDoc {
|
|
13713
|
+
_id: StringId;
|
|
13714
|
+
creator: AdminOrRep;
|
|
13715
|
+
editor?: AdminOrRep;
|
|
13716
|
+
sync_id: string;
|
|
13717
|
+
title?: string;
|
|
13718
|
+
serial_number: SerialNumber;
|
|
13719
|
+
external_serial_number?: string;
|
|
13720
|
+
start_time: number;
|
|
13721
|
+
end_time: number;
|
|
13722
|
+
amount?: number;
|
|
13723
|
+
client: StringId;
|
|
13724
|
+
client_populated?: Pick<
|
|
13725
|
+
Client.ClientSchema,
|
|
13726
|
+
"name" | "client_code" | "_id" | "local_name"
|
|
13727
|
+
>;
|
|
13728
|
+
status?: ContractStatus;
|
|
13729
|
+
disabled: boolean;
|
|
13730
|
+
locations?: {
|
|
13731
|
+
_id:
|
|
13732
|
+
| StringId
|
|
13733
|
+
| Pick<ClientLocation.Data, "name" | "_id" | "cover_photo">;
|
|
13734
|
+
assets?:
|
|
13735
|
+
| StringId[]
|
|
13736
|
+
| Pick<Asset.Data, "name" | "_id" | "cover_photo">[];
|
|
13737
|
+
asset_units?:
|
|
13738
|
+
| StringId[]
|
|
13739
|
+
| Pick<AssetUnit.Data, "name" | "_id" | "cover_photo">[];
|
|
13740
|
+
}[];
|
|
13741
|
+
media?: StringId[];
|
|
13742
|
+
media_populated?: PopulatedMediaStorage[];
|
|
13743
|
+
renewed_from?: StringId;
|
|
13744
|
+
renewed_from_populated?: Data;
|
|
13745
|
+
comany_namespace: string[];
|
|
13746
|
+
createdAt: string;
|
|
13747
|
+
updatedAt: string;
|
|
13748
|
+
}
|
|
13749
|
+
|
|
13750
|
+
type PopulatedKeys =
|
|
13751
|
+
| "locations.asset_units"
|
|
13752
|
+
| "locations.assets"
|
|
13753
|
+
| "locations._id"
|
|
13754
|
+
| "client"
|
|
13755
|
+
| "media"
|
|
13756
|
+
| "renewed_from";
|
|
13757
|
+
|
|
13758
|
+
export namespace Find {
|
|
13759
|
+
export type Params = DefaultPaginationQueryParams & {
|
|
13760
|
+
_id?: StringId | StringId[];
|
|
13761
|
+
from_updatedAt?: number;
|
|
13762
|
+
to_updatedAt?: number;
|
|
13763
|
+
from_createdAt?: number;
|
|
13764
|
+
to_createdAt?: number;
|
|
13765
|
+
from__id?: StringId | StringId[];
|
|
13766
|
+
to__id?: StringId | StringId[];
|
|
13767
|
+
search?: string; // "serial_number.formatted"
|
|
13768
|
+
sortBy?: { field: "_id"; type: "asc" | "desc" }[];
|
|
13769
|
+
status?: ContractStatus | ContractStatus[];
|
|
13770
|
+
client?: StringId | StringId[];
|
|
13771
|
+
from_start_time?: number;
|
|
13772
|
+
to_start_time?: number;
|
|
13773
|
+
from_end_time?: number;
|
|
13774
|
+
to_end_time?: number;
|
|
13775
|
+
from_amount?: number;
|
|
13776
|
+
to_amount?: number;
|
|
13777
|
+
renewed_from?: StringId | StringId[];
|
|
13778
|
+
populatedKeys?: PopulatedKeys[];
|
|
13779
|
+
expired?: boolean;
|
|
13780
|
+
near_expiry?: boolean;
|
|
13781
|
+
};
|
|
13782
|
+
export interface Result extends DefaultPaginationResult {
|
|
13783
|
+
data: Data[] & PopulatedDoc[];
|
|
13784
|
+
}
|
|
13785
|
+
}
|
|
13786
|
+
export namespace Get {
|
|
13787
|
+
export type ID = string;
|
|
13788
|
+
export type Params = { populatedKeys?: PopulatedKeys[] };
|
|
13789
|
+
export type Result = Data & PopulatedDoc;
|
|
13790
|
+
}
|
|
13791
|
+
export namespace Update {
|
|
13792
|
+
export type ID = StringId;
|
|
13793
|
+
export type Body = UpdateBody;
|
|
13794
|
+
export type Result = Data;
|
|
13795
|
+
}
|
|
13796
|
+
export namespace Create {
|
|
13797
|
+
export type Body = CreateBody;
|
|
13798
|
+
export type Result = Data;
|
|
13799
|
+
}
|
|
13800
|
+
export namespace Remove {
|
|
13801
|
+
export type ID = string;
|
|
13802
|
+
export type Params = {};
|
|
13803
|
+
export type Result = Data;
|
|
13804
|
+
}
|
|
13805
|
+
}
|
|
13806
|
+
|
|
13807
|
+
export namespace ContractInstallment {
|
|
13808
|
+
export type ContractInstallmentStatus = "paid" | "unpaid";
|
|
13809
|
+
export interface Data {
|
|
13810
|
+
_id: StringId;
|
|
13811
|
+
creator: AdminOrRep;
|
|
13812
|
+
editor?: AdminOrRep;
|
|
13813
|
+
sync_id: string;
|
|
13814
|
+
media?: StringId[];
|
|
13815
|
+
serial_number: SerialNumber;
|
|
13816
|
+
external_serial_number?: string;
|
|
13817
|
+
due_time: number;
|
|
13818
|
+
pay_time?: number;
|
|
13819
|
+
amount?: number;
|
|
13820
|
+
contract: StringId;
|
|
13821
|
+
status: ContractInstallmentStatus;
|
|
13822
|
+
disabled: boolean;
|
|
13823
|
+
is_renewed?: boolean;
|
|
13824
|
+
bulk_uuid?: string;
|
|
13825
|
+
comany_namespace: string[];
|
|
13826
|
+
createdAt: string;
|
|
13827
|
+
updatedAt: string;
|
|
13828
|
+
}
|
|
13829
|
+
export interface CreateBody {
|
|
13830
|
+
sync_id: string;
|
|
13831
|
+
creator?: AdminOrRep;
|
|
13832
|
+
serial_number?: SerialNumber;
|
|
13833
|
+
external_serial_number?: string;
|
|
13834
|
+
due_time: number;
|
|
13835
|
+
pay_time?: number;
|
|
13836
|
+
amount?: number;
|
|
13837
|
+
contract: StringId;
|
|
13838
|
+
status?: ContractInstallmentStatus;
|
|
13839
|
+
disabled?: boolean;
|
|
13840
|
+
is_renewed?: boolean;
|
|
13841
|
+
bulk_uuid?: string;
|
|
13842
|
+
media?: StringId[];
|
|
13843
|
+
comany_namespace?: string[];
|
|
13844
|
+
}
|
|
13845
|
+
export interface UpdateBody {
|
|
13846
|
+
_id?: StringId;
|
|
13847
|
+
creator?: AdminOrRep;
|
|
13848
|
+
editor?: AdminOrRep;
|
|
13849
|
+
sync_id?: string;
|
|
13850
|
+
media?: StringId[];
|
|
13851
|
+
serial_number?: SerialNumber;
|
|
13852
|
+
external_serial_number?: string;
|
|
13853
|
+
due_time?: number;
|
|
13854
|
+
pay_time?: number;
|
|
13855
|
+
amount?: number;
|
|
13856
|
+
contract?: StringId;
|
|
13857
|
+
status?: ContractInstallmentStatus;
|
|
13858
|
+
disabled?: boolean;
|
|
13859
|
+
is_renewed?: boolean;
|
|
13860
|
+
bulk_uuid?: string;
|
|
13861
|
+
comany_namespace?: string[];
|
|
13862
|
+
createdAt?: string;
|
|
13863
|
+
updatedAt?: string;
|
|
13864
|
+
}
|
|
13865
|
+
export interface PopulatedDoc {
|
|
13866
|
+
_id: StringId;
|
|
13867
|
+
creator: AdminOrRep;
|
|
13868
|
+
editor?: AdminOrRep;
|
|
13869
|
+
sync_id: string;
|
|
13870
|
+
media?: StringId[];
|
|
13871
|
+
serial_number: SerialNumber;
|
|
13872
|
+
external_serial_number?: string;
|
|
13873
|
+
due_time: number;
|
|
13874
|
+
pay_time?: number;
|
|
13875
|
+
amount?: number;
|
|
13876
|
+
contract: StringId;
|
|
13877
|
+
status: ContractInstallmentStatus;
|
|
13878
|
+
disabled: boolean;
|
|
13879
|
+
is_renewed?: boolean;
|
|
13880
|
+
bulk_uuid?: string;
|
|
13881
|
+
comany_namespace: string[];
|
|
13882
|
+
createdAt: string;
|
|
13883
|
+
updatedAt: string;
|
|
13884
|
+
media_populated?: PopulatedMediaStorage[];
|
|
13885
|
+
contract_populated?: Pick<Contract.Data, "serial_number" | "_id">;
|
|
13886
|
+
}
|
|
13887
|
+
|
|
13888
|
+
type PopulatedKeys = "contract" | "media";
|
|
13889
|
+
|
|
13890
|
+
export namespace Find {
|
|
13891
|
+
export type Params = DefaultPaginationQueryParams & {
|
|
13892
|
+
_id?: StringId | StringId[];
|
|
13893
|
+
from_updatedAt?: number;
|
|
13894
|
+
to_updatedAt?: number;
|
|
13895
|
+
from_createdAt?: number;
|
|
13896
|
+
to_createdAt?: number;
|
|
13897
|
+
from__id?: StringId | StringId[];
|
|
13898
|
+
to__id?: StringId | StringId[];
|
|
13899
|
+
search?: string; // "serial_number.formatted"
|
|
13900
|
+
sortBy?: { field: "_id"; type: "asc" | "desc" }[];
|
|
13901
|
+
status?: ContractInstallmentStatus | ContractInstallmentStatus[];
|
|
13902
|
+
contract?: StringId | StringId[];
|
|
13903
|
+
from_due_time?: number;
|
|
13904
|
+
to_due_time?: number;
|
|
13905
|
+
due_time?: number;
|
|
13906
|
+
populatedKeys?: PopulatedKeys[];
|
|
13907
|
+
};
|
|
13908
|
+
export interface Result extends DefaultPaginationResult {
|
|
13909
|
+
data: Data[] & PopulatedDoc[];
|
|
13910
|
+
}
|
|
13911
|
+
}
|
|
13912
|
+
export namespace Get {
|
|
13913
|
+
export type ID = string;
|
|
13914
|
+
export type Params = { populatedKeys?: PopulatedKeys[] };
|
|
13915
|
+
export type Result = Data & PopulatedDoc;
|
|
13916
|
+
}
|
|
13917
|
+
export namespace Update {
|
|
13918
|
+
export type ID = StringId;
|
|
13919
|
+
export type Body = UpdateBody;
|
|
13920
|
+
export type Result = Data;
|
|
13921
|
+
}
|
|
13922
|
+
export namespace Create {
|
|
13923
|
+
export type Body = CreateBody;
|
|
13924
|
+
export type Result = Data;
|
|
13925
|
+
}
|
|
13926
|
+
export namespace Remove {
|
|
13927
|
+
export type ID = string;
|
|
13928
|
+
export type Params = {};
|
|
13929
|
+
export type Result = Data;
|
|
13930
|
+
}
|
|
13931
|
+
}
|
|
13549
13932
|
}
|
|
13550
13933
|
|
|
13551
13934
|
export type StringId = string;
|