autosync_backend2 1.2.64 → 1.2.67

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +42 -11
  2. package/dist/index.js +9304 -9297
  3. 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;
@@ -11405,18 +11406,48 @@ export declare const app: Elysia<"", {
11405
11406
  totalCount: number;
11406
11407
  totalPage: number;
11407
11408
  result: Omit<{
11409
+ wo: {
11410
+ machineId: string;
11411
+ sourceType: string | null;
11412
+ type: "CORRECTIVE" | "PREVENTIVE";
11413
+ priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
11414
+ state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
11415
+ dateClosed: Date | null;
11416
+ id: string;
11417
+ createdAt: string;
11418
+ updatedAt: string;
11419
+ deletedAt: string | null;
11420
+ oldId: number | null;
11421
+ };
11422
+ machine: {
11423
+ companyId: string | null;
11424
+ machineKindId: string;
11425
+ customerId: string | null;
11426
+ name: string | null;
11427
+ assetCode: string | null;
11428
+ vin: string | null;
11429
+ licensePlate: string | null;
11430
+ color: string | null;
11431
+ engineCc: string | null;
11432
+ cylinder: string | null;
11433
+ gasType: string | null;
11434
+ transmissionType: string | null;
11435
+ vehicleType: string | null;
11436
+ yearManufacture: number | null;
11437
+ yearImport: number | null;
11438
+ steering: string | null;
11439
+ engineCode: string | null;
11440
+ transmissionCode: string | null;
11441
+ driveTrain: string | null;
11442
+ km: number;
11443
+ customData: unknown;
11444
+ id: string;
11445
+ createdAt: string;
11446
+ updatedAt: string;
11447
+ deletedAt: string | null;
11448
+ oldId: number | null;
11449
+ } | null;
11408
11450
  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
11451
  }, "totalCount">[];
11421
11452
  };
11422
11453
  401: "Токен олдсонгүй";