@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,993 +1,147 @@
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/webauthn.proto (package scalekit.v1.auth.webauthn, syntax proto3)
4
4
  /* eslint-disable */
5
- // @ts-nocheck
6
5
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.GetRelatedOriginsResponse = exports.GetRelatedOriginsRequest = exports.WebAuthnCredential_ClientInfo = exports.WebAuthnCredential_UserAgent = exports.WebAuthnCredential_Authenticator = exports.WebAuthnCredential_AuthenticatorFlags = exports.WebAuthnCredential = exports.UpdateCredentialResponse = exports.UpdateCredentialRequest = exports.AllAcceptedCredentialsOptions = exports.UnknownCredentialOptions = exports.DeleteCredentialResponse = exports.DeleteCredentialRequest = exports.ListCredentialsResponse = exports.ListCredentialsRequest = exports.WebAuthnConfiguration = exports.FinishAuthenticationResponse = exports.AuthenticatorAssertionResponse = exports.FinishAuthenticationRequest = exports.BeginAuthenticationResponse = exports.BeginAuthenticationRequest = exports.FinishRegistrationResponse = exports.FinishRegistrationRequest = exports.BeginRegistrationResponse = exports.BeginRegistrationRequest = void 0;
8
- const protobuf_1 = require("@bufbuild/protobuf");
6
+ exports.WebAuthnService = exports.GetRelatedOriginsResponseSchema = exports.GetRelatedOriginsRequestSchema = exports.WebAuthnCredential_ClientInfoSchema = exports.WebAuthnCredential_UserAgentSchema = exports.WebAuthnCredential_AuthenticatorSchema = exports.WebAuthnCredential_AuthenticatorFlagsSchema = exports.WebAuthnCredentialSchema = exports.UpdateCredentialResponseSchema = exports.UpdateCredentialRequestSchema = exports.AllAcceptedCredentialsOptionsSchema = exports.UnknownCredentialOptionsSchema = exports.DeleteCredentialResponseSchema = exports.DeleteCredentialRequestSchema = exports.ListCredentialsResponseSchema = exports.ListCredentialsRequestSchema = exports.WebAuthnConfigurationSchema = exports.FinishAuthenticationResponseSchema = exports.AuthenticatorAssertionResponseSchema = exports.FinishAuthenticationRequestSchema = exports.BeginAuthenticationResponseSchema = exports.BeginAuthenticationRequestSchema = exports.FinishRegistrationResponseSchema = exports.FinishRegistrationRequestSchema = exports.BeginRegistrationResponseSchema = exports.BeginRegistrationRequestSchema = exports.file_scalekit_v1_auth_webauthn = 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 options_pb_1 = require("../options/options_pb");
9
14
  /**
10
- * @generated from message scalekit.v1.auth.webauthn.BeginRegistrationRequest
15
+ * Describes the file scalekit/v1/auth/webauthn.proto.
11
16
  */
12
- class BeginRegistrationRequest extends protobuf_1.Message {
13
- constructor(data) {
14
- super();
15
- protobuf_1.proto3.util.initPartial(data, this);
16
- }
17
- static fromBinary(bytes, options) {
18
- return new BeginRegistrationRequest().fromBinary(bytes, options);
19
- }
20
- static fromJson(jsonValue, options) {
21
- return new BeginRegistrationRequest().fromJson(jsonValue, options);
22
- }
23
- static fromJsonString(jsonString, options) {
24
- return new BeginRegistrationRequest().fromJsonString(jsonString, options);
25
- }
26
- static equals(a, b) {
27
- return protobuf_1.proto3.util.equals(BeginRegistrationRequest, a, b);
28
- }
29
- }
30
- exports.BeginRegistrationRequest = BeginRegistrationRequest;
31
- BeginRegistrationRequest.runtime = protobuf_1.proto3;
32
- BeginRegistrationRequest.typeName = "scalekit.v1.auth.webauthn.BeginRegistrationRequest";
33
- BeginRegistrationRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
17
+ exports.file_scalekit_v1_auth_webauthn = (0, codegenv2_1.fileDesc)("Ch9zY2FsZWtpdC92MS9hdXRoL3dlYmF1dGhuLnByb3RvEhlzY2FsZWtpdC52MS5hdXRoLndlYmF1dGhuIhoKGEJlZ2luUmVnaXN0cmF0aW9uUmVxdWVzdCKbAQoZQmVnaW5SZWdpc3RyYXRpb25SZXNwb25zZRJ+CgdvcHRpb25zGAEgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdEJUkkFRMk9XZWJBdXRobiBvcHRpb25zIGluY2x1ZGluZyBjaGFsbGVuZ2UgYW5kIHVzZXIgaW5mb3JtYXRpb24gZm9yIHRoZSBhdXRoZW50aWNhdG9yIpQGChlGaW5pc2hSZWdpc3RyYXRpb25SZXF1ZXN0EmEKDWNyZWRlbnRpYWxfaWQYASABKAxCSpJBQTI/VGhlIHVuaXF1ZSBjcmVkZW50aWFsIGlkZW50aWZpZXIgZ2VuZXJhdGVkIGJ5IHRoZSBhdXRoZW50aWNhdG9yukgDyAEBEoEBChJhdHRlc3RhdGlvbl9vYmplY3QYAiABKAxCZZJBXDJaVGhlIGF0dGVzdGF0aW9uIG9iamVjdCBmcm9tIHRoZSBhdXRoZW50aWNhdG9yIHJlc3BvbnNlLCBjb250YWlucyB0aGUgY3JlZGVudGlhbCBwdWJsaWMga2V5ukgDyAEBEmgKEGNsaWVudF9kYXRhX2pzb24YAyABKAxCTpJBRTJDQ2xp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google_api_visibility, wkt_1.file_google_protobuf_struct, wkt_1.file_google_protobuf_timestamp, annotations_pb_2.file_protoc_gen_openapiv2_options_annotations, options_pb_1.file_scalekit_v1_options_options]);
34
18
  /**
35
- * @generated from message scalekit.v1.auth.webauthn.BeginRegistrationResponse
19
+ * Describes the message scalekit.v1.auth.webauthn.BeginRegistrationRequest.
20
+ * Use `create(BeginRegistrationRequestSchema)` to create a new message.
36
21
  */
37
- class BeginRegistrationResponse extends protobuf_1.Message {
38
- constructor(data) {
39
- super();
40
- protobuf_1.proto3.util.initPartial(data, this);
41
- }
42
- static fromBinary(bytes, options) {
43
- return new BeginRegistrationResponse().fromBinary(bytes, options);
44
- }
45
- static fromJson(jsonValue, options) {
46
- return new BeginRegistrationResponse().fromJson(jsonValue, options);
47
- }
48
- static fromJsonString(jsonString, options) {
49
- return new BeginRegistrationResponse().fromJsonString(jsonString, options);
50
- }
51
- static equals(a, b) {
52
- return protobuf_1.proto3.util.equals(BeginRegistrationResponse, a, b);
53
- }
54
- }
55
- exports.BeginRegistrationResponse = BeginRegistrationResponse;
56
- BeginRegistrationResponse.runtime = protobuf_1.proto3;
57
- BeginRegistrationResponse.typeName = "scalekit.v1.auth.webauthn.BeginRegistrationResponse";
58
- BeginRegistrationResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
59
- { no: 1, name: "options", kind: "message", T: protobuf_1.Struct },
60
- ]);
22
+ exports.BeginRegistrationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 0);
61
23
  /**
62
- * @generated from message scalekit.v1.auth.webauthn.FinishRegistrationRequest
24
+ * Describes the message scalekit.v1.auth.webauthn.BeginRegistrationResponse.
25
+ * Use `create(BeginRegistrationResponseSchema)` to create a new message.
63
26
  */
