@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,292 +1,180 @@
1
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
2
  // @generated from file scalekit/v1/auth/webauthn.proto (package scalekit.v1.auth.webauthn, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, protoInt64, Struct, Timestamp } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
8
+ import { file_google_api_annotations } from "../../../google/api/annotations_pb";
9
+ import { file_google_api_visibility } from "../../../google/api/visibility_pb";
10
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
11
+ import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
12
+ import { file_protoc_gen_openapiv2_options_annotations } from "../../../protoc-gen-openapiv2/options/annotations_pb";
13
+ import { file_scalekit_v1_options_options } from "../options/options_pb";
14
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
15
+
16
+ /**
17
+ * Describes the file scalekit/v1/auth/webauthn.proto.
18
+ */
19
+ export const file_scalekit_v1_auth_webauthn: GenFile = /*@__PURE__*/
20
+ fileDesc("Ch9zY2FsZWtpdC92MS9hdXRoL3dlYmF1dGhuLnByb3RvEhlzY2FsZWtpdC52MS5hdXRoLndlYmF1dGhuIhoKGEJlZ2luUmVnaXN0cmF0aW9uUmVxdWVzdCKbAQoZQmVnaW5SZWdpc3RyYXRpb25SZ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aWdpbiBwYXNza2V5IGF1dGhlbnRpY2F0aW9uLiBTZXJ2ZXMgdGhlIHN0YW5kYXJkIC53ZWxsLWtub3duL3dlYmF1dGhuIGVuZHBvaW50LkplCgMyMDASXgoiTGlzdCBvZiBjb25maWd1cmVkIHJlbGF0ZWQgb3JpZ2lucxI4CjYaNC5zY2FsZWtpdC52MS5hdXRoLndlYmF1dGhuLkdldFJlbGF0ZWRPcmlnaW5zUmVzcG9uc2WCtRgCGAH60uSTAgkSB1BSRVZJRVeC0+STAhcSFS8ud2VsbC1rbm93bi93ZWJhdXRobhpZkkFWCghQYXNza2V5cxJKRW5kcG9pbnRzIGZvciBwYXNza2V5LWJhc2VkIGF1dGhlbnRpY2F0aW9uIHVzaW5nIFdlYkF1dGhuL0ZJRE8yIHN0YW5kYXJkcy5COVo3Z2l0aHViLmNvbS9zY2FsZWtpdC1pbmMvc2NhbGVraXQvcGtnL2dycGMvYXV0aC93ZWJhdXRobmIGcHJvdG8z", [file_buf_validate_validate, file_google_api_annotations, file_google_api_visibility, file_google_protobuf_struct, file_google_protobuf_timestamp, file_protoc_gen_openapiv2_options_annotations, file_scalekit_v1_options_options]);
8
21
 
9
22
  /**
10
23
  * @generated from message scalekit.v1.auth.webauthn.BeginRegistrationRequest
11
24
  */
12
- export class BeginRegistrationRequest extends Message<BeginRegistrationRequest> {
13
- constructor(data?: PartialMessage<BeginRegistrationRequest>) {
14
- super();
15
- proto3.util.initPartial(data, this);
16
- }
17
-
18
- static readonly runtime: typeof proto3 = proto3;
19
- static readonly typeName = "scalekit.v1.auth.webauthn.BeginRegistrationRequest";
20
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
21
- ]);
22
-
23
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BeginRegistrationRequest {
24
- return new BeginRegistrationRequest().fromBinary(bytes, options);
25
- }
26
-
27
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BeginRegistrationRequest {
28
- return new BeginRegistrationRequest().fromJson(jsonValue, options);
29
- }
30
-
31
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BeginRegistrationRequest {
32
- return new BeginRegistrationRequest().fromJsonString(jsonString, options);
33
- }
34
-
35
- static equals(a: BeginRegistrationRequest | PlainMessage<BeginRegistrationRequest> | undefined, b: BeginRegistrationRequest | PlainMessage<BeginRegistrationRequest> | undefined): boolean {
36
- return proto3.util.equals(BeginRegistrationRequest, a, b);
37
- }
38
- }
25
+ export type BeginRegistrationRequest = Message<"scalekit.v1.auth.webauthn.BeginRegistrationRequest"> & {
26
+ };
27
+
28
+ /**
29
+ * Describes the message scalekit.v1.auth.webauthn.BeginRegistrationRequest.
30
+ * Use `create(BeginRegistrationRequestSchema)` to create a new message.
31
+ */
32
+ export const BeginRegistrationRequestSchema: GenMessage<BeginRegistrationRequest> = /*@__PURE__*/
33
+ messageDesc(file_scalekit_v1_auth_webauthn, 0);
39
34
 
40
35
  /**
41
36
  * @generated from message scalekit.v1.auth.webauthn.BeginRegistrationResponse
42
37
  */
43
- export class BeginRegistrationResponse extends Message<BeginRegistrationResponse> {
38
+ export type BeginRegistrationResponse = Message<"scalekit.v1.auth.webauthn.BeginRegistrationResponse"> & {
44
39
  /**
45
40
  * @generated from field: google.protobuf.Struct options = 1;
46
41
  */
47
- options?: Struct;
48
-
49
- constructor(data?: PartialMessage<BeginRegistrationResponse>) {
50
- super();
51
- proto3.util.initPartial(data, this);
52
- }
53
-
54
- static readonly runtime: typeof proto3 = proto3;
55
- static readonly typeName = "scalekit.v1.auth.webauthn.BeginRegistrationResponse";
56
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
57
- { no: 1, name: "options", kind: "message", T: Struct },
58
- ]);
59
-
60
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BeginRegistrationResponse {
61
- return new BeginRegistrationResponse().fromBinary(bytes, options);
62
- }
63
-
64
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BeginRegistrationResponse {
65
- return new BeginRegistrationResponse().fromJson(jsonValue, options);
66
- }
67
-
68
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BeginRegistrationResponse {
69
- return new BeginRegistrationResponse().fromJsonString(jsonString, options);
70
- }
42
+ options?: JsonObject;
43
+ };
71
44
 
72
- static equals(a: BeginRegistrationResponse | PlainMessage<BeginRegistrationResponse> | undefined, b: BeginRegistrationResponse | PlainMessage<BeginRegistrationResponse> | undefined): boolean {
73
- return proto3.util.equals(BeginRegistrationResponse, a, b);
74
- }
75
- }
45
+ /**
46
+ * Describes the message scalekit.v1.auth.webauthn.BeginRegistrationResponse.
47
+ * Use `create(BeginRegistrationResponseSchema)` to create a new message.
48
+ */
49
+ export const BeginRegistrationResponseSchema: GenMessage<BeginRegistrationResponse> = /*@__PURE__*/
50
+ messageDesc(file_scalekit_v1_auth_webauthn, 1);
76
51
 
77
52
  /**
78
53
  * @generated from message scalekit.v1.auth.webauthn.FinishRegistrationRequest
79
54
  */
