@scalekit-sdk/node 2.2.0-beta.1 → 2.2.1

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 (226) hide show
  1. package/README.md +5 -5
  2. package/{reference.md → REFERENCE.md} +530 -748
  3. package/lib/auth.d.ts +9 -6
  4. package/lib/auth.js +4 -20
  5. package/lib/auth.js.map +1 -1
  6. package/lib/connect.d.ts +3 -3
  7. package/lib/connect.js +1 -2
  8. package/lib/connect.js.map +1 -1
  9. package/lib/connection.d.ts +2 -2
  10. package/lib/connection.js +4 -4
  11. package/lib/connection.js.map +1 -1
  12. package/lib/core.js +2 -2
  13. package/lib/core.js.map +1 -1
  14. package/lib/directory.d.ts +2 -2
  15. package/lib/directory.js +7 -7
  16. package/lib/directory.js.map +1 -1
  17. package/lib/domain.d.ts +6 -5
  18. package/lib/domain.js +4 -5
  19. package/lib/domain.js.map +1 -1
  20. package/lib/errors/base-exception.d.ts +1 -1
  21. package/lib/errors/base-exception.js +1 -1
  22. package/lib/errors/base-exception.js.map +1 -1
  23. package/lib/organization.d.ts +10 -9
  24. package/lib/organization.js +11 -9
  25. package/lib/organization.js.map +1 -1
  26. package/lib/passwordless.d.ts +2 -2
  27. package/lib/passwordless.js +8 -7
  28. package/lib/passwordless.js.map +1 -1
  29. package/lib/permission.d.ts +6 -5
  30. package/lib/permission.js +10 -11
  31. package/lib/permission.js.map +1 -1
  32. package/lib/pkg/grpc/buf/validate/validate_pb.d.ts +7 -0
  33. package/lib/pkg/grpc/buf/validate/validate_pb.js +25 -0
  34. package/lib/pkg/grpc/buf/validate/validate_pb.js.map +1 -0
  35. package/lib/pkg/grpc/google/api/annotations_pb.d.ts +7 -0
  36. package/lib/pkg/grpc/google/api/annotations_pb.js +25 -0
  37. package/lib/pkg/grpc/google/api/annotations_pb.js.map +1 -0
  38. package/lib/pkg/grpc/google/api/field_behavior_pb.d.ts +7 -0
  39. package/lib/pkg/grpc/google/api/field_behavior_pb.js +25 -0
  40. package/lib/pkg/grpc/google/api/field_behavior_pb.js.map +1 -0
  41. package/lib/pkg/grpc/google/api/visibility_pb.d.ts +7 -0
  42. package/lib/pkg/grpc/google/api/visibility_pb.js +25 -0
  43. package/lib/pkg/grpc/google/api/visibility_pb.js.map +1 -0
  44. package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.d.ts +7 -0
  45. package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js +25 -0
  46. package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js.map +1 -0
  47. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +48 -42
  48. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +27 -263
  49. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
  50. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +371 -325
  51. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +132 -835
  52. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
  53. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +113 -87
  54. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +45 -201
  55. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -1
  56. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +262 -265
  57. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js +92 -938
  58. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js.map +1 -1
  59. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +162 -157
  60. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +42 -313
  61. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
  62. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1488 -1459
  63. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +353 -2362
  64. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
  65. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +520 -483
  66. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +224 -1555
  67. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
  68. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +219 -191
  69. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +96 -553
  70. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
  71. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +76 -102
  72. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +37 -393
  73. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
  74. package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +36 -26
  75. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +20 -69
  76. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
  77. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +447 -400
  78. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +163 -1238
  79. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
  80. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +622 -556
  81. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +201 -1718
  82. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -1
  83. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +135 -132
  84. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +55 -518
  85. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
  86. package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +445 -413
  87. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +142 -1490
  88. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
  89. package/lib/role.d.ts +8 -7
  90. package/lib/role.js +14 -14
  91. package/lib/role.js.map +1 -1
  92. package/lib/scalekit.d.ts +0 -4
  93. package/lib/scalekit.js +0 -4
  94. package/lib/scalekit.js.map +1 -1
  95. package/lib/session.js +15 -24
  96. package/lib/session.js.map +1 -1
  97. package/lib/user.d.ts +6 -5
  98. package/lib/user.js +17 -20
  99. package/lib/user.js.map +1 -1
  100. package/lib/webauthn.js +6 -5
  101. package/lib/webauthn.js.map +1 -1
  102. package/package.json +12 -10
  103. package/.github/dependabot.yml +0 -10
  104. package/.nvmrc +0 -1
  105. package/buf.gen.yaml +0 -24
  106. package/jest.config.js +0 -15
  107. package/lib/connected-accounts.d.ts +0 -119
  108. package/lib/connected-accounts.js +0 -241
  109. package/lib/connected-accounts.js.map +0 -1
  110. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +0 -19
  111. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +0 -27
  112. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +0 -1
  113. package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +0 -118
  114. package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +0 -126
  115. package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +0 -1
  116. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +0 -37
  117. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +0 -45
  118. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +0 -1
  119. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.d.ts +0 -82
  120. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js +0 -90
  121. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js.map +0 -1
  122. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.d.ts +0 -87
  123. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js +0 -95
  124. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js.map +0 -1
  125. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.d.ts +0 -718
  126. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js +0 -893
  127. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js.map +0 -1
  128. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +0 -172
  129. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +0 -180
  130. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +0 -1
  131. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +0 -154
  132. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +0 -162
  133. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +0 -1
  134. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +0 -73
  135. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +0 -81
  136. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +0 -1
  137. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +0 -171
  138. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +0 -179
  139. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +0 -1
  140. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +0 -250
  141. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +0 -258
  142. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +0 -1
  143. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +0 -46
  144. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +0 -54
  145. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +0 -1
  146. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.d.ts +0 -75
  147. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js +0 -83
  148. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js.map +0 -1
  149. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.d.ts +0 -431
  150. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js +0 -627
  151. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js.map +0 -1
  152. package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +0 -173
  153. package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +0 -181
  154. package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +0 -1
  155. package/lib/tools.d.ts +0 -75
  156. package/lib/tools.js +0 -127
  157. package/lib/tools.js.map +0 -1
  158. package/src/auth.ts +0 -99
  159. package/src/connect.ts +0 -33
  160. package/src/connected-accounts.ts +0 -358
  161. package/src/connection.ts +0 -267
  162. package/src/constants/user.ts +0 -22
  163. package/src/core.ts +0 -139
  164. package/src/directory.ts +0 -431
  165. package/src/domain.ts +0 -272
  166. package/src/errors/base-exception.ts +0 -262
  167. package/src/errors/index.ts +0 -3
  168. package/src/errors/specific-exceptions.ts +0 -88
  169. package/src/index.ts +0 -10
  170. package/src/organization.ts +0 -568
  171. package/src/passwordless.ts +0 -138
  172. package/src/permission.ts +0 -310
  173. package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +0 -26
  174. package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +0 -342
  175. package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +0 -125
  176. package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +0 -1213
  177. package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +0 -44
  178. package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +0 -336
  179. package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +0 -89
  180. package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +0 -1263
  181. package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +0 -573
  182. package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.ts +0 -94
  183. package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.ts +0 -1294
  184. package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +0 -179
  185. package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +0 -3846
  186. package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +0 -161
  187. package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +0 -2119
  188. package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +0 -80
  189. package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +0 -855
  190. package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +0 -524
  191. package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +0 -230
  192. package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +0 -178
  193. package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +0 -1766
  194. package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +0 -257
  195. package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +0 -2395
  196. package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +0 -53
  197. package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +0 -749
  198. package/src/pkg/grpc/scalekit/v1/tools/tools_connect.ts +0 -82
  199. package/src/pkg/grpc/scalekit/v1/tools/tools_pb.ts +0 -847
  200. package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +0 -180
  201. package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +0 -2151
  202. package/src/role.ts +0 -461
  203. package/src/scalekit.ts +0 -809
  204. package/src/session.ts +0 -337
  205. package/src/tools.ts +0 -166
  206. package/src/types/auth.ts +0 -73
  207. package/src/types/organization.ts +0 -12
  208. package/src/types/scalekit.ts +0 -50
  209. package/src/types/user.ts +0 -21
  210. package/src/user.ts +0 -825
  211. package/src/webauthn.ts +0 -98
  212. package/tests/README.md +0 -25
  213. package/tests/connected-accounts.test.ts +0 -472
  214. package/tests/connection.test.ts +0 -42
  215. package/tests/directory.test.ts +0 -46
  216. package/tests/domain.test.ts +0 -293
  217. package/tests/organization.test.ts +0 -81
  218. package/tests/passwordless.test.ts +0 -108
  219. package/tests/permission.test.ts +0 -399
  220. package/tests/role.test.ts +0 -323
  221. package/tests/scalekit.test.ts +0 -104
  222. package/tests/setup.ts +0 -34
  223. package/tests/tools.test.ts +0 -239
  224. package/tests/users.test.ts +0 -168
  225. package/tests/utils/test-data.ts +0 -481
  226. package/tsconfig.json +0 -19