64
- class FinishRegistrationRequest extends protobuf_1.Message {
65
- constructor(data) {
66
- super();
67
- /**
68
- * @generated from field: bytes credential_id = 1;
69
- */
70
- this.credentialId = new Uint8Array(0);
71
- /**
72
- * @generated from field: bytes attestation_object = 2;
73
- */
74
- this.attestationObject = new Uint8Array(0);
75
- /**
76
- * @generated from field: bytes client_data_json = 3;
77
- */
78
- this.clientDataJson = new Uint8Array(0);
79
- /**
80
- * @generated from field: string type = 4;
81
- */
82
- this.type = "";
83
- /**
84
- * @generated from field: repeated string transports = 5;
85
- */
86
- this.transports = [];
87
- /**
88
- * @generated from field: string authenticator_attachment = 6;
89
- */
90
- this.authenticatorAttachment = "";
91
- protobuf_1.proto3.util.initPartial(data, this);
92
- }
93
- static fromBinary(bytes, options) {
94
- return new FinishRegistrationRequest().fromBinary(bytes, options);
95
- }
96
- static fromJson(jsonValue, options) {
97
- return new FinishRegistrationRequest().fromJson(jsonValue, options);
98
- }
99
- static fromJsonString(jsonString, options) {
100
- return new FinishRegistrationRequest().fromJsonString(jsonString, options);
101
- }
102
- static equals(a, b) {
103
- return protobuf_1.proto3.util.equals(FinishRegistrationRequest, a, b);
104
- }
105
- }
106
- exports.FinishRegistrationRequest = FinishRegistrationRequest;
107
- FinishRegistrationRequest.runtime = protobuf_1.proto3;
108
- FinishRegistrationRequest.typeName = "scalekit.v1.auth.webauthn.FinishRegistrationRequest";
109
- FinishRegistrationRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
110
- { no: 1, name: "credential_id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
111
- { no: 2, name: "attestation_object", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
112
- { no: 3, name: "client_data_json", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
113
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
114
- { no: 5, name: "transports", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
115
- { no: 6, name: "authenticator_attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
116
- { no: 7, name: "client_extension_results", kind: "message", T: protobuf_1.Struct },
117
- ]);
27
+ exports.BeginRegistrationResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 1);
118
28
  /**
119
- * @generated from message scalekit.v1.auth.webauthn.FinishRegistrationResponse
29
+ * Describes the message scalekit.v1.auth.webauthn.FinishRegistrationRequest.
30
+ * Use `create(FinishRegistrationRequestSchema)` to create a new message.
120
31
  */
121
- class FinishRegistrationResponse extends protobuf_1.Message {
122
- constructor(data) {
123
- super();
124
- /**
125
- * @generated from field: bool success = 1;
126
- */
127
- this.success = false;
128
- protobuf_1.proto3.util.initPartial(data, this);
129
- }
130
- static fromBinary(bytes, options) {
131
- return new FinishRegistrationResponse().fromBinary(bytes, options);
132
- }
133
- static fromJson(jsonValue, options) {
134
- return new FinishRegistrationResponse().fromJson(jsonValue, options);
135
- }
136
- static fromJsonString(jsonString, options) {
137
- return new FinishRegistrationResponse().fromJsonString(jsonString, options);
138
- }
139
- static equals(a, b) {
140
- return protobuf_1.proto3.util.equals(FinishRegistrationResponse, a, b);
141
- }
142
- }
143
- exports.FinishRegistrationResponse = FinishRegistrationResponse;
144
- FinishRegistrationResponse.runtime = protobuf_1.proto3;
145
- FinishRegistrationResponse.typeName = "scalekit.v1.auth.webauthn.FinishRegistrationResponse";
146
- FinishRegistrationResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
147
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
148
- ]);
32
+ exports.FinishRegistrationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 2);
149
33
  /**
150
- * @generated from message scalekit.v1.auth.webauthn.BeginAuthenticationRequest
34
+ * Describes the message scalekit.v1.auth.webauthn.FinishRegistrationResponse.
35
+ * Use `create(FinishRegistrationResponseSchema)` to create a new message.
151
36
  */
152
- class BeginAuthenticationRequest extends protobuf_1.Message {
153
- constructor(data) {
154
- super();
155
- protobuf_1.proto3.util.initPartial(data, this);
156
- }
157
- static fromBinary(bytes, options) {
158
- return new BeginAuthenticationRequest().fromBinary(bytes, options);
159
- }
160
- static fromJson(jsonValue, options) {
161
- return new BeginAuthenticationRequest().fromJson(jsonValue, options);
162
- }
163
- static fromJsonString(jsonString, options) {
164
- return new BeginAuthenticationRequest().fromJsonString(jsonString, options);
165
- }
166
- static equals(a, b) {
167
- return protobuf_1.proto3.util.equals(BeginAuthenticationRequest, a, b);
168
- }
169
- }
170
- exports.BeginAuthenticationRequest = BeginAuthenticationRequest;
171
- BeginAuthenticationRequest.runtime = protobuf_1.proto3;
172
- BeginAuthenticationRequest.typeName = "scalekit.v1.auth.webauthn.BeginAuthenticationRequest";
173
- BeginAuthenticationRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
174
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
175
- ]);
37
+ exports.FinishRegistrationResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 3);
176
38
  /**
177
- * @generated from message scalekit.v1.auth.webauthn.BeginAuthenticationResponse
39
+ * Describes the message scalekit.v1.auth.webauthn.BeginAuthenticationRequest.
40
+ * Use `create(BeginAuthenticationRequestSchema)` to create a new message.
178
41
  */