80
- export class FinishRegistrationRequest extends Message<FinishRegistrationRequest> {
55
+ export type FinishRegistrationRequest = Message<"scalekit.v1.auth.webauthn.FinishRegistrationRequest"> & {
81
56
  /**
82
57
  * @generated from field: bytes credential_id = 1;
83
58
  */
84
- credentialId = new Uint8Array(0);
59
+ credentialId: Uint8Array;
85
60
 
86
61
  /**
87
62
  * @generated from field: bytes attestation_object = 2;
88
63
  */
89
- attestationObject = new Uint8Array(0);
64
+ attestationObject: Uint8Array;
90
65
 
91
66
  /**
92
67
  * @generated from field: bytes client_data_json = 3;
93
68
  */
94
- clientDataJson = new Uint8Array(0);
69
+ clientDataJson: Uint8Array;
95
70
 
96
71
  /**
97
72
  * @generated from field: string type = 4;
98
73
  */
99
- type = "";
74
+ type: string;
100
75
 
101
76
  /**
102
77
  * @generated from field: repeated string transports = 5;
103
78
  */
104
- transports: string[] = [];
79
+ transports: string[];
105
80
 
106
81
  /**
107
82
  * @generated from field: string authenticator_attachment = 6;
108
83
  */
109
- authenticatorAttachment = "";
84
+ authenticatorAttachment: string;
110
85
 
111
86
  /**
112
87
  * @generated from field: google.protobuf.Struct client_extension_results = 7;
113
88
  */
114
- clientExtensionResults?: Struct;
115
-
116
- constructor(data?: PartialMessage<FinishRegistrationRequest>) {
117
- super();
118
- proto3.util.initPartial(data, this);
119
- }
120
-
121
- static readonly runtime: typeof proto3 = proto3;
122
- static readonly typeName = "scalekit.v1.auth.webauthn.FinishRegistrationRequest";
123
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
124
- { no: 1, name: "credential_id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
125
- { no: 2, name: "attestation_object", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
126
- { no: 3, name: "client_data_json", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
127
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
- { no: 5, name: "transports", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
129
- { no: 6, name: "authenticator_attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
- { no: 7, name: "client_extension_results", kind: "message", T: Struct },
131
- ]);
132
-
133
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FinishRegistrationRequest {
134
- return new FinishRegistrationRequest().fromBinary(bytes, options);
135
- }
136
-
137
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FinishRegistrationRequest {
138
- return new FinishRegistrationRequest().fromJson(jsonValue, options);
139
- }
140
-
141
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FinishRegistrationRequest {
142
- return new FinishRegistrationRequest().fromJsonString(jsonString, options);
143
- }
144
-
145
- static equals(a: FinishRegistrationRequest | PlainMessage<FinishRegistrationRequest> | undefined, b: FinishRegistrationRequest | PlainMessage<FinishRegistrationRequest> | undefined): boolean {
146
- return proto3.util.equals(FinishRegistrationRequest, a, b);
147
- }
148
- }
89
+ clientExtensionResults?: JsonObject;
90
+ };
91
+
92
+ /**
93
+ * Describes the message scalekit.v1.auth.webauthn.FinishRegistrationRequest.
94
+ * Use `create(FinishRegistrationRequestSchema)` to create a new message.
95
+ */
96
+ export const FinishRegistrationRequestSchema: GenMessage<FinishRegistrationRequest> = /*@__PURE__*/
97
+ messageDesc(file_scalekit_v1_auth_webauthn, 2);
149
98
 
150
99
  /**
151
100
  * @generated from message scalekit.v1.auth.webauthn.FinishRegistrationResponse
152
101
  */
153
- export class FinishRegistrationResponse extends Message<FinishRegistrationResponse> {
102
+ export type FinishRegistrationResponse = Message<"scalekit.v1.auth.webauthn.FinishRegistrationResponse"> & {
154
103
  /**
155
104
  * @generated from field: bool success = 1;
156
105
  */
157
- success = false;
158
-
159
- constructor(data?: PartialMessage<FinishRegistrationResponse>) {
160
- super();
161
- proto3.util.initPartial(data, this);
162
- }
163
-
164
- static readonly runtime: typeof proto3 = proto3;
165
- static readonly typeName = "scalekit.v1.auth.webauthn.FinishRegistrationResponse";
166
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
167
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
168
- ]);
169
-
170
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FinishRegistrationResponse {
171
- return new FinishRegistrationResponse().fromBinary(bytes, options);
172
- }
173
-
174
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FinishRegistrationResponse {
175
- return new FinishRegistrationResponse().fromJson(jsonValue, options);
176
- }
177
-
178
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FinishRegistrationResponse {
179
- return new FinishRegistrationResponse().fromJsonString(jsonString, options);
180
- }
106
+ success: boolean;
107
+ };
181
108
 
182
- static equals(a: FinishRegistrationResponse | PlainMessage<FinishRegistrationResponse> | undefined, b: FinishRegistrationResponse | PlainMessage<FinishRegistrationResponse> | undefined): boolean {
183
- return proto3.util.equals(FinishRegistrationResponse, a, b);
184
- }
185
- }
109
+ /**
110
+ * Describes the message scalekit.v1.auth.webauthn.FinishRegistrationResponse.
111
+ * Use `create(FinishRegistrationResponseSchema)` to create a new message.
112
+ */
113
+ export const FinishRegistrationResponseSchema: GenMessage<FinishRegistrationResponse> = /*@__PURE__*/
114
+ messageDesc(file_scalekit_v1_auth_webauthn, 3);
186
115
 
187
116
  /**
188
117
  * @generated from message scalekit.v1.auth.webauthn.BeginAuthenticationRequest
189
118
  */
190
- export class BeginAuthenticationRequest extends Message<BeginAuthenticationRequest> {
119
+ export type BeginAuthenticationRequest = Message<"scalekit.v1.auth.webauthn.BeginAuthenticationRequest"> & {
191
120
  /**
192
121
  * @generated from field: optional string email = 1;
193
122
  */
194
123
  email?: string;
124
+ };
195
125
 
196
- constructor(data?: PartialMessage<BeginAuthenticationRequest>) {
197
- super();
198
- proto3.util.initPartial(data, this);
199
- }
200
-
201
- static readonly runtime: typeof proto3 = proto3;
202
- static readonly typeName = "scalekit.v1.auth.webauthn.BeginAuthenticationRequest";
203
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
204
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
205
- ]);
206
-
207
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BeginAuthenticationRequest {
208
- return new BeginAuthenticationRequest().fromBinary(bytes, options);
209
- }
210
-
211
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BeginAuthenticationRequest {
212
- return new BeginAuthenticationRequest().fromJson(jsonValue, options);
213
- }
214
-
215
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BeginAuthenticationRequest {
216
- return new BeginAuthenticationRequest().fromJsonString(jsonString, options);
217
- }
218
-
219
- static equals(a: BeginAuthenticationRequest | PlainMessage<BeginAuthenticationRequest> | undefined, b: BeginAuthenticationRequest | PlainMessage<BeginAuthenticationRequest> | undefined): boolean {
220
- return proto3.util.equals(BeginAuthenticationRequest, a, b);
221
- }
222
- }
126
+ /**
127
+ * Describes the message scalekit.v1.auth.webauthn.BeginAuthenticationRequest.
128
+ * Use `create(BeginAuthenticationRequestSchema)` to create a new message.
129
+ */
130
+ export const BeginAuthenticationRequestSchema: GenMessage<BeginAuthenticationRequest> = /*@__PURE__*/
131
+ messageDesc(file_scalekit_v1_auth_webauthn, 4);
223
132
 
224
133
  /**
225
134
  * @generated from message scalekit.v1.auth.webauthn.BeginAuthenticationResponse
226
135
  */
227
- export class BeginAuthenticationResponse extends Message<BeginAuthenticationResponse> {
136
+ export type BeginAuthenticationResponse = Message<"scalekit.v1.auth.webauthn.BeginAuthenticationResponse"> & {
228
137
  /**
229
138
  * @generated from field: string session_id = 1;
230
139
  */
231
- sessionId = "";
140
+ sessionId: string;
232
141
 
233
142
  /**
234
143
  * @generated from field: google.protobuf.Struct options = 2;
235
144
  */
236
- options?: Struct;
237
-
238
- constructor(data?: PartialMessage<BeginAuthenticationResponse>) {
239
- super();
240
- proto3.util.initPartial(data, this);
241
- }
242
-
243
- static readonly runtime: typeof proto3 = proto3;
244
- static readonly typeName = "scalekit.v1.auth.webauthn.BeginAuthenticationResponse";
245
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
246
- { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
247
- { no: 2, name: "options", kind: "message", T: Struct },
248
- ]);
145
+ options?: JsonObject;
146
+ };
249
147
 
250
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BeginAuthenticationResponse {
251
- return new BeginAuthenticationResponse().fromBinary(bytes, options);
252
- }
253
-
254
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BeginAuthenticationResponse {
255
- return new BeginAuthenticationResponse().fromJson(jsonValue, options);
256
- }
257
-
258
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BeginAuthenticationResponse {
259
- return new BeginAuthenticationResponse().fromJsonString(jsonString, options);
260
- }
261
-
262
- static equals(a: BeginAuthenticationResponse | PlainMessage<BeginAuthenticationResponse> | undefined, b: BeginAuthenticationResponse | PlainMessage<BeginAuthenticationResponse> | undefined): boolean {
263
- return proto3.util.equals(BeginAuthenticationResponse, a, b);
264
- }
265
- }
148
+ /**
149
+ * Describes the message scalekit.v1.auth.webauthn.BeginAuthenticationResponse.
150
+ * Use `create(BeginAuthenticationResponseSchema)` to create a new message.
151
+ */
152
+ export const BeginAuthenticationResponseSchema: GenMessage<BeginAuthenticationResponse> = /*@__PURE__*/
153
+ messageDesc(file_scalekit_v1_auth_webauthn, 5);
266
154
 
267
155
  /**
268
156
  * @generated from message scalekit.v1.auth.webauthn.FinishAuthenticationRequest
269
157
  */
