@veruna/api-contracts 1.0.27 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/build/controllers/index.d.ts +3 -2
  2. package/build/controllers/index.js +3 -1
  3. package/build/controllers/verification.controllers.d.ts +5 -0
  4. package/build/controllers/verification.controllers.js +8 -0
  5. package/build/rest-api.d.ts +21 -0
  6. package/build/rest-api.js +21 -0
  7. package/build/routes/index.d.ts +1 -0
  8. package/build/routes/index.js +3 -1
  9. package/build/routes/users.routes.d.ts +12 -0
  10. package/build/routes/users.routes.js +12 -0
  11. package/build/routes/verification.routes.d.ts +7 -0
  12. package/build/routes/verification.routes.js +10 -0
  13. package/build/v1/index.d.ts +1 -0
  14. package/build/v1/index.js +1 -0
  15. package/build/v1/message/commands/create-message.command.d.ts +12 -0
  16. package/build/v1/message/schemas/index.d.ts +1 -1
  17. package/build/v1/message/schemas/index.js +2 -1
  18. package/build/v1/message/schemas/stream-events.schema.d.ts +30 -0
  19. package/build/v1/message/schemas/stream-events.schema.js +20 -1
  20. package/build/v1/notifications/schemas/email-template.enum.d.ts +1 -0
  21. package/build/v1/notifications/schemas/email-template.enum.js +1 -0
  22. package/build/v1/users/commands/delete-account-complete.command.d.ts +15 -0
  23. package/build/v1/users/commands/delete-account-complete.command.js +13 -0
  24. package/build/v1/users/commands/delete-account-start.command.d.ts +22 -0
  25. package/build/v1/users/commands/delete-account-start.command.js +14 -0
  26. package/build/v1/users/commands/delete-account-verify.command.d.ts +19 -0
  27. package/build/v1/users/commands/delete-account-verify.command.js +13 -0
  28. package/build/v1/users/commands/email-change-complete.command.d.ts +15 -0
  29. package/build/v1/users/commands/email-change-complete.command.js +13 -0
  30. package/build/v1/users/commands/email-change-start.command.d.ts +22 -0
  31. package/build/v1/users/commands/email-change-start.command.js +14 -0
  32. package/build/v1/users/commands/email-change-verify.command.d.ts +19 -0
  33. package/build/v1/users/commands/email-change-verify.command.js +13 -0
  34. package/build/v1/users/commands/index.d.ts +9 -0
  35. package/build/v1/users/commands/index.js +9 -0
  36. package/build/v1/users/commands/password-change-complete.command.d.ts +17 -0
  37. package/build/v1/users/commands/password-change-complete.command.js +14 -0
  38. package/build/v1/users/commands/password-change-start.command.d.ts +22 -0
  39. package/build/v1/users/commands/password-change-start.command.js +14 -0
  40. package/build/v1/users/commands/password-change-verify.command.d.ts +19 -0
  41. package/build/v1/users/commands/password-change-verify.command.js +13 -0
  42. package/build/v1/users/queries/delete-account-status.query.d.ts +22 -0
  43. package/build/v1/users/queries/delete-account-status.query.js +16 -0
  44. package/build/v1/users/queries/email-change-status.query.d.ts +22 -0
  45. package/build/v1/users/queries/email-change-status.query.js +16 -0
  46. package/build/v1/users/queries/index.d.ts +3 -0
  47. package/build/v1/users/queries/index.js +3 -0
  48. package/build/v1/users/queries/password-change-status.query.d.ts +22 -0
  49. package/build/v1/users/queries/password-change-status.query.js +16 -0
  50. package/build/v1/users/schemas/delete-account-start-request.schema.d.ts +4 -0
  51. package/build/v1/users/schemas/delete-account-start-request.schema.js +7 -0
  52. package/build/v1/users/schemas/email-change-start-request.schema.d.ts +4 -0
  53. package/build/v1/users/schemas/email-change-start-request.schema.js +7 -0
  54. package/build/v1/users/schemas/index.d.ts +4 -0
  55. package/build/v1/users/schemas/index.js +4 -0
  56. package/build/v1/users/schemas/password-change-complete-request.schema.d.ts +6 -0
  57. package/build/v1/users/schemas/password-change-complete-request.schema.js +10 -0
  58. package/build/v1/users/schemas/password-change-start-request.schema.d.ts +4 -0
  59. package/build/v1/users/schemas/password-change-start-request.schema.js +7 -0
  60. package/build/v1/users/users.errors.d.ts +2 -0
  61. package/build/v1/users/users.errors.js +10 -0
  62. package/build/v1/verification/commands/index.d.ts +1 -0
  63. package/build/v1/verification/commands/index.js +17 -0
  64. package/build/v1/verification/commands/resend.command.d.ts +17 -0
  65. package/build/v1/verification/commands/resend.command.js +13 -0
  66. package/build/v1/verification/index.d.ts +3 -0
  67. package/build/v1/verification/index.js +19 -0
  68. package/build/v1/verification/schemas/index.d.ts +13 -0
  69. package/build/v1/verification/schemas/index.js +29 -0
  70. package/build/v1/verification/schemas/verification-channel.enum.d.ts +3 -0
  71. package/build/v1/verification/schemas/verification-channel.enum.js +7 -0
  72. package/build/v1/verification/schemas/verification-complete-request.schema.d.ts +4 -0
  73. package/build/v1/verification/schemas/verification-complete-request.schema.js +7 -0
  74. package/build/v1/verification/schemas/verification-complete-response.schema.d.ts +6 -0
  75. package/build/v1/verification/schemas/verification-complete-response.schema.js +9 -0
  76. package/build/v1/verification/schemas/verification-request-status.enum.d.ts +7 -0
  77. package/build/v1/verification/schemas/verification-request-status.enum.js +11 -0
  78. package/build/v1/verification/schemas/verification-resend-request.schema.d.ts +5 -0
  79. package/build/v1/verification/schemas/verification-resend-request.schema.js +8 -0
  80. package/build/v1/verification/schemas/verification-resend-response.schema.d.ts +7 -0
  81. package/build/v1/verification/schemas/verification-resend-response.schema.js +10 -0
  82. package/build/v1/verification/schemas/verification-start-response.schema.d.ts +14 -0
  83. package/build/v1/verification/schemas/verification-start-response.schema.js +13 -0
  84. package/build/v1/verification/schemas/verification-status-response.schema.d.ts +14 -0
  85. package/build/v1/verification/schemas/verification-status-response.schema.js +13 -0
  86. package/build/v1/verification/schemas/verification-step-status.enum.d.ts +6 -0
  87. package/build/v1/verification/schemas/verification-step-status.enum.js +10 -0
  88. package/build/v1/verification/schemas/verification-step.schema.d.ts +9 -0
  89. package/build/v1/verification/schemas/verification-step.schema.js +12 -0
  90. package/build/v1/verification/schemas/verification-type.enum.d.ts +5 -0
  91. package/build/v1/verification/schemas/verification-type.enum.js +9 -0
  92. package/build/v1/verification/schemas/verification-verify-request.schema.d.ts +6 -0
  93. package/build/v1/verification/schemas/verification-verify-request.schema.js +9 -0
  94. package/build/v1/verification/schemas/verification-verify-response.schema.d.ts +9 -0
  95. package/build/v1/verification/schemas/verification-verify-response.schema.js +12 -0
  96. package/build/v1/verification/verification.errors.d.ts +14 -0
  97. package/build/v1/verification/verification.errors.js +58 -0
  98. package/package.json +1 -1
