autosync_backend2 1.2.64 → 1.2.69
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/dist/index.d.ts +75 -27
- package/dist/index.js +10706 -10705
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -11250,6 +11250,7 @@ export declare const app: Elysia<"", {
|
|
|
11250
11250
|
body: unknown;
|
|
11251
11251
|
params: {};
|
|
11252
11252
|
query: {
|
|
11253
|
+
workOrderId?: string | undefined;
|
|
11253
11254
|
pagination: {
|
|
11254
11255
|
size: number;
|
|
11255
11256
|
page: number;
|
|
@@ -11261,18 +11262,34 @@ export declare const app: Elysia<"", {
|
|
|
11261
11262
|
totalCount: number;
|
|
11262
11263
|
totalPage: number;
|
|
11263
11264
|
result: Omit<{
|
|
11265
|
+
task: {
|
|
11266
|
+
workOrderId: string;
|
|
11267
|
+
templateId: string | null;
|
|
11268
|
+
serviceKindId: string;
|
|
11269
|
+
description: string | null;
|
|
11270
|
+
manHour: number | null;
|
|
11271
|
+
state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
|
|
11272
|
+
id: string;
|
|
11273
|
+
createdAt: string;
|
|
11274
|
+
updatedAt: string;
|
|
11275
|
+
deletedAt: string | null;
|
|
11276
|
+
oldId: number | null;
|
|
11277
|
+
};
|
|
11278
|
+
serviceKind: {
|
|
11279
|
+
serviceKindId: string | null;
|
|
11280
|
+
companyId: string;
|
|
11281
|
+
branchId: string | null;
|
|
11282
|
+
name: string;
|
|
11283
|
+
description: string | null;
|
|
11284
|
+
enabled: boolean;
|
|
11285
|
+
price: number;
|
|
11286
|
+
id: string;
|
|
11287
|
+
createdAt: string;
|
|
11288
|
+
updatedAt: string;
|
|
11289
|
+
deletedAt: string | null;
|
|
11290
|
+
oldId: number | null;
|
|
11291
|
+
} | null;
|
|
11264
11292
|
totalCount: number;
|
|
11265
|
-
workOrderId: string;
|
|
11266
|
-
templateId: string;
|
|
11267
|
-
serviceKindId: string;
|
|
11268
|
-
description: string | null;
|
|
11269
|
-
manHour: number | null;
|
|
11270
|
-
state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
|
|
11271
|
-
id: string;
|
|
11272
|
-
createdAt: string;
|
|
11273
|
-
updatedAt: string;
|
|
11274
|
-
deletedAt: string | null;
|
|
11275
|
-
oldId: number | null;
|
|
11276
11293
|
}, "totalCount">[];
|
|
11277
11294
|
};
|
|
11278
11295
|
401: "Токен олдсонгүй";
|
|
@@ -11292,11 +11309,12 @@ export declare const app: Elysia<"", {
|
|
|
11292
11309
|
task: {
|
|
11293
11310
|
post: {
|
|
11294
11311
|
body: {
|
|
11295
|
-
|
|
11312
|
+
oldId?: number | null | undefined;
|
|
11313
|
+
description?: string | null | undefined;
|
|
11296
11314
|
state?: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED" | undefined;
|
|
11297
|
-
|
|
11315
|
+
templateId?: string | null | undefined;
|
|
11316
|
+
manHour?: number | null | undefined;
|
|
11298
11317
|
serviceKindId: string;
|
|
11299
|
-
templateId: string;
|
|
11300
11318
|
workOrderId: string;
|
|
11301
11319
|
};
|
|
11302
11320
|
params: {};
|
|
@@ -11312,7 +11330,7 @@ export declare const app: Elysia<"", {
|
|
|
11312
11330
|
description: string | null;
|
|
11313
11331
|
serviceKindId: string;
|
|
11314
11332
|
state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
|
|
11315
|
-
templateId: string;
|
|
11333
|
+
templateId: string | null;
|
|
11316
11334
|
workOrderId: string;
|
|
11317
11335
|
manHour: number | null;
|
|
11318
11336
|
};
|
|
@@ -11338,7 +11356,7 @@ export declare const app: Elysia<"", {
|
|
|
11338
11356
|
description?: string | null | undefined;
|
|
11339
11357
|
serviceKindId?: string | undefined;
|
|
11340
11358
|
state?: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED" | undefined;
|
|
11341
|
-
templateId?: string | undefined;
|
|
11359
|
+
templateId?: string | null | undefined;
|
|
11342
11360
|
workOrderId?: string | undefined;
|
|
11343
11361
|
manHour?: number | null | undefined;
|
|
11344
11362
|
};
|
|
@@ -11405,18 +11423,48 @@ export declare const app: Elysia<"", {
|
|
|
11405
11423
|
totalCount: number;
|
|
11406
11424
|
totalPage: number;
|
|
11407
11425
|
result: Omit<{
|
|
11426
|
+
wo: {
|
|
11427
|
+
machineId: string;
|
|
11428
|
+
sourceType: string | null;
|
|
11429
|
+
type: "CORRECTIVE" | "PREVENTIVE";
|
|
11430
|
+
priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
|
|
11431
|
+
state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
|
|
11432
|
+
dateClosed: Date | null;
|
|
11433
|
+
id: string;
|
|
11434
|
+
createdAt: string;
|
|
11435
|
+
updatedAt: string;
|
|
11436
|
+
deletedAt: string | null;
|
|
11437
|
+
oldId: number | null;
|
|
11438
|
+
};
|
|
11439
|
+
machine: {
|
|
11440
|
+
companyId: string | null;
|
|
11441
|
+
machineKindId: string;
|
|
11442
|
+
customerId: string | null;
|
|
11443
|
+
name: string | null;
|
|
11444
|
+
assetCode: string | null;
|
|
11445
|
+
vin: string | null;
|
|
11446
|
+
licensePlate: string | null;
|
|
11447
|
+
color: string | null;
|
|
11448
|
+
engineCc: string | null;
|
|
11449
|
+
cylinder: string | null;
|
|
11450
|
+
gasType: string | null;
|
|
11451
|
+
transmissionType: string | null;
|
|
11452
|
+
vehicleType: string | null;
|
|
11453
|
+
yearManufacture: number | null;
|
|
11454
|
+
yearImport: number | null;
|
|
11455
|
+
steering: string | null;
|
|
11456
|
+
engineCode: string | null;
|
|
11457
|
+
transmissionCode: string | null;
|
|
11458
|
+
driveTrain: string | null;
|
|
11459
|
+
km: number;
|
|
11460
|
+
customData: unknown;
|
|
11461
|
+
id: string;
|
|
11462
|
+
createdAt: string;
|
|
11463
|
+
updatedAt: string;
|
|
11464
|
+
deletedAt: string | null;
|
|
11465
|
+
oldId: number | null;
|
|
11466
|
+
} | null;
|
|
11408
11467
|
totalCount: number;
|
|
11409
|
-
machineId: string;
|
|
11410
|
-
sourceType: string | null;
|
|
11411
|
-
type: "CORRECTIVE" | "PREVENTIVE";
|
|
11412
|
-
priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
|
|
11413
|
-
state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
|
|
11414
|
-
dateClosed: Date | null;
|
|
11415
|
-
id: string;
|
|
11416
|
-
createdAt: string;
|
|
11417
|
-
updatedAt: string;
|
|
11418
|
-
deletedAt: string | null;
|
|
11419
|
-
oldId: number | null;
|
|
11420
11468
|
}, "totalCount">[];
|
|
11421
11469
|
};
|
|
11422
11470
|
401: "Токен олдсонгүй";
|