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/lib/types/index.d.ts
CHANGED
|
@@ -4299,6 +4299,9 @@ export declare namespace Service {
|
|
|
4299
4299
|
name: string;
|
|
4300
4300
|
local_name: string;
|
|
4301
4301
|
barcode: string;
|
|
4302
|
+
integration_meta?: {
|
|
4303
|
+
[key: string]: any;
|
|
4304
|
+
};
|
|
4302
4305
|
};
|
|
4303
4306
|
product_name: string;
|
|
4304
4307
|
variant_id:
|
|
@@ -5409,6 +5412,8 @@ export declare namespace Service {
|
|
|
5409
5412
|
assignedToMe?: boolean;
|
|
5410
5413
|
search?: string;
|
|
5411
5414
|
populatedKeys?: PopulatedKeys | PopulatedKeys[];
|
|
5415
|
+
from__id?: StringId | StringId[];
|
|
5416
|
+
to__id?: StringId | StringId[];
|
|
5412
5417
|
sortBy?: {
|
|
5413
5418
|
field: SortingKeys;
|
|
5414
5419
|
type: "asc" | "desc";
|
|
@@ -5597,6 +5602,8 @@ export declare namespace Service {
|
|
|
5597
5602
|
"creator._id"?: StringId | StringId[];
|
|
5598
5603
|
search?: string;
|
|
5599
5604
|
populatedKeys?: PopulatedKeys | PopulatedKeys[];
|
|
5605
|
+
from__id?: StringId | StringId[];
|
|
5606
|
+
to__id?: StringId | StringId[];
|
|
5600
5607
|
sortBy?: {
|
|
5601
5608
|
field: SortingKeys;
|
|
5602
5609
|
type: "asc" | "desc";
|
|
@@ -9750,6 +9757,12 @@ export declare namespace Service {
|
|
|
9750
9757
|
disabled?: boolean;
|
|
9751
9758
|
from_updatedAt?: number;
|
|
9752
9759
|
to_updatedAt?: number;
|
|
9760
|
+
from__id?: StringId | StringId[];
|
|
9761
|
+
to__id?: StringId | StringId[];
|
|
9762
|
+
sortBy?: {
|
|
9763
|
+
field: "_id";
|
|
9764
|
+
type: "asc" | "desc";
|
|
9765
|
+
}[];
|
|
9753
9766
|
[key: string]: any;
|
|
9754
9767
|
};
|
|
9755
9768
|
interface Result extends DefaultPaginationResult {
|
|
@@ -9911,6 +9924,8 @@ export declare namespace Service {
|
|
|
9911
9924
|
| "updatedAt";
|
|
9912
9925
|
type: "asc" | "desc";
|
|
9913
9926
|
}[];
|
|
9927
|
+
from__id?: StringId | StringId[];
|
|
9928
|
+
to__id?: StringId | StringId[];
|
|
9914
9929
|
[key: string]: any;
|
|
9915
9930
|
};
|
|
9916
9931
|
interface Result extends DefaultPaginationResult {
|
|
@@ -10163,6 +10178,8 @@ export declare namespace Service {
|
|
|
10163
10178
|
"creator._id"?: StringId[] | StringId;
|
|
10164
10179
|
creator_type?: string | string[];
|
|
10165
10180
|
"creator.type"?: string | string[];
|
|
10181
|
+
from__id?: StringId | StringId[];
|
|
10182
|
+
to__id?: StringId | StringId[];
|
|
10166
10183
|
[key: string]: any;
|
|
10167
10184
|
};
|
|
10168
10185
|
interface Result extends DefaultPaginationResult {
|
|
@@ -13741,10 +13758,12 @@ export declare namespace Service {
|
|
|
13741
13758
|
_id?: StringId | StringId[];
|
|
13742
13759
|
search?: string;
|
|
13743
13760
|
name?: string | string[];
|
|
13761
|
+
from__id?: StringId | StringId[];
|
|
13762
|
+
to__id?: StringId | StringId[];
|
|
13744
13763
|
from_updatedAt?: number;
|
|
13745
13764
|
to_updatedAt?: number;
|
|
13746
13765
|
sortBy?: {
|
|
13747
|
-
field: "color" | "name";
|
|
13766
|
+
field: "color" | "name" | "_id";
|
|
13748
13767
|
type: "asc" | "desc";
|
|
13749
13768
|
}[];
|
|
13750
13769
|
};
|
|
@@ -13888,8 +13907,10 @@ export declare namespace Service {
|
|
|
13888
13907
|
from_createdAt?: number;
|
|
13889
13908
|
to_createdAt?: number;
|
|
13890
13909
|
search?: string;
|
|
13910
|
+
from__id?: StringId | StringId[];
|
|
13911
|
+
to__id?: StringId | StringId[];
|
|
13891
13912
|
sortBy?: {
|
|
13892
|
-
field: "barcode" | "name" | "model";
|
|
13913
|
+
field: "barcode" | "name" | "model" | "_id";
|
|
13893
13914
|
type: "asc" | "desc";
|
|
13894
13915
|
}[];
|
|
13895
13916
|
populatedKeys?: PopulatedKeys[];
|
|
@@ -14037,9 +14058,391 @@ export declare namespace Service {
|
|
|
14037
14058
|
to_createdAt?: number;
|
|
14038
14059
|
search?: string;
|
|
14039
14060
|
sortBy?: {
|
|
14040
|
-
field: "asset" | "name";
|
|
14061
|
+
field: "asset" | "name" | "_id";
|
|
14062
|
+
type: "asc" | "desc";
|
|
14063
|
+
}[];
|
|
14064
|
+
from__id?: StringId | StringId[];
|
|
14065
|
+
to__id?: StringId | StringId[];
|
|
14066
|
+
populatedKeys?: PopulatedKeys[];
|
|
14067
|
+
};
|
|
14068
|
+
interface Result extends DefaultPaginationResult {
|
|
14069
|
+
data: Data[] & PopulatedDoc[];
|
|
14070
|
+
}
|
|
14071
|
+
}
|
|
14072
|
+
export namespace Get {
|
|
14073
|
+
type ID = string;
|
|
14074
|
+
type Params = {
|
|
14075
|
+
populatedKeys?: PopulatedKeys[];
|
|
14076
|
+
};
|
|
14077
|
+
type Result = Data & PopulatedDoc;
|
|
14078
|
+
}
|
|
14079
|
+
export namespace Update {
|
|
14080
|
+
type ID = StringId;
|
|
14081
|
+
type Body = UpdateBody;
|
|
14082
|
+
type Result = Data;
|
|
14083
|
+
}
|
|
14084
|
+
export namespace Create {
|
|
14085
|
+
type Body = CreateBody;
|
|
14086
|
+
type Result = Data;
|
|
14087
|
+
}
|
|
14088
|
+
export namespace Remove {
|
|
14089
|
+
type ID = string;
|
|
14090
|
+
type Params = {};
|
|
14091
|
+
type Result = Data;
|
|
14092
|
+
}
|
|
14093
|
+
export {};
|
|
14094
|
+
}
|
|
14095
|
+
namespace WorkorderCategory {
|
|
14096
|
+
interface Data {
|
|
14097
|
+
_id: StringId;
|
|
14098
|
+
creator: AdminOrRep;
|
|
14099
|
+
editor?: AdminOrRep;
|
|
14100
|
+
name: string;
|
|
14101
|
+
local_name?: string;
|
|
14102
|
+
description?: string;
|
|
14103
|
+
disabled: boolean;
|
|
14104
|
+
integration_meta?: {
|
|
14105
|
+
[key: string]: any;
|
|
14106
|
+
};
|
|
14107
|
+
comany_namespace: string[];
|
|
14108
|
+
createdAt: string;
|
|
14109
|
+
updatedAt: string;
|
|
14110
|
+
}
|
|
14111
|
+
interface CreateBody {
|
|
14112
|
+
creator?: AdminOrRep;
|
|
14113
|
+
name: string;
|
|
14114
|
+
local_name?: string;
|
|
14115
|
+
description?: string;
|
|
14116
|
+
disabled?: boolean;
|
|
14117
|
+
integration_meta?: {
|
|
14118
|
+
[key: string]: any;
|
|
14119
|
+
};
|
|
14120
|
+
comany_namespace?: string[];
|
|
14121
|
+
}
|
|
14122
|
+
interface UpdateBody {
|
|
14123
|
+
_id?: StringId;
|
|
14124
|
+
creator?: AdminOrRep;
|
|
14125
|
+
editor?: AdminOrRep;
|
|
14126
|
+
name?: string;
|
|
14127
|
+
local_name?: string;
|
|
14128
|
+
description?: string;
|
|
14129
|
+
disabled?: boolean;
|
|
14130
|
+
integration_meta?: {
|
|
14131
|
+
[key: string]: any;
|
|
14132
|
+
};
|
|
14133
|
+
comany_namespace?: string[];
|
|
14134
|
+
}
|
|
14135
|
+
namespace Find {
|
|
14136
|
+
type Params = DefaultPaginationQueryParams & {
|
|
14137
|
+
name?: string | string[];
|
|
14138
|
+
_id?: StringId | StringId[];
|
|
14139
|
+
from_updatedAt?: number;
|
|
14140
|
+
to_updatedAt?: number;
|
|
14141
|
+
from_createdAt?: number;
|
|
14142
|
+
to_createdAt?: number;
|
|
14143
|
+
from__id?: StringId | StringId[];
|
|
14144
|
+
to__id?: StringId | StringId[];
|
|
14145
|
+
search?: string;
|
|
14146
|
+
sortBy?: {
|
|
14147
|
+
field: "_id" | "name";
|
|
14041
14148
|
type: "asc" | "desc";
|
|
14042
14149
|
}[];
|
|
14150
|
+
};
|
|
14151
|
+
interface Result extends DefaultPaginationResult {
|
|
14152
|
+
data: Data[];
|
|
14153
|
+
}
|
|
14154
|
+
}
|
|
14155
|
+
namespace Get {
|
|
14156
|
+
type ID = string;
|
|
14157
|
+
type Params = {};
|
|
14158
|
+
type Result = Data;
|
|
14159
|
+
}
|
|
14160
|
+
namespace Update {
|
|
14161
|
+
type ID = StringId;
|
|
14162
|
+
type Body = UpdateBody;
|
|
14163
|
+
type Result = Data;
|
|
14164
|
+
}
|
|
14165
|
+
namespace Create {
|
|
14166
|
+
type Body = CreateBody;
|
|
14167
|
+
type Result = Data;
|
|
14168
|
+
}
|
|
14169
|
+
namespace Remove {
|
|
14170
|
+
type ID = string;
|
|
14171
|
+
type Params = {};
|
|
14172
|
+
type Result = Data;
|
|
14173
|
+
}
|
|
14174
|
+
}
|
|
14175
|
+
namespace Contract {
|
|
14176
|
+
export type ContractStatus = "open" | "closed" | "canceled";
|
|
14177
|
+
export interface Data {
|
|
14178
|
+
_id: StringId;
|
|
14179
|
+
creator: AdminOrRep;
|
|
14180
|
+
editor?: AdminOrRep;
|
|
14181
|
+
sync_id: string;
|
|
14182
|
+
title?: string;
|
|
14183
|
+
serial_number: SerialNumber;
|
|
14184
|
+
external_serial_number?: string;
|
|
14185
|
+
start_time: number;
|
|
14186
|
+
end_time: number;
|
|
14187
|
+
amount?: number;
|
|
14188
|
+
client: StringId;
|
|
14189
|
+
status?: ContractStatus;
|
|
14190
|
+
disabled: boolean;
|
|
14191
|
+
locations?: {
|
|
14192
|
+
_id: StringId;
|
|
14193
|
+
assets?: StringId[];
|
|
14194
|
+
asset_units?: StringId[];
|
|
14195
|
+
}[];
|
|
14196
|
+
media?: StringId[];
|
|
14197
|
+
renewed_from?: StringId;
|
|
14198
|
+
comany_namespace: string[];
|
|
14199
|
+
createdAt: string;
|
|
14200
|
+
updatedAt: string;
|
|
14201
|
+
}
|
|
14202
|
+
export interface CreateBody {
|
|
14203
|
+
sync_id: string;
|
|
14204
|
+
creator?: AdminOrRep;
|
|
14205
|
+
title?: string;
|
|
14206
|
+
serial_number?: SerialNumber;
|
|
14207
|
+
external_serial_number?: string;
|
|
14208
|
+
start_time: number;
|
|
14209
|
+
end_time: number;
|
|
14210
|
+
amount?: number;
|
|
14211
|
+
client: StringId;
|
|
14212
|
+
status?: ContractStatus;
|
|
14213
|
+
disabled?: boolean;
|
|
14214
|
+
locations?: {
|
|
14215
|
+
_id: StringId;
|
|
14216
|
+
assets?: StringId[];
|
|
14217
|
+
asset_units?: StringId[];
|
|
14218
|
+
}[];
|
|
14219
|
+
media?: StringId[];
|
|
14220
|
+
renewed_from?: StringId;
|
|
14221
|
+
comany_namespace?: string[];
|
|
14222
|
+
}
|
|
14223
|
+
export interface UpdateBody {
|
|
14224
|
+
_id?: StringId;
|
|
14225
|
+
creator?: AdminOrRep;
|
|
14226
|
+
editor?: AdminOrRep;
|
|
14227
|
+
sync_id?: string;
|
|
14228
|
+
title?: string;
|
|
14229
|
+
serial_number?: SerialNumber;
|
|
14230
|
+
external_serial_number?: string;
|
|
14231
|
+
start_time?: number;
|
|
14232
|
+
end_time?: number;
|
|
14233
|
+
amount?: number;
|
|
14234
|
+
client?: StringId;
|
|
14235
|
+
status?: ContractStatus;
|
|
14236
|
+
disabled?: boolean;
|
|
14237
|
+
locations?: {
|
|
14238
|
+
_id: StringId;
|
|
14239
|
+
assets?: StringId[];
|
|
14240
|
+
asset_units?: StringId[];
|
|
14241
|
+
}[];
|
|
14242
|
+
media?: StringId[];
|
|
14243
|
+
renewed_from?: StringId;
|
|
14244
|
+
comany_namespace?: string[];
|
|
14245
|
+
createdAt?: string;
|
|
14246
|
+
updatedAt?: string;
|
|
14247
|
+
}
|
|
14248
|
+
export interface PopulatedDoc {
|
|
14249
|
+
_id: StringId;
|
|
14250
|
+
creator: AdminOrRep;
|
|
14251
|
+
editor?: AdminOrRep;
|
|
14252
|
+
sync_id: string;
|
|
14253
|
+
title?: string;
|
|
14254
|
+
serial_number: SerialNumber;
|
|
14255
|
+
external_serial_number?: string;
|
|
14256
|
+
start_time: number;
|
|
14257
|
+
end_time: number;
|
|
14258
|
+
amount?: number;
|
|
14259
|
+
client: StringId;
|
|
14260
|
+
client_populated?: Pick<
|
|
14261
|
+
Client.ClientSchema,
|
|
14262
|
+
"name" | "client_code" | "_id" | "local_name"
|
|
14263
|
+
>;
|
|
14264
|
+
status?: ContractStatus;
|
|
14265
|
+
disabled: boolean;
|
|
14266
|
+
locations?: {
|
|
14267
|
+
_id:
|
|
14268
|
+
| StringId
|
|
14269
|
+
| Pick<ClientLocation.Data, "name" | "_id" | "cover_photo">;
|
|
14270
|
+
assets?:
|
|
14271
|
+
| StringId[]
|
|
14272
|
+
| Pick<Asset.Data, "name" | "_id" | "cover_photo">[];
|
|
14273
|
+
asset_units?:
|
|
14274
|
+
| StringId[]
|
|
14275
|
+
| Pick<AssetUnit.Data, "name" | "_id" | "cover_photo">[];
|
|
14276
|
+
}[];
|
|
14277
|
+
media?: StringId[];
|
|
14278
|
+
media_populated?: PopulatedMediaStorage[];
|
|
14279
|
+
renewed_from?: StringId;
|
|
14280
|
+
renewed_from_populated?: Data;
|
|
14281
|
+
comany_namespace: string[];
|
|
14282
|
+
createdAt: string;
|
|
14283
|
+
updatedAt: string;
|
|
14284
|
+
}
|
|
14285
|
+
type PopulatedKeys =
|
|
14286
|
+
| "locations.asset_units"
|
|
14287
|
+
| "locations.assets"
|
|
14288
|
+
| "locations._id"
|
|
14289
|
+
| "client"
|
|
14290
|
+
| "media"
|
|
14291
|
+
| "renewed_from";
|
|
14292
|
+
export namespace Find {
|
|
14293
|
+
type Params = DefaultPaginationQueryParams & {
|
|
14294
|
+
_id?: StringId | StringId[];
|
|
14295
|
+
from_updatedAt?: number;
|
|
14296
|
+
to_updatedAt?: number;
|
|
14297
|
+
from_createdAt?: number;
|
|
14298
|
+
to_createdAt?: number;
|
|
14299
|
+
from__id?: StringId | StringId[];
|
|
14300
|
+
to__id?: StringId | StringId[];
|
|
14301
|
+
search?: string;
|
|
14302
|
+
sortBy?: {
|
|
14303
|
+
field: "_id";
|
|
14304
|
+
type: "asc" | "desc";
|
|
14305
|
+
}[];
|
|
14306
|
+
status?: ContractStatus | ContractStatus[];
|
|
14307
|
+
client?: StringId | StringId[];
|
|
14308
|
+
from_start_time?: number;
|
|
14309
|
+
to_start_time?: number;
|
|
14310
|
+
from_end_time?: number;
|
|
14311
|
+
to_end_time?: number;
|
|
14312
|
+
from_amount?: number;
|
|
14313
|
+
to_amount?: number;
|
|
14314
|
+
renewed_from?: StringId | StringId[];
|
|
14315
|
+
populatedKeys?: PopulatedKeys[];
|
|
14316
|
+
expired?: boolean;
|
|
14317
|
+
near_expiry?: boolean;
|
|
14318
|
+
};
|
|
14319
|
+
interface Result extends DefaultPaginationResult {
|
|
14320
|
+
data: Data[] & PopulatedDoc[];
|
|
14321
|
+
}
|
|
14322
|
+
}
|
|
14323
|
+
export namespace Get {
|
|
14324
|
+
type ID = string;
|
|
14325
|
+
type Params = {
|
|
14326
|
+
populatedKeys?: PopulatedKeys[];
|
|
14327
|
+
};
|
|
14328
|
+
type Result = Data & PopulatedDoc;
|
|
14329
|
+
}
|
|
14330
|
+
export namespace Update {
|
|
14331
|
+
type ID = StringId;
|
|
14332
|
+
type Body = UpdateBody;
|
|
14333
|
+
type Result = Data;
|
|
14334
|
+
}
|
|
14335
|
+
export namespace Create {
|
|
14336
|
+
type Body = CreateBody;
|
|
14337
|
+
type Result = Data;
|
|
14338
|
+
}
|
|
14339
|
+
export namespace Remove {
|
|
14340
|
+
type ID = string;
|
|
14341
|
+
type Params = {};
|
|
14342
|
+
type Result = Data;
|
|
14343
|
+
}
|
|
14344
|
+
export {};
|
|
14345
|
+
}
|
|
14346
|
+
namespace ContractInstallment {
|
|
14347
|
+
export type ContractInstallmentStatus = "paid" | "unpaid";
|
|
14348
|
+
export interface Data {
|
|
14349
|
+
_id: StringId;
|
|
14350
|
+
creator: AdminOrRep;
|
|
14351
|
+
editor?: AdminOrRep;
|
|
14352
|
+
sync_id: string;
|
|
14353
|
+
media?: StringId[];
|
|
14354
|
+
serial_number: SerialNumber;
|
|
14355
|
+
external_serial_number?: string;
|
|
14356
|
+
due_time: number;
|
|
14357
|
+
pay_time?: number;
|
|
14358
|
+
amount?: number;
|
|
14359
|
+
contract: StringId;
|
|
14360
|
+
status: ContractInstallmentStatus;
|
|
14361
|
+
disabled: boolean;
|
|
14362
|
+
is_renewed?: boolean;
|
|
14363
|
+
bulk_uuid?: string;
|
|
14364
|
+
comany_namespace: string[];
|
|
14365
|
+
createdAt: string;
|
|
14366
|
+
updatedAt: string;
|
|
14367
|
+
}
|
|
14368
|
+
export interface CreateBody {
|
|
14369
|
+
sync_id: string;
|
|
14370
|
+
creator?: AdminOrRep;
|
|
14371
|
+
serial_number?: SerialNumber;
|
|
14372
|
+
external_serial_number?: string;
|
|
14373
|
+
due_time: number;
|
|
14374
|
+
pay_time?: number;
|
|
14375
|
+
amount?: number;
|
|
14376
|
+
contract: StringId;
|
|
14377
|
+
status?: ContractInstallmentStatus;
|
|
14378
|
+
disabled?: boolean;
|
|
14379
|
+
is_renewed?: boolean;
|
|
14380
|
+
bulk_uuid?: string;
|
|
14381
|
+
media?: StringId[];
|
|
14382
|
+
comany_namespace?: string[];
|
|
14383
|
+
}
|
|
14384
|
+
export interface UpdateBody {
|
|
14385
|
+
_id?: StringId;
|
|
14386
|
+
creator?: AdminOrRep;
|
|
14387
|
+
editor?: AdminOrRep;
|
|
14388
|
+
sync_id?: string;
|
|
14389
|
+
media?: StringId[];
|
|
14390
|
+
serial_number?: SerialNumber;
|
|
14391
|
+
external_serial_number?: string;
|
|
14392
|
+
due_time?: number;
|
|
14393
|
+
pay_time?: number;
|
|
14394
|
+
amount?: number;
|
|
14395
|
+
contract?: StringId;
|
|
14396
|
+
status?: ContractInstallmentStatus;
|
|
14397
|
+
disabled?: boolean;
|
|
14398
|
+
is_renewed?: boolean;
|
|
14399
|
+
bulk_uuid?: string;
|
|
14400
|
+
comany_namespace?: string[];
|
|
14401
|
+
createdAt?: string;
|
|
14402
|
+
updatedAt?: string;
|
|
14403
|
+
}
|
|
14404
|
+
export interface PopulatedDoc {
|
|
14405
|
+
_id: StringId;
|
|
14406
|
+
creator: AdminOrRep;
|
|
14407
|
+
editor?: AdminOrRep;
|
|
14408
|
+
sync_id: string;
|
|
14409
|
+
media?: StringId[];
|
|
14410
|
+
serial_number: SerialNumber;
|
|
14411
|
+
external_serial_number?: string;
|
|
14412
|
+
due_time: number;
|
|
14413
|
+
pay_time?: number;
|
|
14414
|
+
amount?: number;
|
|
14415
|
+
contract: StringId;
|
|
14416
|
+
status: ContractInstallmentStatus;
|
|
14417
|
+
disabled: boolean;
|
|
14418
|
+
is_renewed?: boolean;
|
|
14419
|
+
bulk_uuid?: string;
|
|
14420
|
+
comany_namespace: string[];
|
|
14421
|
+
createdAt: string;
|
|
14422
|
+
updatedAt: string;
|
|
14423
|
+
media_populated?: PopulatedMediaStorage[];
|
|
14424
|
+
contract_populated?: Pick<Contract.Data, "serial_number" | "_id">;
|
|
14425
|
+
}
|
|
14426
|
+
type PopulatedKeys = "contract" | "media";
|
|
14427
|
+
export namespace Find {
|
|
14428
|
+
type Params = DefaultPaginationQueryParams & {
|
|
14429
|
+
_id?: StringId | StringId[];
|
|
14430
|
+
from_updatedAt?: number;
|
|
14431
|
+
to_updatedAt?: number;
|
|
14432
|
+
from_createdAt?: number;
|
|
14433
|
+
to_createdAt?: number;
|
|
14434
|
+
from__id?: StringId | StringId[];
|
|
14435
|
+
to__id?: StringId | StringId[];
|
|
14436
|
+
search?: string;
|
|
14437
|
+
sortBy?: {
|
|
14438
|
+
field: "_id";
|
|
14439
|
+
type: "asc" | "desc";
|
|
14440
|
+
}[];
|
|
14441
|
+
status?: ContractInstallmentStatus | ContractInstallmentStatus[];
|
|
14442
|
+
contract?: StringId | StringId[];
|
|
14443
|
+
from_due_time?: number;
|
|
14444
|
+
to_due_time?: number;
|
|
14445
|
+
due_time?: number;
|
|
14043
14446
|
populatedKeys?: PopulatedKeys[];
|
|
14044
14447
|
};
|
|
14045
14448
|
interface Result extends DefaultPaginationResult {
|