@@ -5,10 +5,11 @@ export { AUTH_CONTROLLER } from './auth.controllers';
5
5
  export { USERS_CONTROLLER } from './users.controllers';
6
6
  export { UNREG_USERS_CONTROLLER } from './unreg-users.controllers';
7
7
  export { BLOG_ADMIN_CATEGORIES_CONTROLLER, BLOG_ADMIN_POSTS_CONTROLLER, BLOG_PUBLIC_CATEGORIES_CONTROLLER, BLOG_PUBLIC_POSTS_CONTROLLER, } from './blog.controllers';
8
- export { SEO_PAGES_ADMIN_CONTROLLER, SEO_PAGES_PUBLIC_CONTROLLER, } from './seo-pages.controllers';
8
+ export { SEO_PAGES_ADMIN_CONTROLLER, SEO_PAGES_PUBLIC_CONTROLLER } from './seo-pages.controllers';
9
9
  export { AI_PROVIDER_ADMIN_CONTROLLER, AI_PROVIDER_PUBLIC_CONTROLLER, } from './ai-provider.controllers';
10
- export { AI_MODEL_ADMIN_CONTROLLER, AI_MODEL_PUBLIC_CONTROLLER, } from './ai-model.controllers';
10
+ export { AI_MODEL_ADMIN_CONTROLLER, AI_MODEL_PUBLIC_CONTROLLER } from './ai-model.controllers';
11
11
  export { FILE_CONTROLLER } from './file.controllers';
12
12
  export { CHAT_PROJECT_CONTROLLER } from './chat-project.controllers';
13
13
  export { CHAT_UNREG_CONTROLLER } from './chat.controllers';
14
14
  export { MESSAGE_UNREG_CONTROLLER } from './message.controllers';
15
+ export { VERIFICATION_CONTROLLER } from './verification.controllers';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MESSAGE_UNREG_CONTROLLER = exports.CHAT_UNREG_CONTROLLER = exports.CHAT_PROJECT_CONTROLLER = exports.FILE_CONTROLLER = exports.AI_MODEL_PUBLIC_CONTROLLER = exports.AI_MODEL_ADMIN_CONTROLLER = exports.AI_PROVIDER_PUBLIC_CONTROLLER = exports.AI_PROVIDER_ADMIN_CONTROLLER = exports.SEO_PAGES_PUBLIC_CONTROLLER = exports.SEO_PAGES_ADMIN_CONTROLLER = exports.BLOG_PUBLIC_POSTS_CONTROLLER = exports.BLOG_PUBLIC_CATEGORIES_CONTROLLER = exports.BLOG_ADMIN_POSTS_CONTROLLER = exports.BLOG_ADMIN_CATEGORIES_CONTROLLER = exports.UNREG_USERS_CONTROLLER = exports.USERS_CONTROLLER = exports.AUTH_CONTROLLER = void 0;
3
+ exports.VERIFICATION_CONTROLLER = exports.MESSAGE_UNREG_CONTROLLER = exports.CHAT_UNREG_CONTROLLER = exports.CHAT_PROJECT_CONTROLLER = exports.FILE_CONTROLLER = exports.AI_MODEL_PUBLIC_CONTROLLER = exports.AI_MODEL_ADMIN_CONTROLLER = exports.AI_PROVIDER_PUBLIC_CONTROLLER = exports.AI_PROVIDER_ADMIN_CONTROLLER = exports.SEO_PAGES_PUBLIC_CONTROLLER = exports.SEO_PAGES_ADMIN_CONTROLLER = exports.BLOG_PUBLIC_POSTS_CONTROLLER = exports.BLOG_PUBLIC_CATEGORIES_CONTROLLER = exports.BLOG_ADMIN_POSTS_CONTROLLER = exports.BLOG_ADMIN_CATEGORIES_CONTROLLER = exports.UNREG_USERS_CONTROLLER = exports.USERS_CONTROLLER = exports.AUTH_CONTROLLER = void 0;
4
4
  /**
5
5
  * Centralized exports for all controllers
6
6
  */