270
- export class FinishAuthenticationRequest extends Message<FinishAuthenticationRequest> {
158
+ export type FinishAuthenticationRequest = Message<"scalekit.v1.auth.webauthn.FinishAuthenticationRequest"> & {
271
159
  /**
272
160
  * @generated from field: string session_id = 1;
273
161
  */
274
- sessionId = "";
162
+ sessionId: string;
275
163
 
276
164
  /**
277
165
  * @generated from field: bytes credential_id = 2;
278
166
  */
279
- credentialId = new Uint8Array(0);
167
+ credentialId: Uint8Array;
280
168
 
281
169
  /**
282
170
  * @generated from field: google.protobuf.Struct client_extension_results = 3;
283
171
  */
284
- clientExtensionResults?: Struct;
172
+ clientExtensionResults?: JsonObject;
285
173
 
286
174
  /**
287
175
  * @generated from field: string type = 4;
288
176
  */
289
- type = "";
177
+ type: string;
290
178
 
291
179
  /**
292
180
  * @generated from field: scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse response = 5;
@@ -296,573 +184,311 @@ export class FinishAuthenticationRequest extends Message<FinishAuthenticationReq
296
184
  /**
297
185
  * @generated from field: string authenticator_attachment = 6;
298
186
  */
299
- authenticatorAttachment = "";
300
-
301
- constructor(data?: PartialMessage<FinishAuthenticationRequest>) {
302
- super();
303
- proto3.util.initPartial(data, this);
304
- }
305
-
306
- static readonly runtime: typeof proto3 = proto3;
307
- static readonly typeName = "scalekit.v1.auth.webauthn.FinishAuthenticationRequest";
308
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
309
- { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
310
- { no: 2, name: "credential_id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
311
- { no: 3, name: "client_extension_results", kind: "message", T: Struct },
312
- { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
313
- { no: 5, name: "response", kind: "message", T: AuthenticatorAssertionResponse },
314
- { no: 6, name: "authenticator_attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
315
- ]);
316
-
317
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FinishAuthenticationRequest {
318
- return new FinishAuthenticationRequest().fromBinary(bytes, options);
319
- }
320
-
321
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FinishAuthenticationRequest {
322
- return new FinishAuthenticationRequest().fromJson(jsonValue, options);
323
- }
324
-
325
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FinishAuthenticationRequest {
326
- return new FinishAuthenticationRequest().fromJsonString(jsonString, options);
327
- }
328
-
329
- static equals(a: FinishAuthenticationRequest | PlainMessage<FinishAuthenticationRequest> | undefined, b: FinishAuthenticationRequest | PlainMessage<FinishAuthenticationRequest> | undefined): boolean {
330
- return proto3.util.equals(FinishAuthenticationRequest, a, b);
331
- }
332
- }
187
+ authenticatorAttachment: string;
188
+ };
189
+
190
+ /**
191
+ * Describes the message scalekit.v1.auth.webauthn.FinishAuthenticationRequest.
192
+ * Use `create(FinishAuthenticationRequestSchema)` to create a new message.
193
+ */
194
+ export const FinishAuthenticationRequestSchema: GenMessage<FinishAuthenticationRequest> = /*@__PURE__*/
195
+ messageDesc(file_scalekit_v1_auth_webauthn, 6);
333
196
 
334
197
  /**
335
198
  * @generated from message scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse
336
199
  */
337
- export class AuthenticatorAssertionResponse extends Message<AuthenticatorAssertionResponse> {
200
+ export type AuthenticatorAssertionResponse = Message<"scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse"> & {
338
201
  /**
339
202
  * @generated from field: bytes authenticator_data = 1;
340
203
  */
341
- authenticatorData = new Uint8Array(0);
204
+ authenticatorData: Uint8Array;
342
205
 
343
206
  /**
344
207
  * @generated from field: bytes client_data_json = 2;
345
208
  */
346
- clientDataJson = new Uint8Array(0);
209
+ clientDataJson: Uint8Array;
347
210
 
348
211
  /**
349
212
  * @generated from field: bytes signature = 3;
350
213
  */
351
- signature = new Uint8Array(0);
214
+ signature: Uint8Array;
352
215
 
353
216
  /**
354
217
  * @generated from field: bytes user_handle = 4;
355
218
  */
356
- userHandle = new Uint8Array(0);
357
-
358
- constructor(data?: PartialMessage<AuthenticatorAssertionResponse>) {
359
- super();
360
- proto3.util.initPartial(data, this);
361
- }
362
-
363
- static readonly runtime: typeof proto3 = proto3;
364
- static readonly typeName = "scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse";
365
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
366
- { no: 1, name: "authenticator_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
367
- { no: 2, name: "client_data_json", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
368
- { no: 3, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
369
- { no: 4, name: "user_handle", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
370
- ]);
219
+ userHandle: Uint8Array;
220
+ };
371
221
 
372
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthenticatorAssertionResponse {
373
- return new AuthenticatorAssertionResponse().fromBinary(bytes, options);
374
- }
375
-
376
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthenticatorAssertionResponse {
377
- return new AuthenticatorAssertionResponse().fromJson(jsonValue, options);
378
- }
379
-
380
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthenticatorAssertionResponse {
381
- return new AuthenticatorAssertionResponse().fromJsonString(jsonString, options);
382
- }
383
-
384
- static equals(a: AuthenticatorAssertionResponse | PlainMessage<AuthenticatorAssertionResponse> | undefined, b: AuthenticatorAssertionResponse | PlainMessage<AuthenticatorAssertionResponse> | undefined): boolean {
385
- return proto3.util.equals(AuthenticatorAssertionResponse, a, b);
386
- }
387
- }
222
+ /**
223
+ * Describes the message scalekit.v1.auth.webauthn.AuthenticatorAssertionResponse.
224
+ * Use `create(AuthenticatorAssertionResponseSchema)` to create a new message.
225
+ */
226
+ export const AuthenticatorAssertionResponseSchema: GenMessage<AuthenticatorAssertionResponse> = /*@__PURE__*/
227
+ messageDesc(file_scalekit_v1_auth_webauthn, 7);
388
228
 
389
229
  /**
390
230
  * @generated from message scalekit.v1.auth.webauthn.FinishAuthenticationResponse
391
231
  */
392
- export class FinishAuthenticationResponse extends Message<FinishAuthenticationResponse> {
232
+ export type FinishAuthenticationResponse = Message<"scalekit.v1.auth.webauthn.FinishAuthenticationResponse"> & {
393
233
  /**
394
234
  * @generated from field: bool success = 1;
395
235
  */
396
- success = false;
236
+ success: boolean;
397
237
 
398
238
  /**
399
239
  * @generated from field: string user_id = 2;
400
240
  */
401
- userId = "";
241
+ userId: string;
402
242
 
403
243
  /**
404
244
  * @generated from field: string session_token = 3;
405
245
  */
406
- sessionToken = "";
407
-
408
- constructor(data?: PartialMessage<FinishAuthenticationResponse>) {
409
- super();
410
- proto3.util.initPartial(data, this);
411
- }
246
+ sessionToken: string;
247
+ };
412
248
 
413
- static readonly runtime: typeof proto3 = proto3;
414
- static readonly typeName = "scalekit.v1.auth.webauthn.FinishAuthenticationResponse";
415
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
416
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
417
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
418
- { no: 3, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
419
- ]);
420
-
421
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FinishAuthenticationResponse {
422
- return new FinishAuthenticationResponse().fromBinary(bytes, options);
423
- }
424
-
425
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FinishAuthenticationResponse {
426
- return new FinishAuthenticationResponse().fromJson(jsonValue, options);
427
- }
428
-
429
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FinishAuthenticationResponse {
430
- return new FinishAuthenticationResponse().fromJsonString(jsonString, options);
431
- }
432
-
433
- static equals(a: FinishAuthenticationResponse | PlainMessage<FinishAuthenticationResponse> | undefined, b: FinishAuthenticationResponse | PlainMessage<FinishAuthenticationResponse> | undefined): boolean {
434
- return proto3.util.equals(FinishAuthenticationResponse, a, b);
435
- }
436
- }
249
+ /**
250
+ * Describes the message scalekit.v1.auth.webauthn.FinishAuthenticationResponse.
251
+ * Use `create(FinishAuthenticationResponseSchema)` to create a new message.
252
+ */
253
+ export const FinishAuthenticationResponseSchema: GenMessage<FinishAuthenticationResponse> = /*@__PURE__*/
254
+ messageDesc(file_scalekit_v1_auth_webauthn, 8);
437
255
 
438
256
  /**
439
257
  * @generated from message scalekit.v1.auth.webauthn.WebAuthnConfiguration
440
258
  */
441
- export class WebAuthnConfiguration extends Message<WebAuthnConfiguration> {
259
+ export type WebAuthnConfiguration = Message<"scalekit.v1.auth.webauthn.WebAuthnConfiguration"> & {
442
260
  /**
443
261
  * @generated from field: string rp_id = 1;
444
262
  */
445
- rpId = "";
263
+ rpId: string;
446
264
 
447
265
  /**
448
266
  * @generated from field: string rp_origin = 2;
449
267
  */
450
- rpOrigin = "";
268
+ rpOrigin: string;
451
269
 
452
270
  /**
453
271
  * @generated from field: string user_verification = 3;
454
272
  */
455
- userVerification = "";
273
+ userVerification: string;
456
274
 
457
275
  /**
458
276
  * @generated from field: string authenticator_attachment = 4;
459
277
  */
460
- authenticatorAttachment = "";
278
+ authenticatorAttachment: string;
461
279
 
462
280
  /**
463
281
  * @generated from field: string resident_key = 5;
464
282
  */
465
- residentKey = "";
283
+ residentKey: string;
466
284
 
467
285
  /**
468
286
  * @generated from field: int64 timeout = 6;
469
287
  */
470
- timeout = protoInt64.zero;
288
+ timeout: bigint;
471
289
 
472
290
  /**
473
291
  * @generated from field: repeated string allowed_transports = 7;
474
292
  */
475
- allowedTransports: string[] = [];
476
-
477
- constructor(data?: PartialMessage<WebAuthnConfiguration>) {
478
- super();
479
- proto3.util.initPartial(data, this);
480
- }
481
-
482
- static readonly runtime: typeof proto3 = proto3;
483
- static readonly typeName = "scalekit.v1.auth.webauthn.WebAuthnConfiguration";
484
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
485
- { no: 1, name: "rp_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
486
- { no: 2, name: "rp_origin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
487
- { no: 3, name: "user_verification", kind: "scalar", T: 9 /* ScalarType.STRING */ },
488
- { no: 4, name: "authenticator_attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
489
- { no: 5, name: "resident_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
490
- { no: 6, name: "timeout", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
491
- { no: 7, name: "allowed_transports", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
492
- ]);
493
-
494
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthnConfiguration {
495
- return new WebAuthnConfiguration().fromBinary(bytes, options);
496
- }
497
-
498
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthnConfiguration {
499
- return new WebAuthnConfiguration().fromJson(jsonValue, options);
500
- }
501
-
502
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthnConfiguration {
503
- return new WebAuthnConfiguration().fromJsonString(jsonString, options);
504
- }
505
-
506
- static equals(a: WebAuthnConfiguration | PlainMessage<WebAuthnConfiguration> | undefined, b: WebAuthnConfiguration | PlainMessage<WebAuthnConfiguration> | undefined): boolean {
507
- return proto3.util.equals(WebAuthnConfiguration, a, b);
508
- }
509
- }
293
+ allowedTransports: string[];
294
+ };
295
+
296
+ /**
297
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnConfiguration.
298
+ * Use `create(WebAuthnConfigurationSchema)` to create a new message.
299
+ */
300
+ export const WebAuthnConfigurationSchema: GenMessage<WebAuthnConfiguration> = /*@__PURE__*/
301
+ messageDesc(file_scalekit_v1_auth_webauthn, 9);
510
302
 
511
303
  /**
512
304
  * @generated from message scalekit.v1.auth.webauthn.ListCredentialsRequest
513
305
  */
514
- export class ListCredentialsRequest extends Message<ListCredentialsRequest> {
306
+ export type ListCredentialsRequest = Message<"scalekit.v1.auth.webauthn.ListCredentialsRequest"> & {
515
307
  /**
516
308
  * @generated from field: string user_id = 1;
517
309
  */
518
- userId = "";
519
-
520
- constructor(data?: PartialMessage<ListCredentialsRequest>) {
521
- super();
522
- proto3.util.initPartial(data, this);
523
- }
310
+ userId: string;
311
+ };
524
312
 
525
- static readonly runtime: typeof proto3 = proto3;
526
- static readonly typeName = "scalekit.v1.auth.webauthn.ListCredentialsRequest";
527
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
528
- { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
529
- ]);
530
-
531
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCredentialsRequest {
532
- return new ListCredentialsRequest().fromBinary(bytes, options);
533
- }
534
-
535
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCredentialsRequest {
536
- return new ListCredentialsRequest().fromJson(jsonValue, options);
537
- }
538
-
539
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCredentialsRequest {
540
- return new ListCredentialsRequest().fromJsonString(jsonString, options);
541
- }
542
-
543
- static equals(a: ListCredentialsRequest | PlainMessage<ListCredentialsRequest> | undefined, b: ListCredentialsRequest | PlainMessage<ListCredentialsRequest> | undefined): boolean {
544
- return proto3.util.equals(ListCredentialsRequest, a, b);
545
- }
546
- }
313
+ /**
314
+ * Describes the message scalekit.v1.auth.webauthn.ListCredentialsRequest.
315
+ * Use `create(ListCredentialsRequestSchema)` to create a new message.
316
+ */
317
+ export const ListCredentialsRequestSchema: GenMessage<ListCredentialsRequest> = /*@__PURE__*/
318
+ messageDesc(file_scalekit_v1_auth_webauthn, 10);
547
319
 
548
320
  /**
549
321
  * @generated from message scalekit.v1.auth.webauthn.ListCredentialsResponse
550
322
  */
551
- export class ListCredentialsResponse extends Message<ListCredentialsResponse> {
323
+ export type ListCredentialsResponse = Message<"scalekit.v1.auth.webauthn.ListCredentialsResponse"> & {
552
324
  /**
553
325
  * @generated from field: repeated scalekit.v1.auth.webauthn.WebAuthnCredential credentials = 1;
554
326
  */
555
- credentials: WebAuthnCredential[] = [];
327
+ credentials: WebAuthnCredential[];
556
328
 
557
329
  /**
558
330
  * @generated from field: scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions all_accepted_credentials_options = 2;
559
331
  */
560
332
  allAcceptedCredentialsOptions?: AllAcceptedCredentialsOptions;
333
+ };
561
334
 
562
- constructor(data?: PartialMessage<ListCredentialsResponse>) {
563
- super();
564
- proto3.util.initPartial(data, this);
565
- }
566
-
567
- static readonly runtime: typeof proto3 = proto3;
568
- static readonly typeName = "scalekit.v1.auth.webauthn.ListCredentialsResponse";
569
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
570
- { no: 1, name: "credentials", kind: "message", T: WebAuthnCredential, repeated: true },
571
- { no: 2, name: "all_accepted_credentials_options", kind: "message", T: AllAcceptedCredentialsOptions },
572
- ]);
573
-
574
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCredentialsResponse {
575
- return new ListCredentialsResponse().fromBinary(bytes, options);
576
- }
577
-
578
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCredentialsResponse {
579
- return new ListCredentialsResponse().fromJson(jsonValue, options);
580
- }
581
-
582
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCredentialsResponse {
583
- return new ListCredentialsResponse().fromJsonString(jsonString, options);
584
- }
585
-
586
- static equals(a: ListCredentialsResponse | PlainMessage<ListCredentialsResponse> | undefined, b: ListCredentialsResponse | PlainMessage<ListCredentialsResponse> | undefined): boolean {
587
- return proto3.util.equals(ListCredentialsResponse, a, b);
588
- }
589
- }
335
+ /**
336
+ * Describes the message scalekit.v1.auth.webauthn.ListCredentialsResponse.
337
+ * Use `create(ListCredentialsResponseSchema)` to create a new message.
338
+ */
339
+ export const ListCredentialsResponseSchema: GenMessage<ListCredentialsResponse> = /*@__PURE__*/
340
+ messageDesc(file_scalekit_v1_auth_webauthn, 11);
590
341
 
591
342
  /**
592
343
  * @generated from message scalekit.v1.auth.webauthn.DeleteCredentialRequest
593
344
  */
594
- export class DeleteCredentialRequest extends Message<DeleteCredentialRequest> {
345
+ export type DeleteCredentialRequest = Message<"scalekit.v1.auth.webauthn.DeleteCredentialRequest"> & {
595
346
  /**
596
347
  * @generated from field: string credential_id = 1;
597
348
  */
598
- credentialId = "";
599
-
600
- constructor(data?: PartialMessage<DeleteCredentialRequest>) {
601
- super();
602
- proto3.util.initPartial(data, this);
603
- }
604
-
605
- static readonly runtime: typeof proto3 = proto3;
606
- static readonly typeName = "scalekit.v1.auth.webauthn.DeleteCredentialRequest";
607
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
608
- { no: 1, name: "credential_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
609
- ]);
349
+ credentialId: string;
350
+ };
610
351
 
611
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteCredentialRequest {
612
- return new DeleteCredentialRequest().fromBinary(bytes, options);
613
- }
614
-
615
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteCredentialRequest {
616
- return new DeleteCredentialRequest().fromJson(jsonValue, options);
617
- }
618
-
619
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteCredentialRequest {
620
- return new DeleteCredentialRequest().fromJsonString(jsonString, options);
621
- }
622
-
623
- static equals(a: DeleteCredentialRequest | PlainMessage<DeleteCredentialRequest> | undefined, b: DeleteCredentialRequest | PlainMessage<DeleteCredentialRequest> | undefined): boolean {
624
- return proto3.util.equals(DeleteCredentialRequest, a, b);
625
- }
626
- }
352
+ /**
353
+ * Describes the message scalekit.v1.auth.webauthn.DeleteCredentialRequest.
354
+ * Use `create(DeleteCredentialRequestSchema)` to create a new message.
355
+ */
356
+ export const DeleteCredentialRequestSchema: GenMessage<DeleteCredentialRequest> = /*@__PURE__*/
357
+ messageDesc(file_scalekit_v1_auth_webauthn, 12);
627
358
 
628
359
  /**
629
360
  * @generated from message scalekit.v1.auth.webauthn.DeleteCredentialResponse
630
361
  */
631
- export class DeleteCredentialResponse extends Message<DeleteCredentialResponse> {
362
+ export type DeleteCredentialResponse = Message<"scalekit.v1.auth.webauthn.DeleteCredentialResponse"> & {
632
363
  /**
633
364
  * @generated from field: bool success = 1;
634
365
  */
635
- success = false;
366
+ success: boolean;
636
367
 
637
368
  /**
638
369
  * @generated from field: scalekit.v1.auth.webauthn.UnknownCredentialOptions unknown_credential_options = 2;
639
370
  */
640
371
  unknownCredentialOptions?: UnknownCredentialOptions;
372
+ };
641
373
 
642
- constructor(data?: PartialMessage<DeleteCredentialResponse>) {
643
- super();
644
- proto3.util.initPartial(data, this);
645
- }
646
-
647
- static readonly runtime: typeof proto3 = proto3;
648
- static readonly typeName = "scalekit.v1.auth.webauthn.DeleteCredentialResponse";
649
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
650
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
651
- { no: 2, name: "unknown_credential_options", kind: "message", T: UnknownCredentialOptions },
652
- ]);
653
-
654
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteCredentialResponse {
655
- return new DeleteCredentialResponse().fromBinary(bytes, options);
656
- }
657
-
658
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteCredentialResponse {
659
- return new DeleteCredentialResponse().fromJson(jsonValue, options);
660
- }
661
-
662
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteCredentialResponse {
663
- return new DeleteCredentialResponse().fromJsonString(jsonString, options);
664
- }
665
-
666
- static equals(a: DeleteCredentialResponse | PlainMessage<DeleteCredentialResponse> | undefined, b: DeleteCredentialResponse | PlainMessage<DeleteCredentialResponse> | undefined): boolean {
667
- return proto3.util.equals(DeleteCredentialResponse, a, b);
668
- }
669
- }
374
+ /**
375
+ * Describes the message scalekit.v1.auth.webauthn.DeleteCredentialResponse.
376
+ * Use `create(DeleteCredentialResponseSchema)` to create a new message.
377
+ */
378
+ export const DeleteCredentialResponseSchema: GenMessage<DeleteCredentialResponse> = /*@__PURE__*/
379
+ messageDesc(file_scalekit_v1_auth_webauthn, 13);
670
380
 
671
381
  /**
672
382
  * @generated from message scalekit.v1.auth.webauthn.UnknownCredentialOptions
673
383
  */
674
- export class UnknownCredentialOptions extends Message<UnknownCredentialOptions> {
384
+ export type UnknownCredentialOptions = Message<"scalekit.v1.auth.webauthn.UnknownCredentialOptions"> & {
675
385
  /**
676
386
  * @generated from field: string rp_id = 1;
677
387
  */
678
- rpId = "";
388
+ rpId: string;
679
389
 
680
390
  /**
681
391
  * @generated from field: string credential_id = 2;
682
392
  */
683
- credentialId = "";
684
-
685
- constructor(data?: PartialMessage<UnknownCredentialOptions>) {
686
- super();
687
- proto3.util.initPartial(data, this);
688
- }
689
-
690
- static readonly runtime: typeof proto3 = proto3;
691
- static readonly typeName = "scalekit.v1.auth.webauthn.UnknownCredentialOptions";
692
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
693
- { no: 1, name: "rp_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
694
- { no: 2, name: "credential_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
695
- ]);
696
-
697
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnknownCredentialOptions {
698
- return new UnknownCredentialOptions().fromBinary(bytes, options);
699
- }
700
-
701
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnknownCredentialOptions {
702
- return new UnknownCredentialOptions().fromJson(jsonValue, options);
703
- }
393
+ credentialId: string;
394
+ };
704
395
 
705
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnknownCredentialOptions {
706
- return new UnknownCredentialOptions().fromJsonString(jsonString, options);
707
- }
708
-
709
- static equals(a: UnknownCredentialOptions | PlainMessage<UnknownCredentialOptions> | undefined, b: UnknownCredentialOptions | PlainMessage<UnknownCredentialOptions> | undefined): boolean {
710
- return proto3.util.equals(UnknownCredentialOptions, a, b);
711
- }
712
- }
396
+ /**
397
+ * Describes the message scalekit.v1.auth.webauthn.UnknownCredentialOptions.
398
+ * Use `create(UnknownCredentialOptionsSchema)` to create a new message.
399
+ */
400
+ export const UnknownCredentialOptionsSchema: GenMessage<UnknownCredentialOptions> = /*@__PURE__*/
401
+ messageDesc(file_scalekit_v1_auth_webauthn, 14);
713
402
 
714
403
  /**
715
404
  * @generated from message scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions
716
405
  */
717
- export class AllAcceptedCredentialsOptions extends Message<AllAcceptedCredentialsOptions> {
406
+ export type AllAcceptedCredentialsOptions = Message<"scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions"> & {
718
407
  /**
719
408
  * @generated from field: string rp_id = 1;
720
409
  */
721
- rpId = "";
410
+ rpId: string;
722
411
 
723
412
  /**
724
413
  * @generated from field: string user_id = 2;
725
414
  */
726
- userId = "";
415
+ userId: string;
727
416
 
728
417
  /**
729
418
  * @generated from field: repeated string all_accepted_credential_ids = 3;
730
419
  */
731
- allAcceptedCredentialIds: string[] = [];
732
-
733
- constructor(data?: PartialMessage<AllAcceptedCredentialsOptions>) {
734
- super();
735
- proto3.util.initPartial(data, this);
736
- }
737
-
738
- static readonly runtime: typeof proto3 = proto3;
739
- static readonly typeName = "scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions";
740
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
741
- { no: 1, name: "rp_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
742
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
743
- { no: 3, name: "all_accepted_credential_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
744
- ]);
420
+ allAcceptedCredentialIds: string[];
421
+ };
745
422
 
746
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AllAcceptedCredentialsOptions {
747
- return new AllAcceptedCredentialsOptions().fromBinary(bytes, options);
748
- }
749
-
750
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AllAcceptedCredentialsOptions {
751
- return new AllAcceptedCredentialsOptions().fromJson(jsonValue, options);
752
- }
753
-
754
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AllAcceptedCredentialsOptions {
755
- return new AllAcceptedCredentialsOptions().fromJsonString(jsonString, options);
756
- }
757
-
758
- static equals(a: AllAcceptedCredentialsOptions | PlainMessage<AllAcceptedCredentialsOptions> | undefined, b: AllAcceptedCredentialsOptions | PlainMessage<AllAcceptedCredentialsOptions> | undefined): boolean {
759
- return proto3.util.equals(AllAcceptedCredentialsOptions, a, b);
760
- }
761
- }
423
+ /**
424
+ * Describes the message scalekit.v1.auth.webauthn.AllAcceptedCredentialsOptions.
425
+ * Use `create(AllAcceptedCredentialsOptionsSchema)` to create a new message.
426
+ */
427
+ export const AllAcceptedCredentialsOptionsSchema: GenMessage<AllAcceptedCredentialsOptions> = /*@__PURE__*/
428
+ messageDesc(file_scalekit_v1_auth_webauthn, 15);
762
429
 
763
430
  /**
764
431
  * @generated from message scalekit.v1.auth.webauthn.UpdateCredentialRequest
765
432
  */
766
- export class UpdateCredentialRequest extends Message<UpdateCredentialRequest> {
433
+ export type UpdateCredentialRequest = Message<"scalekit.v1.auth.webauthn.UpdateCredentialRequest"> & {
767
434
  /**
768
435
  * @generated from field: string credential_id = 1;
769
436
  */
770
- credentialId = "";
437
+ credentialId: string;
771
438
 
772
439
  /**
773
440
  * @generated from field: string display_name = 2;
774
441
  */
775
- displayName = "";
776
-
777
- constructor(data?: PartialMessage<UpdateCredentialRequest>) {
778
- super();
779
- proto3.util.initPartial(data, this);
780
- }
781
-
782
- static readonly runtime: typeof proto3 = proto3;
783
- static readonly typeName = "scalekit.v1.auth.webauthn.UpdateCredentialRequest";
784
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
785
- { no: 1, name: "credential_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
786
- { no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
787
- ]);
788
-
789
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCredentialRequest {
790
- return new UpdateCredentialRequest().fromBinary(bytes, options);
791
- }
792
-
793
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCredentialRequest {
794
- return new UpdateCredentialRequest().fromJson(jsonValue, options);
795
- }
796
-
797
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCredentialRequest {
798
- return new UpdateCredentialRequest().fromJsonString(jsonString, options);
799
- }
442
+ displayName: string;
443
+ };
800
444
 
801
- static equals(a: UpdateCredentialRequest | PlainMessage<UpdateCredentialRequest> | undefined, b: UpdateCredentialRequest | PlainMessage<UpdateCredentialRequest> | undefined): boolean {
802
- return proto3.util.equals(UpdateCredentialRequest, a, b);
803
- }
804
- }
445
+ /**
446
+ * Describes the message scalekit.v1.auth.webauthn.UpdateCredentialRequest.
447
+ * Use `create(UpdateCredentialRequestSchema)` to create a new message.
448
+ */
449
+ export const UpdateCredentialRequestSchema: GenMessage<UpdateCredentialRequest> = /*@__PURE__*/
450
+ messageDesc(file_scalekit_v1_auth_webauthn, 16);
805
451
 
806
452
  /**
807
453
  * @generated from message scalekit.v1.auth.webauthn.UpdateCredentialResponse
808
454
  */
809
- export class UpdateCredentialResponse extends Message<UpdateCredentialResponse> {
455
+ export type UpdateCredentialResponse = Message<"scalekit.v1.auth.webauthn.UpdateCredentialResponse"> & {
810
456
  /**
811
457
  * @generated from field: scalekit.v1.auth.webauthn.WebAuthnCredential credential = 1;
812
458
  */
813
459
  credential?: WebAuthnCredential;
460
+ };
814
461
 
815
- constructor(data?: PartialMessage<UpdateCredentialResponse>) {
816
- super();
817
- proto3.util.initPartial(data, this);
818
- }
819
-
820
- static readonly runtime: typeof proto3 = proto3;
821
- static readonly typeName = "scalekit.v1.auth.webauthn.UpdateCredentialResponse";
822
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
823
- { no: 1, name: "credential", kind: "message", T: WebAuthnCredential },
824
- ]);
825
-
826
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCredentialResponse {
827
- return new UpdateCredentialResponse().fromBinary(bytes, options);
828
- }
829
-
830
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCredentialResponse {
831
- return new UpdateCredentialResponse().fromJson(jsonValue, options);
832
- }
833
-
834
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCredentialResponse {
835
- return new UpdateCredentialResponse().fromJsonString(jsonString, options);
836
- }
837
-
838
- static equals(a: UpdateCredentialResponse | PlainMessage<UpdateCredentialResponse> | undefined, b: UpdateCredentialResponse | PlainMessage<UpdateCredentialResponse> | undefined): boolean {
839
- return proto3.util.equals(UpdateCredentialResponse, a, b);
840
- }
841
- }
462
+ /**
463
+ * Describes the message scalekit.v1.auth.webauthn.UpdateCredentialResponse.
464
+ * Use `create(UpdateCredentialResponseSchema)` to create a new message.
465
+ */
466
+ export const UpdateCredentialResponseSchema: GenMessage<UpdateCredentialResponse> = /*@__PURE__*/
467
+ messageDesc(file_scalekit_v1_auth_webauthn, 17);
842
468
 