179
- class BeginAuthenticationResponse extends protobuf_1.Message {
180
- constructor(data) {
181
- super();
182
- /**
183
- * @generated from field: string session_id = 1;
184
- */
185
- this.sessionId = "";
186
- protobuf_1.proto3.util.initPartial(data, this);
187
- }
188
- static fromBinary(bytes, options) {
189
- return new BeginAuthenticationResponse().fromBinary(bytes, options);
190
- }
191
- static fromJson(jsonValue, options) {
192
- return new BeginAuthenticationResponse().fromJson(jsonValue, options);
193
- }
194
- static fromJsonString(jsonString, options) {
195
- return new BeginAuthenticationResponse().fromJsonString(jsonString, options);
196
- }
197
- static equals(a, b) {
198
- return protobuf_1.proto3.util.equals(BeginAuthenticationResponse, a, b);
199
- }
200
- }
201
- exports.BeginAuthenticationResponse = BeginAuthenticationResponse;
202
- BeginAuthenticationResponse.runtime = protobuf_1.proto3;
203
- BeginAuthenticationResponse.typeName = "scalekit.v1.auth.webauthn.BeginAuthenticationResponse";
204
- BeginAuthenticationResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
205
- { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
206
- { no: 2, name: "options", kind: "message", T: protobuf_1.Struct },
207
- ]);
42
+ exports.BeginAuthenticationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 4);
208
43
  /**
209
- * @generated from message scalekit.v1.auth.webauthn.FinishAuthenticationRequest
44
+ * Describes the message scalekit.v1.auth.webauthn.BeginAuthenticationResponse.
45
+ * Use `create(BeginAuthenticationResponseSchema)` to create a new message.
210
46
  */
211
- class FinishAuthenticationRequest extends protobuf_1.Message {
212
- constructor(data) {
213
- super();
214
- /**
215
- * @generated from field: string session_id = 1;
216
- */
217
- this.sessionId = "";
218
- /**
219
- * @generated from field: bytes credential_id = 2;
220
- */
221
- this.credentialId = new Uint8Array(0);
222
- /**
223
- * @generated from field: string type = 4;
224
- */
225
- this.type = "";
226
- /**
227
- * @generated from field: string authenticator_attachment = 6;
228
- */
229
- this.authenticatorAttachment = "";
230
- protobuf_1.proto3.util.initPartial(data, this);
231
- }
232
- static fromBinary(bytes, options) {
233
- return new FinishAuthenticationRequest().fromBinary(bytes, options);
234
- }
235
- static fromJson(jsonValue, options) {
236
- return new FinishAuthenticationRequest().fromJson(jsonValue, options);
237
- }
238
- static fromJsonString(jsonString, options) {
239
- return new FinishAuthenticationRequest().fromJsonString(jsonString, options);
240
- }
241
- static equals(a, b) {
242
- return protobuf_1.proto3.util.equals(FinishAuthenticationRequest, a, b);
243
- }
244
- }
245
- exports.FinishAuthenticationRequest = FinishAuthenticationRequest;
246
- FinishAuthenticationRequest.runtime = protobuf_1.proto3;
247
- FinishAuthenticationRequest.typeName = "scalekit.v1.auth.webauthn.FinishAuthenticationRequest";
248
- FinishAuthenticationRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
249
- { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
250
- { no: 2, name: "credential_id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
251
- { no: 3, name: "client_extension_results", kind: "message", T: protobuf_1.Struct },
252
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
253
- { no: 5, name: "response", kind: "message", T: AuthenticatorAssertionResponse },
254
- { no: 6, name: "authenticator_attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
255
- ]);
47
+ exports.BeginAuthenticationResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 5);
256
48
  /**
257
- * @generated from message scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse
49
+ * Describes the message scalekit.v1.auth.webauthn.FinishAuthenticationRequest.
50
+ * Use `create(FinishAuthenticationRequestSchema)` to create a new message.
258
51
  */
259
- class AuthenticatorAssertionResponse extends protobuf_1.Message {
260
- constructor(data) {
261
- super();
262
- /**
263
- * @generated from field: bytes authenticator_data = 1;
264
- */
265
- this.authenticatorData = new Uint8Array(0);
266
- /**
267
- * @generated from field: bytes client_data_json = 2;
268
- */
269
- this.clientDataJson = new Uint8Array(0);
270
- /**
271
- * @generated from field: bytes signature = 3;
272
- */
273
- this.signature = new Uint8Array(0);
274
- /**
275
- * @generated from field: bytes user_handle = 4;
276
- */
277
- this.userHandle = new Uint8Array(0);
278
- protobuf_1.proto3.util.initPartial(data, this);
279
- }
280
- static fromBinary(bytes, options) {
281
- return new AuthenticatorAssertionResponse().fromBinary(bytes, options);
282
- }
283
- static fromJson(jsonValue, options) {
284
- return new AuthenticatorAssertionResponse().fromJson(jsonValue, options);
285
- }
286
- static fromJsonString(jsonString, options) {
287
- return new AuthenticatorAssertionResponse().fromJsonString(jsonString, options);
288
- }
289
- static equals(a, b) {
290
- return protobuf_1.proto3.util.equals(AuthenticatorAssertionResponse, a, b);
291
- }
292
- }
293
- exports.AuthenticatorAssertionResponse = AuthenticatorAssertionResponse;
294
- AuthenticatorAssertionResponse.runtime = protobuf_1.proto3;
295
- AuthenticatorAssertionResponse.typeName = "scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse";
296
- AuthenticatorAssertionResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
297
- { no: 1, name: "authenticator_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
298
- { no: 2, name: "client_data_json", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
299
- { no: 3, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
300
- { no: 4, name: "user_handle", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
301
- ]);
52
+ exports.FinishAuthenticationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 6);
302
53
  /**
303
- * @generated from message scalekit.v1.auth.webauthn.FinishAuthenticationResponse
54
+ * Describes the message scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse.
55
+ * Use `create(AuthenticatorAssertionResponseSchema)` to create a new message.
304
56
  */
305
- class FinishAuthenticationResponse extends protobuf_1.Message {
306
- constructor(data) {
307
- super();
308
- /**
309
- * @generated from field: bool success = 1;
310
- */
311
- this.success = false;
312
- /**
313
- * @generated from field: string user_id = 2;
314
- */
315
- this.userId = "";
316
- /**
317
- * @generated from field: string session_token = 3;
318
- */
319
- this.sessionToken = "";
320
- protobuf_1.proto3.util.initPartial(data, this);
321
- }
322
- static fromBinary(bytes, options) {
323
- return new FinishAuthenticationResponse().fromBinary(bytes, options);
324
- }
325
- static fromJson(jsonValue, options) {
326
- return new FinishAuthenticationResponse().fromJson(jsonValue, options);
327
- }
328
- static fromJsonString(jsonString, options) {
329
- return new FinishAuthenticationResponse().fromJsonString(jsonString, options);
330
- }
331
- static equals(a, b) {
332
- return protobuf_1.proto3.util.equals(FinishAuthenticationResponse, a, b);
333
- }
334
- }
335
- exports.FinishAuthenticationResponse = FinishAuthenticationResponse;
336
- FinishAuthenticationResponse.runtime = protobuf_1.proto3;
337
- FinishAuthenticationResponse.typeName = "scalekit.v1.auth.webauthn.FinishAuthenticationResponse";
338
- FinishAuthenticationResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
339
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
340
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
341
- { no: 3, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
- ]);
57
+ exports.AuthenticatorAssertionResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 7);
343
58
  /**
344
- * @generated from message scalekit.v1.auth.webauthn.WebAuthnConfiguration
59
+ * Describes the message scalekit.v1.auth.webauthn.FinishAuthenticationResponse.
60
+ * Use `create(FinishAuthenticationResponseSchema)` to create a new message.
345
61
  */
