autosync_backend2 1.2.99 → 1.2.101

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 +334 -269
  2. package/dist/index.js +192 -186
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -613,8 +613,8 @@ export declare const app: Elysia<"", {
613
613
  query: {
614
614
  id?: string | undefined;
615
615
  companyId?: string | undefined;
616
- productId?: string | undefined;
617
616
  warehouseItemId?: string | undefined;
617
+ productId?: string | undefined;
618
618
  pagination: {
619
619
  size: number;
620
620
  page: number;
@@ -659,10 +659,10 @@ export declare const app: Elysia<"", {
659
659
  post: {
660
660
  body: {
661
661
  oldId?: number | null | undefined;
662
- price?: number | undefined;
663
- uomId?: string | null | undefined;
664
662
  productId?: string | null | undefined;
665
663
  baseQuantity?: number | undefined;
664
+ uomId?: string | null | undefined;
665
+ price?: number | undefined;
666
666
  currency?: string | undefined;
667
667
  warehouseItemId: string;
668
668
  };
@@ -677,11 +677,11 @@ export declare const app: Elysia<"", {
677
677
  companyId: string;
678
678
  deletedAt: string | null;
679
679
  oldId: number | null;
680
- price: number;
681
- uomId: string | null;
682
- productId: string | null;
683
680
  warehouseItemId: string;
681
+ productId: string | null;
684
682
  baseQuantity: number;
683
+ uomId: string | null;
684
+ price: number;
685
685
  currency: string;
686
686
  };
687
687
  401: "Токен олдсонгүй";
@@ -704,11 +704,11 @@ export declare const app: Elysia<"", {
704
704
  body: {
705
705
  companyId?: string | undefined;
706
706
  oldId?: number | null | undefined;
707
- price?: number | undefined;
708
- uomId?: string | null | undefined;
709
- productId?: string | null | undefined;
710
707
  warehouseItemId?: string | undefined;
708
+ productId?: string | null | undefined;
711
709
  baseQuantity?: number | undefined;
710
+ uomId?: string | null | undefined;
711
+ price?: number | undefined;
712
712
  currency?: string | undefined;
713
713
  };
714
714
  params: {
@@ -781,11 +781,11 @@ export declare const app: Elysia<"", {
781
781
  params: {};
782
782
  query: {
783
783
  id?: string | undefined;
784
- state?: "DELIVERED" | "CANCELLED" | "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED" | undefined;
785
- customerId?: string | undefined;
786
784
  orderCode?: string | undefined;
785
+ customerId?: string | undefined;
787
786
  companySupplierId?: string | undefined;
788
787
  companyClientId?: string | undefined;
788
+ state?: "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "DELIVERED" | "CANCELLED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED" | undefined;
789
789
  pagination: {
790
790
  size: number;
791
791
  page: number;
@@ -804,7 +804,7 @@ export declare const app: Elysia<"", {
804
804
  deliveryAddress: string;
805
805
  companySupplierId: string | null;
806
806
  companyClientId: string;
807
- state: "DELIVERED" | "CANCELLED" | "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED";
807
+ state: "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "DELIVERED" | "CANCELLED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED";
808
808
  priceTotal: number;
809
809
  currency: string | null;
810
810
  extraData: unknown;
@@ -839,22 +839,22 @@ export declare const app: Elysia<"", {
839
839
  post: {
840
840
  body: {
841
841
  oldId?: number | null | undefined;
842
- state?: "DELIVERED" | "CANCELLED" | "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED" | undefined;
843
- timeDelivered?: string | null | undefined;
844
842
  currency?: string | null | undefined;
845
843
  companySupplierId?: string | null | undefined;
844
+ state?: "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "DELIVERED" | "CANCELLED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED" | undefined;
846
845
  extraData?: import("drizzle-typebox").Json | undefined;
847
846
  orderDate?: string | null | undefined;
848
847
  requestedDeliveryDate?: string | null | undefined;
849
848
  timeConfirmed?: string | null | undefined;
850
849
  timeShipped?: string | null | undefined;
850
+ timeDelivered?: string | null | undefined;
851
851
  timeCancelled?: string | null | undefined;
852
- customerId: string;
853
- priceTotal: number;
854
852
  orderCode: string;
853
+ customerId: string;
855
854
  customerName: string;
856
855
  deliveryAddress: string;
857
856
  companyClientId: string;
857
+ priceTotal: number;
858
858
  };
859
859
  params: {};
860
860
  query: unknown;
@@ -866,21 +866,21 @@ export declare const app: Elysia<"", {
866
866
  updatedAt: string;
867
867
  deletedAt: string | null;
868
868
  oldId: number | null;
869
- state: "DELIVERED" | "CANCELLED" | "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED";
870
- timeDelivered: string | null;
871
- customerId: string;
872
- priceTotal: number;
873
869
  currency: string | null;
874
870
  orderCode: string;
871
+ customerId: string;
875
872
  customerName: string;
876
873
  deliveryAddress: string;
877
874
  companySupplierId: string | null;
878
875
  companyClientId: string;
876
+ state: "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "DELIVERED" | "CANCELLED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED";
877
+ priceTotal: number;
879
878
  extraData: unknown;
880
879
  orderDate: string | null;
881
880
  requestedDeliveryDate: string | null;
882
881
  timeConfirmed: string | null;
883
882
  timeShipped: string | null;
883
+ timeDelivered: string | null;
884
884
  timeCancelled: string | null;
885
885
  };
886
886
  401: "Токен олдсонгүй";
@@ -902,21 +902,21 @@ export declare const app: Elysia<"", {
902
902
  put: {
903
903
  body: {
904
904
  oldId?: number | null | undefined;
905
- state?: "DELIVERED" | "CANCELLED" | "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED" | undefined;
906
- timeDelivered?: string | null | undefined;
907
- customerId?: string | undefined;
908
- priceTotal?: number | undefined;
909
905
  currency?: string | null | undefined;
910
906
  orderCode?: string | undefined;
907
+ customerId?: string | undefined;
911
908
  customerName?: string | undefined;
912
909
  deliveryAddress?: string | undefined;
913
910
  companySupplierId?: string | null | undefined;
914
911
  companyClientId?: string | undefined;
912
+ state?: "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "DELIVERED" | "CANCELLED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED" | undefined;
913
+ priceTotal?: number | undefined;
915
914
  extraData?: import("drizzle-typebox").Json | undefined;
916
915
  orderDate?: string | null | undefined;
917
916
  requestedDeliveryDate?: string | null | undefined;
918
917
  timeConfirmed?: string | null | undefined;
919
918
  timeShipped?: string | null | undefined;
919
+ timeDelivered?: string | null | undefined;
920
920
  timeCancelled?: string | null | undefined;
921
921
  };
922
922
  params: {
@@ -932,7 +932,7 @@ export declare const app: Elysia<"", {
932
932
  deliveryAddress: string;
933
933
  companySupplierId: string | null;
934
934
  companyClientId: string;
935
- state: "DELIVERED" | "CANCELLED" | "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED";
935
+ state: "DRAFT" | "CONFIRMED" | "PROCESSING" | "SHIPPED" | "DELIVERED" | "CANCELLED" | "ON_HOLD" | "PARTIALLY_SHIPPED" | "PARTIALLY_DELIVERED";
936
936
  priceTotal: number;
937
937
  currency: string | null;
938
938
  extraData: unknown;
@@ -998,8 +998,8 @@ export declare const app: Elysia<"", {
998
998
  params: {};
999
999
  query: {
1000
1000
  id?: string | undefined;
1001
- state?: "PENDING" | "DELIVERED" | "CANCELLED" | "SHIPPED" | "RESERVED" | "BACKORDERED" | undefined;
1002
1001
  productId?: string | undefined;
1002
+ state?: "SHIPPED" | "DELIVERED" | "CANCELLED" | "PENDING" | "RESERVED" | "BACKORDERED" | undefined;
1003
1003
  btOrderId?: string | undefined;
1004
1004
  pagination: {
1005
1005
  size: number;
@@ -1022,7 +1022,7 @@ export declare const app: Elysia<"", {
1022
1022
  currency: string | null;
1023
1023
  priceUnit: number;
1024
1024
  priceTotal: number;
1025
- state: "PENDING" | "DELIVERED" | "CANCELLED" | "SHIPPED" | "RESERVED" | "BACKORDERED";
1025
+ state: "SHIPPED" | "DELIVERED" | "CANCELLED" | "PENDING" | "RESERVED" | "BACKORDERED";
1026
1026
  id: string;
1027
1027
  createdAt: string;
1028
1028
  updatedAt: string;
@@ -1048,16 +1048,16 @@ export declare const app: Elysia<"", {
1048
1048
  post: {
1049
1049
  body: {
1050
1050
  oldId?: number | null | undefined;
1051
- state?: "PENDING" | "DELIVERED" | "CANCELLED" | "SHIPPED" | "RESERVED" | "BACKORDERED" | undefined;
1052
- partNumber?: string | null | undefined;
1053
1051
  currency?: string | null | undefined;
1052
+ state?: "SHIPPED" | "DELIVERED" | "CANCELLED" | "PENDING" | "RESERVED" | "BACKORDERED" | undefined;
1054
1053
  skuId?: string | null | undefined;
1055
1054
  skuName?: string | null | undefined;
1055
+ partNumber?: string | null | undefined;
1056
+ productId: string;
1056
1057
  priceTotal: number;
1058
+ btOrderId: string;
1057
1059
  quantity: number;
1058
1060
  priceUnit: number;
1059
- productId: string;
1060
- btOrderId: string;
1061
1061
  };
1062
1062
  params: {};
1063
1063
  query: unknown;
@@ -1069,16 +1069,16 @@ export declare const app: Elysia<"", {
1069
1069
  updatedAt: string;
1070
1070
  deletedAt: string | null;
1071
1071
  oldId: number | null;
1072
- state: "PENDING" | "DELIVERED" | "CANCELLED" | "SHIPPED" | "RESERVED" | "BACKORDERED";
1073
- priceTotal: number;
1074
- quantity: number;
1075
- priceUnit: number;
1076
- partNumber: string | null;
1077
1072
  productId: string;
1078
1073
  currency: string | null;
1074
+ state: "SHIPPED" | "DELIVERED" | "CANCELLED" | "PENDING" | "RESERVED" | "BACKORDERED";
1075
+ priceTotal: number;
1079
1076
  btOrderId: string;
1080
1077
  skuId: string | null;
1081
1078
  skuName: string | null;
1079
+ partNumber: string | null;
1080
+ quantity: number;
1081
+ priceUnit: number;
1082
1082
  };
1083
1083
  401: "Токен олдсонгүй";
1084
1084
  422: {
@@ -1099,16 +1099,16 @@ export declare const app: Elysia<"", {
1099
1099
  put: {
1100
1100
  body: {
1101
1101
  oldId?: number | null | undefined;
1102
- state?: "PENDING" | "DELIVERED" | "CANCELLED" | "SHIPPED" | "RESERVED" | "BACKORDERED" | undefined;
1103
- priceTotal?: number | undefined;
1104
- quantity?: number | undefined;
1105
- priceUnit?: number | undefined;
1106
- partNumber?: string | null | undefined;
1107
1102
  productId?: string | undefined;
1108
1103
  currency?: string | null | undefined;
1104
+ state?: "SHIPPED" | "DELIVERED" | "CANCELLED" | "PENDING" | "RESERVED" | "BACKORDERED" | undefined;
1105
+ priceTotal?: number | undefined;
1109
1106
  btOrderId?: string | undefined;
1110
1107
  skuId?: string | null | undefined;
1111
1108
  skuName?: string | null | undefined;
1109
+ partNumber?: string | null | undefined;
1110
+ quantity?: number | undefined;
1111
+ priceUnit?: number | undefined;
1112
1112
  };
1113
1113
  params: {
1114
1114
  id: string;
@@ -1126,7 +1126,7 @@ export declare const app: Elysia<"", {
1126
1126
  currency: string | null;
1127
1127
  priceUnit: number;
1128
1128
  priceTotal: number;
1129
- state: "PENDING" | "DELIVERED" | "CANCELLED" | "SHIPPED" | "RESERVED" | "BACKORDERED";
1129
+ state: "SHIPPED" | "DELIVERED" | "CANCELLED" | "PENDING" | "RESERVED" | "BACKORDERED";
1130
1130
  id: string;
1131
1131
  createdAt: string;
1132
1132
  updatedAt: string;
@@ -1183,8 +1183,8 @@ export declare const app: Elysia<"", {
1183
1183
  params: {};
1184
1184
  query: {
1185
1185
  id?: string | undefined;
1186
- state?: "CANCELLED" | "APPROVED" | "EXPIRED" | "DRAFT" | "SUBMITTED" | "UNDER_REVIEW" | "REJECTED" | undefined;
1187
1186
  companyClientId?: string | undefined;
1187
+ state?: "DRAFT" | "CANCELLED" | "SUBMITTED" | "UNDER_REVIEW" | "APPROVED" | "REJECTED" | "EXPIRED" | undefined;
1188
1188
  btOrderId?: string | undefined;
1189
1189
  pagination: {
1190
1190
  size: number;
@@ -1202,7 +1202,7 @@ export declare const app: Elysia<"", {
1202
1202
  companyClientId: string;
1203
1203
  priceTotal: number;
1204
1204
  currency: string | null;
1205
- state: "CANCELLED" | "APPROVED" | "EXPIRED" | "DRAFT" | "SUBMITTED" | "UNDER_REVIEW" | "REJECTED";
1205
+ state: "DRAFT" | "CANCELLED" | "SUBMITTED" | "UNDER_REVIEW" | "APPROVED" | "REJECTED" | "EXPIRED";
1206
1206
  timeSubmitted: string | null;
1207
1207
  timeUnderReview: string | null;
1208
1208
  timeApproved: string | null;
@@ -1231,13 +1231,13 @@ export declare const app: Elysia<"", {
1231
1231
  post: {
1232
1232
  body: {
1233
1233
  oldId?: number | null | undefined;
1234
- state?: "CANCELLED" | "APPROVED" | "EXPIRED" | "DRAFT" | "SUBMITTED" | "UNDER_REVIEW" | "REJECTED" | undefined;
1235
1234
  currency?: string | null | undefined;
1235
+ state?: "DRAFT" | "CANCELLED" | "SUBMITTED" | "UNDER_REVIEW" | "APPROVED" | "REJECTED" | "EXPIRED" | undefined;
1236
1236
  timeSubmitted?: string | null | undefined;
1237
1237
  timeUnderReview?: string | null | undefined;
1238
1238
  timeApproved?: string | null | undefined;
1239
- priceTotal: number;
1240
1239
  companyClientId: string;
1240
+ priceTotal: number;
1241
1241
  btOrderId: string;
1242
1242
  };
1243
1243
  params: {};
@@ -1250,10 +1250,10 @@ export declare const app: Elysia<"", {
1250
1250
  updatedAt: string;
1251
1251
  deletedAt: string | null;
1252
1252
  oldId: number | null;
1253
- state: "CANCELLED" | "APPROVED" | "EXPIRED" | "DRAFT" | "SUBMITTED" | "UNDER_REVIEW" | "REJECTED";
1254
- priceTotal: number;
1255
1253
  currency: string | null;
1256
1254
  companyClientId: string;
1255
+ state: "DRAFT" | "CANCELLED" | "SUBMITTED" | "UNDER_REVIEW" | "APPROVED" | "REJECTED" | "EXPIRED";
1256
+ priceTotal: number;
1257
1257
  btOrderId: string;
1258
1258
  timeSubmitted: string | null;
1259
1259
  timeUnderReview: string | null;
@@ -1278,10 +1278,10 @@ export declare const app: Elysia<"", {
1278
1278
  put: {
1279
1279
  body: {
1280
1280
  oldId?: number | null | undefined;
1281
- state?: "CANCELLED" | "APPROVED" | "EXPIRED" | "DRAFT" | "SUBMITTED" | "UNDER_REVIEW" | "REJECTED" | undefined;
1282
- priceTotal?: number | undefined;
1283
1281
  currency?: string | null | undefined;
1284
1282
  companyClientId?: string | undefined;
1283
+ state?: "DRAFT" | "CANCELLED" | "SUBMITTED" | "UNDER_REVIEW" | "APPROVED" | "REJECTED" | "EXPIRED" | undefined;
1284
+ priceTotal?: number | undefined;
1285
1285
  btOrderId?: string | undefined;
1286
1286
  timeSubmitted?: string | null | undefined;
1287
1287
  timeUnderReview?: string | null | undefined;
@@ -1298,7 +1298,7 @@ export declare const app: Elysia<"", {
1298
1298
  companyClientId: string;
1299
1299
  priceTotal: number;
1300
1300
  currency: string | null;
1301
- state: "CANCELLED" | "APPROVED" | "EXPIRED" | "DRAFT" | "SUBMITTED" | "UNDER_REVIEW" | "REJECTED";
1301
+ state: "DRAFT" | "CANCELLED" | "SUBMITTED" | "UNDER_REVIEW" | "APPROVED" | "REJECTED" | "EXPIRED";
1302
1302
  timeSubmitted: string | null;
1303
1303
  timeUnderReview: string | null;
1304
1304
  timeApproved: string | null;
@@ -1406,14 +1406,14 @@ export declare const app: Elysia<"", {
1406
1406
  post: {
1407
1407
  body: {
1408
1408
  oldId?: number | null | undefined;
1409
- partNumber?: string | null | undefined;
1410
1409
  currency?: string | null | undefined;
1411
1410
  skuId?: string | null | undefined;
1412
1411
  skuName?: string | null | undefined;
1412
+ partNumber?: string | null | undefined;
1413
+ productId: string;
1413
1414
  priceTotal: number;
1414
1415
  quantity: number;
1415
1416
  priceUnit: number;
1416
- productId: string;
1417
1417
  btOrderReqId: string;
1418
1418
  };
1419
1419
  params: {};
@@ -1426,14 +1426,14 @@ export declare const app: Elysia<"", {
1426
1426
  updatedAt: string;
1427
1427
  deletedAt: string | null;
1428
1428
  oldId: number | null;
1429
- priceTotal: number;
1430
- quantity: number;
1431
- priceUnit: number;
1432
- partNumber: string | null;
1433
1429
  productId: string;
1434
1430
  currency: string | null;
1431
+ priceTotal: number;
1435
1432
  skuId: string | null;
1436
1433
  skuName: string | null;
1434
+ partNumber: string | null;
1435
+ quantity: number;
1436
+ priceUnit: number;
1437
1437
  btOrderReqId: string;
1438
1438
  };
1439
1439
  401: "Токен олдсонгүй";
@@ -1455,14 +1455,14 @@ export declare const app: Elysia<"", {
1455
1455
  put: {
1456
1456
  body: {
1457
1457
  oldId?: number | null | undefined;
1458
- priceTotal?: number | undefined;
1459
- quantity?: number | undefined;
1460
- priceUnit?: number | undefined;
1461
- partNumber?: string | null | undefined;
1462
1458
  productId?: string | undefined;
1463
1459
  currency?: string | null | undefined;
1460
+ priceTotal?: number | undefined;
1464
1461
  skuId?: string | null | undefined;
1465
1462
  skuName?: string | null | undefined;
1463
+ partNumber?: string | null | undefined;
1464
+ quantity?: number | undefined;
1465
+ priceUnit?: number | undefined;
1466
1466
  btOrderReqId?: string | undefined;
1467
1467
  };
1468
1468
  params: {
@@ -1537,7 +1537,7 @@ export declare const app: Elysia<"", {
1537
1537
  params: {};
1538
1538
  query: {
1539
1539
  id?: string | undefined;
1540
- state?: "PAID" | "OVERDUE" | "CANCELLED" | "DRAFT" | "ISSUED" | "PARTIALLY_PAID" | "VOID" | undefined;
1540
+ state?: "DRAFT" | "CANCELLED" | "ISSUED" | "PARTIALLY_PAID" | "PAID" | "OVERDUE" | "VOID" | undefined;
1541
1541
  btOrderId?: string | undefined;
1542
1542
  pagination: {
1543
1543
  size: number;
@@ -1555,7 +1555,7 @@ export declare const app: Elysia<"", {
1555
1555
  amountTotal: number;
1556
1556
  dateStart: string | null;
1557
1557
  dateEnd: string | null;
1558
- state: "PAID" | "OVERDUE" | "CANCELLED" | "DRAFT" | "ISSUED" | "PARTIALLY_PAID" | "VOID";
1558
+ state: "DRAFT" | "CANCELLED" | "ISSUED" | "PARTIALLY_PAID" | "PAID" | "OVERDUE" | "VOID";
1559
1559
  paymentDate: string | null;
1560
1560
  id: string;
1561
1561
  createdAt: string;
@@ -1582,7 +1582,7 @@ export declare const app: Elysia<"", {
1582
1582
  post: {
1583
1583
  body: {
1584
1584
  oldId?: number | null | undefined;
1585
- state?: "PAID" | "OVERDUE" | "CANCELLED" | "DRAFT" | "ISSUED" | "PARTIALLY_PAID" | "VOID" | undefined;
1585
+ state?: "DRAFT" | "CANCELLED" | "ISSUED" | "PARTIALLY_PAID" | "PAID" | "OVERDUE" | "VOID" | undefined;
1586
1586
  dateStart?: string | null | undefined;
1587
1587
  dateEnd?: string | null | undefined;
1588
1588
  paymentDate?: string | null | undefined;
@@ -1599,11 +1599,11 @@ export declare const app: Elysia<"", {
1599
1599
  updatedAt: string;
1600
1600
  deletedAt: string | null;
1601
1601
  oldId: number | null;
1602
- state: "PAID" | "OVERDUE" | "CANCELLED" | "DRAFT" | "ISSUED" | "PARTIALLY_PAID" | "VOID";
1603
- dateStart: string | null;
1604
- dateEnd: string | null;
1602
+ state: "DRAFT" | "CANCELLED" | "ISSUED" | "PARTIALLY_PAID" | "PAID" | "OVERDUE" | "VOID";
1605
1603
  btOrderId: string;
1606
1604
  amountTotal: number;
1605
+ dateStart: string | null;
1606
+ dateEnd: string | null;
1607
1607
  paymentDate: string | null;
1608
1608
  };
1609
1609
  401: "Токен олдсонгүй";
@@ -1625,11 +1625,11 @@ export declare const app: Elysia<"", {
1625
1625
  put: {
1626
1626
  body: {
1627
1627
  oldId?: number | null | undefined;
1628
- state?: "PAID" | "OVERDUE" | "CANCELLED" | "DRAFT" | "ISSUED" | "PARTIALLY_PAID" | "VOID" | undefined;
1629
- dateStart?: string | null | undefined;
1630
- dateEnd?: string | null | undefined;
1628
+ state?: "DRAFT" | "CANCELLED" | "ISSUED" | "PARTIALLY_PAID" | "PAID" | "OVERDUE" | "VOID" | undefined;
1631
1629
  btOrderId?: string | undefined;
1632
1630
  amountTotal?: number | undefined;
1631
+ dateStart?: string | null | undefined;
1632
+ dateEnd?: string | null | undefined;
1633
1633
  paymentDate?: string | null | undefined;
1634
1634
  };
1635
1635
  params: {
@@ -1643,7 +1643,7 @@ export declare const app: Elysia<"", {
1643
1643
  amountTotal: number;
1644
1644
  dateStart: string | null;
1645
1645
  dateEnd: string | null;
1646
- state: "PAID" | "OVERDUE" | "CANCELLED" | "DRAFT" | "ISSUED" | "PARTIALLY_PAID" | "VOID";
1646
+ state: "DRAFT" | "CANCELLED" | "ISSUED" | "PARTIALLY_PAID" | "PAID" | "OVERDUE" | "VOID";
1647
1647
  paymentDate: string | null;
1648
1648
  id: string;
1649
1649
  createdAt: string;
@@ -1701,7 +1701,7 @@ export declare const app: Elysia<"", {
1701
1701
  params: {};
1702
1702
  query: {
1703
1703
  id?: string | undefined;
1704
- state?: "PENDING" | "FAILED" | "REFUNDED" | "COMPLETED" | "REVERSED" | undefined;
1704
+ state?: "PENDING" | "COMPLETED" | "FAILED" | "REFUNDED" | "REVERSED" | undefined;
1705
1705
  btInvoiceId?: string | undefined;
1706
1706
  pagination: {
1707
1707
  size: number;
@@ -1720,7 +1720,7 @@ export declare const app: Elysia<"", {
1720
1720
  paymentMethod: string;
1721
1721
  paymentChannel: string;
1722
1722
  currency: string | null;
1723
- state: "PENDING" | "FAILED" | "REFUNDED" | "COMPLETED" | "REVERSED";
1723
+ state: "PENDING" | "COMPLETED" | "FAILED" | "REFUNDED" | "REVERSED";
1724
1724
  note: string | null;
1725
1725
  id: string;
1726
1726
  createdAt: string;
@@ -1747,13 +1747,13 @@ export declare const app: Elysia<"", {
1747
1747
  post: {
1748
1748
  body: {
1749
1749
  oldId?: number | null | undefined;
1750
- state?: "PENDING" | "FAILED" | "REFUNDED" | "COMPLETED" | "REVERSED" | undefined;
1751
- note?: string | null | undefined;
1752
1750
  currency?: string | null | undefined;
1751
+ state?: "PENDING" | "COMPLETED" | "FAILED" | "REFUNDED" | "REVERSED" | undefined;
1752
+ note?: string | null | undefined;
1753
+ btInvoiceId: string;
1753
1754
  amount: number;
1754
1755
  paymentMethod: string;
1755
1756
  paymentChannel: string;
1756
- btInvoiceId: string;
1757
1757
  };
1758
1758
  params: {};
1759
1759
  query: unknown;
@@ -1765,13 +1765,13 @@ export declare const app: Elysia<"", {
1765
1765
  updatedAt: string;
1766
1766
  deletedAt: string | null;
1767
1767
  oldId: number | null;
1768
- state: "PENDING" | "FAILED" | "REFUNDED" | "COMPLETED" | "REVERSED";
1769
- note: string | null;
1768
+ currency: string | null;
1769
+ state: "PENDING" | "COMPLETED" | "FAILED" | "REFUNDED" | "REVERSED";
1770
+ btInvoiceId: string;
1770
1771
  amount: number;
1771
1772
  paymentMethod: string;
1772
1773
  paymentChannel: string;
1773
- currency: string | null;
1774
- btInvoiceId: string;
1774
+ note: string | null;
1775
1775
  };
1776
1776
  401: "Токен олдсонгүй";
1777
1777
  422: {
@@ -1792,13 +1792,13 @@ export declare const app: Elysia<"", {
1792
1792
  put: {
1793
1793
  body: {
1794
1794
  oldId?: number | null | undefined;
1795
- state?: "PENDING" | "FAILED" | "REFUNDED" | "COMPLETED" | "REVERSED" | undefined;
1796
- note?: string | null | undefined;
1795
+ currency?: string | null | undefined;
1796
+ state?: "PENDING" | "COMPLETED" | "FAILED" | "REFUNDED" | "REVERSED" | undefined;
1797
+ btInvoiceId?: string | undefined;
1797
1798
  amount?: number | undefined;
1798
1799
  paymentMethod?: string | undefined;
1799
1800
  paymentChannel?: string | undefined;
1800
- currency?: string | null | undefined;
1801
- btInvoiceId?: string | undefined;
1801
+ note?: string | null | undefined;
1802
1802
  };
1803
1803
  params: {
1804
1804
  id: string;
@@ -1812,7 +1812,7 @@ export declare const app: Elysia<"", {
1812
1812
  paymentMethod: string;
1813
1813
  paymentChannel: string;
1814
1814
  currency: string | null;
1815
- state: "PENDING" | "FAILED" | "REFUNDED" | "COMPLETED" | "REVERSED";
1815
+ state: "PENDING" | "COMPLETED" | "FAILED" | "REFUNDED" | "REVERSED";
1816
1816
  note: string | null;
1817
1817
  id: string;
1818
1818
  createdAt: string;
@@ -1874,8 +1874,8 @@ export declare const app: Elysia<"", {
1874
1874
  type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа" | undefined;
1875
1875
  id?: string | undefined;
1876
1876
  search?: string | undefined;
1877
- supplierId?: string | undefined;
1878
1877
  productId?: string | undefined;
1878
+ supplierId?: string | undefined;
1879
1879
  priceSell?: number | undefined;
1880
1880
  ids?: string[] | undefined;
1881
1881
  pagination: {
@@ -1942,9 +1942,9 @@ export declare const app: Elysia<"", {
1942
1942
  body: {
1943
1943
  type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа" | undefined;
1944
1944
  oldId?: number | null | undefined;
1945
+ productId?: string | null | undefined;
1945
1946
  description?: string | null | undefined;
1946
1947
  oen?: string | null | undefined;
1947
- productId?: string | null | undefined;
1948
1948
  barCode?: string | null | undefined;
1949
1949
  alias?: string | null | undefined;
1950
1950
  quantityUnit?: number | undefined;
@@ -1967,11 +1967,11 @@ export declare const app: Elysia<"", {
1967
1967
  companyId: string;
1968
1968
  deletedAt: string | null;
1969
1969
  oldId: number | null;
1970
- description: string | null;
1970
+ productId: string | null;
1971
1971
  partNumber: string;
1972
+ description: string | null;
1972
1973
  oen: string | null;
1973
1974
  supplierId: string;
1974
- productId: string | null;
1975
1975
  priceSell: number;
1976
1976
  priceBuy: number;
1977
1977
  barCode: string | null;
@@ -1998,9 +1998,9 @@ export declare const app: Elysia<"", {
1998
1998
  body: {
1999
1999
  type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа" | undefined;
2000
2000
  oldId?: number | null | undefined;
2001
+ productId?: string | null | undefined;
2001
2002
  description?: string | null | undefined;
2002
2003
  oen?: string | null | undefined;
2003
- productId?: string | null | undefined;
2004
2004
  barCode?: string | null | undefined;
2005
2005
  alias?: string | null | undefined;
2006
2006
  quantityUnit?: number | undefined;
@@ -2043,8 +2043,8 @@ export declare const app: Elysia<"", {
2043
2043
  type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа" | undefined;
2044
2044
  id?: string | undefined;
2045
2045
  search?: string | undefined;
2046
- supplierId?: string | undefined;
2047
2046
  productId?: string | undefined;
2047
+ supplierId?: string | undefined;
2048
2048
  priceSell?: number | undefined;
2049
2049
  ids?: string[] | undefined;
2050
2050
  };
@@ -2075,11 +2075,11 @@ export declare const app: Elysia<"", {
2075
2075
  name?: string | undefined;
2076
2076
  companyId?: string | undefined;
2077
2077
  oldId?: number | null | undefined;
2078
- description?: string | null | undefined;
2078
+ productId?: string | null | undefined;
2079
2079
  partNumber?: string | undefined;
2080
+ description?: string | null | undefined;
2080
2081
  oen?: string | null | undefined;
2081
2082
  supplierId?: string | undefined;
2082
- productId?: string | null | undefined;
2083
2083
  priceSell?: number | undefined;
2084
2084
  priceBuy?: number | undefined;
2085
2085
  barCode?: string | null | undefined;
@@ -2289,16 +2289,16 @@ export declare const app: Elysia<"", {
2289
2289
  body: unknown;
2290
2290
  params: {};
2291
2291
  query: {
2292
- isActive?: boolean | undefined;
2293
2292
  product?: {
2294
2293
  type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа" | undefined;
2295
2294
  id?: string | undefined;
2296
2295
  search?: string | undefined;
2297
- supplierId?: string | undefined;
2298
2296
  productId?: string | undefined;
2297
+ supplierId?: string | undefined;
2299
2298
  priceSell?: number | undefined;
2300
2299
  ids?: string[] | undefined;
2301
2300
  } | undefined;
2301
+ isActive?: boolean | undefined;
2302
2302
  warehouseId?: string | undefined;
2303
2303
  safetyStock?: number | undefined;
2304
2304
  shelfNumber?: string | undefined;
@@ -2400,9 +2400,9 @@ export declare const app: Elysia<"", {
2400
2400
  post: {
2401
2401
  body: {
2402
2402
  oldId?: number | null | undefined;
2403
- description?: string | null | undefined;
2404
- quantity?: number | undefined;
2405
2403
  order?: number | undefined;
2404
+ quantity?: number | undefined;
2405
+ description?: string | null | undefined;
2406
2406
  priceSell?: number | null | undefined;
2407
2407
  shelfNumber?: string | null | undefined;
2408
2408
  isOrdered?: boolean | undefined;
@@ -2420,10 +2420,10 @@ export declare const app: Elysia<"", {
2420
2420
  updatedAt: string;
2421
2421
  deletedAt: string | null;
2422
2422
  oldId: number | null;
2423
- description: string | null;
2424
- quantity: number;
2425
- order: number;
2426
2423
  productId: string;
2424
+ order: number;
2425
+ quantity: number;
2426
+ description: string | null;
2427
2427
  priceSell: number | null;
2428
2428
  warehouseId: string;
2429
2429
  safetyStock: number;
@@ -2452,9 +2452,9 @@ export declare const app: Elysia<"", {
2452
2452
  post: {
2453
2453
  body: {
2454
2454
  oldId?: number | null | undefined;
2455
- description?: string | null | undefined;
2456
- quantity?: number | undefined;
2457
2455
  order?: number | undefined;
2456
+ quantity?: number | undefined;
2457
+ description?: string | null | undefined;
2458
2458
  priceSell?: number | null | undefined;
2459
2459
  shelfNumber?: string | null | undefined;
2460
2460
  isOrdered?: boolean | undefined;
@@ -2501,16 +2501,16 @@ export declare const app: Elysia<"", {
2501
2501
  query: {
2502
2502
  employeeId?: string | undefined;
2503
2503
  userId?: string | undefined;
2504
- orderId?: string | undefined;
2505
2504
  product?: {
2506
2505
  type?: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа" | undefined;
2507
2506
  id?: string | undefined;
2508
2507
  search?: string | undefined;
2509
- supplierId?: string | undefined;
2510
2508
  productId?: string | undefined;
2509
+ supplierId?: string | undefined;
2511
2510
  priceSell?: number | undefined;
2512
2511
  ids?: string[] | undefined;
2513
2512
  } | undefined;
2513
+ orderId?: string | undefined;
2514
2514
  warehouseId?: string | undefined;
2515
2515
  itemId?: string | undefined;
2516
2516
  transactionType?: "IN" | "OUT" | undefined;
@@ -2687,9 +2687,9 @@ export declare const app: Elysia<"", {
2687
2687
  body: {
2688
2688
  deletedAt?: string | null | undefined;
2689
2689
  oldId?: number | null | undefined;
2690
- description?: string | null | undefined;
2691
- order?: number | undefined;
2692
2690
  productId?: string | undefined;
2691
+ order?: number | undefined;
2692
+ description?: string | null | undefined;
2693
2693
  priceSell?: number | null | undefined;
2694
2694
  warehouseId?: string | undefined;
2695
2695
  safetyStock?: number | undefined;
@@ -3315,8 +3315,8 @@ export declare const app: Elysia<"", {
3315
3315
  updatedAt: string;
3316
3316
  deletedAt: string | null;
3317
3317
  oldId: number | null;
3318
- rowCount: number;
3319
3318
  price: number;
3319
+ rowCount: number;
3320
3320
  } & {
3321
3321
  totalCount: number;
3322
3322
  }, "totalCount">[];
@@ -3340,8 +3340,8 @@ export declare const app: Elysia<"", {
3340
3340
  body: {
3341
3341
  oldId?: number | null | undefined;
3342
3342
  name: string;
3343
- rowCount: number;
3344
3343
  price: number;
3344
+ rowCount: number;
3345
3345
  };
3346
3346
  params: {};
3347
3347
  query: unknown;
@@ -3354,8 +3354,8 @@ export declare const app: Elysia<"", {
3354
3354
  updatedAt: string;
3355
3355
  deletedAt: string | null;
3356
3356
  oldId: number | null;
3357
- rowCount: number;
3358
3357
  price: number;
3358
+ rowCount: number;
3359
3359
  };
3360
3360
  401: "Токен олдсонгүй";
3361
3361
  422: {
@@ -3377,8 +3377,8 @@ export declare const app: Elysia<"", {
3377
3377
  body: {
3378
3378
  name?: string | undefined;
3379
3379
  oldId?: number | null | undefined;
3380
- rowCount?: number | undefined;
3381
3380
  price?: number | undefined;
3381
+ rowCount?: number | undefined;
3382
3382
  };
3383
3383
  params: {
3384
3384
  id: string;
@@ -3393,8 +3393,8 @@ export declare const app: Elysia<"", {
3393
3393
  updatedAt: string;
3394
3394
  deletedAt: string | null;
3395
3395
  oldId: number | null;
3396
- rowCount: number;
3397
3396
  price: number;
3397
+ rowCount: number;
3398
3398
  };
3399
3399
  401: "Токен олдсонгүй";
3400
3400
  404: string;
@@ -3516,9 +3516,9 @@ export declare const app: Elysia<"", {
3516
3516
  branchId: string | null;
3517
3517
  deletedAt: string | null;
3518
3518
  oldId: number | null;
3519
+ price: number;
3519
3520
  description: string | null;
3520
3521
  enabled: boolean;
3521
- price: number;
3522
3522
  serviceKindId: string | null;
3523
3523
  };
3524
3524
  401: "Токен олдсонгүй";
@@ -3571,9 +3571,9 @@ export declare const app: Elysia<"", {
3571
3571
  name?: string | undefined;
3572
3572
  branchId?: string | null | undefined;
3573
3573
  oldId?: number | null | undefined;
3574
+ price?: number | undefined;
3574
3575
  description?: string | null | undefined;
3575
3576
  enabled?: boolean | undefined;
3576
- price?: number | undefined;
3577
3577
  serviceKindId?: string | null | undefined;
3578
3578
  };
3579
3579
  params: {
@@ -3985,11 +3985,11 @@ export declare const app: Elysia<"", {
3985
3985
  companyId?: string | undefined;
3986
3986
  deletedAt?: string | null | undefined;
3987
3987
  oldId?: number | null | undefined;
3988
- billingPeriod?: "MONTHLY" | "ANNUAL" | "YEARLY" | undefined;
3988
+ note?: string | null | undefined;
3989
+ billingPeriod?: "MONTHLY" | "SEASONAL" | "YEARLY" | undefined;
3989
3990
  basePrice?: number | undefined;
3990
3991
  maxCarCount?: number | null | undefined;
3991
3992
  active?: boolean | undefined;
3992
- note?: string | null | undefined;
3993
3993
  pagination: {
3994
3994
  size: number;
3995
3995
  page: number;
@@ -4003,7 +4003,7 @@ export declare const app: Elysia<"", {
4003
4003
  result: Omit<{
4004
4004
  totalCount: number;
4005
4005
  companyId: string;
4006
- billingPeriod: "MONTHLY" | "ANNUAL" | "YEARLY";
4006
+ billingPeriod: "MONTHLY" | "SEASONAL" | "YEARLY";
4007
4007
  basePrice: number;
4008
4008
  maxCarCount: number | null;
4009
4009
  active: boolean;
@@ -4033,10 +4033,10 @@ export declare const app: Elysia<"", {
4033
4033
  post: {
4034
4034
  body: {
4035
4035
  oldId?: number | null | undefined;
4036
- billingPeriod?: "MONTHLY" | "ANNUAL" | "YEARLY" | undefined;
4036
+ note?: string | null | undefined;
4037
+ billingPeriod?: "MONTHLY" | "SEASONAL" | "YEARLY" | undefined;
4037
4038
  maxCarCount?: number | null | undefined;
4038
4039
  active?: boolean | undefined;
4039
- note?: string | null | undefined;
4040
4040
  companyId: string;
4041
4041
  basePrice: number;
4042
4042
  };
@@ -4051,11 +4051,11 @@ export declare const app: Elysia<"", {
4051
4051
  companyId: string;
4052
4052
  deletedAt: string | null;
4053
4053
  oldId: number | null;
4054
- billingPeriod: "MONTHLY" | "ANNUAL" | "YEARLY";
4054
+ note: string | null;
4055
+ billingPeriod: "MONTHLY" | "SEASONAL" | "YEARLY";
4055
4056
  basePrice: number;
4056
4057
  maxCarCount: number | null;
4057
4058
  active: boolean;
4058
- note: string | null;
4059
4059
  };
4060
4060
  401: "Токен олдсонгүй";
4061
4061
  403: "Хандах эрхгүй байна.";
@@ -4078,11 +4078,11 @@ export declare const app: Elysia<"", {
4078
4078
  body: {
4079
4079
  companyId?: string | undefined;
4080
4080
  oldId?: number | null | undefined;
4081
- billingPeriod?: "MONTHLY" | "ANNUAL" | "YEARLY" | undefined;
4081
+ note?: string | null | undefined;
4082
+ billingPeriod?: "MONTHLY" | "SEASONAL" | "YEARLY" | undefined;
4082
4083
  basePrice?: number | undefined;
4083
4084
  maxCarCount?: number | null | undefined;
4084
4085
  active?: boolean | undefined;
4085
- note?: string | null | undefined;
4086
4086
  };
4087
4087
  params: {
4088
4088
  id: string;
@@ -4092,7 +4092,7 @@ export declare const app: Elysia<"", {
4092
4092
  response: {
4093
4093
  200: {
4094
4094
  companyId: string;
4095
- billingPeriod: "MONTHLY" | "ANNUAL" | "YEARLY";
4095
+ billingPeriod: "MONTHLY" | "SEASONAL" | "YEARLY";
4096
4096
  basePrice: number;
4097
4097
  maxCarCount: number | null;
4098
4098
  active: boolean;
@@ -4163,10 +4163,10 @@ export declare const app: Elysia<"", {
4163
4163
  updatedAt?: string | undefined;
4164
4164
  deletedAt?: string | null | undefined;
4165
4165
  oldId?: number | null | undefined;
4166
+ amount?: number | undefined;
4166
4167
  note?: string | null | undefined;
4167
4168
  paidAt?: string | undefined;
4168
4169
  invoiceId?: string | undefined;
4169
- amount?: number | undefined;
4170
4170
  reference?: string | null | undefined;
4171
4171
  pagination: {
4172
4172
  size: number;
@@ -4212,9 +4212,9 @@ export declare const app: Elysia<"", {
4212
4212
  oldId?: number | null | undefined;
4213
4213
  note?: string | null | undefined;
4214
4214
  reference?: string | null | undefined;
4215
+ amount: number;
4215
4216
  paidAt: string;
4216
4217
  invoiceId: string;
4217
- amount: number;
4218
4218
  };
4219
4219
  params: {};
4220
4220
  query: unknown;
@@ -4226,10 +4226,10 @@ export declare const app: Elysia<"", {
4226
4226
  updatedAt: string;
4227
4227
  deletedAt: string | null;
4228
4228
  oldId: number | null;
4229
+ amount: number;
4229
4230
  note: string | null;
4230
4231
  paidAt: string;
4231
4232
  invoiceId: string;
4232
- amount: number;
4233
4233
  reference: string | null;
4234
4234
  };
4235
4235
  401: "Токен олдсонгүй";
@@ -4294,10 +4294,10 @@ export declare const app: Elysia<"", {
4294
4294
  put: {
4295
4295
  body: {
4296
4296
  oldId?: number | null | undefined;
4297
+ amount?: number | undefined;
4297
4298
  note?: string | null | undefined;
4298
4299
  paidAt?: string | undefined;
4299
4300
  invoiceId?: string | undefined;
4300
- amount?: number | undefined;
4301
4301
  reference?: string | null | undefined;
4302
4302
  };
4303
4303
  params: {
@@ -4374,13 +4374,13 @@ export declare const app: Elysia<"", {
4374
4374
  companyId?: string | undefined;
4375
4375
  deletedAt?: string | null | undefined;
4376
4376
  oldId?: number | null | undefined;
4377
- basePrice?: number | undefined;
4378
4377
  note?: string | null | undefined;
4378
+ basePrice?: number | undefined;
4379
4379
  billingPlanId?: string | undefined;
4380
4380
  periodStart?: string | undefined;
4381
4381
  periodEnd?: string | undefined;
4382
4382
  carCount?: number | undefined;
4383
- status?: "PENDING" | "PAID" | "OVERDUE" | "CANCELLED" | undefined;
4383
+ status?: "CANCELLED" | "PENDING" | "PAID" | "OVERDUE" | undefined;
4384
4384
  issuedAt?: string | undefined;
4385
4385
  paidAt?: string | null | undefined;
4386
4386
  dueAt?: string | undefined;
@@ -4402,7 +4402,7 @@ export declare const app: Elysia<"", {
4402
4402
  periodEnd: string;
4403
4403
  carCount: number;
4404
4404
  basePrice: number;
4405
- status: "PENDING" | "PAID" | "OVERDUE" | "CANCELLED";
4405
+ status: "CANCELLED" | "PENDING" | "PAID" | "OVERDUE";
4406
4406
  issuedAt: string;
4407
4407
  paidAt: string | null;
4408
4408
  dueAt: string;
@@ -4415,7 +4415,7 @@ export declare const app: Elysia<"", {
4415
4415
  };
4416
4416
  billingPlan: {
4417
4417
  companyId: string;
4418
- billingPeriod: "MONTHLY" | "ANNUAL" | "YEARLY";
4418
+ billingPeriod: "MONTHLY" | "SEASONAL" | "YEARLY";
4419
4419
  basePrice: number;
4420
4420
  maxCarCount: number | null;
4421
4421
  active: boolean;
@@ -4491,13 +4491,13 @@ export declare const app: Elysia<"", {
4491
4491
  companyId: string;
4492
4492
  deletedAt: string | null;
4493
4493
  oldId: number | null;
4494
- basePrice: number;
4495
4494
  note: string | null;
4495
+ basePrice: number;
4496
4496
  billingPlanId: string;
4497
4497
  periodStart: string;
4498
4498
  periodEnd: string;
4499
4499
  carCount: number;
4500
- status: "PENDING" | "PAID" | "OVERDUE" | "CANCELLED";
4500
+ status: "CANCELLED" | "PENDING" | "PAID" | "OVERDUE";
4501
4501
  issuedAt: string;
4502
4502
  paidAt: string | null;
4503
4503
  dueAt: string;
@@ -4525,13 +4525,13 @@ export declare const app: Elysia<"", {
4525
4525
  body: {
4526
4526
  companyId?: string | undefined;
4527
4527
  oldId?: number | null | undefined;
4528
- basePrice?: number | undefined;
4529
4528
  note?: string | null | undefined;
4529
+ basePrice?: number | undefined;
4530
4530
  billingPlanId?: string | undefined;
4531
4531
  periodStart?: string | undefined;
4532
4532
  periodEnd?: string | undefined;
4533
4533
  carCount?: number | undefined;
4534
- status?: "PENDING" | "PAID" | "OVERDUE" | "CANCELLED" | undefined;
4534
+ status?: "CANCELLED" | "PENDING" | "PAID" | "OVERDUE" | undefined;
4535
4535
  issuedAt?: string | undefined;
4536
4536
  paidAt?: string | null | undefined;
4537
4537
  dueAt?: string | undefined;
@@ -4549,7 +4549,7 @@ export declare const app: Elysia<"", {
4549
4549
  periodEnd: string;
4550
4550
  carCount: number;
4551
4551
  basePrice: number;
4552
- status: "PENDING" | "PAID" | "OVERDUE" | "CANCELLED";
4552
+ status: "CANCELLED" | "PENDING" | "PAID" | "OVERDUE";
4553
4553
  issuedAt: string;
4554
4554
  paidAt: string | null;
4555
4555
  dueAt: string;
@@ -5153,6 +5153,26 @@ export declare const app: Elysia<"", {
5153
5153
  headers: unknown;
5154
5154
  response: {
5155
5155
  200: ({
5156
+ product: {
5157
+ supplierId: string;
5158
+ productId: string | null;
5159
+ name: string;
5160
+ description: string | null;
5161
+ priceSell: number;
5162
+ priceBuy: number;
5163
+ barCode: string | null;
5164
+ oen: string | null;
5165
+ partNumber: string;
5166
+ alias: string | null;
5167
+ companyId: string;
5168
+ type: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа";
5169
+ quantityUnit: number;
5170
+ id: string;
5171
+ createdAt: string;
5172
+ updatedAt: string;
5173
+ deletedAt: string | null;
5174
+ oldId: number | null;
5175
+ } | null;
5156
5176
  service_kind: {
5157
5177
  serviceKindId: string | null;
5158
5178
  companyId: string;
@@ -5249,26 +5269,6 @@ export declare const app: Elysia<"", {
5249
5269
  deletedAt: string | null;
5250
5270
  oldId: number | null;
5251
5271
  } | null;
5252
- product: {
5253
- supplierId: string;
5254
- productId: string | null;
5255
- name: string;
5256
- description: string | null;
5257
- priceSell: number;
5258
- priceBuy: number;
5259
- barCode: string | null;
5260
- oen: string | null;
5261
- partNumber: string;
5262
- alias: string | null;
5263
- companyId: string;
5264
- type: "Сэлбэг" | "Тос" | "Дугуй" | "Будаг" | "Аккумлятор" | "Авто гоёл" | "Батерей" | "Задаргаа";
5265
- quantityUnit: number;
5266
- id: string;
5267
- createdAt: string;
5268
- updatedAt: string;
5269
- deletedAt: string | null;
5270
- oldId: number | null;
5271
- } | null;
5272
5272
  } & {
5273
5273
  crmCpOrderEmployee: {
5274
5274
  id: string;
@@ -5294,8 +5294,8 @@ export declare const app: Elysia<"", {
5294
5294
  post: {
5295
5295
  body: {
5296
5296
  name?: string | null | undefined;
5297
- description?: string | null | undefined;
5298
5297
  priceUnit?: number | undefined;
5298
+ description?: string | null | undefined;
5299
5299
  companyProductId?: string | null | undefined;
5300
5300
  companyServiceKindId?: string | null | undefined;
5301
5301
  cpOrderSpPackageId?: string | null | undefined;
@@ -5314,10 +5314,10 @@ export declare const app: Elysia<"", {
5314
5314
  updatedAt: string;
5315
5315
  deletedAt: string | null;
5316
5316
  oldId: number | null;
5317
- description: string | null;
5318
5317
  priceTotal: number;
5319
5318
  quantity: number;
5320
5319
  priceUnit: number;
5320
+ description: string | null;
5321
5321
  companyProductId: string | null;
5322
5322
  cpOrderId: string;
5323
5323
  companyServiceKindId: string | null;
@@ -5343,9 +5343,9 @@ export declare const app: Elysia<"", {
5343
5343
  ":id": {
5344
5344
  put: {
5345
5345
  body: {
5346
- description?: string | null | undefined;
5347
5346
  quantity?: number | undefined;
5348
5347
  priceUnit?: number | undefined;
5348
+ description?: string | null | undefined;
5349
5349
  warehouseId?: string | undefined;
5350
5350
  };
5351
5351
  params: {
@@ -5454,11 +5454,11 @@ export declare const app: Elysia<"", {
5454
5454
  oldId?: number | null | undefined;
5455
5455
  description?: string | null | undefined;
5456
5456
  paymentPackageId?: string | null | undefined;
5457
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5457
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5458
5458
  amount: number;
5459
- cpOrderId: string;
5460
5459
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5461
5460
  paymentChannel: string;
5461
+ cpOrderId: string;
5462
5462
  };
5463
5463
  params: {};
5464
5464
  query: {};
@@ -5470,13 +5470,13 @@ export declare const app: Elysia<"", {
5470
5470
  updatedAt: string;
5471
5471
  deletedAt: string | null;
5472
5472
  oldId: number | null;
5473
- description: string | null;
5474
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5473
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5475
5474
  amount: number;
5476
- cpOrderId: string;
5477
- paymentPackageId: string | null;
5478
5475
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5479
5476
  paymentChannel: string;
5477
+ description: string | null;
5478
+ cpOrderId: string;
5479
+ paymentPackageId: string | null;
5480
5480
  invoiceNumber: string | null;
5481
5481
  };
5482
5482
  401: "Токен олдсонгүй";
@@ -5525,8 +5525,8 @@ export declare const app: Elysia<"", {
5525
5525
  oldId?: number | null | undefined;
5526
5526
  description?: string | null | undefined;
5527
5527
  paymentPackageId?: string | null | undefined;
5528
- phone: number;
5529
5528
  amount: number;
5529
+ phone: number;
5530
5530
  cpOrderId: string;
5531
5531
  };
5532
5532
  params: {};
@@ -5539,13 +5539,13 @@ export declare const app: Elysia<"", {
5539
5539
  updatedAt: string;
5540
5540
  deletedAt: string | null;
5541
5541
  oldId: number | null;
5542
- description: string | null;
5543
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5542
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5544
5543
  amount: number;
5545
- cpOrderId: string;
5546
- paymentPackageId: string | null;
5547
5544
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5548
5545
  paymentChannel: string;
5546
+ description: string | null;
5547
+ cpOrderId: string;
5548
+ paymentPackageId: string | null;
5549
5549
  invoiceNumber: string | null;
5550
5550
  };
5551
5551
  400: string;
@@ -5602,11 +5602,11 @@ export declare const app: Elysia<"", {
5602
5602
  oldId?: number | null | undefined;
5603
5603
  description?: string | null | undefined;
5604
5604
  paymentPackageId?: string | null | undefined;
5605
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5605
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5606
5606
  amount: number;
5607
- cpOrderId: string;
5608
5607
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5609
5608
  paymentChannel: string;
5609
+ cpOrderId: string;
5610
5610
  };
5611
5611
  params: {};
5612
5612
  query: {};
@@ -5619,13 +5619,13 @@ export declare const app: Elysia<"", {
5619
5619
  updatedAt: string;
5620
5620
  deletedAt: string | null;
5621
5621
  oldId: number | null;
5622
- description: string | null;
5623
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5622
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5624
5623
  amount: number;
5625
- cpOrderId: string;
5626
- paymentPackageId: string | null;
5627
5624
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5628
5625
  paymentChannel: string;
5626
+ description: string | null;
5627
+ cpOrderId: string;
5628
+ paymentPackageId: string | null;
5629
5629
  invoiceNumber: string | null;
5630
5630
  };
5631
5631
  400: string;
@@ -5740,11 +5740,11 @@ export declare const app: Elysia<"", {
5740
5740
  oldId?: number | null | undefined;
5741
5741
  description?: string | null | undefined;
5742
5742
  paymentPackageId?: string | null | undefined;
5743
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5743
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5744
5744
  amount: number;
5745
- cpOrderId: string;
5746
5745
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5747
5746
  paymentChannel: string;
5747
+ cpOrderId: string;
5748
5748
  };
5749
5749
  params: {};
5750
5750
  query: {};
@@ -5757,13 +5757,13 @@ export declare const app: Elysia<"", {
5757
5757
  updatedAt: string;
5758
5758
  deletedAt: string | null;
5759
5759
  oldId: number | null;
5760
- description: string | null;
5761
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5760
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5762
5761
  amount: number;
5763
- cpOrderId: string;
5764
- paymentPackageId: string | null;
5765
5762
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5766
5763
  paymentChannel: string;
5764
+ description: string | null;
5765
+ cpOrderId: string;
5766
+ paymentPackageId: string | null;
5767
5767
  invoiceNumber: string | null;
5768
5768
  };
5769
5769
  400: string;
@@ -5819,11 +5819,11 @@ export declare const app: Elysia<"", {
5819
5819
  oldId?: number | null | undefined;
5820
5820
  description?: string | null | undefined;
5821
5821
  paymentPackageId?: string | null | undefined;
5822
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5822
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5823
5823
  amount: number;
5824
- cpOrderId: string;
5825
5824
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5826
5825
  paymentChannel: string;
5826
+ cpOrderId: string;
5827
5827
  };
5828
5828
  params: {};
5829
5829
  query: {};
@@ -5836,13 +5836,13 @@ export declare const app: Elysia<"", {
5836
5836
  updatedAt: string;
5837
5837
  deletedAt: string | null;
5838
5838
  oldId: number | null;
5839
- description: string | null;
5840
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
5839
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5841
5840
  amount: number;
5842
- cpOrderId: string;
5843
- paymentPackageId: string | null;
5844
5841
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5845
5842
  paymentChannel: string;
5843
+ description: string | null;
5844
+ cpOrderId: string;
5845
+ paymentPackageId: string | null;
5846
5846
  invoiceNumber: string | null;
5847
5847
  };
5848
5848
  400: string;
@@ -5861,6 +5861,71 @@ export declare const app: Elysia<"", {
5861
5861
  };
5862
5862
  };
5863
5863
  };
5864
+ } & {
5865
+ payment: {
5866
+ "pocket-data": {
5867
+ get: {
5868
+ body: unknown;
5869
+ params: {};
5870
+ query: {
5871
+ date?: string | undefined;
5872
+ companyId?: string | undefined;
5873
+ };
5874
+ headers: unknown;
5875
+ response: {
5876
+ 200: {
5877
+ payments: {
5878
+ cp_order: {
5879
+ companyId: string;
5880
+ companyBranchId: string;
5881
+ customerId: string | null;
5882
+ vehicleId: string | null;
5883
+ orderId: string;
5884
+ state: "CREATED" | "PROGRESSING" | "COMPLETE";
5885
+ isNoat: boolean | null;
5886
+ timeCompleted: string | null;
5887
+ km: number;
5888
+ type: "Service" | "ProductSell";
5889
+ description: string | null;
5890
+ id: string;
5891
+ createdAt: string;
5892
+ updatedAt: string;
5893
+ deletedAt: string | null;
5894
+ oldId: number | null;
5895
+ };
5896
+ cp_order_payment: {
5897
+ cpOrderId: string;
5898
+ paymentPackageId: string | null;
5899
+ paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
5900
+ paymentChannel: string;
5901
+ amount: number;
5902
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
5903
+ invoiceNumber: string | null;
5904
+ description: string | null;
5905
+ id: string;
5906
+ createdAt: string;
5907
+ updatedAt: string;
5908
+ deletedAt: string | null;
5909
+ oldId: number | null;
5910
+ };
5911
+ }[];
5912
+ totalAmount: string | number;
5913
+ };
5914
+ 401: "Токен олдсонгүй";
5915
+ 403: "Хандах эрхгүй байна.";
5916
+ 422: {
5917
+ type: "validation";
5918
+ on: string;
5919
+ summary?: string;
5920
+ message?: string;
5921
+ found?: unknown;
5922
+ property?: string;
5923
+ expected?: string;
5924
+ };
5925
+ };
5926
+ };
5927
+ };
5928
+ };
5864
5929
  } & {
5865
5930
  payment: {
5866
5931
  info: {
@@ -5871,6 +5936,21 @@ export declare const app: Elysia<"", {
5871
5936
  headers: unknown;
5872
5937
  response: {
5873
5938
  200: {
5939
+ payment: {
5940
+ accessToken: string | null;
5941
+ refreshToken: string | null;
5942
+ companyId: string;
5943
+ expiresIn: number | null;
5944
+ refreshExpiresIn: number | null;
5945
+ branchId: string | null;
5946
+ type: "StorePay" | "Qpay" | "MinuPos" | "UbPay";
5947
+ sub: unknown;
5948
+ id: string;
5949
+ createdAt: string;
5950
+ updatedAt: string;
5951
+ deletedAt: string | null;
5952
+ oldId: number | null;
5953
+ };
5874
5954
  company: {
5875
5955
  name: string;
5876
5956
  regNumber: string;
@@ -5921,21 +6001,6 @@ export declare const app: Elysia<"", {
5921
6001
  deletedAt: string | null;
5922
6002
  oldId: number | null;
5923
6003
  } | null;
5924
- payment: {
5925
- accessToken: string | null;
5926
- refreshToken: string | null;
5927
- companyId: string;
5928
- expiresIn: number | null;
5929
- refreshExpiresIn: number | null;
5930
- branchId: string | null;
5931
- type: "StorePay" | "Qpay" | "MinuPos" | "UbPay";
5932
- sub: unknown;
5933
- id: string;
5934
- createdAt: string;
5935
- updatedAt: string;
5936
- deletedAt: string | null;
5937
- oldId: number | null;
5938
- };
5939
6004
  }[];
5940
6005
  401: "Токен олдсонгүй";
5941
6006
  403: "Хандах эрхгүй байна.";
@@ -6317,11 +6382,11 @@ export declare const app: Elysia<"", {
6317
6382
  companyId: string;
6318
6383
  deletedAt: string | null;
6319
6384
  oldId: number | null;
6320
- description: string | null;
6385
+ customerId: string | null;
6321
6386
  state: "CREATED" | "PROGRESSING" | "COMPLETE";
6387
+ description: string | null;
6322
6388
  isNoat: boolean | null;
6323
6389
  companyBranchId: string;
6324
- customerId: string | null;
6325
6390
  vehicleId: string | null;
6326
6391
  km: number;
6327
6392
  orderId: string;
@@ -6347,8 +6412,8 @@ export declare const app: Elysia<"", {
6347
6412
  post: {
6348
6413
  body: {
6349
6414
  warehouseId?: string | undefined;
6350
- spPackageId: string;
6351
6415
  quantity: number;
6416
+ spPackageId: string;
6352
6417
  cpOrderId: string;
6353
6418
  };
6354
6419
  params: {};
@@ -6467,11 +6532,11 @@ export declare const app: Elysia<"", {
6467
6532
  createdAt?: string | undefined;
6468
6533
  companyId?: string | undefined;
6469
6534
  oldId?: number | null | undefined;
6470
- description?: string | null | undefined;
6535
+ customerId?: string | null | undefined;
6471
6536
  state?: "CREATED" | "PROGRESSING" | "COMPLETE" | undefined;
6537
+ description?: string | null | undefined;
6472
6538
  isNoat?: boolean | null | undefined;
6473
6539
  companyBranchId?: string | undefined;
6474
- customerId?: string | null | undefined;
6475
6540
  vehicleId?: string | null | undefined;
6476
6541
  km?: number | undefined;
6477
6542
  orderId?: string | undefined;
@@ -6562,7 +6627,7 @@ export declare const app: Elysia<"", {
6562
6627
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
6563
6628
  paymentChannel: string;
6564
6629
  amount: number;
6565
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
6630
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
6566
6631
  invoiceNumber: string | null;
6567
6632
  description: string | null;
6568
6633
  id: string;
@@ -6700,10 +6765,10 @@ export declare const app: Elysia<"", {
6700
6765
  body: {
6701
6766
  oldId?: number | null | undefined;
6702
6767
  priceTotal?: number | undefined;
6703
- spPackageId: string;
6704
- kindId: string;
6705
6768
  quantity: number;
6706
6769
  priceUnit: number;
6770
+ spPackageId: string;
6771
+ kindId: string;
6707
6772
  };
6708
6773
  params: {};
6709
6774
  query: unknown;
@@ -6716,10 +6781,10 @@ export declare const app: Elysia<"", {
6716
6781
  deletedAt: string | null;
6717
6782
  oldId: number | null;
6718
6783
  priceTotal: number;
6719
- spPackageId: string;
6720
- kindId: string;
6721
6784
  quantity: number;
6722
6785
  priceUnit: number;
6786
+ spPackageId: string;
6787
+ kindId: string;
6723
6788
  };
6724
6789
  401: "Токен олдсонгүй";
6725
6790
  422: {
@@ -6741,10 +6806,10 @@ export declare const app: Elysia<"", {
6741
6806
  body: {
6742
6807
  oldId?: number | null | undefined;
6743
6808
  priceTotal?: number | undefined;
6744
- spPackageId: string;
6745
- kindId: string;
6746
6809
  quantity: number;
6747
6810
  priceUnit: number;
6811
+ spPackageId: string;
6812
+ kindId: string;
6748
6813
  }[];
6749
6814
  params: {};
6750
6815
  query: unknown;
@@ -6772,10 +6837,10 @@ export declare const app: Elysia<"", {
6772
6837
  body: {
6773
6838
  oldId?: number | null | undefined;
6774
6839
  priceTotal?: number | undefined;
6775
- spPackageId?: string | undefined;
6776
- kindId?: string | undefined;
6777
6840
  quantity?: number | undefined;
6778
6841
  priceUnit?: number | undefined;
6842
+ spPackageId?: string | undefined;
6843
+ kindId?: string | undefined;
6779
6844
  };
6780
6845
  params: {
6781
6846
  id: string;
@@ -6899,9 +6964,9 @@ export declare const app: Elysia<"", {
6899
6964
  post: {
6900
6965
  body: {
6901
6966
  oldId?: number | null | undefined;
6902
- spPackageId: string;
6903
6967
  quantity: number;
6904
6968
  priceUnit: number;
6969
+ spPackageId: string;
6905
6970
  companyProductId: string;
6906
6971
  };
6907
6972
  params: {};
@@ -6915,9 +6980,9 @@ export declare const app: Elysia<"", {
6915
6980
  deletedAt: string | null;
6916
6981
  oldId: number | null;
6917
6982
  priceTotal: number;
6918
- spPackageId: string;
6919
6983
  quantity: number;
6920
6984
  priceUnit: number;
6985
+ spPackageId: string;
6921
6986
  companyProductId: string;
6922
6987
  };
6923
6988
  401: "Токен олдсонгүй";
@@ -6939,9 +7004,9 @@ export declare const app: Elysia<"", {
6939
7004
  post: {
6940
7005
  body: {
6941
7006
  oldId?: number | null | undefined;
6942
- spPackageId: string;
6943
7007
  quantity: number;
6944
7008
  priceUnit: number;
7009
+ spPackageId: string;
6945
7010
  companyProductId: string;
6946
7011
  }[];
6947
7012
  params: {};
@@ -6970,9 +7035,9 @@ export declare const app: Elysia<"", {
6970
7035
  body: {
6971
7036
  oldId?: number | null | undefined;
6972
7037
  priceTotal?: number | undefined;
6973
- spPackageId?: string | undefined;
6974
7038
  quantity?: number | undefined;
6975
7039
  priceUnit?: number | undefined;
7040
+ spPackageId?: string | undefined;
6976
7041
  companyProductId?: string | undefined;
6977
7042
  };
6978
7043
  params: {
@@ -7042,8 +7107,8 @@ export declare const app: Elysia<"", {
7042
7107
  query: {
7043
7108
  name?: string | undefined;
7044
7109
  id?: string | undefined;
7045
- companyBranchId?: string | null | undefined;
7046
7110
  priceTotal?: number | undefined;
7111
+ companyBranchId?: string | null | undefined;
7047
7112
  pagination: {
7048
7113
  size: number;
7049
7114
  page: number;
@@ -7108,9 +7173,9 @@ export declare const app: Elysia<"", {
7108
7173
  post: {
7109
7174
  body: {
7110
7175
  oldId?: number | null | undefined;
7176
+ priceTotal?: number | undefined;
7111
7177
  description?: string | null | undefined;
7112
7178
  companyBranchId?: string | null | undefined;
7113
- priceTotal?: number | undefined;
7114
7179
  name: string;
7115
7180
  };
7116
7181
  params: {};
@@ -7125,9 +7190,9 @@ export declare const app: Elysia<"", {
7125
7190
  companyId: string;
7126
7191
  deletedAt: string | null;
7127
7192
  oldId: number | null;
7193
+ priceTotal: number;
7128
7194
  description: string | null;
7129
7195
  companyBranchId: string | null;
7130
- priceTotal: number;
7131
7196
  };
7132
7197
  401: "Токен олдсонгүй";
7133
7198
  422: {
@@ -7149,9 +7214,9 @@ export declare const app: Elysia<"", {
7149
7214
  body: {
7150
7215
  name?: string | undefined;
7151
7216
  oldId?: number | null | undefined;
7217
+ priceTotal?: number | undefined;
7152
7218
  description?: string | null | undefined;
7153
7219
  companyBranchId?: string | null | undefined;
7154
- priceTotal?: number | undefined;
7155
7220
  };
7156
7221
  params: {
7157
7222
  id: string;
@@ -8252,9 +8317,9 @@ export declare const app: Elysia<"", {
8252
8317
  companyId: string;
8253
8318
  deletedAt: string | null;
8254
8319
  oldId: number | null;
8255
- description: string | null;
8256
8320
  state: "CREATED" | "ACTIVE" | "ARCHIVED";
8257
8321
  amount: number;
8322
+ description: string | null;
8258
8323
  applyType: "ORDER" | "ITEM";
8259
8324
  discountType: "PERCENTAGE" | "FIXED";
8260
8325
  };
@@ -8288,9 +8353,9 @@ export declare const app: Elysia<"", {
8288
8353
  post: {
8289
8354
  body: {
8290
8355
  oldId?: number | null | undefined;
8291
- description?: string | null | undefined;
8292
8356
  state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
8293
8357
  amount?: number | undefined;
8358
+ description?: string | null | undefined;
8294
8359
  name: string;
8295
8360
  companyId: string;
8296
8361
  applyType: "ORDER" | "ITEM";
@@ -8308,9 +8373,9 @@ export declare const app: Elysia<"", {
8308
8373
  companyId: string;
8309
8374
  deletedAt: string | null;
8310
8375
  oldId: number | null;
8311
- description: string | null;
8312
8376
  state: "CREATED" | "ACTIVE" | "ARCHIVED";
8313
8377
  amount: number;
8378
+ description: string | null;
8314
8379
  applyType: "ORDER" | "ITEM";
8315
8380
  discountType: "PERCENTAGE" | "FIXED";
8316
8381
  };
@@ -8335,9 +8400,9 @@ export declare const app: Elysia<"", {
8335
8400
  name?: string | undefined;
8336
8401
  companyId?: string | undefined;
8337
8402
  oldId?: number | null | undefined;
8338
- description?: string | null | undefined;
8339
8403
  state?: "CREATED" | "ACTIVE" | "ARCHIVED" | undefined;
8340
8404
  amount?: number | undefined;
8405
+ description?: string | null | undefined;
8341
8406
  applyType?: "ORDER" | "ITEM" | undefined;
8342
8407
  discountType?: "PERCENTAGE" | "FIXED" | undefined;
8343
8408
  };
@@ -8395,9 +8460,9 @@ export declare const app: Elysia<"", {
8395
8460
  companyId: string;
8396
8461
  deletedAt: string | null;
8397
8462
  oldId: number | null;
8398
- description: string | null;
8399
8463
  state: "CREATED" | "ACTIVE" | "ARCHIVED";
8400
8464
  amount: number;
8465
+ description: string | null;
8401
8466
  applyType: "ORDER" | "ITEM";
8402
8467
  discountType: "PERCENTAGE" | "FIXED";
8403
8468
  };
@@ -8595,8 +8660,8 @@ export declare const app: Elysia<"", {
8595
8660
  employeeId: string;
8596
8661
  deletedAt: string | null;
8597
8662
  oldId: number | null;
8598
- authUserId: string;
8599
8663
  note: string | null;
8664
+ authUserId: string;
8600
8665
  cpOrderId: string;
8601
8666
  cpOrderItemId: string | null;
8602
8667
  discountId: string | null;
@@ -8627,8 +8692,8 @@ export declare const app: Elysia<"", {
8627
8692
  body: {
8628
8693
  employeeId?: string | undefined;
8629
8694
  oldId?: number | null | undefined;
8630
- authUserId?: string | undefined;
8631
8695
  note?: string | null | undefined;
8696
+ authUserId?: string | undefined;
8632
8697
  cpOrderId?: string | undefined;
8633
8698
  cpOrderItemId?: string | null | undefined;
8634
8699
  discountId?: string | null | undefined;
@@ -8744,7 +8809,7 @@ export declare const app: Elysia<"", {
8744
8809
  }[] | null;
8745
8810
  createdAt: string;
8746
8811
  expireAt: Date;
8747
- status: "CANCELLED" | "CREATED" | "APPROVED";
8812
+ status: "CANCELLED" | "APPROVED" | "CREATED";
8748
8813
  };
8749
8814
  }[];
8750
8815
  422: {
@@ -8768,7 +8833,7 @@ export declare const app: Elysia<"", {
8768
8833
  query: {
8769
8834
  search?: string | undefined;
8770
8835
  licensePlate?: string | undefined;
8771
- status?: "CANCELLED" | "CREATED" | "APPROVED" | undefined;
8836
+ status?: "CANCELLED" | "APPROVED" | "CREATED" | undefined;
8772
8837
  pagination: {
8773
8838
  size: number;
8774
8839
  page: number;
@@ -8798,7 +8863,7 @@ export declare const app: Elysia<"", {
8798
8863
  rank: string | null;
8799
8864
  licensePlate: string;
8800
8865
  description: string | null;
8801
- status: "CANCELLED" | "CREATED" | "APPROVED";
8866
+ status: "CANCELLED" | "APPROVED" | "CREATED";
8802
8867
  id: string;
8803
8868
  createdAt: string;
8804
8869
  updatedAt: string;
@@ -8882,7 +8947,7 @@ export declare const app: Elysia<"", {
8882
8947
  description: string | null;
8883
8948
  vehicleId: string;
8884
8949
  licensePlate: string;
8885
- status: "CANCELLED" | "CREATED" | "APPROVED";
8950
+ status: "CANCELLED" | "APPROVED" | "CREATED";
8886
8951
  inspection: {
8887
8952
  type: string;
8888
8953
  values: {
@@ -8955,7 +9020,7 @@ export declare const app: Elysia<"", {
8955
9020
  }[] | null;
8956
9021
  createdAt: string;
8957
9022
  expireAt: Date;
8958
- status: "CANCELLED" | "CREATED" | "APPROVED";
9023
+ status: "CANCELLED" | "APPROVED" | "CREATED";
8959
9024
  };
8960
9025
  totalCount: number;
8961
9026
  }[];
@@ -9004,7 +9069,7 @@ export declare const app: Elysia<"", {
9004
9069
  rank: string | null;
9005
9070
  licensePlate: string;
9006
9071
  description: string | null;
9007
- status: "CANCELLED" | "CREATED" | "APPROVED";
9072
+ status: "CANCELLED" | "APPROVED" | "CREATED";
9008
9073
  id: string;
9009
9074
  createdAt: string;
9010
9075
  updatedAt: string;
@@ -9081,7 +9146,7 @@ export declare const app: Elysia<"", {
9081
9146
  rank: string | null;
9082
9147
  licensePlate: string;
9083
9148
  description: string | null;
9084
- status: "CANCELLED" | "CREATED" | "APPROVED";
9149
+ status: "CANCELLED" | "APPROVED" | "CREATED";
9085
9150
  id: string;
9086
9151
  createdAt: string;
9087
9152
  updatedAt: string;
@@ -9144,7 +9209,7 @@ export declare const app: Elysia<"", {
9144
9209
  rank: string | null;
9145
9210
  licensePlate: string;
9146
9211
  description: string | null;
9147
- status: "CANCELLED" | "CREATED" | "APPROVED";
9212
+ status: "CANCELLED" | "APPROVED" | "CREATED";
9148
9213
  id: string;
9149
9214
  createdAt: string;
9150
9215
  updatedAt: string;
@@ -9437,8 +9502,8 @@ export declare const app: Elysia<"", {
9437
9502
  body: unknown;
9438
9503
  params: {};
9439
9504
  query: {
9440
- method?: string | undefined;
9441
9505
  state?: string | undefined;
9506
+ method?: string | undefined;
9442
9507
  companyBranchId?: string | undefined;
9443
9508
  startDate?: string | undefined;
9444
9509
  endDate?: string | undefined;
@@ -9457,7 +9522,7 @@ export declare const app: Elysia<"", {
9457
9522
  paymentMethod: "CASH" | "BANK_TRANSFER" | "POS_TERMINAL" | "PAYMENT_PACKAGE" | "CARD";
9458
9523
  paymentChannel: string;
9459
9524
  amount: number;
9460
- state: "PENDING" | "FAILED" | "PAID" | "NOT_PAID" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
9525
+ state: "PENDING" | "EXPIRED" | "PAID" | "FAILED" | "REFUNDED" | "NOT_PAID" | "DECLINED" | "CANCELED" | "REFUNDING";
9461
9526
  invoiceNumber: string | null;
9462
9527
  description: string | null;
9463
9528
  id: string;
@@ -9521,8 +9586,8 @@ export declare const app: Elysia<"", {
9521
9586
  params: {};
9522
9587
  query: {
9523
9588
  employeeId?: string | undefined;
9524
- method?: string | undefined;
9525
9589
  state?: "CREATED" | "PROGRESSING" | "COMPLETE" | undefined;
9590
+ method?: string | undefined;
9526
9591
  companyBranchId?: string | undefined;
9527
9592
  limit?: number | undefined;
9528
9593
  startDate?: string | undefined;
@@ -9621,8 +9686,8 @@ export declare const app: Elysia<"", {
9621
9686
  params: {};
9622
9687
  query: {
9623
9688
  employeeId?: string | undefined;
9624
- method?: string | undefined;
9625
9689
  state?: "CREATED" | "PROGRESSING" | "COMPLETE" | undefined;
9690
+ method?: string | undefined;
9626
9691
  companyBranchId?: string | undefined;
9627
9692
  limit?: number | undefined;
9628
9693
  startDate?: string | undefined;
@@ -9656,8 +9721,8 @@ export declare const app: Elysia<"", {
9656
9721
  params: {};
9657
9722
  query: {
9658
9723
  employeeId?: string | undefined;
9659
- method?: string | undefined;
9660
9724
  state?: "CREATED" | "PROGRESSING" | "COMPLETE" | undefined;
9725
+ method?: string | undefined;
9661
9726
  companyBranchId?: string | undefined;
9662
9727
  limit?: number | undefined;
9663
9728
  startDate?: string | undefined;
@@ -9691,9 +9756,9 @@ export declare const app: Elysia<"", {
9691
9756
  type?: "Service" | "Product" | undefined;
9692
9757
  branchId?: string | undefined;
9693
9758
  employeeId?: string | undefined;
9759
+ partNumber?: string | undefined;
9694
9760
  phoneNumber?: string | undefined;
9695
9761
  licensePlate?: string | undefined;
9696
- partNumber?: string | undefined;
9697
9762
  productName?: string | undefined;
9698
9763
  startDate?: string | undefined;
9699
9764
  endDate?: string | undefined;
@@ -11602,7 +11667,7 @@ export declare const app: Elysia<"", {
11602
11667
  params: {};
11603
11668
  query: {
11604
11669
  id?: string | undefined;
11605
- state?: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED" | undefined;
11670
+ state?: "COMPLETED" | "CREATED" | "SCHEDULED" | "IN_PROGRESS" | undefined;
11606
11671
  templateId?: string | undefined;
11607
11672
  machineId?: string | undefined;
11608
11673
  stateResult?: "FAILED" | "NOT_INSPECTED" | "PASSED" | "RETURNED" | "WAIVED" | undefined;
@@ -11626,7 +11691,7 @@ export declare const app: Elysia<"", {
11626
11691
  userInspectedId: string;
11627
11692
  hours: number | null;
11628
11693
  mileageKm: number | null;
11629
- state: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED";
11694
+ state: "COMPLETED" | "CREATED" | "SCHEDULED" | "IN_PROGRESS";
11630
11695
  stateResult: "FAILED" | "NOT_INSPECTED" | "PASSED" | "RETURNED" | "WAIVED" | null;
11631
11696
  timeScheduled: Date | null;
11632
11697
  timeCompleted: Date | null;
@@ -11689,7 +11754,7 @@ export declare const app: Elysia<"", {
11689
11754
  post: {
11690
11755
  body: {
11691
11756
  oldId?: number | null | undefined;
11692
- state?: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED" | undefined;
11757
+ state?: "COMPLETED" | "CREATED" | "SCHEDULED" | "IN_PROGRESS" | undefined;
11693
11758
  note?: string | null | undefined;
11694
11759
  timeCompleted?: Date | null | undefined;
11695
11760
  hours?: number | null | undefined;
@@ -11723,7 +11788,7 @@ export declare const app: Elysia<"", {
11723
11788
  put: {
11724
11789
  body: {
11725
11790
  oldId?: number | null | undefined;
11726
- state?: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED" | undefined;
11791
+ state?: "COMPLETED" | "CREATED" | "SCHEDULED" | "IN_PROGRESS" | undefined;
11727
11792
  note?: string | null | undefined;
11728
11793
  timeCompleted?: Date | null | undefined;
11729
11794
  templateId?: string | undefined;
@@ -11748,7 +11813,7 @@ export declare const app: Elysia<"", {
11748
11813
  userInspectedId: string;
11749
11814
  hours: number | null;
11750
11815
  mileageKm: number | null;
11751
- state: "CREATED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED";
11816
+ state: "COMPLETED" | "CREATED" | "SCHEDULED" | "IN_PROGRESS";
11752
11817
  stateResult: "FAILED" | "NOT_INSPECTED" | "PASSED" | "RETURNED" | "WAIVED" | null;
11753
11818
  timeScheduled: Date | null;
11754
11819
  timeCompleted: Date | null;
@@ -11886,8 +11951,8 @@ export declare const app: Elysia<"", {
11886
11951
  put: {
11887
11952
  body: {
11888
11953
  oldId?: number | null | undefined;
11889
- quantity?: number | null | undefined;
11890
11954
  uomId?: string | undefined;
11955
+ quantity?: number | null | undefined;
11891
11956
  pmTemplateId?: string | undefined;
11892
11957
  productKindId?: string | undefined;
11893
11958
  };
@@ -12038,9 +12103,9 @@ export declare const app: Elysia<"", {
12038
12103
  description?: string | null | undefined;
12039
12104
  operationAmount?: number | null | undefined;
12040
12105
  name: string;
12106
+ uomId: string;
12041
12107
  serviceKindId: string;
12042
12108
  machineKindId: string;
12043
- uomId: string;
12044
12109
  };
12045
12110
  params: {};
12046
12111
  query: unknown;
@@ -12068,11 +12133,11 @@ export declare const app: Elysia<"", {
12068
12133
  name?: string | undefined;
12069
12134
  companyId?: string | null | undefined;
12070
12135
  oldId?: number | null | undefined;
12136
+ uomId?: string | undefined;
12071
12137
  description?: string | null | undefined;
12072
12138
  serviceKindId?: string | undefined;
12073
12139
  machineKindId?: string | undefined;
12074
12140
  operationAmount?: number | null | undefined;
12075
- uomId?: string | undefined;
12076
12141
  };
12077
12142
  params: {
12078
12143
  id: string;
@@ -12428,8 +12493,8 @@ export declare const app: Elysia<"", {
12428
12493
  updatedAt: string;
12429
12494
  deletedAt: string | null;
12430
12495
  oldId: number | null;
12431
- quantity: number | null;
12432
12496
  uomId: string;
12497
+ quantity: number | null;
12433
12498
  productKindId: string;
12434
12499
  pmPlanId: string;
12435
12500
  pmQuantity: string | null;
@@ -12455,8 +12520,8 @@ export declare const app: Elysia<"", {
12455
12520
  put: {
12456
12521
  body: {
12457
12522
  oldId?: number | null | undefined;
12458
- quantity?: number | null | undefined;
12459
12523
  uomId?: string | undefined;
12524
+ quantity?: number | null | undefined;
12460
12525
  productKindId?: string | undefined;
12461
12526
  pmPlanId?: string | undefined;
12462
12527
  pmQuantity?: string | null | undefined;
@@ -12587,9 +12652,9 @@ export declare const app: Elysia<"", {
12587
12652
  name?: string | undefined;
12588
12653
  companyId?: string | undefined;
12589
12654
  oldId?: number | null | undefined;
12590
- description?: string | null | undefined;
12591
12655
  dateStart?: Date | null | undefined;
12592
12656
  dateEnd?: Date | null | undefined;
12657
+ description?: string | null | undefined;
12593
12658
  };
12594
12659
  params: {
12595
12660
  id: string;
@@ -13051,8 +13116,8 @@ export declare const app: Elysia<"", {
13051
13116
  body: {
13052
13117
  oldId?: number | null | undefined;
13053
13118
  state?: string | undefined;
13054
- serviceKindId?: string | undefined;
13055
13119
  note?: string | null | undefined;
13120
+ serviceKindId?: string | undefined;
13056
13121
  timeCompleted?: Date | null | undefined;
13057
13122
  machineId?: string | undefined;
13058
13123
  pmPlanId?: string | null | undefined;
@@ -13142,7 +13207,7 @@ export declare const app: Elysia<"", {
13142
13207
  companyServiceKindId: string | null;
13143
13208
  description: string | null;
13144
13209
  manHour: number | null;
13145
- state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
13210
+ state: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED";
13146
13211
  id: string;
13147
13212
  createdAt: string;
13148
13213
  updatedAt: string;
@@ -13221,8 +13286,8 @@ export declare const app: Elysia<"", {
13221
13286
  post: {
13222
13287
  body: {
13223
13288
  oldId?: number | null | undefined;
13289
+ state?: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED" | undefined;
13224
13290
  description?: string | null | undefined;
13225
- state?: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED" | undefined;
13226
13291
  serviceKindId?: string | null | undefined;
13227
13292
  companyServiceKindId?: string | null | undefined;
13228
13293
  templateId?: string | null | undefined;
@@ -13242,8 +13307,8 @@ export declare const app: Elysia<"", {
13242
13307
  updatedAt: string;
13243
13308
  deletedAt: string | null;
13244
13309
  oldId: number | null;
13310
+ state: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED";
13245
13311
  description: string | null;
13246
- state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
13247
13312
  serviceKindId: string | null;
13248
13313
  companyServiceKindId: string | null;
13249
13314
  templateId: string | null;
@@ -13272,8 +13337,8 @@ export declare const app: Elysia<"", {
13272
13337
  put: {
13273
13338
  body: {
13274
13339
  oldId?: number | null | undefined;
13340
+ state?: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED" | undefined;
13275
13341
  description?: string | null | undefined;
13276
- state?: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED" | undefined;
13277
13342
  serviceKindId?: string | null | undefined;
13278
13343
  companyServiceKindId?: string | null | undefined;
13279
13344
  templateId?: string | null | undefined;
@@ -13351,7 +13416,7 @@ export declare const app: Elysia<"", {
13351
13416
  sourceType: string | null;
13352
13417
  type: "CORRECTIVE" | "PREVENTIVE";
13353
13418
  priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
13354
- state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
13419
+ state: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED";
13355
13420
  dateClosed: Date | null;
13356
13421
  id: string;
13357
13422
  createdAt: string;
@@ -13408,7 +13473,7 @@ export declare const app: Elysia<"", {
13408
13473
  post: {
13409
13474
  body: {
13410
13475
  oldId?: number | null | undefined;
13411
- state?: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED" | undefined;
13476
+ state?: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED" | undefined;
13412
13477
  sourceType?: string | null | undefined;
13413
13478
  dateClosed?: Date | null | undefined;
13414
13479
  type: "CORRECTIVE" | "PREVENTIVE";
@@ -13426,7 +13491,7 @@ export declare const app: Elysia<"", {
13426
13491
  updatedAt: string;
13427
13492
  deletedAt: string | null;
13428
13493
  oldId: number | null;
13429
- state: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED";
13494
+ state: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED";
13430
13495
  machineId: string;
13431
13496
  sourceType: string | null;
13432
13497
  priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED";
@@ -13452,7 +13517,7 @@ export declare const app: Elysia<"", {
13452
13517
  body: {
13453
13518
  type?: "CORRECTIVE" | "PREVENTIVE" | undefined;
13454
13519
  oldId?: number | null | undefined;
13455
- state?: "IN_PROGRESS" | "COMPLETED" | "OPEN" | "CLOSED" | undefined;
13520
+ state?: "COMPLETED" | "IN_PROGRESS" | "OPEN" | "CLOSED" | undefined;
13456
13521
  machineId?: string | undefined;
13457
13522
  sourceType?: string | null | undefined;
13458
13523
  priority?: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "PLANNED" | undefined;
@@ -14537,9 +14602,9 @@ export declare const app: Elysia<"", {
14537
14602
  body: unknown;
14538
14603
  params: {};
14539
14604
  query: {
14605
+ state?: "DELIVERED" | "PENDING" | "FAILED" | "SENT" | "READ" | undefined;
14540
14606
  nmNotificationId?: string | undefined;
14541
14607
  nmDeviceId?: string | undefined;
14542
- state?: "PENDING" | "SENT" | "DELIVERED" | "FAILED" | "READ" | undefined;
14543
14608
  pagination: {
14544
14609
  size: number;
14545
14610
  page: number;
@@ -14555,7 +14620,7 @@ export declare const app: Elysia<"", {
14555
14620
  nmNotificationId: string;
14556
14621
  nmDeviceId: string;
14557
14622
  providerMessageId: string;
14558
- state: "PENDING" | "SENT" | "DELIVERED" | "FAILED" | "READ";
14623
+ state: "DELIVERED" | "PENDING" | "FAILED" | "SENT" | "READ";
14559
14624
  timeSent: string | null;
14560
14625
  timeDelivered: string | null;
14561
14626
  timeRead: string | null;
@@ -14624,7 +14689,7 @@ export declare const app: Elysia<"", {
14624
14689
  nmNotificationId: string;
14625
14690
  nmDeviceId: string;
14626
14691
  providerMessageId: string;
14627
- state: "PENDING" | "SENT" | "DELIVERED" | "FAILED" | "READ";
14692
+ state: "DELIVERED" | "PENDING" | "FAILED" | "SENT" | "READ";
14628
14693
  timeSent: string | null;
14629
14694
  timeDelivered: string | null;
14630
14695
  timeRead: string | null;