@scalekit-sdk/node 2.2.0-beta.0 → 2.2.0

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 (209) hide show
  1. package/.nvmrc +1 -1
  2. package/README.md +5 -5
  3. package/buf.gen.yaml +1 -5
  4. package/lib/auth.d.ts +9 -6
  5. package/lib/auth.js +4 -20
  6. package/lib/auth.js.map +1 -1
  7. package/lib/connect.d.ts +3 -3
  8. package/lib/connect.js +1 -2
  9. package/lib/connect.js.map +1 -1
  10. package/lib/connection.d.ts +2 -2
  11. package/lib/connection.js +4 -4
  12. package/lib/connection.js.map +1 -1
  13. package/lib/core.js +2 -2
  14. package/lib/core.js.map +1 -1
  15. package/lib/directory.d.ts +2 -2
  16. package/lib/directory.js +7 -7
  17. package/lib/directory.js.map +1 -1
  18. package/lib/domain.d.ts +6 -5
  19. package/lib/domain.js +4 -5
  20. package/lib/domain.js.map +1 -1
  21. package/lib/errors/base-exception.d.ts +1 -1
  22. package/lib/errors/base-exception.js +1 -1
  23. package/lib/errors/base-exception.js.map +1 -1
  24. package/lib/organization.d.ts +10 -9
  25. package/lib/organization.js +11 -9
  26. package/lib/organization.js.map +1 -1
  27. package/lib/passwordless.d.ts +2 -2
  28. package/lib/passwordless.js +8 -7
  29. package/lib/passwordless.js.map +1 -1
  30. package/lib/permission.d.ts +6 -5
  31. package/lib/permission.js +10 -11
  32. package/lib/permission.js.map +1 -1
  33. package/lib/pkg/grpc/buf/validate/validate_pb.d.ts +7 -0
  34. package/lib/pkg/grpc/buf/validate/validate_pb.js +25 -0
  35. package/lib/pkg/grpc/buf/validate/validate_pb.js.map +1 -0
  36. package/lib/pkg/grpc/google/api/annotations_pb.d.ts +7 -0
  37. package/lib/pkg/grpc/google/api/annotations_pb.js +25 -0
  38. package/lib/pkg/grpc/google/api/annotations_pb.js.map +1 -0
  39. package/lib/pkg/grpc/google/api/field_behavior_pb.d.ts +7 -0
  40. package/lib/pkg/grpc/google/api/field_behavior_pb.js +25 -0
  41. package/lib/pkg/grpc/google/api/field_behavior_pb.js.map +1 -0
  42. package/lib/pkg/grpc/google/api/visibility_pb.d.ts +7 -0
  43. package/lib/pkg/grpc/google/api/visibility_pb.js +25 -0
  44. package/lib/pkg/grpc/google/api/visibility_pb.js.map +1 -0
  45. package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.d.ts +7 -0
  46. package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js +25 -0
  47. package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js.map +1 -0
  48. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +48 -42
  49. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +27 -263
  50. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
  51. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +371 -325
  52. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +132 -835
  53. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
  54. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +113 -87
  55. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +45 -201
  56. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -1
  57. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +262 -265
  58. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js +92 -938
  59. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js.map +1 -1
  60. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +162 -157
  61. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +42 -313
  62. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
  63. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1488 -1459
  64. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +353 -2362
  65. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
  66. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +520 -483
  67. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +224 -1555
  68. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
  69. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +219 -191
  70. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +96 -553
  71. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
  72. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +76 -102
  73. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +37 -393
  74. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
  75. package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +36 -26
  76. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +20 -69
  77. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
  78. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +447 -400
  79. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +163 -1238
  80. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
  81. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +622 -556
  82. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +201 -1718
  83. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -1
  84. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +135 -132
  85. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +55 -518
  86. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
  87. package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +445 -413
  88. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +142 -1490
  89. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
  90. package/lib/role.d.ts +8 -7
  91. package/lib/role.js +14 -14
  92. package/lib/role.js.map +1 -1
  93. package/lib/scalekit.d.ts +0 -4
  94. package/lib/scalekit.js +0 -4
  95. package/lib/scalekit.js.map +1 -1
  96. package/lib/session.js +15 -24
  97. package/lib/session.js.map +1 -1
  98. package/lib/user.d.ts +6 -5
  99. package/lib/user.js +17 -20
  100. package/lib/user.js.map +1 -1
  101. package/lib/webauthn.js +6 -5
  102. package/lib/webauthn.js.map +1 -1
  103. package/package.json +6 -10
  104. package/reference.md +0 -671
  105. package/src/auth.ts +17 -17
  106. package/src/connect.ts +4 -5
  107. package/src/connection.ts +5 -5
  108. package/src/core.ts +2 -2
  109. package/src/directory.ts +8 -8
  110. package/src/domain.ts +9 -8
  111. package/src/errors/base-exception.ts +3 -2
  112. package/src/organization.ts +18 -15
  113. package/src/passwordless.ts +12 -11
  114. package/src/permission.ts +15 -15
  115. package/src/pkg/grpc/buf/validate/validate_pb.ts +28 -0
  116. package/src/pkg/grpc/google/api/annotations_pb.ts +28 -0
  117. package/src/pkg/grpc/google/api/field_behavior_pb.ts +28 -0
  118. package/src/pkg/grpc/google/api/visibility_pb.ts +28 -0
  119. package/src/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.ts +28 -0
  120. package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +97 -182
  121. package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +473 -850
  122. package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +153 -225
  123. package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +361 -830
  124. package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +237 -358
  125. package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +1625 -2826
  126. package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +687 -1413
  127. package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +286 -542
  128. package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +115 -328
  129. package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +50 -80
  130. package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +558 -1183
  131. package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +765 -1669
  132. package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +195 -447
  133. package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +592 -1339
  134. package/src/role.ts +21 -19
  135. package/src/scalekit.ts +0 -9
  136. package/src/session.ts +20 -34
  137. package/src/user.ts +30 -26
  138. package/src/webauthn.ts +10 -9
  139. package/tests/utils/test-data.ts +17 -8
  140. package/lib/connected-accounts.d.ts +0 -96
  141. package/lib/connected-accounts.js +0 -186
  142. package/lib/connected-accounts.js.map +0 -1
  143. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +0 -19
  144. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +0 -27
  145. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +0 -1
  146. package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +0 -118
  147. package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +0 -126
  148. package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +0 -1
  149. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +0 -37
  150. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +0 -45
  151. package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +0 -1
  152. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.d.ts +0 -82
  153. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js +0 -90
  154. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js.map +0 -1
  155. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.d.ts +0 -87
  156. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js +0 -95
  157. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js.map +0 -1
  158. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.d.ts +0 -718
  159. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js +0 -893
  160. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js.map +0 -1
  161. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +0 -172
  162. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +0 -180
  163. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +0 -1
  164. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +0 -154
  165. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +0 -162
  166. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +0 -1
  167. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +0 -73
  168. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +0 -81
  169. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +0 -1
  170. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +0 -171
  171. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +0 -179
  172. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +0 -1
  173. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +0 -250
  174. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +0 -258
  175. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +0 -1
  176. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +0 -46
  177. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +0 -54
  178. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +0 -1
  179. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.d.ts +0 -75
  180. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js +0 -83
  181. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js.map +0 -1
  182. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.d.ts +0 -431
  183. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js +0 -627
  184. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js.map +0 -1
  185. package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +0 -173
  186. package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +0 -181
  187. package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +0 -1
  188. package/lib/tools.d.ts +0 -75
  189. package/lib/tools.js +0 -127
  190. package/lib/tools.js.map +0 -1
  191. package/src/connected-accounts.ts +0 -283
  192. package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +0 -26
  193. package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +0 -125
  194. package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +0 -44
  195. package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +0 -89
  196. package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.ts +0 -94
  197. package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.ts +0 -1294
  198. package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +0 -179
  199. package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +0 -161
  200. package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +0 -80
  201. package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +0 -178
  202. package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +0 -257
  203. package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +0 -53
  204. package/src/pkg/grpc/scalekit/v1/tools/tools_connect.ts +0 -82
  205. package/src/pkg/grpc/scalekit/v1/tools/tools_pb.ts +0 -847
  206. package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +0 -180
  207. package/src/tools.ts +0 -166
  208. package/tests/connected-accounts.test.ts +0 -434
  209. package/tests/tools.test.ts +0 -239