@@ -1,1213 +0,0 @@
1
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
2
- // @generated from file scalekit/v1/auth/auth.proto (package scalekit.v1.auth, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
-
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
8
- import { ConnectionType, PasswordlessType } from "../connections/connections_pb.js";
9
-
10
- /**
11
- * @generated from enum scalekit.v1.auth.Intent
12
- */
13
- export enum Intent {
14
- /**
15
- * @generated from enum value: INTENT_UNSPECIFIED = 0;
16
- */
17
- INTENT_UNSPECIFIED = 0,
18
-
19
- /**
20
- * @generated from enum value: sign_in = 1;
21
- */
22
- sign_in = 1,
23
-
24
- /**
25
- * @generated from enum value: sign_up = 2;
26
- */
27
- sign_up = 2,
28
- }
29
- // Retrieve enum metadata with: proto3.getEnumType(Intent)
30
- proto3.util.setEnumType(Intent, "scalekit.v1.auth.Intent", [
31
- { no: 0, name: "INTENT_UNSPECIFIED" },
32
- { no: 1, name: "sign_in" },
33
- { no: 2, name: "sign_up" },
34
- ]);
35
-
36
- /**
37
- * @generated from enum scalekit.v1.auth.AuthState
38
- */
39
- export enum AuthState {
40
- /**
41
- * @generated from enum value: AUTH_STATE_UNSPECIFIED = 0;
42
- */
43
- AUTH_STATE_UNSPECIFIED = 0,
44
-
45
- /**
46
- * @generated from enum value: AUTHENTICATION_IN_PROGRESS = 1;
47
- */
48
- AUTHENTICATION_IN_PROGRESS = 1,
49
-
50
- /**
51
- * @generated from enum value: ORGANIZATION_SWITCHER = 2;
52
- */
53
- ORGANIZATION_SWITCHER = 2,
54
-
55
- /**
56
- * @generated from enum value: ORGANIZATION_SELECTED = 3;
57
- */
58
- ORGANIZATION_SELECTED = 3,
59
-
60
- /**
61
- * @generated from enum value: ORGANIZATION_SIGNUP = 4;
62
- */
63
- ORGANIZATION_SIGNUP = 4,
64
-
65
- /**
66
- * @generated from enum value: ORGANIZATION_SWITCHER_SIGNUP = 5;
67
- */
68
- ORGANIZATION_SWITCHER_SIGNUP = 5,
69
-
70
- /**
71
- * @generated from enum value: OTP_VERIFICATION_PENDING = 6;
72
- */
73
- OTP_VERIFICATION_PENDING = 6,
74
-
75
- /**
76
- * @generated from enum value: MAGIC_LINK_SENT = 7;
77
- */
78
- MAGIC_LINK_SENT = 7,
79
-
80
- /**
81
- * @generated from enum value: LINK_SENT_OTP_VERIFICATION_PENDING = 8;
82
- */
83
- LINK_SENT_OTP_VERIFICATION_PENDING = 8,
84
-
85
- /**
86
- * @generated from enum value: OTP_VERIFIED = 9;
87
- */
88
- OTP_VERIFIED = 9,
89
-
90
- /**
91
- * @generated from enum value: LINK_VERIFIED = 10;
92
- */
93
- LINK_VERIFIED = 10,
94
-
95
- /**
96
- * @generated from enum value: SSO_AUTHENTICATED = 11;
97
- */
98
- SSO_AUTHENTICATED = 11,
99
-
100
- /**
101
- * @generated from enum value: ORG_USER_CREATED = 12;
102
- */
103
- ORG_USER_CREATED = 12,
104
-
105
- /**
106
- * @generated from enum value: AUTHENTICATION_COMPLETED = 13;
107
- */
108
- AUTHENTICATION_COMPLETED = 13,
109
-
110
- /**
111
- * @generated from enum value: AUTHENTICATION_FAILED = 14;
112
- */
113
- AUTHENTICATION_FAILED = 14,
114
-
115
- /**
116
- * @generated from enum value: WEBAUTHN_VERIFIED = 15;
117
- */
118
- WEBAUTHN_VERIFIED = 15,
119
-
120
- /**
121
- * @generated from enum value: VERIFICATION_MAGIC_LINK_SENT = 16;
122
- */
123
- VERIFICATION_MAGIC_LINK_SENT = 16,
124
-
125
- /**
126
- * @generated from enum value: VERIFICATION_MAGIC_LINK_OTP_SENT = 17;
127
- */
128
- VERIFICATION_MAGIC_LINK_OTP_SENT = 17,
129
-
130
- /**
131
- * @generated from enum value: VERIFICATION_OTP_SENT = 18;
132
- */
133
- VERIFICATION_OTP_SENT = 18,
134
-
135
- /**
136
- * @generated from enum value: VERIFICATION_COMPLETED = 19;
137
- */
138
- VERIFICATION_COMPLETED = 19,
139
- }
140
- // Retrieve enum metadata with: proto3.getEnumType(AuthState)
141
- proto3.util.setEnumType(AuthState, "scalekit.v1.auth.AuthState", [
142
- { no: 0, name: "AUTH_STATE_UNSPECIFIED" },
143
- { no: 1, name: "AUTHENTICATION_IN_PROGRESS" },
144
- { no: 2, name: "ORGANIZATION_SWITCHER" },
145
- { no: 3, name: "ORGANIZATION_SELECTED" },
146
- { no: 4, name: "ORGANIZATION_SIGNUP" },
147
- { no: 5, name: "ORGANIZATION_SWITCHER_SIGNUP" },
148
- { no: 6, name: "OTP_VERIFICATION_PENDING" },
149
- { no: 7, name: "MAGIC_LINK_SENT" },
150
- { no: 8, name: "LINK_SENT_OTP_VERIFICATION_PENDING" },
151
- { no: 9, name: "OTP_VERIFIED" },
152
- { no: 10, name: "LINK_VERIFIED" },
153
- { no: 11, name: "SSO_AUTHENTICATED" },
154
- { no: 12, name: "ORG_USER_CREATED" },
155
- { no: 13, name: "AUTHENTICATION_COMPLETED" },
156
- { no: 14, name: "AUTHENTICATION_FAILED" },
157
- { no: 15, name: "WEBAUTHN_VERIFIED" },
158
- { no: 16, name: "VERIFICATION_MAGIC_LINK_SENT" },
159
- { no: 17, name: "VERIFICATION_MAGIC_LINK_OTP_SENT" },
160
- { no: 18, name: "VERIFICATION_OTP_SENT" },
161
- { no: 19, name: "VERIFICATION_COMPLETED" },
162
- ]);
163
-
164
- /**
165
- * @generated from message scalekit.v1.auth.ListAuthMethodsRequest
166
- */
167
- export class ListAuthMethodsRequest extends Message<ListAuthMethodsRequest> {
168
- /**
169
- * @generated from field: string intent = 1;
170
- */
171
- intent = "";
172
-
173
- constructor(data?: PartialMessage<ListAuthMethodsRequest>) {
174
- super();
175
- proto3.util.initPartial(data, this);
176
- }
177
-
178
- static readonly runtime: typeof proto3 = proto3;
179
- static readonly typeName = "scalekit.v1.auth.ListAuthMethodsRequest";
180
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
181
- { no: 1, name: "intent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
182
- ]);
183
-
184
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAuthMethodsRequest {
185
- return new ListAuthMethodsRequest().fromBinary(bytes, options);
186
- }
187
-
188
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAuthMethodsRequest {
189
- return new ListAuthMethodsRequest().fromJson(jsonValue, options);
190
- }
191
-
192
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAuthMethodsRequest {
193
- return new ListAuthMethodsRequest().fromJsonString(jsonString, options);
194
- }
195
-
196
- static equals(a: ListAuthMethodsRequest | PlainMessage<ListAuthMethodsRequest> | undefined, b: ListAuthMethodsRequest | PlainMessage<ListAuthMethodsRequest> | undefined): boolean {
197
- return proto3.util.equals(ListAuthMethodsRequest, a, b);
198
- }
199
- }
200
-
201
- /**
202
- * @generated from message scalekit.v1.auth.ListAuthMethodsResponse
203
- */
204
- export class ListAuthMethodsResponse extends Message<ListAuthMethodsResponse> {
205
- /**
206
- * @generated from field: repeated scalekit.v1.auth.AuthMethod auth_methods = 1;
207
- */
208
- authMethods: AuthMethod[] = [];
209
-
210
- constructor(data?: PartialMessage<ListAuthMethodsResponse>) {
211
- super();
212
- proto3.util.initPartial(data, this);
213
- }
214
-
215
- static readonly runtime: typeof proto3 = proto3;
216
- static readonly typeName = "scalekit.v1.auth.ListAuthMethodsResponse";
217
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
218
- { no: 1, name: "auth_methods", kind: "message", T: AuthMethod, repeated: true },
219
- ]);
220
-
221
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAuthMethodsResponse {
222
- return new ListAuthMethodsResponse().fromBinary(bytes, options);
223
- }
224
-
225
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAuthMethodsResponse {
226
- return new ListAuthMethodsResponse().fromJson(jsonValue, options);
227
- }
228
-
229
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAuthMethodsResponse {
230
- return new ListAuthMethodsResponse().fromJsonString(jsonString, options);
231
- }
232
-
233
- static equals(a: ListAuthMethodsResponse | PlainMessage<ListAuthMethodsResponse> | undefined, b: ListAuthMethodsResponse | PlainMessage<ListAuthMethodsResponse> | undefined): boolean {
234
- return proto3.util.equals(ListAuthMethodsResponse, a, b);
235
- }
236
- }
237
-
238
- /**
239
- * @generated from message scalekit.v1.auth.AuthMethod
240
- */
241
- export class AuthMethod extends Message<AuthMethod> {
242
- /**
243
- * @generated from field: string connection_id = 1;
244
- */
245
- connectionId = "";
246
-
247
- /**
248
- * @generated from field: scalekit.v1.connections.ConnectionType connection_type = 2;
249
- */
250
- connectionType = ConnectionType.INVALID;
251
-
252
- /**
253
- * @generated from field: string provider = 3;
254
- */
255
- provider = "";
256
-
257
- /**
258
- * @generated from field: string auth_initiation_uri = 4;
259
- */
260
- authInitiationUri = "";
261
-
262
- /**
263
- * @generated from field: optional scalekit.v1.connections.PasswordlessType passwordless_type = 5;
264
- */
265
- passwordlessType?: PasswordlessType;
266
-
267
- /**
268
- * @generated from field: optional uint32 code_challenge_length = 6;
269
- */
270
- codeChallengeLength?: number;
271
-
272
- /**
273
- * @generated from field: optional bool enable_webauthn_auto_registration = 7;
274
- */
275
- enableWebauthnAutoRegistration?: boolean;
276
-
277
- /**
278
- * @generated from field: optional bool show_passkey_button = 8;
279
- */
280
- showPasskeyButton?: boolean;
281
-
282
- /**
283
- * @generated from field: optional bool enable_webauthn_conditional_login = 9;
284
- */
285
- enableWebauthnConditionalLogin?: boolean;
286
-
287
- constructor(data?: PartialMessage<AuthMethod>) {
288
- super();
289
- proto3.util.initPartial(data, this);
290
- }
291
-
292
- static readonly runtime: typeof proto3 = proto3;
293
- static readonly typeName = "scalekit.v1.auth.AuthMethod";
294
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
295
- { no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
296
- { no: 2, name: "connection_type", kind: "enum", T: proto3.getEnumType(ConnectionType) },
297
- { no: 3, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
298
- { no: 4, name: "auth_initiation_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
299
- { no: 5, name: "passwordless_type", kind: "enum", T: proto3.getEnumType(PasswordlessType), opt: true },
300
- { no: 6, name: "code_challenge_length", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
301
- { no: 7, name: "enable_webauthn_auto_registration", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
302
- { no: 8, name: "show_passkey_button", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
303
- { no: 9, name: "enable_webauthn_conditional_login", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
304
- ]);
305
-
306
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthMethod {
307
- return new AuthMethod().fromBinary(bytes, options);
308
- }
309
-
310
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthMethod {
311
- return new AuthMethod().fromJson(jsonValue, options);
312
- }
313
-
314
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthMethod {
315
- return new AuthMethod().fromJsonString(jsonString, options);
316
- }
317
-
318
- static equals(a: AuthMethod | PlainMessage<AuthMethod> | undefined, b: AuthMethod | PlainMessage<AuthMethod> | undefined): boolean {
319
- return proto3.util.equals(AuthMethod, a, b);
320
- }
321
- }
322
-
323
- /**
324
- * @generated from message scalekit.v1.auth.DiscoveryAuthMethodRequest
325
- */
326
- export class DiscoveryAuthMethodRequest extends Message<DiscoveryAuthMethodRequest> {
327
- /**
328
- * @generated from field: scalekit.v1.auth.DiscoveryRequest discovery_request = 2;
329
- */
330
- discoveryRequest?: DiscoveryRequest;
331
-
332
- constructor(data?: PartialMessage<DiscoveryAuthMethodRequest>) {
333
- super();
334
- proto3.util.initPartial(data, this);
335
- }
336
-
337
- static readonly runtime: typeof proto3 = proto3;
338
- static readonly typeName = "scalekit.v1.auth.DiscoveryAuthMethodRequest";
339
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
340
- { no: 2, name: "discovery_request", kind: "message", T: DiscoveryRequest },
341
- ]);
342
-
343
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoveryAuthMethodRequest {
344
- return new DiscoveryAuthMethodRequest().fromBinary(bytes, options);
345
- }
346
-
347
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodRequest {
348
- return new DiscoveryAuthMethodRequest().fromJson(jsonValue, options);
349
- }
350
-
351
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodRequest {
352
- return new DiscoveryAuthMethodRequest().fromJsonString(jsonString, options);
353
- }
354
-
355
- static equals(a: DiscoveryAuthMethodRequest | PlainMessage<DiscoveryAuthMethodRequest> | undefined, b: DiscoveryAuthMethodRequest | PlainMessage<DiscoveryAuthMethodRequest> | undefined): boolean {
356
- return proto3.util.equals(DiscoveryAuthMethodRequest, a, b);
357
- }
358
- }
359
-
360
- /**
361
- * @generated from message scalekit.v1.auth.DiscoveryRequest
362
- */
363
- export class DiscoveryRequest extends Message<DiscoveryRequest> {
364
- /**
365
- * @generated from field: string email = 1;
366
- */
367
- email = "";
368
-
369
- /**
370
- * @generated from field: scalekit.v1.auth.Intent intent = 2;
371
- */
372
- intent = Intent.INTENT_UNSPECIFIED;
373
-
374
- constructor(data?: PartialMessage<DiscoveryRequest>) {
375
- super();
376
- proto3.util.initPartial(data, this);
377
- }
378
-
379
- static readonly runtime: typeof proto3 = proto3;
380
- static readonly typeName = "scalekit.v1.auth.DiscoveryRequest";
381
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
382
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
383
- { no: 2, name: "intent", kind: "enum", T: proto3.getEnumType(Intent) },
384
- ]);
385
-
386
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoveryRequest {
387
- return new DiscoveryRequest().fromBinary(bytes, options);
388
- }
389
-
390
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoveryRequest {
391
- return new DiscoveryRequest().fromJson(jsonValue, options);
392
- }
393
-
394
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryRequest {
395
- return new DiscoveryRequest().fromJsonString(jsonString, options);
396
- }
397
-
398
- static equals(a: DiscoveryRequest | PlainMessage<DiscoveryRequest> | undefined, b: DiscoveryRequest | PlainMessage<DiscoveryRequest> | undefined): boolean {
399
- return proto3.util.equals(DiscoveryRequest, a, b);
400
- }
401
- }
402
-
403
- /**
404
- * @generated from message scalekit.v1.auth.DiscoveryAuthMethodResponse
405
- */
406
- export class DiscoveryAuthMethodResponse extends Message<DiscoveryAuthMethodResponse> {
407
- /**
408
- * @generated from field: scalekit.v1.auth.AuthMethod auth_method = 1;
409
- */
410
- authMethod?: AuthMethod;
411
-
412
- constructor(data?: PartialMessage<DiscoveryAuthMethodResponse>) {
413
- super();
414
- proto3.util.initPartial(data, this);
415
- }
416
-
417
- static readonly runtime: typeof proto3 = proto3;
418
- static readonly typeName = "scalekit.v1.auth.DiscoveryAuthMethodResponse";
419
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
420
- { no: 1, name: "auth_method", kind: "message", T: AuthMethod },
421
- ]);
422
-
423
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoveryAuthMethodResponse {
424
- return new DiscoveryAuthMethodResponse().fromBinary(bytes, options);
425
- }
426
-
427
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodResponse {
428
- return new DiscoveryAuthMethodResponse().fromJson(jsonValue, options);
429
- }
430
-
431
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodResponse {
432
- return new DiscoveryAuthMethodResponse().fromJsonString(jsonString, options);
433
- }
434
-
435
- static equals(a: DiscoveryAuthMethodResponse | PlainMessage<DiscoveryAuthMethodResponse> | undefined, b: DiscoveryAuthMethodResponse | PlainMessage<DiscoveryAuthMethodResponse> | undefined): boolean {
436
- return proto3.util.equals(DiscoveryAuthMethodResponse, a, b);
437
- }
438
- }
439
-
440
- /**
441
- * @generated from message scalekit.v1.auth.GetAuthCustomizationsRequest
442
- */
443
- export class GetAuthCustomizationsRequest extends Message<GetAuthCustomizationsRequest> {
444
- constructor(data?: PartialMessage<GetAuthCustomizationsRequest>) {
445
- super();
446
- proto3.util.initPartial(data, this);
447
- }
448
-
449
- static readonly runtime: typeof proto3 = proto3;
450
- static readonly typeName = "scalekit.v1.auth.GetAuthCustomizationsRequest";
451
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
452
- ]);
453
-
454
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthCustomizationsRequest {
455
- return new GetAuthCustomizationsRequest().fromBinary(bytes, options);
456
- }
457
-
458
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthCustomizationsRequest {
459
- return new GetAuthCustomizationsRequest().fromJson(jsonValue, options);
460
- }
461
-
462
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthCustomizationsRequest {
463
- return new GetAuthCustomizationsRequest().fromJsonString(jsonString, options);
464
- }
465
-
466
- static equals(a: GetAuthCustomizationsRequest | PlainMessage<GetAuthCustomizationsRequest> | undefined, b: GetAuthCustomizationsRequest | PlainMessage<GetAuthCustomizationsRequest> | undefined): boolean {
467
- return proto3.util.equals(GetAuthCustomizationsRequest, a, b);
468
- }
469
- }
470
-
471
- /**
472
- * @generated from message scalekit.v1.auth.GetAuthCustomizationsResponse
473
- */
474
- export class GetAuthCustomizationsResponse extends Message<GetAuthCustomizationsResponse> {
475
- /**
476
- * @generated from field: google.protobuf.Struct customization_settings = 2;
477
- */
478
- customizationSettings?: Struct;
479
-
480
- constructor(data?: PartialMessage<GetAuthCustomizationsResponse>) {
481
- super();
482
- proto3.util.initPartial(data, this);
483
- }
484
-
485
- static readonly runtime: typeof proto3 = proto3;
486
- static readonly typeName = "scalekit.v1.auth.GetAuthCustomizationsResponse";
487
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
488
- { no: 2, name: "customization_settings", kind: "message", T: Struct },
489
- ]);
490
-
491
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthCustomizationsResponse {
492
- return new GetAuthCustomizationsResponse().fromBinary(bytes, options);
493
- }
494
-
495
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthCustomizationsResponse {
496
- return new GetAuthCustomizationsResponse().fromJson(jsonValue, options);
497
- }
498
-
499
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthCustomizationsResponse {
500
- return new GetAuthCustomizationsResponse().fromJsonString(jsonString, options);
501
- }
502
-
503
- static equals(a: GetAuthCustomizationsResponse | PlainMessage<GetAuthCustomizationsResponse> | undefined, b: GetAuthCustomizationsResponse | PlainMessage<GetAuthCustomizationsResponse> | undefined): boolean {
504
- return proto3.util.equals(GetAuthCustomizationsResponse, a, b);
505
- }
506
- }
507
-
508
- /**
509
- * @generated from message scalekit.v1.auth.GetAuthFeaturesResponse
510
- */
511
- export class GetAuthFeaturesResponse extends Message<GetAuthFeaturesResponse> {
512
- /**
513
- * @generated from field: google.protobuf.Struct features = 1;
514
- */
515
- features?: Struct;
516
-
517
- constructor(data?: PartialMessage<GetAuthFeaturesResponse>) {
518
- super();
519
- proto3.util.initPartial(data, this);
520
- }
521
-
522
- static readonly runtime: typeof proto3 = proto3;
523
- static readonly typeName = "scalekit.v1.auth.GetAuthFeaturesResponse";
524
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
525
- { no: 1, name: "features", kind: "message", T: Struct },
526
- ]);
527
-
528
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthFeaturesResponse {
529
- return new GetAuthFeaturesResponse().fromBinary(bytes, options);
530
- }
531
-
532
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthFeaturesResponse {
533
- return new GetAuthFeaturesResponse().fromJson(jsonValue, options);
534
- }
535
-
536
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthFeaturesResponse {
537
- return new GetAuthFeaturesResponse().fromJsonString(jsonString, options);
538
- }
539
-
540
- static equals(a: GetAuthFeaturesResponse | PlainMessage<GetAuthFeaturesResponse> | undefined, b: GetAuthFeaturesResponse | PlainMessage<GetAuthFeaturesResponse> | undefined): boolean {
541
- return proto3.util.equals(GetAuthFeaturesResponse, a, b);
542
- }
543
- }
544
-
545
- /**
546
- * @generated from message scalekit.v1.auth.VerifyPasswordLessOtpRequest
547
- */
548
- export class VerifyPasswordLessOtpRequest extends Message<VerifyPasswordLessOtpRequest> {
549
- /**
550
- * @generated from field: scalekit.v1.auth.OTPRequest otp_req = 2;
551
- */
552
- otpReq?: OTPRequest;
553
-
554
- constructor(data?: PartialMessage<VerifyPasswordLessOtpRequest>) {
555
- super();
556
- proto3.util.initPartial(data, this);
557
- }
558
-
559
- static readonly runtime: typeof proto3 = proto3;
560
- static readonly typeName = "scalekit.v1.auth.VerifyPasswordLessOtpRequest";
561
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
562
- { no: 2, name: "otp_req", kind: "message", T: OTPRequest },
563
- ]);
564
-
565
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyPasswordLessOtpRequest {
566
- return new VerifyPasswordLessOtpRequest().fromBinary(bytes, options);
567
- }
568
-
569
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpRequest {
570
- return new VerifyPasswordLessOtpRequest().fromJson(jsonValue, options);
571
- }
572
-
573
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpRequest {
574
- return new VerifyPasswordLessOtpRequest().fromJsonString(jsonString, options);
575
- }
576
-
577
- static equals(a: VerifyPasswordLessOtpRequest | PlainMessage<VerifyPasswordLessOtpRequest> | undefined, b: VerifyPasswordLessOtpRequest | PlainMessage<VerifyPasswordLessOtpRequest> | undefined): boolean {
578
- return proto3.util.equals(VerifyPasswordLessOtpRequest, a, b);
579
- }
580
- }
581
-
582
- /**
583
- * @generated from message scalekit.v1.auth.VerifyPasswordLessOtpResponse
584
- */
585
- export class VerifyPasswordLessOtpResponse extends Message<VerifyPasswordLessOtpResponse> {
586
- constructor(data?: PartialMessage<VerifyPasswordLessOtpResponse>) {
587
- super();
588
- proto3.util.initPartial(data, this);
589
- }
590
-
591
- static readonly runtime: typeof proto3 = proto3;
592
- static readonly typeName = "scalekit.v1.auth.VerifyPasswordLessOtpResponse";
593
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
594
- ]);
595
-
596
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyPasswordLessOtpResponse {
597
- return new VerifyPasswordLessOtpResponse().fromBinary(bytes, options);
598
- }
599
-
600
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpResponse {
601
- return new VerifyPasswordLessOtpResponse().fromJson(jsonValue, options);
602
- }
603
-
604
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpResponse {
605
- return new VerifyPasswordLessOtpResponse().fromJsonString(jsonString, options);
606
- }
607
-
608
- static equals(a: VerifyPasswordLessOtpResponse | PlainMessage<VerifyPasswordLessOtpResponse> | undefined, b: VerifyPasswordLessOtpResponse | PlainMessage<VerifyPasswordLessOtpResponse> | undefined): boolean {
609
- return proto3.util.equals(VerifyPasswordLessOtpResponse, a, b);
610
- }
611
- }
612
-
613
- /**
614
- * @generated from message scalekit.v1.auth.OTPRequest
615
- */
616
- export class OTPRequest extends Message<OTPRequest> {
617
- /**
618
- * @generated from field: string code_challenge = 1;
619
- */
620
- codeChallenge = "";
621
-
622
- constructor(data?: PartialMessage<OTPRequest>) {
623
- super();
624
- proto3.util.initPartial(data, this);
625
- }
626
-
627
- static readonly runtime: typeof proto3 = proto3;
628
- static readonly typeName = "scalekit.v1.auth.OTPRequest";
629
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
630
- { no: 1, name: "code_challenge", kind: "scalar", T: 9 /* ScalarType.STRING */ },
631
- ]);
632
-
633
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OTPRequest {
634
- return new OTPRequest().fromBinary(bytes, options);
635
- }
636
-
637
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OTPRequest {
638
- return new OTPRequest().fromJson(jsonValue, options);
639
- }
640
-
641
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OTPRequest {
642
- return new OTPRequest().fromJsonString(jsonString, options);
643
- }
644
-
645
- static equals(a: OTPRequest | PlainMessage<OTPRequest> | undefined, b: OTPRequest | PlainMessage<OTPRequest> | undefined): boolean {
646
- return proto3.util.equals(OTPRequest, a, b);
647
- }
648
- }
649
-
650
- /**
651
- * @generated from message scalekit.v1.auth.ListUserOrganizationsResponse
652
- */
653
- export class ListUserOrganizationsResponse extends Message<ListUserOrganizationsResponse> {
654
- /**
655
- * @generated from field: repeated scalekit.v1.auth.Organization organizations = 1;
656
- */
657
- organizations: Organization[] = [];
658
-
659
- /**
660
- * @generated from field: scalekit.v1.auth.UserDetails user = 2;
661
- */
662
- user?: UserDetails;
663
-
664
- /**
665
- * @generated from field: scalekit.v1.auth.Intent intent = 3;
666
- */
667
- intent = Intent.INTENT_UNSPECIFIED;
668
-
669
- constructor(data?: PartialMessage<ListUserOrganizationsResponse>) {
670
- super();
671
- proto3.util.initPartial(data, this);
672
- }
673
-
674
- static readonly runtime: typeof proto3 = proto3;
675
- static readonly typeName = "scalekit.v1.auth.ListUserOrganizationsResponse";
676
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
677
- { no: 1, name: "organizations", kind: "message", T: Organization, repeated: true },
678
- { no: 2, name: "user", kind: "message", T: UserDetails },
679
- { no: 3, name: "intent", kind: "enum", T: proto3.getEnumType(Intent) },
680
- ]);
681
-
682
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUserOrganizationsResponse {
683
- return new ListUserOrganizationsResponse().fromBinary(bytes, options);
684
- }
685
-
686
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUserOrganizationsResponse {
687
- return new ListUserOrganizationsResponse().fromJson(jsonValue, options);
688
- }
689
-
690
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUserOrganizationsResponse {
691
- return new ListUserOrganizationsResponse().fromJsonString(jsonString, options);
692
- }
693
-
694
- static equals(a: ListUserOrganizationsResponse | PlainMessage<ListUserOrganizationsResponse> | undefined, b: ListUserOrganizationsResponse | PlainMessage<ListUserOrganizationsResponse> | undefined): boolean {
695
- return proto3.util.equals(ListUserOrganizationsResponse, a, b);
696
- }
697
- }
698
-
699
- /**
700
- * @generated from message scalekit.v1.auth.Organization
701
- */
702
- export class Organization extends Message<Organization> {
703
- /**
704
- * @generated from field: string id = 1;
705
- */
706
- id = "";
707
-
708
- /**
709
- * @generated from field: string name = 2;
710
- */
711
- name = "";
712
-
713
- /**
714
- * @generated from field: string membership_status = 3;
715
- */
716
- membershipStatus = "";
717
-
718
- /**
719
- * @generated from field: optional string invitation_inviter_email = 4;
720
- */
721
- invitationInviterEmail?: string;
722
-
723
- /**
724
- * @generated from field: optional google.protobuf.Timestamp invitation_accepted_at = 5;
725
- */
726
- invitationAcceptedAt?: Timestamp;
727
-
728
- /**
729
- * @generated from field: optional google.protobuf.Timestamp invitation_created_at = 6;
730
- */
731
- invitationCreatedAt?: Timestamp;
732
-
733
- /**
734
- * @generated from field: optional google.protobuf.Timestamp invitation_expires_at = 7;
735
- */
736
- invitationExpiresAt?: Timestamp;
737
-
738
- constructor(data?: PartialMessage<Organization>) {
739
- super();
740
- proto3.util.initPartial(data, this);
741
- }
742
-
743
- static readonly runtime: typeof proto3 = proto3;
744
- static readonly typeName = "scalekit.v1.auth.Organization";
745
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
746
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
747
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
748
- { no: 3, name: "membership_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
749
- { no: 4, name: "invitation_inviter_email", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
750
- { no: 5, name: "invitation_accepted_at", kind: "message", T: Timestamp, opt: true },
751
- { no: 6, name: "invitation_created_at", kind: "message", T: Timestamp, opt: true },
752
- { no: 7, name: "invitation_expires_at", kind: "message", T: Timestamp, opt: true },
753
- ]);
754
-
755
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Organization {
756
- return new Organization().fromBinary(bytes, options);
757
- }
758
-
759
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Organization {
760
- return new Organization().fromJson(jsonValue, options);
761
- }
762
-
763
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Organization {
764
- return new Organization().fromJsonString(jsonString, options);
765
- }
766
-
767
- static equals(a: Organization | PlainMessage<Organization> | undefined, b: Organization | PlainMessage<Organization> | undefined): boolean {
768
- return proto3.util.equals(Organization, a, b);
769
- }
770
- }
771
-
772
- /**
773
- * @generated from message scalekit.v1.auth.UserDetails
774
- */
775
- export class UserDetails extends Message<UserDetails> {
776
- /**
777
- * @generated from field: string email = 1;
778
- */
779
- email = "";
780
-
781
- /**
782
- * @generated from field: string first_name = 2;
783
- */
784
- firstName = "";
785
-
786
- /**
787
- * @generated from field: string last_name = 3;
788
- */
789
- lastName = "";
790
-
791
- constructor(data?: PartialMessage<UserDetails>) {
792
- super();
793
- proto3.util.initPartial(data, this);
794
- }
795
-
796
- static readonly runtime: typeof proto3 = proto3;
797
- static readonly typeName = "scalekit.v1.auth.UserDetails";
798
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
799
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
800
- { no: 2, name: "first_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
801
- { no: 3, name: "last_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
802
- ]);
803
-
804
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserDetails {
805
- return new UserDetails().fromBinary(bytes, options);
806
- }
807
-
808
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserDetails {
809
- return new UserDetails().fromJson(jsonValue, options);
810
- }
811
-
812
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserDetails {
813
- return new UserDetails().fromJsonString(jsonString, options);
814
- }
815
-
816
- static equals(a: UserDetails | PlainMessage<UserDetails> | undefined, b: UserDetails | PlainMessage<UserDetails> | undefined): boolean {
817
- return proto3.util.equals(UserDetails, a, b);
818
- }
819
- }
820
-
821
- /**
822
- * @generated from message scalekit.v1.auth.SignupOrganizationRequest
823
- */
824
- export class SignupOrganizationRequest extends Message<SignupOrganizationRequest> {
825
- /**
826
- * making all optional for now
827
- *
828
- * @generated from field: string organization_name = 1;
829
- */
830
- organizationName = "";
831
-
832
- /**
833
- * @generated from field: string first_name = 2;
834
- */
835
- firstName = "";
836
-
837
- /**
838
- * @generated from field: string last_name = 3;
839
- */
840
- lastName = "";
841
-
842
- /**
843
- * @generated from field: string full_name = 4;
844
- */
845
- fullName = "";
846
-
847
- /**
848
- * @generated from field: string phone_number = 5;
849
- */
850
- phoneNumber = "";
851
-
852
- constructor(data?: PartialMessage<SignupOrganizationRequest>) {
853
- super();
854
- proto3.util.initPartial(data, this);
855
- }
856
-
857
- static readonly runtime: typeof proto3 = proto3;
858
- static readonly typeName = "scalekit.v1.auth.SignupOrganizationRequest";
859
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
860
- { no: 1, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
861
- { no: 2, name: "first_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
862
- { no: 3, name: "last_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
863
- { no: 4, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
864
- { no: 5, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
865
- ]);
866
-
867
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignupOrganizationRequest {
868
- return new SignupOrganizationRequest().fromBinary(bytes, options);
869
- }
870
-
871
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignupOrganizationRequest {
872
- return new SignupOrganizationRequest().fromJson(jsonValue, options);
873
- }
874
-
875
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignupOrganizationRequest {
876
- return new SignupOrganizationRequest().fromJsonString(jsonString, options);
877
- }
878
-
879
- static equals(a: SignupOrganizationRequest | PlainMessage<SignupOrganizationRequest> | undefined, b: SignupOrganizationRequest | PlainMessage<SignupOrganizationRequest> | undefined): boolean {
880
- return proto3.util.equals(SignupOrganizationRequest, a, b);
881
- }
882
- }
883
-
884
- /**
885
- * @generated from message scalekit.v1.auth.SignupOrganizationResponse
886
- */
887
- export class SignupOrganizationResponse extends Message<SignupOrganizationResponse> {
888
- /**
889
- * @generated from field: string organization_id = 1;
890
- */
891
- organizationId = "";
892
-
893
- /**
894
- * @generated from field: string organization_name = 2;
895
- */
896
- organizationName = "";
897
-
898
- constructor(data?: PartialMessage<SignupOrganizationResponse>) {
899
- super();
900
- proto3.util.initPartial(data, this);
901
- }
902
-
903
- static readonly runtime: typeof proto3 = proto3;
904
- static readonly typeName = "scalekit.v1.auth.SignupOrganizationResponse";
905
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
906
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
907
- { no: 2, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
908
- ]);
909
-
910
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignupOrganizationResponse {
911
- return new SignupOrganizationResponse().fromBinary(bytes, options);
912
- }
913
-
914
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignupOrganizationResponse {
915
- return new SignupOrganizationResponse().fromJson(jsonValue, options);
916
- }
917
-
918
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignupOrganizationResponse {
919
- return new SignupOrganizationResponse().fromJsonString(jsonString, options);
920
- }
921
-
922
- static equals(a: SignupOrganizationResponse | PlainMessage<SignupOrganizationResponse> | undefined, b: SignupOrganizationResponse | PlainMessage<SignupOrganizationResponse> | undefined): boolean {
923
- return proto3.util.equals(SignupOrganizationResponse, a, b);
924
- }
925
- }
926
-
927
- /**
928
- * @generated from message scalekit.v1.auth.UpdateLoginUserDetailsRequest
929
- */
930
- export class UpdateLoginUserDetailsRequest extends Message<UpdateLoginUserDetailsRequest> {
931
- /**
932
- * @generated from field: string connection_id = 1;
933
- */
934
- connectionId = "";
935
-
936
- /**
937
- * @generated from field: string login_request_id = 2;
938
- */
939
- loginRequestId = "";
940
-
941
- /**
942
- * @generated from field: scalekit.v1.auth.User user = 3;
943
- */
944
- user?: User;
945
-
946
- constructor(data?: PartialMessage<UpdateLoginUserDetailsRequest>) {
947
- super();
948
- proto3.util.initPartial(data, this);
949
- }
950
-
951
- static readonly runtime: typeof proto3 = proto3;
952
- static readonly typeName = "scalekit.v1.auth.UpdateLoginUserDetailsRequest";
953
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
954
- { no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
955
- { no: 2, name: "login_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
956
- { no: 3, name: "user", kind: "message", T: User },
957
- ]);
958
-
959
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLoginUserDetailsRequest {
960
- return new UpdateLoginUserDetailsRequest().fromBinary(bytes, options);
961
- }
962
-
963
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLoginUserDetailsRequest {
964
- return new UpdateLoginUserDetailsRequest().fromJson(jsonValue, options);
965
- }
966
-
967
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLoginUserDetailsRequest {
968
- return new UpdateLoginUserDetailsRequest().fromJsonString(jsonString, options);
969
- }
970
-
971
- static equals(a: UpdateLoginUserDetailsRequest | PlainMessage<UpdateLoginUserDetailsRequest> | undefined, b: UpdateLoginUserDetailsRequest | PlainMessage<UpdateLoginUserDetailsRequest> | undefined): boolean {
972
- return proto3.util.equals(UpdateLoginUserDetailsRequest, a, b);
973
- }
974
- }
975
-
976
- /**
977
- * @generated from message scalekit.v1.auth.User
978
- */
979
- export class User extends Message<User> {
980
- /**
981
- * @generated from field: string sub = 1;
982
- */
983
- sub = "";
984
-
985
- /**
986
- * @generated from field: string email = 2;
987
- */
988
- email = "";
989
-
990
- /**
991
- * @generated from field: string given_name = 3;
992
- */
993
- givenName = "";
994
-
995
- /**
996
- * @generated from field: string family_name = 4;
997
- */
998
- familyName = "";
999
-
1000
- /**
1001
- * @generated from field: bool email_verified = 5;
1002
- */
1003
- emailVerified = false;
1004
-
1005
- /**
1006
- * @generated from field: string phone_number = 6;
1007
- */
1008
- phoneNumber = "";
1009
-
1010
- /**
1011
- * @generated from field: bool phone_number_verified = 7;
1012
- */
1013
- phoneNumberVerified = false;
1014
-
1015
- /**
1016
- * @generated from field: string name = 8;
1017
- */
1018
- name = "";
1019
-
1020
- /**
1021
- * @generated from field: string preferred_username = 9;
1022
- */
1023
- preferredUsername = "";
1024
-
1025
- /**
1026
- * @generated from field: string picture = 10;
1027
- */
1028
- picture = "";
1029
-
1030
- /**
1031
- * @generated from field: string gender = 11;
1032
- */
1033
- gender = "";
1034
-
1035
- /**
1036
- * @generated from field: string locale = 12;
1037
- */
1038
- locale = "";
1039
-
1040
- /**
1041
- * @generated from field: repeated string groups = 13;
1042
- */
1043
- groups: string[] = [];
1044
-
1045
- /**
1046
- * @generated from field: google.protobuf.Struct custom_attributes = 14;
1047
- */
1048
- customAttributes?: Struct;
1049
-
1050
- constructor(data?: PartialMessage<User>) {
1051
- super();
1052
- proto3.util.initPartial(data, this);
1053
- }
1054
-
1055
- static readonly runtime: typeof proto3 = proto3;
1056
- static readonly typeName = "scalekit.v1.auth.User";
1057
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1058
- { no: 1, name: "sub", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1059
- { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1060
- { no: 3, name: "given_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1061
- { no: 4, name: "family_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1062
- { no: 5, name: "email_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1063
- { no: 6, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1064
- { no: 7, name: "phone_number_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1065
- { no: 8, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1066
- { no: 9, name: "preferred_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1067
- { no: 10, name: "picture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1068
- { no: 11, name: "gender", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1069
- { no: 12, name: "locale", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1070
- { no: 13, name: "groups", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1071
- { no: 14, name: "custom_attributes", kind: "message", T: Struct },
1072
- ]);
1073
-
1074
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User {
1075
- return new User().fromBinary(bytes, options);
1076
- }
1077
-
1078
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User {
1079
- return new User().fromJson(jsonValue, options);
1080
- }
1081
-
1082
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User {
1083
- return new User().fromJsonString(jsonString, options);
1084
- }
1085
-
1086
- static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean {
1087
- return proto3.util.equals(User, a, b);
1088
- }
1089
- }
1090
-
1091
- /**
1092
- * @generated from message scalekit.v1.auth.GetAuthStateResponse
1093
- */
1094
- export class GetAuthStateResponse extends Message<GetAuthStateResponse> {
1095
- /**
1096
- * @generated from field: scalekit.v1.auth.AuthState auth_state = 1;
1097
- */
1098
- authState = AuthState.AUTH_STATE_UNSPECIFIED;
1099
-
1100
- /**
1101
- * @generated from field: scalekit.v1.auth.UserDetails user = 2;
1102
- */
1103
- user?: UserDetails;
1104
-
1105
- constructor(data?: PartialMessage<GetAuthStateResponse>) {
1106
- super();
1107
- proto3.util.initPartial(data, this);
1108
- }
1109
-
1110
- static readonly runtime: typeof proto3 = proto3;
1111
- static readonly typeName = "scalekit.v1.auth.GetAuthStateResponse";
1112
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1113
- { no: 1, name: "auth_state", kind: "enum", T: proto3.getEnumType(AuthState) },
1114
- { no: 2, name: "user", kind: "message", T: UserDetails },
1115
- ]);
1116
-
1117
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthStateResponse {
1118
- return new GetAuthStateResponse().fromBinary(bytes, options);
1119
- }
1120
-
1121
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthStateResponse {
1122
- return new GetAuthStateResponse().fromJson(jsonValue, options);
1123
- }
1124
-
1125
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthStateResponse {
1126
- return new GetAuthStateResponse().fromJsonString(jsonString, options);
1127
- }
1128
-
1129
- static equals(a: GetAuthStateResponse | PlainMessage<GetAuthStateResponse> | undefined, b: GetAuthStateResponse | PlainMessage<GetAuthStateResponse> | undefined): boolean {
1130
- return proto3.util.equals(GetAuthStateResponse, a, b);
1131
- }
1132
- }
1133
-
1134
- /**
1135
- * @generated from message scalekit.v1.auth.GetAuthErrorRequest
1136
- */
1137
- export class GetAuthErrorRequest extends Message<GetAuthErrorRequest> {
1138
- /**
1139
- * @generated from field: string error_id = 1;
1140
- */
1141
- errorId = "";
1142
-
1143
- constructor(data?: PartialMessage<GetAuthErrorRequest>) {
1144
- super();
1145
- proto3.util.initPartial(data, this);
1146
- }
1147
-
1148
- static readonly runtime: typeof proto3 = proto3;
1149
- static readonly typeName = "scalekit.v1.auth.GetAuthErrorRequest";
1150
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1151
- { no: 1, name: "error_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1152
- ]);
1153
-
1154
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthErrorRequest {
1155
- return new GetAuthErrorRequest().fromBinary(bytes, options);
1156
- }
1157
-
1158
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthErrorRequest {
1159
- return new GetAuthErrorRequest().fromJson(jsonValue, options);
1160
- }
1161
-
1162
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthErrorRequest {
1163
- return new GetAuthErrorRequest().fromJsonString(jsonString, options);
1164
- }
1165
-
1166
- static equals(a: GetAuthErrorRequest | PlainMessage<GetAuthErrorRequest> | undefined, b: GetAuthErrorRequest | PlainMessage<GetAuthErrorRequest> | undefined): boolean {
1167
- return proto3.util.equals(GetAuthErrorRequest, a, b);
1168
- }
1169
- }
1170
-
1171
- /**
1172
- * @generated from message scalekit.v1.auth.GetAuthErrorResponse
1173
- */
1174
- export class GetAuthErrorResponse extends Message<GetAuthErrorResponse> {
1175
- /**
1176
- * @generated from field: string error = 1;
1177
- */
1178
- error = "";
1179
-
1180
- /**
1181
- * @generated from field: string error_description = 2;
1182
- */
1183
- errorDescription = "";
1184
-
1185
- constructor(data?: PartialMessage<GetAuthErrorResponse>) {
1186
- super();
1187
- proto3.util.initPartial(data, this);
1188
- }
1189
-
1190
- static readonly runtime: typeof proto3 = proto3;
1191
- static readonly typeName = "scalekit.v1.auth.GetAuthErrorResponse";
1192
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1193
- { no: 1, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1194
- { no: 2, name: "error_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1195
- ]);
1196
-
1197
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthErrorResponse {
1198
- return new GetAuthErrorResponse().fromBinary(bytes, options);
1199
- }
1200
-
1201
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthErrorResponse {
1202
- return new GetAuthErrorResponse().fromJson(jsonValue, options);
1203
- }
1204
-
1205
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthErrorResponse {
1206
- return new GetAuthErrorResponse().fromJsonString(jsonString, options);
1207
- }
1208
-
1209
- static equals(a: GetAuthErrorResponse | PlainMessage<GetAuthErrorResponse> | undefined, b: GetAuthErrorResponse | PlainMessage<GetAuthErrorResponse> | undefined): boolean {
1210
- return proto3.util.equals(GetAuthErrorResponse, a, b);
1211
- }
1212
- }
1213
-