346
- class WebAuthnConfiguration extends protobuf_1.Message {
347
- constructor(data) {
348
- super();
349
- /**
350
- * @generated from field: string rp_id = 1;
351
- */
352
- this.rpId = "";
353
- /**
354
- * @generated from field: string rp_origin = 2;
355
- */
356
- this.rpOrigin = "";
357
- /**
358
- * @generated from field: string user_verification = 3;
359
- */
360
- this.userVerification = "";
361
- /**
362
- * @generated from field: string authenticator_attachment = 4;
363
- */
364
- this.authenticatorAttachment = "";
365
- /**
366
- * @generated from field: string resident_key = 5;
367
- */
368
- this.residentKey = "";
369
- /**
370
- * @generated from field: int64 timeout = 6;
371
- */
372
- this.timeout = protobuf_1.protoInt64.zero;
373
- /**
374
- * @generated from field: repeated string allowed_transports = 7;
375
- */
376
- this.allowedTransports = [];
377
- protobuf_1.proto3.util.initPartial(data, this);
378
- }
379
- static fromBinary(bytes, options) {
380
- return new WebAuthnConfiguration().fromBinary(bytes, options);
381
- }
382
- static fromJson(jsonValue, options) {
383
- return new WebAuthnConfiguration().fromJson(jsonValue, options);
384
- }
385
- static fromJsonString(jsonString, options) {
386
- return new WebAuthnConfiguration().fromJsonString(jsonString, options);
387
- }
388
- static equals(a, b) {
389
- return protobuf_1.proto3.util.equals(WebAuthnConfiguration, a, b);
390
- }
391
- }
392
- exports.WebAuthnConfiguration = WebAuthnConfiguration;
393
- WebAuthnConfiguration.runtime = protobuf_1.proto3;
394
- WebAuthnConfiguration.typeName = "scalekit.v1.auth.webauthn.WebAuthnConfiguration";
395
- WebAuthnConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
396
- { no: 1, name: "rp_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
- { no: 2, name: "rp_origin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
- { no: 3, name: "user_verification", kind: "scalar", T: 9 /* ScalarType.STRING */ },
399
- { no: 4, name: "authenticator_attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
400
- { no: 5, name: "resident_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
401
- { no: 6, name: "timeout", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
402
- { no: 7, name: "allowed_transports", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
403
- ]);
62
+ exports.FinishAuthenticationResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 8);
404
63
  /**
405
- * @generated from message scalekit.v1.auth.webauthn.ListCredentialsRequest
64
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnConfiguration.
65
+ * Use `create(WebAuthnConfigurationSchema)` to create a new message.
406
66
  */
407
- class ListCredentialsRequest extends protobuf_1.Message {
408
- constructor(data) {
409
- super();
410
- /**
411
- * @generated from field: string user_id = 1;
412
- */
413
- this.userId = "";
414
- protobuf_1.proto3.util.initPartial(data, this);
415
- }
416
- static fromBinary(bytes, options) {
417
- return new ListCredentialsRequest().fromBinary(bytes, options);
418
- }
419
- static fromJson(jsonValue, options) {
420
- return new ListCredentialsRequest().fromJson(jsonValue, options);
421
- }
422
- static fromJsonString(jsonString, options) {
423
- return new ListCredentialsRequest().fromJsonString(jsonString, options);
424
- }
425
- static equals(a, b) {
426
- return protobuf_1.proto3.util.equals(ListCredentialsRequest, a, b);
427
- }
428
- }
429
- exports.ListCredentialsRequest = ListCredentialsRequest;
430
- ListCredentialsRequest.runtime = protobuf_1.proto3;
431
- ListCredentialsRequest.typeName = "scalekit.v1.auth.webauthn.ListCredentialsRequest";
432
- ListCredentialsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
433
- { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
434
- ]);
67
+ exports.WebAuthnConfigurationSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 9);
435
68
  /**
436
- * @generated from message scalekit.v1.auth.webauthn.ListCredentialsResponse
69
+ * Describes the message scalekit.v1.auth.webauthn.ListCredentialsRequest.
70
+ * Use `create(ListCredentialsRequestSchema)` to create a new message.
437
71
  */
438
- class ListCredentialsResponse extends protobuf_1.Message {
439
- constructor(data) {
440
- super();
441
- /**
442
- * @generated from field: repeated scalekit.v1.auth.webauthn.WebAuthnCredential credentials = 1;
443
- */
444
- this.credentials = [];
445
- protobuf_1.proto3.util.initPartial(data, this);
446
- }
447
- static fromBinary(bytes, options) {
448
- return new ListCredentialsResponse().fromBinary(bytes, options);
449
- }
450
- static fromJson(jsonValue, options) {
451
- return new ListCredentialsResponse().fromJson(jsonValue, options);
452
- }
453
- static fromJsonString(jsonString, options) {
454
- return new ListCredentialsResponse().fromJsonString(jsonString, options);
455
- }
456
- static equals(a, b) {
457
- return protobuf_1.proto3.util.equals(ListCredentialsResponse, a, b);
458
- }
459
- }
460
- exports.ListCredentialsResponse = ListCredentialsResponse;
461
- ListCredentialsResponse.runtime = protobuf_1.proto3;
462
- ListCredentialsResponse.typeName = "scalekit.v1.auth.webauthn.ListCredentialsResponse";
463
- ListCredentialsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
464
- { no: 1, name: "credentials", kind: "message", T: WebAuthnCredential, repeated: true },
465
- { no: 2, name: "all_accepted_credentials_options", kind: "message", T: AllAcceptedCredentialsOptions },
466
- ]);
72
+ exports.ListCredentialsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 10);
467
73
  /**
468
- * @generated from message scalekit.v1.auth.webauthn.DeleteCredentialRequest
74
+ * Describes the message scalekit.v1.auth.webauthn.ListCredentialsResponse.
75
+ * Use `create(ListCredentialsResponseSchema)` to create a new message.
469
76
  */