@@ -1,12 +1,131 @@
1
1
  "use strict";
2
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
2
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
3
3
  // @generated from file scalekit/v1/auth/auth.proto (package scalekit.v1.auth, syntax proto3)
4
4
  /* eslint-disable */
5
- // @ts-nocheck
6
5
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.GetAuthErrorResponse = exports.GetAuthErrorRequest = exports.GetAuthStateResponse = exports.User = exports.UpdateLoginUserDetailsRequest = exports.SignupOrganizationResponse = exports.SignupOrganizationRequest = exports.UserDetails = exports.Organization = exports.ListUserOrganizationsResponse = exports.OTPRequest = exports.VerifyPasswordLessOtpResponse = exports.VerifyPasswordLessOtpRequest = exports.GetAuthFeaturesResponse = exports.GetAuthCustomizationsResponse = exports.GetAuthCustomizationsRequest = exports.DiscoveryAuthMethodResponse = exports.DiscoveryRequest = exports.DiscoveryAuthMethodRequest = exports.AuthMethod = exports.ListAuthMethodsResponse = exports.ListAuthMethodsRequest = exports.AuthState = exports.Intent = void 0;
8
- const protobuf_1 = require("@bufbuild/protobuf");
9
- const connections_pb_js_1 = require("../connections/connections_pb.js");
6
+ exports.AuthService = exports.AuthStateSchema = exports.AuthState = exports.IntentSchema = exports.Intent = exports.GetAuthErrorResponseSchema = exports.GetAuthErrorRequestSchema = exports.GetAuthStateResponseSchema = exports.UserSchema = exports.UpdateLoginUserDetailsRequestSchema = exports.SignupOrganizationResponseSchema = exports.SignupOrganizationRequestSchema = exports.UserDetailsSchema = exports.OrganizationSchema = exports.ListUserOrganizationsResponseSchema = exports.OTPRequestSchema = exports.VerifyPasswordLessOtpResponseSchema = exports.VerifyPasswordLessOtpRequestSchema = exports.GetAuthFeaturesResponseSchema = exports.GetAuthCustomizationsResponseSchema = exports.GetAuthCustomizationsRequestSchema = exports.DiscoveryAuthMethodResponseSchema = exports.DiscoveryRequestSchema = exports.DiscoveryAuthMethodRequestSchema = exports.AuthMethodSchema = exports.ListAuthMethodsResponseSchema = exports.ListAuthMethodsRequestSchema = exports.file_scalekit_v1_auth_auth = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_1 = require("../../../buf/validate/validate_pb");
9
+ const annotations_pb_1 = require("../../../google/api/annotations_pb");
10
+ const visibility_pb_1 = require("../../../google/api/visibility_pb");
11
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
12
+ const annotations_pb_2 = require("../../../protoc-gen-openapiv2/options/annotations_pb");
13
+ const connections_pb_1 = require("../connections/connections_pb");
14
+ const options_pb_1 = require("../options/options_pb");
15
+ /**
16
+ * Describes the file scalekit/v1/auth/auth.proto.
17
+ */
18
+ exports.file_scalekit_v1_auth_auth = (0, codegenv2_1.fileDesc)("ChtzY2FsZWtpdC92MS9hdXRoL2F1dGgucHJvdG8SEHNjYWxla2l0LnYxLmF1dGgiKAoWTGlzdEF1dGhNZXRob2RzUmVxdWVzdBIOCgZpbnRlbnQYASABKAkiTQoXTGlzdEF1dGhNZXRob2RzUmVzcG9uc2USMgoMYXV0aF9tZXRob2RzGAEgAygLMhwuc2NhbGVraXQudjEuYXV0aC5BdXRoTWV0aG9kItMHCgpBdXRoTWV0aG9kEm8KDWNvbm5lY3Rpb25faWQYASABKAlCWJJBTDIyVW5pcXVlIGlkZW50aWZpZXIgZm9yIHRoZSBjb25uZWN0aW9uIHRvIGJlIHRvZ2dsZWRKFiJjb25uXzEyMTMxMjQzNDEyMzMxMiK6SAZyBBABGCASQAoPY29ubmVjdGlvbl90eXBlGAIgASgOMicuc2NhbGVraXQudjEuY29ubmVjdGlvbnMuQ29ubmVjdGlvblR5cGUSEAoIcHJvdmlkZXIYAyABKAkSgAEKE2F1dGhfaW5pdGlhdGlvbl91cmkYBCABKAlCY5J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VR2V0QXV0aEN1c3RvbWl6YXRpb25zEi4uc2NhbGVraXQudjEuYXV0aC5HZXRBdXRoQ3VzdG9taXphdGlvbnNSZXF1ZXN0Gi8uc2NhbGVraXQudjEuYXV0aC5HZXRBdXRoQ3VzdG9taXphdGlvbnNSZXNwb25zZSI4grUYAhgB+tLkkwIJEgdQUkVWSUVXgtPkkwIdEhsvYXBpL3YxL2F1dGg6Y3VzdG9taXphdGlvbnMSiAEKD0dldEF1dGhGZWF0dXJlcxIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRopLnNjYWxla2l0LnYxLmF1dGguR2V0QXV0aEZlYXR1cmVzUmVzcG9uc2UiMoK1GAIYAfrS5JMCCRIHUFJFVklFV4LT5JMCFxIVL2FwaS92MS9hdXRoOmZlYXR1cmVzEs0CChZVcGRhdGVMb2dpblVzZXJEZXRhaWxzEi8uc2NhbGVraXQudjEuYXV0aC5VcGRhdGVMb2dpblVzZXJEZXRhaWxzUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSLpAZJBegoLQ29ubmVjdGlvbnMSJVVwZGF0ZSBVc2VyIERldGFpbHMgZm9yIGxvZ2luIHJlcXVlc3QaJVVwZGF0ZSBVc2VyIERldGFpbHMgZm9yIGxvZ2luIHJlcXVlc3RKHQoDMjAwEhYKFERlbGV0ZWQgU3VjY2Vzc2Z1bGx5grUYAhgE+tLkkwIJEgdQUkVWSUVXgtPkkwJROgR1c2VyIkkvYXBpL3YxL2Nvbm5lY3Rpb25zL3tjb25uZWN0aW9uX2lkfS9hdXRoLXJlcXVlc3RzL3tsb2dpbl9yZXF1ZXN0X2lkfS91c2VyQjBaLmdpdGh1Yi5jb20vc2NhbGVraXQtaW5jL3NjYWxla2l0L3BrZy9ncnBjL2F1dGhiBnByb3RvMw", [validate_pb_1.file_buf_validate_validate, annotations_pb_1.file_google_api_annotations, visibility_pb_1.file_google_api_visibility, wkt_1.file_google_protobuf_empty, wkt_1.file_google_protobuf_struct, wkt_1.file_google_protobuf_timestamp, annotations_pb_2.file_protoc_gen_openapiv2_options_annotations, connections_pb_1.file_scalekit_v1_connections_connections, options_pb_1.file_scalekit_v1_options_options]);
19
+ /**
20
+ * Describes the message scalekit.v1.auth.ListAuthMethodsRequest.
21
+ * Use `create(ListAuthMethodsRequestSchema)` to create a new message.
22
+ */
23
+ exports.ListAuthMethodsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 0);
24
+ /**
25
+ * Describes the message scalekit.v1.auth.ListAuthMethodsResponse.
26
+ * Use `create(ListAuthMethodsResponseSchema)` to create a new message.
27
+ */
28
+ exports.ListAuthMethodsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 1);
29
+ /**
30
+ * Describes the message scalekit.v1.auth.AuthMethod.
31
+ * Use `create(AuthMethodSchema)` to create a new message.
32
+ */
33
+ exports.AuthMethodSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 2);
34
+ /**
35
+ * Describes the message scalekit.v1.auth.DiscoveryAuthMethodRequest.
36
+ * Use `create(DiscoveryAuthMethodRequestSchema)` to create a new message.
37
+ */
38
+ exports.DiscoveryAuthMethodRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 3);
39
+ /**
40
+ * Describes the message scalekit.v1.auth.DiscoveryRequest.
41
+ * Use `create(DiscoveryRequestSchema)` to create a new message.
42
+ */
43
+ exports.DiscoveryRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 4);
44
+ /**
45
+ * Describes the message scalekit.v1.auth.DiscoveryAuthMethodResponse.
46
+ * Use `create(DiscoveryAuthMethodResponseSchema)` to create a new message.
47
+ */
48
+ exports.DiscoveryAuthMethodResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 5);
49
+ /**
50
+ * Describes the message scalekit.v1.auth.GetAuthCustomizationsRequest.
51
+ * Use `create(GetAuthCustomizationsRequestSchema)` to create a new message.
52
+ */
53
+ exports.GetAuthCustomizationsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 6);
54
+ /**
55
+ * Describes the message scalekit.v1.auth.GetAuthCustomizationsResponse.
56
+ * Use `create(GetAuthCustomizationsResponseSchema)` to create a new message.
57
+ */
58
+ exports.GetAuthCustomizationsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 7);
59
+ /**
60
+ * Describes the message scalekit.v1.auth.GetAuthFeaturesResponse.
61
+ * Use `create(GetAuthFeaturesResponseSchema)` to create a new message.
62
+ */
63
+ exports.GetAuthFeaturesResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 8);
64
+ /**
65
+ * Describes the message scalekit.v1.auth.VerifyPasswordLessOtpRequest.
66
+ * Use `create(VerifyPasswordLessOtpRequestSchema)` to create a new message.
67
+ */
68
+ exports.VerifyPasswordLessOtpRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 9);
69
+ /**
70
+ * Describes the message scalekit.v1.auth.VerifyPasswordLessOtpResponse.
71
+ * Use `create(VerifyPasswordLessOtpResponseSchema)` to create a new message.
72
+ */
73
+ exports.VerifyPasswordLessOtpResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 10);
74
+ /**
75
+ * Describes the message scalekit.v1.auth.OTPRequest.
76
+ * Use `create(OTPRequestSchema)` to create a new message.
77
+ */
78
+ exports.OTPRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 11);
79
+ /**
80
+ * Describes the message scalekit.v1.auth.ListUserOrganizationsResponse.
81
+ * Use `create(ListUserOrganizationsResponseSchema)` to create a new message.
82
+ */
83
+ exports.ListUserOrganizationsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 12);
84
+ /**
85
+ * Describes the message scalekit.v1.auth.Organization.
86
+ * Use `create(OrganizationSchema)` to create a new message.
87
+ */
88
+ exports.OrganizationSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 13);
89
+ /**
90
+ * Describes the message scalekit.v1.auth.UserDetails.
91
+ * Use `create(UserDetailsSchema)` to create a new message.
92
+ */
93
+ exports.UserDetailsSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 14);
94
+ /**
95
+ * Describes the message scalekit.v1.auth.SignupOrganizationRequest.
96
+ * Use `create(SignupOrganizationRequestSchema)` to create a new message.
97
+ */
98
+ exports.SignupOrganizationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 15);
99
+ /**
100
+ * Describes the message scalekit.v1.auth.SignupOrganizationResponse.
101
+ * Use `create(SignupOrganizationResponseSchema)` to create a new message.
102
+ */
103
+ exports.SignupOrganizationResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 16);
104
+ /**
105
+ * Describes the message scalekit.v1.auth.UpdateLoginUserDetailsRequest.
106
+ * Use `create(UpdateLoginUserDetailsRequestSchema)` to create a new message.
107
+ */
108
+ exports.UpdateLoginUserDetailsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 17);
109
+ /**
110
+ * Describes the message scalekit.v1.auth.User.
111
+ * Use `create(UserSchema)` to create a new message.
112
+ */
113
+ exports.UserSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 18);
114
+ /**
115
+ * Describes the message scalekit.v1.auth.GetAuthStateResponse.
116
+ * Use `create(GetAuthStateResponseSchema)` to create a new message.
117
+ */
118
+ exports.GetAuthStateResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 19);
119
+ /**
120
+ * Describes the message scalekit.v1.auth.GetAuthErrorRequest.
121
+ * Use `create(GetAuthErrorRequestSchema)` to create a new message.
122
+ */
123
+ exports.GetAuthErrorRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 20);
124
+ /**
125
+ * Describes the message scalekit.v1.auth.GetAuthErrorResponse.
126
+ * Use `create(GetAuthErrorResponseSchema)` to create a new message.
127
+ */
128
+ exports.GetAuthErrorResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_auth, 21);
10
129
  /**
11
130
  * @generated from enum scalekit.v1.auth.Intent
12
131
  */
