repzo 1.0.89 → 1.0.91
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 +1 -5
- package/lib/index.js +0 -8
- package/lib/types/index.d.ts +185 -124
- package/package.json +1 -1
- package/src/index.ts +1 -13
- package/src/types/index.ts +174 -120
package/changelog.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
Params,
|
|
3
3
|
Data,
|
|
4
4
|
Service,
|
|
@@ -699,10 +699,6 @@ export default class Repzo {
|
|
|
699
699
|
create: (
|
|
700
700
|
body: Service.Settlement.Create.Body
|
|
701
701
|
) => Promise<Service.Settlement.Create.Result>;
|
|
702
|
-
update: (
|
|
703
|
-
id: Service.Settlement.Update.ID,
|
|
704
|
-
body: Service.Settlement.Update.Body
|
|
705
|
-
) => Promise<Service.Settlement.Update.Result>;
|
|
706
702
|
};
|
|
707
703
|
check: {
|
|
708
704
|
_path: string;
|
package/lib/index.js
CHANGED
|
@@ -1437,14 +1437,6 @@ export default class Repzo {
|
|
|
1437
1437
|
);
|
|
1438
1438
|
return res;
|
|
1439
1439
|
},
|
|
1440
|
-
update: async (id, body) => {
|
|
1441
|
-
let res = await this._update(
|
|
1442
|
-
this.svAPIEndpoint,
|
|
1443
|
-
this.settlement._path + `/${id}`,
|
|
1444
|
-
body
|
|
1445
|
-
);
|
|
1446
|
-
return res;
|
|
1447
|
-
},
|
|
1448
1440
|
};
|
|
1449
1441
|
this.check = {
|
|
1450
1442
|
_path: "/checks",
|
package/lib/types/index.d.ts
CHANGED
|
@@ -200,21 +200,21 @@ export interface Build {
|
|
|
200
200
|
list: List[];
|
|
201
201
|
start_date?: number | undefined;
|
|
202
202
|
}
|
|
203
|
-
export type Calendar = CalendarWeekly | CalendarWeeklyGroup;
|
|
203
|
+
export declare type Calendar = CalendarWeekly | CalendarWeeklyGroup;
|
|
204
204
|
export interface Route {
|
|
205
205
|
disabled: boolean;
|
|
206
206
|
list: List[];
|
|
207
207
|
_id: string;
|
|
208
208
|
}
|
|
209
|
-
export type Priority = 0 | 1 | 2 | 3;
|
|
210
|
-
export type WorkorderStatus =
|
|
209
|
+
export declare type Priority = 0 | 1 | 2 | 3;
|
|
210
|
+
export declare type WorkorderStatus =
|
|
211
211
|
| "open"
|
|
212
212
|
| "done"
|
|
213
213
|
| "cancelled"
|
|
214
214
|
| "inprogress"
|
|
215
215
|
| "onhold";
|
|
216
|
-
export type Priority_human = "none" | "low" | "medium" | "high";
|
|
217
|
-
export type Day =
|
|
216
|
+
export declare type Priority_human = "none" | "low" | "medium" | "high";
|
|
217
|
+
export declare type Day =
|
|
218
218
|
| "Sun"
|
|
219
219
|
| "Mon"
|
|
220
220
|
| "Tue"
|
|
@@ -223,7 +223,7 @@ export type Day =
|
|
|
223
223
|
| "Fri"
|
|
224
224
|
| "Sat"
|
|
225
225
|
| string;
|
|
226
|
-
export type FieldType =
|
|
226
|
+
export declare type FieldType =
|
|
227
227
|
| "Text"
|
|
228
228
|
| "String"
|
|
229
229
|
| "Date"
|
|
@@ -269,7 +269,7 @@ export interface CalendarWeeklyGroup {
|
|
|
269
269
|
note?: string;
|
|
270
270
|
_id: string;
|
|
271
271
|
}
|
|
272
|
-
export type Model =
|
|
272
|
+
export declare type Model =
|
|
273
273
|
| "quickConvertToPdf"
|
|
274
274
|
| "warehouses"
|
|
275
275
|
| "transfers"
|
|
@@ -294,7 +294,7 @@ export type Model =
|
|
|
294
294
|
| "activities"
|
|
295
295
|
| "bigReports"
|
|
296
296
|
| "admins";
|
|
297
|
-
export type DocumentTypes =
|
|
297
|
+
export declare type DocumentTypes =
|
|
298
298
|
| "form"
|
|
299
299
|
| "quickConvertToPdf"
|
|
300
300
|
| "clients"
|
|
@@ -338,7 +338,7 @@ export type DocumentTypes =
|
|
|
338
338
|
| "retailExecutionPreset"
|
|
339
339
|
| "paymentMethod"
|
|
340
340
|
| "approvalRequest";
|
|
341
|
-
export type PrintTypes = "workorder" | "form" | "invoice" | "proforma";
|
|
341
|
+
export declare type PrintTypes = "workorder" | "form" | "invoice" | "proforma";
|
|
342
342
|
export interface MediaDoc {
|
|
343
343
|
_id?: string;
|
|
344
344
|
media_id: string;
|
|
@@ -3523,7 +3523,8 @@ export declare namespace Service {
|
|
|
3523
3523
|
| "assetPartUnit"
|
|
3524
3524
|
| "assetPartTransfer"
|
|
3525
3525
|
| "returnAssetPartUnit"
|
|
3526
|
-
| "storeAssetPartUnit"
|
|
3526
|
+
| "storeAssetPartUnit"
|
|
3527
|
+
| "adjustInventory";
|
|
3527
3528
|
export interface CustomStatusSchema {
|
|
3528
3529
|
_id: string;
|
|
3529
3530
|
name: string;
|
|
@@ -6286,9 +6287,10 @@ export declare namespace Service {
|
|
|
6286
6287
|
};
|
|
6287
6288
|
origin: {
|
|
6288
6289
|
_id: string;
|
|
6289
|
-
type: "rep";
|
|
6290
|
+
type: "rep" | "admin";
|
|
6290
6291
|
name: string;
|
|
6291
6292
|
rep?: string;
|
|
6293
|
+
admin?: string;
|
|
6292
6294
|
};
|
|
6293
6295
|
time?: number;
|
|
6294
6296
|
serial_number: SerialNumber;
|
|
@@ -6306,19 +6308,6 @@ export declare namespace Service {
|
|
|
6306
6308
|
export interface CreateBody {
|
|
6307
6309
|
amount: number;
|
|
6308
6310
|
time?: number;
|
|
6309
|
-
serial_number: SerialNumber;
|
|
6310
|
-
paytime: string;
|
|
6311
|
-
note?: string;
|
|
6312
|
-
payment_type: "check" | "cash";
|
|
6313
|
-
check_id?: string;
|
|
6314
|
-
teams: string[];
|
|
6315
|
-
company_namespace: string[];
|
|
6316
|
-
sync_id: string;
|
|
6317
|
-
transaction_processed: boolean;
|
|
6318
|
-
}
|
|
6319
|
-
export interface UpdateBody {
|
|
6320
|
-
_id?: string;
|
|
6321
|
-
amount?: number;
|
|
6322
6311
|
creator?: {
|
|
6323
6312
|
_id: string;
|
|
6324
6313
|
type: "admin" | "rep";
|
|
@@ -6326,22 +6315,22 @@ export declare namespace Service {
|
|
|
6326
6315
|
rep?: string;
|
|
6327
6316
|
name: string;
|
|
6328
6317
|
};
|
|
6329
|
-
origin
|
|
6318
|
+
origin: {
|
|
6330
6319
|
_id: string;
|
|
6331
|
-
type: "rep";
|
|
6320
|
+
type: "rep" | "admin";
|
|
6332
6321
|
name: string;
|
|
6333
6322
|
rep?: string;
|
|
6323
|
+
admin?: string;
|
|
6334
6324
|
};
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
paytime?: string;
|
|
6325
|
+
serial_number: SerialNumber;
|
|
6326
|
+
paytime: string;
|
|
6338
6327
|
note?: string;
|
|
6339
|
-
payment_type
|
|
6328
|
+
payment_type: "check" | "cash";
|
|
6340
6329
|
check_id?: string;
|
|
6341
|
-
teams
|
|
6342
|
-
company_namespace
|
|
6343
|
-
sync_id
|
|
6344
|
-
transaction_processed
|
|
6330
|
+
teams: string[];
|
|
6331
|
+
company_namespace: string[];
|
|
6332
|
+
sync_id: string;
|
|
6333
|
+
transaction_processed: boolean;
|
|
6345
6334
|
}
|
|
6346
6335
|
type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
|
|
6347
6336
|
teams_populated?: string[] | Team.TeamSchema[];
|
|
@@ -6350,9 +6339,15 @@ export declare namespace Service {
|
|
|
6350
6339
|
type PopulatedKeys = "teams" | "check_id";
|
|
6351
6340
|
export namespace Find {
|
|
6352
6341
|
type Params = DefaultPaginationQueryParams & {
|
|
6353
|
-
_id?:
|
|
6354
|
-
"creator._id"?:
|
|
6355
|
-
"origin._id"?:
|
|
6342
|
+
_id?: StringId[] | StringId;
|
|
6343
|
+
"creator._id"?: StringId[] | StringId;
|
|
6344
|
+
"origin._id"?: StringId[] | StringId;
|
|
6345
|
+
creator?: StringId[] | StringId;
|
|
6346
|
+
origin?: StringId[] | StringId;
|
|
6347
|
+
"creator.type"?: string[] | string;
|
|
6348
|
+
"origin.type"?: string[] | string;
|
|
6349
|
+
creator_type?: string[] | string;
|
|
6350
|
+
origin_type?: string[] | string;
|
|
6356
6351
|
amount?: number;
|
|
6357
6352
|
payment_type?: string;
|
|
6358
6353
|
from_createdAt?: number;
|
|
@@ -6378,11 +6373,6 @@ export declare namespace Service {
|
|
|
6378
6373
|
type Body = CreateBody;
|
|
6379
6374
|
type Result = SettlementSchema;
|
|
6380
6375
|
}
|
|
6381
|
-
export namespace Update {
|
|
6382
|
-
type ID = string;
|
|
6383
|
-
type Body = UpdateBody;
|
|
6384
|
-
type Result = SettlementSchema;
|
|
6385
|
-
}
|
|
6386
6376
|
export {};
|
|
6387
6377
|
}
|
|
6388
6378
|
namespace Check {
|
|
@@ -6890,7 +6880,13 @@ export declare namespace Service {
|
|
|
6890
6880
|
type CycleStatus = "pending" | "approved" | "processing" | "rejected";
|
|
6891
6881
|
export interface Schema {
|
|
6892
6882
|
_id: string;
|
|
6893
|
-
document_type:
|
|
6883
|
+
document_type:
|
|
6884
|
+
| "proforma"
|
|
6885
|
+
| "transfer"
|
|
6886
|
+
| "approval-request"
|
|
6887
|
+
| "receiving-material"
|
|
6888
|
+
| "asset-part-transfer"
|
|
6889
|
+
| "adjust-inventory";
|
|
6894
6890
|
document_id: string;
|
|
6895
6891
|
status: CycleStatus;
|
|
6896
6892
|
node?: AdminCreator | RepCreator | ClientCreator;
|
|
@@ -7151,7 +7147,7 @@ export declare namespace Service {
|
|
|
7151
7147
|
description?: string;
|
|
7152
7148
|
company_namespace: string[];
|
|
7153
7149
|
name?: string;
|
|
7154
|
-
type: "client" | "rep" | "namespace";
|
|
7150
|
+
type: "client" | "rep" | "namespace" | "admin";
|
|
7155
7151
|
cash?: number;
|
|
7156
7152
|
check?: number;
|
|
7157
7153
|
credit?: number;
|
|
@@ -7203,7 +7199,7 @@ export declare namespace Service {
|
|
|
7203
7199
|
description?: string;
|
|
7204
7200
|
company_namespace: string[];
|
|
7205
7201
|
name?: string;
|
|
7206
|
-
type: "client" | "rep" | "namespace";
|
|
7202
|
+
type: "client" | "rep" | "namespace" | "admin";
|
|
7207
7203
|
cash?: number;
|
|
7208
7204
|
check?: number;
|
|
7209
7205
|
credit?: number;
|
|
@@ -7272,113 +7268,177 @@ export declare namespace Service {
|
|
|
7272
7268
|
}
|
|
7273
7269
|
}
|
|
7274
7270
|
namespace AdjustInventory {
|
|
7275
|
-
interface
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7271
|
+
export interface Schema {
|
|
7272
|
+
_id: StringId;
|
|
7273
|
+
serial_number: SerialNumber;
|
|
7274
|
+
status: "pending" | "approved" | "processing" | "rejected" | "processed";
|
|
7275
|
+
time: number;
|
|
7276
|
+
creator: AdminCreator | RepCreator;
|
|
7277
|
+
editor: AdminCreator;
|
|
7278
|
+
from: StringId;
|
|
7279
|
+
to: StringId;
|
|
7280
|
+
variants: {
|
|
7281
|
+
variant: StringId;
|
|
7282
|
+
qty: number;
|
|
7283
|
+
variant_name?: string;
|
|
7284
|
+
product_id?: StringId;
|
|
7285
|
+
product_name?: string;
|
|
7286
|
+
_id: StringId;
|
|
7287
|
+
}[];
|
|
7288
|
+
teams?: StringId[];
|
|
7289
|
+
sync_id: string;
|
|
7290
|
+
reason?: StringId;
|
|
7291
|
+
transaction_processed: boolean;
|
|
7292
|
+
custom_status?: StringId;
|
|
7293
|
+
company_namespace: string[];
|
|
7294
|
+
createdAt: string;
|
|
7295
|
+
updatedAt: string;
|
|
7296
|
+
__v: number;
|
|
7281
7297
|
}
|
|
7282
|
-
interface
|
|
7283
|
-
_id:
|
|
7298
|
+
export interface PopulatedData {
|
|
7299
|
+
_id: StringId;
|
|
7284
7300
|
serial_number: SerialNumber;
|
|
7301
|
+
status: "pending" | "approved" | "processing" | "rejected" | "processed";
|
|
7285
7302
|
time: number;
|
|
7286
7303
|
creator: AdminCreator | RepCreator;
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7304
|
+
editor: AdminCreator;
|
|
7305
|
+
from: StringId | Warehouse.WarehouseSchema;
|
|
7306
|
+
to: StringId | Warehouse.WarehouseSchema;
|
|
7307
|
+
variants: {
|
|
7308
|
+
variant:
|
|
7309
|
+
| StringId
|
|
7310
|
+
| (Pick<Variant.VariantSchema, "_id" | "name" | "local_name"> & {
|
|
7311
|
+
product: Pick<
|
|
7312
|
+
Product.ProductSchema,
|
|
7313
|
+
"_id" | "name" | "local_name"
|
|
7314
|
+
>;
|
|
7315
|
+
});
|
|
7316
|
+
qty: number;
|
|
7317
|
+
variant_name?: string;
|
|
7318
|
+
product_id?: StringId;
|
|
7319
|
+
product_name?: string;
|
|
7320
|
+
_id: StringId;
|
|
7321
|
+
}[];
|
|
7322
|
+
teams?: StringId[] | Team.TeamSchema[];
|
|
7291
7323
|
sync_id: string;
|
|
7292
|
-
reason?:
|
|
7324
|
+
reason?:
|
|
7325
|
+
| StringId
|
|
7326
|
+
| InventoryAdjustmentReason.InventoryAdjustmentReasonSchema;
|
|
7293
7327
|
transaction_processed: boolean;
|
|
7328
|
+
custom_status?: StringId | CustomStatus.CustomStatusSchema;
|
|
7294
7329
|
company_namespace: string[];
|
|
7295
7330
|
createdAt: string;
|
|
7296
7331
|
updatedAt: string;
|
|
7297
7332
|
__v: number;
|
|
7333
|
+
can_edit?: boolean;
|
|
7334
|
+
current_nodes?: string[];
|
|
7335
|
+
cycle?: Cycle.Schema;
|
|
7298
7336
|
}
|
|
7299
|
-
interface CreateBody {
|
|
7300
|
-
|
|
7337
|
+
export interface CreateBody {
|
|
7338
|
+
sync_id: string;
|
|
7301
7339
|
time: number;
|
|
7340
|
+
serial_number?: SerialNumber;
|
|
7341
|
+
status?: "pending";
|
|
7302
7342
|
creator?: AdminCreator | RepCreator;
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7343
|
+
from?: StringId;
|
|
7344
|
+
to: StringId;
|
|
7345
|
+
variants: {
|
|
7346
|
+
variant: string;
|
|
7347
|
+
qty: number;
|
|
7348
|
+
variant_name?: string;
|
|
7349
|
+
product_id?: string;
|
|
7350
|
+
product_name?: string;
|
|
7351
|
+
}[];
|
|
7352
|
+
transaction_processed?: false;
|
|
7306
7353
|
teams?: string[];
|
|
7307
|
-
|
|
7354
|
+
reason?: StringId;
|
|
7355
|
+
custom_status?: StringId;
|
|
7308
7356
|
company_namespace?: string[];
|
|
7309
7357
|
}
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7358
|
+
export interface UpdateBody {
|
|
7359
|
+
_id?: StringId;
|
|
7360
|
+
serial_number?: SerialNumber;
|
|
7361
|
+
isResubmitted?: boolean;
|
|
7362
|
+
note?: string;
|
|
7363
|
+
stage?: number;
|
|
7364
|
+
status?: "pending" | "approved" | "processing" | "rejected" | "processed";
|
|
7365
|
+
time?: number;
|
|
7366
|
+
creator?: AdminCreator | RepCreator;
|
|
7367
|
+
editor?: AdminCreator;
|
|
7368
|
+
from?: StringId;
|
|
7369
|
+
to?: StringId;
|
|
7370
|
+
variants?: {
|
|
7371
|
+
variant: StringId;
|
|
7372
|
+
qty: number;
|
|
7373
|
+
variant_name?: string;
|
|
7374
|
+
product_id?: StringId;
|
|
7375
|
+
product_name?: string;
|
|
7376
|
+
_id: StringId;
|
|
7377
|
+
}[];
|
|
7378
|
+
teams?: StringId[];
|
|
7379
|
+
sync_id?: string;
|
|
7380
|
+
reason?: StringId;
|
|
7381
|
+
transaction_processed?: boolean;
|
|
7382
|
+
custom_status?: StringId;
|
|
7383
|
+
company_namespace?: string[];
|
|
7384
|
+
createdAt?: string;
|
|
7385
|
+
updatedAt?: string;
|
|
7386
|
+
__v?: number;
|
|
7387
|
+
}
|
|
7388
|
+
type PopulatedKeys =
|
|
7389
|
+
| "warehouse"
|
|
7390
|
+
| "teams"
|
|
7391
|
+
| "custom_status"
|
|
7392
|
+
| "reason"
|
|
7393
|
+
| "variant";
|
|
7345
7394
|
export namespace Find {
|
|
7346
7395
|
type Params = DefaultPaginationQueryParams & {
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7396
|
+
nodeCycles?: StringId[] | StringId;
|
|
7397
|
+
_id?: StringId[] | StringId;
|
|
7398
|
+
status?: AdjustInventory.Schema["status"][];
|
|
7399
|
+
search?: string;
|
|
7400
|
+
serial_number?: string[] | string;
|
|
7401
|
+
"serial_number.formatted"?: string[] | string;
|
|
7402
|
+
sync_id?: string[] | string;
|
|
7403
|
+
to?: StringId[] | StringId;
|
|
7404
|
+
creator?: StringId | StringId[];
|
|
7405
|
+
"creator._id"?: StringId[] | StringId;
|
|
7406
|
+
creator_type?: string | string[];
|
|
7407
|
+
"creator.type"?: string | string[];
|
|
7408
|
+
editor?: StringId | StringId[];
|
|
7409
|
+
"editor._id"?: StringId[] | StringId;
|
|
7410
|
+
editor_type?: string | string[];
|
|
7411
|
+
"editor.type"?: string | string[];
|
|
7412
|
+
teams?: StringId[] | StringId;
|
|
7413
|
+
reason?: StringId[] | StringId;
|
|
7414
|
+
custom_status?: StringId[] | StringId;
|
|
7353
7415
|
from_createdAt?: number;
|
|
7354
7416
|
to_createdAt?: number;
|
|
7355
7417
|
from_updatedAt?: number;
|
|
7356
|
-
|
|
7357
|
-
|
|
7418
|
+
to_updatedAt?: number;
|
|
7419
|
+
populatesKeys?: PopulatedKeys[];
|
|
7358
7420
|
};
|
|
7359
7421
|
interface Result extends DefaultPaginationResult {
|
|
7360
|
-
data:
|
|
7422
|
+
data: Data[] | PopulatedData[];
|
|
7361
7423
|
}
|
|
7362
7424
|
}
|
|
7363
7425
|
export namespace Get {
|
|
7364
7426
|
type ID = string;
|
|
7365
7427
|
interface Params {
|
|
7366
7428
|
populatedKeys?: PopulatedKeys[];
|
|
7429
|
+
withCycle?: boolean;
|
|
7367
7430
|
}
|
|
7368
|
-
type Result =
|
|
7369
|
-
| GetResult
|
|
7370
|
-
| {
|
|
7371
|
-
transfer: GetResult & {
|
|
7372
|
-
can_edit: boolean;
|
|
7373
|
-
current_nodes: string[];
|
|
7374
|
-
};
|
|
7375
|
-
cycle: Cycle.Schema;
|
|
7376
|
-
};
|
|
7431
|
+
type Result = Data | PopulatedData;
|
|
7377
7432
|
}
|
|
7378
7433
|
export namespace Create {
|
|
7379
7434
|
type Body = CreateBody;
|
|
7380
7435
|
type Result = Schema;
|
|
7381
7436
|
}
|
|
7437
|
+
export namespace Update {
|
|
7438
|
+
type ID = string;
|
|
7439
|
+
type Body = UpdateBody;
|
|
7440
|
+
type Result = Data;
|
|
7441
|
+
}
|
|
7382
7442
|
export {};
|
|
7383
7443
|
}
|
|
7384
7444
|
namespace InventoryAdjustmentReason {
|
|
@@ -7427,20 +7487,20 @@ export declare namespace Service {
|
|
|
7427
7487
|
namespace Get {
|
|
7428
7488
|
type ID = string;
|
|
7429
7489
|
interface Params {}
|
|
7430
|
-
type Result =
|
|
7490
|
+
type Result = Data;
|
|
7431
7491
|
}
|
|
7432
7492
|
namespace Create {
|
|
7433
7493
|
type Body = CreateBody;
|
|
7434
|
-
type Result =
|
|
7494
|
+
type Result = Data;
|
|
7435
7495
|
}
|
|
7436
7496
|
namespace Update {
|
|
7437
7497
|
type ID = string;
|
|
7438
7498
|
type Body = UpdateBody;
|
|
7439
|
-
type Result =
|
|
7499
|
+
type Result = Data;
|
|
7440
7500
|
}
|
|
7441
7501
|
namespace Remove {
|
|
7442
7502
|
type ID = string;
|
|
7443
|
-
type Result =
|
|
7503
|
+
type Result = Data;
|
|
7444
7504
|
}
|
|
7445
7505
|
}
|
|
7446
7506
|
namespace Inventory {
|
|
@@ -9767,6 +9827,7 @@ export declare namespace Service {
|
|
|
9767
9827
|
enable_ai_vision_prompt_overwrite?: boolean;
|
|
9768
9828
|
always_merge_pages_for_job?: boolean;
|
|
9769
9829
|
trim_barcode_zero_from_left?: boolean;
|
|
9830
|
+
bypass_human_review?: boolean;
|
|
9770
9831
|
createdAt: Date;
|
|
9771
9832
|
updatedAt: Date;
|
|
9772
9833
|
}
|
|
@@ -10557,8 +10618,8 @@ export declare namespace Service {
|
|
|
10557
10618
|
}
|
|
10558
10619
|
}
|
|
10559
10620
|
}
|
|
10560
|
-
export type StringId = string;
|
|
10561
|
-
export type NameSpaces = string[];
|
|
10621
|
+
export declare type StringId = string;
|
|
10622
|
+
export declare type NameSpaces = string[];
|
|
10562
10623
|
export interface AdminOrRep {
|
|
10563
10624
|
_id: StringId;
|
|
10564
10625
|
name?: string;
|
|
@@ -10566,7 +10627,7 @@ export interface AdminOrRep {
|
|
|
10566
10627
|
admin?: StringId;
|
|
10567
10628
|
rep?: StringId;
|
|
10568
10629
|
}
|
|
10569
|
-
type PopulatedMediaStorage = Pick<
|
|
10630
|
+
declare type PopulatedMediaStorage = Pick<
|
|
10570
10631
|
Service.MediaStorage.MediaStorageSchema,
|
|
10571
10632
|
| "_id"
|
|
10572
10633
|
| "createdAt"
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
2
|
import { v4 as uuid } from "uuid";
|
|
3
|
-
import {
|
|
3
|
+
import type {
|
|
4
4
|
Params,
|
|
5
5
|
Data,
|
|
6
6
|
Service,
|
|
@@ -2055,18 +2055,6 @@ export default class Repzo {
|
|
|
2055
2055
|
);
|
|
2056
2056
|
return res;
|
|
2057
2057
|
},
|
|
2058
|
-
|
|
2059
|
-
update: async (
|
|
2060
|
-
id: Service.Settlement.Update.ID,
|
|
2061
|
-
body: Service.Settlement.Update.Body
|
|
2062
|
-
): Promise<Service.Settlement.Update.Result> => {
|
|
2063
|
-
let res: Service.Settlement.Update.Result = await this._update(
|
|
2064
|
-
this.svAPIEndpoint,
|
|
2065
|
-
this.settlement._path + `/${id}`,
|
|
2066
|
-
body
|
|
2067
|
-
);
|
|
2068
|
-
return res;
|
|
2069
|
-
},
|
|
2070
2058
|
};
|
|
2071
2059
|
|
|
2072
2060
|
check = {
|
package/src/types/index.ts
CHANGED
|
@@ -3577,7 +3577,8 @@ export namespace Service {
|
|
|
3577
3577
|
| "assetPartUnit"
|
|
3578
3578
|
| "assetPartTransfer"
|
|
3579
3579
|
| "returnAssetPartUnit"
|
|
3580
|
-
| "storeAssetPartUnit"
|
|
3580
|
+
| "storeAssetPartUnit"
|
|
3581
|
+
| "adjustInventory";
|
|
3581
3582
|
export interface CustomStatusSchema {
|
|
3582
3583
|
_id: string;
|
|
3583
3584
|
name: string;
|
|
@@ -6296,9 +6297,10 @@ export namespace Service {
|
|
|
6296
6297
|
};
|
|
6297
6298
|
origin: {
|
|
6298
6299
|
_id: string;
|
|
6299
|
-
type: "rep";
|
|
6300
|
+
type: "rep" | "admin";
|
|
6300
6301
|
name: string;
|
|
6301
6302
|
rep?: string;
|
|
6303
|
+
admin?: string;
|
|
6302
6304
|
};
|
|
6303
6305
|
time?: number;
|
|
6304
6306
|
serial_number: SerialNumber;
|
|
@@ -6316,19 +6318,6 @@ export namespace Service {
|
|
|
6316
6318
|
export interface CreateBody {
|
|
6317
6319
|
amount: number;
|
|
6318
6320
|
time?: number;
|
|
6319
|
-
serial_number: SerialNumber;
|
|
6320
|
-
paytime: string;
|
|
6321
|
-
note?: string;
|
|
6322
|
-
payment_type: "check" | "cash";
|
|
6323
|
-
check_id?: string;
|
|
6324
|
-
teams: string[];
|
|
6325
|
-
company_namespace: string[];
|
|
6326
|
-
sync_id: string;
|
|
6327
|
-
transaction_processed: boolean;
|
|
6328
|
-
}
|
|
6329
|
-
export interface UpdateBody {
|
|
6330
|
-
_id?: string;
|
|
6331
|
-
amount?: number;
|
|
6332
6321
|
creator?: {
|
|
6333
6322
|
_id: string;
|
|
6334
6323
|
type: "admin" | "rep";
|
|
@@ -6336,22 +6325,22 @@ export namespace Service {
|
|
|
6336
6325
|
rep?: string;
|
|
6337
6326
|
name: string;
|
|
6338
6327
|
};
|
|
6339
|
-
origin
|
|
6328
|
+
origin: {
|
|
6340
6329
|
_id: string;
|
|
6341
|
-
type: "rep";
|
|
6330
|
+
type: "rep" | "admin";
|
|
6342
6331
|
name: string;
|
|
6343
6332
|
rep?: string;
|
|
6333
|
+
admin?: string;
|
|
6344
6334
|
};
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
paytime?: string;
|
|
6335
|
+
serial_number: SerialNumber;
|
|
6336
|
+
paytime: string;
|
|
6348
6337
|
note?: string;
|
|
6349
|
-
payment_type
|
|
6338
|
+
payment_type: "check" | "cash";
|
|
6350
6339
|
check_id?: string;
|
|
6351
|
-
teams
|
|
6352
|
-
company_namespace
|
|
6353
|
-
sync_id
|
|
6354
|
-
transaction_processed
|
|
6340
|
+
teams: string[];
|
|
6341
|
+
company_namespace: string[];
|
|
6342
|
+
sync_id: string;
|
|
6343
|
+
transaction_processed: boolean;
|
|
6355
6344
|
}
|
|
6356
6345
|
|
|
6357
6346
|
type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
|
|
@@ -6361,9 +6350,15 @@ export namespace Service {
|
|
|
6361
6350
|
type PopulatedKeys = "teams" | "check_id";
|
|
6362
6351
|
export namespace Find {
|
|
6363
6352
|
export type Params = DefaultPaginationQueryParams & {
|
|
6364
|
-
_id?:
|
|
6365
|
-
"creator._id"?:
|
|
6366
|
-
"origin._id"?:
|
|
6353
|
+
_id?: StringId[] | StringId;
|
|
6354
|
+
"creator._id"?: StringId[] | StringId;
|
|
6355
|
+
"origin._id"?: StringId[] | StringId;
|
|
6356
|
+
creator?: StringId[] | StringId;
|
|
6357
|
+
origin?: StringId[] | StringId;
|
|
6358
|
+
"creator.type"?: string[] | string;
|
|
6359
|
+
"origin.type"?: string[] | string;
|
|
6360
|
+
creator_type?: string[] | string;
|
|
6361
|
+
origin_type?: string[] | string;
|
|
6367
6362
|
amount?: number;
|
|
6368
6363
|
payment_type?: string;
|
|
6369
6364
|
from_createdAt?: number;
|
|
@@ -6391,12 +6386,6 @@ export namespace Service {
|
|
|
6391
6386
|
export type Body = CreateBody;
|
|
6392
6387
|
export type Result = SettlementSchema;
|
|
6393
6388
|
}
|
|
6394
|
-
|
|
6395
|
-
export namespace Update {
|
|
6396
|
-
export type ID = string;
|
|
6397
|
-
export type Body = UpdateBody;
|
|
6398
|
-
export type Result = SettlementSchema;
|
|
6399
|
-
}
|
|
6400
6389
|
}
|
|
6401
6390
|
|
|
6402
6391
|
export namespace Check {
|
|
@@ -6892,15 +6881,18 @@ export namespace Service {
|
|
|
6892
6881
|
type CycleStatus = "pending" | "approved" | "processing" | "rejected";
|
|
6893
6882
|
export interface Schema {
|
|
6894
6883
|
_id: string;
|
|
6895
|
-
document_type:
|
|
6884
|
+
document_type:
|
|
6885
|
+
| "proforma"
|
|
6886
|
+
| "transfer"
|
|
6887
|
+
| "approval-request"
|
|
6888
|
+
| "receiving-material"
|
|
6889
|
+
| "asset-part-transfer"
|
|
6890
|
+
| "adjust-inventory";
|
|
6896
6891
|
document_id: string;
|
|
6897
6892
|
status: CycleStatus;
|
|
6898
6893
|
node?: AdminCreator | RepCreator | ClientCreator;
|
|
6899
6894
|
creator?: AdminCreator | RepCreator | ClientCreator;
|
|
6900
|
-
current_nodes: {
|
|
6901
|
-
admin: string;
|
|
6902
|
-
admin_name: string;
|
|
6903
|
-
}[];
|
|
6895
|
+
current_nodes: { admin: string; admin_name: string }[];
|
|
6904
6896
|
stage?: number;
|
|
6905
6897
|
stageName?: string;
|
|
6906
6898
|
company_namespace: string[];
|
|
@@ -7149,7 +7141,7 @@ export namespace Service {
|
|
|
7149
7141
|
description?: string;
|
|
7150
7142
|
company_namespace: string[];
|
|
7151
7143
|
name?: string;
|
|
7152
|
-
type: "client" | "rep" | "namespace";
|
|
7144
|
+
type: "client" | "rep" | "namespace" | "admin";
|
|
7153
7145
|
cash?: number;
|
|
7154
7146
|
check?: number;
|
|
7155
7147
|
credit?: number;
|
|
@@ -7201,7 +7193,7 @@ export namespace Service {
|
|
|
7201
7193
|
description?: string;
|
|
7202
7194
|
company_namespace: string[];
|
|
7203
7195
|
name?: string;
|
|
7204
|
-
type: "client" | "rep" | "namespace";
|
|
7196
|
+
type: "client" | "rep" | "namespace" | "admin";
|
|
7205
7197
|
cash?: number;
|
|
7206
7198
|
check?: number;
|
|
7207
7199
|
credit?: number;
|
|
@@ -7272,117 +7264,178 @@ export namespace Service {
|
|
|
7272
7264
|
}
|
|
7273
7265
|
|
|
7274
7266
|
export namespace AdjustInventory {
|
|
7275
|
-
interface
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7267
|
+
export interface Schema {
|
|
7268
|
+
_id: StringId;
|
|
7269
|
+
serial_number: SerialNumber;
|
|
7270
|
+
status: "pending" | "approved" | "processing" | "rejected" | "processed";
|
|
7271
|
+
time: number;
|
|
7272
|
+
creator: AdminCreator | RepCreator;
|
|
7273
|
+
editor: AdminCreator;
|
|
7274
|
+
from: StringId;
|
|
7275
|
+
to: StringId;
|
|
7276
|
+
variants: {
|
|
7277
|
+
variant: StringId;
|
|
7278
|
+
qty: number;
|
|
7279
|
+
variant_name?: string;
|
|
7280
|
+
product_id?: StringId;
|
|
7281
|
+
product_name?: string;
|
|
7282
|
+
_id: StringId;
|
|
7283
|
+
}[];
|
|
7284
|
+
teams?: StringId[];
|
|
7285
|
+
sync_id: string;
|
|
7286
|
+
reason?: StringId;
|
|
7287
|
+
transaction_processed: boolean;
|
|
7288
|
+
custom_status?: StringId;
|
|
7289
|
+
company_namespace: string[];
|
|
7290
|
+
createdAt: string;
|
|
7291
|
+
updatedAt: string;
|
|
7292
|
+
__v: number;
|
|
7281
7293
|
}
|
|
7282
|
-
interface
|
|
7283
|
-
_id:
|
|
7294
|
+
export interface PopulatedData {
|
|
7295
|
+
_id: StringId;
|
|
7284
7296
|
serial_number: SerialNumber;
|
|
7297
|
+
status: "pending" | "approved" | "processing" | "rejected" | "processed";
|
|
7285
7298
|
time: number;
|
|
7286
7299
|
creator: AdminCreator | RepCreator;
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7300
|
+
editor: AdminCreator;
|
|
7301
|
+
from: StringId | Warehouse.WarehouseSchema;
|
|
7302
|
+
to: StringId | Warehouse.WarehouseSchema;
|
|
7303
|
+
variants: {
|
|
7304
|
+
variant:
|
|
7305
|
+
| StringId
|
|
7306
|
+
| (Pick<Variant.VariantSchema, "_id" | "name" | "local_name"> & {
|
|
7307
|
+
product: Pick<
|
|
7308
|
+
Product.ProductSchema,
|
|
7309
|
+
"_id" | "name" | "local_name"
|
|
7310
|
+
>;
|
|
7311
|
+
});
|
|
7312
|
+
qty: number;
|
|
7313
|
+
variant_name?: string;
|
|
7314
|
+
product_id?: StringId;
|
|
7315
|
+
product_name?: string;
|
|
7316
|
+
_id: StringId;
|
|
7317
|
+
}[];
|
|
7318
|
+
teams?: StringId[] | Team.TeamSchema[];
|
|
7291
7319
|
sync_id: string;
|
|
7292
|
-
reason?:
|
|
7320
|
+
reason?:
|
|
7321
|
+
| StringId
|
|
7322
|
+
| InventoryAdjustmentReason.InventoryAdjustmentReasonSchema;
|
|
7293
7323
|
transaction_processed: boolean;
|
|
7324
|
+
custom_status?: StringId | CustomStatus.CustomStatusSchema;
|
|
7294
7325
|
company_namespace: string[];
|
|
7295
7326
|
createdAt: string;
|
|
7296
7327
|
updatedAt: string;
|
|
7297
7328
|
__v: number;
|
|
7329
|
+
can_edit?: boolean;
|
|
7330
|
+
current_nodes?: string[];
|
|
7331
|
+
cycle?: Cycle.Schema;
|
|
7298
7332
|
}
|
|
7299
|
-
interface CreateBody {
|
|
7300
|
-
|
|
7333
|
+
export interface CreateBody {
|
|
7334
|
+
sync_id: string;
|
|
7301
7335
|
time: number;
|
|
7336
|
+
serial_number?: SerialNumber;
|
|
7337
|
+
status?: "pending";
|
|
7302
7338
|
creator?: AdminCreator | RepCreator;
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7339
|
+
from?: StringId;
|
|
7340
|
+
to: StringId;
|
|
7341
|
+
variants: {
|
|
7342
|
+
variant: string;
|
|
7343
|
+
qty: number;
|
|
7344
|
+
variant_name?: string;
|
|
7345
|
+
product_id?: string;
|
|
7346
|
+
product_name?: string;
|
|
7347
|
+
}[];
|
|
7348
|
+
transaction_processed?: false;
|
|
7306
7349
|
teams?: string[];
|
|
7307
|
-
|
|
7350
|
+
reason?: StringId;
|
|
7351
|
+
custom_status?: StringId;
|
|
7308
7352
|
company_namespace?: string[];
|
|
7309
7353
|
}
|
|
7354
|
+
export interface UpdateBody {
|
|
7355
|
+
_id?: StringId;
|
|
7356
|
+
serial_number?: SerialNumber;
|
|
7357
|
+
isResubmitted?: boolean;
|
|
7358
|
+
note?: string;
|
|
7359
|
+
stage?: number;
|
|
7360
|
+
status?: "pending" | "approved" | "processing" | "rejected" | "processed";
|
|
7361
|
+
time?: number;
|
|
7362
|
+
creator?: AdminCreator | RepCreator;
|
|
7363
|
+
editor?: AdminCreator;
|
|
7364
|
+
from?: StringId;
|
|
7365
|
+
to?: StringId;
|
|
7366
|
+
variants?: {
|
|
7367
|
+
variant: StringId;
|
|
7368
|
+
qty: number;
|
|
7369
|
+
variant_name?: string;
|
|
7370
|
+
product_id?: StringId;
|
|
7371
|
+
product_name?: string;
|
|
7372
|
+
_id: StringId;
|
|
7373
|
+
}[];
|
|
7374
|
+
teams?: StringId[];
|
|
7375
|
+
sync_id?: string;
|
|
7376
|
+
reason?: StringId;
|
|
7377
|
+
transaction_processed?: boolean;
|
|
7378
|
+
custom_status?: StringId;
|
|
7379
|
+
company_namespace?: string[];
|
|
7380
|
+
createdAt?: string;
|
|
7381
|
+
updatedAt?: string;
|
|
7382
|
+
__v?: number;
|
|
7383
|
+
}
|
|
7310
7384
|
|
|
7311
|
-
type
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
reason
|
|
7316
|
-
|
|
7317
|
-
| InventoryAdjustmentReason.InventoryAdjustmentReasonSchema;
|
|
7318
|
-
variants: (VariantOfAdjustInventory & {
|
|
7319
|
-
variant:
|
|
7320
|
-
| string
|
|
7321
|
-
| {
|
|
7322
|
-
_id: string;
|
|
7323
|
-
name: string;
|
|
7324
|
-
product: {
|
|
7325
|
-
_id: string;
|
|
7326
|
-
name: string;
|
|
7327
|
-
};
|
|
7328
|
-
};
|
|
7329
|
-
})[];
|
|
7330
|
-
};
|
|
7331
|
-
type GetResult = Schema & {
|
|
7332
|
-
from: string | Warehouse.WarehouseSchema;
|
|
7333
|
-
to: string | Warehouse.WarehouseSchema;
|
|
7334
|
-
variants: (VariantOfAdjustInventory & {
|
|
7335
|
-
variant: {
|
|
7336
|
-
_id: string;
|
|
7337
|
-
name: string;
|
|
7338
|
-
product: {
|
|
7339
|
-
_id: string;
|
|
7340
|
-
name: string;
|
|
7341
|
-
};
|
|
7342
|
-
};
|
|
7343
|
-
})[];
|
|
7344
|
-
};
|
|
7345
|
-
|
|
7346
|
-
type PopulatedKeys = "warehouse" | "variant" | "teams" | "reason";
|
|
7385
|
+
type PopulatedKeys =
|
|
7386
|
+
| "warehouse"
|
|
7387
|
+
| "teams"
|
|
7388
|
+
| "custom_status"
|
|
7389
|
+
| "reason"
|
|
7390
|
+
| "variant";
|
|
7347
7391
|
export namespace Find {
|
|
7348
7392
|
export type Params = DefaultPaginationQueryParams & {
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7393
|
+
nodeCycles?: StringId[] | StringId;
|
|
7394
|
+
_id?: StringId[] | StringId;
|
|
7395
|
+
status?: AdjustInventory.Schema["status"][];
|
|
7396
|
+
search?: string; // serial_number.formatted
|
|
7397
|
+
serial_number?: string[] | string;
|
|
7398
|
+
"serial_number.formatted"?: string[] | string;
|
|
7399
|
+
sync_id?: string[] | string;
|
|
7400
|
+
to?: StringId[] | StringId;
|
|
7401
|
+
creator?: StringId | StringId[];
|
|
7402
|
+
"creator._id"?: StringId[] | StringId;
|
|
7403
|
+
creator_type?: string | string[];
|
|
7404
|
+
"creator.type"?: string | string[];
|
|
7405
|
+
editor?: StringId | StringId[];
|
|
7406
|
+
"editor._id"?: StringId[] | StringId;
|
|
7407
|
+
editor_type?: string | string[];
|
|
7408
|
+
"editor.type"?: string | string[];
|
|
7409
|
+
teams?: StringId[] | StringId;
|
|
7410
|
+
reason?: StringId[] | StringId;
|
|
7411
|
+
custom_status?: StringId[] | StringId;
|
|
7355
7412
|
from_createdAt?: number;
|
|
7356
7413
|
to_createdAt?: number;
|
|
7357
7414
|
from_updatedAt?: number;
|
|
7358
|
-
|
|
7359
|
-
|
|
7415
|
+
to_updatedAt?: number;
|
|
7416
|
+
populatesKeys?: PopulatedKeys[];
|
|
7360
7417
|
};
|
|
7361
7418
|
export interface Result extends DefaultPaginationResult {
|
|
7362
|
-
data:
|
|
7419
|
+
data: Data[] | PopulatedData[];
|
|
7363
7420
|
}
|
|
7364
7421
|
}
|
|
7365
|
-
|
|
7366
7422
|
export namespace Get {
|
|
7367
7423
|
export type ID = string;
|
|
7368
7424
|
export interface Params {
|
|
7369
7425
|
populatedKeys?: PopulatedKeys[];
|
|
7426
|
+
withCycle?: boolean;
|
|
7370
7427
|
}
|
|
7371
|
-
export type Result =
|
|
7372
|
-
| GetResult
|
|
7373
|
-
| {
|
|
7374
|
-
transfer: GetResult & {
|
|
7375
|
-
can_edit: boolean;
|
|
7376
|
-
current_nodes: string[];
|
|
7377
|
-
};
|
|
7378
|
-
cycle: Cycle.Schema;
|
|
7379
|
-
};
|
|
7428
|
+
export type Result = Data | PopulatedData;
|
|
7380
7429
|
}
|
|
7381
|
-
|
|
7382
7430
|
export namespace Create {
|
|
7383
7431
|
export type Body = CreateBody;
|
|
7384
7432
|
export type Result = Schema;
|
|
7385
7433
|
}
|
|
7434
|
+
export namespace Update {
|
|
7435
|
+
export type ID = string;
|
|
7436
|
+
export type Body = UpdateBody;
|
|
7437
|
+
export type Result = Data;
|
|
7438
|
+
}
|
|
7386
7439
|
}
|
|
7387
7440
|
|
|
7388
7441
|
export namespace InventoryAdjustmentReason {
|
|
@@ -7426,20 +7479,20 @@ export namespace Service {
|
|
|
7426
7479
|
export namespace Get {
|
|
7427
7480
|
export type ID = string;
|
|
7428
7481
|
export interface Params {}
|
|
7429
|
-
export type Result =
|
|
7482
|
+
export type Result = Data;
|
|
7430
7483
|
}
|
|
7431
7484
|
export namespace Create {
|
|
7432
7485
|
export type Body = CreateBody;
|
|
7433
|
-
export type Result =
|
|
7486
|
+
export type Result = Data;
|
|
7434
7487
|
}
|
|
7435
7488
|
export namespace Update {
|
|
7436
7489
|
export type ID = string;
|
|
7437
7490
|
export type Body = UpdateBody;
|
|
7438
|
-
export type Result =
|
|
7491
|
+
export type Result = Data;
|
|
7439
7492
|
}
|
|
7440
7493
|
export namespace Remove {
|
|
7441
7494
|
export type ID = string;
|
|
7442
|
-
export type Result =
|
|
7495
|
+
export type Result = Data;
|
|
7443
7496
|
}
|
|
7444
7497
|
}
|
|
7445
7498
|
export namespace Inventory {
|
|
@@ -9569,6 +9622,7 @@ export namespace Service {
|
|
|
9569
9622
|
enable_ai_vision_prompt_overwrite?: boolean;
|
|
9570
9623
|
always_merge_pages_for_job?: boolean;
|
|
9571
9624
|
trim_barcode_zero_from_left?: boolean;
|
|
9625
|
+
bypass_human_review?: boolean;
|
|
9572
9626
|
createdAt: Date;
|
|
9573
9627
|
updatedAt: Date;
|
|
9574
9628
|
}
|