autosync_backend2 1.0.84 → 1.0.85
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 +47 -16
- package/dist/index.js +73125 -4243
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare const app: Elysia<"", {
|
|
|
9
9
|
};
|
|
10
10
|
store: {};
|
|
11
11
|
derive: {
|
|
12
|
-
readonly log: import("
|
|
12
|
+
readonly log: import("@bogeychan/elysia-logger").pino.Logger<never, boolean>;
|
|
13
13
|
};
|
|
14
14
|
resolve: {};
|
|
15
15
|
} | {
|
|
@@ -95,7 +95,6 @@ declare const app: Elysia<"", {
|
|
|
95
95
|
warehouseId: import("@sinclair/typebox").TString;
|
|
96
96
|
}>;
|
|
97
97
|
readonly "WarehouseItemModel.update": import("@sinclair/typebox").TObject<{
|
|
98
|
-
quantity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
99
98
|
safetyStock: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
100
99
|
shelfNumber: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
101
100
|
productId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -478,7 +477,6 @@ declare const app: Elysia<"", {
|
|
|
478
477
|
warehouseId: import("@sinclair/typebox").TString;
|
|
479
478
|
}>;
|
|
480
479
|
readonly "WarehouseItemModel.update": import("@sinclair/typebox").TObject<{
|
|
481
|
-
quantity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
482
480
|
safetyStock: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
483
481
|
shelfNumber: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
484
482
|
productId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -811,10 +809,10 @@ declare const app: Elysia<"", {
|
|
|
811
809
|
params: Record<string, string>;
|
|
812
810
|
headers: Record<string, string | undefined>;
|
|
813
811
|
cookie: Record<string, import("elysia").Cookie<string | undefined>>;
|
|
814
|
-
server:
|
|
812
|
+
server: import("elysia/dist/universal/server").Server | null;
|
|
815
813
|
redirect: import("elysia").redirect;
|
|
816
814
|
set: {
|
|
817
|
-
headers: import("elysia
|
|
815
|
+
headers: import("elysia").HTTPHeaders;
|
|
818
816
|
status?: number | keyof import("elysia").StatusMap;
|
|
819
817
|
redirect?: string;
|
|
820
818
|
cookie?: Record<string, import("elysia/dist/cookies").ElysiaCookie>;
|
|
@@ -1101,10 +1099,10 @@ declare const app: Elysia<"", {
|
|
|
1101
1099
|
params: Record<string, string>;
|
|
1102
1100
|
headers: Record<string, string | undefined>;
|
|
1103
1101
|
cookie: Record<string, import("elysia").Cookie<string | undefined>>;
|
|
1104
|
-
server:
|
|
1102
|
+
server: import("elysia/dist/universal/server").Server | null;
|
|
1105
1103
|
redirect: import("elysia").redirect;
|
|
1106
1104
|
set: {
|
|
1107
|
-
headers: import("elysia
|
|
1105
|
+
headers: import("elysia").HTTPHeaders;
|
|
1108
1106
|
status?: number | keyof import("elysia").StatusMap;
|
|
1109
1107
|
redirect?: string;
|
|
1110
1108
|
cookie?: Record<string, import("elysia/dist/cookies").ElysiaCookie>;
|
|
@@ -1391,10 +1389,10 @@ declare const app: Elysia<"", {
|
|
|
1391
1389
|
params: Record<string, string>;
|
|
1392
1390
|
headers: Record<string, string | undefined>;
|
|
1393
1391
|
cookie: Record<string, import("elysia").Cookie<string | undefined>>;
|
|
1394
|
-
server:
|
|
1392
|
+
server: import("elysia/dist/universal/server").Server | null;
|
|
1395
1393
|
redirect: import("elysia").redirect;
|
|
1396
1394
|
set: {
|
|
1397
|
-
headers: import("elysia
|
|
1395
|
+
headers: import("elysia").HTTPHeaders;
|
|
1398
1396
|
status?: number | keyof import("elysia").StatusMap;
|
|
1399
1397
|
redirect?: string;
|
|
1400
1398
|
cookie?: Record<string, import("elysia/dist/cookies").ElysiaCookie>;
|
|
@@ -1678,10 +1676,10 @@ declare const app: Elysia<"", {
|
|
|
1678
1676
|
params: Record<string, string>;
|
|
1679
1677
|
headers: Record<string, string | undefined>;
|
|
1680
1678
|
cookie: Record<string, import("elysia").Cookie<string | undefined>>;
|
|
1681
|
-
server:
|
|
1679
|
+
server: import("elysia/dist/universal/server").Server | null;
|
|
1682
1680
|
redirect: import("elysia").redirect;
|
|
1683
1681
|
set: {
|
|
1684
|
-
headers: import("elysia
|
|
1682
|
+
headers: import("elysia").HTTPHeaders;
|
|
1685
1683
|
status?: number | keyof import("elysia").StatusMap;
|
|
1686
1684
|
redirect?: string;
|
|
1687
1685
|
cookie?: Record<string, import("elysia/dist/cookies").ElysiaCookie>;
|
|
@@ -1968,10 +1966,10 @@ declare const app: Elysia<"", {
|
|
|
1968
1966
|
params: Record<string, string>;
|
|
1969
1967
|
headers: Record<string, string | undefined>;
|
|
1970
1968
|
cookie: Record<string, import("elysia").Cookie<string | undefined>>;
|
|
1971
|
-
server:
|
|
1969
|
+
server: import("elysia/dist/universal/server").Server | null;
|
|
1972
1970
|
redirect: import("elysia").redirect;
|
|
1973
1971
|
set: {
|
|
1974
|
-
headers: import("elysia
|
|
1972
|
+
headers: import("elysia").HTTPHeaders;
|
|
1975
1973
|
status?: number | keyof import("elysia").StatusMap;
|
|
1976
1974
|
redirect?: string;
|
|
1977
1975
|
cookie?: Record<string, import("elysia/dist/cookies").ElysiaCookie>;
|
|
@@ -2258,10 +2256,10 @@ declare const app: Elysia<"", {
|
|
|
2258
2256
|
params: Record<string, string>;
|
|
2259
2257
|
headers: Record<string, string | undefined>;
|
|
2260
2258
|
cookie: Record<string, import("elysia").Cookie<string | undefined>>;
|
|
2261
|
-
server:
|
|
2259
|
+
server: import("elysia/dist/universal/server").Server | null;
|
|
2262
2260
|
redirect: import("elysia").redirect;
|
|
2263
2261
|
set: {
|
|
2264
|
-
headers: import("elysia
|
|
2262
|
+
headers: import("elysia").HTTPHeaders;
|
|
2265
2263
|
status?: number | keyof import("elysia").StatusMap;
|
|
2266
2264
|
redirect?: string;
|
|
2267
2265
|
cookie?: Record<string, import("elysia/dist/cookies").ElysiaCookie>;
|
|
@@ -2668,6 +2666,40 @@ declare const app: Elysia<"", {
|
|
|
2668
2666
|
};
|
|
2669
2667
|
};
|
|
2670
2668
|
};
|
|
2669
|
+
} & {
|
|
2670
|
+
product: {
|
|
2671
|
+
download: {
|
|
2672
|
+
post: {
|
|
2673
|
+
body: unknown;
|
|
2674
|
+
params: {};
|
|
2675
|
+
query: {
|
|
2676
|
+
search?: string | undefined;
|
|
2677
|
+
branchId?: string | undefined;
|
|
2678
|
+
supplierId?: string | undefined;
|
|
2679
|
+
alias?: string | undefined;
|
|
2680
|
+
productId?: string | undefined;
|
|
2681
|
+
priceSell?: number | undefined;
|
|
2682
|
+
pagination: {
|
|
2683
|
+
size: number;
|
|
2684
|
+
page: number;
|
|
2685
|
+
};
|
|
2686
|
+
};
|
|
2687
|
+
headers: unknown;
|
|
2688
|
+
response: {
|
|
2689
|
+
200: Bun.BunFile;
|
|
2690
|
+
422: {
|
|
2691
|
+
type: "validation";
|
|
2692
|
+
on: string;
|
|
2693
|
+
summary?: string;
|
|
2694
|
+
message?: string;
|
|
2695
|
+
found?: unknown;
|
|
2696
|
+
property?: string;
|
|
2697
|
+
expected?: string;
|
|
2698
|
+
};
|
|
2699
|
+
};
|
|
2700
|
+
};
|
|
2701
|
+
};
|
|
2702
|
+
};
|
|
2671
2703
|
} & {
|
|
2672
2704
|
product: {
|
|
2673
2705
|
":id": {
|
|
@@ -3016,7 +3048,6 @@ declare const app: Elysia<"", {
|
|
|
3016
3048
|
":id": {
|
|
3017
3049
|
put: {
|
|
3018
3050
|
body: {
|
|
3019
|
-
quantity?: number | undefined;
|
|
3020
3051
|
safetyStock?: number | undefined;
|
|
3021
3052
|
shelfNumber?: string | null | undefined;
|
|
3022
3053
|
productId?: string | undefined;
|