@@ -25,12 +144,10 @@ var Intent;
25
144
  */
26
145
  Intent[Intent["sign_up"] = 2] = "sign_up";
27
146
  })(Intent || (exports.Intent = Intent = {}));
28
- // Retrieve enum metadata with: proto3.getEnumType(Intent)
29
- protobuf_1.proto3.util.setEnumType(Intent, "scalekit.v1.auth.Intent", [
30
- { no: 0, name: "INTENT_UNSPECIFIED" },
31
- { no: 1, name: "sign_in" },
32
- { no: 2, name: "sign_up" },
33
- ]);
147
+ /**
148
+ * Describes the enum scalekit.v1.auth.Intent.
149
+ */
150
+ exports.IntentSchema = (0, codegenv2_1.enumDesc)(exports.file_scalekit_v1_auth_auth, 0);
34
151
  /**
35
152
  * @generated from enum scalekit.v1.auth.AuthState
36
153
  */
@@ -117,832 +234,12 @@ var AuthState;
117
234
  */
118
235
  AuthState[AuthState["VERIFICATION_COMPLETED"] = 19] = "VERIFICATION_COMPLETED";
119
236
  })(AuthState || (exports.AuthState = AuthState = {}));
120
- // Retrieve enum metadata with: proto3.getEnumType(AuthState)
121
- protobuf_1.proto3.util.setEnumType(AuthState, "scalekit.v1.auth.AuthState", [
122
- { no: 0, name: "AUTH_STATE_UNSPECIFIED" },
123
- { no: 1, name: "AUTHENTICATION_IN_PROGRESS" },
124
- { no: 2, name: "ORGANIZATION_SWITCHER" },
125
- { no: 3, name: "ORGANIZATION_SELECTED" },
126
- { no: 4, name: "ORGANIZATION_SIGNUP" },
127
- { no: 5, name: "ORGANIZATION_SWITCHER_SIGNUP" },
128
- { no: 6, name: "OTP_VERIFICATION_PENDING" },
129
- { no: 7, name: "MAGIC_LINK_SENT" },
130
- { no: 8, name: "LINK_SENT_OTP_VERIFICATION_PENDING" },
131
- { no: 9, name: "OTP_VERIFIED" },
132
- { no: 10, name: "LINK_VERIFIED" },
133
- { no: 11, name: "SSO_AUTHENTICATED" },
134
- { no: 12, name: "ORG_USER_CREATED" },
135
- { no: 13, name: "AUTHENTICATION_COMPLETED" },
136
- { no: 14, name: "AUTHENTICATION_FAILED" },
137
- { no: 15, name: "WEBAUTHN_VERIFIED" },
138
- { no: 16, name: "VERIFICATION_MAGIC_LINK_SENT" },
139
- { no: 17, name: "VERIFICATION_MAGIC_LINK_OTP_SENT" },
140
- { no: 18, name: "VERIFICATION_OTP_SENT" },
141
- { no: 19, name: "VERIFICATION_COMPLETED" },
142
- ]);
143
- /**
144
- * @generated from message scalekit.v1.auth.ListAuthMethodsRequest
145
- */
146
- class ListAuthMethodsRequest extends protobuf_1.Message {
147
- constructor(data) {
148
- super();
149
- /**
150
- * @generated from field: string intent = 1;
151
- */
152
- this.intent = "";
153
- protobuf_1.proto3.util.initPartial(data, this);
154
- }
155
- static fromBinary(bytes, options) {
156
- return new ListAuthMethodsRequest().fromBinary(bytes, options);
157
- }
158
- static fromJson(jsonValue, options) {
159
- return new ListAuthMethodsRequest().fromJson(jsonValue, options);
160
- }
161
- static fromJsonString(jsonString, options) {
162
- return new ListAuthMethodsRequest().fromJsonString(jsonString, options);
163
- }
164
- static equals(a, b) {
165
- return protobuf_1.proto3.util.equals(ListAuthMethodsRequest, a, b);
166
- }
167
- }
168
- exports.ListAuthMethodsRequest = ListAuthMethodsRequest;
169
- ListAuthMethodsRequest.runtime = protobuf_1.proto3;
170
- ListAuthMethodsRequest.typeName = "scalekit.v1.auth.ListAuthMethodsRequest";
171
- ListAuthMethodsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
172
- { no: 1, name: "intent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
173
- ]);
174
- /**
175
- * @generated from message scalekit.v1.auth.ListAuthMethodsResponse
176
- */
177
- class ListAuthMethodsResponse extends protobuf_1.Message {
178
- constructor(data) {
179
- super();
180
- /**
181
- * @generated from field: repeated scalekit.v1.auth.AuthMethod auth_methods = 1;
182
- */
183
- this.authMethods = [];
184
- protobuf_1.proto3.util.initPartial(data, this);
185
- }
186
- static fromBinary(bytes, options) {
187
- return new ListAuthMethodsResponse().fromBinary(bytes, options);
188
- }
189
- static fromJson(jsonValue, options) {
190
- return new ListAuthMethodsResponse().fromJson(jsonValue, options);
191
- }
192
- static fromJsonString(jsonString, options) {
193
- return new ListAuthMethodsResponse().fromJsonString(jsonString, options);
194
- }
195
- static equals(a, b) {
196
- return protobuf_1.proto3.util.equals(ListAuthMethodsResponse, a, b);
197
- }
198
- }
199
- exports.ListAuthMethodsResponse = ListAuthMethodsResponse;
200
- ListAuthMethodsResponse.runtime = protobuf_1.proto3;
201
- ListAuthMethodsResponse.typeName = "scalekit.v1.auth.ListAuthMethodsResponse";
202
- ListAuthMethodsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
203
- { no: 1, name: "auth_methods", kind: "message", T: AuthMethod, repeated: true },
204
- ]);
205
- /**
206
- * @generated from message scalekit.v1.auth.AuthMethod
207
- */
208
- class AuthMethod extends protobuf_1.Message {
209
- constructor(data) {
210
- super();
211
- /**
212
- * @generated from field: string connection_id = 1;
213
- */
214
- this.connectionId = "";
215
- /**
216
- * @generated from field: scalekit.v1.connections.ConnectionType connection_type = 2;
217
- */
218
- this.connectionType = connections_pb_js_1.ConnectionType.INVALID;
219
- /**
220
- * @generated from field: string provider = 3;
221
- */
222
- this.provider = "";
223
- /**
224
- * @generated from field: string auth_initiation_uri = 4;
225
- */
226
- this.authInitiationUri = "";
227
- protobuf_1.proto3.util.initPartial(data, this);
228
- }
229
- static fromBinary(bytes, options) {
230
- return new AuthMethod().fromBinary(bytes, options);
231
- }
232
- static fromJson(jsonValue, options) {
233
- return new AuthMethod().fromJson(jsonValue, options);
234
- }
235
- static fromJsonString(jsonString, options) {
236
- return new AuthMethod().fromJsonString(jsonString, options);
237
- }
238
- static equals(a, b) {
239
- return protobuf_1.proto3.util.equals(AuthMethod, a, b);
240
- }
241
- }
242
- exports.AuthMethod = AuthMethod;
243
- AuthMethod.runtime = protobuf_1.proto3;
244
- AuthMethod.typeName = "scalekit.v1.auth.AuthMethod";
245
- AuthMethod.fields = protobuf_1.proto3.util.newFieldList(() => [
246
- { no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
247
- { no: 2, name: "connection_type", kind: "enum", T: protobuf_1.proto3.getEnumType(connections_pb_js_1.ConnectionType) },
248
- { no: 3, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
249
- { no: 4, name: "auth_initiation_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
250
- { no: 5, name: "passwordless_type", kind: "enum", T: protobuf_1.proto3.getEnumType(connections_pb_js_1.PasswordlessType), opt: true },
251
- { no: 6, name: "code_challenge_length", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
252
- { no: 7, name: "enable_webauthn_auto_registration", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
253
- { no: 8, name: "show_passkey_button", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
254
- { no: 9, name: "enable_webauthn_conditional_login", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
255
- ]);
256
- /**
257
- * @generated from message scalekit.v1.auth.DiscoveryAuthMethodRequest
258
- */
259
- class DiscoveryAuthMethodRequest extends protobuf_1.Message {
260
- constructor(data) {
261
- super();
262
- protobuf_1.proto3.util.initPartial(data, this);
263
- }
264
- static fromBinary(bytes, options) {
265
- return new DiscoveryAuthMethodRequest().fromBinary(bytes, options);
266
- }
267
- static fromJson(jsonValue, options) {
268
- return new DiscoveryAuthMethodRequest().fromJson(jsonValue, options);
269
- }
270
- static fromJsonString(jsonString, options) {
271
- return new DiscoveryAuthMethodRequest().fromJsonString(jsonString, options);
272
- }
273
- static equals(a, b) {
274
- return protobuf_1.proto3.util.equals(DiscoveryAuthMethodRequest, a, b);
275
- }
276
- }
277
- exports.DiscoveryAuthMethodRequest = DiscoveryAuthMethodRequest;
278
- DiscoveryAuthMethodRequest.runtime = protobuf_1.proto3;
279
- DiscoveryAuthMethodRequest.typeName = "scalekit.v1.auth.DiscoveryAuthMethodRequest";
280
- DiscoveryAuthMethodRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
281
- { no: 2, name: "discovery_request", kind: "message", T: DiscoveryRequest },
282
- ]);
283
- /**
284
- * @generated from message scalekit.v1.auth.DiscoveryRequest
285
- */
286
- class DiscoveryRequest extends protobuf_1.Message {
287
- constructor(data) {
288
- super();
289
- /**
290
- * @generated from field: string email = 1;
291
- */
292
- this.email = "";
293
- /**
294
- * @generated from field: scalekit.v1.auth.Intent intent = 2;
295
- */
296
- this.intent = Intent.INTENT_UNSPECIFIED;
297
- protobuf_1.proto3.util.initPartial(data, this);
298
- }
299
- static fromBinary(bytes, options) {
300
- return new DiscoveryRequest().fromBinary(bytes, options);
301
- }
302
- static fromJson(jsonValue, options) {
303
- return new DiscoveryRequest().fromJson(jsonValue, options);
304
- }
305
- static fromJsonString(jsonString, options) {
306
- return new DiscoveryRequest().fromJsonString(jsonString, options);
307
- }
308
- static equals(a, b) {
309
- return protobuf_1.proto3.util.equals(DiscoveryRequest, a, b);
310
- }
311
- }
312
- exports.DiscoveryRequest = DiscoveryRequest;
313
- DiscoveryRequest.runtime = protobuf_1.proto3;
314
- DiscoveryRequest.typeName = "scalekit.v1.auth.DiscoveryRequest";
315
- DiscoveryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
316
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
- { no: 2, name: "intent", kind: "enum", T: protobuf_1.proto3.getEnumType(Intent) },
318
- ]);
319
- /**
320
- * @generated from message scalekit.v1.auth.DiscoveryAuthMethodResponse
321
- */
322
- class DiscoveryAuthMethodResponse extends protobuf_1.Message {
323
- constructor(data) {
324
- super();
325
- protobuf_1.proto3.util.initPartial(data, this);
326
- }
327
- static fromBinary(bytes, options) {
328
- return new DiscoveryAuthMethodResponse().fromBinary(bytes, options);
329
- }
330
- static fromJson(jsonValue, options) {
331
- return new DiscoveryAuthMethodResponse().fromJson(jsonValue, options);
332
- }
333
- static fromJsonString(jsonString, options) {
334
- return new DiscoveryAuthMethodResponse().fromJsonString(jsonString, options);
335
- }
336
- static equals(a, b) {
337
- return protobuf_1.proto3.util.equals(DiscoveryAuthMethodResponse, a, b);
338
- }
339
- }
340
- exports.DiscoveryAuthMethodResponse = DiscoveryAuthMethodResponse;
341
- DiscoveryAuthMethodResponse.runtime = protobuf_1.proto3;
342
- DiscoveryAuthMethodResponse.typeName = "scalekit.v1.auth.DiscoveryAuthMethodResponse";
343
- DiscoveryAuthMethodResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
344
- { no: 1, name: "auth_method", kind: "message", T: AuthMethod },
345
- ]);
346
- /**
347
- * @generated from message scalekit.v1.auth.GetAuthCustomizationsRequest
348
- */
349
- class GetAuthCustomizationsRequest extends protobuf_1.Message {
350
- constructor(data) {
351
- super();
352
- protobuf_1.proto3.util.initPartial(data, this);
353
- }
354
- static fromBinary(bytes, options) {
355
- return new GetAuthCustomizationsRequest().fromBinary(bytes, options);
356
- }
357
- static fromJson(jsonValue, options) {
358
- return new GetAuthCustomizationsRequest().fromJson(jsonValue, options);
359
- }
360
- static fromJsonString(jsonString, options) {
361
- return new GetAuthCustomizationsRequest().fromJsonString(jsonString, options);
362
- }
363
- static equals(a, b) {
364
- return protobuf_1.proto3.util.equals(GetAuthCustomizationsRequest, a, b);
365
- }
366
- }
367
- exports.GetAuthCustomizationsRequest = GetAuthCustomizationsRequest;
368
- GetAuthCustomizationsRequest.runtime = protobuf_1.proto3;
369
- GetAuthCustomizationsRequest.typeName = "scalekit.v1.auth.GetAuthCustomizationsRequest";
370
- GetAuthCustomizationsRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
371
- /**
372
- * @generated from message scalekit.v1.auth.GetAuthCustomizationsResponse
373
- */
374
- class GetAuthCustomizationsResponse extends protobuf_1.Message {
375
- constructor(data) {
376
- super();
377
- protobuf_1.proto3.util.initPartial(data, this);
378
- }
379
- static fromBinary(bytes, options) {
380
- return new GetAuthCustomizationsResponse().fromBinary(bytes, options);
381
- }
382
- static fromJson(jsonValue, options) {
383
- return new GetAuthCustomizationsResponse().fromJson(jsonValue, options);
384
- }
385
- static fromJsonString(jsonString, options) {
386
- return new GetAuthCustomizationsResponse().fromJsonString(jsonString, options);
387
- }
388
- static equals(a, b) {
389
- return protobuf_1.proto3.util.equals(GetAuthCustomizationsResponse, a, b);
390
- }
391
- }
392
- exports.GetAuthCustomizationsResponse = GetAuthCustomizationsResponse;
393
- GetAuthCustomizationsResponse.runtime = protobuf_1.proto3;
394
- GetAuthCustomizationsResponse.typeName = "scalekit.v1.auth.GetAuthCustomizationsResponse";
395
- GetAuthCustomizationsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
396
- { no: 2, name: "customization_settings", kind: "message", T: protobuf_1.Struct },
397
- ]);
398
- /**
399
- * @generated from message scalekit.v1.auth.GetAuthFeaturesResponse
400
- */
401
- class GetAuthFeaturesResponse extends protobuf_1.Message {
402
- constructor(data) {
403
- super();
404
- protobuf_1.proto3.util.initPartial(data, this);
405
- }
406
- static fromBinary(bytes, options) {
407
- return new GetAuthFeaturesResponse().fromBinary(bytes, options);
408
- }
409
- static fromJson(jsonValue, options) {
410
- return new GetAuthFeaturesResponse().fromJson(jsonValue, options);
411
- }
412
- static fromJsonString(jsonString, options) {
413
- return new GetAuthFeaturesResponse().fromJsonString(jsonString, options);
414
- }
415
- static equals(a, b) {
416
- return protobuf_1.proto3.util.equals(GetAuthFeaturesResponse, a, b);
417
- }
418
- }
419
- exports.GetAuthFeaturesResponse = GetAuthFeaturesResponse;
420
- GetAuthFeaturesResponse.runtime = protobuf_1.proto3;
421
- GetAuthFeaturesResponse.typeName = "scalekit.v1.auth.GetAuthFeaturesResponse";
422
- GetAuthFeaturesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
423
- { no: 1, name: "features", kind: "message", T: protobuf_1.Struct },
424
- ]);
425
- /**
426
- * @generated from message scalekit.v1.auth.VerifyPasswordLessOtpRequest
427
- */
428
- class VerifyPasswordLessOtpRequest extends protobuf_1.Message {
429
- constructor(data) {
430
- super();
431
- protobuf_1.proto3.util.initPartial(data, this);
432
- }
433
- static fromBinary(bytes, options) {
434
- return new VerifyPasswordLessOtpRequest().fromBinary(bytes, options);
435
- }
436
- static fromJson(jsonValue, options) {
437
- return new VerifyPasswordLessOtpRequest().fromJson(jsonValue, options);
438
- }
439
- static fromJsonString(jsonString, options) {
440
- return new VerifyPasswordLessOtpRequest().fromJsonString(jsonString, options);
441
- }
442
- static equals(a, b) {
443
- return protobuf_1.proto3.util.equals(VerifyPasswordLessOtpRequest, a, b);
444
- }
445
- }
446
- exports.VerifyPasswordLessOtpRequest = VerifyPasswordLessOtpRequest;
447
- VerifyPasswordLessOtpRequest.runtime = protobuf_1.proto3;
448
- VerifyPasswordLessOtpRequest.typeName = "scalekit.v1.auth.VerifyPasswordLessOtpRequest";
449
- VerifyPasswordLessOtpRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
450
- { no: 2, name: "otp_req", kind: "message", T: OTPRequest },
451
- ]);
452
- /**
453
- * @generated from message scalekit.v1.auth.VerifyPasswordLessOtpResponse
454
- */
455
- class VerifyPasswordLessOtpResponse extends protobuf_1.Message {
456
- constructor(data) {
457
- super();
458
- protobuf_1.proto3.util.initPartial(data, this);
459
- }
460
- static fromBinary(bytes, options) {
461
- return new VerifyPasswordLessOtpResponse().fromBinary(bytes, options);
462
- }
463
- static fromJson(jsonValue, options) {
464
- return new VerifyPasswordLessOtpResponse().fromJson(jsonValue, options);
465
- }
466
- static fromJsonString(jsonString, options) {
467
- return new VerifyPasswordLessOtpResponse().fromJsonString(jsonString, options);
468
- }
469
- static equals(a, b) {
470
- return protobuf_1.proto3.util.equals(VerifyPasswordLessOtpResponse, a, b);
471
- }
472
- }
473
- exports.VerifyPasswordLessOtpResponse = VerifyPasswordLessOtpResponse;
474
- VerifyPasswordLessOtpResponse.runtime = protobuf_1.proto3;
475
- VerifyPasswordLessOtpResponse.typeName = "scalekit.v1.auth.VerifyPasswordLessOtpResponse";
476
- VerifyPasswordLessOtpResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
477
- /**
478
- * @generated from message scalekit.v1.auth.OTPRequest
479
- */
480
- class OTPRequest extends protobuf_1.Message {
481
- constructor(data) {
482
- super();
483
- /**
484
- * @generated from field: string code_challenge = 1;
485
- */
486
- this.codeChallenge = "";
487
- protobuf_1.proto3.util.initPartial(data, this);
488
- }
489
- static fromBinary(bytes, options) {
490
- return new OTPRequest().fromBinary(bytes, options);
491
- }
492
- static fromJson(jsonValue, options) {
493
- return new OTPRequest().fromJson(jsonValue, options);
494
- }
495
- static fromJsonString(jsonString, options) {
496
- return new OTPRequest().fromJsonString(jsonString, options);
497
- }
498
- static equals(a, b) {
499
- return protobuf_1.proto3.util.equals(OTPRequest, a, b);
500
- }
501
- }
502
- exports.OTPRequest = OTPRequest;
503
- OTPRequest.runtime = protobuf_1.proto3;
504
- OTPRequest.typeName = "scalekit.v1.auth.OTPRequest";
505
- OTPRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
506
- { no: 1, name: "code_challenge", kind: "scalar", T: 9 /* ScalarType.STRING */ },
507
- ]);
508
- /**
509
- * @generated from message scalekit.v1.auth.ListUserOrganizationsResponse
510
- */
511
- class ListUserOrganizationsResponse extends protobuf_1.Message {
512
- constructor(data) {
513
- super();
514
- /**
515
- * @generated from field: repeated scalekit.v1.auth.Organization organizations = 1;
516
- */
517
- this.organizations = [];
518
- /**
519
- * @generated from field: scalekit.v1.auth.Intent intent = 3;
520
- */
521
- this.intent = Intent.INTENT_UNSPECIFIED;
522
- protobuf_1.proto3.util.initPartial(data, this);
523
- }
524
- static fromBinary(bytes, options) {
525
- return new ListUserOrganizationsResponse().fromBinary(bytes, options);
526
- }
527
- static fromJson(jsonValue, options) {
528
- return new ListUserOrganizationsResponse().fromJson(jsonValue, options);
529
- }
530
- static fromJsonString(jsonString, options) {
531
- return new ListUserOrganizationsResponse().fromJsonString(jsonString, options);
532
- }
533
- static equals(a, b) {
534
- return protobuf_1.proto3.util.equals(ListUserOrganizationsResponse, a, b);
535
- }
536
- }
537
- exports.ListUserOrganizationsResponse = ListUserOrganizationsResponse;
538
- ListUserOrganizationsResponse.runtime = protobuf_1.proto3;
539
- ListUserOrganizationsResponse.typeName = "scalekit.v1.auth.ListUserOrganizationsResponse";
540
- ListUserOrganizationsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
541
- { no: 1, name: "organizations", kind: "message", T: Organization, repeated: true },
542
- { no: 2, name: "user", kind: "message", T: UserDetails },
543
- { no: 3, name: "intent", kind: "enum", T: protobuf_1.proto3.getEnumType(Intent) },
544
- ]);
545
- /**
546
- * @generated from message scalekit.v1.auth.Organization
547
- */
548
- class Organization extends protobuf_1.Message {
549
- constructor(data) {
550
- super();
551
- /**
552
- * @generated from field: string id = 1;
553
- */
554
- this.id = "";
555
- /**
556
- * @generated from field: string name = 2;
557
- */
558
- this.name = "";
559
- /**
560
- * @generated from field: string membership_status = 3;
561
- */
562
- this.membershipStatus = "";
563
- protobuf_1.proto3.util.initPartial(data, this);
564
- }
565
- static fromBinary(bytes, options) {
566
- return new Organization().fromBinary(bytes, options);
567
- }
568
- static fromJson(jsonValue, options) {
569
- return new Organization().fromJson(jsonValue, options);
570
- }
571
- static fromJsonString(jsonString, options) {
572
- return new Organization().fromJsonString(jsonString, options);
573
- }
574
- static equals(a, b) {
575
- return protobuf_1.proto3.util.equals(Organization, a, b);
576
- }
577
- }
578
- exports.Organization = Organization;
579
- Organization.runtime = protobuf_1.proto3;
580
- Organization.typeName = "scalekit.v1.auth.Organization";
581
- Organization.fields = protobuf_1.proto3.util.newFieldList(() => [
582
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
583
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
584
- { no: 3, name: "membership_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
585
- { no: 4, name: "invitation_inviter_email", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
586
- { no: 5, name: "invitation_accepted_at", kind: "message", T: protobuf_1.Timestamp, opt: true },
587
- { no: 6, name: "invitation_created_at", kind: "message", T: protobuf_1.Timestamp, opt: true },
588
- { no: 7, name: "invitation_expires_at", kind: "message", T: protobuf_1.Timestamp, opt: true },
589
- ]);
590
- /**
591
- * @generated from message scalekit.v1.auth.UserDetails
592
- */
593
- class UserDetails extends protobuf_1.Message {
594
- constructor(data) {
595
- super();
596
- /**
597
- * @generated from field: string email = 1;
598
- */
599
- this.email = "";
600
- /**
601
- * @generated from field: string first_name = 2;
602
- */
603
- this.firstName = "";
604
- /**
605
- * @generated from field: string last_name = 3;
606
- */
607
- this.lastName = "";
608
- protobuf_1.proto3.util.initPartial(data, this);
609
- }
610
- static fromBinary(bytes, options) {
611
- return new UserDetails().fromBinary(bytes, options);
612
- }
613
- static fromJson(jsonValue, options) {
614
- return new UserDetails().fromJson(jsonValue, options);
615
- }
616
- static fromJsonString(jsonString, options) {
617
- return new UserDetails().fromJsonString(jsonString, options);
618
- }
619
- static equals(a, b) {
620
- return protobuf_1.proto3.util.equals(UserDetails, a, b);
621
- }
622
- }
623
- exports.UserDetails = UserDetails;
624
- UserDetails.runtime = protobuf_1.proto3;
625
- UserDetails.typeName = "scalekit.v1.auth.UserDetails";
626
- UserDetails.fields = protobuf_1.proto3.util.newFieldList(() => [
627
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
628
- { no: 2, name: "first_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
629
- { no: 3, name: "last_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
630
- ]);
631
- /**
632
- * @generated from message scalekit.v1.auth.SignupOrganizationRequest
633
- */
634
- class SignupOrganizationRequest extends protobuf_1.Message {
635
- constructor(data) {
636
- super();
637
- /**
638
- * making all optional for now
639
- *
640
- * @generated from field: string organization_name = 1;
641
- */
642
- this.organizationName = "";
643
- /**
644
- * @generated from field: string first_name = 2;
645
- */
646
- this.firstName = "";
647
- /**
648
- * @generated from field: string last_name = 3;
649
- */
650
- this.lastName = "";
651
- /**
652
- * @generated from field: string full_name = 4;
653
- */
654
- this.fullName = "";
655
- /**
656
- * @generated from field: string phone_number = 5;
657
- */
658
- this.phoneNumber = "";
659
- protobuf_1.proto3.util.initPartial(data, this);
660
- }
661
- static fromBinary(bytes, options) {
662
- return new SignupOrganizationRequest().fromBinary(bytes, options);
663
- }
664
- static fromJson(jsonValue, options) {
665
- return new SignupOrganizationRequest().fromJson(jsonValue, options);
666
- }
667
- static fromJsonString(jsonString, options) {
668
- return new SignupOrganizationRequest().fromJsonString(jsonString, options);
669
- }
670
- static equals(a, b) {
671
- return protobuf_1.proto3.util.equals(SignupOrganizationRequest, a, b);
672
- }
673
- }
674
- exports.SignupOrganizationRequest = SignupOrganizationRequest;
675
- SignupOrganizationRequest.runtime = protobuf_1.proto3;
676
- SignupOrganizationRequest.typeName = "scalekit.v1.auth.SignupOrganizationRequest";
677
- SignupOrganizationRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
678
- { no: 1, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
679
- { no: 2, name: "first_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
680
- { no: 3, name: "last_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
681
- { no: 4, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
682
- { no: 5, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
683
- ]);
684
- /**
685
- * @generated from message scalekit.v1.auth.SignupOrganizationResponse
686
- */
687
- class SignupOrganizationResponse extends protobuf_1.Message {
688
- constructor(data) {
689
- super();
690
- /**
691
- * @generated from field: string organization_id = 1;
692
- */
693
- this.organizationId = "";
694
- /**
695
- * @generated from field: string organization_name = 2;
696
- */
697
- this.organizationName = "";
698
- protobuf_1.proto3.util.initPartial(data, this);
699
- }
700
- static fromBinary(bytes, options) {
701
- return new SignupOrganizationResponse().fromBinary(bytes, options);
702
- }
703
- static fromJson(jsonValue, options) {
704
- return new SignupOrganizationResponse().fromJson(jsonValue, options);
705
- }
706
- static fromJsonString(jsonString, options) {
707
- return new SignupOrganizationResponse().fromJsonString(jsonString, options);
708
- }
709
- static equals(a, b) {
710
- return protobuf_1.proto3.util.equals(SignupOrganizationResponse, a, b);
711
- }
712
- }
713
- exports.SignupOrganizationResponse = SignupOrganizationResponse;
714
- SignupOrganizationResponse.runtime = protobuf_1.proto3;
715
- SignupOrganizationResponse.typeName = "scalekit.v1.auth.SignupOrganizationResponse";
716
- SignupOrganizationResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
717
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
718
- { no: 2, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
719
- ]);
720
- /**
721
- * @generated from message scalekit.v1.auth.UpdateLoginUserDetailsRequest
722
- */
723
- class UpdateLoginUserDetailsRequest extends protobuf_1.Message {
724
- constructor(data) {
725
- super();
726
- /**
727
- * @generated from field: string connection_id = 1;
728
- */
729
- this.connectionId = "";
730
- /**
731
- * @generated from field: string login_request_id = 2;
732
- */
733
- this.loginRequestId = "";
734
- protobuf_1.proto3.util.initPartial(data, this);
735
- }
736
- static fromBinary(bytes, options) {
737
- return new UpdateLoginUserDetailsRequest().fromBinary(bytes, options);
738
- }
739
- static fromJson(jsonValue, options) {
740
- return new UpdateLoginUserDetailsRequest().fromJson(jsonValue, options);
741
- }
742
- static fromJsonString(jsonString, options) {
743
- return new UpdateLoginUserDetailsRequest().fromJsonString(jsonString, options);
744
- }
745
- static equals(a, b) {
746
- return protobuf_1.proto3.util.equals(UpdateLoginUserDetailsRequest, a, b);
747
- }
748
- }
749
- exports.UpdateLoginUserDetailsRequest = UpdateLoginUserDetailsRequest;
750
- UpdateLoginUserDetailsRequest.runtime = protobuf_1.proto3;
751
- UpdateLoginUserDetailsRequest.typeName = "scalekit.v1.auth.UpdateLoginUserDetailsRequest";
752
- UpdateLoginUserDetailsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
753
- { no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
754
- { no: 2, name: "login_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
755
- { no: 3, name: "user", kind: "message", T: User },
756
- ]);
757
- /**
758
- * @generated from message scalekit.v1.auth.User
759
- */
760
- class User extends protobuf_1.Message {
761
- constructor(data) {
762
- super();
763
- /**
764
- * @generated from field: string sub = 1;
765
- */
766
- this.sub = "";
767
- /**
768
- * @generated from field: string email = 2;
769
- */
770
- this.email = "";
771
- /**
772
- * @generated from field: string given_name = 3;
773
- */
774
- this.givenName = "";
775
- /**
776
- * @generated from field: string family_name = 4;
777
- */
778
- this.familyName = "";
779
- /**
780
- * @generated from field: bool email_verified = 5;
781
- */
782
- this.emailVerified = false;
783
- /**
784
- * @generated from field: string phone_number = 6;
785
- */
786
- this.phoneNumber = "";
787
- /**
788
- * @generated from field: bool phone_number_verified = 7;
789
- */
790
- this.phoneNumberVerified = false;
791
- /**
792
- * @generated from field: string name = 8;
793
- */
794
- this.name = "";
795
- /**
796
- * @generated from field: string preferred_username = 9;
797
- */
798
- this.preferredUsername = "";
799
- /**
800
- * @generated from field: string picture = 10;
801
- */
802
- this.picture = "";
803
- /**
804
- * @generated from field: string gender = 11;
805
- */
806
- this.gender = "";
807
- /**
808
- * @generated from field: string locale = 12;
809
- */
810
- this.locale = "";
811
- /**
812
- * @generated from field: repeated string groups = 13;
813
- */
814
- this.groups = [];
815
- protobuf_1.proto3.util.initPartial(data, this);
816
- }
817
- static fromBinary(bytes, options) {
818
- return new User().fromBinary(bytes, options);
819
- }
820
- static fromJson(jsonValue, options) {
821
- return new User().fromJson(jsonValue, options);
822
- }
823
- static fromJsonString(jsonString, options) {
824
- return new User().fromJsonString(jsonString, options);
825
- }
826
- static equals(a, b) {
827
- return protobuf_1.proto3.util.equals(User, a, b);
828
- }
829
- }
830
- exports.User = User;
831
- User.runtime = protobuf_1.proto3;
832
- User.typeName = "scalekit.v1.auth.User";
833
- User.fields = protobuf_1.proto3.util.newFieldList(() => [
834
- { no: 1, name: "sub", kind: "scalar", T: 9 /* ScalarType.STRING */ },
835
- { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
836
- { no: 3, name: "given_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
837
- { no: 4, name: "family_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
838
- { no: 5, name: "email_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
839
- { no: 6, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
840
- { no: 7, name: "phone_number_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
841
- { no: 8, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
842
- { no: 9, name: "preferred_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
843
- { no: 10, name: "picture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
844
- { no: 11, name: "gender", kind: "scalar", T: 9 /* ScalarType.STRING */ },
845
- { no: 12, name: "locale", kind: "scalar", T: 9 /* ScalarType.STRING */ },
846
- { no: 13, name: "groups", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
847
- { no: 14, name: "custom_attributes", kind: "message", T: protobuf_1.Struct },
848
- ]);
849
- /**
850
- * @generated from message scalekit.v1.auth.GetAuthStateResponse
851
- */
852
- class GetAuthStateResponse extends protobuf_1.Message {
853
- constructor(data) {
854
- super();
855
- /**
856
- * @generated from field: scalekit.v1.auth.AuthState auth_state = 1;
857
- */
858
- this.authState = AuthState.AUTH_STATE_UNSPECIFIED;
859
- protobuf_1.proto3.util.initPartial(data, this);
860
- }
861
- static fromBinary(bytes, options) {
862
- return new GetAuthStateResponse().fromBinary(bytes, options);
863
- }
864
- static fromJson(jsonValue, options) {
865
- return new GetAuthStateResponse().fromJson(jsonValue, options);
866
- }
867
- static fromJsonString(jsonString, options) {
868
- return new GetAuthStateResponse().fromJsonString(jsonString, options);
869
- }
870
- static equals(a, b) {
871
- return protobuf_1.proto3.util.equals(GetAuthStateResponse, a, b);
872
- }
873
- }
874
- exports.GetAuthStateResponse = GetAuthStateResponse;
875
- GetAuthStateResponse.runtime = protobuf_1.proto3;
876
- GetAuthStateResponse.typeName = "scalekit.v1.auth.GetAuthStateResponse";
877
- GetAuthStateResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
878
- { no: 1, name: "auth_state", kind: "enum", T: protobuf_1.proto3.getEnumType(AuthState) },
879
- { no: 2, name: "user", kind: "message", T: UserDetails },
880
- ]);
881
237
  /**
882
- * @generated from message scalekit.v1.auth.GetAuthErrorRequest
238
+ * Describes the enum scalekit.v1.auth.AuthState.
883
239
  */
884
- class GetAuthErrorRequest extends protobuf_1.Message {
885
- constructor(data) {
886
- super();
887
- /**
888
- * @generated from field: string error_id = 1;
889
- */
890
- this.errorId = "";
891
- protobuf_1.proto3.util.initPartial(data, this);
892
- }
893
- static fromBinary(bytes, options) {
894
- return new GetAuthErrorRequest().fromBinary(bytes, options);
895
- }
896
- static fromJson(jsonValue, options) {
897
- return new GetAuthErrorRequest().fromJson(jsonValue, options);
898
- }
899
- static fromJsonString(jsonString, options) {
900
- return new GetAuthErrorRequest().fromJsonString(jsonString, options);
901
- }
902
- static equals(a, b) {
903
- return protobuf_1.proto3.util.equals(GetAuthErrorRequest, a, b);
904
- }
905
- }
906
- exports.GetAuthErrorRequest = GetAuthErrorRequest;
907
- GetAuthErrorRequest.runtime = protobuf_1.proto3;
908
- GetAuthErrorRequest.typeName = "scalekit.v1.auth.GetAuthErrorRequest";
909
- GetAuthErrorRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
910
- { no: 1, name: "error_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
911
- ]);
240
+ exports.AuthStateSchema = (0, codegenv2_1.enumDesc)(exports.file_scalekit_v1_auth_auth, 1);
912
241
  /**
913
- * @generated from message scalekit.v1.auth.GetAuthErrorResponse
242
+ * @generated from service scalekit.v1.auth.AuthService
914
243
  */
915
- class GetAuthErrorResponse extends protobuf_1.Message {
916
- constructor(data) {
917
- super();
918
- /**
919
- * @generated from field: string error = 1;
920
- */
921
- this.error = "";
922
- /**
923
- * @generated from field: string error_description = 2;
924
- */
925
- this.errorDescription = "";
926
- protobuf_1.proto3.util.initPartial(data, this);
927
- }
928
- static fromBinary(bytes, options) {
929
- return new GetAuthErrorResponse().fromBinary(bytes, options);
930
- }
931
- static fromJson(jsonValue, options) {
932
- return new GetAuthErrorResponse().fromJson(jsonValue, options);
933
- }
934
- static fromJsonString(jsonString, options) {
935
- return new GetAuthErrorResponse().fromJsonString(jsonString, options);
936
- }
937
- static equals(a, b) {
938
- return protobuf_1.proto3.util.equals(GetAuthErrorResponse, a, b);
939
- }
940
- }
941
- exports.GetAuthErrorResponse = GetAuthErrorResponse;
942
- GetAuthErrorResponse.runtime = protobuf_1.proto3;
943
- GetAuthErrorResponse.typeName = "scalekit.v1.auth.GetAuthErrorResponse";
944
- GetAuthErrorResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
945
- { no: 1, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
946
- { no: 2, name: "error_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
947
- ]);
244
+ exports.AuthService = (0, codegenv2_1.serviceDesc)(exports.file_scalekit_v1_auth_auth, 0);
948
245
  //# sourceMappingURL=auth_pb.js.map