470
- class DeleteCredentialRequest extends protobuf_1.Message {
471
- constructor(data) {
472
- super();
473
- /**
474
- * @generated from field: string credential_id = 1;
475
- */
476
- this.credentialId = "";
477
- protobuf_1.proto3.util.initPartial(data, this);
478
- }
479
- static fromBinary(bytes, options) {
480
- return new DeleteCredentialRequest().fromBinary(bytes, options);
481
- }
482
- static fromJson(jsonValue, options) {
483
- return new DeleteCredentialRequest().fromJson(jsonValue, options);
484
- }
485
- static fromJsonString(jsonString, options) {
486
- return new DeleteCredentialRequest().fromJsonString(jsonString, options);
487
- }
488
- static equals(a, b) {
489
- return protobuf_1.proto3.util.equals(DeleteCredentialRequest, a, b);
490
- }
491
- }
492
- exports.DeleteCredentialRequest = DeleteCredentialRequest;
493
- DeleteCredentialRequest.runtime = protobuf_1.proto3;
494
- DeleteCredentialRequest.typeName = "scalekit.v1.auth.webauthn.DeleteCredentialRequest";
495
- DeleteCredentialRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
496
- { no: 1, name: "credential_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
497
- ]);
77
+ exports.ListCredentialsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 11);
498
78
  /**
499
- * @generated from message scalekit.v1.auth.webauthn.DeleteCredentialResponse
79
+ * Describes the message scalekit.v1.auth.webauthn.DeleteCredentialRequest.
80
+ * Use `create(DeleteCredentialRequestSchema)` to create a new message.
500
81
  */
501
- class DeleteCredentialResponse extends protobuf_1.Message {
502
- constructor(data) {
503
- super();
504
- /**
505
- * @generated from field: bool success = 1;
506
- */
507
- this.success = false;
508
- protobuf_1.proto3.util.initPartial(data, this);
509
- }
510
- static fromBinary(bytes, options) {
511
- return new DeleteCredentialResponse().fromBinary(bytes, options);
512
- }
513
- static fromJson(jsonValue, options) {
514
- return new DeleteCredentialResponse().fromJson(jsonValue, options);
515
- }
516
- static fromJsonString(jsonString, options) {
517
- return new DeleteCredentialResponse().fromJsonString(jsonString, options);
518
- }
519
- static equals(a, b) {
520
- return protobuf_1.proto3.util.equals(DeleteCredentialResponse, a, b);
521
- }
522
- }
523
- exports.DeleteCredentialResponse = DeleteCredentialResponse;
524
- DeleteCredentialResponse.runtime = protobuf_1.proto3;
525
- DeleteCredentialResponse.typeName = "scalekit.v1.auth.webauthn.DeleteCredentialResponse";
526
- DeleteCredentialResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
527
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
528
- { no: 2, name: "unknown_credential_options", kind: "message", T: UnknownCredentialOptions },
529
- ]);
82
+ exports.DeleteCredentialRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 12);
530
83
  /**
531
- * @generated from message scalekit.v1.auth.webauthn.UnknownCredentialOptions
84
+ * Describes the message scalekit.v1.auth.webauthn.DeleteCredentialResponse.
85
+ * Use `create(DeleteCredentialResponseSchema)` to create a new message.
532
86
  */