@@ -32,3 +32,5 @@ var chat_controllers_1 = require("./chat.controllers");
32
32
  Object.defineProperty(exports, "CHAT_UNREG_CONTROLLER", { enumerable: true, get: function () { return chat_controllers_1.CHAT_UNREG_CONTROLLER; } });
33
33
  var message_controllers_1 = require("./message.controllers");
34
34
  Object.defineProperty(exports, "MESSAGE_UNREG_CONTROLLER", { enumerable: true, get: function () { return message_controllers_1.MESSAGE_UNREG_CONTROLLER; } });
35
+ var verification_controllers_1 = require("./verification.controllers");
36
+ Object.defineProperty(exports, "VERIFICATION_CONTROLLER", { enumerable: true, get: function () { return verification_controllers_1.VERIFICATION_CONTROLLER; } });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Verification Controller path
3
+ * Used for resend endpoint
4
+ */
5
+ export declare const VERIFICATION_CONTROLLER: "v1/verification";
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VERIFICATION_CONTROLLER = void 0;
4
+ /**
5
+ * Verification Controller path
6
+ * Used for resend endpoint
7
+ */
8
+ exports.VERIFICATION_CONTROLLER = 'v1/verification';
@@ -18,6 +18,24 @@ export declare const REST_API: {
18
18
  readonly ME: "/api/v1/users/me";
19
19
  readonly ME_MARKETING_CONSENT: "/api/v1/users/me/marketing-consent";
20
20
  readonly ME_PASSWORD: "/api/v1/users/me/password";
21
+ readonly EMAIL_CHANGE: {
22
+ readonly START: "/api/v1/users/me/email-change/start";
23
+ readonly VERIFY: "/api/v1/users/me/email-change/verify";
24
+ readonly STATUS: "/api/v1/users/me/email-change/status";
25
+ readonly COMPLETE: "/api/v1/users/me/email-change/complete";
26
+ };
27
+ readonly DELETE_ACCOUNT: {
28
+ readonly START: "/api/v1/users/me/delete-account/start";
29
+ readonly VERIFY: "/api/v1/users/me/delete-account/verify";
30
+ readonly STATUS: "/api/v1/users/me/delete-account/status";
31
+ readonly COMPLETE: "/api/v1/users/me/delete-account/complete";
32
+ };
33
+ readonly PASSWORD_CHANGE: {
34
+ readonly START: "/api/v1/users/me/password/change/start";
35
+ readonly VERIFY: "/api/v1/users/me/password/change/verify";
36
+ readonly STATUS: "/api/v1/users/me/password/change/status";
37
+ readonly COMPLETE: "/api/v1/users/me/password/change/complete";
38
+ };
21
39
  };
22
40
  readonly UNREG: {
23
41
  readonly AUTHENTICATE: "/api/v1/unreg/";
@@ -115,5 +133,8 @@ export declare const REST_API: {
115
133
  readonly CREATE: (pageId: string, chatId: string) => string;
116
134
  };
117
135
  };
136
+ readonly VERIFICATION: {
137
+ readonly RESEND: "/api/v1/verification/resend";
138
+ };
118
139
  };
119
140
  };
package/build/rest-api.js CHANGED
@@ -25,6 +25,24 @@ exports.REST_API = {
25
25
  ME: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.ME}`,
26
26
  ME_MARKETING_CONSENT: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.ME_MARKETING_CONSENT}`,
27
27
  ME_PASSWORD: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.ME_PASSWORD}`,
28
+ EMAIL_CHANGE: {
29
+ START: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.EMAIL_CHANGE_START}`,
30
+ VERIFY: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.EMAIL_CHANGE_VERIFY}`,
31
+ STATUS: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.EMAIL_CHANGE_STATUS}`,
32
+ COMPLETE: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.EMAIL_CHANGE_COMPLETE}`,
33
+ },
34
+ DELETE_ACCOUNT: {
35
+ START: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.DELETE_ACCOUNT_START}`,
36
+ VERIFY: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.DELETE_ACCOUNT_VERIFY}`,
37
+ STATUS: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.DELETE_ACCOUNT_STATUS}`,
38
+ COMPLETE: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.DELETE_ACCOUNT_COMPLETE}`,
39
+ },
40
+ PASSWORD_CHANGE: {
41
+ START: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.PASSWORD_CHANGE_START}`,
42
+ VERIFY: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.PASSWORD_CHANGE_VERIFY}`,
43
+ STATUS: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.PASSWORD_CHANGE_STATUS}`,
44
+ COMPLETE: `${exports.ROOT}/${controllers_1.USERS_CONTROLLER}/${routes_1.USERS_ROUTES.PASSWORD_CHANGE_COMPLETE}`,
45
+ },
28
46
  },
29
47
  // Unregistered Users
30
48
  UNREG: {
@@ -132,5 +150,8 @@ exports.REST_API = {
132
150
  CREATE: (pageId, chatId) => `${exports.ROOT}/${controllers_1.MESSAGE_UNREG_CONTROLLER.replace(':pageId', pageId).replace(':chatId', chatId)}`,
133
151
  },
134
152
  },
153
+ VERIFICATION: {
154
+ RESEND: `${exports.ROOT}/${controllers_1.VERIFICATION_CONTROLLER}/${routes_1.VERIFICATION_ROUTES.RESEND}`,
155
+ },
135
156
  },
136
157
  };
@@ -17,3 +17,4 @@ export { FILE_ROUTES } from './file.routes';
17
17
  export { CHAT_PROJECT_ROUTES } from './chat-project.routes';
18
18
  export { CHAT_UNREG_ROUTES } from './chat.routes';
19
19
  export { MESSAGE_UNREG_ROUTES } from './message.routes';