843
469
  /**
844
470
  * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential
845
471
  */
846
- export class WebAuthnCredential extends Message<WebAuthnCredential> {
472
+ export type WebAuthnCredential = Message<"scalekit.v1.auth.webauthn.WebAuthnCredential"> & {
847
473
  /**
848
474
  * @generated from field: string id = 1;
849
475
  */
850
- id = "";
476
+ id: string;
851
477
 
852
478
  /**
853
479
  * @generated from field: string user_id = 2;
854
480
  */
855
- userId = "";
481
+ userId: string;
856
482
 
857
483
  /**
858
484
  * @generated from field: bytes credential_id = 3;
859
485
  */
860
- credentialId = new Uint8Array(0);
486
+ credentialId: Uint8Array;
861
487
 
862
488
  /**
863
489
  * @generated from field: string attestation_type = 4;
864
490
  */
865
- attestationType = "";
491
+ attestationType: string;
866
492
 
867
493
  /**
868
494
  * @generated from field: scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator authenticator = 5;
@@ -872,7 +498,7 @@ export class WebAuthnCredential extends Message<WebAuthnCredential> {
872
498
  /**
873
499
  * @generated from field: repeated string transports = 6;
874
500
  */
875
- transports: string[] = [];
501
+ transports: string[];
876
502
 
877
503
  /**
878
504
  * @generated from field: scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags authenticator_flags = 7;
@@ -903,361 +529,266 @@ export class WebAuthnCredential extends Message<WebAuthnCredential> {
903
529
  * @generated from field: optional string display_name = 12;
904
530
  */
905
531
  displayName?: string;
532
+ };
906
533
 
907
- constructor(data?: PartialMessage<WebAuthnCredential>) {
908
- super();
909
- proto3.util.initPartial(data, this);
910
- }
911
-
912
- static readonly runtime: typeof proto3 = proto3;
913
- static readonly typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential";
914
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
915
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
916
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
917
- { no: 3, name: "credential_id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
918
- { no: 4, name: "attestation_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
919
- { no: 5, name: "authenticator", kind: "message", T: WebAuthnCredential_Authenticator },
920
- { no: 6, name: "transports", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
921
- { no: 7, name: "authenticator_flags", kind: "message", T: WebAuthnCredential_AuthenticatorFlags },
922
- { no: 8, name: "created_at", kind: "message", T: Timestamp },
923
- { no: 9, name: "updated_at", kind: "message", T: Timestamp },
924
- { no: 10, name: "user_agent", kind: "message", T: WebAuthnCredential_UserAgent },
925
- { no: 11, name: "client_info", kind: "message", T: WebAuthnCredential_ClientInfo },
926
- { no: 12, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
927
- ]);
928
-
929
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthnCredential {
930
- return new WebAuthnCredential().fromBinary(bytes, options);
931
- }
932
-
933
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthnCredential {
934
- return new WebAuthnCredential().fromJson(jsonValue, options);
935
- }
936
-
937
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthnCredential {
938
- return new WebAuthnCredential().fromJsonString(jsonString, options);
939
- }
940
-
941
- static equals(a: WebAuthnCredential | PlainMessage<WebAuthnCredential> | undefined, b: WebAuthnCredential | PlainMessage<WebAuthnCredential> | undefined): boolean {
942
- return proto3.util.equals(WebAuthnCredential, a, b);
943
- }
944
- }
534
+ /**
535
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.
536
+ * Use `create(WebAuthnCredentialSchema)` to create a new message.
537
+ */
538
+ export const WebAuthnCredentialSchema: GenMessage<WebAuthnCredential> = /*@__PURE__*/
539
+ messageDesc(file_scalekit_v1_auth_webauthn, 18);
945
540
 
946
541
  /**
947
542
  * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags
948
543
  */
949
- export class WebAuthnCredential_AuthenticatorFlags extends Message<WebAuthnCredential_AuthenticatorFlags> {
544
+ export type WebAuthnCredential_AuthenticatorFlags = Message<"scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags"> & {
950
545
  /**
951
546
  * @generated from field: bool user_present = 1;
952
547
  */
953
- userPresent = false;
548
+ userPresent: boolean;
954
549
 
955
550
  /**
956
551
  * @generated from field: bool user_verified = 2;
957
552
  */
958
- userVerified = false;
553
+ userVerified: boolean;
959
554
 
960
555
  /**
961
556
  * @generated from field: bool backup_eligible = 3;
962
557
  */
963
- backupEligible = false;
558
+ backupEligible: boolean;
964
559
 
965
560
  /**
966
561
  * @generated from field: bool backup_state = 4;
967
562
  */
968
- backupState = false;
563
+ backupState: boolean;
564
+ };
969
565
 
970
- constructor(data?: PartialMessage<WebAuthnCredential_AuthenticatorFlags>) {
971
- super();
972
- proto3.util.initPartial(data, this);
973
- }
974
-
975
- static readonly runtime: typeof proto3 = proto3;
976
- static readonly typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags";
977
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
978
- { no: 1, name: "user_present", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
979
- { no: 2, name: "user_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
980
- { no: 3, name: "backup_eligible", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
981
- { no: 4, name: "backup_state", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
982
- ]);
983
-
984
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthnCredential_AuthenticatorFlags {
985
- return new WebAuthnCredential_AuthenticatorFlags().fromBinary(bytes, options);
986
- }
987
-
988
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthnCredential_AuthenticatorFlags {
989
- return new WebAuthnCredential_AuthenticatorFlags().fromJson(jsonValue, options);
990
- }
991
-
992
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthnCredential_AuthenticatorFlags {
993
- return new WebAuthnCredential_AuthenticatorFlags().fromJsonString(jsonString, options);
994
- }
995
-
996
- static equals(a: WebAuthnCredential_AuthenticatorFlags | PlainMessage<WebAuthnCredential_AuthenticatorFlags> | undefined, b: WebAuthnCredential_AuthenticatorFlags | PlainMessage<WebAuthnCredential_AuthenticatorFlags> | undefined): boolean {
997
- return proto3.util.equals(WebAuthnCredential_AuthenticatorFlags, a, b);
998
- }
999
- }
566
+ /**
567
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.AuthenticatorFlags.
568
+ * Use `create(WebAuthnCredential_AuthenticatorFlagsSchema)` to create a new message.
569
+ */
570
+ export const WebAuthnCredential_AuthenticatorFlagsSchema: GenMessage<WebAuthnCredential_AuthenticatorFlags> = /*@__PURE__*/
571
+ messageDesc(file_scalekit_v1_auth_webauthn, 18, 0);
1000
572
 
1001
573
  /**
1002
574
  * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator
1003
575
  */
1004
- export class WebAuthnCredential_Authenticator extends Message<WebAuthnCredential_Authenticator> {
576
+ export type WebAuthnCredential_Authenticator = Message<"scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator"> & {
1005
577
  /**
1006
578
  * @generated from field: string aaguid = 1;
1007
579
  */
1008
- aaguid = "";
580
+ aaguid: string;
1009
581
 
1010
582
  /**
1011
583
  * @generated from field: string name = 2;
1012
584
  */
1013
- name = "";
585
+ name: string;
1014
586
 
1015
587
  /**
1016
588
  * @generated from field: string attachment = 3;
1017
589
  */
1018
- attachment = "";
590
+ attachment: string;
1019
591
 
1020
592
  /**
1021
593
  * @generated from field: string icon_dark = 4;
1022
594
  */
1023
- iconDark = "";
595
+ iconDark: string;
1024
596
 
1025
597
  /**
1026
598
  * @generated from field: string icon_light = 5;
1027
599
  */
1028
- iconLight = "";
1029
-
1030
- constructor(data?: PartialMessage<WebAuthnCredential_Authenticator>) {
1031
- super();
1032
- proto3.util.initPartial(data, this);
1033
- }
1034
-
1035
- static readonly runtime: typeof proto3 = proto3;
1036
- static readonly typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator";
1037
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1038
- { no: 1, name: "aaguid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1039
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1040
- { no: 3, name: "attachment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1041
- { no: 4, name: "icon_dark", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1042
- { no: 5, name: "icon_light", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1043
- ]);
1044
-
1045
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthnCredential_Authenticator {
1046
- return new WebAuthnCredential_Authenticator().fromBinary(bytes, options);
1047
- }
600
+ iconLight: string;
601
+ };
1048
602
 
1049
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthnCredential_Authenticator {
1050
- return new WebAuthnCredential_Authenticator().fromJson(jsonValue, options);
1051
- }
1052
-
1053
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthnCredential_Authenticator {
1054
- return new WebAuthnCredential_Authenticator().fromJsonString(jsonString, options);
1055
- }
1056
-
1057
- static equals(a: WebAuthnCredential_Authenticator | PlainMessage<WebAuthnCredential_Authenticator> | undefined, b: WebAuthnCredential_Authenticator | PlainMessage<WebAuthnCredential_Authenticator> | undefined): boolean {
1058
- return proto3.util.equals(WebAuthnCredential_Authenticator, a, b);
1059
- }
1060
- }
603
+ /**
604
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.Authenticator.
605
+ * Use `create(WebAuthnCredential_AuthenticatorSchema)` to create a new message.
606
+ */
607
+ export const WebAuthnCredential_AuthenticatorSchema: GenMessage<WebAuthnCredential_Authenticator> = /*@__PURE__*/
608
+ messageDesc(file_scalekit_v1_auth_webauthn, 18, 1);
1061
609
 
1062
610
  /**
1063
611
  * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.UserAgent
1064
612
  */
1065
- export class WebAuthnCredential_UserAgent extends Message<WebAuthnCredential_UserAgent> {
613
+ export type WebAuthnCredential_UserAgent = Message<"scalekit.v1.auth.webauthn.WebAuthnCredential.UserAgent"> & {
1066
614
  /**
1067
615
  * @generated from field: string raw = 1;
1068
616
  */
1069
- raw = "";
617
+ raw: string;
1070
618
 
1071
619
  /**
1072
620
  * @generated from field: string url = 2;
1073
621
  */
1074
- url = "";
622
+ url: string;
1075
623
 
1076
624
  /**
1077
625
  * @generated from field: string browser = 3;
1078
626
  */
1079
- browser = "";
627
+ browser: string;
1080
628
 
1081
629
  /**
1082
630
  * @generated from field: string browser_version = 4;
1083
631
  */
1084
- browserVersion = "";
632
+ browserVersion: string;
1085
633
 
1086
634
  /**
1087
635
  * @generated from field: string os = 5;
1088
636
  */
1089
- os = "";
637
+ os: string;
1090
638
 
1091
639
  /**
1092
640
  * @generated from field: string os_version = 6;
1093
641
  */
1094
- osVersion = "";
642
+ osVersion: string;
1095
643
 
1096
644
  /**
1097
645
  * @generated from field: string device_type = 7;
1098
646
  */
1099
- deviceType = "";
647
+ deviceType: string;
1100
648
 
1101
649
  /**
1102
650
  * @generated from field: string device_model = 8;
1103
651
  */
1104
- deviceModel = "";
1105
-
1106
- constructor(data?: PartialMessage<WebAuthnCredential_UserAgent>) {
1107
- super();
1108
- proto3.util.initPartial(data, this);
1109
- }
1110
-
1111
- static readonly runtime: typeof proto3 = proto3;
1112
- static readonly typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.UserAgent";
1113
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1114
- { no: 1, name: "raw", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1115
- { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1116
- { no: 3, name: "browser", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1117
- { no: 4, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1118
- { no: 5, name: "os", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1119
- { no: 6, name: "os_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1120
- { no: 7, name: "device_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1121
- { no: 8, name: "device_model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1122
- ]);
1123
-
1124
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthnCredential_UserAgent {
1125
- return new WebAuthnCredential_UserAgent().fromBinary(bytes, options);
1126
- }
1127
-
1128
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthnCredential_UserAgent {
1129
- return new WebAuthnCredential_UserAgent().fromJson(jsonValue, options);
1130
- }
1131
-
1132
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthnCredential_UserAgent {
1133
- return new WebAuthnCredential_UserAgent().fromJsonString(jsonString, options);
1134
- }
1135
-
1136
- static equals(a: WebAuthnCredential_UserAgent | PlainMessage<WebAuthnCredential_UserAgent> | undefined, b: WebAuthnCredential_UserAgent | PlainMessage<WebAuthnCredential_UserAgent> | undefined): boolean {
1137
- return proto3.util.equals(WebAuthnCredential_UserAgent, a, b);
1138
- }
1139
- }
652
+ deviceModel: string;
653
+ };
654
+
655
+ /**
656
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.UserAgent.
657
+ * Use `create(WebAuthnCredential_UserAgentSchema)` to create a new message.
658
+ */
659
+ export const WebAuthnCredential_UserAgentSchema: GenMessage<WebAuthnCredential_UserAgent> = /*@__PURE__*/
660
+ messageDesc(file_scalekit_v1_auth_webauthn, 18, 2);
1140
661
 
1141
662
  /**
1142
663
  * @generated from message scalekit.v1.auth.webauthn.WebAuthnCredential.ClientInfo
1143
664
  */
1144
- export class WebAuthnCredential_ClientInfo extends Message<WebAuthnCredential_ClientInfo> {
665
+ export type WebAuthnCredential_ClientInfo = Message<"scalekit.v1.auth.webauthn.WebAuthnCredential.ClientInfo"> & {
1145
666
  /**
1146
667
  * @generated from field: string ip = 1;
1147
668
  */
1148
- ip = "";
669
+ ip: string;
1149
670
 
1150
671
  /**
1151
672
  * @generated from field: string region = 2;
1152
673
  */
1153
- region = "";
674
+ region: string;
1154
675
 
1155
676
  /**
1156
677
  * @generated from field: string region_subdivision = 3;
1157
678
  */
1158
- regionSubdivision = "";
679
+ regionSubdivision: string;
1159
680
 
1160
681
  /**
1161
682
  * @generated from field: string city = 4;
1162
683
  */
1163
- city = "";
1164
-
1165
- constructor(data?: PartialMessage<WebAuthnCredential_ClientInfo>) {
1166
- super();
1167
- proto3.util.initPartial(data, this);
1168
- }
1169
-
1170
- static readonly runtime: typeof proto3 = proto3;
1171
- static readonly typeName = "scalekit.v1.auth.webauthn.WebAuthnCredential.ClientInfo";
1172
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1173
- { no: 1, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1174
- { no: 2, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1175
- { no: 3, name: "region_subdivision", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1176
- { no: 4, name: "city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1177
- ]);
1178
-
1179
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthnCredential_ClientInfo {
1180
- return new WebAuthnCredential_ClientInfo().fromBinary(bytes, options);
1181
- }
1182
-
1183
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthnCredential_ClientInfo {
1184
- return new WebAuthnCredential_ClientInfo().fromJson(jsonValue, options);
1185
- }
684
+ city: string;
685
+ };
1186
686
 
1187
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthnCredential_ClientInfo {
1188
- return new WebAuthnCredential_ClientInfo().fromJsonString(jsonString, options);
1189
- }
1190
-
1191
- static equals(a: WebAuthnCredential_ClientInfo | PlainMessage<WebAuthnCredential_ClientInfo> | undefined, b: WebAuthnCredential_ClientInfo | PlainMessage<WebAuthnCredential_ClientInfo> | undefined): boolean {
1192
- return proto3.util.equals(WebAuthnCredential_ClientInfo, a, b);
1193
- }
1194
- }
687
+ /**
688
+ * Describes the message scalekit.v1.auth.webauthn.WebAuthnCredential.ClientInfo.
689
+ * Use `create(WebAuthnCredential_ClientInfoSchema)` to create a new message.
690
+ */
691
+ export const WebAuthnCredential_ClientInfoSchema: GenMessage<WebAuthnCredential_ClientInfo> = /*@__PURE__*/
692
+ messageDesc(file_scalekit_v1_auth_webauthn, 18, 3);
1195
693
 
1196
694
  /**
1197
695
  * @generated from message scalekit.v1.auth.webauthn.GetRelatedOriginsRequest
1198
696
  */
1199
- export class GetRelatedOriginsRequest extends Message<GetRelatedOriginsRequest> {
1200
- constructor(data?: PartialMessage<GetRelatedOriginsRequest>) {
1201
- super();
1202
- proto3.util.initPartial(data, this);
1203
- }
1204
-
1205
- static readonly runtime: typeof proto3 = proto3;
1206
- static readonly typeName = "scalekit.v1.auth.webauthn.GetRelatedOriginsRequest";
1207
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1208
- ]);
1209
-
1210
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRelatedOriginsRequest {
1211
- return new GetRelatedOriginsRequest().fromBinary(bytes, options);
1212
- }
1213
-
1214
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRelatedOriginsRequest {
1215
- return new GetRelatedOriginsRequest().fromJson(jsonValue, options);
1216
- }
1217
-
1218
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRelatedOriginsRequest {
1219
- return new GetRelatedOriginsRequest().fromJsonString(jsonString, options);
1220
- }
1221
-
1222
- static equals(a: GetRelatedOriginsRequest | PlainMessage<GetRelatedOriginsRequest> | undefined, b: GetRelatedOriginsRequest | PlainMessage<GetRelatedOriginsRequest> | undefined): boolean {
1223
- return proto3.util.equals(GetRelatedOriginsRequest, a, b);
1224
- }
1225
- }
697
+ export type GetRelatedOriginsRequest = Message<"scalekit.v1.auth.webauthn.GetRelatedOriginsRequest"> & {
698
+ };
699
+
700
+ /**
701
+ * Describes the message scalekit.v1.auth.webauthn.GetRelatedOriginsRequest.
702
+ * Use `create(GetRelatedOriginsRequestSchema)` to create a new message.
703
+ */
704
+ export const GetRelatedOriginsRequestSchema: GenMessage<GetRelatedOriginsRequest> = /*@__PURE__*/
705
+ messageDesc(file_scalekit_v1_auth_webauthn, 19);
1226
706
 
1227
707
  /**
1228
708
  * @generated from message scalekit.v1.auth.webauthn.GetRelatedOriginsResponse
1229
709
  */
1230
- export class GetRelatedOriginsResponse extends Message<GetRelatedOriginsResponse> {
710
+ export type GetRelatedOriginsResponse = Message<"scalekit.v1.auth.webauthn.GetRelatedOriginsResponse"> & {
1231
711
  /**
1232
712
  * @generated from field: repeated string origins = 1;
1233
713
  */
1234
- origins: string[] = [];
1235
-
1236
- constructor(data?: PartialMessage<GetRelatedOriginsResponse>) {
1237
- super();
1238
- proto3.util.initPartial(data, this);
1239
- }
1240
-
1241
- static readonly runtime: typeof proto3 = proto3;
1242
- static readonly typeName = "scalekit.v1.auth.webauthn.GetRelatedOriginsResponse";
1243
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1244
- { no: 1, name: "origins", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1245
- ]);
1246
-
1247
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRelatedOriginsResponse {
1248
- return new GetRelatedOriginsResponse().fromBinary(bytes, options);
1249
- }
1250
-
1251
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRelatedOriginsResponse {
1252
- return new GetRelatedOriginsResponse().fromJson(jsonValue, options);
1253
- }
714
+ origins: string[];
715
+ };
1254
716
 
1255
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRelatedOriginsResponse {
1256
- return new GetRelatedOriginsResponse().fromJsonString(jsonString, options);
1257
- }
717
+ /**
718
+ * Describes the message scalekit.v1.auth.webauthn.GetRelatedOriginsResponse.
719
+ * Use `create(GetRelatedOriginsResponseSchema)` to create a new message.
720
+ */
721
+ export const GetRelatedOriginsResponseSchema: GenMessage<GetRelatedOriginsResponse> = /*@__PURE__*/
722
+ messageDesc(file_scalekit_v1_auth_webauthn, 20);
1258
723
 
1259
- static equals(a: GetRelatedOriginsResponse | PlainMessage<GetRelatedOriginsResponse> | undefined, b: GetRelatedOriginsResponse | PlainMessage<GetRelatedOriginsResponse> | undefined): boolean {
1260
- return proto3.util.equals(GetRelatedOriginsResponse, a, b);
1261
- }
1262
- }
724
+ /**
725
+ * @generated from service scalekit.v1.auth.webauthn.WebAuthnService
726
+ */
727
+ export const WebAuthnService: GenService<{
728
+ /**
729
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.BeginRegistration
730
+ */
731
+ beginRegistration: {
732
+ methodKind: "unary";
733
+ input: typeof BeginRegistrationRequestSchema;
734
+ output: typeof BeginRegistrationResponseSchema;
735
+ },
736
+ /**
737
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.FinishRegistration
738
+ */
739
+ finishRegistration: {
740
+ methodKind: "unary";
741
+ input: typeof FinishRegistrationRequestSchema;
742
+ output: typeof FinishRegistrationResponseSchema;
743
+ },
744
+ /**
745
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.BeginAuthentication
746
+ */
747
+ beginAuthentication: {
748
+ methodKind: "unary";
749
+ input: typeof BeginAuthenticationRequestSchema;
750
+ output: typeof BeginAuthenticationResponseSchema;
751
+ },
752
+ /**
753
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.FinishAuthentication
754
+ */
755
+ finishAuthentication: {
756
+ methodKind: "unary";
757
+ input: typeof FinishAuthenticationRequestSchema;
758
+ output: typeof FinishAuthenticationResponseSchema;
759
+ },
760
+ /**
761
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.ListCredentials
762
+ */
763
+ listCredentials: {
764
+ methodKind: "unary";
765
+ input: typeof ListCredentialsRequestSchema;
766
+ output: typeof ListCredentialsResponseSchema;
767
+ },
768
+ /**
769
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.DeleteCredential
770
+ */
771
+ deleteCredential: {
772
+ methodKind: "unary";
773
+ input: typeof DeleteCredentialRequestSchema;
774
+ output: typeof DeleteCredentialResponseSchema;
775
+ },
776
+ /**
777
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.UpdateCredential
778
+ */
779
+ updateCredential: {
780
+ methodKind: "unary";
781
+ input: typeof UpdateCredentialRequestSchema;
782
+ output: typeof UpdateCredentialResponseSchema;
783
+ },
784
+ /**
785
+ * @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.GetRelatedOrigins
786
+ */
787
+ getRelatedOrigins: {
788
+ methodKind: "unary";
789
+ input: typeof GetRelatedOriginsRequestSchema;
790
+ output: typeof GetRelatedOriginsResponseSchema;
791
+ },
792
+ }> = /*@__PURE__*/
793
+ serviceDesc(file_scalekit_v1_auth_webauthn, 0);
1263
794