533
- class UnknownCredentialOptions extends protobuf_1.Message {
534
- constructor(data) {
535
- super();
536
- /**
537
- * @generated from field: string rp_id = 1;
538
- */
539
- this.rpId = "";
540
- /**
541
- * @generated from field: string credential_id = 2;
542
- */
543
- this.credentialId = "";
544
- protobuf_1.proto3.util.initPartial(data, this);
545
- }
546
- static fromBinary(bytes, options) {
547
- return new UnknownCredentialOptions().fromBinary(bytes, options);
548
- }
549
- static fromJson(jsonValue, options) {
550
- return new UnknownCredentialOptions().fromJson(jsonValue, options);
551
- }
552
- static fromJsonString(jsonString, options) {
553
- return new UnknownCredentialOptions().fromJsonString(jsonString, options);
554
- }
555
- static equals(a, b) {
556
- return protobuf_1.proto3.util.equals(UnknownCredentialOptions, a, b);
557
- }
558
- }
559
- exports.UnknownCredentialOptions = UnknownCredentialOptions;
560
- UnknownCredentialOptions.runtime = protobuf_1.proto3;
561
- UnknownCredentialOptions.typeName = "scalekit.v1.auth.webauthn.UnknownCredentialOptions";
562
- UnknownCredentialOptions.fields = protobuf_1.proto3.util.newFieldList(() => [
563
- { no: 1, name: "rp_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
564
- { no: 2, name: "credential_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
565
- ]);
87
+ exports.DeleteCredentialResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 13);
566
88
  /**
567
- * @generated from message scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions
89
+ * Describes the message scalekit.v1.auth.webauthn.UnknownCredentialOptions.
90
+ * Use `create(UnknownCredentialOptionsSchema)` to create a new message.
568
91
  */
569
- class AllAcceptedCredentialsOptions extends protobuf_1.Message {
570
- constructor(data) {
571
- super();
572
- /**
573
- * @generated from field: string rp_id = 1;
574
- */
575
- this.rpId = "";
576
- /**
577
- * @generated from field: string user_id = 2;
578
- */
579
- this.userId = "";
580
- /**
581
- * @generated from field: repeated string all_accepted_credential_ids = 3;
582
- */
583
- this.allAcceptedCredentialIds = [];
584
- protobuf_1.proto3.util.initPartial(data, this);
585
- }
586
- static fromBinary(bytes, options) {
587
- return new AllAcceptedCredentialsOptions().fromBinary(bytes, options);
588
- }
589
- static fromJson(jsonValue, options) {
590
- return new AllAcceptedCredentialsOptions().fromJson(jsonValue, options);
591
- }
592
- static fromJsonString(jsonString, options) {
593
- return new AllAcceptedCredentialsOptions().fromJsonString(jsonString, options);
594
- }
595
- static equals(a, b) {
596
- return protobuf_1.proto3.util.equals(AllAcceptedCredentialsOptions, a, b);
597
- }
598
- }
599
- exports.AllAcceptedCredentialsOptions = AllAcceptedCredentialsOptions;
600
- AllAcceptedCredentialsOptions.runtime = protobuf_1.proto3;
601
- AllAcceptedCredentialsOptions.typeName = "scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions";
602
- AllAcceptedCredentialsOptions.fields = protobuf_1.proto3.util.newFieldList(() => [
603
- { no: 1, name: "rp_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
604
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
605
- { no: 3, name: "all_accepted_credential_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
606
- ]);
92
+ exports.UnknownCredentialOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 14);
607
93
  /**
608
- * @generated from message scalekit.v1.auth.webauthn.UpdateCredentialRequest
94
+ * Describes the message scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions.
95
+ * Use `create(AllAcceptedCredentialsOptionsSchema)` to create a new message.
609
96
  */
610
- class UpdateCredentialRequest extends protobuf_1.Message {
611
- constructor(data) {
612
- super();
613
- /**
614
- * @generated from field: string credential_id = 1;
615
- */
616
- this.credentialId = "";
617
- /**
618
- * @generated from field: string display_name = 2;
619
- */
620
- this.displayName = "";
621
- protobuf_1.proto3.util.initPartial(data, this);
622
- }
623
- static fromBinary(bytes, options) {
624
- return new UpdateCredentialRequest().fromBinary(bytes, options);
625
- }
626
- static fromJson(jsonValue, options) {
627
- return new UpdateCredentialRequest().fromJson(jsonValue, options);
628
- }
629
- static fromJsonString(jsonString, options) {
630
- return new UpdateCredentialRequest().fromJsonString(jsonString, options);
631
- }
632
- static equals(a, b) {
633
- return protobuf_1.proto3.util.equals(UpdateCredentialRequest, a, b);
634
- }
635
- }
636
- exports.UpdateCredentialRequest = UpdateCredentialRequest;
637
- UpdateCredentialRequest.runtime = protobuf_1.proto3;
638
- UpdateCredentialRequest.typeName = "scalekit.v1.auth.webauthn.UpdateCredentialRequest";
639
- UpdateCredentialRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
640
- { no: 1, name: "credential_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
641
- { no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
642
- ]);
97
+ exports.AllAcceptedCredentialsOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 15);
643
98
  /**
644
- * @generated from message scalekit.v1.auth.webauthn.UpdateCredentialResponse
99
+ * Describes the message scalekit.v1.auth.webauthn.UpdateCredentialRequest.
100
+ * Use `create(UpdateCredentialRequestSchema)` to create a new message.
645
101
  */
646
- class UpdateCredentialResponse extends protobuf_1.Message {
647
- constructor(data) {
648
- super();
649
- protobuf_1.proto3.util.initPartial(data, this);
650
- }
651
- static fromBinary(bytes, options) {
652
- return new UpdateCredentialResponse().fromBinary(bytes, options);
653
- }
654
- static fromJson(jsonValue, options) {
655
- return new UpdateCredentialResponse().fromJson(jsonValue, options);
656
- }
657
- static fromJsonString(jsonString, options) {
658
- return new UpdateCredentialResponse().fromJsonString(jsonString, options);
659
- }
660
- static equals(a, b) {
661
- return protobuf_1.proto3.util.equals(UpdateCredentialResponse, a, b);
662
- }
663
- }
664
- exports.UpdateCredentialResponse = UpdateCredentialResponse;
665
- UpdateCredentialResponse.runtime = protobuf_1.proto3;
666
- UpdateCredentialResponse.typeName = "scalekit.v1.auth.webauthn.UpdateCredentialResponse";
667
- UpdateCredentialResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
668
- { no: 1, name: "credential", kind: "message", T: WebAuthnCredential },
669
- ]);
102
+ exports.UpdateCredentialRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 16);
670
103
  /**
671
- * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential
104
+ * Describes the message scalekit.v1.auth.webauthn.UpdateCredentialResponse.
105
+ * Use `create(UpdateCredentialResponseSchema)` to create a new message.
672
106
  */