20
+ export { VERIFICATION_ROUTES } from './verification.routes';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MESSAGE_UNREG_ROUTES = exports.CHAT_UNREG_ROUTES = exports.CHAT_PROJECT_ROUTES = exports.FILE_ROUTES = exports.AI_MODEL_PUBLIC_ROUTES = exports.AI_MODEL_ADMIN_ROUTES = exports.AI_PROVIDER_PUBLIC_ROUTES = exports.AI_PROVIDER_ADMIN_ROUTES = exports.SEO_PAGES_PUBLIC_ROUTES = exports.SEO_PAGES_ADMIN_ROUTES = exports.BLOG_PUBLIC_POSTS_ROUTES = exports.BLOG_PUBLIC_CATEGORIES_ROUTES = exports.BLOG_ADMIN_POSTS_ROUTES = exports.BLOG_ADMIN_CATEGORIES_ROUTES = exports.UNREG_USERS_ROUTES = exports.USERS_ROUTES = exports.AUTH_ROUTES = void 0;
3
+ exports.VERIFICATION_ROUTES = exports.MESSAGE_UNREG_ROUTES = exports.CHAT_UNREG_ROUTES = exports.CHAT_PROJECT_ROUTES = exports.FILE_ROUTES = exports.AI_MODEL_PUBLIC_ROUTES = exports.AI_MODEL_ADMIN_ROUTES = exports.AI_PROVIDER_PUBLIC_ROUTES = exports.AI_PROVIDER_ADMIN_ROUTES = exports.SEO_PAGES_PUBLIC_ROUTES = exports.SEO_PAGES_ADMIN_ROUTES = exports.BLOG_PUBLIC_POSTS_ROUTES = exports.BLOG_PUBLIC_CATEGORIES_ROUTES = exports.BLOG_ADMIN_POSTS_ROUTES = exports.BLOG_ADMIN_CATEGORIES_ROUTES = exports.UNREG_USERS_ROUTES = exports.USERS_ROUTES = exports.AUTH_ROUTES = void 0;
4
4
  /**
5
5
  * Centralized exports for all routes
6
6
  */
@@ -37,3 +37,5 @@ var chat_routes_1 = require("./chat.routes");
37
37
  Object.defineProperty(exports, "CHAT_UNREG_ROUTES", { enumerable: true, get: function () { return chat_routes_1.CHAT_UNREG_ROUTES; } });
38
38
  var message_routes_1 = require("./message.routes");
39
39
  Object.defineProperty(exports, "MESSAGE_UNREG_ROUTES", { enumerable: true, get: function () { return message_routes_1.MESSAGE_UNREG_ROUTES; } });
40
+ var verification_routes_1 = require("./verification.routes");
41
+ Object.defineProperty(exports, "VERIFICATION_ROUTES", { enumerable: true, get: function () { return verification_routes_1.VERIFICATION_ROUTES; } });
@@ -6,4 +6,16 @@ export declare const USERS_ROUTES: {
6
6
  readonly ME: "me";
7
7
  readonly ME_MARKETING_CONSENT: "me/marketing-consent";
8
8
  readonly ME_PASSWORD: "me/password";
9
+ readonly EMAIL_CHANGE_START: "me/email-change/start";
10
+ readonly EMAIL_CHANGE_VERIFY: "me/email-change/verify";
11
+ readonly EMAIL_CHANGE_STATUS: "me/email-change/status";
12
+ readonly EMAIL_CHANGE_COMPLETE: "me/email-change/complete";
13
+ readonly DELETE_ACCOUNT_START: "me/delete-account/start";
14
+ readonly DELETE_ACCOUNT_VERIFY: "me/delete-account/verify";
15
+ readonly DELETE_ACCOUNT_STATUS: "me/delete-account/status";
16
+ readonly DELETE_ACCOUNT_COMPLETE: "me/delete-account/complete";
17
+ readonly PASSWORD_CHANGE_START: "me/password/change/start";
18
+ readonly PASSWORD_CHANGE_VERIFY: "me/password/change/verify";
19
+ readonly PASSWORD_CHANGE_STATUS: "me/password/change/status";
20
+ readonly PASSWORD_CHANGE_COMPLETE: "me/password/change/complete";
9
21
  };
@@ -9,4 +9,16 @@ exports.USERS_ROUTES = {
9
9
  ME: 'me',
10
10
  ME_MARKETING_CONSENT: 'me/marketing-consent',
11
11
  ME_PASSWORD: 'me/password',
12
+ EMAIL_CHANGE_START: 'me/email-change/start',
13
+ EMAIL_CHANGE_VERIFY: 'me/email-change/verify',
14
+ EMAIL_CHANGE_STATUS: 'me/email-change/status',
15
+ EMAIL_CHANGE_COMPLETE: 'me/email-change/complete',
16
+ DELETE_ACCOUNT_START: 'me/delete-account/start',
17
+ DELETE_ACCOUNT_VERIFY: 'me/delete-account/verify',
18
+ DELETE_ACCOUNT_STATUS: 'me/delete-account/status',
19
+ DELETE_ACCOUNT_COMPLETE: 'me/delete-account/complete',
20
+ PASSWORD_CHANGE_START: 'me/password/change/start',
21
+ PASSWORD_CHANGE_VERIFY: 'me/password/change/verify',
22
+ PASSWORD_CHANGE_STATUS: 'me/password/change/status',
23
+ PASSWORD_CHANGE_COMPLETE: 'me/password/change/complete',
12
24
  };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Verification Routes
