storemw-core-api 1.0.140 → 1.0.142
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/controllers/user/userController.js +8 -4
- package/dist/controllers/user/userController.js.map +1 -1
- package/dist/middlewares/index.d.ts +3 -0
- package/dist/middlewares/index.js +40 -0
- package/dist/middlewares/index.js.map +1 -0
- package/dist/models/account/AccountModel.d.ts +13 -13
- package/dist/models/branch_user/BranchUserModel.d.ts +13 -13
- package/dist/models/user/AgentModel.d.ts +2 -24
- package/dist/models/user/MemberModel.d.ts +2 -24
- package/dist/models/user/UserModel.d.ts +13 -2
- package/dist/schema/index.d.ts +3 -0
- package/dist/schema/index.js +40 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/schema/middleware/index.d.ts +2 -0
- package/dist/schema/middleware/index.js +19 -0
- package/dist/schema/middleware/index.js.map +1 -0
- package/dist/schema/middleware/route/index.d.ts +27 -27
- package/dist/schema/middleware/route/index.js +14 -14
- package/dist/schema/middleware/route/index.js.map +1 -1
- package/dist/schema/payload/account/schemaAccount.d.ts +7 -0
- package/dist/schema/payload/index.d.ts +74 -74
- package/dist/schema/payload/index.js +39 -39
- package/dist/schema/payload/index.js.map +1 -1
- package/dist/schema/payload/user/schemaUser.d.ts +3 -0
- package/dist/schema/payload/user/schemaUser.js +1 -0
- package/dist/schema/payload/user/schemaUser.js.map +1 -1
- package/dist/schema/payload/user/schemaUserAdministrator.d.ts +14 -0
- package/dist/schema/payload/user/schemaUserAgent.d.ts +15 -12
- package/dist/schema/payload/user/schemaUserAgent.js +2 -2
- package/dist/schema/payload/user/schemaUserAgent.js.map +1 -1
- package/dist/schema/payload/user/schemaUserCustomer.d.ts +14 -0
- package/dist/schema/payload/user/schemaUserDriver.d.ts +14 -0
- package/dist/schema/payload/user/schemaUserMember.d.ts +15 -12
- package/dist/schema/payload/user/schemaUserMember.js +2 -2
- package/dist/schema/payload/user/schemaUserMember.js.map +1 -1
- package/dist/schema/payload/user/schemaUserOperator.d.ts +14 -0
- package/dist/schema/payload/user/schemaUserRetailer.d.ts +14 -0
- package/dist/schema/payload/user/schemaUserWorker.d.ts +14 -0
- package/dist/services/account/AccountService.js +17 -7
- package/dist/services/account/AccountService.js.map +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +2 -1
- package/dist/services/index.js.map +1 -1
- package/dist/services/user/AdministratorService.d.ts +1 -0
- package/dist/services/user/AdministratorService.js +7 -0
- package/dist/services/user/AdministratorService.js.map +1 -1
- package/dist/services/user/AgentService.d.ts +2 -12
- package/dist/services/user/AgentService.js +35 -26
- package/dist/services/user/AgentService.js.map +1 -1
- package/dist/services/user/CustomerService.d.ts +1 -0
- package/dist/services/user/CustomerService.js +7 -0
- package/dist/services/user/CustomerService.js.map +1 -1
- package/dist/services/user/DriverService.d.ts +1 -0
- package/dist/services/user/DriverService.js +7 -0
- package/dist/services/user/DriverService.js.map +1 -1
- package/dist/services/user/MemberService.d.ts +2 -12
- package/dist/services/user/MemberService.js +35 -26
- package/dist/services/user/MemberService.js.map +1 -1
- package/dist/services/user/OperatorService.d.ts +4 -2
- package/dist/services/user/OperatorService.js +11 -3
- package/dist/services/user/OperatorService.js.map +1 -1
- package/dist/services/user/RetailerService.d.ts +1 -0
- package/dist/services/user/RetailerService.js +7 -0
- package/dist/services/user/RetailerService.js.map +1 -1
- package/dist/services/user/UserMeService.d.ts +1 -0
- package/dist/services/user/UserService.d.ts +5 -0
- package/dist/services/user/UserService.js +34 -17
- package/dist/services/user/UserService.js.map +1 -1
- package/dist/services/user/WorkerService.d.ts +1 -0
- package/dist/services/user/WorkerService.js +52 -44
- package/dist/services/user/WorkerService.js.map +1 -1
- package/package.json +19 -9
- package/prisma/schema.prisma +44 -47
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/middleware/route/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/middleware/route/index.ts"],"names":[],"mappings":";;;AAAA,mDAA0D;AAAjD,yHAAA,uBAAuB,OAAA;AAChC,uDAA8D;AAArD,6HAAA,yBAAyB,OAAA;AAClC,2CAAkD;AAAzC,iHAAA,mBAAmB,OAAA;AAC5B,mDAA0D;AAAjD,yHAAA,uBAAuB,OAAA;AAChC,qDAA4D;AAAnD,2HAAA,wBAAwB,OAAA;AACjC,yDAAgE;AAAvD,+HAAA,0BAA0B,OAAA;AACnC,iDAAwD;AAA/C,uHAAA,sBAAsB,OAAA;AAC/B,uDAA8D;AAArD,6HAAA,yBAAyB,OAAA;AAClC,2CAAkD;AAAzC,iHAAA,mBAAmB,OAAA;AAC5B,2CAAkD;AAAzC,iHAAA,mBAAmB,OAAA;AAC5B,mDAA0D;AAAjD,yHAAA,uBAAuB,OAAA;AAChC,+CAAsD;AAA7C,qHAAA,qBAAqB,OAAA;AAC9B,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,6DAAiF;AAAxE,gJAAA,yCAAyC,OAAA","sourcesContent":["export { schemaRouteDocumentList } from \"./schemaDocument\"\nexport { schemaRouteRepositoryList } from \"./schemaRepository\"\nexport { schemaRouteUserList } from \"./schemaUser\"\nexport { schemaRouteBusinessList } from \"./schemaBusiness\"\nexport { schemaRouteAccessKeyList } from \"./schemaAccessKey\"\nexport { schemaRouteOneTimeCodeList } from \"./schemaOneTimeCode\"\nexport { schemaRouteAccountList } from \"./schemaAccount\"\nexport { schemaRouteUserBranchList } from \"./schemaUserBranch\"\nexport { schemaRouteItemList } from \"./schemaItem\"\nexport { schemaRouteFileList } from \"./schemaFile\"\nexport { schemaRouteLocationList } from \"./schemaLocation\"\nexport { schemaRouteRegionList } from \"./schemaRegion\"\nexport { schemaQueryList } from \"./schemaQueryList\"\nexport { schemaRouteAccessControlListPolicyOptions } from \"./schemaAccessControl\"\n\nexport type { QueryList } from \"./schemaQueryList\"\nexport type { SchemaRouteUserList } from \"./schemaUser\"\nexport type { SchemaRouteAccountList } from \"./schemaAccount\"\nexport type { SchemaRouteBusinessList } from \"./schemaBusiness\"\nexport type { SchemaRouteAccessKeyList } from \"./schemaAccessKey\"\nexport type { SchemaRouteOneTimeCodeList } from \"./schemaOneTimeCode\"\nexport type { SchemaRouteUserBranchList } from \"./schemaUserBranch\"\nexport type { SchemaRouteItemList } from \"./schemaItem\"\nexport type { SchemaRouteFileList } from \"./schemaFile\"\nexport type { SchemaRouteRegionList } from \"./schemaRegion\"\nexport type { SchemaRouteDocumentList } from \"./schemaDocument\"\nexport type { SchemaRouteRepositoryList } from \"./schemaRepository\"\nexport type { SchemaRouteAccessControlListPolicyOptions } from \"./schemaAccessControl\""]}
|
|
@@ -97,6 +97,7 @@ export declare const schemaAccountCreatePayload: z.ZodObject<{
|
|
|
97
97
|
}>;
|
|
98
98
|
address: z.ZodOptional<z.ZodString>;
|
|
99
99
|
email: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
100
|
+
parentUserId: z.ZodOptional<z.ZodNumber>;
|
|
100
101
|
status: z.ZodBoolean;
|
|
101
102
|
}, "status">, "strip", z.ZodTypeAny, {
|
|
102
103
|
firstname: string;
|
|
@@ -109,6 +110,7 @@ export declare const schemaAccountCreatePayload: z.ZodObject<{
|
|
|
109
110
|
username: string;
|
|
110
111
|
password: string;
|
|
111
112
|
address?: string | undefined;
|
|
113
|
+
parentUserId?: number | undefined;
|
|
112
114
|
}, {
|
|
113
115
|
firstname: string;
|
|
114
116
|
lastname: string;
|
|
@@ -120,6 +122,7 @@ export declare const schemaAccountCreatePayload: z.ZodObject<{
|
|
|
120
122
|
username: string;
|
|
121
123
|
password: string;
|
|
122
124
|
address?: string | undefined;
|
|
125
|
+
parentUserId?: number | undefined;
|
|
123
126
|
}>;
|
|
124
127
|
}, "strip", z.ZodTypeAny, {
|
|
125
128
|
administrator: {
|
|
@@ -133,6 +136,7 @@ export declare const schemaAccountCreatePayload: z.ZodObject<{
|
|
|
133
136
|
username: string;
|
|
134
137
|
password: string;
|
|
135
138
|
address?: string | undefined;
|
|
139
|
+
parentUserId?: number | undefined;
|
|
136
140
|
};
|
|
137
141
|
account: {
|
|
138
142
|
status: boolean;
|
|
@@ -164,6 +168,7 @@ export declare const schemaAccountCreatePayload: z.ZodObject<{
|
|
|
164
168
|
username: string;
|
|
165
169
|
password: string;
|
|
166
170
|
address?: string | undefined;
|
|
171
|
+
parentUserId?: number | undefined;
|
|
167
172
|
};
|
|
168
173
|
account: {
|
|
169
174
|
status: boolean;
|
|
@@ -201,6 +206,7 @@ export declare const schemaAccountCreatePayload: z.ZodObject<{
|
|
|
201
206
|
username: string;
|
|
202
207
|
password: string;
|
|
203
208
|
address?: string | undefined;
|
|
209
|
+
parentUserId?: number | undefined;
|
|
204
210
|
};
|
|
205
211
|
account: {
|
|
206
212
|
status: boolean;
|
|
@@ -238,6 +244,7 @@ export declare const schemaAccountCreatePayload: z.ZodObject<{
|
|
|
238
244
|
username: string;
|
|
239
245
|
password: string;
|
|
240
246
|
address?: string | undefined;
|
|
247
|
+
parentUserId?: number | undefined;
|
|
241
248
|
};
|
|
242
249
|
account: {
|
|
243
250
|
status: boolean;
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
export { schemaAuthTokenPayload, schemaAuthTokenOptionalAccountPayload, schemaAuthTokenOperatorPayload } from "
|
|
2
|
-
export type { SchemaAuthTokenPayload, SchemaAuthTokenOptionalAccountPayload, SchemaAuthTokenOperatorPayload } from "
|
|
3
|
-
export { schemaAccessKeyCreatePayload, schemaAccessKeyRevokePayload } from "
|
|
4
|
-
export type { SchemaAccessKeyCreatePayload, SchemaAccessKeyRevokePayload } from "
|
|
5
|
-
export { schemaResetPasswordRequestPayload, schemaResetPasswordValidateCodePayload, schemaResetPasswordPerformPayload } from "
|
|
6
|
-
export type { SchemaResetPasswordRequestPayload, SchemaResetPasswordValidateCodePayload, SchemaResetPasswordPerformPayload } from "
|
|
7
|
-
export { schemaAccountCreatePayload, schemaAccountUpdatePayload, schemaAccountDeletePayload } from "
|
|
8
|
-
export type { SchemaAccountCreatePayload, SchemaAccountUpdatePayload, SchemaAccountDeletePayload } from "
|
|
9
|
-
export { schemaBusinessCreatePayload, schemaBusiness, schemaBusinessUpdatePayload, schemaBusinessDeletePayload } from "
|
|
10
|
-
export type { SchemaBusinessCreatePayload, SchemaBusinessUpdatePayload, SchemaBusinessDeletePayload } from "
|
|
11
|
-
export { schemaUserDeletePayload, schemaUserCredential } from "
|
|
12
|
-
export type { SchemaUserDeletePayload } from "
|
|
13
|
-
export { schemaUserMeChangePasswordPayload, schemaUserMeUpdatePayload } from "
|
|
14
|
-
export type { SchemaUserMeChangePasswordPayload, SchemaUserMeUpdatePayload } from "
|
|
15
|
-
export { schemaUserOperatorCreatePayload, schemaUserOperatorUpdatePayload } from "
|
|
16
|
-
export type { SchemaUserOperatorCreatePayload, SchemaUserOperatorUpdatePayload } from "
|
|
17
|
-
export { schemaUserCustomerCreatePayload, schemaUserCustomerUpdatePayload } from "
|
|
18
|
-
export type { SchemaUserCustomerCreatePayload, SchemaUserCustomerUpdatePayload } from "
|
|
19
|
-
export { schemaUserRetailerCreatePayload, schemaUserRetailerUpdatePayload } from "
|
|
20
|
-
export type { SchemaUserRetailerCreatePayload, SchemaUserRetailerUpdatePayload } from "
|
|
21
|
-
export { schemaUserAdministratorCreatePayload, schemaUserAdministratorUpdatePayload } from "
|
|
22
|
-
export type { SchemaUserAdministratorCreatePayload, SchemaUserAdministratorUpdatePayload } from "
|
|
23
|
-
export { schemaUserWorkerCreatePayload, schemaUserWorkerUpdatePayload } from "
|
|
24
|
-
export type { SchemaUserWorkerCreatePayload, SchemaUserWorkerUpdatePayload } from "
|
|
25
|
-
export { schemaUserDriverCreatePayload, schemaUserDriverUpdatePayload } from "
|
|
26
|
-
export type { SchemaUserDriverCreatePayload, SchemaUserDriverUpdatePayload } from "
|
|
27
|
-
export { schemaUserMemberCreatePayload, schemaUserMemberUpdatePayload } from "
|
|
28
|
-
export type { SchemaUserMemberCreatePayload, SchemaUserMemberUpdatePayload } from "
|
|
29
|
-
export { schemaUserAgentCreatePayload, schemaUserAgentUpdatePayload } from "
|
|
30
|
-
export type { SchemaUserAgentCreatePayload, SchemaUserAgentUpdatePayload } from "
|
|
31
|
-
export { schemaFileUploadPayload, schemaFileDeletePayload } from "
|
|
32
|
-
export type { SchemaFileUploadPayload, SchemaFileDeletePayload } from "
|
|
33
|
-
export { schemaDocumentDeletePayload, eNumDocumentTypes } from "
|
|
34
|
-
export type { SchemaDocumentDeletePayload } from "
|
|
35
|
-
export { schemaDocumentSalesOrderCreatePayload, schemaDocumentSalesOrderUpdatePayload } from "
|
|
36
|
-
export type { SchemaDocumentSalesOrderCreatePayload, SchemaDocumentSalesOrderUpdatePayload } from "
|
|
37
|
-
export { schemaDocumentProformaSalesCreatePayload, schemaDocumentProformaSalesUpdatePayload } from "
|
|
38
|
-
export type { SchemaDocumentProformaSalesCreatePayload, SchemaDocumentProformaSalesUpdatePayload } from "
|
|
39
|
-
export { schemaDocumentDeliveryOrderCreatePayload, schemaDocumentDeliveryOrderUpdatePayload } from "
|
|
40
|
-
export type { SchemaDocumentDeliveryOrderCreatePayload, SchemaDocumentDeliveryOrderUpdatePayload } from "
|
|
41
|
-
export { schemaDocumentReplacementDeliveryOrderCreatePayload, schemaDocumentReplacementDeliveryOrderUpdatePayload } from "
|
|
42
|
-
export type { SchemaDocumentReplacementDeliveryOrderCreatePayload, SchemaDocumentReplacementDeliveryOrderUpdatePayload } from "
|
|
43
|
-
export { schemaDocumentCashSalesCreatePayload, schemaDocumentCashSalesUpdatePayload } from "
|
|
44
|
-
export type { SchemaDocumentCashSalesCreatePayload, SchemaDocumentCashSalesUpdatePayload } from "
|
|
45
|
-
export { schemaDocumentTripOrderCreatePayload, schemaDocumentTripOrderUpdatePayload } from "
|
|
46
|
-
export type { SchemaDocumentTripOrderCreatePayload, SchemaDocumentTripOrderUpdatePayload } from "
|
|
47
|
-
export { schemaItemDeletePayload } from "
|
|
48
|
-
export type { SchemaItemDeletePayload } from "
|
|
49
|
-
export { schemaItemProductCreatePayload, schemaItemProductUpdatePayload } from "
|
|
50
|
-
export type { SchemaItemProductCreatePayload, SchemaItemProductUpdatePayload } from "
|
|
51
|
-
export { schemaItemItemCreatePayload, schemaItemItemUpdatePayload, schemaItemItem } from "
|
|
52
|
-
export type { SchemaItemItemCreatePayload, SchemaItemItemUpdatePayload } from "
|
|
53
|
-
export { schemaItemCategoryCreatePayload, schemaItemCategoryUpdatePayload } from "
|
|
54
|
-
export type { SchemaItemCategoryCreatePayload, SchemaItemCategoryUpdatePayload } from "
|
|
55
|
-
export { schemaItemBrandCreatePayload, schemaItemBrandUpdatePayload } from "
|
|
56
|
-
export type { SchemaItemBrandCreatePayload, SchemaItemBrandUpdatePayload } from "
|
|
57
|
-
export { schemaItemUomCreatePayload, schemaItemUomUpdatePayload } from "
|
|
58
|
-
export type { SchemaItemUomCreatePayload, SchemaItemUomUpdatePayload } from "
|
|
59
|
-
export { schemaLocationLocationCreatePayload, schemaLocationLocationUpdatePayload, schemaLocationLocationDeletePayload, } from "
|
|
60
|
-
export type { SchemaLocationLocationCreatePayload, SchemaLocationLocationUpdatePayload, SchemaLocationLocationDeletePayload } from "
|
|
61
|
-
export { schemaLocationRackCreatePayload, schemaLocationRackUpdatePayload, schemaLocationRackDeletePayload, } from "
|
|
62
|
-
export type { SchemaLocationRackCreatePayload, SchemaLocationRackUpdatePayload, SchemaLocationRackDeletePayload } from "
|
|
63
|
-
export { schemaLocationSlotCreatePayload, schemaLocationSlotUpdatePayload, schemaLocationSlotDeletePayload, schemaSlot } from "
|
|
64
|
-
export type { SchemaLocationSlotCreatePayload, SchemaLocationSlotUpdatePayload, SchemaLocationSlotDeletePayload } from "
|
|
65
|
-
export { schemaInjectionFieldReplacePayload, schemaInjectionFieldCreatePayload, schemaInjectionFieldDeletePayload } from "
|
|
66
|
-
export type { SchemaInjectionFieldReplacePayload, SchemaInjectionFieldCreatePayload, SchemaInjectionFieldDeletePayload } from "
|
|
67
|
-
export { schemaRegionCountryCreatePayload, schemaRegionCountryUpdatePayload, schemaRegionCountryDeletePayload } from "
|
|
68
|
-
export type { SchemaRegionCountryCreatePayload, SchemaRegionCountryDeletePayload } from "
|
|
69
|
-
export { schemaRegionStateCreatePayload, schemaRegionStateDeletePayload, schemaRegionStateUpdatePayload } from "
|
|
70
|
-
export type { SchemaRegionStateCreatePayload, SchemaRegionStateDeletePayload } from "
|
|
71
|
-
export { schemaRegionAreaCreatePayload, schemaRegionAreaDeletePayload, schemaRegionAreaUpdatePayload, } from "
|
|
72
|
-
export type { SchemaRegionAreaCreatePayload, SchemaRegionAreaDeletePayload, SchemaRegionAreaUpdatePayload } from "
|
|
73
|
-
export { schemaAccessKeyUtilValidatePayload, schemaAccessKeyUtilAccountOwnerPayload } from "
|
|
74
|
-
export type { SchemaAccessKeyUtilValidatePayload, SchemaAccessKeyUtilAccountOwnerPayload } from "
|
|
1
|
+
export { schemaAuthTokenPayload, schemaAuthTokenOptionalAccountPayload, schemaAuthTokenOperatorPayload } from "./auth/schemaAuthToken";
|
|
2
|
+
export type { SchemaAuthTokenPayload, SchemaAuthTokenOptionalAccountPayload, SchemaAuthTokenOperatorPayload } from "./auth/schemaAuthToken";
|
|
3
|
+
export { schemaAccessKeyCreatePayload, schemaAccessKeyRevokePayload } from "./access_key/schemaAccessKey";
|
|
4
|
+
export type { SchemaAccessKeyCreatePayload, SchemaAccessKeyRevokePayload } from "./access_key/schemaAccessKey";
|
|
5
|
+
export { schemaResetPasswordRequestPayload, schemaResetPasswordValidateCodePayload, schemaResetPasswordPerformPayload } from "./reset_password/schemaResetPassword";
|
|
6
|
+
export type { SchemaResetPasswordRequestPayload, SchemaResetPasswordValidateCodePayload, SchemaResetPasswordPerformPayload } from "./reset_password/schemaResetPassword";
|
|
7
|
+
export { schemaAccountCreatePayload, schemaAccountUpdatePayload, schemaAccountDeletePayload } from "./account/schemaAccount";
|
|
8
|
+
export type { SchemaAccountCreatePayload, SchemaAccountUpdatePayload, SchemaAccountDeletePayload } from "./account/schemaAccount";
|
|
9
|
+
export { schemaBusinessCreatePayload, schemaBusiness, schemaBusinessUpdatePayload, schemaBusinessDeletePayload } from "./business/schemaBusiness";
|
|
10
|
+
export type { SchemaBusinessCreatePayload, SchemaBusinessUpdatePayload, SchemaBusinessDeletePayload } from "./business/schemaBusiness";
|
|
11
|
+
export { schemaUserDeletePayload, schemaUserCredential } from "./user/schemaUser";
|
|
12
|
+
export type { SchemaUserDeletePayload } from "./user/schemaUser";
|
|
13
|
+
export { schemaUserMeChangePasswordPayload, schemaUserMeUpdatePayload } from "./user/schemaUserMe";
|
|
14
|
+
export type { SchemaUserMeChangePasswordPayload, SchemaUserMeUpdatePayload } from "./user/schemaUserMe";
|
|
15
|
+
export { schemaUserOperatorCreatePayload, schemaUserOperatorUpdatePayload } from "./user/schemaUserOperator";
|
|
16
|
+
export type { SchemaUserOperatorCreatePayload, SchemaUserOperatorUpdatePayload } from "./user/schemaUserOperator";
|
|
17
|
+
export { schemaUserCustomerCreatePayload, schemaUserCustomerUpdatePayload } from "./user/schemaUserCustomer";
|
|
18
|
+
export type { SchemaUserCustomerCreatePayload, SchemaUserCustomerUpdatePayload } from "./user/schemaUserCustomer";
|
|
19
|
+
export { schemaUserRetailerCreatePayload, schemaUserRetailerUpdatePayload } from "./user/schemaUserRetailer";
|
|
20
|
+
export type { SchemaUserRetailerCreatePayload, SchemaUserRetailerUpdatePayload } from "./user/schemaUserRetailer";
|
|
21
|
+
export { schemaUserAdministratorCreatePayload, schemaUserAdministratorUpdatePayload } from "./user/schemaUserAdministrator";
|
|
22
|
+
export type { SchemaUserAdministratorCreatePayload, SchemaUserAdministratorUpdatePayload } from "./user/schemaUserAdministrator";
|
|
23
|
+
export { schemaUserWorkerCreatePayload, schemaUserWorkerUpdatePayload } from "./user/schemaUserWorker";
|
|
24
|
+
export type { SchemaUserWorkerCreatePayload, SchemaUserWorkerUpdatePayload } from "./user/schemaUserWorker";
|
|
25
|
+
export { schemaUserDriverCreatePayload, schemaUserDriverUpdatePayload } from "./user/schemaUserDriver";
|
|
26
|
+
export type { SchemaUserDriverCreatePayload, SchemaUserDriverUpdatePayload } from "./user/schemaUserDriver";
|
|
27
|
+
export { schemaUserMemberCreatePayload, schemaUserMemberUpdatePayload } from "./user/schemaUserMember";
|
|
28
|
+
export type { SchemaUserMemberCreatePayload, SchemaUserMemberUpdatePayload } from "./user/schemaUserMember";
|
|
29
|
+
export { schemaUserAgentCreatePayload, schemaUserAgentUpdatePayload } from "./user/schemaUserAgent";
|
|
30
|
+
export type { SchemaUserAgentCreatePayload, SchemaUserAgentUpdatePayload } from "./user/schemaUserAgent";
|
|
31
|
+
export { schemaFileUploadPayload, schemaFileDeletePayload } from "./file/schemaFile";
|
|
32
|
+
export type { SchemaFileUploadPayload, SchemaFileDeletePayload } from "./file/schemaFile";
|
|
33
|
+
export { schemaDocumentDeletePayload, eNumDocumentTypes } from "./document/schemaDocument";
|
|
34
|
+
export type { SchemaDocumentDeletePayload } from "./document/schemaDocument";
|
|
35
|
+
export { schemaDocumentSalesOrderCreatePayload, schemaDocumentSalesOrderUpdatePayload } from "./document/schemaDocumentSalesOrder";
|
|
36
|
+
export type { SchemaDocumentSalesOrderCreatePayload, SchemaDocumentSalesOrderUpdatePayload } from "./document/schemaDocumentSalesOrder";
|
|
37
|
+
export { schemaDocumentProformaSalesCreatePayload, schemaDocumentProformaSalesUpdatePayload } from "./document/schemaDocumentProformaSales";
|
|
38
|
+
export type { SchemaDocumentProformaSalesCreatePayload, SchemaDocumentProformaSalesUpdatePayload } from "./document/schemaDocumentProformaSales";
|
|
39
|
+
export { schemaDocumentDeliveryOrderCreatePayload, schemaDocumentDeliveryOrderUpdatePayload } from "./document/schemaDocumentDeliveryOrder";
|
|
40
|
+
export type { SchemaDocumentDeliveryOrderCreatePayload, SchemaDocumentDeliveryOrderUpdatePayload } from "./document/schemaDocumentDeliveryOrder";
|
|
41
|
+
export { schemaDocumentReplacementDeliveryOrderCreatePayload, schemaDocumentReplacementDeliveryOrderUpdatePayload } from "./document/schemaDocumentReplacementDeliveryOrder";
|
|
42
|
+
export type { SchemaDocumentReplacementDeliveryOrderCreatePayload, SchemaDocumentReplacementDeliveryOrderUpdatePayload } from "./document/schemaDocumentReplacementDeliveryOrder";
|
|
43
|
+
export { schemaDocumentCashSalesCreatePayload, schemaDocumentCashSalesUpdatePayload } from "./document/schemaDocumentCashSales";
|
|
44
|
+
export type { SchemaDocumentCashSalesCreatePayload, SchemaDocumentCashSalesUpdatePayload } from "./document/schemaDocumentCashSales";
|
|
45
|
+
export { schemaDocumentTripOrderCreatePayload, schemaDocumentTripOrderUpdatePayload } from "./document/schemaDocumentTripOrder";
|
|
46
|
+
export type { SchemaDocumentTripOrderCreatePayload, SchemaDocumentTripOrderUpdatePayload } from "./document/schemaDocumentTripOrder";
|
|
47
|
+
export { schemaItemDeletePayload } from "./item/schemaItem";
|
|
48
|
+
export type { SchemaItemDeletePayload } from "./item/schemaItem";
|
|
49
|
+
export { schemaItemProductCreatePayload, schemaItemProductUpdatePayload } from "./item/schemaItemProduct";
|
|
50
|
+
export type { SchemaItemProductCreatePayload, SchemaItemProductUpdatePayload } from "./item/schemaItemProduct";
|
|
51
|
+
export { schemaItemItemCreatePayload, schemaItemItemUpdatePayload, schemaItemItem } from "./item/schemaItemItem";
|
|
52
|
+
export type { SchemaItemItemCreatePayload, SchemaItemItemUpdatePayload } from "./item/schemaItemItem";
|
|
53
|
+
export { schemaItemCategoryCreatePayload, schemaItemCategoryUpdatePayload } from "./item/schemaItemCategory";
|
|
54
|
+
export type { SchemaItemCategoryCreatePayload, SchemaItemCategoryUpdatePayload } from "./item/schemaItemCategory";
|
|
55
|
+
export { schemaItemBrandCreatePayload, schemaItemBrandUpdatePayload } from "./item/schemaItemBrand";
|
|
56
|
+
export type { SchemaItemBrandCreatePayload, SchemaItemBrandUpdatePayload } from "./item/schemaItemBrand";
|
|
57
|
+
export { schemaItemUomCreatePayload, schemaItemUomUpdatePayload } from "./item/schemaItemUom";
|
|
58
|
+
export type { SchemaItemUomCreatePayload, SchemaItemUomUpdatePayload } from "./item/schemaItemUom";
|
|
59
|
+
export { schemaLocationLocationCreatePayload, schemaLocationLocationUpdatePayload, schemaLocationLocationDeletePayload, } from "./location/schemaLocationLocation";
|
|
60
|
+
export type { SchemaLocationLocationCreatePayload, SchemaLocationLocationUpdatePayload, SchemaLocationLocationDeletePayload } from "./location/schemaLocationLocation";
|
|
61
|
+
export { schemaLocationRackCreatePayload, schemaLocationRackUpdatePayload, schemaLocationRackDeletePayload, } from "./location/schemaLocationRack";
|
|
62
|
+
export type { SchemaLocationRackCreatePayload, SchemaLocationRackUpdatePayload, SchemaLocationRackDeletePayload } from "./location/schemaLocationRack";
|
|
63
|
+
export { schemaLocationSlotCreatePayload, schemaLocationSlotUpdatePayload, schemaLocationSlotDeletePayload, schemaSlot } from "./location/schemaLocationSlot";
|
|
64
|
+
export type { SchemaLocationSlotCreatePayload, SchemaLocationSlotUpdatePayload, SchemaLocationSlotDeletePayload } from "./location/schemaLocationSlot";
|
|
65
|
+
export { schemaInjectionFieldReplacePayload, schemaInjectionFieldCreatePayload, schemaInjectionFieldDeletePayload } from "./injection_field/schemaInjectionField";
|
|
66
|
+
export type { SchemaInjectionFieldReplacePayload, SchemaInjectionFieldCreatePayload, SchemaInjectionFieldDeletePayload } from "./injection_field/schemaInjectionField";
|
|
67
|
+
export { schemaRegionCountryCreatePayload, schemaRegionCountryUpdatePayload, schemaRegionCountryDeletePayload } from "./region/schemaRegionCountry";
|
|
68
|
+
export type { SchemaRegionCountryCreatePayload, SchemaRegionCountryDeletePayload } from "./region/schemaRegionCountry";
|
|
69
|
+
export { schemaRegionStateCreatePayload, schemaRegionStateDeletePayload, schemaRegionStateUpdatePayload } from "./region/schemaRegionState";
|
|
70
|
+
export type { SchemaRegionStateCreatePayload, SchemaRegionStateDeletePayload } from "./region/schemaRegionState";
|
|
71
|
+
export { schemaRegionAreaCreatePayload, schemaRegionAreaDeletePayload, schemaRegionAreaUpdatePayload, } from "./region/schemaRegionArea";
|
|
72
|
+
export type { SchemaRegionAreaCreatePayload, SchemaRegionAreaDeletePayload, SchemaRegionAreaUpdatePayload } from "./region/schemaRegionArea";
|
|
73
|
+
export { schemaAccessKeyUtilValidatePayload, schemaAccessKeyUtilAccountOwnerPayload } from "./utils/schemaAccessKeyUtil";
|
|
74
|
+
export type { SchemaAccessKeyUtilValidatePayload, SchemaAccessKeyUtilAccountOwnerPayload } from "./utils/schemaAccessKeyUtil";
|
|
@@ -2,130 +2,130 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schemaDocumentTripOrderCreatePayload = exports.schemaDocumentCashSalesUpdatePayload = exports.schemaDocumentCashSalesCreatePayload = exports.schemaDocumentReplacementDeliveryOrderUpdatePayload = exports.schemaDocumentReplacementDeliveryOrderCreatePayload = exports.schemaDocumentDeliveryOrderUpdatePayload = exports.schemaDocumentDeliveryOrderCreatePayload = exports.schemaDocumentProformaSalesUpdatePayload = exports.schemaDocumentProformaSalesCreatePayload = exports.schemaDocumentSalesOrderUpdatePayload = exports.schemaDocumentSalesOrderCreatePayload = exports.eNumDocumentTypes = exports.schemaDocumentDeletePayload = exports.schemaFileDeletePayload = exports.schemaFileUploadPayload = exports.schemaUserAgentUpdatePayload = exports.schemaUserAgentCreatePayload = exports.schemaUserMemberUpdatePayload = exports.schemaUserMemberCreatePayload = exports.schemaUserDriverUpdatePayload = exports.schemaUserDriverCreatePayload = exports.schemaUserWorkerUpdatePayload = exports.schemaUserWorkerCreatePayload = exports.schemaUserAdministratorUpdatePayload = exports.schemaUserAdministratorCreatePayload = exports.schemaUserRetailerUpdatePayload = exports.schemaUserRetailerCreatePayload = exports.schemaUserCustomerUpdatePayload = exports.schemaUserCustomerCreatePayload = exports.schemaUserOperatorUpdatePayload = exports.schemaUserOperatorCreatePayload = exports.schemaUserMeUpdatePayload = exports.schemaUserMeChangePasswordPayload = exports.schemaUserCredential = exports.schemaUserDeletePayload = exports.schemaBusinessDeletePayload = exports.schemaBusinessUpdatePayload = exports.schemaBusiness = exports.schemaBusinessCreatePayload = exports.schemaAccountDeletePayload = exports.schemaAccountUpdatePayload = exports.schemaAccountCreatePayload = exports.schemaResetPasswordPerformPayload = exports.schemaResetPasswordValidateCodePayload = exports.schemaResetPasswordRequestPayload = exports.schemaAccessKeyRevokePayload = exports.schemaAccessKeyCreatePayload = exports.schemaAuthTokenOperatorPayload = exports.schemaAuthTokenOptionalAccountPayload = exports.schemaAuthTokenPayload = void 0;
|
|
4
4
|
exports.schemaAccessKeyUtilAccountOwnerPayload = exports.schemaAccessKeyUtilValidatePayload = exports.schemaRegionAreaUpdatePayload = exports.schemaRegionAreaDeletePayload = exports.schemaRegionAreaCreatePayload = exports.schemaRegionStateUpdatePayload = exports.schemaRegionStateDeletePayload = exports.schemaRegionStateCreatePayload = exports.schemaRegionCountryDeletePayload = exports.schemaRegionCountryUpdatePayload = exports.schemaRegionCountryCreatePayload = exports.schemaInjectionFieldDeletePayload = exports.schemaInjectionFieldCreatePayload = exports.schemaInjectionFieldReplacePayload = exports.schemaSlot = exports.schemaLocationSlotDeletePayload = exports.schemaLocationSlotUpdatePayload = exports.schemaLocationSlotCreatePayload = exports.schemaLocationRackDeletePayload = exports.schemaLocationRackUpdatePayload = exports.schemaLocationRackCreatePayload = exports.schemaLocationLocationDeletePayload = exports.schemaLocationLocationUpdatePayload = exports.schemaLocationLocationCreatePayload = exports.schemaItemUomUpdatePayload = exports.schemaItemUomCreatePayload = exports.schemaItemBrandUpdatePayload = exports.schemaItemBrandCreatePayload = exports.schemaItemCategoryUpdatePayload = exports.schemaItemCategoryCreatePayload = exports.schemaItemItem = exports.schemaItemItemUpdatePayload = exports.schemaItemItemCreatePayload = exports.schemaItemProductUpdatePayload = exports.schemaItemProductCreatePayload = exports.schemaItemDeletePayload = exports.schemaDocumentTripOrderUpdatePayload = void 0;
|
|
5
|
-
var schemaAuthToken_1 = require("
|
|
5
|
+
var schemaAuthToken_1 = require("./auth/schemaAuthToken");
|
|
6
6
|
Object.defineProperty(exports, "schemaAuthTokenPayload", { enumerable: true, get: function () { return schemaAuthToken_1.schemaAuthTokenPayload; } });
|
|
7
7
|
Object.defineProperty(exports, "schemaAuthTokenOptionalAccountPayload", { enumerable: true, get: function () { return schemaAuthToken_1.schemaAuthTokenOptionalAccountPayload; } });
|
|
8
8
|
Object.defineProperty(exports, "schemaAuthTokenOperatorPayload", { enumerable: true, get: function () { return schemaAuthToken_1.schemaAuthTokenOperatorPayload; } });
|
|
9
|
-
var schemaAccessKey_1 = require("
|
|
9
|
+
var schemaAccessKey_1 = require("./access_key/schemaAccessKey");
|
|
10
10
|
Object.defineProperty(exports, "schemaAccessKeyCreatePayload", { enumerable: true, get: function () { return schemaAccessKey_1.schemaAccessKeyCreatePayload; } });
|
|
11
11
|
Object.defineProperty(exports, "schemaAccessKeyRevokePayload", { enumerable: true, get: function () { return schemaAccessKey_1.schemaAccessKeyRevokePayload; } });
|
|
12
|
-
var schemaResetPassword_1 = require("
|
|
12
|
+
var schemaResetPassword_1 = require("./reset_password/schemaResetPassword");
|
|
13
13
|
Object.defineProperty(exports, "schemaResetPasswordRequestPayload", { enumerable: true, get: function () { return schemaResetPassword_1.schemaResetPasswordRequestPayload; } });
|
|
14
14
|
Object.defineProperty(exports, "schemaResetPasswordValidateCodePayload", { enumerable: true, get: function () { return schemaResetPassword_1.schemaResetPasswordValidateCodePayload; } });
|
|
15
15
|
Object.defineProperty(exports, "schemaResetPasswordPerformPayload", { enumerable: true, get: function () { return schemaResetPassword_1.schemaResetPasswordPerformPayload; } });
|
|
16
|
-
var schemaAccount_1 = require("
|
|
16
|
+
var schemaAccount_1 = require("./account/schemaAccount");
|
|
17
17
|
Object.defineProperty(exports, "schemaAccountCreatePayload", { enumerable: true, get: function () { return schemaAccount_1.schemaAccountCreatePayload; } });
|
|
18
18
|
Object.defineProperty(exports, "schemaAccountUpdatePayload", { enumerable: true, get: function () { return schemaAccount_1.schemaAccountUpdatePayload; } });
|
|
19
19
|
Object.defineProperty(exports, "schemaAccountDeletePayload", { enumerable: true, get: function () { return schemaAccount_1.schemaAccountDeletePayload; } });
|
|
20
|
-
var schemaBusiness_1 = require("
|
|
20
|
+
var schemaBusiness_1 = require("./business/schemaBusiness");
|
|
21
21
|
Object.defineProperty(exports, "schemaBusinessCreatePayload", { enumerable: true, get: function () { return schemaBusiness_1.schemaBusinessCreatePayload; } });
|
|
22
22
|
Object.defineProperty(exports, "schemaBusiness", { enumerable: true, get: function () { return schemaBusiness_1.schemaBusiness; } });
|
|
23
23
|
Object.defineProperty(exports, "schemaBusinessUpdatePayload", { enumerable: true, get: function () { return schemaBusiness_1.schemaBusinessUpdatePayload; } });
|
|
24
24
|
Object.defineProperty(exports, "schemaBusinessDeletePayload", { enumerable: true, get: function () { return schemaBusiness_1.schemaBusinessDeletePayload; } });
|
|
25
|
-
var schemaUser_1 = require("
|
|
25
|
+
var schemaUser_1 = require("./user/schemaUser");
|
|
26
26
|
Object.defineProperty(exports, "schemaUserDeletePayload", { enumerable: true, get: function () { return schemaUser_1.schemaUserDeletePayload; } });
|
|
27
27
|
Object.defineProperty(exports, "schemaUserCredential", { enumerable: true, get: function () { return schemaUser_1.schemaUserCredential; } });
|
|
28
|
-
var schemaUserMe_1 = require("
|
|
28
|
+
var schemaUserMe_1 = require("./user/schemaUserMe");
|
|
29
29
|
Object.defineProperty(exports, "schemaUserMeChangePasswordPayload", { enumerable: true, get: function () { return schemaUserMe_1.schemaUserMeChangePasswordPayload; } });
|
|
30
30
|
Object.defineProperty(exports, "schemaUserMeUpdatePayload", { enumerable: true, get: function () { return schemaUserMe_1.schemaUserMeUpdatePayload; } });
|
|
31
|
-
var schemaUserOperator_1 = require("
|
|
31
|
+
var schemaUserOperator_1 = require("./user/schemaUserOperator");
|
|
32
32
|
Object.defineProperty(exports, "schemaUserOperatorCreatePayload", { enumerable: true, get: function () { return schemaUserOperator_1.schemaUserOperatorCreatePayload; } });
|
|
33
33
|
Object.defineProperty(exports, "schemaUserOperatorUpdatePayload", { enumerable: true, get: function () { return schemaUserOperator_1.schemaUserOperatorUpdatePayload; } });
|
|
34
|
-
var schemaUserCustomer_1 = require("
|
|
34
|
+
var schemaUserCustomer_1 = require("./user/schemaUserCustomer");
|
|
35
35
|
Object.defineProperty(exports, "schemaUserCustomerCreatePayload", { enumerable: true, get: function () { return schemaUserCustomer_1.schemaUserCustomerCreatePayload; } });
|
|
36
36
|
Object.defineProperty(exports, "schemaUserCustomerUpdatePayload", { enumerable: true, get: function () { return schemaUserCustomer_1.schemaUserCustomerUpdatePayload; } });
|
|
37
|
-
var schemaUserRetailer_1 = require("
|
|
37
|
+
var schemaUserRetailer_1 = require("./user/schemaUserRetailer");
|
|
38
38
|
Object.defineProperty(exports, "schemaUserRetailerCreatePayload", { enumerable: true, get: function () { return schemaUserRetailer_1.schemaUserRetailerCreatePayload; } });
|
|
39
39
|
Object.defineProperty(exports, "schemaUserRetailerUpdatePayload", { enumerable: true, get: function () { return schemaUserRetailer_1.schemaUserRetailerUpdatePayload; } });
|
|
40
|
-
var schemaUserAdministrator_1 = require("
|
|
40
|
+
var schemaUserAdministrator_1 = require("./user/schemaUserAdministrator");
|
|
41
41
|
Object.defineProperty(exports, "schemaUserAdministratorCreatePayload", { enumerable: true, get: function () { return schemaUserAdministrator_1.schemaUserAdministratorCreatePayload; } });
|
|
42
42
|
Object.defineProperty(exports, "schemaUserAdministratorUpdatePayload", { enumerable: true, get: function () { return schemaUserAdministrator_1.schemaUserAdministratorUpdatePayload; } });
|
|
43
|
-
var schemaUserWorker_1 = require("
|
|
43
|
+
var schemaUserWorker_1 = require("./user/schemaUserWorker");
|
|
44
44
|
Object.defineProperty(exports, "schemaUserWorkerCreatePayload", { enumerable: true, get: function () { return schemaUserWorker_1.schemaUserWorkerCreatePayload; } });
|
|
45
45
|
Object.defineProperty(exports, "schemaUserWorkerUpdatePayload", { enumerable: true, get: function () { return schemaUserWorker_1.schemaUserWorkerUpdatePayload; } });
|
|
46
|
-
var schemaUserDriver_1 = require("
|
|
46
|
+
var schemaUserDriver_1 = require("./user/schemaUserDriver");
|
|
47
47
|
Object.defineProperty(exports, "schemaUserDriverCreatePayload", { enumerable: true, get: function () { return schemaUserDriver_1.schemaUserDriverCreatePayload; } });
|
|
48
48
|
Object.defineProperty(exports, "schemaUserDriverUpdatePayload", { enumerable: true, get: function () { return schemaUserDriver_1.schemaUserDriverUpdatePayload; } });
|
|
49
|
-
var schemaUserMember_1 = require("
|
|
49
|
+
var schemaUserMember_1 = require("./user/schemaUserMember");
|
|
50
50
|
Object.defineProperty(exports, "schemaUserMemberCreatePayload", { enumerable: true, get: function () { return schemaUserMember_1.schemaUserMemberCreatePayload; } });
|
|
51
51
|
Object.defineProperty(exports, "schemaUserMemberUpdatePayload", { enumerable: true, get: function () { return schemaUserMember_1.schemaUserMemberUpdatePayload; } });
|
|
52
|
-
var schemaUserAgent_1 = require("
|
|
52
|
+
var schemaUserAgent_1 = require("./user/schemaUserAgent");
|
|
53
53
|
Object.defineProperty(exports, "schemaUserAgentCreatePayload", { enumerable: true, get: function () { return schemaUserAgent_1.schemaUserAgentCreatePayload; } });
|
|
54
54
|
Object.defineProperty(exports, "schemaUserAgentUpdatePayload", { enumerable: true, get: function () { return schemaUserAgent_1.schemaUserAgentUpdatePayload; } });
|
|
55
|
-
var schemaFile_1 = require("
|
|
55
|
+
var schemaFile_1 = require("./file/schemaFile");
|
|
56
56
|
Object.defineProperty(exports, "schemaFileUploadPayload", { enumerable: true, get: function () { return schemaFile_1.schemaFileUploadPayload; } });
|
|
57
57
|
Object.defineProperty(exports, "schemaFileDeletePayload", { enumerable: true, get: function () { return schemaFile_1.schemaFileDeletePayload; } });
|
|
58
|
-
var schemaDocument_1 = require("
|
|
58
|
+
var schemaDocument_1 = require("./document/schemaDocument");
|
|
59
59
|
Object.defineProperty(exports, "schemaDocumentDeletePayload", { enumerable: true, get: function () { return schemaDocument_1.schemaDocumentDeletePayload; } });
|
|
60
60
|
Object.defineProperty(exports, "eNumDocumentTypes", { enumerable: true, get: function () { return schemaDocument_1.eNumDocumentTypes; } });
|
|
61
|
-
var schemaDocumentSalesOrder_1 = require("
|
|
61
|
+
var schemaDocumentSalesOrder_1 = require("./document/schemaDocumentSalesOrder");
|
|
62
62
|
Object.defineProperty(exports, "schemaDocumentSalesOrderCreatePayload", { enumerable: true, get: function () { return schemaDocumentSalesOrder_1.schemaDocumentSalesOrderCreatePayload; } });
|
|
63
63
|
Object.defineProperty(exports, "schemaDocumentSalesOrderUpdatePayload", { enumerable: true, get: function () { return schemaDocumentSalesOrder_1.schemaDocumentSalesOrderUpdatePayload; } });
|
|
64
|
-
var schemaDocumentProformaSales_1 = require("
|
|
64
|
+
var schemaDocumentProformaSales_1 = require("./document/schemaDocumentProformaSales");
|
|
65
65
|
Object.defineProperty(exports, "schemaDocumentProformaSalesCreatePayload", { enumerable: true, get: function () { return schemaDocumentProformaSales_1.schemaDocumentProformaSalesCreatePayload; } });
|
|
66
66
|
Object.defineProperty(exports, "schemaDocumentProformaSalesUpdatePayload", { enumerable: true, get: function () { return schemaDocumentProformaSales_1.schemaDocumentProformaSalesUpdatePayload; } });
|
|
67
|
-
var schemaDocumentDeliveryOrder_1 = require("
|
|
67
|
+
var schemaDocumentDeliveryOrder_1 = require("./document/schemaDocumentDeliveryOrder");
|
|
68
68
|
Object.defineProperty(exports, "schemaDocumentDeliveryOrderCreatePayload", { enumerable: true, get: function () { return schemaDocumentDeliveryOrder_1.schemaDocumentDeliveryOrderCreatePayload; } });
|
|
69
69
|
Object.defineProperty(exports, "schemaDocumentDeliveryOrderUpdatePayload", { enumerable: true, get: function () { return schemaDocumentDeliveryOrder_1.schemaDocumentDeliveryOrderUpdatePayload; } });
|
|
70
|
-
var schemaDocumentReplacementDeliveryOrder_1 = require("
|
|
70
|
+
var schemaDocumentReplacementDeliveryOrder_1 = require("./document/schemaDocumentReplacementDeliveryOrder");
|
|
71
71
|
Object.defineProperty(exports, "schemaDocumentReplacementDeliveryOrderCreatePayload", { enumerable: true, get: function () { return schemaDocumentReplacementDeliveryOrder_1.schemaDocumentReplacementDeliveryOrderCreatePayload; } });
|
|
72
72
|
Object.defineProperty(exports, "schemaDocumentReplacementDeliveryOrderUpdatePayload", { enumerable: true, get: function () { return schemaDocumentReplacementDeliveryOrder_1.schemaDocumentReplacementDeliveryOrderUpdatePayload; } });
|
|
73
|
-
var schemaDocumentCashSales_1 = require("
|
|
73
|
+
var schemaDocumentCashSales_1 = require("./document/schemaDocumentCashSales");
|
|
74
74
|
Object.defineProperty(exports, "schemaDocumentCashSalesCreatePayload", { enumerable: true, get: function () { return schemaDocumentCashSales_1.schemaDocumentCashSalesCreatePayload; } });
|
|
75
75
|
Object.defineProperty(exports, "schemaDocumentCashSalesUpdatePayload", { enumerable: true, get: function () { return schemaDocumentCashSales_1.schemaDocumentCashSalesUpdatePayload; } });
|
|
76
|
-
var schemaDocumentTripOrder_1 = require("
|
|
76
|
+
var schemaDocumentTripOrder_1 = require("./document/schemaDocumentTripOrder");
|
|
77
77
|
Object.defineProperty(exports, "schemaDocumentTripOrderCreatePayload", { enumerable: true, get: function () { return schemaDocumentTripOrder_1.schemaDocumentTripOrderCreatePayload; } });
|
|
78
78
|
Object.defineProperty(exports, "schemaDocumentTripOrderUpdatePayload", { enumerable: true, get: function () { return schemaDocumentTripOrder_1.schemaDocumentTripOrderUpdatePayload; } });
|
|
79
|
-
var schemaItem_1 = require("
|
|
79
|
+
var schemaItem_1 = require("./item/schemaItem");
|
|
80
80
|
Object.defineProperty(exports, "schemaItemDeletePayload", { enumerable: true, get: function () { return schemaItem_1.schemaItemDeletePayload; } });
|
|
81
|
-
var schemaItemProduct_1 = require("
|
|
81
|
+
var schemaItemProduct_1 = require("./item/schemaItemProduct");
|
|
82
82
|
Object.defineProperty(exports, "schemaItemProductCreatePayload", { enumerable: true, get: function () { return schemaItemProduct_1.schemaItemProductCreatePayload; } });
|
|
83
83
|
Object.defineProperty(exports, "schemaItemProductUpdatePayload", { enumerable: true, get: function () { return schemaItemProduct_1.schemaItemProductUpdatePayload; } });
|
|
84
|
-
var schemaItemItem_1 = require("
|
|
84
|
+
var schemaItemItem_1 = require("./item/schemaItemItem");
|
|
85
85
|
Object.defineProperty(exports, "schemaItemItemCreatePayload", { enumerable: true, get: function () { return schemaItemItem_1.schemaItemItemCreatePayload; } });
|
|
86
86
|
Object.defineProperty(exports, "schemaItemItemUpdatePayload", { enumerable: true, get: function () { return schemaItemItem_1.schemaItemItemUpdatePayload; } });
|
|
87
87
|
Object.defineProperty(exports, "schemaItemItem", { enumerable: true, get: function () { return schemaItemItem_1.schemaItemItem; } });
|
|
88
|
-
var schemaItemCategory_1 = require("
|
|
88
|
+
var schemaItemCategory_1 = require("./item/schemaItemCategory");
|
|
89
89
|
Object.defineProperty(exports, "schemaItemCategoryCreatePayload", { enumerable: true, get: function () { return schemaItemCategory_1.schemaItemCategoryCreatePayload; } });
|
|
90
90
|
Object.defineProperty(exports, "schemaItemCategoryUpdatePayload", { enumerable: true, get: function () { return schemaItemCategory_1.schemaItemCategoryUpdatePayload; } });
|
|
91
|
-
var schemaItemBrand_1 = require("
|
|
91
|
+
var schemaItemBrand_1 = require("./item/schemaItemBrand");
|
|
92
92
|
Object.defineProperty(exports, "schemaItemBrandCreatePayload", { enumerable: true, get: function () { return schemaItemBrand_1.schemaItemBrandCreatePayload; } });
|
|
93
93
|
Object.defineProperty(exports, "schemaItemBrandUpdatePayload", { enumerable: true, get: function () { return schemaItemBrand_1.schemaItemBrandUpdatePayload; } });
|
|
94
|
-
var schemaItemUom_1 = require("
|
|
94
|
+
var schemaItemUom_1 = require("./item/schemaItemUom");
|
|
95
95
|
Object.defineProperty(exports, "schemaItemUomCreatePayload", { enumerable: true, get: function () { return schemaItemUom_1.schemaItemUomCreatePayload; } });
|
|
96
96
|
Object.defineProperty(exports, "schemaItemUomUpdatePayload", { enumerable: true, get: function () { return schemaItemUom_1.schemaItemUomUpdatePayload; } });
|
|
97
|
-
var schemaLocationLocation_1 = require("
|
|
97
|
+
var schemaLocationLocation_1 = require("./location/schemaLocationLocation");
|
|
98
98
|
Object.defineProperty(exports, "schemaLocationLocationCreatePayload", { enumerable: true, get: function () { return schemaLocationLocation_1.schemaLocationLocationCreatePayload; } });
|
|
99
99
|
Object.defineProperty(exports, "schemaLocationLocationUpdatePayload", { enumerable: true, get: function () { return schemaLocationLocation_1.schemaLocationLocationUpdatePayload; } });
|
|
100
100
|
Object.defineProperty(exports, "schemaLocationLocationDeletePayload", { enumerable: true, get: function () { return schemaLocationLocation_1.schemaLocationLocationDeletePayload; } });
|
|
101
|
-
var schemaLocationRack_1 = require("
|
|
101
|
+
var schemaLocationRack_1 = require("./location/schemaLocationRack");
|
|
102
102
|
Object.defineProperty(exports, "schemaLocationRackCreatePayload", { enumerable: true, get: function () { return schemaLocationRack_1.schemaLocationRackCreatePayload; } });
|
|
103
103
|
Object.defineProperty(exports, "schemaLocationRackUpdatePayload", { enumerable: true, get: function () { return schemaLocationRack_1.schemaLocationRackUpdatePayload; } });
|
|
104
104
|
Object.defineProperty(exports, "schemaLocationRackDeletePayload", { enumerable: true, get: function () { return schemaLocationRack_1.schemaLocationRackDeletePayload; } });
|
|
105
|
-
var schemaLocationSlot_1 = require("
|
|
105
|
+
var schemaLocationSlot_1 = require("./location/schemaLocationSlot");
|
|
106
106
|
Object.defineProperty(exports, "schemaLocationSlotCreatePayload", { enumerable: true, get: function () { return schemaLocationSlot_1.schemaLocationSlotCreatePayload; } });
|
|
107
107
|
Object.defineProperty(exports, "schemaLocationSlotUpdatePayload", { enumerable: true, get: function () { return schemaLocationSlot_1.schemaLocationSlotUpdatePayload; } });
|
|
108
108
|
Object.defineProperty(exports, "schemaLocationSlotDeletePayload", { enumerable: true, get: function () { return schemaLocationSlot_1.schemaLocationSlotDeletePayload; } });
|
|
109
109
|
Object.defineProperty(exports, "schemaSlot", { enumerable: true, get: function () { return schemaLocationSlot_1.schemaSlot; } });
|
|
110
|
-
var schemaInjectionField_1 = require("
|
|
110
|
+
var schemaInjectionField_1 = require("./injection_field/schemaInjectionField");
|
|
111
111
|
Object.defineProperty(exports, "schemaInjectionFieldReplacePayload", { enumerable: true, get: function () { return schemaInjectionField_1.schemaInjectionFieldReplacePayload; } });
|
|
112
112
|
Object.defineProperty(exports, "schemaInjectionFieldCreatePayload", { enumerable: true, get: function () { return schemaInjectionField_1.schemaInjectionFieldCreatePayload; } });
|
|
113
113
|
Object.defineProperty(exports, "schemaInjectionFieldDeletePayload", { enumerable: true, get: function () { return schemaInjectionField_1.schemaInjectionFieldDeletePayload; } });
|
|
114
|
-
var schemaRegionCountry_1 = require("
|
|
114
|
+
var schemaRegionCountry_1 = require("./region/schemaRegionCountry");
|
|
115
115
|
Object.defineProperty(exports, "schemaRegionCountryCreatePayload", { enumerable: true, get: function () { return schemaRegionCountry_1.schemaRegionCountryCreatePayload; } });
|
|
116
116
|
Object.defineProperty(exports, "schemaRegionCountryUpdatePayload", { enumerable: true, get: function () { return schemaRegionCountry_1.schemaRegionCountryUpdatePayload; } });
|
|
117
117
|
Object.defineProperty(exports, "schemaRegionCountryDeletePayload", { enumerable: true, get: function () { return schemaRegionCountry_1.schemaRegionCountryDeletePayload; } });
|
|
118
|
-
var schemaRegionState_1 = require("
|
|
118
|
+
var schemaRegionState_1 = require("./region/schemaRegionState");
|
|
119
119
|
Object.defineProperty(exports, "schemaRegionStateCreatePayload", { enumerable: true, get: function () { return schemaRegionState_1.schemaRegionStateCreatePayload; } });
|
|
120
120
|
Object.defineProperty(exports, "schemaRegionStateDeletePayload", { enumerable: true, get: function () { return schemaRegionState_1.schemaRegionStateDeletePayload; } });
|
|
121
121
|
Object.defineProperty(exports, "schemaRegionStateUpdatePayload", { enumerable: true, get: function () { return schemaRegionState_1.schemaRegionStateUpdatePayload; } });
|
|
122
|
-
var schemaRegionArea_1 = require("
|
|
122
|
+
var schemaRegionArea_1 = require("./region/schemaRegionArea");
|
|
123
123
|
Object.defineProperty(exports, "schemaRegionAreaCreatePayload", { enumerable: true, get: function () { return schemaRegionArea_1.schemaRegionAreaCreatePayload; } });
|
|
124
124
|
Object.defineProperty(exports, "schemaRegionAreaDeletePayload", { enumerable: true, get: function () { return schemaRegionArea_1.schemaRegionAreaDeletePayload; } });
|
|
125
125
|
Object.defineProperty(exports, "schemaRegionAreaUpdatePayload", { enumerable: true, get: function () { return schemaRegionArea_1.schemaRegionAreaUpdatePayload; } });
|
|
126
|
-
// export { schemaChangePasswordUtilPayload } from "
|
|
127
|
-
// export type { SchemaChangePasswordUtilPayload } from "
|
|
128
|
-
var schemaAccessKeyUtil_1 = require("
|
|
126
|
+
// export { schemaChangePasswordUtilPayload } from "./utils/unuse/schemaChangePasswordUtil";
|
|
127
|
+
// export type { SchemaChangePasswordUtilPayload } from "./utils/unuse/schemaChangePasswordUtil";
|
|
128
|
+
var schemaAccessKeyUtil_1 = require("./utils/schemaAccessKeyUtil");
|
|
129
129
|
Object.defineProperty(exports, "schemaAccessKeyUtilValidatePayload", { enumerable: true, get: function () { return schemaAccessKeyUtil_1.schemaAccessKeyUtilValidatePayload; } });
|
|
130
130
|
Object.defineProperty(exports, "schemaAccessKeyUtilAccountOwnerPayload", { enumerable: true, get: function () { return schemaAccessKeyUtil_1.schemaAccessKeyUtilAccountOwnerPayload; } });
|
|
131
131
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/payload/index.ts"],"names":[],"mappings":"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","sourcesContent":["export { schemaAuthTokenPayload, schemaAuthTokenOptionalAccountPayload, schemaAuthTokenOperatorPayload } from \"@/schema/payload/auth/schemaAuthToken\";\nexport type { SchemaAuthTokenPayload, SchemaAuthTokenOptionalAccountPayload, SchemaAuthTokenOperatorPayload } from \"@/schema/payload/auth/schemaAuthToken\";\n\nexport { schemaAccessKeyCreatePayload, schemaAccessKeyRevokePayload } from \"@/schema/payload/access_key/schemaAccessKey\";\nexport type { SchemaAccessKeyCreatePayload, SchemaAccessKeyRevokePayload } from \"@/schema/payload/access_key/schemaAccessKey\";\n\nexport { schemaResetPasswordRequestPayload, schemaResetPasswordValidateCodePayload, schemaResetPasswordPerformPayload } from \"@/schema/payload/reset_password/schemaResetPassword\";\nexport type { SchemaResetPasswordRequestPayload, SchemaResetPasswordValidateCodePayload, SchemaResetPasswordPerformPayload } from \"@/schema/payload/reset_password/schemaResetPassword\";\n\nexport { schemaAccountCreatePayload, schemaAccountUpdatePayload, schemaAccountDeletePayload } from \"@/schema/payload/account/schemaAccount\";\nexport type { SchemaAccountCreatePayload, SchemaAccountUpdatePayload, SchemaAccountDeletePayload } from \"@/schema/payload/account/schemaAccount\";\n\nexport { schemaBusinessCreatePayload, schemaBusiness, schemaBusinessUpdatePayload, schemaBusinessDeletePayload } from \"@/schema/payload/business/schemaBusiness\";\nexport type { SchemaBusinessCreatePayload, SchemaBusinessUpdatePayload, SchemaBusinessDeletePayload } from \"@/schema/payload/business/schemaBusiness\";\n\nexport { schemaUserDeletePayload, schemaUserCredential } from \"@/schema/payload/user/schemaUser\";\nexport type { SchemaUserDeletePayload } from \"@/schema/payload/user/schemaUser\";\nexport { schemaUserMeChangePasswordPayload, schemaUserMeUpdatePayload } from \"@/schema/payload/user/schemaUserMe\";\nexport type { SchemaUserMeChangePasswordPayload, SchemaUserMeUpdatePayload } from \"@/schema/payload/user/schemaUserMe\";\nexport { schemaUserOperatorCreatePayload, schemaUserOperatorUpdatePayload } from \"@/schema/payload/user/schemaUserOperator\";\nexport type { SchemaUserOperatorCreatePayload, SchemaUserOperatorUpdatePayload } from \"@/schema/payload/user/schemaUserOperator\";\nexport { schemaUserCustomerCreatePayload, schemaUserCustomerUpdatePayload } from \"@/schema/payload/user/schemaUserCustomer\";\nexport type { SchemaUserCustomerCreatePayload, SchemaUserCustomerUpdatePayload } from \"@/schema/payload/user/schemaUserCustomer\";\nexport { schemaUserRetailerCreatePayload, schemaUserRetailerUpdatePayload } from \"@/schema/payload/user/schemaUserRetailer\";\nexport type { SchemaUserRetailerCreatePayload, SchemaUserRetailerUpdatePayload } from \"@/schema/payload/user/schemaUserRetailer\";\nexport { schemaUserAdministratorCreatePayload, schemaUserAdministratorUpdatePayload } from \"@/schema/payload/user/schemaUserAdministrator\";\nexport type { SchemaUserAdministratorCreatePayload, SchemaUserAdministratorUpdatePayload } from \"@/schema/payload/user/schemaUserAdministrator\";\nexport { schemaUserWorkerCreatePayload, schemaUserWorkerUpdatePayload } from \"@/schema/payload/user/schemaUserWorker\";\nexport type { SchemaUserWorkerCreatePayload, SchemaUserWorkerUpdatePayload } from \"@/schema/payload/user/schemaUserWorker\";\nexport { schemaUserDriverCreatePayload, schemaUserDriverUpdatePayload } from \"@/schema/payload/user/schemaUserDriver\";\nexport type { SchemaUserDriverCreatePayload, SchemaUserDriverUpdatePayload } from \"@/schema/payload/user/schemaUserDriver\";\nexport { schemaUserMemberCreatePayload, schemaUserMemberUpdatePayload } from \"@/schema/payload/user/schemaUserMember\";\nexport type { SchemaUserMemberCreatePayload, SchemaUserMemberUpdatePayload } from \"@/schema/payload/user/schemaUserMember\";\nexport { schemaUserAgentCreatePayload, schemaUserAgentUpdatePayload } from \"@/schema/payload/user/schemaUserAgent\";\nexport type { SchemaUserAgentCreatePayload, SchemaUserAgentUpdatePayload } from \"@/schema/payload/user/schemaUserAgent\";\n\nexport { schemaFileUploadPayload, schemaFileDeletePayload } from \"@/schema/payload/file/schemaFile\";\nexport type { SchemaFileUploadPayload, SchemaFileDeletePayload } from \"@/schema/payload/file/schemaFile\";\n\nexport { schemaDocumentDeletePayload, eNumDocumentTypes } from \"@/schema/payload/document/schemaDocument\";\nexport type { SchemaDocumentDeletePayload } from \"@/schema/payload/document/schemaDocument\";\nexport { schemaDocumentSalesOrderCreatePayload, schemaDocumentSalesOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentSalesOrder\";\nexport type { SchemaDocumentSalesOrderCreatePayload, SchemaDocumentSalesOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentSalesOrder\";\nexport { schemaDocumentProformaSalesCreatePayload, schemaDocumentProformaSalesUpdatePayload } from \"@/schema/payload/document/schemaDocumentProformaSales\";\nexport type { SchemaDocumentProformaSalesCreatePayload, SchemaDocumentProformaSalesUpdatePayload } from \"@/schema/payload/document/schemaDocumentProformaSales\";\nexport { schemaDocumentDeliveryOrderCreatePayload, schemaDocumentDeliveryOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentDeliveryOrder\";\nexport type { SchemaDocumentDeliveryOrderCreatePayload, SchemaDocumentDeliveryOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentDeliveryOrder\";\nexport { schemaDocumentReplacementDeliveryOrderCreatePayload, schemaDocumentReplacementDeliveryOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentReplacementDeliveryOrder\";\nexport type { SchemaDocumentReplacementDeliveryOrderCreatePayload, SchemaDocumentReplacementDeliveryOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentReplacementDeliveryOrder\";\nexport { schemaDocumentCashSalesCreatePayload, schemaDocumentCashSalesUpdatePayload } from \"@/schema/payload/document/schemaDocumentCashSales\";\nexport type { SchemaDocumentCashSalesCreatePayload, SchemaDocumentCashSalesUpdatePayload } from \"@/schema/payload/document/schemaDocumentCashSales\";\nexport { schemaDocumentTripOrderCreatePayload, schemaDocumentTripOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentTripOrder\";\nexport type { SchemaDocumentTripOrderCreatePayload, SchemaDocumentTripOrderUpdatePayload } from \"@/schema/payload/document/schemaDocumentTripOrder\";\n\nexport { schemaItemDeletePayload } from \"@/schema/payload/item/schemaItem\";\nexport type { SchemaItemDeletePayload } from \"@/schema/payload/item/schemaItem\";\nexport { schemaItemProductCreatePayload, schemaItemProductUpdatePayload } from \"@/schema/payload/item/schemaItemProduct\";\nexport type { SchemaItemProductCreatePayload, SchemaItemProductUpdatePayload } from \"@/schema/payload/item/schemaItemProduct\";\nexport { schemaItemItemCreatePayload, schemaItemItemUpdatePayload, schemaItemItem } from \"@/schema/payload/item/schemaItemItem\";\nexport type { SchemaItemItemCreatePayload, SchemaItemItemUpdatePayload } from \"@/schema/payload/item/schemaItemItem\";\nexport { schemaItemCategoryCreatePayload, schemaItemCategoryUpdatePayload } from \"@/schema/payload/item/schemaItemCategory\";\nexport type { SchemaItemCategoryCreatePayload, SchemaItemCategoryUpdatePayload } from \"@/schema/payload/item/schemaItemCategory\";\nexport { schemaItemBrandCreatePayload, schemaItemBrandUpdatePayload } from \"@/schema/payload/item/schemaItemBrand\";\nexport type { SchemaItemBrandCreatePayload, SchemaItemBrandUpdatePayload } from \"@/schema/payload/item/schemaItemBrand\";\nexport { schemaItemUomCreatePayload, schemaItemUomUpdatePayload } from \"@/schema/payload/item/schemaItemUom\";\nexport type { SchemaItemUomCreatePayload, SchemaItemUomUpdatePayload } from \"@/schema/payload/item/schemaItemUom\";\n\nexport { schemaLocationLocationCreatePayload, schemaLocationLocationUpdatePayload, schemaLocationLocationDeletePayload, } from \"@/schema/payload/location/schemaLocationLocation\";\nexport type { SchemaLocationLocationCreatePayload, SchemaLocationLocationUpdatePayload, SchemaLocationLocationDeletePayload } from \"@/schema/payload/location/schemaLocationLocation\";\nexport { schemaLocationRackCreatePayload, schemaLocationRackUpdatePayload, schemaLocationRackDeletePayload, } from \"@/schema/payload/location/schemaLocationRack\";\nexport type { SchemaLocationRackCreatePayload, SchemaLocationRackUpdatePayload, SchemaLocationRackDeletePayload } from \"@/schema/payload/location/schemaLocationRack\";\nexport { schemaLocationSlotCreatePayload, schemaLocationSlotUpdatePayload, schemaLocationSlotDeletePayload, schemaSlot } from \"@/schema/payload/location/schemaLocationSlot\";\nexport type { SchemaLocationSlotCreatePayload, SchemaLocationSlotUpdatePayload, SchemaLocationSlotDeletePayload } from \"@/schema/payload/location/schemaLocationSlot\";\n\nexport { schemaInjectionFieldReplacePayload, schemaInjectionFieldCreatePayload, schemaInjectionFieldDeletePayload } from \"@/schema/payload/injection_field/schemaInjectionField\";\nexport type { SchemaInjectionFieldReplacePayload, SchemaInjectionFieldCreatePayload, SchemaInjectionFieldDeletePayload } from \"@/schema/payload/injection_field/schemaInjectionField\";\n\nexport { schemaRegionCountryCreatePayload, schemaRegionCountryUpdatePayload, schemaRegionCountryDeletePayload } from \"@/schema/payload/region/schemaRegionCountry\";\nexport type { SchemaRegionCountryCreatePayload, SchemaRegionCountryDeletePayload } from \"@/schema/payload/region/schemaRegionCountry\";\nexport { schemaRegionStateCreatePayload, schemaRegionStateDeletePayload, schemaRegionStateUpdatePayload } from \"@/schema/payload/region/schemaRegionState\";\nexport type { SchemaRegionStateCreatePayload, SchemaRegionStateDeletePayload } from \"@/schema/payload/region/schemaRegionState\";\nexport { schemaRegionAreaCreatePayload, schemaRegionAreaDeletePayload, schemaRegionAreaUpdatePayload, } from \"@/schema/payload/region/schemaRegionArea\";\nexport type { SchemaRegionAreaCreatePayload, SchemaRegionAreaDeletePayload, SchemaRegionAreaUpdatePayload } from \"@/schema/payload/region/schemaRegionArea\";\n\n// export { schemaChangePasswordUtilPayload } from \"@/schema/payload/utils/unuse/schemaChangePasswordUtil\";\n// export type { SchemaChangePasswordUtilPayload } from \"@/schema/payload/utils/unuse/schemaChangePasswordUtil\";\nexport { schemaAccessKeyUtilValidatePayload, schemaAccessKeyUtilAccountOwnerPayload } from \"@/schema/payload/utils/schemaAccessKeyUtil\";\nexport type { SchemaAccessKeyUtilValidatePayload, SchemaAccessKeyUtilAccountOwnerPayload } from \"@/schema/payload/utils/schemaAccessKeyUtil\";"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/payload/index.ts"],"names":[],"mappings":"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","sourcesContent":["export { schemaAuthTokenPayload, schemaAuthTokenOptionalAccountPayload, schemaAuthTokenOperatorPayload } from \"./auth/schemaAuthToken\";\nexport type { SchemaAuthTokenPayload, SchemaAuthTokenOptionalAccountPayload, SchemaAuthTokenOperatorPayload } from \"./auth/schemaAuthToken\";\n\nexport { schemaAccessKeyCreatePayload, schemaAccessKeyRevokePayload } from \"./access_key/schemaAccessKey\";\nexport type { SchemaAccessKeyCreatePayload, SchemaAccessKeyRevokePayload } from \"./access_key/schemaAccessKey\";\n\nexport { schemaResetPasswordRequestPayload, schemaResetPasswordValidateCodePayload, schemaResetPasswordPerformPayload } from \"./reset_password/schemaResetPassword\";\nexport type { SchemaResetPasswordRequestPayload, SchemaResetPasswordValidateCodePayload, SchemaResetPasswordPerformPayload } from \"./reset_password/schemaResetPassword\";\n\nexport { schemaAccountCreatePayload, schemaAccountUpdatePayload, schemaAccountDeletePayload } from \"./account/schemaAccount\";\nexport type { SchemaAccountCreatePayload, SchemaAccountUpdatePayload, SchemaAccountDeletePayload } from \"./account/schemaAccount\";\n\nexport { schemaBusinessCreatePayload, schemaBusiness, schemaBusinessUpdatePayload, schemaBusinessDeletePayload } from \"./business/schemaBusiness\";\nexport type { SchemaBusinessCreatePayload, SchemaBusinessUpdatePayload, SchemaBusinessDeletePayload } from \"./business/schemaBusiness\";\n\nexport { schemaUserDeletePayload, schemaUserCredential } from \"./user/schemaUser\";\nexport type { SchemaUserDeletePayload } from \"./user/schemaUser\";\nexport { schemaUserMeChangePasswordPayload, schemaUserMeUpdatePayload } from \"./user/schemaUserMe\";\nexport type { SchemaUserMeChangePasswordPayload, SchemaUserMeUpdatePayload } from \"./user/schemaUserMe\";\nexport { schemaUserOperatorCreatePayload, schemaUserOperatorUpdatePayload } from \"./user/schemaUserOperator\";\nexport type { SchemaUserOperatorCreatePayload, SchemaUserOperatorUpdatePayload } from \"./user/schemaUserOperator\";\nexport { schemaUserCustomerCreatePayload, schemaUserCustomerUpdatePayload } from \"./user/schemaUserCustomer\";\nexport type { SchemaUserCustomerCreatePayload, SchemaUserCustomerUpdatePayload } from \"./user/schemaUserCustomer\";\nexport { schemaUserRetailerCreatePayload, schemaUserRetailerUpdatePayload } from \"./user/schemaUserRetailer\";\nexport type { SchemaUserRetailerCreatePayload, SchemaUserRetailerUpdatePayload } from \"./user/schemaUserRetailer\";\nexport { schemaUserAdministratorCreatePayload, schemaUserAdministratorUpdatePayload } from \"./user/schemaUserAdministrator\";\nexport type { SchemaUserAdministratorCreatePayload, SchemaUserAdministratorUpdatePayload } from \"./user/schemaUserAdministrator\";\nexport { schemaUserWorkerCreatePayload, schemaUserWorkerUpdatePayload } from \"./user/schemaUserWorker\";\nexport type { SchemaUserWorkerCreatePayload, SchemaUserWorkerUpdatePayload } from \"./user/schemaUserWorker\";\nexport { schemaUserDriverCreatePayload, schemaUserDriverUpdatePayload } from \"./user/schemaUserDriver\";\nexport type { SchemaUserDriverCreatePayload, SchemaUserDriverUpdatePayload } from \"./user/schemaUserDriver\";\nexport { schemaUserMemberCreatePayload, schemaUserMemberUpdatePayload } from \"./user/schemaUserMember\";\nexport type { SchemaUserMemberCreatePayload, SchemaUserMemberUpdatePayload } from \"./user/schemaUserMember\";\nexport { schemaUserAgentCreatePayload, schemaUserAgentUpdatePayload } from \"./user/schemaUserAgent\";\nexport type { SchemaUserAgentCreatePayload, SchemaUserAgentUpdatePayload } from \"./user/schemaUserAgent\";\n\nexport { schemaFileUploadPayload, schemaFileDeletePayload } from \"./file/schemaFile\";\nexport type { SchemaFileUploadPayload, SchemaFileDeletePayload } from \"./file/schemaFile\";\n\nexport { schemaDocumentDeletePayload, eNumDocumentTypes } from \"./document/schemaDocument\";\nexport type { SchemaDocumentDeletePayload } from \"./document/schemaDocument\";\nexport { schemaDocumentSalesOrderCreatePayload, schemaDocumentSalesOrderUpdatePayload } from \"./document/schemaDocumentSalesOrder\";\nexport type { SchemaDocumentSalesOrderCreatePayload, SchemaDocumentSalesOrderUpdatePayload } from \"./document/schemaDocumentSalesOrder\";\nexport { schemaDocumentProformaSalesCreatePayload, schemaDocumentProformaSalesUpdatePayload } from \"./document/schemaDocumentProformaSales\";\nexport type { SchemaDocumentProformaSalesCreatePayload, SchemaDocumentProformaSalesUpdatePayload } from \"./document/schemaDocumentProformaSales\";\nexport { schemaDocumentDeliveryOrderCreatePayload, schemaDocumentDeliveryOrderUpdatePayload } from \"./document/schemaDocumentDeliveryOrder\";\nexport type { SchemaDocumentDeliveryOrderCreatePayload, SchemaDocumentDeliveryOrderUpdatePayload } from \"./document/schemaDocumentDeliveryOrder\";\nexport { schemaDocumentReplacementDeliveryOrderCreatePayload, schemaDocumentReplacementDeliveryOrderUpdatePayload } from \"./document/schemaDocumentReplacementDeliveryOrder\";\nexport type { SchemaDocumentReplacementDeliveryOrderCreatePayload, SchemaDocumentReplacementDeliveryOrderUpdatePayload } from \"./document/schemaDocumentReplacementDeliveryOrder\";\nexport { schemaDocumentCashSalesCreatePayload, schemaDocumentCashSalesUpdatePayload } from \"./document/schemaDocumentCashSales\";\nexport type { SchemaDocumentCashSalesCreatePayload, SchemaDocumentCashSalesUpdatePayload } from \"./document/schemaDocumentCashSales\";\nexport { schemaDocumentTripOrderCreatePayload, schemaDocumentTripOrderUpdatePayload } from \"./document/schemaDocumentTripOrder\";\nexport type { SchemaDocumentTripOrderCreatePayload, SchemaDocumentTripOrderUpdatePayload } from \"./document/schemaDocumentTripOrder\";\n\nexport { schemaItemDeletePayload } from \"./item/schemaItem\";\nexport type { SchemaItemDeletePayload } from \"./item/schemaItem\";\nexport { schemaItemProductCreatePayload, schemaItemProductUpdatePayload } from \"./item/schemaItemProduct\";\nexport type { SchemaItemProductCreatePayload, SchemaItemProductUpdatePayload } from \"./item/schemaItemProduct\";\nexport { schemaItemItemCreatePayload, schemaItemItemUpdatePayload, schemaItemItem } from \"./item/schemaItemItem\";\nexport type { SchemaItemItemCreatePayload, SchemaItemItemUpdatePayload } from \"./item/schemaItemItem\";\nexport { schemaItemCategoryCreatePayload, schemaItemCategoryUpdatePayload } from \"./item/schemaItemCategory\";\nexport type { SchemaItemCategoryCreatePayload, SchemaItemCategoryUpdatePayload } from \"./item/schemaItemCategory\";\nexport { schemaItemBrandCreatePayload, schemaItemBrandUpdatePayload } from \"./item/schemaItemBrand\";\nexport type { SchemaItemBrandCreatePayload, SchemaItemBrandUpdatePayload } from \"./item/schemaItemBrand\";\nexport { schemaItemUomCreatePayload, schemaItemUomUpdatePayload } from \"./item/schemaItemUom\";\nexport type { SchemaItemUomCreatePayload, SchemaItemUomUpdatePayload } from \"./item/schemaItemUom\";\n\nexport { schemaLocationLocationCreatePayload, schemaLocationLocationUpdatePayload, schemaLocationLocationDeletePayload, } from \"./location/schemaLocationLocation\";\nexport type { SchemaLocationLocationCreatePayload, SchemaLocationLocationUpdatePayload, SchemaLocationLocationDeletePayload } from \"./location/schemaLocationLocation\";\nexport { schemaLocationRackCreatePayload, schemaLocationRackUpdatePayload, schemaLocationRackDeletePayload, } from \"./location/schemaLocationRack\";\nexport type { SchemaLocationRackCreatePayload, SchemaLocationRackUpdatePayload, SchemaLocationRackDeletePayload } from \"./location/schemaLocationRack\";\nexport { schemaLocationSlotCreatePayload, schemaLocationSlotUpdatePayload, schemaLocationSlotDeletePayload, schemaSlot } from \"./location/schemaLocationSlot\";\nexport type { SchemaLocationSlotCreatePayload, SchemaLocationSlotUpdatePayload, SchemaLocationSlotDeletePayload } from \"./location/schemaLocationSlot\";\n\nexport { schemaInjectionFieldReplacePayload, schemaInjectionFieldCreatePayload, schemaInjectionFieldDeletePayload } from \"./injection_field/schemaInjectionField\";\nexport type { SchemaInjectionFieldReplacePayload, SchemaInjectionFieldCreatePayload, SchemaInjectionFieldDeletePayload } from \"./injection_field/schemaInjectionField\";\n\nexport { schemaRegionCountryCreatePayload, schemaRegionCountryUpdatePayload, schemaRegionCountryDeletePayload } from \"./region/schemaRegionCountry\";\nexport type { SchemaRegionCountryCreatePayload, SchemaRegionCountryDeletePayload } from \"./region/schemaRegionCountry\";\nexport { schemaRegionStateCreatePayload, schemaRegionStateDeletePayload, schemaRegionStateUpdatePayload } from \"./region/schemaRegionState\";\nexport type { SchemaRegionStateCreatePayload, SchemaRegionStateDeletePayload } from \"./region/schemaRegionState\";\nexport { schemaRegionAreaCreatePayload, schemaRegionAreaDeletePayload, schemaRegionAreaUpdatePayload, } from \"./region/schemaRegionArea\";\nexport type { SchemaRegionAreaCreatePayload, SchemaRegionAreaDeletePayload, SchemaRegionAreaUpdatePayload } from \"./region/schemaRegionArea\";\n\n// export { schemaChangePasswordUtilPayload } from \"./utils/unuse/schemaChangePasswordUtil\";\n// export type { SchemaChangePasswordUtilPayload } from \"./utils/unuse/schemaChangePasswordUtil\";\nexport { schemaAccessKeyUtilValidatePayload, schemaAccessKeyUtilAccountOwnerPayload } from \"./utils/schemaAccessKeyUtil\";\nexport type { SchemaAccessKeyUtilValidatePayload, SchemaAccessKeyUtilAccountOwnerPayload } from \"./utils/schemaAccessKeyUtil\";"]}
|
|
@@ -17,6 +17,7 @@ export declare const schemaUserCredential: z.ZodObject<{
|
|
|
17
17
|
}>;
|
|
18
18
|
address: z.ZodOptional<z.ZodString>;
|
|
19
19
|
email: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
|
20
|
+
parentUserId: z.ZodOptional<z.ZodNumber>;
|
|
20
21
|
status: z.ZodBoolean;
|
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
|
22
23
|
status: boolean;
|
|
@@ -30,6 +31,7 @@ export declare const schemaUserCredential: z.ZodObject<{
|
|
|
30
31
|
username: string;
|
|
31
32
|
password: string;
|
|
32
33
|
address?: string | undefined;
|
|
34
|
+
parentUserId?: number | undefined;
|
|
33
35
|
}, {
|
|
34
36
|
status: boolean;
|
|
35
37
|
firstname: string;
|
|
@@ -42,6 +44,7 @@ export declare const schemaUserCredential: z.ZodObject<{
|
|
|
42
44
|
username: string;
|
|
43
45
|
password: string;
|
|
44
46
|
address?: string | undefined;
|
|
47
|
+
parentUserId?: number | undefined;
|
|
45
48
|
}>;
|
|
46
49
|
/** Delete */
|
|
47
50
|
export declare const schemaUserDeletePayload: z.ZodObject<{
|
|
@@ -22,6 +22,7 @@ exports.schemaUserCredential = zod_1.z.object({
|
|
|
22
22
|
}),
|
|
23
23
|
address: zod_1.z.string().optional(),
|
|
24
24
|
email: zod_1.z.string().email().or(zod_1.z.literal("")), // allow "" or valid email
|
|
25
|
+
parentUserId: zod_1.z.number().optional(),
|
|
25
26
|
status: zod_1.z.boolean()
|
|
26
27
|
});
|
|
27
28
|
/** Delete */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaUser.js","sourceRoot":"","sources":["../../../../src/schema/payload/user/schemaUser.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAIxB,yCAAuC;AAEvC,cAAc;AACD,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,uBAAuB;IACvB,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC;YAClB,cAAc,EAAE,0BAA0B;YAC1C,kBAAkB,EAAE,+BAA+B;SACtD,CAAC;QACF,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;aAClB,GAAG,CAAC,CAAC,EAAE,2BAA2B,CAAC;aACnC,GAAG,CAAC,EAAE,EAAE,0BAA0B,CAAC;aACnC,KAAK,CAAC,OAAO,EAAE,uCAAuC,CAAC;KAC/D,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,0BAA0B;IACvE,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAA;AAEF,aAAa;AACA,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACZ,0GAA0G;QAC1G,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAS,CAA0B,CAAC;KAClE,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,GAAG,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,sCAAsC,CAAC;KAC1E,CAAC;CACL,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { _, dayjs } from \"@/utils\";\n\nimport { userTypes } from \"@/services\";\n\n/** General */\nexport const schemaUserCredential = z.object({\n username: z.string().min(1),\n password: z.string().min(1),\n firstname: z.string().min(1),\n lastname: z.string(),\n // contact: z.string(),\n contact: z.object({\n countryCode: z.number({\n required_error: \"Country code is required\",\n invalid_type_error: \"Country code must be a number\",\n }),\n phoneNumber: z.string()\n .min(4, \"Phone number is too short\")\n .max(20, \"Phone number is too long\")\n .regex(/^\\d+$/, \"Phone number must contain digits only\"),\n }),\n address: z.string().optional(),\n email: z.string().email().or(z.literal(\"\")), // allow \"\" or valid email\n status: z.boolean()\n})\n\n/** Delete */\nexport const schemaUserDeletePayload = z.object({\n scope: z.object({\n // target: z.enum([\"operator\", \"customer\", \"administrator\", \"worker\", \"retailer\"]), // only allowed values\n target: z.enum(Object.keys(userTypes) as [string, ...string[]])\n }),\n payload: z.object({\n ids: z.array(z.number()).min(1, \"ids must contain at least one number\"),\n }),\n});\n\nexport type SchemaUserDeletePayload = z.infer<typeof schemaUserDeletePayload>;"]}
|
|
1
|
+
{"version":3,"file":"schemaUser.js","sourceRoot":"","sources":["../../../../src/schema/payload/user/schemaUser.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAIxB,yCAAuC;AAEvC,cAAc;AACD,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,uBAAuB;IACvB,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC;YAClB,cAAc,EAAE,0BAA0B;YAC1C,kBAAkB,EAAE,+BAA+B;SACtD,CAAC;QACF,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;aAClB,GAAG,CAAC,CAAC,EAAE,2BAA2B,CAAC;aACnC,GAAG,CAAC,EAAE,EAAE,0BAA0B,CAAC;aACnC,KAAK,CAAC,OAAO,EAAE,uCAAuC,CAAC;KAC/D,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,0BAA0B;IACvE,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAA;AAEF,aAAa;AACA,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACZ,0GAA0G;QAC1G,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAS,CAA0B,CAAC;KAClE,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,GAAG,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,sCAAsC,CAAC;KAC1E,CAAC;CACL,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { _, dayjs } from \"@/utils\";\n\nimport { userTypes } from \"@/services\";\n\n/** General */\nexport const schemaUserCredential = z.object({\n username: z.string().min(1),\n password: z.string().min(1),\n firstname: z.string().min(1),\n lastname: z.string(),\n // contact: z.string(),\n contact: z.object({\n countryCode: z.number({\n required_error: \"Country code is required\",\n invalid_type_error: \"Country code must be a number\",\n }),\n phoneNumber: z.string()\n .min(4, \"Phone number is too short\")\n .max(20, \"Phone number is too long\")\n .regex(/^\\d+$/, \"Phone number must contain digits only\"),\n }),\n address: z.string().optional(),\n email: z.string().email().or(z.literal(\"\")), // allow \"\" or valid email\n parentUserId: z.number().optional(),\n status: z.boolean()\n})\n\n/** Delete */\nexport const schemaUserDeletePayload = z.object({\n scope: z.object({\n // target: z.enum([\"operator\", \"customer\", \"administrator\", \"worker\", \"retailer\"]), // only allowed values\n target: z.enum(Object.keys(userTypes) as [string, ...string[]])\n }),\n payload: z.object({\n ids: z.array(z.number()).min(1, \"ids must contain at least one number\"),\n }),\n});\n\nexport type SchemaUserDeletePayload = z.infer<typeof schemaUserDeletePayload>;"]}
|