673
- class WebAuthnCredential extends protobuf_1.Message {
674
- constructor(data) {
675
- super();
676
- /**
677
- * @generated from field: string id = 1;
678
- */
679
- this.id = "";
680
- /**
681
- * @generated from field: string user_id = 2;
682
- */
683
- this.userId = "";
684
- /**
685
- * @generated from field: bytes credential_id = 3;
686
- */
687
- this.credentialId = new Uint8Array(0);
688
- /**
689
- * @generated from field: string attestation_type = 4;
690
- */
691
- this.attestationType = "";
692
- /**
693
- * @generated from field: repeated string transports = 6;
694
- */
695
- this.transports = [];
696
- protobuf_1.proto3.util.initPartial(data, this);
697
- }
698
- static fromBinary(bytes, options) {
699
- return new WebAuthnCredential().fromBinary(bytes, options);
700
- }
701
- static fromJson(jsonValue, options) {
702
- return new WebAuthnCredential().fromJson(jsonValue, options);
703
- }
704
- static fromJsonString(jsonString, options) {
705
- return new WebAuthnCredential().fromJsonString(jsonString, options);
706
- }
707
- static equals(a, b) {
708
- return protobuf_1.proto3.util.equals(WebAuthnCredential, a, b);
709
- }
710
- }
711
- exports.WebAuthnCredential = WebAuthnCredential;
712
- WebAuthnCredential.runtime = protobuf_1.proto3;
713
- WebAuthnCredential.typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential";
714
- WebAuthnCredential.fields = protobuf_1.proto3.util.newFieldList(() => [
715
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
716
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
717
- { no: 3, name: "credential_id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
718
- { no: 4, name: "attestation_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
719
- { no: 5, name: "authenticator", kind: "message", T: WebAuthnCredential_Authenticator },
720
- { no: 6, name: "transports", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
721
- { no: 7, name: "authenticator_flags", kind: "message", T: WebAuthnCredential_AuthenticatorFlags },
722
- { no: 8, name: "created_at", kind: "message", T: protobuf_1.Timestamp },
723
- { no: 9, name: "updated_at", kind: "message", T: protobuf_1.Timestamp },
724
- { no: 10, name: "user_agent", kind: "message", T: WebAuthnCredential_UserAgent },
725
- { no: 11, name: "client_info", kind: "message", T: WebAuthnCredential_ClientInfo },
726
- { no: 12, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
727
- ]);
107
+ exports.UpdateCredentialResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 17);
728
108
  /**
729
- * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags
109
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.
110
+ * Use `create(WebAuthnCredentialSchema)` to create a new message.
730
111
  */
731
- class WebAuthnCredential_AuthenticatorFlags extends protobuf_1.Message {
732
- constructor(data) {
733
- super();
734
- /**
735
- * @generated from field: bool user_present = 1;
736
- */
737
- this.userPresent = false;
738
- /**
739
- * @generated from field: bool user_verified = 2;
740
- */
741
- this.userVerified = false;
742
- /**
743
- * @generated from field: bool backup_eligible = 3;
744
- */
745
- this.backupEligible = false;
746
- /**
747
- * @generated from field: bool backup_state = 4;
748
- */
749
- this.backupState = false;
750
- protobuf_1.proto3.util.initPartial(data, this);
751
- }
752
- static fromBinary(bytes, options) {
753
- return new WebAuthnCredential_AuthenticatorFlags().fromBinary(bytes, options);
754
- }
755
- static fromJson(jsonValue, options) {
756
- return new WebAuthnCredential_AuthenticatorFlags().fromJson(jsonValue, options);
757
- }
758
- static fromJsonString(jsonString, options) {
759
- return new WebAuthnCredential_AuthenticatorFlags().fromJsonString(jsonString, options);
760
- }
761
- static equals(a, b) {
762
- return protobuf_1.proto3.util.equals(WebAuthnCredential_AuthenticatorFlags, a, b);
763
- }
764
- }
765
- exports.WebAuthnCredential_AuthenticatorFlags = WebAuthnCredential_AuthenticatorFlags;
766
- WebAuthnCredential_AuthenticatorFlags.runtime = protobuf_1.proto3;
767
- WebAuthnCredential_AuthenticatorFlags.typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags";
768
- WebAuthnCredential_AuthenticatorFlags.fields = protobuf_1.proto3.util.newFieldList(() => [
769
- { no: 1, name: "user_present", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
770
- { no: 2, name: "user_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
771
- { no: 3, name: "backup_eligible", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
772
- { no: 4, name: "backup_state", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
773
- ]);
112
+ exports.WebAuthnCredentialSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 18);
774
113
  /**
775
- * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator
114
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags.
115
+ * Use `create(WebAuthnCredential_AuthenticatorFlagsSchema)` to create a new message.
776
116
  */
777
- class WebAuthnCredential_Authenticator extends protobuf_1.Message {
778
- constructor(data) {
779
- super();
780
- /**
781
- * @generated from field: string aaguid = 1;
782
- */
783
- this.aaguid = "";
784
- /**
785
- * @generated from field: string name = 2;
786
- */
787
- this.name = "";
788
- /**
789
- * @generated from field: string attachment = 3;
790
- */
791
- this.attachment = "";
792
- /**
793
- * @generated from field: string icon_dark = 4;
794
- */
795
- this.iconDark = "";
796
- /**
797
- * @generated from field: string icon_light = 5;
798
- */
799
- this.iconLight = "";
800
- protobuf_1.proto3.util.initPartial(data, this);
801
- }
802
- static fromBinary(bytes, options) {
803
- return new WebAuthnCredential_Authenticator().fromBinary(bytes, options);
804
- }
805
- static fromJson(jsonValue, options) {
806
- return new WebAuthnCredential_Authenticator().fromJson(jsonValue, options);
807
- }
808
- static fromJsonString(jsonString, options) {
809
- return new WebAuthnCredential_Authenticator().fromJsonString(jsonString, options);
810
- }
811
- static equals(a, b) {
812
- return protobuf_1.proto3.util.equals(WebAuthnCredential_Authenticator, a, b);
813
- }
814
- }
815
- exports.WebAuthnCredential_Authenticator = WebAuthnCredential_Authenticator;
816
- WebAuthnCredential_Authenticator.runtime = protobuf_1.proto3;
817
- WebAuthnCredential_Authenticator.typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator";
818
- WebAuthnCredential_Authenticator.fields = protobuf_1.proto3.util.newFieldList(() => [
819
- { no: 1, name: "aaguid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
820
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
821
- { no: 3, name: "attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
822
- { no: 4, name: "icon_dark", kind: "scalar", T: 9 /* ScalarType.STRING */ },
823
- { no: 5, name: "icon_light", kind: "scalar", T: 9 /* ScalarType.STRING */ },
824
- ]);
117
+ exports.WebAuthnCredential_AuthenticatorFlagsSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 18, 0);
825
118
  /**
826
- * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.UserAgent
119
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator.
120
+ * Use `create(WebAuthnCredential_AuthenticatorSchema)` to create a new message.
827
121
  */
828
- class WebAuthnCredential_UserAgent extends protobuf_1.Message {
829
- constructor(data) {
830
- super();
831
- /**
832
- * @generated from field: string raw = 1;
833
- */
834
- this.raw = "";
835
- /**
836
- * @generated from field: string url = 2;
837
- */
838
- this.url = "";
839
- /**
840
- * @generated from field: string browser = 3;
841
- */
842
- this.browser = "";
843
- /**
844
- * @generated from field: string browser_version = 4;
845
- */
846
- this.browserVersion = "";
847
- /**
848
- * @generated from field: string os = 5;
849
- */
850
- this.os = "";
851
- /**
852
- * @generated from field: string os_version = 6;
853
- */
854
- this.osVersion = "";
855
- /**
856
- * @generated from field: string device_type = 7;
857
- */
858
- this.deviceType = "";
859
- /**
860
- * @generated from field: string device_model = 8;
861
- */
862
- this.deviceModel = "";
863
- protobuf_1.proto3.util.initPartial(data, this);
864
- }
865
- static fromBinary(bytes, options) {
866
- return new WebAuthnCredential_UserAgent().fromBinary(bytes, options);
867
- }
868
- static fromJson(jsonValue, options) {
869
- return new WebAuthnCredential_UserAgent().fromJson(jsonValue, options);
870
- }
871
- static fromJsonString(jsonString, options) {
872
- return new WebAuthnCredential_UserAgent().fromJsonString(jsonString, options);
873
- }
874
- static equals(a, b) {
875
- return protobuf_1.proto3.util.equals(WebAuthnCredential_UserAgent, a, b);
876
- }
877
- }
878
- exports.WebAuthnCredential_UserAgent = WebAuthnCredential_UserAgent;
879
- WebAuthnCredential_UserAgent.runtime = protobuf_1.proto3;
880
- WebAuthnCredential_UserAgent.typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.UserAgent";
881
- WebAuthnCredential_UserAgent.fields = protobuf_1.proto3.util.newFieldList(() => [
882
- { no: 1, name: "raw", kind: "scalar", T: 9 /* ScalarType.STRING */ },
883
- { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
884
- { no: 3, name: "browser", kind: "scalar", T: 9 /* ScalarType.STRING */ },
885
- { no: 4, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
886
- { no: 5, name: "os", kind: "scalar", T: 9 /* ScalarType.STRING */ },
887
- { no: 6, name: "os_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
888
- { no: 7, name: "device_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
889
- { no: 8, name: "device_model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
890
- ]);
122
+ exports.WebAuthnCredential_AuthenticatorSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 18, 1);
891
123
  /**
892
- * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.ClientInfo
124
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.UserAgent.
125
+ * Use `create(WebAuthnCredential_UserAgentSchema)` to create a new message.
893
126
  */
894
- class WebAuthnCredential_ClientInfo extends protobuf_1.Message {
895
- constructor(data) {
896
- super();
897
- /**
898
- * @generated from field: string ip = 1;
899
- */
900
- this.ip = "";
901
- /**
902
- * @generated from field: string region = 2;
903
- */
904
- this.region = "";
905
- /**
906
- * @generated from field: string region_subdivision = 3;
907
- */
908
- this.regionSubdivision = "";
909
- /**
910
- * @generated from field: string city = 4;
911
- */
912
- this.city = "";
913
- protobuf_1.proto3.util.initPartial(data, this);
914
- }
915
- static fromBinary(bytes, options) {
916
- return new WebAuthnCredential_ClientInfo().fromBinary(bytes, options);
917
- }
918
- static fromJson(jsonValue, options) {
919
- return new WebAuthnCredential_ClientInfo().fromJson(jsonValue, options);
920
- }
921
- static fromJsonString(jsonString, options) {
922
- return new WebAuthnCredential_ClientInfo().fromJsonString(jsonString, options);
923
- }
924
- static equals(a, b) {
925
- return protobuf_1.proto3.util.equals(WebAuthnCredential_ClientInfo, a, b);
926
- }
927
- }
928
- exports.WebAuthnCredential_ClientInfo = WebAuthnCredential_ClientInfo;
929
- WebAuthnCredential_ClientInfo.runtime = protobuf_1.proto3;
930
- WebAuthnCredential_ClientInfo.typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.ClientInfo";
931
- WebAuthnCredential_ClientInfo.fields = protobuf_1.proto3.util.newFieldList(() => [
932
- { no: 1, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
933
- { no: 2, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
934
- { no: 3, name: "region_subdivision", kind: "scalar", T: 9 /* ScalarType.STRING */ },
935
- { no: 4, name: "city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
936
- ]);
127
+ exports.WebAuthnCredential_UserAgentSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 18, 2);
937
128
  /**
938
- * @generated from message scalekit.v1.auth.webauthn.GetRelatedOriginsRequest
129
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.ClientInfo.
130
+ * Use `create(WebAuthnCredential_ClientInfoSchema)` to create a new message.
939
131
  */
940
- class GetRelatedOriginsRequest extends protobuf_1.Message {
941
- constructor(data) {
942
- super();
943
- protobuf_1.proto3.util.initPartial(data, this);
944
- }
945
- static fromBinary(bytes, options) {
946
- return new GetRelatedOriginsRequest().fromBinary(bytes, options);
947
- }
948
- static fromJson(jsonValue, options) {
949
- return new GetRelatedOriginsRequest().fromJson(jsonValue, options);
950
- }
951
- static fromJsonString(jsonString, options) {
952
- return new GetRelatedOriginsRequest().fromJsonString(jsonString, options);
953
- }
954
- static equals(a, b) {
955
- return protobuf_1.proto3.util.equals(GetRelatedOriginsRequest, a, b);
956
- }
957
- }
958
- exports.GetRelatedOriginsRequest = GetRelatedOriginsRequest;
959
- GetRelatedOriginsRequest.runtime = protobuf_1.proto3;
960
- GetRelatedOriginsRequest.typeName = "scalekit.v1.auth.webauthn.GetRelatedOriginsRequest";
961
- GetRelatedOriginsRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
132
+ exports.WebAuthnCredential_ClientInfoSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 18, 3);
962
133
  /**
963
- * @generated from message scalekit.v1.auth.webauthn.GetRelatedOriginsResponse
134
+ * Describes the message scalekit.v1.auth.webauthn.GetRelatedOriginsRequest.
135
+ * Use `create(GetRelatedOriginsRequestSchema)` to create a new message.
964
136
  */
965
- class GetRelatedOriginsResponse extends protobuf_1.Message {
966
- constructor(data) {
967
- super();
968
- /**
969
- * @generated from field: repeated string origins = 1;
970
- */
971
- this.origins = [];
972
- protobuf_1.proto3.util.initPartial(data, this);
973
- }
974
- static fromBinary(bytes, options) {
975
- return new GetRelatedOriginsResponse().fromBinary(bytes, options);
976
- }
977
- static fromJson(jsonValue, options) {
978
- return new GetRelatedOriginsResponse().fromJson(jsonValue, options);
979
- }
980
- static fromJsonString(jsonString, options) {
981
- return new GetRelatedOriginsResponse().fromJsonString(jsonString, options);
982
- }
983
- static equals(a, b) {
984
- return protobuf_1.proto3.util.equals(GetRelatedOriginsResponse, a, b);
985
- }
986
- }
987
- exports.GetRelatedOriginsResponse = GetRelatedOriginsResponse;
988
- GetRelatedOriginsResponse.runtime = protobuf_1.proto3;
989
- GetRelatedOriginsResponse.typeName = "scalekit.v1.auth.webauthn.GetRelatedOriginsResponse";
990
- GetRelatedOriginsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
991
- { no: 1, name: "origins", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
992
- ]);
137
+ exports.GetRelatedOriginsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 19);
138
+ /**
139
+ * Describes the message scalekit.v1.auth.webauthn.GetRelatedOriginsResponse.
140
+ * Use `create(GetRelatedOriginsResponseSchema)` to create a new message.
141
+ */
142
+ exports.GetRelatedOriginsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_scalekit_v1_auth_webauthn, 20);
143
+ /**
144
+ * @generated from service scalekit.v1.auth.webauthn.WebAuthnService
145
+ */
146
+ exports.WebAuthnService = (0, codegenv2_1.serviceDesc)(exports.file_scalekit_v1_auth_webauthn, 0);
993
147
  //# sourceMappingURL=webauthn_pb.js.map