autosync_backend2 1.2.63 → 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 +45 -14
  2. package/dist/index.js +9305 -9298
  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
- piority: "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: "Токен олдсонгүй";
@@ -11442,7 +11473,7 @@ export declare const app: Elysia<"", {
11442
11473
  dateClosed?: Date | null | undefined;
11443
11474
  type: "CORRECTIVE" | "PREVENTIVE";
11444
11475
  machineId: string;
11445
- piority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
11476
+ priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
11446
11477
  };
11447
11478
  params: {};
11448
11479
  query: unknown;
@@ -11457,8 +11488,8 @@ export declare const app: Elysia<"", {
11457
11488
  oldId: number | null;
11458
11489
  state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
11459
11490
  machineId: string;
11460
- piority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
11461
11491
  sourceType: string | null;
11492
+ priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
11462
11493
  dateClosed: Date | null;
11463
11494
  };
11464
11495
  401: "Токен олдсонгүй";
@@ -11483,8 +11514,8 @@ export declare const app: Elysia<"", {
11483
11514
  oldId?: number | null | undefined;
11484
11515
  state?: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED" | undefined;
11485
11516
  machineId?: string | undefined;
11486
- piority?: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED" | undefined;
11487
11517
  sourceType?: string | null | undefined;
11518
+ priority?: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED" | undefined;
11488
11519
  dateClosed?: Date | null | undefined;
11489
11520
  };
11490
11521
  params: {