3
+ * For NestJS method decorators
4
+ */
5
+ export declare const VERIFICATION_ROUTES: {
6
+ readonly RESEND: "resend";
7
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VERIFICATION_ROUTES = void 0;
4
+ /**
5
+ * Verification Routes
6
+ * For NestJS method decorators
7
+ */
8
+ exports.VERIFICATION_ROUTES = {
9
+ RESEND: 'resend',
10
+ };
@@ -11,3 +11,4 @@ export * from './chat-project';
11
11
  export * from './chat';
12
12
  export * from './message';
13
13
  export * from './ai';
14
+ export * from './verification';
package/build/v1/index.js CHANGED
@@ -27,3 +27,4 @@ __exportStar(require("./chat-project"), exports);
27
27
  __exportStar(require("./chat"), exports);
28
28
  __exportStar(require("./message"), exports);
29
29
  __exportStar(require("./ai"), exports);
30
+ __exportStar(require("./verification"), exports);
@@ -46,6 +46,18 @@ export declare namespace CreateMessageCommand {
46
46
  messageId: z.ZodString;
47
47
  type: z.ZodLiteral<import("../schemas").StreamEventType.CHUNK>;
48
48
  content: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ id: z.ZodNumber;
51
+ chatId: z.ZodString;
52
+ messageId: z.ZodString;
53
+ type: z.ZodLiteral<import("../schemas").StreamEventType.REASONING>;
54
+ reasoning: z.ZodString;
55
+ reasoningDetails: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
+ type: z.ZodString;
57
+ summary: z.ZodString;
58
+ format: z.ZodOptional<z.ZodString>;
59
+ index: z.ZodOptional<z.ZodNumber>;
60
+ }, z.core.$strip>>>;
49
61
  }, z.core.$strip>, z.ZodObject<{
50
62
  id: z.ZodNumber;
51
63
  chatId: z.ZodString;
@@ -4,4 +4,4 @@ export { UserRating } from './user-rating.enum';
4
4
  export { CreateMessageRequestSchema } from './create-message-request.schema';
5
5
  export { CreateMessageResponseSchema } from './create-message-response.schema';
6
6
  export { MessageResponseSchema } from './message-response.schema';
7
- export { StreamEventType, StreamEventSchema, StreamChunkEventSchema, StreamDoneEventSchema, StreamErrorEventSchema, } from './stream-events.schema';
7
+ export { StreamEventType, StreamEventSchema, StreamChunkEventSchema, StreamReasoningEventSchema, StreamDoneEventSchema, StreamErrorEventSchema, } from './stream-events.schema';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamErrorEventSchema = exports.StreamDoneEventSchema = exports.StreamChunkEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
3
+ exports.StreamErrorEventSchema = exports.StreamDoneEventSchema = exports.StreamReasoningEventSchema = exports.StreamChunkEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
4
4
  var message_role_enum_1 = require("./message-role.enum");
5
5
  Object.defineProperty(exports, "MessageRole", { enumerable: true, get: function () { return message_role_enum_1.MessageRole; } });
6
6
  var message_status_enum_1 = require("./message-status.enum");
@@ -17,5 +17,6 @@ var stream_events_schema_1 = require("./stream-events.schema");
17
17
  Object.defineProperty(exports, "StreamEventType", { enumerable: true, get: function () { return stream_events_schema_1.StreamEventType; } });
18
18
  Object.defineProperty(exports, "StreamEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamEventSchema; } });
19
19
  Object.defineProperty(exports, "StreamChunkEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamChunkEventSchema; } });
20
+ Object.defineProperty(exports, "StreamReasoningEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamReasoningEventSchema; } });
20
21
  Object.defineProperty(exports, "StreamDoneEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamDoneEventSchema; } });
21
22
  Object.defineProperty(exports, "StreamErrorEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamErrorEventSchema; } });
@@ -5,6 +5,8 @@ import { z } from 'zod';
5
5
  export declare enum StreamEventType {
6
6
  /** Content chunk from AI */
7
7
  CHUNK = "chunk",
8
+ /** Reasoning chunk from AI */
9
+ REASONING = "reasoning",
8
10
  /** Stream completed successfully */
9
11
  DONE = "done",
10
12
  /** Error occurred during streaming */
@@ -20,6 +22,22 @@ export declare const StreamChunkEventSchema: z.ZodObject<{
20
22
  type: z.ZodLiteral<StreamEventType.CHUNK>;
21
23
  content: z.ZodString;
22
24
  }, z.core.$strip>;
25
+ /**
26
+ * Reasoning chunk event - contains model reasoning text
27
+ */
28
+ export declare const StreamReasoningEventSchema: z.ZodObject<{
29
+ id: z.ZodNumber;
30
+ chatId: z.ZodString;
31
+ messageId: z.ZodString;
32
+ type: z.ZodLiteral<StreamEventType.REASONING>;
33
+ reasoning: z.ZodString;
34
+ reasoningDetails: z.ZodOptional<z.ZodArray<z.ZodObject<{
35
+ type: z.ZodString;
36
+ summary: z.ZodString;
37
+ format: z.ZodOptional<z.ZodString>;
38
+ index: z.ZodOptional<z.ZodNumber>;
39
+ }, z.core.$strip>>>;
40
+ }, z.core.$strip>;
23
41
  /**
24
42
  * Done event - stream completed successfully
25
43
  */
@@ -50,6 +68,18 @@ export declare const StreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
50
68
  messageId: z.ZodString;
51
69
  type: z.ZodLiteral<StreamEventType.CHUNK>;
52
70
  content: z.ZodString;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ id: z.ZodNumber;
73
+ chatId: z.ZodString;
74
+ messageId: z.ZodString;
75
+ type: z.ZodLiteral<StreamEventType.REASONING>;
76
+ reasoning: z.ZodString;
77
+ reasoningDetails: z.ZodOptional<z.ZodArray<z.ZodObject<{
78
+ type: z.ZodString;
79
+ summary: z.ZodString;
80
+ format: z.ZodOptional<z.ZodString>;
81
+ index: z.ZodOptional<z.ZodNumber>;
82
+ }, z.core.$strip>>>;
53
83
  }, z.core.$strip>, z.ZodObject<{
54
84
  id: z.ZodNumber;
55
85
  chatId: z.ZodString;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamEventSchema = exports.StreamErrorEventSchema = exports.StreamDoneEventSchema = exports.StreamChunkEventSchema = exports.StreamEventType = void 0;
3
+ exports.StreamEventSchema = exports.StreamErrorEventSchema = exports.StreamDoneEventSchema = exports.StreamReasoningEventSchema = exports.StreamChunkEventSchema = exports.StreamEventType = void 0;
4
4
  const zod_1 = require("zod");
5
5
  /**
6
6
  * Stream Event Types for message streaming (NDJSON format)
@@ -9,6 +9,8 @@ var StreamEventType;
9
9
  (function (StreamEventType) {
10
10
  /** Content chunk from AI */
11
11
  StreamEventType["CHUNK"] = "chunk";
12
+ /** Reasoning chunk from AI */
13
+ StreamEventType["REASONING"] = "reasoning";
12
14
  /** Stream completed successfully */
13
15
  StreamEventType["DONE"] = "done";
14
16
  /** Error occurred during streaming */
@@ -36,6 +38,22 @@ exports.StreamChunkEventSchema = BaseStreamEventSchema.extend({
36
38
  /** Partial content from AI */
37
39
  content: zod_1.z.string().min(1),
38
40
  });
41
+ /**
42
+ * Reasoning chunk event - contains model reasoning text
43
+ */
44
+ exports.StreamReasoningEventSchema = BaseStreamEventSchema.extend({
45
+ type: zod_1.z.literal(StreamEventType.REASONING),
46
+ /** Partial reasoning text */
47
+ reasoning: zod_1.z.string().min(1),
48
+ reasoningDetails: zod_1.z
49
+ .array(zod_1.z.object({
50
+ type: zod_1.z.string(),
51
+ summary: zod_1.z.string(),
52
+ format: zod_1.z.string().optional(),
53
+ index: zod_1.z.number().int().nonnegative().optional(),
54
+ }))
55
+ .optional(),
56
+ });
39
57
  /**
40
58
  * Done event - stream completed successfully
41
59
  */
@@ -61,6 +79,7 @@ exports.StreamErrorEventSchema = BaseStreamEventSchema.extend({
61
79
  */
62
80
  exports.StreamEventSchema = zod_1.z.discriminatedUnion('type', [
63
81
  exports.StreamChunkEventSchema,
82
+ exports.StreamReasoningEventSchema,
64
83
  exports.StreamDoneEventSchema,
65
84
  exports.StreamErrorEventSchema,
66
85
  ]);
@@ -5,6 +5,7 @@
5
5
  export declare enum EmailTemplate {
6
6
  WELCOME = "WELCOME",
7
7
  EMAIL_VERIFICATION = "EMAIL_VERIFICATION",
8
+ VERIFICATION_CODE = "VERIFICATION_CODE",
8
9
  PASSWORD_RESET = "PASSWORD_RESET",
9
10
  PASSWORD_CHANGED = "PASSWORD_CHANGED",
10
11
  LOGIN_FROM_NEW_DEVICE = "LOGIN_FROM_NEW_DEVICE",
@@ -10,6 +10,7 @@ var EmailTemplate;
10
10
  // User lifecycle templates
11
11
  EmailTemplate["WELCOME"] = "WELCOME";
12
12
  EmailTemplate["EMAIL_VERIFICATION"] = "EMAIL_VERIFICATION";
13
+ EmailTemplate["VERIFICATION_CODE"] = "VERIFICATION_CODE";
13
14
  EmailTemplate["PASSWORD_RESET"] = "PASSWORD_RESET";
14
15
  EmailTemplate["PASSWORD_CHANGED"] = "PASSWORD_CHANGED";
15
16
  // Account activity templates
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../shared/http-method';
3
+ export declare namespace UserDeleteAccountCompleteCommand {
4
+ const Request: z.ZodObject<{
5
+ requestId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ const Response: z.ZodObject<{
8
+ requestId: z.ZodString;
9
+ requestStatus: z.ZodEnum<typeof import("../../verification/schemas").VerificationRequestStatus>;
10
+ }, z.core.$strip>;
11
+ const URL: "/api/v1/users/me/delete-account/complete";
12
+ const METHOD = HttpMethod.POST;
13
+ type RequestType = z.infer<typeof Request>;
14
+ type ResponseType = z.infer<typeof Response>;
15
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserDeleteAccountCompleteCommand = void 0;
4
+ const rest_api_1 = require("../../../rest-api");
5
+ const http_method_1 = require("../../../shared/http-method");
6
+ const schemas_1 = require("../../verification/schemas");
7
+ var UserDeleteAccountCompleteCommand;
8
+ (function (UserDeleteAccountCompleteCommand) {
9
+ UserDeleteAccountCompleteCommand.Request = schemas_1.VerificationCompleteRequestSchema;
10
+ UserDeleteAccountCompleteCommand.Response = schemas_1.VerificationCompleteResponseSchema;
11
+ UserDeleteAccountCompleteCommand.URL = rest_api_1.REST_API.V1.USERS.DELETE_ACCOUNT.COMPLETE;
12
+ UserDeleteAccountCompleteCommand.METHOD = http_method_1.HttpMethod.POST;
13
+ })(UserDeleteAccountCompleteCommand || (exports.UserDeleteAccountCompleteCommand = UserDeleteAccountCompleteCommand = {}));
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../shared/http-method';
3
+ export declare namespace UserDeleteAccountStartCommand {
4
+ const Request: z.ZodObject<{
5
+ password: z.ZodString;
6
+ }, z.core.$strip>;
7
+ const Response: z.ZodObject<{
8
+ requestId: z.ZodString;
9
+ type: z.ZodEnum<typeof import("../../verification/schemas").VerificationType>;
10
+ status: z.ZodEnum<typeof import("../../verification/schemas").VerificationRequestStatus>;
11
+ steps: z.ZodArray<z.ZodObject<{
12
+ stepId: z.ZodString;
13
+ channel: z.ZodEnum<typeof import("../../verification/schemas").VerificationChannel>;
14
+ address: z.ZodString;
15
+ status: z.ZodEnum<typeof import("../../verification/schemas").VerificationStepStatus>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ const URL: "/api/v1/users/me/delete-account/start";
19
+ const METHOD = HttpMethod.POST;
20
+ type RequestType = z.infer<typeof Request>;
21
+ type ResponseType = z.infer<typeof Response>;
22
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserDeleteAccountStartCommand = void 0;
4
+ const rest_api_1 = require("../../../rest-api");
5
+ const http_method_1 = require("../../../shared/http-method");
6
+ const schemas_1 = require("../schemas");
7
+ const schemas_2 = require("../../verification/schemas");
8
+ var UserDeleteAccountStartCommand;
9
+ (function (UserDeleteAccountStartCommand) {
10
+ UserDeleteAccountStartCommand.Request = schemas_1.DeleteAccountStartRequestSchema;
11
+ UserDeleteAccountStartCommand.Response = schemas_2.VerificationStartResponseSchema;
12
+ UserDeleteAccountStartCommand.URL = rest_api_1.REST_API.V1.USERS.DELETE_ACCOUNT.START;
13
+ UserDeleteAccountStartCommand.METHOD = http_method_1.HttpMethod.POST;
14
+ })(UserDeleteAccountStartCommand || (exports.UserDeleteAccountStartCommand = UserDeleteAccountStartCommand = {}));
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../shared/http-method';
3
+ export declare namespace UserDeleteAccountVerifyCommand {
4
+ const Request: z.ZodObject<{
5
+ requestId: z.ZodString;
6
+ stepId: z.ZodString;
7
+ code: z.ZodString;
8
+ }, z.core.$strip>;
9
+ const Response: z.ZodObject<{
10
+ requestId: z.ZodString;
11
+ stepId: z.ZodString;
12
+ stepStatus: z.ZodEnum<typeof import("../../verification/schemas").VerificationStepStatus>;
13
+ requestStatus: z.ZodEnum<typeof import("../../verification/schemas").VerificationRequestStatus>;
14
+ }, z.core.$strip>;
15
+ const URL: "/api/v1/users/me/delete-account/verify";
16
+ const METHOD = HttpMethod.POST;
17
+ type RequestType = z.infer<typeof Request>;
18
+ type ResponseType = z.infer<typeof Response>;
19
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserDeleteAccountVerifyCommand = void 0;
4
+ const rest_api_1 = require("../../../rest-api");
5
+ const http_method_1 = require("../../../shared/http-method");
6
+ const schemas_1 = require("../../verification/schemas");
7
+ var UserDeleteAccountVerifyCommand;
8
+ (function (UserDeleteAccountVerifyCommand) {
9
+ UserDeleteAccountVerifyCommand.Request = schemas_1.VerificationVerifyRequestSchema;
10
+ UserDeleteAccountVerifyCommand.Response = schemas_1.VerificationVerifyResponseSchema;
11
+ UserDeleteAccountVerifyCommand.URL = rest_api_1.REST_API.V1.USERS.DELETE_ACCOUNT.VERIFY;
12
+ UserDeleteAccountVerifyCommand.METHOD = http_method_1.HttpMethod.POST;
13
+ })(UserDeleteAccountVerifyCommand || (exports.UserDeleteAccountVerifyCommand = UserDeleteAccountVerifyCommand = {}));
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../shared/http-method';
3
+ export declare namespace UserEmailChangeCompleteCommand {
4
+ const Request: z.ZodObject<{
5
+ requestId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ const Response: z.ZodObject<{
8
+ requestId: z.ZodString;
9
+ requestStatus: z.ZodEnum<typeof import("../../verification/schemas").VerificationRequestStatus>;
10
+ }, z.core.$strip>;
11
+ const URL: "/api/v1/users/me/email-change/complete";
12
+ const METHOD = HttpMethod.POST;
13
+ type RequestType = z.infer<typeof Request>;
14
+ type ResponseType = z.infer<typeof Response>;
15
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserEmailChangeCompleteCommand = void 0;
4
+ const rest_api_1 = require("../../../rest-api");
5
+ const http_method_1 = require("../../../shared/http-method");
6
+ const schemas_1 = require("../../verification/schemas");
7
+ var UserEmailChangeCompleteCommand;
8
+ (function (UserEmailChangeCompleteCommand) {
9
+ UserEmailChangeCompleteCommand.Request = schemas_1.VerificationCompleteRequestSchema;
10
+ UserEmailChangeCompleteCommand.Response = schemas_1.VerificationCompleteResponseSchema;
11
+ UserEmailChangeCompleteCommand.URL = rest_api_1.REST_API.V1.USERS.EMAIL_CHANGE.COMPLETE;
12
+ UserEmailChangeCompleteCommand.METHOD = http_method_1.HttpMethod.POST;
13
+ })(UserEmailChangeCompleteCommand || (exports.UserEmailChangeCompleteCommand = UserEmailChangeCompleteCommand = {}));
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../shared/http-method';
3
+ export declare namespace UserEmailChangeStartCommand {
4
+ const Request: z.ZodObject<{
5
+ newEmail: z.ZodEmail;
6
+ }, z.core.$strip>;
7
+ const Response: z.ZodObject<{
8
+ requestId: z.ZodString;
9
+ type: z.ZodEnum<typeof import("../../verification/schemas").VerificationType>;
10
+ status: z.ZodEnum<typeof import("../../verification/schemas").VerificationRequestStatus>;
11
+ steps: z.ZodArray<z.ZodObject<{
12
+ stepId: z.ZodString;
13
+ channel: z.ZodEnum<typeof import("../../verification/schemas").VerificationChannel>;
14
+ address: z.ZodString;
15
+ status: z.ZodEnum<typeof import("../../verification/schemas").VerificationStepStatus>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ const URL: "/api/v1/users/me/email-change/start";
19
+ const METHOD = HttpMethod.POST;
20
+ type RequestType = z.infer<typeof Request>;
21
+ type ResponseType = z.infer<typeof Response>;
22
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserEmailChangeStartCommand = void 0;
4
+ const rest_api_1 = require("../../../rest-api");
5
+ const http_method_1 = require("../../../shared/http-method");
6
+ const schemas_1 = require("../schemas");
7
+ const schemas_2 = require("../../verification/schemas");
8
+ var UserEmailChangeStartCommand;
9
+ (function (UserEmailChangeStartCommand) {
10
+ UserEmailChangeStartCommand.Request = schemas_1.EmailChangeStartRequestSchema;
11
+ UserEmailChangeStartCommand.Response = schemas_2.VerificationStartResponseSchema;
12
+ UserEmailChangeStartCommand.URL = rest_api_1.REST_API.V1.USERS.EMAIL_CHANGE.START;
13
+ UserEmailChangeStartCommand.METHOD = http_method_1.HttpMethod.POST;
14
+ })(UserEmailChangeStartCommand || (exports.UserEmailChangeStartCommand = UserEmailChangeStartCommand = {}));
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../shared/http-method';
3
+ export declare namespace UserEmailChangeVerifyCommand {
4
+ const Request: z.ZodObject<{
5
+ requestId: z.ZodString;
6
+ stepId: z.ZodString;
7
+ code: z.ZodString;
8
+ }, z.core.$strip>;
9
+ const Response: z.ZodObject<{
10
+ requestId: z.ZodString;
11
+ stepId: z.ZodString;
12
+ stepStatus: z.ZodEnum<typeof import("../../verification/schemas").VerificationStepStatus>;
13
+ requestStatus: z.ZodEnum<typeof import("../../verification/schemas").VerificationRequestStatus>;
14
+ }, z.core.$strip>;
15
+ const URL: "/api/v1/users/me/email-change/verify";
16
+ const METHOD = HttpMethod.POST;
17
+ type RequestType = z.infer<typeof Request>;
18
+ type ResponseType = z.infer<typeof Response>;
19
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserEmailChangeVerifyCommand = void 0;
4
+ const rest_api_1 = require("../../../rest-api");
5
+ const http_method_1 = require("../../../shared/http-method");
6
+ const schemas_1 = require("../../verification/schemas");
7
+ var UserEmailChangeVerifyCommand;
8
+ (function (UserEmailChangeVerifyCommand) {
9
+ UserEmailChangeVerifyCommand.Request = schemas_1.VerificationVerifyRequestSchema;
10
+ UserEmailChangeVerifyCommand.Response = schemas_1.VerificationVerifyResponseSchema;
11
+ UserEmailChangeVerifyCommand.URL = rest_api_1.REST_API.V1.USERS.EMAIL_CHANGE.VERIFY;
12
+ UserEmailChangeVerifyCommand.METHOD = http_method_1.HttpMethod.POST;
13
+ })(UserEmailChangeVerifyCommand || (exports.UserEmailChangeVerifyCommand = UserEmailChangeVerifyCommand = {}));
@@ -2,3 +2,12 @@ export * from './update-profile.command';
2
2
  export * from './change-password.command';
3
3
  export * from './toggle-marketing-consent.command';
4
4
  export * from './delete-account.command';
5
+ export * from './email-change-start.command';
6
+ export * from './email-change-verify.command';
7
+ export * from './email-change-complete.command';
8
+ export * from './delete-account-start.command';
9
+ export * from './delete-account-verify.command';
10
+ export * from './delete-account-complete.command';
11
+ export * from './password-change-start.command';
12
+ export * from './password-change-verify.command';
13
+ export * from './password-change-complete.command';
@@ -18,3 +18,12 @@ __exportStar(require("./update-profile.command"), exports);
18
18
  __exportStar(require("./change-password.command"), exports);
19
19
  __exportStar(require("./toggle-marketing-consent.command"), exports);
20
20
  __exportStar(require("./delete-account.command"), exports);
21
+ __exportStar(require("./email-change-start.command"), exports);
22
+ __exportStar(require("./email-change-verify.command"), exports);
23
+ __exportStar(require("./email-change-complete.command"), exports);
24
+ __exportStar(require("./delete-account-start.command"), exports);
25
+ __exportStar(require("./delete-account-verify.command"), exports);
26
+ __exportStar(require("./delete-account-complete.command"), exports);
27
+ __exportStar(require("./password-change-start.command"), exports);
28
+ __exportStar(require("./password-change-verify.command"), exports);
29
+ __exportStar(require("./password-change-complete.command"), exports);
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../shared/http-method';
3
+ export declare namespace UserPasswordChangeCompleteCommand {
4
+ const Request: z.ZodObject<{
5
+ requestId: z.ZodString;
6
+ newPassword: z.ZodString;
7
+ logoutOtherSessions: z.ZodDefault<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ const Response: z.ZodObject<{
10
+ requestId: z.ZodString;
11
+ requestStatus: z.ZodEnum<typeof import("../../verification/schemas").VerificationRequestStatus>;
12
+ }, z.core.$strip>;
13
+ const URL: "/api/v1/users/me/password/change/complete";
14
+ const METHOD = HttpMethod.POST;
15
+ type RequestType = z.infer<typeof Request>;
16
+ type ResponseType = z.infer<typeof Response>;
17
+ }