@deliverart/sdk-js-user 2.22.1 → 2.23.2
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/README.md +37 -1
- package/dist/index.cjs +124 -2
- package/dist/index.d.cts +159 -2
- package/dist/index.d.ts +159 -2
- package/dist/index.js +111 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -24,6 +24,7 @@ type UserRole =
|
|
|
24
24
|
| 'ROLE_STAFF'
|
|
25
25
|
| 'ROLE_DRIVER'
|
|
26
26
|
| 'ROLE_CUSTOMER'
|
|
27
|
+
| 'ROLE_ECOMMERCE_CUSTOMER'
|
|
27
28
|
```
|
|
28
29
|
|
|
29
30
|
### IRI Types
|
|
@@ -107,6 +108,42 @@ await sdk.call(new DeleteUser('user-123'));
|
|
|
107
108
|
|
|
108
109
|
---
|
|
109
110
|
|
|
111
|
+
### Current User Email Verification
|
|
112
|
+
```typescript
|
|
113
|
+
import {
|
|
114
|
+
SendCurrentUserEmailVerificationCode,
|
|
115
|
+
VerifyCurrentUserEmailVerificationCode
|
|
116
|
+
} from '@deliverart/sdk-js-user';
|
|
117
|
+
|
|
118
|
+
await sdk.call(new SendCurrentUserEmailVerificationCode());
|
|
119
|
+
|
|
120
|
+
const status = await sdk.call(new VerifyCurrentUserEmailVerificationCode({
|
|
121
|
+
code: '123456'
|
|
122
|
+
}));
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Use these requests for first-party ecommerce customer accounts. The API sends a six-digit email code and returns the verification status, cooldown, expiry, and remaining attempts.
|
|
126
|
+
|
|
127
|
+
For pending ecommerce registrations that are not logged in yet, call the email-scoped requests with a server-side registration token. Do this only from a backend/BFF boundary; the registration token must never be exposed to browser code:
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
import {
|
|
131
|
+
SendEmailVerificationCodeByEmail,
|
|
132
|
+
VerifyEmailVerificationCodeByEmail
|
|
133
|
+
} from '@deliverart/sdk-js-user';
|
|
134
|
+
|
|
135
|
+
await sdk.call(new SendEmailVerificationCodeByEmail({
|
|
136
|
+
email: 'customer@example.com'
|
|
137
|
+
}));
|
|
138
|
+
|
|
139
|
+
const status = await sdk.call(new VerifyEmailVerificationCodeByEmail({
|
|
140
|
+
email: 'customer@example.com',
|
|
141
|
+
code: '123456'
|
|
142
|
+
}));
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
110
147
|
## Complete Usage Example
|
|
111
148
|
|
|
112
149
|
```typescript
|
|
@@ -143,4 +180,3 @@ async function userManagement() {
|
|
|
143
180
|
## License
|
|
144
181
|
|
|
145
182
|
MIT
|
|
146
|
-
|
package/dist/index.cjs
CHANGED
|
@@ -25,11 +25,16 @@ __export(index_exports, {
|
|
|
25
25
|
GetMe: () => GetMe,
|
|
26
26
|
GetUserDetails: () => GetUserDetails,
|
|
27
27
|
GetUsers: () => GetUsers,
|
|
28
|
+
SendCurrentUserEmailVerificationCode: () => SendCurrentUserEmailVerificationCode,
|
|
29
|
+
SendEmailVerificationCodeByEmail: () => SendEmailVerificationCodeByEmail,
|
|
28
30
|
UpdateUser: () => UpdateUser,
|
|
31
|
+
VerifyCurrentUserEmailVerificationCode: () => VerifyCurrentUserEmailVerificationCode,
|
|
32
|
+
VerifyEmailVerificationCodeByEmail: () => VerifyEmailVerificationCodeByEmail,
|
|
29
33
|
createUserInputSchema: () => createUserInputSchema,
|
|
30
34
|
createUserResponseSchema: () => createUserResponseSchema,
|
|
31
35
|
deleteUserInputSchema: () => deleteUserInputSchema,
|
|
32
36
|
deleteUserResponseSchema: () => deleteUserResponseSchema,
|
|
37
|
+
emailVerificationCodeStatusSchema: () => emailVerificationCodeStatusSchema,
|
|
33
38
|
getMeInputSchema: () => getMeInputSchema,
|
|
34
39
|
getMeResponseSchema: () => getMeResponseSchema,
|
|
35
40
|
getUserDetailsInputSchema: () => getUserDetailsInputSchema,
|
|
@@ -39,6 +44,10 @@ __export(index_exports, {
|
|
|
39
44
|
getUsersResponseSchema: () => getUsersResponseSchema,
|
|
40
45
|
securityRoleSchema: () => securityRoleSchema,
|
|
41
46
|
securityRoles: () => securityRoles,
|
|
47
|
+
sendCurrentUserEmailVerificationCodeInputSchema: () => sendCurrentUserEmailVerificationCodeInputSchema,
|
|
48
|
+
sendCurrentUserEmailVerificationCodeResponseSchema: () => sendCurrentUserEmailVerificationCodeResponseSchema,
|
|
49
|
+
sendEmailVerificationCodeByEmailInputSchema: () => sendEmailVerificationCodeByEmailInputSchema,
|
|
50
|
+
sendEmailVerificationCodeByEmailResponseSchema: () => sendEmailVerificationCodeByEmailResponseSchema,
|
|
42
51
|
updateUserInputSchema: () => updateUserInputSchema,
|
|
43
52
|
updateUserResponseSchema: () => updateUserResponseSchema,
|
|
44
53
|
userIriSchema: () => userIriSchema,
|
|
@@ -47,6 +56,10 @@ __export(index_exports, {
|
|
|
47
56
|
userStepSchema: () => userStepSchema,
|
|
48
57
|
userSteps: () => userSteps,
|
|
49
58
|
usersQuerySchema: () => usersQuerySchema,
|
|
59
|
+
verifyCurrentUserEmailVerificationCodeInputSchema: () => verifyCurrentUserEmailVerificationCodeInputSchema,
|
|
60
|
+
verifyCurrentUserEmailVerificationCodeResponseSchema: () => verifyCurrentUserEmailVerificationCodeResponseSchema,
|
|
61
|
+
verifyEmailVerificationCodeByEmailInputSchema: () => verifyEmailVerificationCodeByEmailInputSchema,
|
|
62
|
+
verifyEmailVerificationCodeByEmailResponseSchema: () => verifyEmailVerificationCodeByEmailResponseSchema,
|
|
50
63
|
writableUserSchema: () => writableUserSchema
|
|
51
64
|
});
|
|
52
65
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -13860,6 +13873,7 @@ var securityRoles = [
|
|
|
13860
13873
|
// Role for the users
|
|
13861
13874
|
"ROLE_COURIER",
|
|
13862
13875
|
"ROLE_CUSTOMER",
|
|
13876
|
+
"ROLE_ECOMMERCE_CUSTOMER",
|
|
13863
13877
|
"ROLE_MANAGER",
|
|
13864
13878
|
"ROLE_SUPER_ADMIN",
|
|
13865
13879
|
"ROLE_KITCHEN",
|
|
@@ -13898,6 +13912,13 @@ var writableUserSchema = userSchema.pick({
|
|
|
13898
13912
|
}).extend({
|
|
13899
13913
|
plainPassword: external_exports.string().optional()
|
|
13900
13914
|
}).partial();
|
|
13915
|
+
var emailVerificationCodeStatusSchema = external_exports.object({
|
|
13916
|
+
email: external_exports.email().nullable(),
|
|
13917
|
+
emailVerified: external_exports.boolean(),
|
|
13918
|
+
expiresInSeconds: external_exports.number().int().nullable(),
|
|
13919
|
+
cooldownSeconds: external_exports.number().int(),
|
|
13920
|
+
remainingAttempts: external_exports.number().int()
|
|
13921
|
+
});
|
|
13901
13922
|
var usersQuerySchema = external_exports.object({
|
|
13902
13923
|
email: external_exports.string().optional(),
|
|
13903
13924
|
firstName: external_exports.string().optional(),
|
|
@@ -14016,11 +14037,54 @@ var GetUsers = class extends import_sdk_js_core5.AbstractApiRequest {
|
|
|
14016
14037
|
}
|
|
14017
14038
|
};
|
|
14018
14039
|
|
|
14019
|
-
// src/requests/
|
|
14040
|
+
// src/requests/SendCurrentUserEmailVerificationCode.ts
|
|
14020
14041
|
var import_sdk_js_core6 = require("@deliverart/sdk-js-core");
|
|
14042
|
+
var sendCurrentUserEmailVerificationCodeInputSchema = external_exports.undefined();
|
|
14043
|
+
var sendCurrentUserEmailVerificationCodeResponseSchema = emailVerificationCodeStatusSchema;
|
|
14044
|
+
var SendCurrentUserEmailVerificationCode = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
14045
|
+
constructor() {
|
|
14046
|
+
super(void 0);
|
|
14047
|
+
this.method = "POST";
|
|
14048
|
+
this.contentType = "application/json";
|
|
14049
|
+
this.accept = "application/json";
|
|
14050
|
+
this.inputSchema = sendCurrentUserEmailVerificationCodeInputSchema;
|
|
14051
|
+
this.outputSchema = sendCurrentUserEmailVerificationCodeResponseSchema;
|
|
14052
|
+
this.querySchema = void 0;
|
|
14053
|
+
this.headersSchema = void 0;
|
|
14054
|
+
}
|
|
14055
|
+
getPath() {
|
|
14056
|
+
return "/users/me/email-verification/send";
|
|
14057
|
+
}
|
|
14058
|
+
};
|
|
14059
|
+
|
|
14060
|
+
// src/requests/SendEmailVerificationCodeByEmail.ts
|
|
14061
|
+
var import_sdk_js_core7 = require("@deliverart/sdk-js-core");
|
|
14062
|
+
var sendEmailVerificationCodeByEmailInputSchema = external_exports.object({
|
|
14063
|
+
email: external_exports.email(),
|
|
14064
|
+
enforceCooldown: external_exports.boolean().optional()
|
|
14065
|
+
});
|
|
14066
|
+
var sendEmailVerificationCodeByEmailResponseSchema = emailVerificationCodeStatusSchema;
|
|
14067
|
+
var SendEmailVerificationCodeByEmail = class extends import_sdk_js_core7.AbstractApiRequest {
|
|
14068
|
+
constructor(input) {
|
|
14069
|
+
super(input);
|
|
14070
|
+
this.method = "POST";
|
|
14071
|
+
this.contentType = "application/json";
|
|
14072
|
+
this.accept = "application/json";
|
|
14073
|
+
this.inputSchema = sendEmailVerificationCodeByEmailInputSchema;
|
|
14074
|
+
this.outputSchema = sendEmailVerificationCodeByEmailResponseSchema;
|
|
14075
|
+
this.querySchema = void 0;
|
|
14076
|
+
this.headersSchema = void 0;
|
|
14077
|
+
}
|
|
14078
|
+
getPath() {
|
|
14079
|
+
return "/users/email-verification/send";
|
|
14080
|
+
}
|
|
14081
|
+
};
|
|
14082
|
+
|
|
14083
|
+
// src/requests/UpdateUser.ts
|
|
14084
|
+
var import_sdk_js_core8 = require("@deliverart/sdk-js-core");
|
|
14021
14085
|
var updateUserInputSchema = writableUserSchema;
|
|
14022
14086
|
var updateUserResponseSchema = userSchema;
|
|
14023
|
-
var UpdateUser = class extends
|
|
14087
|
+
var UpdateUser = class extends import_sdk_js_core8.AbstractApiRequest {
|
|
14024
14088
|
constructor(userId, input) {
|
|
14025
14089
|
super(input);
|
|
14026
14090
|
this.method = "PATCH";
|
|
@@ -14036,6 +14100,51 @@ var UpdateUser = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
|
14036
14100
|
return `/users/${this.userId}`;
|
|
14037
14101
|
}
|
|
14038
14102
|
};
|
|
14103
|
+
|
|
14104
|
+
// src/requests/VerifyCurrentUserEmailVerificationCode.ts
|
|
14105
|
+
var import_sdk_js_core9 = require("@deliverart/sdk-js-core");
|
|
14106
|
+
var verifyCurrentUserEmailVerificationCodeInputSchema = external_exports.object({
|
|
14107
|
+
code: external_exports.string().regex(/^\d{6}$/)
|
|
14108
|
+
});
|
|
14109
|
+
var verifyCurrentUserEmailVerificationCodeResponseSchema = emailVerificationCodeStatusSchema;
|
|
14110
|
+
var VerifyCurrentUserEmailVerificationCode = class extends import_sdk_js_core9.AbstractApiRequest {
|
|
14111
|
+
constructor(input) {
|
|
14112
|
+
super(input);
|
|
14113
|
+
this.method = "POST";
|
|
14114
|
+
this.contentType = "application/json";
|
|
14115
|
+
this.accept = "application/json";
|
|
14116
|
+
this.inputSchema = verifyCurrentUserEmailVerificationCodeInputSchema;
|
|
14117
|
+
this.outputSchema = verifyCurrentUserEmailVerificationCodeResponseSchema;
|
|
14118
|
+
this.querySchema = void 0;
|
|
14119
|
+
this.headersSchema = void 0;
|
|
14120
|
+
}
|
|
14121
|
+
getPath() {
|
|
14122
|
+
return "/users/me/email-verification/verify";
|
|
14123
|
+
}
|
|
14124
|
+
};
|
|
14125
|
+
|
|
14126
|
+
// src/requests/VerifyEmailVerificationCodeByEmail.ts
|
|
14127
|
+
var import_sdk_js_core10 = require("@deliverart/sdk-js-core");
|
|
14128
|
+
var verifyEmailVerificationCodeByEmailInputSchema = external_exports.object({
|
|
14129
|
+
email: external_exports.email(),
|
|
14130
|
+
code: external_exports.string().regex(/^\d{6}$/)
|
|
14131
|
+
});
|
|
14132
|
+
var verifyEmailVerificationCodeByEmailResponseSchema = emailVerificationCodeStatusSchema;
|
|
14133
|
+
var VerifyEmailVerificationCodeByEmail = class extends import_sdk_js_core10.AbstractApiRequest {
|
|
14134
|
+
constructor(input) {
|
|
14135
|
+
super(input);
|
|
14136
|
+
this.method = "POST";
|
|
14137
|
+
this.contentType = "application/json";
|
|
14138
|
+
this.accept = "application/json";
|
|
14139
|
+
this.inputSchema = verifyEmailVerificationCodeByEmailInputSchema;
|
|
14140
|
+
this.outputSchema = verifyEmailVerificationCodeByEmailResponseSchema;
|
|
14141
|
+
this.querySchema = void 0;
|
|
14142
|
+
this.headersSchema = void 0;
|
|
14143
|
+
}
|
|
14144
|
+
getPath() {
|
|
14145
|
+
return "/users/email-verification/verify";
|
|
14146
|
+
}
|
|
14147
|
+
};
|
|
14039
14148
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14040
14149
|
0 && (module.exports = {
|
|
14041
14150
|
CreateUser,
|
|
@@ -14043,11 +14152,16 @@ var UpdateUser = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
|
14043
14152
|
GetMe,
|
|
14044
14153
|
GetUserDetails,
|
|
14045
14154
|
GetUsers,
|
|
14155
|
+
SendCurrentUserEmailVerificationCode,
|
|
14156
|
+
SendEmailVerificationCodeByEmail,
|
|
14046
14157
|
UpdateUser,
|
|
14158
|
+
VerifyCurrentUserEmailVerificationCode,
|
|
14159
|
+
VerifyEmailVerificationCodeByEmail,
|
|
14047
14160
|
createUserInputSchema,
|
|
14048
14161
|
createUserResponseSchema,
|
|
14049
14162
|
deleteUserInputSchema,
|
|
14050
14163
|
deleteUserResponseSchema,
|
|
14164
|
+
emailVerificationCodeStatusSchema,
|
|
14051
14165
|
getMeInputSchema,
|
|
14052
14166
|
getMeResponseSchema,
|
|
14053
14167
|
getUserDetailsInputSchema,
|
|
@@ -14057,6 +14171,10 @@ var UpdateUser = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
|
14057
14171
|
getUsersResponseSchema,
|
|
14058
14172
|
securityRoleSchema,
|
|
14059
14173
|
securityRoles,
|
|
14174
|
+
sendCurrentUserEmailVerificationCodeInputSchema,
|
|
14175
|
+
sendCurrentUserEmailVerificationCodeResponseSchema,
|
|
14176
|
+
sendEmailVerificationCodeByEmailInputSchema,
|
|
14177
|
+
sendEmailVerificationCodeByEmailResponseSchema,
|
|
14060
14178
|
updateUserInputSchema,
|
|
14061
14179
|
updateUserResponseSchema,
|
|
14062
14180
|
userIriSchema,
|
|
@@ -14065,5 +14183,9 @@ var UpdateUser = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
|
14065
14183
|
userStepSchema,
|
|
14066
14184
|
userSteps,
|
|
14067
14185
|
usersQuerySchema,
|
|
14186
|
+
verifyCurrentUserEmailVerificationCodeInputSchema,
|
|
14187
|
+
verifyCurrentUserEmailVerificationCodeResponseSchema,
|
|
14188
|
+
verifyEmailVerificationCodeByEmailInputSchema,
|
|
14189
|
+
verifyEmailVerificationCodeByEmailResponseSchema,
|
|
14068
14190
|
writableUserSchema
|
|
14069
14191
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -40,6 +40,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
40
40
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
41
41
|
ROLE_COURIER: "ROLE_COURIER";
|
|
42
42
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
43
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
43
44
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
44
45
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
45
46
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -94,6 +95,7 @@ declare const writableUserSchema: z.ZodObject<{
|
|
|
94
95
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
95
96
|
ROLE_COURIER: "ROLE_COURIER";
|
|
96
97
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
98
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
97
99
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
98
100
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
99
101
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -102,6 +104,14 @@ declare const writableUserSchema: z.ZodObject<{
|
|
|
102
104
|
plainPassword: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
103
105
|
}, z.core.$strip>;
|
|
104
106
|
type WritableUser = z.infer<typeof writableUserSchema>;
|
|
107
|
+
declare const emailVerificationCodeStatusSchema: z.ZodObject<{
|
|
108
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
109
|
+
emailVerified: z.ZodBoolean;
|
|
110
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
111
|
+
cooldownSeconds: z.ZodNumber;
|
|
112
|
+
remainingAttempts: z.ZodNumber;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
type EmailVerificationCodeStatus = z.infer<typeof emailVerificationCodeStatusSchema>;
|
|
105
115
|
declare const usersQuerySchema: z.ZodObject<{
|
|
106
116
|
email: z.ZodOptional<z.ZodString>;
|
|
107
117
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -145,6 +155,7 @@ declare const usersQuerySchema: z.ZodObject<{
|
|
|
145
155
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
146
156
|
ROLE_COURIER: "ROLE_COURIER";
|
|
147
157
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
158
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
148
159
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
149
160
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
150
161
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -190,6 +201,7 @@ declare const createUserInputSchema: z.ZodObject<{
|
|
|
190
201
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
191
202
|
ROLE_COURIER: "ROLE_COURIER";
|
|
192
203
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
204
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
193
205
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
194
206
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
195
207
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -236,6 +248,7 @@ declare const createUserResponseSchema: z.ZodObject<{
|
|
|
236
248
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
237
249
|
ROLE_COURIER: "ROLE_COURIER";
|
|
238
250
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
251
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
239
252
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
240
253
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
241
254
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -294,6 +307,7 @@ declare class CreateUser extends AbstractApiRequest<typeof createUserInputSchema
|
|
|
294
307
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
295
308
|
ROLE_COURIER: "ROLE_COURIER";
|
|
296
309
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
310
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
297
311
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
298
312
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
299
313
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -339,6 +353,7 @@ declare class CreateUser extends AbstractApiRequest<typeof createUserInputSchema
|
|
|
339
353
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
340
354
|
ROLE_COURIER: "ROLE_COURIER";
|
|
341
355
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
356
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
342
357
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
343
358
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
344
359
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -416,6 +431,7 @@ declare const getMeResponseSchema: z.ZodObject<{
|
|
|
416
431
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
417
432
|
ROLE_COURIER: "ROLE_COURIER";
|
|
418
433
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
434
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
419
435
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
420
436
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
421
437
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -476,6 +492,7 @@ declare class GetMe extends AbstractApiRequest<typeof getMeInputSchema, typeof g
|
|
|
476
492
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
477
493
|
ROLE_COURIER: "ROLE_COURIER";
|
|
478
494
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
495
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
479
496
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
480
497
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
481
498
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -538,6 +555,7 @@ declare const getUserDetailsResponseSchema: z.ZodObject<{
|
|
|
538
555
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
539
556
|
ROLE_COURIER: "ROLE_COURIER";
|
|
540
557
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
558
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
541
559
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
542
560
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
543
561
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -598,6 +616,7 @@ declare class GetUserDetails extends AbstractApiRequest<typeof getUserDetailsInp
|
|
|
598
616
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
599
617
|
ROLE_COURIER: "ROLE_COURIER";
|
|
600
618
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
619
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
601
620
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
602
621
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
603
622
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -664,6 +683,7 @@ declare const getUsersQuerySchema: z.ZodObject<{
|
|
|
664
683
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
665
684
|
ROLE_COURIER: "ROLE_COURIER";
|
|
666
685
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
686
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
667
687
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
668
688
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
669
689
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -712,6 +732,7 @@ declare const getUsersResponseSchema: z.ZodObject<{
|
|
|
712
732
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
713
733
|
ROLE_COURIER: "ROLE_COURIER";
|
|
714
734
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
735
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
715
736
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
716
737
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
717
738
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -782,6 +803,7 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
782
803
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
783
804
|
ROLE_COURIER: "ROLE_COURIER";
|
|
784
805
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
806
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
785
807
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
786
808
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
787
809
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -850,6 +872,7 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
850
872
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
851
873
|
ROLE_COURIER: "ROLE_COURIER";
|
|
852
874
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
875
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
853
876
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
854
877
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
855
878
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -895,6 +918,7 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
895
918
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
896
919
|
ROLE_COURIER: "ROLE_COURIER";
|
|
897
920
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
921
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
898
922
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
899
923
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
900
924
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -918,6 +942,68 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
918
942
|
getPath(): string;
|
|
919
943
|
}
|
|
920
944
|
|
|
945
|
+
declare const sendCurrentUserEmailVerificationCodeInputSchema: z.ZodUndefined;
|
|
946
|
+
type SendCurrentUserEmailVerificationCodeInput = z.input<typeof sendCurrentUserEmailVerificationCodeInputSchema>;
|
|
947
|
+
declare const sendCurrentUserEmailVerificationCodeResponseSchema: z.ZodObject<{
|
|
948
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
949
|
+
emailVerified: z.ZodBoolean;
|
|
950
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
951
|
+
cooldownSeconds: z.ZodNumber;
|
|
952
|
+
remainingAttempts: z.ZodNumber;
|
|
953
|
+
}, z.core.$strip>;
|
|
954
|
+
type SendCurrentUserEmailVerificationCodeResponse = z.output<typeof sendCurrentUserEmailVerificationCodeResponseSchema>;
|
|
955
|
+
declare class SendCurrentUserEmailVerificationCode extends AbstractApiRequest<typeof sendCurrentUserEmailVerificationCodeInputSchema, typeof sendCurrentUserEmailVerificationCodeResponseSchema> {
|
|
956
|
+
readonly method = "POST";
|
|
957
|
+
readonly contentType = "application/json";
|
|
958
|
+
readonly accept = "application/json";
|
|
959
|
+
readonly inputSchema: z.ZodUndefined;
|
|
960
|
+
readonly outputSchema: z.ZodObject<{
|
|
961
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
962
|
+
emailVerified: z.ZodBoolean;
|
|
963
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
964
|
+
cooldownSeconds: z.ZodNumber;
|
|
965
|
+
remainingAttempts: z.ZodNumber;
|
|
966
|
+
}, z.core.$strip>;
|
|
967
|
+
readonly querySchema: undefined;
|
|
968
|
+
readonly headersSchema: undefined;
|
|
969
|
+
constructor();
|
|
970
|
+
getPath(): string;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare const sendEmailVerificationCodeByEmailInputSchema: z.ZodObject<{
|
|
974
|
+
email: z.ZodEmail;
|
|
975
|
+
enforceCooldown: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
+
}, z.core.$strip>;
|
|
977
|
+
type SendEmailVerificationCodeByEmailInput = z.input<typeof sendEmailVerificationCodeByEmailInputSchema>;
|
|
978
|
+
declare const sendEmailVerificationCodeByEmailResponseSchema: z.ZodObject<{
|
|
979
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
980
|
+
emailVerified: z.ZodBoolean;
|
|
981
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
982
|
+
cooldownSeconds: z.ZodNumber;
|
|
983
|
+
remainingAttempts: z.ZodNumber;
|
|
984
|
+
}, z.core.$strip>;
|
|
985
|
+
type SendEmailVerificationCodeByEmailResponse = z.output<typeof sendEmailVerificationCodeByEmailResponseSchema>;
|
|
986
|
+
declare class SendEmailVerificationCodeByEmail extends AbstractApiRequest<typeof sendEmailVerificationCodeByEmailInputSchema, typeof sendEmailVerificationCodeByEmailResponseSchema> {
|
|
987
|
+
readonly method = "POST";
|
|
988
|
+
readonly contentType = "application/json";
|
|
989
|
+
readonly accept = "application/json";
|
|
990
|
+
readonly inputSchema: z.ZodObject<{
|
|
991
|
+
email: z.ZodEmail;
|
|
992
|
+
enforceCooldown: z.ZodOptional<z.ZodBoolean>;
|
|
993
|
+
}, z.core.$strip>;
|
|
994
|
+
readonly outputSchema: z.ZodObject<{
|
|
995
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
996
|
+
emailVerified: z.ZodBoolean;
|
|
997
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
998
|
+
cooldownSeconds: z.ZodNumber;
|
|
999
|
+
remainingAttempts: z.ZodNumber;
|
|
1000
|
+
}, z.core.$strip>;
|
|
1001
|
+
readonly querySchema: undefined;
|
|
1002
|
+
readonly headersSchema: undefined;
|
|
1003
|
+
constructor(input: SendEmailVerificationCodeByEmailInput);
|
|
1004
|
+
getPath(): string;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
921
1007
|
declare const updateUserInputSchema: z.ZodObject<{
|
|
922
1008
|
firstName: z.ZodOptional<z.ZodString>;
|
|
923
1009
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -955,6 +1041,7 @@ declare const updateUserInputSchema: z.ZodObject<{
|
|
|
955
1041
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
956
1042
|
ROLE_COURIER: "ROLE_COURIER";
|
|
957
1043
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1044
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
958
1045
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
959
1046
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
960
1047
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1001,6 +1088,7 @@ declare const updateUserResponseSchema: z.ZodObject<{
|
|
|
1001
1088
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1002
1089
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1003
1090
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1091
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1004
1092
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1005
1093
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1006
1094
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1059,6 +1147,7 @@ declare class UpdateUser extends AbstractApiRequest<typeof updateUserInputSchema
|
|
|
1059
1147
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1060
1148
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1061
1149
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1150
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1062
1151
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1063
1152
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1064
1153
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1104,6 +1193,7 @@ declare class UpdateUser extends AbstractApiRequest<typeof updateUserInputSchema
|
|
|
1104
1193
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1105
1194
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1106
1195
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1196
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1107
1197
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1108
1198
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1109
1199
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1127,7 +1217,73 @@ declare class UpdateUser extends AbstractApiRequest<typeof updateUserInputSchema
|
|
|
1127
1217
|
getPath(): string;
|
|
1128
1218
|
}
|
|
1129
1219
|
|
|
1130
|
-
declare const
|
|
1220
|
+
declare const verifyCurrentUserEmailVerificationCodeInputSchema: z.ZodObject<{
|
|
1221
|
+
code: z.ZodString;
|
|
1222
|
+
}, z.core.$strip>;
|
|
1223
|
+
type VerifyCurrentUserEmailVerificationCodeInput = z.input<typeof verifyCurrentUserEmailVerificationCodeInputSchema>;
|
|
1224
|
+
declare const verifyCurrentUserEmailVerificationCodeResponseSchema: z.ZodObject<{
|
|
1225
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1226
|
+
emailVerified: z.ZodBoolean;
|
|
1227
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1228
|
+
cooldownSeconds: z.ZodNumber;
|
|
1229
|
+
remainingAttempts: z.ZodNumber;
|
|
1230
|
+
}, z.core.$strip>;
|
|
1231
|
+
type VerifyCurrentUserEmailVerificationCodeResponse = z.output<typeof verifyCurrentUserEmailVerificationCodeResponseSchema>;
|
|
1232
|
+
declare class VerifyCurrentUserEmailVerificationCode extends AbstractApiRequest<typeof verifyCurrentUserEmailVerificationCodeInputSchema, typeof verifyCurrentUserEmailVerificationCodeResponseSchema> {
|
|
1233
|
+
readonly method = "POST";
|
|
1234
|
+
readonly contentType = "application/json";
|
|
1235
|
+
readonly accept = "application/json";
|
|
1236
|
+
readonly inputSchema: z.ZodObject<{
|
|
1237
|
+
code: z.ZodString;
|
|
1238
|
+
}, z.core.$strip>;
|
|
1239
|
+
readonly outputSchema: z.ZodObject<{
|
|
1240
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1241
|
+
emailVerified: z.ZodBoolean;
|
|
1242
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1243
|
+
cooldownSeconds: z.ZodNumber;
|
|
1244
|
+
remainingAttempts: z.ZodNumber;
|
|
1245
|
+
}, z.core.$strip>;
|
|
1246
|
+
readonly querySchema: undefined;
|
|
1247
|
+
readonly headersSchema: undefined;
|
|
1248
|
+
constructor(input: VerifyCurrentUserEmailVerificationCodeInput);
|
|
1249
|
+
getPath(): string;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
declare const verifyEmailVerificationCodeByEmailInputSchema: z.ZodObject<{
|
|
1253
|
+
email: z.ZodEmail;
|
|
1254
|
+
code: z.ZodString;
|
|
1255
|
+
}, z.core.$strip>;
|
|
1256
|
+
type VerifyEmailVerificationCodeByEmailInput = z.input<typeof verifyEmailVerificationCodeByEmailInputSchema>;
|
|
1257
|
+
declare const verifyEmailVerificationCodeByEmailResponseSchema: z.ZodObject<{
|
|
1258
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1259
|
+
emailVerified: z.ZodBoolean;
|
|
1260
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1261
|
+
cooldownSeconds: z.ZodNumber;
|
|
1262
|
+
remainingAttempts: z.ZodNumber;
|
|
1263
|
+
}, z.core.$strip>;
|
|
1264
|
+
type VerifyEmailVerificationCodeByEmailResponse = z.output<typeof verifyEmailVerificationCodeByEmailResponseSchema>;
|
|
1265
|
+
declare class VerifyEmailVerificationCodeByEmail extends AbstractApiRequest<typeof verifyEmailVerificationCodeByEmailInputSchema, typeof verifyEmailVerificationCodeByEmailResponseSchema> {
|
|
1266
|
+
readonly method = "POST";
|
|
1267
|
+
readonly contentType = "application/json";
|
|
1268
|
+
readonly accept = "application/json";
|
|
1269
|
+
readonly inputSchema: z.ZodObject<{
|
|
1270
|
+
email: z.ZodEmail;
|
|
1271
|
+
code: z.ZodString;
|
|
1272
|
+
}, z.core.$strip>;
|
|
1273
|
+
readonly outputSchema: z.ZodObject<{
|
|
1274
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1275
|
+
emailVerified: z.ZodBoolean;
|
|
1276
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1277
|
+
cooldownSeconds: z.ZodNumber;
|
|
1278
|
+
remainingAttempts: z.ZodNumber;
|
|
1279
|
+
}, z.core.$strip>;
|
|
1280
|
+
readonly querySchema: undefined;
|
|
1281
|
+
readonly headersSchema: undefined;
|
|
1282
|
+
constructor(input: VerifyEmailVerificationCodeByEmailInput);
|
|
1283
|
+
getPath(): string;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
declare const securityRoles: readonly ["ROLE_CUSTOMER_ACCESS", "ROLE_BUNDLE_ACCESS", "ROLE_DELIVERY_ACCESS", "ROLE_POINT_OF_SALE_ACCESS", "ROLE_MENU_ACCESS", "ROLE_INTEGRATION_ACCESS", "ROLE_ORDER_ACCESS", "ROLE_LEAD_ACCESS", "ROLE_COMPANY_ACCESS", "ROLE_USER_ACCESS", "ROLE_SUBSCRIPTION_ACCESS", "ROLE_PAYMENT_ACCESS", "ROLE_PAYMENT_CONFIG_ACCESS", "ROLE_STATS_ACCESS", "ROLE_DEV_ACCESS", "ROLE_CUSTOMER_ADMIN", "ROLE_BUNDLE_ADMIN", "ROLE_DELIVERY_ADMIN", "ROLE_POINT_OF_SALE_ADMIN", "ROLE_MENU_ADMIN", "ROLE_INTEGRATION_ADMIN", "ROLE_ORDER_ADMIN", "ROLE_LEAD_ADMIN", "ROLE_COMPANY_ADMIN", "ROLE_USER_ADMIN", "ROLE_SUBSCRIPTION_ADMIN", "ROLE_PAYMENT_ADMIN", "ROLE_PAYMENT_CONFIG_ADMIN", "ROLE_STATS_ADMIN", "ROLE_DEV_ADMIN", "ROLE_COURIER", "ROLE_CUSTOMER", "ROLE_ECOMMERCE_CUSTOMER", "ROLE_MANAGER", "ROLE_SUPER_ADMIN", "ROLE_KITCHEN", "ROLE_USER"];
|
|
1131
1287
|
declare const securityRoleSchema: z.ZodEnum<{
|
|
1132
1288
|
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1133
1289
|
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
@@ -1161,6 +1317,7 @@ declare const securityRoleSchema: z.ZodEnum<{
|
|
|
1161
1317
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1162
1318
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1163
1319
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1320
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1164
1321
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1165
1322
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1166
1323
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1180,4 +1337,4 @@ type UserIri = z.infer<typeof userIriSchema>;
|
|
|
1180
1337
|
declare const userNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
|
|
1181
1338
|
type UserNullableIri = z.infer<typeof userNullableIriSchema>;
|
|
1182
1339
|
|
|
1183
|
-
export { CreateUser, type CreateUserInput, type CreateUserResponse, DeleteUser, GetMe, type GetMeInput, type GetMeResponse, GetUserDetails, type GetUserDetailsInput, type GetUserDetailsResponse, GetUsers, type GetUsersInput, type GetUsersQueryParams, type GetUsersResponse, type SecurityRole, UpdateUser, type UpdateUserInput, type UpdateUserResponse, type User, type UserIri, type UserNullableIri, type UserStep, type UsersQueryParams, type WritableUser, createUserInputSchema, createUserResponseSchema, deleteUserInputSchema, deleteUserResponseSchema, getMeInputSchema, getMeResponseSchema, getUserDetailsInputSchema, getUserDetailsResponseSchema, getUsersInputSchema, getUsersQuerySchema, getUsersResponseSchema, securityRoleSchema, securityRoles, updateUserInputSchema, updateUserResponseSchema, userIriSchema, userNullableIriSchema, userSchema, userStepSchema, userSteps, usersQuerySchema, writableUserSchema };
|
|
1340
|
+
export { CreateUser, type CreateUserInput, type CreateUserResponse, DeleteUser, type EmailVerificationCodeStatus, GetMe, type GetMeInput, type GetMeResponse, GetUserDetails, type GetUserDetailsInput, type GetUserDetailsResponse, GetUsers, type GetUsersInput, type GetUsersQueryParams, type GetUsersResponse, type SecurityRole, SendCurrentUserEmailVerificationCode, type SendCurrentUserEmailVerificationCodeInput, type SendCurrentUserEmailVerificationCodeResponse, SendEmailVerificationCodeByEmail, type SendEmailVerificationCodeByEmailInput, type SendEmailVerificationCodeByEmailResponse, UpdateUser, type UpdateUserInput, type UpdateUserResponse, type User, type UserIri, type UserNullableIri, type UserStep, type UsersQueryParams, VerifyCurrentUserEmailVerificationCode, type VerifyCurrentUserEmailVerificationCodeInput, type VerifyCurrentUserEmailVerificationCodeResponse, VerifyEmailVerificationCodeByEmail, type VerifyEmailVerificationCodeByEmailInput, type VerifyEmailVerificationCodeByEmailResponse, type WritableUser, createUserInputSchema, createUserResponseSchema, deleteUserInputSchema, deleteUserResponseSchema, emailVerificationCodeStatusSchema, getMeInputSchema, getMeResponseSchema, getUserDetailsInputSchema, getUserDetailsResponseSchema, getUsersInputSchema, getUsersQuerySchema, getUsersResponseSchema, securityRoleSchema, securityRoles, sendCurrentUserEmailVerificationCodeInputSchema, sendCurrentUserEmailVerificationCodeResponseSchema, sendEmailVerificationCodeByEmailInputSchema, sendEmailVerificationCodeByEmailResponseSchema, updateUserInputSchema, updateUserResponseSchema, userIriSchema, userNullableIriSchema, userSchema, userStepSchema, userSteps, usersQuerySchema, verifyCurrentUserEmailVerificationCodeInputSchema, verifyCurrentUserEmailVerificationCodeResponseSchema, verifyEmailVerificationCodeByEmailInputSchema, verifyEmailVerificationCodeByEmailResponseSchema, writableUserSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
40
40
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
41
41
|
ROLE_COURIER: "ROLE_COURIER";
|
|
42
42
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
43
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
43
44
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
44
45
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
45
46
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -94,6 +95,7 @@ declare const writableUserSchema: z.ZodObject<{
|
|
|
94
95
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
95
96
|
ROLE_COURIER: "ROLE_COURIER";
|
|
96
97
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
98
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
97
99
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
98
100
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
99
101
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -102,6 +104,14 @@ declare const writableUserSchema: z.ZodObject<{
|
|
|
102
104
|
plainPassword: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
103
105
|
}, z.core.$strip>;
|
|
104
106
|
type WritableUser = z.infer<typeof writableUserSchema>;
|
|
107
|
+
declare const emailVerificationCodeStatusSchema: z.ZodObject<{
|
|
108
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
109
|
+
emailVerified: z.ZodBoolean;
|
|
110
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
111
|
+
cooldownSeconds: z.ZodNumber;
|
|
112
|
+
remainingAttempts: z.ZodNumber;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
type EmailVerificationCodeStatus = z.infer<typeof emailVerificationCodeStatusSchema>;
|
|
105
115
|
declare const usersQuerySchema: z.ZodObject<{
|
|
106
116
|
email: z.ZodOptional<z.ZodString>;
|
|
107
117
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -145,6 +155,7 @@ declare const usersQuerySchema: z.ZodObject<{
|
|
|
145
155
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
146
156
|
ROLE_COURIER: "ROLE_COURIER";
|
|
147
157
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
158
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
148
159
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
149
160
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
150
161
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -190,6 +201,7 @@ declare const createUserInputSchema: z.ZodObject<{
|
|
|
190
201
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
191
202
|
ROLE_COURIER: "ROLE_COURIER";
|
|
192
203
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
204
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
193
205
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
194
206
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
195
207
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -236,6 +248,7 @@ declare const createUserResponseSchema: z.ZodObject<{
|
|
|
236
248
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
237
249
|
ROLE_COURIER: "ROLE_COURIER";
|
|
238
250
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
251
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
239
252
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
240
253
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
241
254
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -294,6 +307,7 @@ declare class CreateUser extends AbstractApiRequest<typeof createUserInputSchema
|
|
|
294
307
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
295
308
|
ROLE_COURIER: "ROLE_COURIER";
|
|
296
309
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
310
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
297
311
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
298
312
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
299
313
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -339,6 +353,7 @@ declare class CreateUser extends AbstractApiRequest<typeof createUserInputSchema
|
|
|
339
353
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
340
354
|
ROLE_COURIER: "ROLE_COURIER";
|
|
341
355
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
356
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
342
357
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
343
358
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
344
359
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -416,6 +431,7 @@ declare const getMeResponseSchema: z.ZodObject<{
|
|
|
416
431
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
417
432
|
ROLE_COURIER: "ROLE_COURIER";
|
|
418
433
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
434
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
419
435
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
420
436
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
421
437
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -476,6 +492,7 @@ declare class GetMe extends AbstractApiRequest<typeof getMeInputSchema, typeof g
|
|
|
476
492
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
477
493
|
ROLE_COURIER: "ROLE_COURIER";
|
|
478
494
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
495
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
479
496
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
480
497
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
481
498
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -538,6 +555,7 @@ declare const getUserDetailsResponseSchema: z.ZodObject<{
|
|
|
538
555
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
539
556
|
ROLE_COURIER: "ROLE_COURIER";
|
|
540
557
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
558
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
541
559
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
542
560
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
543
561
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -598,6 +616,7 @@ declare class GetUserDetails extends AbstractApiRequest<typeof getUserDetailsInp
|
|
|
598
616
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
599
617
|
ROLE_COURIER: "ROLE_COURIER";
|
|
600
618
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
619
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
601
620
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
602
621
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
603
622
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -664,6 +683,7 @@ declare const getUsersQuerySchema: z.ZodObject<{
|
|
|
664
683
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
665
684
|
ROLE_COURIER: "ROLE_COURIER";
|
|
666
685
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
686
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
667
687
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
668
688
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
669
689
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -712,6 +732,7 @@ declare const getUsersResponseSchema: z.ZodObject<{
|
|
|
712
732
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
713
733
|
ROLE_COURIER: "ROLE_COURIER";
|
|
714
734
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
735
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
715
736
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
716
737
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
717
738
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -782,6 +803,7 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
782
803
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
783
804
|
ROLE_COURIER: "ROLE_COURIER";
|
|
784
805
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
806
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
785
807
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
786
808
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
787
809
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -850,6 +872,7 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
850
872
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
851
873
|
ROLE_COURIER: "ROLE_COURIER";
|
|
852
874
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
875
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
853
876
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
854
877
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
855
878
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -895,6 +918,7 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
895
918
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
896
919
|
ROLE_COURIER: "ROLE_COURIER";
|
|
897
920
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
921
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
898
922
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
899
923
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
900
924
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -918,6 +942,68 @@ declare class GetUsers extends AbstractApiRequest<typeof getUsersInputSchema, ty
|
|
|
918
942
|
getPath(): string;
|
|
919
943
|
}
|
|
920
944
|
|
|
945
|
+
declare const sendCurrentUserEmailVerificationCodeInputSchema: z.ZodUndefined;
|
|
946
|
+
type SendCurrentUserEmailVerificationCodeInput = z.input<typeof sendCurrentUserEmailVerificationCodeInputSchema>;
|
|
947
|
+
declare const sendCurrentUserEmailVerificationCodeResponseSchema: z.ZodObject<{
|
|
948
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
949
|
+
emailVerified: z.ZodBoolean;
|
|
950
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
951
|
+
cooldownSeconds: z.ZodNumber;
|
|
952
|
+
remainingAttempts: z.ZodNumber;
|
|
953
|
+
}, z.core.$strip>;
|
|
954
|
+
type SendCurrentUserEmailVerificationCodeResponse = z.output<typeof sendCurrentUserEmailVerificationCodeResponseSchema>;
|
|
955
|
+
declare class SendCurrentUserEmailVerificationCode extends AbstractApiRequest<typeof sendCurrentUserEmailVerificationCodeInputSchema, typeof sendCurrentUserEmailVerificationCodeResponseSchema> {
|
|
956
|
+
readonly method = "POST";
|
|
957
|
+
readonly contentType = "application/json";
|
|
958
|
+
readonly accept = "application/json";
|
|
959
|
+
readonly inputSchema: z.ZodUndefined;
|
|
960
|
+
readonly outputSchema: z.ZodObject<{
|
|
961
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
962
|
+
emailVerified: z.ZodBoolean;
|
|
963
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
964
|
+
cooldownSeconds: z.ZodNumber;
|
|
965
|
+
remainingAttempts: z.ZodNumber;
|
|
966
|
+
}, z.core.$strip>;
|
|
967
|
+
readonly querySchema: undefined;
|
|
968
|
+
readonly headersSchema: undefined;
|
|
969
|
+
constructor();
|
|
970
|
+
getPath(): string;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare const sendEmailVerificationCodeByEmailInputSchema: z.ZodObject<{
|
|
974
|
+
email: z.ZodEmail;
|
|
975
|
+
enforceCooldown: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
+
}, z.core.$strip>;
|
|
977
|
+
type SendEmailVerificationCodeByEmailInput = z.input<typeof sendEmailVerificationCodeByEmailInputSchema>;
|
|
978
|
+
declare const sendEmailVerificationCodeByEmailResponseSchema: z.ZodObject<{
|
|
979
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
980
|
+
emailVerified: z.ZodBoolean;
|
|
981
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
982
|
+
cooldownSeconds: z.ZodNumber;
|
|
983
|
+
remainingAttempts: z.ZodNumber;
|
|
984
|
+
}, z.core.$strip>;
|
|
985
|
+
type SendEmailVerificationCodeByEmailResponse = z.output<typeof sendEmailVerificationCodeByEmailResponseSchema>;
|
|
986
|
+
declare class SendEmailVerificationCodeByEmail extends AbstractApiRequest<typeof sendEmailVerificationCodeByEmailInputSchema, typeof sendEmailVerificationCodeByEmailResponseSchema> {
|
|
987
|
+
readonly method = "POST";
|
|
988
|
+
readonly contentType = "application/json";
|
|
989
|
+
readonly accept = "application/json";
|
|
990
|
+
readonly inputSchema: z.ZodObject<{
|
|
991
|
+
email: z.ZodEmail;
|
|
992
|
+
enforceCooldown: z.ZodOptional<z.ZodBoolean>;
|
|
993
|
+
}, z.core.$strip>;
|
|
994
|
+
readonly outputSchema: z.ZodObject<{
|
|
995
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
996
|
+
emailVerified: z.ZodBoolean;
|
|
997
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
998
|
+
cooldownSeconds: z.ZodNumber;
|
|
999
|
+
remainingAttempts: z.ZodNumber;
|
|
1000
|
+
}, z.core.$strip>;
|
|
1001
|
+
readonly querySchema: undefined;
|
|
1002
|
+
readonly headersSchema: undefined;
|
|
1003
|
+
constructor(input: SendEmailVerificationCodeByEmailInput);
|
|
1004
|
+
getPath(): string;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
921
1007
|
declare const updateUserInputSchema: z.ZodObject<{
|
|
922
1008
|
firstName: z.ZodOptional<z.ZodString>;
|
|
923
1009
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -955,6 +1041,7 @@ declare const updateUserInputSchema: z.ZodObject<{
|
|
|
955
1041
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
956
1042
|
ROLE_COURIER: "ROLE_COURIER";
|
|
957
1043
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1044
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
958
1045
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
959
1046
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
960
1047
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1001,6 +1088,7 @@ declare const updateUserResponseSchema: z.ZodObject<{
|
|
|
1001
1088
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1002
1089
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1003
1090
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1091
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1004
1092
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1005
1093
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1006
1094
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1059,6 +1147,7 @@ declare class UpdateUser extends AbstractApiRequest<typeof updateUserInputSchema
|
|
|
1059
1147
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1060
1148
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1061
1149
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1150
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1062
1151
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1063
1152
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1064
1153
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1104,6 +1193,7 @@ declare class UpdateUser extends AbstractApiRequest<typeof updateUserInputSchema
|
|
|
1104
1193
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1105
1194
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1106
1195
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1196
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1107
1197
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1108
1198
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1109
1199
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1127,7 +1217,73 @@ declare class UpdateUser extends AbstractApiRequest<typeof updateUserInputSchema
|
|
|
1127
1217
|
getPath(): string;
|
|
1128
1218
|
}
|
|
1129
1219
|
|
|
1130
|
-
declare const
|
|
1220
|
+
declare const verifyCurrentUserEmailVerificationCodeInputSchema: z.ZodObject<{
|
|
1221
|
+
code: z.ZodString;
|
|
1222
|
+
}, z.core.$strip>;
|
|
1223
|
+
type VerifyCurrentUserEmailVerificationCodeInput = z.input<typeof verifyCurrentUserEmailVerificationCodeInputSchema>;
|
|
1224
|
+
declare const verifyCurrentUserEmailVerificationCodeResponseSchema: z.ZodObject<{
|
|
1225
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1226
|
+
emailVerified: z.ZodBoolean;
|
|
1227
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1228
|
+
cooldownSeconds: z.ZodNumber;
|
|
1229
|
+
remainingAttempts: z.ZodNumber;
|
|
1230
|
+
}, z.core.$strip>;
|
|
1231
|
+
type VerifyCurrentUserEmailVerificationCodeResponse = z.output<typeof verifyCurrentUserEmailVerificationCodeResponseSchema>;
|
|
1232
|
+
declare class VerifyCurrentUserEmailVerificationCode extends AbstractApiRequest<typeof verifyCurrentUserEmailVerificationCodeInputSchema, typeof verifyCurrentUserEmailVerificationCodeResponseSchema> {
|
|
1233
|
+
readonly method = "POST";
|
|
1234
|
+
readonly contentType = "application/json";
|
|
1235
|
+
readonly accept = "application/json";
|
|
1236
|
+
readonly inputSchema: z.ZodObject<{
|
|
1237
|
+
code: z.ZodString;
|
|
1238
|
+
}, z.core.$strip>;
|
|
1239
|
+
readonly outputSchema: z.ZodObject<{
|
|
1240
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1241
|
+
emailVerified: z.ZodBoolean;
|
|
1242
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1243
|
+
cooldownSeconds: z.ZodNumber;
|
|
1244
|
+
remainingAttempts: z.ZodNumber;
|
|
1245
|
+
}, z.core.$strip>;
|
|
1246
|
+
readonly querySchema: undefined;
|
|
1247
|
+
readonly headersSchema: undefined;
|
|
1248
|
+
constructor(input: VerifyCurrentUserEmailVerificationCodeInput);
|
|
1249
|
+
getPath(): string;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
declare const verifyEmailVerificationCodeByEmailInputSchema: z.ZodObject<{
|
|
1253
|
+
email: z.ZodEmail;
|
|
1254
|
+
code: z.ZodString;
|
|
1255
|
+
}, z.core.$strip>;
|
|
1256
|
+
type VerifyEmailVerificationCodeByEmailInput = z.input<typeof verifyEmailVerificationCodeByEmailInputSchema>;
|
|
1257
|
+
declare const verifyEmailVerificationCodeByEmailResponseSchema: z.ZodObject<{
|
|
1258
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1259
|
+
emailVerified: z.ZodBoolean;
|
|
1260
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1261
|
+
cooldownSeconds: z.ZodNumber;
|
|
1262
|
+
remainingAttempts: z.ZodNumber;
|
|
1263
|
+
}, z.core.$strip>;
|
|
1264
|
+
type VerifyEmailVerificationCodeByEmailResponse = z.output<typeof verifyEmailVerificationCodeByEmailResponseSchema>;
|
|
1265
|
+
declare class VerifyEmailVerificationCodeByEmail extends AbstractApiRequest<typeof verifyEmailVerificationCodeByEmailInputSchema, typeof verifyEmailVerificationCodeByEmailResponseSchema> {
|
|
1266
|
+
readonly method = "POST";
|
|
1267
|
+
readonly contentType = "application/json";
|
|
1268
|
+
readonly accept = "application/json";
|
|
1269
|
+
readonly inputSchema: z.ZodObject<{
|
|
1270
|
+
email: z.ZodEmail;
|
|
1271
|
+
code: z.ZodString;
|
|
1272
|
+
}, z.core.$strip>;
|
|
1273
|
+
readonly outputSchema: z.ZodObject<{
|
|
1274
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1275
|
+
emailVerified: z.ZodBoolean;
|
|
1276
|
+
expiresInSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1277
|
+
cooldownSeconds: z.ZodNumber;
|
|
1278
|
+
remainingAttempts: z.ZodNumber;
|
|
1279
|
+
}, z.core.$strip>;
|
|
1280
|
+
readonly querySchema: undefined;
|
|
1281
|
+
readonly headersSchema: undefined;
|
|
1282
|
+
constructor(input: VerifyEmailVerificationCodeByEmailInput);
|
|
1283
|
+
getPath(): string;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
declare const securityRoles: readonly ["ROLE_CUSTOMER_ACCESS", "ROLE_BUNDLE_ACCESS", "ROLE_DELIVERY_ACCESS", "ROLE_POINT_OF_SALE_ACCESS", "ROLE_MENU_ACCESS", "ROLE_INTEGRATION_ACCESS", "ROLE_ORDER_ACCESS", "ROLE_LEAD_ACCESS", "ROLE_COMPANY_ACCESS", "ROLE_USER_ACCESS", "ROLE_SUBSCRIPTION_ACCESS", "ROLE_PAYMENT_ACCESS", "ROLE_PAYMENT_CONFIG_ACCESS", "ROLE_STATS_ACCESS", "ROLE_DEV_ACCESS", "ROLE_CUSTOMER_ADMIN", "ROLE_BUNDLE_ADMIN", "ROLE_DELIVERY_ADMIN", "ROLE_POINT_OF_SALE_ADMIN", "ROLE_MENU_ADMIN", "ROLE_INTEGRATION_ADMIN", "ROLE_ORDER_ADMIN", "ROLE_LEAD_ADMIN", "ROLE_COMPANY_ADMIN", "ROLE_USER_ADMIN", "ROLE_SUBSCRIPTION_ADMIN", "ROLE_PAYMENT_ADMIN", "ROLE_PAYMENT_CONFIG_ADMIN", "ROLE_STATS_ADMIN", "ROLE_DEV_ADMIN", "ROLE_COURIER", "ROLE_CUSTOMER", "ROLE_ECOMMERCE_CUSTOMER", "ROLE_MANAGER", "ROLE_SUPER_ADMIN", "ROLE_KITCHEN", "ROLE_USER"];
|
|
1131
1287
|
declare const securityRoleSchema: z.ZodEnum<{
|
|
1132
1288
|
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1133
1289
|
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
@@ -1161,6 +1317,7 @@ declare const securityRoleSchema: z.ZodEnum<{
|
|
|
1161
1317
|
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1162
1318
|
ROLE_COURIER: "ROLE_COURIER";
|
|
1163
1319
|
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1320
|
+
ROLE_ECOMMERCE_CUSTOMER: "ROLE_ECOMMERCE_CUSTOMER";
|
|
1164
1321
|
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1165
1322
|
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1166
1323
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
@@ -1180,4 +1337,4 @@ type UserIri = z.infer<typeof userIriSchema>;
|
|
|
1180
1337
|
declare const userNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
|
|
1181
1338
|
type UserNullableIri = z.infer<typeof userNullableIriSchema>;
|
|
1182
1339
|
|
|
1183
|
-
export { CreateUser, type CreateUserInput, type CreateUserResponse, DeleteUser, GetMe, type GetMeInput, type GetMeResponse, GetUserDetails, type GetUserDetailsInput, type GetUserDetailsResponse, GetUsers, type GetUsersInput, type GetUsersQueryParams, type GetUsersResponse, type SecurityRole, UpdateUser, type UpdateUserInput, type UpdateUserResponse, type User, type UserIri, type UserNullableIri, type UserStep, type UsersQueryParams, type WritableUser, createUserInputSchema, createUserResponseSchema, deleteUserInputSchema, deleteUserResponseSchema, getMeInputSchema, getMeResponseSchema, getUserDetailsInputSchema, getUserDetailsResponseSchema, getUsersInputSchema, getUsersQuerySchema, getUsersResponseSchema, securityRoleSchema, securityRoles, updateUserInputSchema, updateUserResponseSchema, userIriSchema, userNullableIriSchema, userSchema, userStepSchema, userSteps, usersQuerySchema, writableUserSchema };
|
|
1340
|
+
export { CreateUser, type CreateUserInput, type CreateUserResponse, DeleteUser, type EmailVerificationCodeStatus, GetMe, type GetMeInput, type GetMeResponse, GetUserDetails, type GetUserDetailsInput, type GetUserDetailsResponse, GetUsers, type GetUsersInput, type GetUsersQueryParams, type GetUsersResponse, type SecurityRole, SendCurrentUserEmailVerificationCode, type SendCurrentUserEmailVerificationCodeInput, type SendCurrentUserEmailVerificationCodeResponse, SendEmailVerificationCodeByEmail, type SendEmailVerificationCodeByEmailInput, type SendEmailVerificationCodeByEmailResponse, UpdateUser, type UpdateUserInput, type UpdateUserResponse, type User, type UserIri, type UserNullableIri, type UserStep, type UsersQueryParams, VerifyCurrentUserEmailVerificationCode, type VerifyCurrentUserEmailVerificationCodeInput, type VerifyCurrentUserEmailVerificationCodeResponse, VerifyEmailVerificationCodeByEmail, type VerifyEmailVerificationCodeByEmailInput, type VerifyEmailVerificationCodeByEmailResponse, type WritableUser, createUserInputSchema, createUserResponseSchema, deleteUserInputSchema, deleteUserResponseSchema, emailVerificationCodeStatusSchema, getMeInputSchema, getMeResponseSchema, getUserDetailsInputSchema, getUserDetailsResponseSchema, getUsersInputSchema, getUsersQuerySchema, getUsersResponseSchema, securityRoleSchema, securityRoles, sendCurrentUserEmailVerificationCodeInputSchema, sendCurrentUserEmailVerificationCodeResponseSchema, sendEmailVerificationCodeByEmailInputSchema, sendEmailVerificationCodeByEmailResponseSchema, updateUserInputSchema, updateUserResponseSchema, userIriSchema, userNullableIriSchema, userSchema, userStepSchema, userSteps, usersQuerySchema, verifyCurrentUserEmailVerificationCodeInputSchema, verifyCurrentUserEmailVerificationCodeResponseSchema, verifyEmailVerificationCodeByEmailInputSchema, verifyEmailVerificationCodeByEmailResponseSchema, writableUserSchema };
|
package/dist/index.js
CHANGED
|
@@ -13813,6 +13813,7 @@ var securityRoles = [
|
|
|
13813
13813
|
// Role for the users
|
|
13814
13814
|
"ROLE_COURIER",
|
|
13815
13815
|
"ROLE_CUSTOMER",
|
|
13816
|
+
"ROLE_ECOMMERCE_CUSTOMER",
|
|
13816
13817
|
"ROLE_MANAGER",
|
|
13817
13818
|
"ROLE_SUPER_ADMIN",
|
|
13818
13819
|
"ROLE_KITCHEN",
|
|
@@ -13851,6 +13852,13 @@ var writableUserSchema = userSchema.pick({
|
|
|
13851
13852
|
}).extend({
|
|
13852
13853
|
plainPassword: external_exports.string().optional()
|
|
13853
13854
|
}).partial();
|
|
13855
|
+
var emailVerificationCodeStatusSchema = external_exports.object({
|
|
13856
|
+
email: external_exports.email().nullable(),
|
|
13857
|
+
emailVerified: external_exports.boolean(),
|
|
13858
|
+
expiresInSeconds: external_exports.number().int().nullable(),
|
|
13859
|
+
cooldownSeconds: external_exports.number().int(),
|
|
13860
|
+
remainingAttempts: external_exports.number().int()
|
|
13861
|
+
});
|
|
13854
13862
|
var usersQuerySchema = external_exports.object({
|
|
13855
13863
|
email: external_exports.string().optional(),
|
|
13856
13864
|
firstName: external_exports.string().optional(),
|
|
@@ -13969,11 +13977,54 @@ var GetUsers = class extends AbstractApiRequest5 {
|
|
|
13969
13977
|
}
|
|
13970
13978
|
};
|
|
13971
13979
|
|
|
13972
|
-
// src/requests/
|
|
13980
|
+
// src/requests/SendCurrentUserEmailVerificationCode.ts
|
|
13973
13981
|
import { AbstractApiRequest as AbstractApiRequest6 } from "@deliverart/sdk-js-core";
|
|
13982
|
+
var sendCurrentUserEmailVerificationCodeInputSchema = external_exports.undefined();
|
|
13983
|
+
var sendCurrentUserEmailVerificationCodeResponseSchema = emailVerificationCodeStatusSchema;
|
|
13984
|
+
var SendCurrentUserEmailVerificationCode = class extends AbstractApiRequest6 {
|
|
13985
|
+
constructor() {
|
|
13986
|
+
super(void 0);
|
|
13987
|
+
this.method = "POST";
|
|
13988
|
+
this.contentType = "application/json";
|
|
13989
|
+
this.accept = "application/json";
|
|
13990
|
+
this.inputSchema = sendCurrentUserEmailVerificationCodeInputSchema;
|
|
13991
|
+
this.outputSchema = sendCurrentUserEmailVerificationCodeResponseSchema;
|
|
13992
|
+
this.querySchema = void 0;
|
|
13993
|
+
this.headersSchema = void 0;
|
|
13994
|
+
}
|
|
13995
|
+
getPath() {
|
|
13996
|
+
return "/users/me/email-verification/send";
|
|
13997
|
+
}
|
|
13998
|
+
};
|
|
13999
|
+
|
|
14000
|
+
// src/requests/SendEmailVerificationCodeByEmail.ts
|
|
14001
|
+
import { AbstractApiRequest as AbstractApiRequest7 } from "@deliverart/sdk-js-core";
|
|
14002
|
+
var sendEmailVerificationCodeByEmailInputSchema = external_exports.object({
|
|
14003
|
+
email: external_exports.email(),
|
|
14004
|
+
enforceCooldown: external_exports.boolean().optional()
|
|
14005
|
+
});
|
|
14006
|
+
var sendEmailVerificationCodeByEmailResponseSchema = emailVerificationCodeStatusSchema;
|
|
14007
|
+
var SendEmailVerificationCodeByEmail = class extends AbstractApiRequest7 {
|
|
14008
|
+
constructor(input) {
|
|
14009
|
+
super(input);
|
|
14010
|
+
this.method = "POST";
|
|
14011
|
+
this.contentType = "application/json";
|
|
14012
|
+
this.accept = "application/json";
|
|
14013
|
+
this.inputSchema = sendEmailVerificationCodeByEmailInputSchema;
|
|
14014
|
+
this.outputSchema = sendEmailVerificationCodeByEmailResponseSchema;
|
|
14015
|
+
this.querySchema = void 0;
|
|
14016
|
+
this.headersSchema = void 0;
|
|
14017
|
+
}
|
|
14018
|
+
getPath() {
|
|
14019
|
+
return "/users/email-verification/send";
|
|
14020
|
+
}
|
|
14021
|
+
};
|
|
14022
|
+
|
|
14023
|
+
// src/requests/UpdateUser.ts
|
|
14024
|
+
import { AbstractApiRequest as AbstractApiRequest8 } from "@deliverart/sdk-js-core";
|
|
13974
14025
|
var updateUserInputSchema = writableUserSchema;
|
|
13975
14026
|
var updateUserResponseSchema = userSchema;
|
|
13976
|
-
var UpdateUser = class extends
|
|
14027
|
+
var UpdateUser = class extends AbstractApiRequest8 {
|
|
13977
14028
|
constructor(userId, input) {
|
|
13978
14029
|
super(input);
|
|
13979
14030
|
this.method = "PATCH";
|
|
@@ -13989,17 +14040,67 @@ var UpdateUser = class extends AbstractApiRequest6 {
|
|
|
13989
14040
|
return `/users/${this.userId}`;
|
|
13990
14041
|
}
|
|
13991
14042
|
};
|
|
14043
|
+
|
|
14044
|
+
// src/requests/VerifyCurrentUserEmailVerificationCode.ts
|
|
14045
|
+
import { AbstractApiRequest as AbstractApiRequest9 } from "@deliverart/sdk-js-core";
|
|
14046
|
+
var verifyCurrentUserEmailVerificationCodeInputSchema = external_exports.object({
|
|
14047
|
+
code: external_exports.string().regex(/^\d{6}$/)
|
|
14048
|
+
});
|
|
14049
|
+
var verifyCurrentUserEmailVerificationCodeResponseSchema = emailVerificationCodeStatusSchema;
|
|
14050
|
+
var VerifyCurrentUserEmailVerificationCode = class extends AbstractApiRequest9 {
|
|
14051
|
+
constructor(input) {
|
|
14052
|
+
super(input);
|
|
14053
|
+
this.method = "POST";
|
|
14054
|
+
this.contentType = "application/json";
|
|
14055
|
+
this.accept = "application/json";
|
|
14056
|
+
this.inputSchema = verifyCurrentUserEmailVerificationCodeInputSchema;
|
|
14057
|
+
this.outputSchema = verifyCurrentUserEmailVerificationCodeResponseSchema;
|
|
14058
|
+
this.querySchema = void 0;
|
|
14059
|
+
this.headersSchema = void 0;
|
|
14060
|
+
}
|
|
14061
|
+
getPath() {
|
|
14062
|
+
return "/users/me/email-verification/verify";
|
|
14063
|
+
}
|
|
14064
|
+
};
|
|
14065
|
+
|
|
14066
|
+
// src/requests/VerifyEmailVerificationCodeByEmail.ts
|
|
14067
|
+
import { AbstractApiRequest as AbstractApiRequest10 } from "@deliverart/sdk-js-core";
|
|
14068
|
+
var verifyEmailVerificationCodeByEmailInputSchema = external_exports.object({
|
|
14069
|
+
email: external_exports.email(),
|
|
14070
|
+
code: external_exports.string().regex(/^\d{6}$/)
|
|
14071
|
+
});
|
|
14072
|
+
var verifyEmailVerificationCodeByEmailResponseSchema = emailVerificationCodeStatusSchema;
|
|
14073
|
+
var VerifyEmailVerificationCodeByEmail = class extends AbstractApiRequest10 {
|
|
14074
|
+
constructor(input) {
|
|
14075
|
+
super(input);
|
|
14076
|
+
this.method = "POST";
|
|
14077
|
+
this.contentType = "application/json";
|
|
14078
|
+
this.accept = "application/json";
|
|
14079
|
+
this.inputSchema = verifyEmailVerificationCodeByEmailInputSchema;
|
|
14080
|
+
this.outputSchema = verifyEmailVerificationCodeByEmailResponseSchema;
|
|
14081
|
+
this.querySchema = void 0;
|
|
14082
|
+
this.headersSchema = void 0;
|
|
14083
|
+
}
|
|
14084
|
+
getPath() {
|
|
14085
|
+
return "/users/email-verification/verify";
|
|
14086
|
+
}
|
|
14087
|
+
};
|
|
13992
14088
|
export {
|
|
13993
14089
|
CreateUser,
|
|
13994
14090
|
DeleteUser,
|
|
13995
14091
|
GetMe,
|
|
13996
14092
|
GetUserDetails,
|
|
13997
14093
|
GetUsers,
|
|
14094
|
+
SendCurrentUserEmailVerificationCode,
|
|
14095
|
+
SendEmailVerificationCodeByEmail,
|
|
13998
14096
|
UpdateUser,
|
|
14097
|
+
VerifyCurrentUserEmailVerificationCode,
|
|
14098
|
+
VerifyEmailVerificationCodeByEmail,
|
|
13999
14099
|
createUserInputSchema,
|
|
14000
14100
|
createUserResponseSchema,
|
|
14001
14101
|
deleteUserInputSchema,
|
|
14002
14102
|
deleteUserResponseSchema,
|
|
14103
|
+
emailVerificationCodeStatusSchema,
|
|
14003
14104
|
getMeInputSchema,
|
|
14004
14105
|
getMeResponseSchema,
|
|
14005
14106
|
getUserDetailsInputSchema,
|
|
@@ -14009,6 +14110,10 @@ export {
|
|
|
14009
14110
|
getUsersResponseSchema,
|
|
14010
14111
|
securityRoleSchema,
|
|
14011
14112
|
securityRoles,
|
|
14113
|
+
sendCurrentUserEmailVerificationCodeInputSchema,
|
|
14114
|
+
sendCurrentUserEmailVerificationCodeResponseSchema,
|
|
14115
|
+
sendEmailVerificationCodeByEmailInputSchema,
|
|
14116
|
+
sendEmailVerificationCodeByEmailResponseSchema,
|
|
14012
14117
|
updateUserInputSchema,
|
|
14013
14118
|
updateUserResponseSchema,
|
|
14014
14119
|
userIriSchema,
|
|
@@ -14017,5 +14122,9 @@ export {
|
|
|
14017
14122
|
userStepSchema,
|
|
14018
14123
|
userSteps,
|
|
14019
14124
|
usersQuerySchema,
|
|
14125
|
+
verifyCurrentUserEmailVerificationCodeInputSchema,
|
|
14126
|
+
verifyCurrentUserEmailVerificationCodeResponseSchema,
|
|
14127
|
+
verifyEmailVerificationCodeByEmailInputSchema,
|
|
14128
|
+
verifyEmailVerificationCodeByEmailResponseSchema,
|
|
14020
14129
|
writableUserSchema
|
|
14021
14130
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-user",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for User Management",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.23.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-core": "2.
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.
|
|
21
|
+
"@deliverart/sdk-js-core": "2.23.2",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.23.2"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|