@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,558 +1,208 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
- import { Duration, Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
3
- import { Domain } from "../domains/domains_pb.js";
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Duration, EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Domain } from "../domains/domains_pb";
4
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
4
5
  /**
5
- * @generated from enum scalekit.v1.connections.CodeChallengeType
6
+ * Describes the file scalekit/v1/connections/connections.proto.
6
7
  */
7
- export declare enum CodeChallengeType {
8
- /**
9
- * @generated from enum value: CODE_CHALLENGE_TYPE_UNSPECIFIED = 0;
10
- */
11
- CODE_CHALLENGE_TYPE_UNSPECIFIED = 0,
12
- /**
13
- * @generated from enum value: NUMERIC = 1;
14
- */
15
- NUMERIC = 1,
16
- /**
17
- * @generated from enum value: ALPHANUMERIC = 2;
18
- */
19
- ALPHANUMERIC = 2
20
- }
8
+ export declare const file_scalekit_v1_connections_connections: GenFile;
21
9
  /**
22
- * @generated from enum scalekit.v1.connections.ConfigurationType
10
+ * @generated from message scalekit.v1.connections.AssignDomainsToConnectionRequest
23
11
  */
24
- export declare enum ConfigurationType {
12
+ export type AssignDomainsToConnectionRequest = Message<"scalekit.v1.connections.AssignDomainsToConnectionRequest"> & {
25
13
  /**
26
- * @generated from enum value: CONFIGURATION_TYPE_UNSPECIFIED = 0;
14
+ * @generated from field: string organization_id = 1;
27
15
  */
28
- CONFIGURATION_TYPE_UNSPECIFIED = 0,
16
+ organizationId: string;
29
17
  /**
30
- * @generated from enum value: DISCOVERY = 1;
18
+ * @generated from field: string connection_id = 2;
31
19
  */
32
- DISCOVERY = 1,
20
+ connectionId: string;
33
21
  /**
34
- * @generated from enum value: MANUAL = 2;
22
+ * @generated from field: repeated string domain_ids = 3;
35
23
  */
36
- MANUAL = 2
37
- }
24
+ domainIds: string[];
25
+ };
38
26
  /**
39
- * @generated from enum scalekit.v1.connections.NameIdFormat
27
+ * Describes the message scalekit.v1.connections.AssignDomainsToConnectionRequest.
28
+ * Use `create(AssignDomainsToConnectionRequestSchema)` to create a new message.
40
29
  */
41
- export declare enum NameIdFormat {
42
- /**
43
- * @generated from enum value: NAME_ID_FORMAT_NIL = 0;
44
- */
45
- NAME_ID_FORMAT_NIL = 0,
46
- /**
47
- * @generated from enum value: UNSPECIFIED = 1;
48
- */
49
- UNSPECIFIED = 1,
50
- /**
51
- * @generated from enum value: EMAIL = 2;
52
- */
53
- EMAIL = 2,
54
- /**
55
- * @generated from enum value: TRANSIENT = 3;
56
- */
57
- TRANSIENT = 3,
58
- /**
59
- * @generated from enum value: PERSISTENT = 4;
60
- */
61
- PERSISTENT = 4
62
- }
30
+ export declare const AssignDomainsToConnectionRequestSchema: GenMessage<AssignDomainsToConnectionRequest>;
63
31
  /**
64
- * @generated from enum scalekit.v1.connections.PasswordlessType
32
+ * @generated from message scalekit.v1.connections.AssignDomainsToConnectionResponse
65
33
  */
66
- export declare enum PasswordlessType {
67
- /**
68
- * @generated from enum value: PasswordlessType_UNSPECIFIED = 0;
69
- */
70
- PasswordlessType_UNSPECIFIED = 0,
71
- /**
72
- * @generated from enum value: LINK = 1;
73
- */
74
- LINK = 1,
75
- /**
76
- * @generated from enum value: OTP = 2;
77
- */
78
- OTP = 2,
34
+ export type AssignDomainsToConnectionResponse = Message<"scalekit.v1.connections.AssignDomainsToConnectionResponse"> & {
79
35
  /**
80
- * @generated from enum value: LINK_OTP = 3;
36
+ * @generated from field: scalekit.v1.connections.Connection connection = 1;
81
37
  */
82
- LINK_OTP = 3
83
- }
38
+ connection?: Connection;
39
+ };
84
40
  /**
85
- * @generated from enum scalekit.v1.connections.TestResultStatus
41
+ * Describes the message scalekit.v1.connections.AssignDomainsToConnectionResponse.
42
+ * Use `create(AssignDomainsToConnectionResponseSchema)` to create a new message.
86
43
  */
87
- export declare enum TestResultStatus {
88
- /**
89
- * @generated from enum value: PENDING = 0;
90
- */
91
- PENDING = 0,
92
- /**
93
- * @generated from enum value: SUCCESS = 1;
94
- */
95
- SUCCESS = 1,
96
- /**
97
- * @generated from enum value: FAILURE = 2;
98
- */
99
- FAILURE = 2
100
- }
44
+ export declare const AssignDomainsToConnectionResponseSchema: GenMessage<AssignDomainsToConnectionResponse>;
101
45
  /**
102
- * enums all
103
- *
104
- * @generated from enum scalekit.v1.connections.SAMLSigningOptions
46
+ * @generated from message scalekit.v1.connections.GetProvidersRequest
105
47
  */
106
- export declare enum SAMLSigningOptions {
107
- /**
108
- * @generated from enum value: SAML_SIGNING_OPTIONS_UNSPECIFIED = 0;
109
- */
110
- SAML_SIGNING_OPTIONS_UNSPECIFIED = 0,
111
- /**
112
- * @generated from enum value: NO_SIGNING = 1;
113
- */
114
- NO_SIGNING = 1,
115
- /**
116
- * @generated from enum value: SAML_ONLY_RESPONSE_SIGNING = 2;
117
- */
118
- SAML_ONLY_RESPONSE_SIGNING = 2,
119
- /**
120
- * @generated from enum value: SAML_ONLY_ASSERTION_SIGNING = 3;
121
- */
122
- SAML_ONLY_ASSERTION_SIGNING = 3,
123
- /**
124
- * @generated from enum value: SAML_RESPONSE_ASSERTION_SIGNING = 4;
125
- */
126
- SAML_RESPONSE_ASSERTION_SIGNING = 4,
48
+ export type GetProvidersRequest = Message<"scalekit.v1.connections.GetProvidersRequest"> & {};
49
+ /**
50
+ * Describes the message scalekit.v1.connections.GetProvidersRequest.
51
+ * Use `create(GetProvidersRequestSchema)` to create a new message.
52
+ */
53
+ export declare const GetProvidersRequestSchema: GenMessage<GetProvidersRequest>;
54
+ /**
55
+ * @generated from message scalekit.v1.connections.GetProvidersResponse
56
+ */
57
+ export type GetProvidersResponse = Message<"scalekit.v1.connections.GetProvidersResponse"> & {
127
58
  /**
128
- * @generated from enum value: SAML_RESPONSE_OR_ASSERTION_SIGNING = 5;
59
+ * @generated from field: repeated scalekit.v1.connections.Provider providers = 1;
129
60
  */
130
- SAML_RESPONSE_OR_ASSERTION_SIGNING = 5
131
- }
61
+ providers: Provider[];
62
+ };
132
63
  /**
133
- * @generated from enum scalekit.v1.connections.RequestBinding
64
+ * Describes the message scalekit.v1.connections.GetProvidersResponse.
65
+ * Use `create(GetProvidersResponseSchema)` to create a new message.
134
66
  */
135
- export declare enum RequestBinding {
67
+ export declare const GetProvidersResponseSchema: GenMessage<GetProvidersResponse>;
68
+ /**
69
+ * @generated from message scalekit.v1.connections.Provider
70
+ */
71
+ export type Provider = Message<"scalekit.v1.connections.Provider"> & {
136
72
  /**
137
- * @generated from enum value: REQUEST_BINDING_UNSPECIFIED = 0;
73
+ * @generated from field: string key_id = 1;
138
74
  */
139
- REQUEST_BINDING_UNSPECIFIED = 0,
75
+ keyId: string;
140
76
  /**
141
- * @generated from enum value: HTTP_POST = 1;
77
+ * @generated from field: string display_name = 2;
142
78
  */
143
- HTTP_POST = 1,
79
+ displayName: string;
144
80
  /**
145
- * @generated from enum value: HTTP_REDIRECT = 2;
81
+ * @generated from field: optional string description = 3;
146
82
  */
147
- HTTP_REDIRECT = 2
148
- }
83
+ description?: string;
84
+ };
149
85
  /**
150
- * @generated from enum scalekit.v1.connections.TokenAuthType
86
+ * Describes the message scalekit.v1.connections.Provider.
87
+ * Use `create(ProviderSchema)` to create a new message.
151
88
  */
152
- export declare enum TokenAuthType {
153
- /**
154
- * @generated from enum value: TOKEN_AUTH_TYPE_UNSPECIFIED = 0;
155
- */
156
- TOKEN_AUTH_TYPE_UNSPECIFIED = 0,
89
+ export declare const ProviderSchema: GenMessage<Provider>;
90
+ /**
91
+ * @generated from message scalekit.v1.connections.CreateEnvironmentConnectionRequest
92
+ */
93
+ export type CreateEnvironmentConnectionRequest = Message<"scalekit.v1.connections.CreateEnvironmentConnectionRequest"> & {
157
94
  /**
158
- * @generated from enum value: URL_PARAMS = 1;
95
+ * @generated from field: scalekit.v1.connections.CreateConnection connection = 1;
159
96
  */
160
- URL_PARAMS = 1,
97
+ connection?: CreateConnection;
161
98
  /**
162
- * @generated from enum value: BASIC_AUTH = 2;
99
+ * @generated from field: optional scalekit.v1.connections.Flags flags = 2;
163
100
  */
164
- BASIC_AUTH = 2
165
- }
101
+ flags?: Flags;
102
+ };
166
103
  /**
167
- * @generated from enum scalekit.v1.connections.OIDCScope
104
+ * Describes the message scalekit.v1.connections.CreateEnvironmentConnectionRequest.
105
+ * Use `create(CreateEnvironmentConnectionRequestSchema)` to create a new message.
168
106
  */
169
- export declare enum OIDCScope {
107
+ export declare const CreateEnvironmentConnectionRequestSchema: GenMessage<CreateEnvironmentConnectionRequest>;
108
+ /**
109
+ * @generated from message scalekit.v1.connections.CreateConnectionRequest
110
+ */
111
+ export type CreateConnectionRequest = Message<"scalekit.v1.connections.CreateConnectionRequest"> & {
170
112
  /**
171
- * @generated from enum value: OIDC_SCOPE_UNSPECIFIED = 0;
113
+ * @generated from field: string organization_id = 1;
172
114
  */
173
- OIDC_SCOPE_UNSPECIFIED = 0,
115
+ organizationId: string;
174
116
  /**
175
- * @generated from enum value: openid = 1;
117
+ * @generated from field: scalekit.v1.connections.CreateConnection connection = 3;
176
118
  */
177
- openid = 1,
119
+ connection?: CreateConnection;
120
+ };
121
+ /**
122
+ * Describes the message scalekit.v1.connections.CreateConnectionRequest.
123
+ * Use `create(CreateConnectionRequestSchema)` to create a new message.
124
+ */
125
+ export declare const CreateConnectionRequestSchema: GenMessage<CreateConnectionRequest>;
126
+ /**
127
+ * @generated from message scalekit.v1.connections.CreateConnection
128
+ */
129
+ export type CreateConnection = Message<"scalekit.v1.connections.CreateConnection"> & {
178
130
  /**
179
- * @generated from enum value: profile = 2;
131
+ * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 1;
180
132
  */
181
- profile = 2,
133
+ provider: ConnectionProvider;
182
134
  /**
183
- * @generated from enum value: email = 3;
135
+ * @generated from field: scalekit.v1.connections.ConnectionType type = 2;
184
136
  */
185
- email = 3,
137
+ type: ConnectionType;
186
138
  /**
187
- * @generated from enum value: address = 4;
139
+ * @generated from field: string provider_key = 3;
188
140
  */
189
- address = 4,
141
+ providerKey: string;
190
142
  /**
191
- * @generated from enum value: phone = 5;
143
+ * @generated from field: optional string key_id = 4;
192
144
  */
193
- phone = 5
194
- }
145
+ keyId?: string;
146
+ };
195
147
  /**
196
- * @generated from enum scalekit.v1.connections.ConnectionType
148
+ * Describes the message scalekit.v1.connections.CreateConnection.
149
+ * Use `create(CreateConnectionSchema)` to create a new message.
197
150
  */
198
- export declare enum ConnectionType {
151
+ export declare const CreateConnectionSchema: GenMessage<CreateConnection>;
152
+ /**
153
+ * @generated from message scalekit.v1.connections.Connection
154
+ */
155
+ export type Connection = Message<"scalekit.v1.connections.Connection"> & {
199
156
  /**
200
- * @generated from enum value: INVALID = 0;
157
+ * @generated from field: string id = 1;
201
158
  */
202
- INVALID = 0,
159
+ id: string;
203
160
  /**
204
- * @generated from enum value: OIDC = 1;
161
+ * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
205
162
  */
206
- OIDC = 1,
163
+ provider: ConnectionProvider;
207
164
  /**
208
- * @generated from enum value: SAML = 2;
165
+ * @generated from field: scalekit.v1.connections.ConnectionType type = 3;
209
166
  */
210
- SAML = 2,
167
+ type: ConnectionType;
211
168
  /**
212
- * @generated from enum value: PASSWORD = 3;
169
+ * @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
213
170
  */
214
- PASSWORD = 3,
171
+ status: ConnectionStatus;
215
172
  /**
216
- * @generated from enum value: OAUTH = 4;
173
+ * @generated from field: bool enabled = 5;
217
174
  */
218
- OAUTH = 4,
175
+ enabled: boolean;
219
176
  /**
220
- * @generated from enum value: PASSWORDLESS = 5;
177
+ * @generated from field: bool debug_enabled = 6;
221
178
  */
222
- PASSWORDLESS = 5,
179
+ debugEnabled: boolean;
223
180
  /**
224
- * @generated from enum value: BASIC = 6;
181
+ * @generated from field: optional string organization_id = 7;
225
182
  */
226
- BASIC = 6,
183
+ organizationId?: string;
227
184
  /**
228
- * @generated from enum value: BEARER = 7;
185
+ * @generated from field: string ui_button_title = 8;
229
186
  */
230
- BEARER = 7,
187
+ uiButtonTitle: string;
231
188
  /**
232
- * @generated from enum value: API_KEY = 8;
189
+ * @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 9;
233
190
  */
234
- API_KEY = 8,
191
+ configurationType: ConfigurationType;
235
192
  /**
236
- * @generated from enum value: WEBAUTHN = 9;
193
+ * @generated from field: string test_connection_uri = 12;
237
194
  */
238
- WEBAUTHN = 9
239
- }
240
- /**
241
- * @generated from enum scalekit.v1.connections.ConnectionStatus
242
- */
243
- export declare enum ConnectionStatus {
195
+ testConnectionUri: string;
244
196
  /**
245
- * @generated from enum value: CONNECTION_STATUS_UNSPECIFIED = 0;
197
+ * @generated from field: map<string, string> attribute_mapping = 15;
246
198
  */
247
- CONNECTION_STATUS_UNSPECIFIED = 0,
199
+ attributeMapping: {
200
+ [key: string]: string;
201
+ };
248
202
  /**
249
- * @generated from enum value: DRAFT = 1;
203
+ * @generated from field: google.protobuf.Timestamp create_time = 16;
250
204
  */
251
- DRAFT = 1,
252
- /**
253
- * @generated from enum value: IN_PROGRESS = 2;
254
- */
255
- IN_PROGRESS = 2,
256
- /**
257
- * @generated from enum value: COMPLETED = 3;
258
- */
259
- COMPLETED = 3
260
- }
261
- /**
262
- * @generated from enum scalekit.v1.connections.ConnectionProvider
263
- */
264
- export declare enum ConnectionProvider {
265
- /**
266
- * @generated from enum value: CONNECTION_PROVIDER_UNSPECIFIED = 0;
267
- */
268
- CONNECTION_PROVIDER_UNSPECIFIED = 0,
269
- /**
270
- * @generated from enum value: OKTA = 1;
271
- */
272
- OKTA = 1,
273
- /**
274
- * @generated from enum value: GOOGLE = 2;
275
- */
276
- GOOGLE = 2,
277
- /**
278
- * @generated from enum value: MICROSOFT_AD = 3;
279
- */
280
- MICROSOFT_AD = 3,
281
- /**
282
- * @generated from enum value: AUTH0 = 4;
283
- */
284
- AUTH0 = 4,
285
- /**
286
- * @generated from enum value: ONELOGIN = 5;
287
- */
288
- ONELOGIN = 5,
289
- /**
290
- * @generated from enum value: PING_IDENTITY = 6;
291
- */
292
- PING_IDENTITY = 6,
293
- /**
294
- * @generated from enum value: JUMPCLOUD = 7;
295
- */
296
- JUMPCLOUD = 7,
297
- /**
298
- * @generated from enum value: CUSTOM = 8;
299
- */
300
- CUSTOM = 8,
301
- /**
302
- * @generated from enum value: GITHUB = 9;
303
- */
304
- GITHUB = 9,
305
- /**
306
- * @generated from enum value: GITLAB = 10;
307
- */
308
- GITLAB = 10,
309
- /**
310
- * @generated from enum value: LINKEDIN = 11;
311
- */
312
- LINKEDIN = 11,
313
- /**
314
- * @generated from enum value: SALESFORCE = 12;
315
- */
316
- SALESFORCE = 12,
317
- /**
318
- * @generated from enum value: MICROSOFT = 13;
319
- */
320
- MICROSOFT = 13,
321
- /**
322
- * @generated from enum value: IDP_SIMULATOR = 14;
323
- */
324
- IDP_SIMULATOR = 14,
325
- /**
326
- * @generated from enum value: SCALEKIT = 15;
327
- */
328
- SCALEKIT = 15,
329
- /**
330
- * @generated from enum value: ADFS = 16;
331
- */
332
- ADFS = 16
333
- }
334
- /**
335
- * @generated from message scalekit.v1.connections.AssignDomainsToConnectionRequest
336
- */
337
- export declare class AssignDomainsToConnectionRequest extends Message<AssignDomainsToConnectionRequest> {
338
- /**
339
- * @generated from field: string organization_id = 1;
340
- */
341
- organizationId: string;
342
- /**
343
- * @generated from field: string connection_id = 2;
344
- */
345
- connectionId: string;
346
- /**
347
- * @generated from field: repeated string domain_ids = 3;
348
- */
349
- domainIds: string[];
350
- constructor(data?: PartialMessage<AssignDomainsToConnectionRequest>);
351
- static readonly runtime: typeof proto3;
352
- static readonly typeName = "scalekit.v1.connections.AssignDomainsToConnectionRequest";
353
- static readonly fields: FieldList;
354
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignDomainsToConnectionRequest;
355
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionRequest;
356
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionRequest;
357
- static equals(a: AssignDomainsToConnectionRequest | PlainMessage<AssignDomainsToConnectionRequest> | undefined, b: AssignDomainsToConnectionRequest | PlainMessage<AssignDomainsToConnectionRequest> | undefined): boolean;
358
- }
359
- /**
360
- * @generated from message scalekit.v1.connections.AssignDomainsToConnectionResponse
361
- */
362
- export declare class AssignDomainsToConnectionResponse extends Message<AssignDomainsToConnectionResponse> {
363
- /**
364
- * @generated from field: scalekit.v1.connections.Connection connection = 1;
365
- */
366
- connection?: Connection;
367
- constructor(data?: PartialMessage<AssignDomainsToConnectionResponse>);
368
- static readonly runtime: typeof proto3;
369
- static readonly typeName = "scalekit.v1.connections.AssignDomainsToConnectionResponse";
370
- static readonly fields: FieldList;
371
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignDomainsToConnectionResponse;
372
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionResponse;
373
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionResponse;
374
- static equals(a: AssignDomainsToConnectionResponse | PlainMessage<AssignDomainsToConnectionResponse> | undefined, b: AssignDomainsToConnectionResponse | PlainMessage<AssignDomainsToConnectionResponse> | undefined): boolean;
375
- }
376
- /**
377
- * @generated from message scalekit.v1.connections.GetProvidersRequest
378
- */
379
- export declare class GetProvidersRequest extends Message<GetProvidersRequest> {
380
- constructor(data?: PartialMessage<GetProvidersRequest>);
381
- static readonly runtime: typeof proto3;
382
- static readonly typeName = "scalekit.v1.connections.GetProvidersRequest";
383
- static readonly fields: FieldList;
384
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProvidersRequest;
385
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProvidersRequest;
386
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProvidersRequest;
387
- static equals(a: GetProvidersRequest | PlainMessage<GetProvidersRequest> | undefined, b: GetProvidersRequest | PlainMessage<GetProvidersRequest> | undefined): boolean;
388
- }
389
- /**
390
- * @generated from message scalekit.v1.connections.GetProvidersResponse
391
- */
392
- export declare class GetProvidersResponse extends Message<GetProvidersResponse> {
393
- /**
394
- * @generated from field: repeated scalekit.v1.connections.Provider providers = 1;
395
- */
396
- providers: Provider[];
397
- constructor(data?: PartialMessage<GetProvidersResponse>);
398
- static readonly runtime: typeof proto3;
399
- static readonly typeName = "scalekit.v1.connections.GetProvidersResponse";
400
- static readonly fields: FieldList;
401
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProvidersResponse;
402
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProvidersResponse;
403
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProvidersResponse;
404
- static equals(a: GetProvidersResponse | PlainMessage<GetProvidersResponse> | undefined, b: GetProvidersResponse | PlainMessage<GetProvidersResponse> | undefined): boolean;
405
- }
406
- /**
407
- * @generated from message scalekit.v1.connections.Provider
408
- */
409
- export declare class Provider extends Message<Provider> {
410
- /**
411
- * @generated from field: string key_id = 1;
412
- */
413
- keyId: string;
414
- /**
415
- * @generated from field: string display_name = 2;
416
- */
417
- displayName: string;
418
- /**
419
- * @generated from field: optional string description = 3;
420
- */
421
- description?: string;
422
- constructor(data?: PartialMessage<Provider>);
423
- static readonly runtime: typeof proto3;
424
- static readonly typeName = "scalekit.v1.connections.Provider";
425
- static readonly fields: FieldList;
426
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Provider;
427
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Provider;
428
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Provider;
429
- static equals(a: Provider | PlainMessage<Provider> | undefined, b: Provider | PlainMessage<Provider> | undefined): boolean;
430
- }
431
- /**
432
- * @generated from message scalekit.v1.connections.CreateEnvironmentConnectionRequest
433
- */
434
- export declare class CreateEnvironmentConnectionRequest extends Message<CreateEnvironmentConnectionRequest> {
435
- /**
436
- * @generated from field: scalekit.v1.connections.CreateConnection connection = 1;
437
- */
438
- connection?: CreateConnection;
439
- /**
440
- * @generated from field: optional scalekit.v1.connections.Flags flags = 2;
441
- */
442
- flags?: Flags;
443
- constructor(data?: PartialMessage<CreateEnvironmentConnectionRequest>);
444
- static readonly runtime: typeof proto3;
445
- static readonly typeName = "scalekit.v1.connections.CreateEnvironmentConnectionRequest";
446
- static readonly fields: FieldList;
447
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateEnvironmentConnectionRequest;
448
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateEnvironmentConnectionRequest;
449
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateEnvironmentConnectionRequest;
450
- static equals(a: CreateEnvironmentConnectionRequest | PlainMessage<CreateEnvironmentConnectionRequest> | undefined, b: CreateEnvironmentConnectionRequest | PlainMessage<CreateEnvironmentConnectionRequest> | undefined): boolean;
451
- }
452
- /**
453
- * @generated from message scalekit.v1.connections.CreateConnectionRequest
454
- */
455
- export declare class CreateConnectionRequest extends Message<CreateConnectionRequest> {
456
- /**
457
- * @generated from field: string organization_id = 1;
458
- */
459
- organizationId: string;
460
- /**
461
- * @generated from field: scalekit.v1.connections.CreateConnection connection = 3;
462
- */
463
- connection?: CreateConnection;
464
- constructor(data?: PartialMessage<CreateConnectionRequest>);
465
- static readonly runtime: typeof proto3;
466
- static readonly typeName = "scalekit.v1.connections.CreateConnectionRequest";
467
- static readonly fields: FieldList;
468
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectionRequest;
469
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectionRequest;
470
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectionRequest;
471
- static equals(a: CreateConnectionRequest | PlainMessage<CreateConnectionRequest> | undefined, b: CreateConnectionRequest | PlainMessage<CreateConnectionRequest> | undefined): boolean;
472
- }
473
- /**
474
- * @generated from message scalekit.v1.connections.CreateConnection
475
- */
476
- export declare class CreateConnection extends Message<CreateConnection> {
477
- /**
478
- * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 1;
479
- */
480
- provider: ConnectionProvider;
481
- /**
482
- * @generated from field: scalekit.v1.connections.ConnectionType type = 2;
483
- */
484
- type: ConnectionType;
485
- /**
486
- * @generated from field: string provider_key = 3;
487
- */
488
- providerKey: string;
489
- /**
490
- * @generated from field: optional string key_id = 4;
491
- */
492
- keyId?: string;
493
- constructor(data?: PartialMessage<CreateConnection>);
494
- static readonly runtime: typeof proto3;
495
- static readonly typeName = "scalekit.v1.connections.CreateConnection";
496
- static readonly fields: FieldList;
497
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnection;
498
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnection;
499
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnection;
500
- static equals(a: CreateConnection | PlainMessage<CreateConnection> | undefined, b: CreateConnection | PlainMessage<CreateConnection> | undefined): boolean;
501
- }
502
- /**
503
- * @generated from message scalekit.v1.connections.Connection
504
- */
505
- export declare class Connection extends Message<Connection> {
506
- /**
507
- * @generated from field: string id = 1;
508
- */
509
- id: string;
510
- /**
511
- * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
512
- */
513
- provider: ConnectionProvider;
514
- /**
515
- * @generated from field: scalekit.v1.connections.ConnectionType type = 3;
516
- */
517
- type: ConnectionType;
518
- /**
519
- * @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
520
- */
521
- status: ConnectionStatus;
522
- /**
523
- * @generated from field: bool enabled = 5;
524
- */
525
- enabled: boolean;
526
- /**
527
- * @generated from field: bool debug_enabled = 6;
528
- */
529
- debugEnabled: boolean;
530
- /**
531
- * @generated from field: optional string organization_id = 7;
532
- */
533
- organizationId?: string;
534
- /**
535
- * @generated from field: string ui_button_title = 8;
536
- */
537
- uiButtonTitle: string;
538
- /**
539
- * @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 9;
540
- */
541
- configurationType: ConfigurationType;
542
- /**
543
- * @generated from field: string test_connection_uri = 12;
544
- */
545
- testConnectionUri: string;
546
- /**
547
- * @generated from field: map<string, string> attribute_mapping = 15;
548
- */
549
- attributeMapping: {
550
- [key: string]: string;
551
- };
552
- /**
553
- * @generated from field: google.protobuf.Timestamp create_time = 16;
554
- */
555
- createTime?: Timestamp;
205
+ createTime?: Timestamp;
556
206
  /**
557
207
  * @generated from field: google.protobuf.Timestamp update_time = 17;
558
208
  */
@@ -612,36 +262,30 @@ export declare class Connection extends Message<Connection> {
612
262
  * @generated from field: repeated scalekit.v1.domains.Domain domains = 24;
613
263
  */
614
264
  domains: Domain[];
615
- constructor(data?: PartialMessage<Connection>);
616
- static readonly runtime: typeof proto3;
617
- static readonly typeName = "scalekit.v1.connections.Connection";
618
- static readonly fields: FieldList;
619
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Connection;
620
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Connection;
621
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Connection;
622
- static equals(a: Connection | PlainMessage<Connection> | undefined, b: Connection | PlainMessage<Connection> | undefined): boolean;
623
- }
265
+ };
266
+ /**
267
+ * Describes the message scalekit.v1.connections.Connection.
268
+ * Use `create(ConnectionSchema)` to create a new message.
269
+ */
270
+ export declare const ConnectionSchema: GenMessage<Connection>;
624
271
  /**
625
272
  * @generated from message scalekit.v1.connections.CreateConnectionResponse
626
273
  */
627
- export declare class CreateConnectionResponse extends Message<CreateConnectionResponse> {
274
+ export type CreateConnectionResponse = Message<"scalekit.v1.connections.CreateConnectionResponse"> & {
628
275
  /**
629
276
  * @generated from field: scalekit.v1.connections.Connection connection = 1;
630
277
  */
631
278
  connection?: Connection;
632
- constructor(data?: PartialMessage<CreateConnectionResponse>);
633
- static readonly runtime: typeof proto3;
634
- static readonly typeName = "scalekit.v1.connections.CreateConnectionResponse";
635
- static readonly fields: FieldList;
636
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectionResponse;
637
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectionResponse;
638
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectionResponse;
639
- static equals(a: CreateConnectionResponse | PlainMessage<CreateConnectionResponse> | undefined, b: CreateConnectionResponse | PlainMessage<CreateConnectionResponse> | undefined): boolean;
640
- }
279
+ };
280
+ /**
281
+ * Describes the message scalekit.v1.connections.CreateConnectionResponse.
282
+ * Use `create(CreateConnectionResponseSchema)` to create a new message.
283
+ */
284
+ export declare const CreateConnectionResponseSchema: GenMessage<CreateConnectionResponse>;
641
285
  /**
642
286
  * @generated from message scalekit.v1.connections.UpdateEnvironmentConnectionRequest
643
287
  */
644
- export declare class UpdateEnvironmentConnectionRequest extends Message<UpdateEnvironmentConnectionRequest> {
288
+ export type UpdateEnvironmentConnectionRequest = Message<"scalekit.v1.connections.UpdateEnvironmentConnectionRequest"> & {
645
289
  /**
646
290
  * @generated from field: string connection_id = 1;
647
291
  */
@@ -650,19 +294,16 @@ export declare class UpdateEnvironmentConnectionRequest extends Message<UpdateEn
650
294
  * @generated from field: scalekit.v1.connections.UpdateConnection connection = 3;
651
295
  */
652
296
  connection?: UpdateConnection;
653
- constructor(data?: PartialMessage<UpdateEnvironmentConnectionRequest>);
654
- static readonly runtime: typeof proto3;
655
- static readonly typeName = "scalekit.v1.connections.UpdateEnvironmentConnectionRequest";
656
- static readonly fields: FieldList;
657
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateEnvironmentConnectionRequest;
658
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateEnvironmentConnectionRequest;
659
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateEnvironmentConnectionRequest;
660
- static equals(a: UpdateEnvironmentConnectionRequest | PlainMessage<UpdateEnvironmentConnectionRequest> | undefined, b: UpdateEnvironmentConnectionRequest | PlainMessage<UpdateEnvironmentConnectionRequest> | undefined): boolean;
661
- }
297
+ };
298
+ /**
299
+ * Describes the message scalekit.v1.connections.UpdateEnvironmentConnectionRequest.
300
+ * Use `create(UpdateEnvironmentConnectionRequestSchema)` to create a new message.
301
+ */
302
+ export declare const UpdateEnvironmentConnectionRequestSchema: GenMessage<UpdateEnvironmentConnectionRequest>;
662
303
  /**
663
304
  * @generated from message scalekit.v1.connections.UpdateConnectionRequest
664
305
  */
665
- export declare class UpdateConnectionRequest extends Message<UpdateConnectionRequest> {
306
+ export type UpdateConnectionRequest = Message<"scalekit.v1.connections.UpdateConnectionRequest"> & {
666
307
  /**
667
308
  * @generated from field: string organization_id = 1;
668
309
  */
@@ -675,19 +316,16 @@ export declare class UpdateConnectionRequest extends Message<UpdateConnectionReq
675
316
  * @generated from field: scalekit.v1.connections.UpdateConnection connection = 4;
676
317
  */
677
318
  connection?: UpdateConnection;
678
- constructor(data?: PartialMessage<UpdateConnectionRequest>);
679
- static readonly runtime: typeof proto3;
680
- static readonly typeName = "scalekit.v1.connections.UpdateConnectionRequest";
681
- static readonly fields: FieldList;
682
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionRequest;
683
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionRequest;
684
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionRequest;
685
- static equals(a: UpdateConnectionRequest | PlainMessage<UpdateConnectionRequest> | undefined, b: UpdateConnectionRequest | PlainMessage<UpdateConnectionRequest> | undefined): boolean;
686
- }
319
+ };
320
+ /**
321
+ * Describes the message scalekit.v1.connections.UpdateConnectionRequest.
322
+ * Use `create(UpdateConnectionRequestSchema)` to create a new message.
323
+ */
324
+ export declare const UpdateConnectionRequestSchema: GenMessage<UpdateConnectionRequest>;
687
325
  /**
688
326
  * @generated from message scalekit.v1.connections.UpdateConnection
689
327
  */
690
- export declare class UpdateConnection extends Message<UpdateConnection> {
328
+ export type UpdateConnection = Message<"scalekit.v1.connections.UpdateConnection"> & {
691
329
  /**
692
330
  * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
693
331
  */
@@ -765,53 +403,44 @@ export declare class UpdateConnection extends Message<UpdateConnection> {
765
403
  * @generated from field: string provider_key = 21;
766
404
  */
767
405
  providerKey: string;
768
- constructor(data?: PartialMessage<UpdateConnection>);
769
- static readonly runtime: typeof proto3;
770
- static readonly typeName = "scalekit.v1.connections.UpdateConnection";
771
- static readonly fields: FieldList;
772
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnection;
773
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnection;
774
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnection;
775
- static equals(a: UpdateConnection | PlainMessage<UpdateConnection> | undefined, b: UpdateConnection | PlainMessage<UpdateConnection> | undefined): boolean;
776
- }
406
+ };
407
+ /**
408
+ * Describes the message scalekit.v1.connections.UpdateConnection.
409
+ * Use `create(UpdateConnectionSchema)` to create a new message.
410
+ */
411
+ export declare const UpdateConnectionSchema: GenMessage<UpdateConnection>;
777
412
  /**
778
413
  * @generated from message scalekit.v1.connections.UpdateConnectionResponse
779
414
  */
780
- export declare class UpdateConnectionResponse extends Message<UpdateConnectionResponse> {
415
+ export type UpdateConnectionResponse = Message<"scalekit.v1.connections.UpdateConnectionResponse"> & {
781
416
  /**
782
417
  * @generated from field: scalekit.v1.connections.Connection connection = 1;
783
418
  */
784
419
  connection?: Connection;
785
- constructor(data?: PartialMessage<UpdateConnectionResponse>);
786
- static readonly runtime: typeof proto3;
787
- static readonly typeName = "scalekit.v1.connections.UpdateConnectionResponse";
788
- static readonly fields: FieldList;
789
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionResponse;
790
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionResponse;
791
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionResponse;
792
- static equals(a: UpdateConnectionResponse | PlainMessage<UpdateConnectionResponse> | undefined, b: UpdateConnectionResponse | PlainMessage<UpdateConnectionResponse> | undefined): boolean;
793
- }
420
+ };
421
+ /**
422
+ * Describes the message scalekit.v1.connections.UpdateConnectionResponse.
423
+ * Use `create(UpdateConnectionResponseSchema)` to create a new message.
424
+ */
425
+ export declare const UpdateConnectionResponseSchema: GenMessage<UpdateConnectionResponse>;
794
426
  /**
795
427
  * @generated from message scalekit.v1.connections.DeleteEnvironmentConnectionRequest
796
428
  */
797
- export declare class DeleteEnvironmentConnectionRequest extends Message<DeleteEnvironmentConnectionRequest> {
429
+ export type DeleteEnvironmentConnectionRequest = Message<"scalekit.v1.connections.DeleteEnvironmentConnectionRequest"> & {
798
430
  /**
799
431
  * @generated from field: string connection_id = 3;
800
432
  */
801
433
  connectionId: string;
802
- constructor(data?: PartialMessage<DeleteEnvironmentConnectionRequest>);
803
- static readonly runtime: typeof proto3;
804
- static readonly typeName = "scalekit.v1.connections.DeleteEnvironmentConnectionRequest";
805
- static readonly fields: FieldList;
806
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteEnvironmentConnectionRequest;
807
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteEnvironmentConnectionRequest;
808
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteEnvironmentConnectionRequest;
809
- static equals(a: DeleteEnvironmentConnectionRequest | PlainMessage<DeleteEnvironmentConnectionRequest> | undefined, b: DeleteEnvironmentConnectionRequest | PlainMessage<DeleteEnvironmentConnectionRequest> | undefined): boolean;
810
- }
434
+ };
435
+ /**
436
+ * Describes the message scalekit.v1.connections.DeleteEnvironmentConnectionRequest.
437
+ * Use `create(DeleteEnvironmentConnectionRequestSchema)` to create a new message.
438
+ */
439
+ export declare const DeleteEnvironmentConnectionRequestSchema: GenMessage<DeleteEnvironmentConnectionRequest>;
811
440
  /**
812
441
  * @generated from message scalekit.v1.connections.DeleteConnectionRequest
813
442
  */
814
- export declare class DeleteConnectionRequest extends Message<DeleteConnectionRequest> {
443
+ export type DeleteConnectionRequest = Message<"scalekit.v1.connections.DeleteConnectionRequest"> & {
815
444
  /**
816
445
  * @generated from field: string organization_id = 1;
817
446
  */
@@ -820,36 +449,30 @@ export declare class DeleteConnectionRequest extends Message<DeleteConnectionReq
820
449
  * @generated from field: string id = 3;
821
450
  */
822
451
  id: string;
823
- constructor(data?: PartialMessage<DeleteConnectionRequest>);
824
- static readonly runtime: typeof proto3;
825
- static readonly typeName = "scalekit.v1.connections.DeleteConnectionRequest";
826
- static readonly fields: FieldList;
827
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteConnectionRequest;
828
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteConnectionRequest;
829
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteConnectionRequest;
830
- static equals(a: DeleteConnectionRequest | PlainMessage<DeleteConnectionRequest> | undefined, b: DeleteConnectionRequest | PlainMessage<DeleteConnectionRequest> | undefined): boolean;
831
- }
452
+ };
453
+ /**
454
+ * Describes the message scalekit.v1.connections.DeleteConnectionRequest.
455
+ * Use `create(DeleteConnectionRequestSchema)` to create a new message.
456
+ */
457
+ export declare const DeleteConnectionRequestSchema: GenMessage<DeleteConnectionRequest>;
832
458
  /**
833
459
  * @generated from message scalekit.v1.connections.GetEnvironmentConnectionRequest
834
460
  */
835
- export declare class GetEnvironmentConnectionRequest extends Message<GetEnvironmentConnectionRequest> {
461
+ export type GetEnvironmentConnectionRequest = Message<"scalekit.v1.connections.GetEnvironmentConnectionRequest"> & {
836
462
  /**
837
463
  * @generated from field: string connection_id = 1;
838
464
  */
839
465
  connectionId: string;
840
- constructor(data?: PartialMessage<GetEnvironmentConnectionRequest>);
841
- static readonly runtime: typeof proto3;
842
- static readonly typeName = "scalekit.v1.connections.GetEnvironmentConnectionRequest";
843
- static readonly fields: FieldList;
844
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetEnvironmentConnectionRequest;
845
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetEnvironmentConnectionRequest;
846
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetEnvironmentConnectionRequest;
847
- static equals(a: GetEnvironmentConnectionRequest | PlainMessage<GetEnvironmentConnectionRequest> | undefined, b: GetEnvironmentConnectionRequest | PlainMessage<GetEnvironmentConnectionRequest> | undefined): boolean;
848
- }
466
+ };
849
467
  /**
850
- * @generated from message scalekit.v1.connections.GetConnectionRequest
468
+ * Describes the message scalekit.v1.connections.GetEnvironmentConnectionRequest.
469
+ * Use `create(GetEnvironmentConnectionRequestSchema)` to create a new message.
851
470
  */
852
- export declare class GetConnectionRequest extends Message<GetConnectionRequest> {
471
+ export declare const GetEnvironmentConnectionRequestSchema: GenMessage<GetEnvironmentConnectionRequest>;
472
+ /**
473
+ * @generated from message scalekit.v1.connections.GetConnectionRequest
474
+ */
475
+ export type GetConnectionRequest = Message<"scalekit.v1.connections.GetConnectionRequest"> & {
853
476
  /**
854
477
  * @generated from field: string organization_id = 1;
855
478
  */
@@ -858,1297 +481,1703 @@ export declare class GetConnectionRequest extends Message<GetConnectionRequest>
858
481
  * @generated from field: string id = 3;
859
482
  */
860
483
  id: string;
861
- constructor(data?: PartialMessage<GetConnectionRequest>);
862
- static readonly runtime: typeof proto3;
863
- static readonly typeName = "scalekit.v1.connections.GetConnectionRequest";
864
- static readonly fields: FieldList;
865
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionRequest;
866
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionRequest;
867
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionRequest;
868
- static equals(a: GetConnectionRequest | PlainMessage<GetConnectionRequest> | undefined, b: GetConnectionRequest | PlainMessage<GetConnectionRequest> | undefined): boolean;
869
- }
484
+ };
485
+ /**
486
+ * Describes the message scalekit.v1.connections.GetConnectionRequest.
487
+ * Use `create(GetConnectionRequestSchema)` to create a new message.
488
+ */
489
+ export declare const GetConnectionRequestSchema: GenMessage<GetConnectionRequest>;
870
490
  /**
871
491
  * @generated from message scalekit.v1.connections.GetConnectionResponse
872
492
  */
873
- export declare class GetConnectionResponse extends Message<GetConnectionResponse> {
493
+ export type GetConnectionResponse = Message<"scalekit.v1.connections.GetConnectionResponse"> & {
874
494
  /**
875
495
  * @generated from field: scalekit.v1.connections.Connection connection = 1;
876
496
  */
877
497
  connection?: Connection;
878
- constructor(data?: PartialMessage<GetConnectionResponse>);
879
- static readonly runtime: typeof proto3;
880
- static readonly typeName = "scalekit.v1.connections.GetConnectionResponse";
881
- static readonly fields: FieldList;
882
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionResponse;
883
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionResponse;
884
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionResponse;
885
- static equals(a: GetConnectionResponse | PlainMessage<GetConnectionResponse> | undefined, b: GetConnectionResponse | PlainMessage<GetConnectionResponse> | undefined): boolean;
886
- }
498
+ };
499
+ /**
500
+ * Describes the message scalekit.v1.connections.GetConnectionResponse.
501
+ * Use `create(GetConnectionResponseSchema)` to create a new message.
502
+ */
503
+ export declare const GetConnectionResponseSchema: GenMessage<GetConnectionResponse>;
887
504
  /**
888
505
  * @generated from message scalekit.v1.connections.ListConnectionsRequest
889
506
  */
890
- export declare class ListConnectionsRequest extends Message<ListConnectionsRequest> {
507
+ export type ListConnectionsRequest = Message<"scalekit.v1.connections.ListConnectionsRequest"> & {
891
508
  /**
892
509
  * @generated from field: optional string organization_id = 1;
893
510
  */
894
511
  organizationId?: string;
895
512
  /**
896
- * @generated from field: optional string domain = 3;
513
+ * @generated from field: optional string domain = 3;
514
+ */
515
+ domain?: string;
516
+ /**
517
+ * @generated from field: optional string include = 4;
518
+ */
519
+ include?: string;
520
+ };
521
+ /**
522
+ * Describes the message scalekit.v1.connections.ListConnectionsRequest.
523
+ * Use `create(ListConnectionsRequestSchema)` to create a new message.
524
+ */
525
+ export declare const ListConnectionsRequestSchema: GenMessage<ListConnectionsRequest>;
526
+ /**
527
+ * @generated from message scalekit.v1.connections.ListConnectionsResponse
528
+ */
529
+ export type ListConnectionsResponse = Message<"scalekit.v1.connections.ListConnectionsResponse"> & {
530
+ /**
531
+ * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
532
+ */
533
+ connections: ListConnection[];
534
+ };
535
+ /**
536
+ * Describes the message scalekit.v1.connections.ListConnectionsResponse.
537
+ * Use `create(ListConnectionsResponseSchema)` to create a new message.
538
+ */
539
+ export declare const ListConnectionsResponseSchema: GenMessage<ListConnectionsResponse>;
540
+ /**
541
+ * @generated from message scalekit.v1.connections.ListConnection
542
+ */
543
+ export type ListConnection = Message<"scalekit.v1.connections.ListConnection"> & {
544
+ /**
545
+ * @generated from field: string id = 1;
546
+ */
547
+ id: string;
548
+ /**
549
+ * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
550
+ */
551
+ provider: ConnectionProvider;
552
+ /**
553
+ * @generated from field: scalekit.v1.connections.ConnectionType type = 3;
554
+ */
555
+ type: ConnectionType;
556
+ /**
557
+ * @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
558
+ */
559
+ status: ConnectionStatus;
560
+ /**
561
+ * @generated from field: bool enabled = 5;
562
+ */
563
+ enabled: boolean;
564
+ /**
565
+ * @generated from field: string organization_id = 6;
566
+ */
567
+ organizationId: string;
568
+ /**
569
+ * @generated from field: string ui_button_title = 7;
570
+ */
571
+ uiButtonTitle: string;
572
+ /**
573
+ * @generated from field: repeated string domains = 8;
574
+ */
575
+ domains: string[];
576
+ /**
577
+ * @generated from field: string organization_name = 9;
578
+ */
579
+ organizationName: string;
580
+ /**
581
+ * @generated from field: string provider_key = 10;
582
+ */
583
+ providerKey: string;
584
+ /**
585
+ * @generated from field: string key_id = 11;
586
+ */
587
+ keyId: string;
588
+ /**
589
+ * @generated from field: google.protobuf.Timestamp created_at = 12;
590
+ */
591
+ createdAt?: Timestamp;
592
+ };
593
+ /**
594
+ * Describes the message scalekit.v1.connections.ListConnection.
595
+ * Use `create(ListConnectionSchema)` to create a new message.
596
+ */
597
+ export declare const ListConnectionSchema: GenMessage<ListConnection>;
598
+ /**
599
+ * @generated from message scalekit.v1.connections.ListOrganizationConnectionsRequest
600
+ */
601
+ export type ListOrganizationConnectionsRequest = Message<"scalekit.v1.connections.ListOrganizationConnectionsRequest"> & {
602
+ /**
603
+ * @generated from field: uint32 page_size = 1;
604
+ */
605
+ pageSize: number;
606
+ /**
607
+ * @generated from field: string page_token = 2;
608
+ */
609
+ pageToken: string;
610
+ };
611
+ /**
612
+ * Describes the message scalekit.v1.connections.ListOrganizationConnectionsRequest.
613
+ * Use `create(ListOrganizationConnectionsRequestSchema)` to create a new message.
614
+ */
615
+ export declare const ListOrganizationConnectionsRequestSchema: GenMessage<ListOrganizationConnectionsRequest>;
616
+ /**
617
+ * @generated from message scalekit.v1.connections.ListOrganizationConnectionsResponse
618
+ */
619
+ export type ListOrganizationConnectionsResponse = Message<"scalekit.v1.connections.ListOrganizationConnectionsResponse"> & {
620
+ /**
621
+ * @generated from field: string next_page_token = 1;
622
+ */
623
+ nextPageToken: string;
624
+ /**
625
+ * @generated from field: uint32 total_size = 2;
626
+ */
627
+ totalSize: number;
628
+ /**
629
+ * @generated from field: string prev_page_token = 3;
630
+ */
631
+ prevPageToken: string;
632
+ /**
633
+ * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
634
+ */
635
+ connections: ListConnection[];
636
+ };
637
+ /**
638
+ * Describes the message scalekit.v1.connections.ListOrganizationConnectionsResponse.
639
+ * Use `create(ListOrganizationConnectionsResponseSchema)` to create a new message.
640
+ */
641
+ export declare const ListOrganizationConnectionsResponseSchema: GenMessage<ListOrganizationConnectionsResponse>;
642
+ /**
643
+ * @generated from message scalekit.v1.connections.SearchOrganizationConnectionsRequest
644
+ */
645
+ export type SearchOrganizationConnectionsRequest = Message<"scalekit.v1.connections.SearchOrganizationConnectionsRequest"> & {
646
+ /**
647
+ * @generated from field: optional string query = 1;
648
+ */
649
+ query?: string;
650
+ /**
651
+ * @generated from field: optional string provider = 2;
652
+ */
653
+ provider?: string;
654
+ /**
655
+ * @generated from field: optional scalekit.v1.connections.ConnectionStatus status = 3;
656
+ */
657
+ status?: ConnectionStatus;
658
+ /**
659
+ * @generated from field: optional scalekit.v1.connections.ConnectionType connection_type = 4;
660
+ */
661
+ connectionType?: ConnectionType;
662
+ /**
663
+ * @generated from field: optional bool enabled = 7;
664
+ */
665
+ enabled?: boolean;
666
+ /**
667
+ * @generated from field: uint32 page_size = 5;
668
+ */
669
+ pageSize: number;
670
+ /**
671
+ * @generated from field: string page_token = 6;
672
+ */
673
+ pageToken: string;
674
+ };
675
+ /**
676
+ * Describes the message scalekit.v1.connections.SearchOrganizationConnectionsRequest.
677
+ * Use `create(SearchOrganizationConnectionsRequestSchema)` to create a new message.
678
+ */
679
+ export declare const SearchOrganizationConnectionsRequestSchema: GenMessage<SearchOrganizationConnectionsRequest>;
680
+ /**
681
+ * @generated from message scalekit.v1.connections.SearchOrganizationConnectionsResponse
682
+ */
683
+ export type SearchOrganizationConnectionsResponse = Message<"scalekit.v1.connections.SearchOrganizationConnectionsResponse"> & {
684
+ /**
685
+ * @generated from field: string next_page_token = 1;
686
+ */
687
+ nextPageToken: string;
688
+ /**
689
+ * @generated from field: uint32 total_size = 2;
690
+ */
691
+ totalSize: number;
692
+ /**
693
+ * @generated from field: string prev_page_token = 3;
694
+ */
695
+ prevPageToken: string;
696
+ /**
697
+ * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
698
+ */
699
+ connections: ListConnection[];
700
+ };
701
+ /**
702
+ * Describes the message scalekit.v1.connections.SearchOrganizationConnectionsResponse.
703
+ * Use `create(SearchOrganizationConnectionsResponseSchema)` to create a new message.
704
+ */
705
+ export declare const SearchOrganizationConnectionsResponseSchema: GenMessage<SearchOrganizationConnectionsResponse>;
706
+ /**
707
+ * @generated from message scalekit.v1.connections.ToggleEnvironmentConnectionRequest
708
+ */
709
+ export type ToggleEnvironmentConnectionRequest = Message<"scalekit.v1.connections.ToggleEnvironmentConnectionRequest"> & {
710
+ /**
711
+ * @generated from field: string connection_id = 2;
712
+ */
713
+ connectionId: string;
714
+ };
715
+ /**
716
+ * Describes the message scalekit.v1.connections.ToggleEnvironmentConnectionRequest.
717
+ * Use `create(ToggleEnvironmentConnectionRequestSchema)` to create a new message.
718
+ */
719
+ export declare const ToggleEnvironmentConnectionRequestSchema: GenMessage<ToggleEnvironmentConnectionRequest>;
720
+ /**
721
+ * @generated from message scalekit.v1.connections.ToggleConnectionRequest
722
+ */
723
+ export type ToggleConnectionRequest = Message<"scalekit.v1.connections.ToggleConnectionRequest"> & {
724
+ /**
725
+ * @generated from field: string organization_id = 1;
726
+ */
727
+ organizationId: string;
728
+ /**
729
+ * @generated from field: string id = 3;
730
+ */
731
+ id: string;
732
+ };
733
+ /**
734
+ * Describes the message scalekit.v1.connections.ToggleConnectionRequest.
735
+ * Use `create(ToggleConnectionRequestSchema)` to create a new message.
736
+ */
737
+ export declare const ToggleConnectionRequestSchema: GenMessage<ToggleConnectionRequest>;
738
+ /**
739
+ * @generated from message scalekit.v1.connections.ToggleConnectionResponse
740
+ */
741
+ export type ToggleConnectionResponse = Message<"scalekit.v1.connections.ToggleConnectionResponse"> & {
742
+ /**
743
+ * @generated from field: bool enabled = 1;
744
+ */
745
+ enabled: boolean;
746
+ /**
747
+ * @generated from field: optional string error_message = 2;
748
+ */
749
+ errorMessage?: string;
750
+ };
751
+ /**
752
+ * Describes the message scalekit.v1.connections.ToggleConnectionResponse.
753
+ * Use `create(ToggleConnectionResponseSchema)` to create a new message.
754
+ */
755
+ export declare const ToggleConnectionResponseSchema: GenMessage<ToggleConnectionResponse>;
756
+ /**
757
+ * @generated from message scalekit.v1.connections.OIDCConnectionConfig
758
+ */
759
+ export type OIDCConnectionConfig = Message<"scalekit.v1.connections.OIDCConnectionConfig"> & {
760
+ /**
761
+ * @generated from field: google.protobuf.StringValue issuer = 1;
762
+ */
763
+ issuer?: string;
764
+ /**
765
+ * @generated from field: google.protobuf.StringValue discovery_endpoint = 2;
766
+ */
767
+ discoveryEndpoint?: string;
768
+ /**
769
+ * @generated from field: google.protobuf.StringValue authorize_uri = 3;
770
+ */
771
+ authorizeUri?: string;
772
+ /**
773
+ * @generated from field: google.protobuf.StringValue token_uri = 4;
774
+ */
775
+ tokenUri?: string;
776
+ /**
777
+ * @generated from field: google.protobuf.StringValue user_info_uri = 5;
778
+ */
779
+ userInfoUri?: string;
780
+ /**
781
+ * @generated from field: google.protobuf.StringValue jwks_uri = 6;
782
+ */
783
+ jwksUri?: string;
784
+ /**
785
+ * @generated from field: google.protobuf.StringValue client_id = 8;
786
+ */
787
+ clientId?: string;
788
+ /**
789
+ * @generated from field: google.protobuf.StringValue client_secret = 9;
790
+ */
791
+ clientSecret?: string;
792
+ /**
793
+ * @generated from field: repeated scalekit.v1.connections.OIDCScope scopes = 10;
794
+ */
795
+ scopes: OIDCScope[];
796
+ /**
797
+ * @generated from field: scalekit.v1.connections.TokenAuthType token_auth_type = 11;
798
+ */
799
+ tokenAuthType: TokenAuthType;
800
+ /**
801
+ * @generated from field: string redirect_uri = 12;
802
+ */
803
+ redirectUri: string;
804
+ /**
805
+ * @generated from field: google.protobuf.BoolValue pkce_enabled = 13;
806
+ */
807
+ pkceEnabled?: boolean;
808
+ /**
809
+ * @generated from field: google.protobuf.BoolValue idp_logout_required = 14;
810
+ */
811
+ idpLogoutRequired?: boolean;
812
+ /**
813
+ * @generated from field: google.protobuf.StringValue post_logout_redirect_uri = 15;
814
+ */
815
+ postLogoutRedirectUri?: string;
816
+ /**
817
+ * @generated from field: google.protobuf.StringValue backchannel_logout_redirect_uri = 16;
818
+ */
819
+ backchannelLogoutRedirectUri?: string;
820
+ /**
821
+ * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 17;
822
+ */
823
+ syncUserProfileOnLogin?: boolean;
824
+ /**
825
+ * @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 18;
826
+ */
827
+ jitProvisioningWithSsoEnabled?: boolean;
828
+ };
829
+ /**
830
+ * Describes the message scalekit.v1.connections.OIDCConnectionConfig.
831
+ * Use `create(OIDCConnectionConfigSchema)` to create a new message.
832
+ */
833
+ export declare const OIDCConnectionConfigSchema: GenMessage<OIDCConnectionConfig>;
834
+ /**
835
+ * @generated from message scalekit.v1.connections.OAuthConnectionConfig
836
+ */
837
+ export type OAuthConnectionConfig = Message<"scalekit.v1.connections.OAuthConnectionConfig"> & {
838
+ /**
839
+ * @generated from field: google.protobuf.StringValue authorize_uri = 3;
840
+ */
841
+ authorizeUri?: string;
842
+ /**
843
+ * @generated from field: google.protobuf.StringValue token_uri = 4;
844
+ */
845
+ tokenUri?: string;
846
+ /**
847
+ * @generated from field: google.protobuf.StringValue user_info_uri = 5;
848
+ */
849
+ userInfoUri?: string;
850
+ /**
851
+ * @generated from field: google.protobuf.StringValue client_id = 8;
852
+ */
853
+ clientId?: string;
854
+ /**
855
+ * @generated from field: google.protobuf.StringValue client_secret = 9;
856
+ */
857
+ clientSecret?: string;
858
+ /**
859
+ * @generated from field: repeated string scopes = 10;
860
+ */
861
+ scopes: string[];
862
+ /**
863
+ * @generated from field: string redirect_uri = 12;
864
+ */
865
+ redirectUri: string;
866
+ /**
867
+ * @generated from field: google.protobuf.BoolValue pkce_enabled = 13;
868
+ */
869
+ pkceEnabled?: boolean;
870
+ /**
871
+ * @generated from field: google.protobuf.StringValue prompt = 14;
872
+ */
873
+ prompt?: string;
874
+ /**
875
+ * @generated from field: google.protobuf.BoolValue use_platform_creds = 15;
876
+ */
877
+ usePlatformCreds?: boolean;
878
+ /**
879
+ * @generated from field: google.protobuf.StringValue access_type = 16;
880
+ */
881
+ accessType?: string;
882
+ /**
883
+ * @generated from field: google.protobuf.StringValue custom_scope_name = 17;
884
+ */
885
+ customScopeName?: string;
886
+ /**
887
+ * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 18;
888
+ */
889
+ syncUserProfileOnLogin?: boolean;
890
+ };
891
+ /**
892
+ * Describes the message scalekit.v1.connections.OAuthConnectionConfig.
893
+ * Use `create(OAuthConnectionConfigSchema)` to create a new message.
894
+ */
895
+ export declare const OAuthConnectionConfigSchema: GenMessage<OAuthConnectionConfig>;
896
+ /**
897
+ * @generated from message scalekit.v1.connections.PasswordLessConfig
898
+ */
899
+ export type PasswordLessConfig = Message<"scalekit.v1.connections.PasswordLessConfig"> & {
900
+ /**
901
+ * @generated from field: scalekit.v1.connections.PasswordlessType type = 1;
902
+ */
903
+ type: PasswordlessType;
904
+ /**
905
+ * @generated from field: optional google.protobuf.UInt32Value frequency = 2;
906
+ */
907
+ frequency?: number;
908
+ /**
909
+ * @generated from field: optional google.protobuf.UInt32Value validity = 3;
910
+ */
911
+ validity?: number;
912
+ /**
913
+ * @generated from field: optional google.protobuf.BoolValue enforce_same_browser_origin = 4;
914
+ */
915
+ enforceSameBrowserOrigin?: boolean;
916
+ /**
917
+ * @generated from field: optional google.protobuf.UInt32Value code_challenge_length = 5;
918
+ */
919
+ codeChallengeLength?: number;
920
+ /**
921
+ * @generated from field: optional scalekit.v1.connections.CodeChallengeType code_challenge_type = 6;
922
+ */
923
+ codeChallengeType?: CodeChallengeType;
924
+ /**
925
+ * @generated from field: optional google.protobuf.BoolValue regenerate_passwordless_credentials_on_resend = 7;
926
+ */
927
+ regeneratePasswordlessCredentialsOnResend?: boolean;
928
+ };
929
+ /**
930
+ * Describes the message scalekit.v1.connections.PasswordLessConfig.
931
+ * Use `create(PasswordLessConfigSchema)` to create a new message.
932
+ */
933
+ export declare const PasswordLessConfigSchema: GenMessage<PasswordLessConfig>;
934
+ /**
935
+ * @generated from message scalekit.v1.connections.StaticAuthConfig
936
+ */
937
+ export type StaticAuthConfig = Message<"scalekit.v1.connections.StaticAuthConfig"> & {
938
+ /**
939
+ * @generated from field: google.protobuf.Struct static_config = 1;
940
+ */
941
+ staticConfig?: JsonObject;
942
+ };
943
+ /**
944
+ * Describes the message scalekit.v1.connections.StaticAuthConfig.
945
+ * Use `create(StaticAuthConfigSchema)` to create a new message.
946
+ */
947
+ export declare const StaticAuthConfigSchema: GenMessage<StaticAuthConfig>;
948
+ /**
949
+ * WebAuthConfiguration defines WebAuthn (passkeys) configuration limited to RP and Attestation
950
+ *
951
+ * @generated from message scalekit.v1.connections.WebAuthConfiguration
952
+ */
953
+ export type WebAuthConfiguration = Message<"scalekit.v1.connections.WebAuthConfiguration"> & {
954
+ /**
955
+ * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Rp rp = 1;
956
+ */
957
+ rp?: WebAuthConfiguration_Rp;
958
+ /**
959
+ * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Attestation attestation = 2;
960
+ */
961
+ attestation?: WebAuthConfiguration_Attestation;
962
+ /**
963
+ * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Authenticators authenticators = 3;
964
+ */
965
+ authenticators?: WebAuthConfiguration_Authenticators;
966
+ /**
967
+ * @generated from field: scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection authenticator_selection = 4;
968
+ */
969
+ authenticatorSelection?: WebAuthConfiguration_AuthenticatorSelection;
970
+ /**
971
+ * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Timeout timeout = 5;
972
+ */
973
+ timeout?: WebAuthConfiguration_Timeout;
974
+ /**
975
+ * @generated from field: bool enable_auto_registration = 6;
976
+ */
977
+ enableAutoRegistration: boolean;
978
+ /**
979
+ * @generated from field: bool show_passkey_button = 7;
980
+ */
981
+ showPasskeyButton: boolean;
982
+ /**
983
+ * @generated from field: bool enable_conditional_login = 8;
984
+ */
985
+ enableConditionalLogin: boolean;
986
+ };
987
+ /**
988
+ * Describes the message scalekit.v1.connections.WebAuthConfiguration.
989
+ * Use `create(WebAuthConfigurationSchema)` to create a new message.
990
+ */
991
+ export declare const WebAuthConfigurationSchema: GenMessage<WebAuthConfiguration>;
992
+ /**
993
+ * Rp contains relying party identifiers and origins
994
+ *
995
+ * @generated from message scalekit.v1.connections.WebAuthConfiguration.Rp
996
+ */
997
+ export type WebAuthConfiguration_Rp = Message<"scalekit.v1.connections.WebAuthConfiguration.Rp"> & {
998
+ /**
999
+ * Relying party IDs (derived from environment domain and verified custom domain)
1000
+ * At least one required; must be hostnames without scheme or path
1001
+ *
1002
+ * @generated from field: repeated string ids = 1;
1003
+ */
1004
+ ids: string[];
1005
+ /**
1006
+ * Allowed origins corresponding to the RP IDs (https://<domain>)
1007
+ * At least one required; must be HTTPS origins
1008
+ *
1009
+ * @generated from field: repeated string origins = 2;
1010
+ */
1011
+ origins: string[];
1012
+ };
1013
+ /**
1014
+ * Describes the message scalekit.v1.connections.WebAuthConfiguration.Rp.
1015
+ * Use `create(WebAuthConfiguration_RpSchema)` to create a new message.
1016
+ */
1017
+ export declare const WebAuthConfiguration_RpSchema: GenMessage<WebAuthConfiguration_Rp>;
1018
+ /**
1019
+ * Attestation preferences for registration
1020
+ *
1021
+ * @generated from message scalekit.v1.connections.WebAuthConfiguration.Attestation
1022
+ */
1023
+ export type WebAuthConfiguration_Attestation = Message<"scalekit.v1.connections.WebAuthConfiguration.Attestation"> & {
1024
+ /**
1025
+ * Conveyance preference
1026
+ *
1027
+ * @generated from field: google.protobuf.StringValue conveyance_preference = 1;
1028
+ */
1029
+ conveyancePreference?: string;
1030
+ /**
1031
+ * Enterprise-approved IDs (optional allowlist when enterprise attestation is used)
1032
+ *
1033
+ * @generated from field: repeated string enterprise_approved_ids = 2;
1034
+ */
1035
+ enterpriseApprovedIds: string[];
1036
+ };
1037
+ /**
1038
+ * Describes the message scalekit.v1.connections.WebAuthConfiguration.Attestation.
1039
+ * Use `create(WebAuthConfiguration_AttestationSchema)` to create a new message.
1040
+ */
1041
+ export declare const WebAuthConfiguration_AttestationSchema: GenMessage<WebAuthConfiguration_Attestation>;
1042
+ /**
1043
+ * @generated from message scalekit.v1.connections.WebAuthConfiguration.Authenticators
1044
+ */
1045
+ export type WebAuthConfiguration_Authenticators = Message<"scalekit.v1.connections.WebAuthConfiguration.Authenticators"> & {
1046
+ /**
1047
+ * @generated from field: google.protobuf.BoolValue validate_entry = 1;
1048
+ */
1049
+ validateEntry?: boolean;
1050
+ /**
1051
+ * @generated from field: google.protobuf.BoolValue validate_entry_permit_zero_aaguid = 2;
1052
+ */
1053
+ validateEntryPermitZeroAaguid?: boolean;
1054
+ /**
1055
+ * @generated from field: google.protobuf.BoolValue validate_anchors = 3;
1056
+ */
1057
+ validateAnchors?: boolean;
1058
+ /**
1059
+ * @generated from field: google.protobuf.BoolValue validate_status = 4;
1060
+ */
1061
+ validateStatus?: boolean;
1062
+ /**
1063
+ * @generated from field: google.protobuf.BoolValue validate_attestation_type = 5;
1064
+ */
1065
+ validateAttestationType?: boolean;
1066
+ /**
1067
+ * @generated from field: repeated string desired_authenticator_status = 6;
1068
+ */
1069
+ desiredAuthenticatorStatus: string[];
1070
+ /**
1071
+ * @generated from field: repeated string undesired_authenticator_status = 7;
1072
+ */
1073
+ undesiredAuthenticatorStatus: string[];
1074
+ };
1075
+ /**
1076
+ * Describes the message scalekit.v1.connections.WebAuthConfiguration.Authenticators.
1077
+ * Use `create(WebAuthConfiguration_AuthenticatorsSchema)` to create a new message.
1078
+ */
1079
+ export declare const WebAuthConfiguration_AuthenticatorsSchema: GenMessage<WebAuthConfiguration_Authenticators>;
1080
+ /**
1081
+ * @generated from message scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection
1082
+ */
1083
+ export type WebAuthConfiguration_AuthenticatorSelection = Message<"scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection"> & {
1084
+ /**
1085
+ * User verification requirement
1086
+ *
1087
+ * @generated from field: google.protobuf.StringValue user_verification = 1;
897
1088
  */
898
- domain?: string;
1089
+ userVerification?: string;
899
1090
  /**
900
- * @generated from field: optional string include = 4;
1091
+ * @generated from field: google.protobuf.StringValue authenticator_attachment = 2;
901
1092
  */
902
- include?: string;
903
- constructor(data?: PartialMessage<ListConnectionsRequest>);
904
- static readonly runtime: typeof proto3;
905
- static readonly typeName = "scalekit.v1.connections.ListConnectionsRequest";
906
- static readonly fields: FieldList;
907
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectionsRequest;
908
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectionsRequest;
909
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectionsRequest;
910
- static equals(a: ListConnectionsRequest | PlainMessage<ListConnectionsRequest> | undefined, b: ListConnectionsRequest | PlainMessage<ListConnectionsRequest> | undefined): boolean;
911
- }
1093
+ authenticatorAttachment?: string;
1094
+ };
912
1095
  /**
913
- * @generated from message scalekit.v1.connections.ListConnectionsResponse
1096
+ * Describes the message scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection.
1097
+ * Use `create(WebAuthConfiguration_AuthenticatorSelectionSchema)` to create a new message.
914
1098
  */
915
- export declare class ListConnectionsResponse extends Message<ListConnectionsResponse> {
916
- /**
917
- * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
918
- */
919
- connections: ListConnection[];
920
- constructor(data?: PartialMessage<ListConnectionsResponse>);
921
- static readonly runtime: typeof proto3;
922
- static readonly typeName = "scalekit.v1.connections.ListConnectionsResponse";
923
- static readonly fields: FieldList;
924
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectionsResponse;
925
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectionsResponse;
926
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectionsResponse;
927
- static equals(a: ListConnectionsResponse | PlainMessage<ListConnectionsResponse> | undefined, b: ListConnectionsResponse | PlainMessage<ListConnectionsResponse> | undefined): boolean;
928
- }
1099
+ export declare const WebAuthConfiguration_AuthenticatorSelectionSchema: GenMessage<WebAuthConfiguration_AuthenticatorSelection>;
929
1100
  /**
930
- * @generated from message scalekit.v1.connections.ListConnection
1101
+ * @generated from message scalekit.v1.connections.WebAuthConfiguration.Timeout
931
1102
  */
932
- export declare class ListConnection extends Message<ListConnection> {
1103
+ export type WebAuthConfiguration_Timeout = Message<"scalekit.v1.connections.WebAuthConfiguration.Timeout"> & {
933
1104
  /**
934
- * @generated from field: string id = 1;
1105
+ * @generated from field: google.protobuf.Duration registration = 1;
935
1106
  */
936
- id: string;
1107
+ registration?: Duration;
937
1108
  /**
938
- * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
1109
+ * @generated from field: google.protobuf.Duration registration_uvd = 2;
939
1110
  */
940
- provider: ConnectionProvider;
1111
+ registrationUvd?: Duration;
941
1112
  /**
942
- * @generated from field: scalekit.v1.connections.ConnectionType type = 3;
1113
+ * @generated from field: google.protobuf.Duration login = 3;
943
1114
  */
944
- type: ConnectionType;
1115
+ login?: Duration;
945
1116
  /**
946
- * @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
1117
+ * @generated from field: google.protobuf.Duration login_uvd = 4;
947
1118
  */
948
- status: ConnectionStatus;
1119
+ loginUvd?: Duration;
1120
+ };
1121
+ /**
1122
+ * Describes the message scalekit.v1.connections.WebAuthConfiguration.Timeout.
1123
+ * Use `create(WebAuthConfiguration_TimeoutSchema)` to create a new message.
1124
+ */
1125
+ export declare const WebAuthConfiguration_TimeoutSchema: GenMessage<WebAuthConfiguration_Timeout>;
1126
+ /**
1127
+ * @generated from message scalekit.v1.connections.SAMLConnectionConfigRequest
1128
+ */
1129
+ export type SAMLConnectionConfigRequest = Message<"scalekit.v1.connections.SAMLConnectionConfigRequest"> & {
949
1130
  /**
950
- * @generated from field: bool enabled = 5;
1131
+ * @generated from field: google.protobuf.StringValue idp_metadata_url = 1;
951
1132
  */
952
- enabled: boolean;
1133
+ idpMetadataUrl?: string;
953
1134
  /**
954
- * @generated from field: string organization_id = 6;
1135
+ * @generated from field: google.protobuf.StringValue idp_entity_id = 2;
955
1136
  */
956
- organizationId: string;
1137
+ idpEntityId?: string;
957
1138
  /**
958
- * @generated from field: string ui_button_title = 7;
1139
+ * @generated from field: google.protobuf.StringValue idp_sso_url = 3;
959
1140
  */
960
- uiButtonTitle: string;
1141
+ idpSsoUrl?: string;
961
1142
  /**
962
- * @generated from field: repeated string domains = 8;
1143
+ * @generated from field: google.protobuf.StringValue idp_certificate = 4;
963
1144
  */
964
- domains: string[];
1145
+ idpCertificate?: string;
965
1146
  /**
966
- * @generated from field: string organization_name = 9;
1147
+ * @generated from field: google.protobuf.StringValue idp_slo_url = 5;
967
1148
  */
968
- organizationName: string;
1149
+ idpSloUrl?: string;
969
1150
  /**
970
- * @generated from field: string provider_key = 10;
1151
+ * @generated from field: google.protobuf.StringValue ui_button_title = 6;
971
1152
  */
972
- providerKey: string;
1153
+ uiButtonTitle?: string;
973
1154
  /**
974
- * @generated from field: string key_id = 11;
1155
+ * @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 7;
975
1156
  */
976
- keyId: string;
1157
+ idpNameIdFormat: NameIdFormat;
977
1158
  /**
978
- * @generated from field: google.protobuf.Timestamp created_at = 12;
1159
+ * @generated from field: scalekit.v1.connections.RequestBinding idp_sso_request_binding = 8;
979
1160
  */
980
- createdAt?: Timestamp;
981
- constructor(data?: PartialMessage<ListConnection>);
982
- static readonly runtime: typeof proto3;
983
- static readonly typeName = "scalekit.v1.connections.ListConnection";
984
- static readonly fields: FieldList;
985
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnection;
986
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnection;
987
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnection;
988
- static equals(a: ListConnection | PlainMessage<ListConnection> | undefined, b: ListConnection | PlainMessage<ListConnection> | undefined): boolean;
989
- }
990
- /**
991
- * @generated from message scalekit.v1.connections.ListOrganizationConnectionsRequest
992
- */
993
- export declare class ListOrganizationConnectionsRequest extends Message<ListOrganizationConnectionsRequest> {
1161
+ idpSsoRequestBinding: RequestBinding;
994
1162
  /**
995
- * @generated from field: uint32 page_size = 1;
1163
+ * @generated from field: scalekit.v1.connections.RequestBinding idp_slo_request_binding = 9;
996
1164
  */
997
- pageSize: number;
1165
+ idpSloRequestBinding: RequestBinding;
998
1166
  /**
999
- * @generated from field: string page_token = 2;
1167
+ * @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 10;
1000
1168
  */
1001
- pageToken: string;
1002
- constructor(data?: PartialMessage<ListOrganizationConnectionsRequest>);
1003
- static readonly runtime: typeof proto3;
1004
- static readonly typeName = "scalekit.v1.connections.ListOrganizationConnectionsRequest";
1005
- static readonly fields: FieldList;
1006
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationConnectionsRequest;
1007
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsRequest;
1008
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsRequest;
1009
- static equals(a: ListOrganizationConnectionsRequest | PlainMessage<ListOrganizationConnectionsRequest> | undefined, b: ListOrganizationConnectionsRequest | PlainMessage<ListOrganizationConnectionsRequest> | undefined): boolean;
1010
- }
1011
- /**
1012
- * @generated from message scalekit.v1.connections.ListOrganizationConnectionsResponse
1013
- */
1014
- export declare class ListOrganizationConnectionsResponse extends Message<ListOrganizationConnectionsResponse> {
1169
+ samlSigningOption: SAMLSigningOptions;
1015
1170
  /**
1016
- * @generated from field: string next_page_token = 1;
1171
+ * @generated from field: google.protobuf.BoolValue force_authn = 14;
1017
1172
  */
1018
- nextPageToken: string;
1173
+ forceAuthn?: boolean;
1019
1174
  /**
1020
- * @generated from field: uint32 total_size = 2;
1175
+ * @generated from field: google.protobuf.StringValue default_redirect_uri = 15;
1021
1176
  */
1022
- totalSize: number;
1177
+ defaultRedirectUri?: string;
1023
1178
  /**
1024
- * @generated from field: string prev_page_token = 3;
1179
+ * @generated from field: google.protobuf.BoolValue assertion_encrypted = 16;
1025
1180
  */
1026
- prevPageToken: string;
1181
+ assertionEncrypted?: boolean;
1027
1182
  /**
1028
- * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
1183
+ * @generated from field: google.protobuf.BoolValue want_request_signed = 17;
1029
1184
  */
1030
- connections: ListConnection[];
1031
- constructor(data?: PartialMessage<ListOrganizationConnectionsResponse>);
1032
- static readonly runtime: typeof proto3;
1033
- static readonly typeName = "scalekit.v1.connections.ListOrganizationConnectionsResponse";
1034
- static readonly fields: FieldList;
1035
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationConnectionsResponse;
1036
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsResponse;
1037
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsResponse;
1038
- static equals(a: ListOrganizationConnectionsResponse | PlainMessage<ListOrganizationConnectionsResponse> | undefined, b: ListOrganizationConnectionsResponse | PlainMessage<ListOrganizationConnectionsResponse> | undefined): boolean;
1039
- }
1040
- /**
1041
- * @generated from message scalekit.v1.connections.SearchOrganizationConnectionsRequest
1042
- */
1043
- export declare class SearchOrganizationConnectionsRequest extends Message<SearchOrganizationConnectionsRequest> {
1185
+ wantRequestSigned?: boolean;
1044
1186
  /**
1045
- * @generated from field: optional string query = 1;
1187
+ * @generated from field: google.protobuf.StringValue certificate_id = 18;
1046
1188
  */
1047
- query?: string;
1189
+ certificateId?: string;
1048
1190
  /**
1049
- * @generated from field: optional string provider = 2;
1191
+ * @generated from field: google.protobuf.BoolValue idp_slo_required = 19;
1050
1192
  */
1051
- provider?: string;
1193
+ idpSloRequired?: boolean;
1052
1194
  /**
1053
- * @generated from field: optional scalekit.v1.connections.ConnectionStatus status = 3;
1195
+ * @generated from field: google.protobuf.StringValue sp_entity_id = 20;
1054
1196
  */
1055
- status?: ConnectionStatus;
1197
+ spEntityId?: string;
1056
1198
  /**
1057
- * @generated from field: optional scalekit.v1.connections.ConnectionType connection_type = 4;
1199
+ * @generated from field: google.protobuf.StringValue sp_assertion_url = 21;
1058
1200
  */
1059
- connectionType?: ConnectionType;
1201
+ spAssertionUrl?: string;
1060
1202
  /**
1061
- * @generated from field: optional bool enabled = 7;
1203
+ * @generated from field: google.protobuf.StringValue sp_slo_url = 22;
1062
1204
  */
1063
- enabled?: boolean;
1205
+ spSloUrl?: string;
1064
1206
  /**
1065
- * @generated from field: uint32 page_size = 5;
1207
+ * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 23;
1066
1208
  */
1067
- pageSize: number;
1209
+ syncUserProfileOnLogin?: boolean;
1068
1210
  /**
1069
- * @generated from field: string page_token = 6;
1211
+ * @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 24;
1070
1212
  */
1071
- pageToken: string;
1072
- constructor(data?: PartialMessage<SearchOrganizationConnectionsRequest>);
1073
- static readonly runtime: typeof proto3;
1074
- static readonly typeName = "scalekit.v1.connections.SearchOrganizationConnectionsRequest";
1075
- static readonly fields: FieldList;
1076
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationConnectionsRequest;
1077
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsRequest;
1078
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsRequest;
1079
- static equals(a: SearchOrganizationConnectionsRequest | PlainMessage<SearchOrganizationConnectionsRequest> | undefined, b: SearchOrganizationConnectionsRequest | PlainMessage<SearchOrganizationConnectionsRequest> | undefined): boolean;
1080
- }
1213
+ jitProvisioningWithSsoEnabled?: boolean;
1214
+ };
1081
1215
  /**
1082
- * @generated from message scalekit.v1.connections.SearchOrganizationConnectionsResponse
1216
+ * Describes the message scalekit.v1.connections.SAMLConnectionConfigRequest.
1217
+ * Use `create(SAMLConnectionConfigRequestSchema)` to create a new message.
1083
1218
  */
1084
- export declare class SearchOrganizationConnectionsResponse extends Message<SearchOrganizationConnectionsResponse> {
1085
- /**
1086
- * @generated from field: string next_page_token = 1;
1087
- */
1088
- nextPageToken: string;
1089
- /**
1090
- * @generated from field: uint32 total_size = 2;
1091
- */
1092
- totalSize: number;
1093
- /**
1094
- * @generated from field: string prev_page_token = 3;
1095
- */
1096
- prevPageToken: string;
1097
- /**
1098
- * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
1099
- */
1100
- connections: ListConnection[];
1101
- constructor(data?: PartialMessage<SearchOrganizationConnectionsResponse>);
1102
- static readonly runtime: typeof proto3;
1103
- static readonly typeName = "scalekit.v1.connections.SearchOrganizationConnectionsResponse";
1104
- static readonly fields: FieldList;
1105
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationConnectionsResponse;
1106
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsResponse;
1107
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsResponse;
1108
- static equals(a: SearchOrganizationConnectionsResponse | PlainMessage<SearchOrganizationConnectionsResponse> | undefined, b: SearchOrganizationConnectionsResponse | PlainMessage<SearchOrganizationConnectionsResponse> | undefined): boolean;
1109
- }
1219
+ export declare const SAMLConnectionConfigRequestSchema: GenMessage<SAMLConnectionConfigRequest>;
1110
1220
  /**
1111
- * @generated from message scalekit.v1.connections.ToggleEnvironmentConnectionRequest
1221
+ * @generated from message scalekit.v1.connections.SAMLConnectionConfigResponse
1112
1222
  */
1113
- export declare class ToggleEnvironmentConnectionRequest extends Message<ToggleEnvironmentConnectionRequest> {
1223
+ export type SAMLConnectionConfigResponse = Message<"scalekit.v1.connections.SAMLConnectionConfigResponse"> & {
1114
1224
  /**
1115
- * @generated from field: string connection_id = 2;
1225
+ * @generated from field: string sp_entity_id = 1;
1116
1226
  */
1117
- connectionId: string;
1118
- constructor(data?: PartialMessage<ToggleEnvironmentConnectionRequest>);
1119
- static readonly runtime: typeof proto3;
1120
- static readonly typeName = "scalekit.v1.connections.ToggleEnvironmentConnectionRequest";
1121
- static readonly fields: FieldList;
1122
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleEnvironmentConnectionRequest;
1123
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleEnvironmentConnectionRequest;
1124
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleEnvironmentConnectionRequest;
1125
- static equals(a: ToggleEnvironmentConnectionRequest | PlainMessage<ToggleEnvironmentConnectionRequest> | undefined, b: ToggleEnvironmentConnectionRequest | PlainMessage<ToggleEnvironmentConnectionRequest> | undefined): boolean;
1126
- }
1127
- /**
1128
- * @generated from message scalekit.v1.connections.ToggleConnectionRequest
1129
- */
1130
- export declare class ToggleConnectionRequest extends Message<ToggleConnectionRequest> {
1227
+ spEntityId: string;
1131
1228
  /**
1132
- * @generated from field: string organization_id = 1;
1229
+ * @generated from field: string sp_assertion_url = 2;
1133
1230
  */
1134
- organizationId: string;
1231
+ spAssertionUrl: string;
1135
1232
  /**
1136
- * @generated from field: string id = 3;
1233
+ * @generated from field: string sp_metadata_url = 3;
1137
1234
  */
1138
- id: string;
1139
- constructor(data?: PartialMessage<ToggleConnectionRequest>);
1140
- static readonly runtime: typeof proto3;
1141
- static readonly typeName = "scalekit.v1.connections.ToggleConnectionRequest";
1142
- static readonly fields: FieldList;
1143
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleConnectionRequest;
1144
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleConnectionRequest;
1145
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleConnectionRequest;
1146
- static equals(a: ToggleConnectionRequest | PlainMessage<ToggleConnectionRequest> | undefined, b: ToggleConnectionRequest | PlainMessage<ToggleConnectionRequest> | undefined): boolean;
1147
- }
1148
- /**
1149
- * @generated from message scalekit.v1.connections.ToggleConnectionResponse
1150
- */
1151
- export declare class ToggleConnectionResponse extends Message<ToggleConnectionResponse> {
1235
+ spMetadataUrl: string;
1152
1236
  /**
1153
- * @generated from field: bool enabled = 1;
1237
+ * @generated from field: google.protobuf.StringValue idp_metadata_url = 4;
1154
1238
  */
1155
- enabled: boolean;
1239
+ idpMetadataUrl?: string;
1156
1240
  /**
1157
- * @generated from field: optional string error_message = 2;
1241
+ * @generated from field: google.protobuf.StringValue idp_entity_id = 5;
1158
1242
  */
1159
- errorMessage?: string;
1160
- constructor(data?: PartialMessage<ToggleConnectionResponse>);
1161
- static readonly runtime: typeof proto3;
1162
- static readonly typeName = "scalekit.v1.connections.ToggleConnectionResponse";
1163
- static readonly fields: FieldList;
1164
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleConnectionResponse;
1165
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleConnectionResponse;
1166
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleConnectionResponse;
1167
- static equals(a: ToggleConnectionResponse | PlainMessage<ToggleConnectionResponse> | undefined, b: ToggleConnectionResponse | PlainMessage<ToggleConnectionResponse> | undefined): boolean;
1168
- }
1169
- /**
1170
- * @generated from message scalekit.v1.connections.OIDCConnectionConfig
1171
- */
1172
- export declare class OIDCConnectionConfig extends Message<OIDCConnectionConfig> {
1243
+ idpEntityId?: string;
1173
1244
  /**
1174
- * @generated from field: google.protobuf.StringValue issuer = 1;
1245
+ * @generated from field: google.protobuf.StringValue idp_sso_url = 6;
1175
1246
  */
1176
- issuer?: string;
1247
+ idpSsoUrl?: string;
1177
1248
  /**
1178
- * @generated from field: google.protobuf.StringValue discovery_endpoint = 2;
1249
+ * @generated from field: repeated scalekit.v1.connections.IDPCertificate idp_certificates = 7;
1179
1250
  */
1180
- discoveryEndpoint?: string;
1251
+ idpCertificates: IDPCertificate[];
1181
1252
  /**
1182
- * @generated from field: google.protobuf.StringValue authorize_uri = 3;
1253
+ * @generated from field: google.protobuf.StringValue idp_slo_url = 8;
1183
1254
  */
1184
- authorizeUri?: string;
1255
+ idpSloUrl?: string;
1185
1256
  /**
1186
- * @generated from field: google.protobuf.StringValue token_uri = 4;
1257
+ * @generated from field: google.protobuf.StringValue ui_button_title = 9;
1187
1258
  */
1188
- tokenUri?: string;
1259
+ uiButtonTitle?: string;
1189
1260
  /**
1190
- * @generated from field: google.protobuf.StringValue user_info_uri = 5;
1261
+ * @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 10;
1191
1262
  */
1192
- userInfoUri?: string;
1263
+ idpNameIdFormat: NameIdFormat;
1193
1264
  /**
1194
- * @generated from field: google.protobuf.StringValue jwks_uri = 6;
1265
+ * @generated from field: scalekit.v1.connections.RequestBinding idp_sso_request_binding = 11;
1195
1266
  */
1196
- jwksUri?: string;
1267
+ idpSsoRequestBinding: RequestBinding;
1197
1268
  /**
1198
- * @generated from field: google.protobuf.StringValue client_id = 8;
1269
+ * @generated from field: scalekit.v1.connections.RequestBinding idp_slo_request_binding = 12;
1199
1270
  */
1200
- clientId?: string;
1271
+ idpSloRequestBinding: RequestBinding;
1201
1272
  /**
1202
- * @generated from field: google.protobuf.StringValue client_secret = 9;
1273
+ * @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 13;
1203
1274
  */
1204
- clientSecret?: string;
1275
+ samlSigningOption: SAMLSigningOptions;
1205
1276
  /**
1206
- * @generated from field: repeated scalekit.v1.connections.OIDCScope scopes = 10;
1277
+ * @generated from field: google.protobuf.BoolValue allow_idp_initiated_login = 14;
1207
1278
  */
1208
- scopes: OIDCScope[];
1279
+ allowIdpInitiatedLogin?: boolean;
1209
1280
  /**
1210
- * @generated from field: scalekit.v1.connections.TokenAuthType token_auth_type = 11;
1281
+ * @generated from field: google.protobuf.BoolValue force_authn = 15;
1211
1282
  */
1212
- tokenAuthType: TokenAuthType;
1283
+ forceAuthn?: boolean;
1213
1284
  /**
1214
- * @generated from field: string redirect_uri = 12;
1285
+ * @generated from field: google.protobuf.StringValue default_redirect_uri = 16;
1215
1286
  */
1216
- redirectUri: string;
1287
+ defaultRedirectUri?: string;
1217
1288
  /**
1218
- * @generated from field: google.protobuf.BoolValue pkce_enabled = 13;
1289
+ * @generated from field: google.protobuf.BoolValue assertion_encrypted = 17;
1219
1290
  */
1220
- pkceEnabled?: boolean;
1291
+ assertionEncrypted?: boolean;
1221
1292
  /**
1222
- * @generated from field: google.protobuf.BoolValue idp_logout_required = 14;
1293
+ * @generated from field: google.protobuf.BoolValue want_request_signed = 18;
1223
1294
  */
1224
- idpLogoutRequired?: boolean;
1295
+ wantRequestSigned?: boolean;
1225
1296
  /**
1226
- * @generated from field: google.protobuf.StringValue post_logout_redirect_uri = 15;
1297
+ * @generated from field: google.protobuf.StringValue certificate_id = 19;
1227
1298
  */
1228
- postLogoutRedirectUri?: string;
1299
+ certificateId?: string;
1229
1300
  /**
1230
- * @generated from field: google.protobuf.StringValue backchannel_logout_redirect_uri = 16;
1301
+ * @generated from field: google.protobuf.BoolValue idp_slo_required = 20;
1231
1302
  */
1232
- backchannelLogoutRedirectUri?: string;
1303
+ idpSloRequired?: boolean;
1304
+ /**
1305
+ * @generated from field: google.protobuf.StringValue sp_slo_url = 21;
1306
+ */
1307
+ spSloUrl?: string;
1233
1308
  /**
1234
- * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 17;
1309
+ * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 22;
1235
1310
  */
1236
1311
  syncUserProfileOnLogin?: boolean;
1237
1312
  /**
1238
- * @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 18;
1313
+ * @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 23;
1239
1314
  */
1240
1315
  jitProvisioningWithSsoEnabled?: boolean;
1241
- constructor(data?: PartialMessage<OIDCConnectionConfig>);
1242
- static readonly runtime: typeof proto3;
1243
- static readonly typeName = "scalekit.v1.connections.OIDCConnectionConfig";
1244
- static readonly fields: FieldList;
1245
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OIDCConnectionConfig;
1246
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OIDCConnectionConfig;
1247
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OIDCConnectionConfig;
1248
- static equals(a: OIDCConnectionConfig | PlainMessage<OIDCConnectionConfig> | undefined, b: OIDCConnectionConfig | PlainMessage<OIDCConnectionConfig> | undefined): boolean;
1249
- }
1316
+ };
1250
1317
  /**
1251
- * @generated from message scalekit.v1.connections.OAuthConnectionConfig
1318
+ * Describes the message scalekit.v1.connections.SAMLConnectionConfigResponse.
1319
+ * Use `create(SAMLConnectionConfigResponseSchema)` to create a new message.
1320
+ */
1321
+ export declare const SAMLConnectionConfigResponseSchema: GenMessage<SAMLConnectionConfigResponse>;
1322
+ /**
1323
+ * @generated from message scalekit.v1.connections.IDPCertificate
1252
1324
  */
1253
- export declare class OAuthConnectionConfig extends Message<OAuthConnectionConfig> {
1325
+ export type IDPCertificate = Message<"scalekit.v1.connections.IDPCertificate"> & {
1254
1326
  /**
1255
- * @generated from field: google.protobuf.StringValue authorize_uri = 3;
1327
+ * @generated from field: string certificate = 1;
1256
1328
  */
1257
- authorizeUri?: string;
1329
+ certificate: string;
1258
1330
  /**
1259
- * @generated from field: google.protobuf.StringValue token_uri = 4;
1331
+ * @generated from field: google.protobuf.Timestamp create_time = 2;
1260
1332
  */
1261
- tokenUri?: string;
1333
+ createTime?: Timestamp;
1262
1334
  /**
1263
- * @generated from field: google.protobuf.StringValue user_info_uri = 5;
1335
+ * @generated from field: google.protobuf.Timestamp expiry_time = 3;
1264
1336
  */
1265
- userInfoUri?: string;
1337
+ expiryTime?: Timestamp;
1266
1338
  /**
1267
- * @generated from field: google.protobuf.StringValue client_id = 8;
1339
+ * @generated from field: string id = 4;
1268
1340
  */
1269
- clientId?: string;
1341
+ id: string;
1270
1342
  /**
1271
- * @generated from field: google.protobuf.StringValue client_secret = 9;
1343
+ * @generated from field: string issuer = 5;
1272
1344
  */
1273
- clientSecret?: string;
1345
+ issuer: string;
1346
+ };
1347
+ /**
1348
+ * Describes the message scalekit.v1.connections.IDPCertificate.
1349
+ * Use `create(IDPCertificateSchema)` to create a new message.
1350
+ */
1351
+ export declare const IDPCertificateSchema: GenMessage<IDPCertificate>;
1352
+ /**
1353
+ * @generated from message scalekit.v1.connections.GetOIDCMetadataRequest
1354
+ */
1355
+ export type GetOIDCMetadataRequest = Message<"scalekit.v1.connections.GetOIDCMetadataRequest"> & {
1274
1356
  /**
1275
- * @generated from field: repeated string scopes = 10;
1357
+ * @generated from field: scalekit.v1.connections.OIDCMetadataRequest metadata = 1;
1276
1358
  */
1277
- scopes: string[];
1359
+ metadata?: OIDCMetadataRequest;
1360
+ };
1361
+ /**
1362
+ * Describes the message scalekit.v1.connections.GetOIDCMetadataRequest.
1363
+ * Use `create(GetOIDCMetadataRequestSchema)` to create a new message.
1364
+ */
1365
+ export declare const GetOIDCMetadataRequestSchema: GenMessage<GetOIDCMetadataRequest>;
1366
+ /**
1367
+ * @generated from message scalekit.v1.connections.OIDCMetadataRequest
1368
+ */
1369
+ export type OIDCMetadataRequest = Message<"scalekit.v1.connections.OIDCMetadataRequest"> & {
1278
1370
  /**
1279
- * @generated from field: string redirect_uri = 12;
1371
+ * @generated from field: string issuer = 1;
1280
1372
  */
1281
- redirectUri: string;
1373
+ issuer: string;
1374
+ };
1375
+ /**
1376
+ * Describes the message scalekit.v1.connections.OIDCMetadataRequest.
1377
+ * Use `create(OIDCMetadataRequestSchema)` to create a new message.
1378
+ */
1379
+ export declare const OIDCMetadataRequestSchema: GenMessage<OIDCMetadataRequest>;
1380
+ /**
1381
+ * @generated from message scalekit.v1.connections.GetOIDCMetadataResponse
1382
+ */
1383
+ export type GetOIDCMetadataResponse = Message<"scalekit.v1.connections.GetOIDCMetadataResponse"> & {
1282
1384
  /**
1283
- * @generated from field: google.protobuf.BoolValue pkce_enabled = 13;
1385
+ * @generated from field: string issuer = 1;
1284
1386
  */
1285
- pkceEnabled?: boolean;
1387
+ issuer: string;
1286
1388
  /**
1287
- * @generated from field: google.protobuf.StringValue prompt = 14;
1389
+ * @generated from field: string authorization_endpoint = 2;
1288
1390
  */
1289
- prompt?: string;
1391
+ authorizationEndpoint: string;
1290
1392
  /**
1291
- * @generated from field: google.protobuf.BoolValue use_platform_creds = 15;
1393
+ * @generated from field: string token_endpoint = 3;
1292
1394
  */
1293
- usePlatformCreds?: boolean;
1395
+ tokenEndpoint: string;
1294
1396
  /**
1295
- * @generated from field: google.protobuf.StringValue access_type = 16;
1397
+ * @generated from field: string userinfo_endpoint = 4;
1296
1398
  */
1297
- accessType?: string;
1399
+ userinfoEndpoint: string;
1298
1400
  /**
1299
- * @generated from field: google.protobuf.StringValue custom_scope_name = 17;
1401
+ * @generated from field: string jwks_uri = 5;
1300
1402
  */
1301
- customScopeName?: string;
1403
+ jwksUri: string;
1404
+ };
1405
+ /**
1406
+ * Describes the message scalekit.v1.connections.GetOIDCMetadataResponse.
1407
+ * Use `create(GetOIDCMetadataResponseSchema)` to create a new message.
1408
+ */
1409
+ export declare const GetOIDCMetadataResponseSchema: GenMessage<GetOIDCMetadataResponse>;
1410
+ /**
1411
+ * @generated from message scalekit.v1.connections.GetSAMLMetadataRequest
1412
+ */
1413
+ export type GetSAMLMetadataRequest = Message<"scalekit.v1.connections.GetSAMLMetadataRequest"> & {
1302
1414
  /**
1303
- * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 18;
1415
+ * @generated from field: scalekit.v1.connections.SAMLMetadataRequest metadata = 1;
1304
1416
  */
1305
- syncUserProfileOnLogin?: boolean;
1306
- constructor(data?: PartialMessage<OAuthConnectionConfig>);
1307
- static readonly runtime: typeof proto3;
1308
- static readonly typeName = "scalekit.v1.connections.OAuthConnectionConfig";
1309
- static readonly fields: FieldList;
1310
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuthConnectionConfig;
1311
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OAuthConnectionConfig;
1312
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OAuthConnectionConfig;
1313
- static equals(a: OAuthConnectionConfig | PlainMessage<OAuthConnectionConfig> | undefined, b: OAuthConnectionConfig | PlainMessage<OAuthConnectionConfig> | undefined): boolean;
1314
- }
1417
+ metadata?: SAMLMetadataRequest;
1418
+ };
1315
1419
  /**
1316
- * @generated from message scalekit.v1.connections.PasswordLessConfig
1420
+ * Describes the message scalekit.v1.connections.GetSAMLMetadataRequest.
1421
+ * Use `create(GetSAMLMetadataRequestSchema)` to create a new message.
1422
+ */
1423
+ export declare const GetSAMLMetadataRequestSchema: GenMessage<GetSAMLMetadataRequest>;
1424
+ /**
1425
+ * @generated from message scalekit.v1.connections.SAMLMetadataRequest
1317
1426
  */
1318
- export declare class PasswordLessConfig extends Message<PasswordLessConfig> {
1427
+ export type SAMLMetadataRequest = Message<"scalekit.v1.connections.SAMLMetadataRequest"> & {
1319
1428
  /**
1320
- * @generated from field: scalekit.v1.connections.PasswordlessType type = 1;
1429
+ * @generated from field: string metadata_url = 1;
1321
1430
  */
1322
- type: PasswordlessType;
1431
+ metadataUrl: string;
1432
+ };
1433
+ /**
1434
+ * Describes the message scalekit.v1.connections.SAMLMetadataRequest.
1435
+ * Use `create(SAMLMetadataRequestSchema)` to create a new message.
1436
+ */
1437
+ export declare const SAMLMetadataRequestSchema: GenMessage<SAMLMetadataRequest>;
1438
+ /**
1439
+ * @generated from message scalekit.v1.connections.GetSAMLMetadataResponse
1440
+ */
1441
+ export type GetSAMLMetadataResponse = Message<"scalekit.v1.connections.GetSAMLMetadataResponse"> & {
1323
1442
  /**
1324
- * @generated from field: optional google.protobuf.UInt32Value frequency = 2;
1443
+ * @generated from field: string idp_entity_id = 1;
1325
1444
  */
1326
- frequency?: number;
1445
+ idpEntityId: string;
1327
1446
  /**
1328
- * @generated from field: optional google.protobuf.UInt32Value validity = 3;
1447
+ * @generated from field: string idp_sso_url = 2;
1329
1448
  */
1330
- validity?: number;
1449
+ idpSsoUrl: string;
1331
1450
  /**
1332
- * @generated from field: optional google.protobuf.BoolValue enforce_same_browser_origin = 4;
1451
+ * @generated from field: string idp_slo_url = 3;
1333
1452
  */
1334
- enforceSameBrowserOrigin?: boolean;
1453
+ idpSloUrl: string;
1335
1454
  /**
1336
- * @generated from field: optional google.protobuf.UInt32Value code_challenge_length = 5;
1455
+ * @generated from field: repeated string idp_certificates = 4;
1337
1456
  */
1338
- codeChallengeLength?: number;
1457
+ idpCertificates: string[];
1339
1458
  /**
1340
- * @generated from field: optional scalekit.v1.connections.CodeChallengeType code_challenge_type = 6;
1459
+ * @generated from field: string idp_name_id_format = 5;
1341
1460
  */
1342
- codeChallengeType?: CodeChallengeType;
1461
+ idpNameIdFormat: string;
1343
1462
  /**
1344
- * @generated from field: optional google.protobuf.BoolValue regenerate_passwordless_credentials_on_resend = 7;
1463
+ * @generated from field: string request_binding = 6;
1345
1464
  */
1346
- regeneratePasswordlessCredentialsOnResend?: boolean;
1347
- constructor(data?: PartialMessage<PasswordLessConfig>);
1348
- static readonly runtime: typeof proto3;
1349
- static readonly typeName = "scalekit.v1.connections.PasswordLessConfig";
1350
- static readonly fields: FieldList;
1351
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PasswordLessConfig;
1352
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PasswordLessConfig;
1353
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PasswordLessConfig;
1354
- static equals(a: PasswordLessConfig | PlainMessage<PasswordLessConfig> | undefined, b: PasswordLessConfig | PlainMessage<PasswordLessConfig> | undefined): boolean;
1355
- }
1356
- /**
1357
- * @generated from message scalekit.v1.connections.StaticAuthConfig
1358
- */
1359
- export declare class StaticAuthConfig extends Message<StaticAuthConfig> {
1465
+ requestBinding: string;
1360
1466
  /**
1361
- * @generated from field: google.protobuf.Struct static_config = 1;
1467
+ * @generated from field: bool want_assertions_signed = 7;
1362
1468
  */
1363
- staticConfig?: Struct;
1364
- constructor(data?: PartialMessage<StaticAuthConfig>);
1365
- static readonly runtime: typeof proto3;
1366
- static readonly typeName = "scalekit.v1.connections.StaticAuthConfig";
1367
- static readonly fields: FieldList;
1368
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StaticAuthConfig;
1369
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StaticAuthConfig;
1370
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StaticAuthConfig;
1371
- static equals(a: StaticAuthConfig | PlainMessage<StaticAuthConfig> | undefined, b: StaticAuthConfig | PlainMessage<StaticAuthConfig> | undefined): boolean;
1372
- }
1469
+ wantAssertionsSigned: boolean;
1470
+ };
1373
1471
  /**
1374
- * WebAuthConfiguration defines WebAuthn (passkeys) configuration limited to RP and Attestation
1375
- *
1376
- * @generated from message scalekit.v1.connections.WebAuthConfiguration
1472
+ * Describes the message scalekit.v1.connections.GetSAMLMetadataResponse.
1473
+ * Use `create(GetSAMLMetadataResponseSchema)` to create a new message.
1377
1474
  */
1378
- export declare class WebAuthConfiguration extends Message<WebAuthConfiguration> {
1379
- /**
1380
- * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Rp rp = 1;
1381
- */
1382
- rp?: WebAuthConfiguration_Rp;
1475
+ export declare const GetSAMLMetadataResponseSchema: GenMessage<GetSAMLMetadataResponse>;
1476
+ /**
1477
+ * @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsRequest
1478
+ */
1479
+ export type GetSAMLCertificateDetailsRequest = Message<"scalekit.v1.connections.GetSAMLCertificateDetailsRequest"> & {
1383
1480
  /**
1384
- * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Attestation attestation = 2;
1481
+ * @generated from field: scalekit.v1.connections.SAMLCertificateRequest certificate = 1;
1385
1482
  */
1386
- attestation?: WebAuthConfiguration_Attestation;
1483
+ certificate?: SAMLCertificateRequest;
1484
+ };
1485
+ /**
1486
+ * Describes the message scalekit.v1.connections.GetSAMLCertificateDetailsRequest.
1487
+ * Use `create(GetSAMLCertificateDetailsRequestSchema)` to create a new message.
1488
+ */
1489
+ export declare const GetSAMLCertificateDetailsRequestSchema: GenMessage<GetSAMLCertificateDetailsRequest>;
1490
+ /**
1491
+ * @generated from message scalekit.v1.connections.SAMLCertificateRequest
1492
+ */
1493
+ export type SAMLCertificateRequest = Message<"scalekit.v1.connections.SAMLCertificateRequest"> & {
1387
1494
  /**
1388
- * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Authenticators authenticators = 3;
1495
+ * @generated from field: string text = 1;
1389
1496
  */
1390
- authenticators?: WebAuthConfiguration_Authenticators;
1497
+ text: string;
1498
+ };
1499
+ /**
1500
+ * Describes the message scalekit.v1.connections.SAMLCertificateRequest.
1501
+ * Use `create(SAMLCertificateRequestSchema)` to create a new message.
1502
+ */
1503
+ export declare const SAMLCertificateRequestSchema: GenMessage<SAMLCertificateRequest>;
1504
+ /**
1505
+ * @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsResponse
1506
+ */
1507
+ export type GetSAMLCertificateDetailsResponse = Message<"scalekit.v1.connections.GetSAMLCertificateDetailsResponse"> & {
1391
1508
  /**
1392
- * @generated from field: scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection authenticator_selection = 4;
1509
+ * @generated from field: string text = 1;
1393
1510
  */
1394
- authenticatorSelection?: WebAuthConfiguration_AuthenticatorSelection;
1511
+ text: string;
1395
1512
  /**
1396
- * @generated from field: scalekit.v1.connections.WebAuthConfiguration.Timeout timeout = 5;
1513
+ * @generated from field: int64 not_after = 2;
1397
1514
  */
1398
- timeout?: WebAuthConfiguration_Timeout;
1515
+ notAfter: bigint;
1399
1516
  /**
1400
- * @generated from field: bool enable_auto_registration = 6;
1517
+ * @generated from field: int64 not_before = 3;
1401
1518
  */
1402
- enableAutoRegistration: boolean;
1519
+ notBefore: bigint;
1403
1520
  /**
1404
- * @generated from field: bool show_passkey_button = 7;
1521
+ * @generated from field: string subject = 4;
1405
1522
  */
1406
- showPasskeyButton: boolean;
1523
+ subject: string;
1407
1524
  /**
1408
- * @generated from field: bool enable_conditional_login = 8;
1525
+ * @generated from field: string issuer = 5;
1409
1526
  */
1410
- enableConditionalLogin: boolean;
1411
- constructor(data?: PartialMessage<WebAuthConfiguration>);
1412
- static readonly runtime: typeof proto3;
1413
- static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration";
1414
- static readonly fields: FieldList;
1415
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration;
1416
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration;
1417
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration;
1418
- static equals(a: WebAuthConfiguration | PlainMessage<WebAuthConfiguration> | undefined, b: WebAuthConfiguration | PlainMessage<WebAuthConfiguration> | undefined): boolean;
1419
- }
1527
+ issuer: string;
1528
+ };
1420
1529
  /**
1421
- * Rp contains relying party identifiers and origins
1422
- *
1423
- * @generated from message scalekit.v1.connections.WebAuthConfiguration.Rp
1530
+ * Describes the message scalekit.v1.connections.GetSAMLCertificateDetailsResponse.
1531
+ * Use `create(GetSAMLCertificateDetailsResponseSchema)` to create a new message.
1532
+ */
1533
+ export declare const GetSAMLCertificateDetailsResponseSchema: GenMessage<GetSAMLCertificateDetailsResponse>;
1534
+ /**
1535
+ * @generated from message scalekit.v1.connections.GetConnectionTestResultRequest
1424
1536
  */
1425
- export declare class WebAuthConfiguration_Rp extends Message<WebAuthConfiguration_Rp> {
1537
+ export type GetConnectionTestResultRequest = Message<"scalekit.v1.connections.GetConnectionTestResultRequest"> & {
1426
1538
  /**
1427
- * Relying party IDs (derived from environment domain and verified custom domain)
1428
- * At least one required; must be hostnames without scheme or path
1429
- *
1430
- * @generated from field: repeated string ids = 1;
1539
+ * @generated from field: string connection_id = 1;
1431
1540
  */
1432
- ids: string[];
1541
+ connectionId: string;
1433
1542
  /**
1434
- * Allowed origins corresponding to the RP IDs (https://<domain>)
1435
- * At least one required; must be HTTPS origins
1436
- *
1437
- * @generated from field: repeated string origins = 2;
1543
+ * @generated from field: string test_request_id = 2;
1438
1544
  */
1439
- origins: string[];
1440
- constructor(data?: PartialMessage<WebAuthConfiguration_Rp>);
1441
- static readonly runtime: typeof proto3;
1442
- static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Rp";
1443
- static readonly fields: FieldList;
1444
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Rp;
1445
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Rp;
1446
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Rp;
1447
- static equals(a: WebAuthConfiguration_Rp | PlainMessage<WebAuthConfiguration_Rp> | undefined, b: WebAuthConfiguration_Rp | PlainMessage<WebAuthConfiguration_Rp> | undefined): boolean;
1448
- }
1545
+ testRequestId: string;
1546
+ };
1449
1547
  /**
1450
- * Attestation preferences for registration
1451
- *
1452
- * @generated from message scalekit.v1.connections.WebAuthConfiguration.Attestation
1548
+ * Describes the message scalekit.v1.connections.GetConnectionTestResultRequest.
1549
+ * Use `create(GetConnectionTestResultRequestSchema)` to create a new message.
1453
1550
  */
1454
- export declare class WebAuthConfiguration_Attestation extends Message<WebAuthConfiguration_Attestation> {
1551
+ export declare const GetConnectionTestResultRequestSchema: GenMessage<GetConnectionTestResultRequest>;
1552
+ /**
1553
+ * @generated from message scalekit.v1.connections.GetConnectionTestResultResponse
1554
+ */
1555
+ export type GetConnectionTestResultResponse = Message<"scalekit.v1.connections.GetConnectionTestResultResponse"> & {
1455
1556
  /**
1456
- * Conveyance preference
1457
- *
1458
- * @generated from field: google.protobuf.StringValue conveyance_preference = 1;
1557
+ * @generated from field: scalekit.v1.connections.TestResultStatus status = 1;
1459
1558
  */
1460
- conveyancePreference?: string;
1559
+ status: TestResultStatus;
1461
1560
  /**
1462
- * Enterprise-approved IDs (optional allowlist when enterprise attestation is used)
1463
- *
1464
- * @generated from field: repeated string enterprise_approved_ids = 2;
1561
+ * @generated from field: optional string user_info = 2;
1465
1562
  */
1466
- enterpriseApprovedIds: string[];
1467
- constructor(data?: PartialMessage<WebAuthConfiguration_Attestation>);
1468
- static readonly runtime: typeof proto3;
1469
- static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Attestation";
1470
- static readonly fields: FieldList;
1471
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Attestation;
1472
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Attestation;
1473
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Attestation;
1474
- static equals(a: WebAuthConfiguration_Attestation | PlainMessage<WebAuthConfiguration_Attestation> | undefined, b: WebAuthConfiguration_Attestation | PlainMessage<WebAuthConfiguration_Attestation> | undefined): boolean;
1475
- }
1476
- /**
1477
- * @generated from message scalekit.v1.connections.WebAuthConfiguration.Authenticators
1478
- */
1479
- export declare class WebAuthConfiguration_Authenticators extends Message<WebAuthConfiguration_Authenticators> {
1563
+ userInfo?: string;
1480
1564
  /**
1481
- * @generated from field: google.protobuf.BoolValue validate_entry = 1;
1565
+ * @generated from field: optional string error = 3;
1482
1566
  */
1483
- validateEntry?: boolean;
1567
+ error?: string;
1484
1568
  /**
1485
- * @generated from field: google.protobuf.BoolValue validate_entry_permit_zero_aaguid = 2;
1569
+ * @generated from field: optional string error_description = 4;
1486
1570
  */
1487
- validateEntryPermitZeroAaguid?: boolean;
1571
+ errorDescription?: string;
1488
1572
  /**
1489
- * @generated from field: google.protobuf.BoolValue validate_anchors = 3;
1573
+ * @generated from field: optional string error_details = 5;
1490
1574
  */
1491
- validateAnchors?: boolean;
1575
+ errorDetails?: string;
1576
+ };
1577
+ /**
1578
+ * Describes the message scalekit.v1.connections.GetConnectionTestResultResponse.
1579
+ * Use `create(GetConnectionTestResultResponseSchema)` to create a new message.
1580
+ */
1581
+ export declare const GetConnectionTestResultResponseSchema: GenMessage<GetConnectionTestResultResponse>;
1582
+ /**
1583
+ * @generated from message scalekit.v1.connections.PasswordConnectionConfig
1584
+ */
1585
+ export type PasswordConnectionConfig = Message<"scalekit.v1.connections.PasswordConnectionConfig"> & {};
1586
+ /**
1587
+ * Describes the message scalekit.v1.connections.PasswordConnectionConfig.
1588
+ * Use `create(PasswordConnectionConfigSchema)` to create a new message.
1589
+ */
1590
+ export declare const PasswordConnectionConfigSchema: GenMessage<PasswordConnectionConfig>;
1591
+ /**
1592
+ * @generated from message scalekit.v1.connections.Flags
1593
+ */
1594
+ export type Flags = Message<"scalekit.v1.connections.Flags"> & {
1492
1595
  /**
1493
- * @generated from field: google.protobuf.BoolValue validate_status = 4;
1596
+ * @generated from field: bool is_login = 1;
1494
1597
  */
1495
- validateStatus?: boolean;
1598
+ isLogin: boolean;
1496
1599
  /**
1497
- * @generated from field: google.protobuf.BoolValue validate_attestation_type = 5;
1600
+ * @generated from field: bool is_app = 2;
1601
+ */
1602
+ isApp: boolean;
1603
+ };
1604
+ /**
1605
+ * Describes the message scalekit.v1.connections.Flags.
1606
+ * Use `create(FlagsSchema)` to create a new message.
1607
+ */
1608
+ export declare const FlagsSchema: GenMessage<Flags>;
1609
+ /**
1610
+ * @generated from message scalekit.v1.connections.ListAppConnectionsRequest
1611
+ */
1612
+ export type ListAppConnectionsRequest = Message<"scalekit.v1.connections.ListAppConnectionsRequest"> & {
1613
+ /**
1614
+ * @generated from field: uint32 page_size = 1;
1498
1615
  */
1499
- validateAttestationType?: boolean;
1616
+ pageSize: number;
1500
1617
  /**
1501
- * @generated from field: repeated string desired_authenticator_status = 6;
1618
+ * @generated from field: string page_token = 2;
1502
1619
  */
1503
- desiredAuthenticatorStatus: string[];
1620
+ pageToken: string;
1504
1621
  /**
1505
- * @generated from field: repeated string undesired_authenticator_status = 7;
1622
+ * @generated from field: optional string provider = 3;
1506
1623
  */
1507
- undesiredAuthenticatorStatus: string[];
1508
- constructor(data?: PartialMessage<WebAuthConfiguration_Authenticators>);
1509
- static readonly runtime: typeof proto3;
1510
- static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Authenticators";
1511
- static readonly fields: FieldList;
1512
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Authenticators;
1513
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Authenticators;
1514
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Authenticators;
1515
- static equals(a: WebAuthConfiguration_Authenticators | PlainMessage<WebAuthConfiguration_Authenticators> | undefined, b: WebAuthConfiguration_Authenticators | PlainMessage<WebAuthConfiguration_Authenticators> | undefined): boolean;
1516
- }
1624
+ provider?: string;
1625
+ };
1517
1626
  /**
1518
- * @generated from message scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection
1627
+ * Describes the message scalekit.v1.connections.ListAppConnectionsRequest.
1628
+ * Use `create(ListAppConnectionsRequestSchema)` to create a new message.
1519
1629
  */
1520
- export declare class WebAuthConfiguration_AuthenticatorSelection extends Message<WebAuthConfiguration_AuthenticatorSelection> {
1630
+ export declare const ListAppConnectionsRequestSchema: GenMessage<ListAppConnectionsRequest>;
1631
+ /**
1632
+ * @generated from message scalekit.v1.connections.ListAppConnectionsResponse
1633
+ */
1634
+ export type ListAppConnectionsResponse = Message<"scalekit.v1.connections.ListAppConnectionsResponse"> & {
1521
1635
  /**
1522
- * User verification requirement
1523
- *
1524
- * @generated from field: google.protobuf.StringValue user_verification = 1;
1636
+ * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
1525
1637
  */
1526
- userVerification?: string;
1638
+ connections: ListConnection[];
1527
1639
  /**
1528
- * @generated from field: google.protobuf.StringValue authenticator_attachment = 2;
1640
+ * @generated from field: string next_page_token = 2;
1529
1641
  */
1530
- authenticatorAttachment?: string;
1531
- constructor(data?: PartialMessage<WebAuthConfiguration_AuthenticatorSelection>);
1532
- static readonly runtime: typeof proto3;
1533
- static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection";
1534
- static readonly fields: FieldList;
1535
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_AuthenticatorSelection;
1536
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_AuthenticatorSelection;
1537
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_AuthenticatorSelection;
1538
- static equals(a: WebAuthConfiguration_AuthenticatorSelection | PlainMessage<WebAuthConfiguration_AuthenticatorSelection> | undefined, b: WebAuthConfiguration_AuthenticatorSelection | PlainMessage<WebAuthConfiguration_AuthenticatorSelection> | undefined): boolean;
1539
- }
1540
- /**
1541
- * @generated from message scalekit.v1.connections.WebAuthConfiguration.Timeout
1542
- */
1543
- export declare class WebAuthConfiguration_Timeout extends Message<WebAuthConfiguration_Timeout> {
1642
+ nextPageToken: string;
1544
1643
  /**
1545
- * @generated from field: google.protobuf.Duration registration = 1;
1644
+ * @generated from field: string prev_page_token = 3;
1546
1645
  */
1547
- registration?: Duration;
1646
+ prevPageToken: string;
1548
1647
  /**
1549
- * @generated from field: google.protobuf.Duration registration_uvd = 2;
1648
+ * @generated from field: uint32 total_size = 4;
1550
1649
  */
1551
- registrationUvd?: Duration;
1650
+ totalSize: number;
1651
+ };
1652
+ /**
1653
+ * Describes the message scalekit.v1.connections.ListAppConnectionsResponse.
1654
+ * Use `create(ListAppConnectionsResponseSchema)` to create a new message.
1655
+ */
1656
+ export declare const ListAppConnectionsResponseSchema: GenMessage<ListAppConnectionsResponse>;
1657
+ /**
1658
+ * @generated from enum scalekit.v1.connections.CodeChallengeType
1659
+ */
1660
+ export declare enum CodeChallengeType {
1552
1661
  /**
1553
- * @generated from field: google.protobuf.Duration login = 3;
1662
+ * @generated from enum value: CODE_CHALLENGE_TYPE_UNSPECIFIED = 0;
1554
1663
  */
1555
- login?: Duration;
1664
+ CODE_CHALLENGE_TYPE_UNSPECIFIED = 0,
1556
1665
  /**
1557
- * @generated from field: google.protobuf.Duration login_uvd = 4;
1666
+ * @generated from enum value: NUMERIC = 1;
1558
1667
  */
1559
- loginUvd?: Duration;
1560
- constructor(data?: PartialMessage<WebAuthConfiguration_Timeout>);
1561
- static readonly runtime: typeof proto3;
1562
- static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Timeout";
1563
- static readonly fields: FieldList;
1564
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Timeout;
1565
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Timeout;
1566
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Timeout;
1567
- static equals(a: WebAuthConfiguration_Timeout | PlainMessage<WebAuthConfiguration_Timeout> | undefined, b: WebAuthConfiguration_Timeout | PlainMessage<WebAuthConfiguration_Timeout> | undefined): boolean;
1668
+ NUMERIC = 1,
1669
+ /**
1670
+ * @generated from enum value: ALPHANUMERIC = 2;
1671
+ */
1672
+ ALPHANUMERIC = 2
1568
1673
  }
1569
1674
  /**
1570
- * @generated from message scalekit.v1.connections.SAMLConnectionConfigRequest
1675
+ * Describes the enum scalekit.v1.connections.CodeChallengeType.
1571
1676
  */
1572
- export declare class SAMLConnectionConfigRequest extends Message<SAMLConnectionConfigRequest> {
1677
+ export declare const CodeChallengeTypeSchema: GenEnum<CodeChallengeType>;
1678
+ /**
1679
+ * @generated from enum scalekit.v1.connections.ConfigurationType
1680
+ */
1681
+ export declare enum ConfigurationType {
1573
1682
  /**
1574
- * @generated from field: google.protobuf.StringValue idp_metadata_url = 1;
1683
+ * @generated from enum value: CONFIGURATION_TYPE_UNSPECIFIED = 0;
1575
1684
  */
1576
- idpMetadataUrl?: string;
1685
+ CONFIGURATION_TYPE_UNSPECIFIED = 0,
1577
1686
  /**
1578
- * @generated from field: google.protobuf.StringValue idp_entity_id = 2;
1687
+ * @generated from enum value: DISCOVERY = 1;
1579
1688
  */
1580
- idpEntityId?: string;
1689
+ DISCOVERY = 1,
1581
1690
  /**
1582
- * @generated from field: google.protobuf.StringValue idp_sso_url = 3;
1691
+ * @generated from enum value: MANUAL = 2;
1583
1692
  */
1584
- idpSsoUrl?: string;
1693
+ MANUAL = 2
1694
+ }
1695
+ /**
1696
+ * Describes the enum scalekit.v1.connections.ConfigurationType.
1697
+ */
1698
+ export declare const ConfigurationTypeSchema: GenEnum<ConfigurationType>;
1699
+ /**
1700
+ * @generated from enum scalekit.v1.connections.NameIdFormat
1701
+ */
1702
+ export declare enum NameIdFormat {
1585
1703
  /**
1586
- * @generated from field: google.protobuf.StringValue idp_certificate = 4;
1704
+ * @generated from enum value: NAME_ID_FORMAT_NIL = 0;
1587
1705
  */
1588
- idpCertificate?: string;
1706
+ NAME_ID_FORMAT_NIL = 0,
1589
1707
  /**
1590
- * @generated from field: google.protobuf.StringValue idp_slo_url = 5;
1708
+ * @generated from enum value: UNSPECIFIED = 1;
1591
1709
  */
1592
- idpSloUrl?: string;
1710
+ UNSPECIFIED = 1,
1593
1711
  /**
1594
- * @generated from field: google.protobuf.StringValue ui_button_title = 6;
1712
+ * @generated from enum value: EMAIL = 2;
1595
1713
  */
1596
- uiButtonTitle?: string;
1714
+ EMAIL = 2,
1597
1715
  /**
1598
- * @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 7;
1716
+ * @generated from enum value: TRANSIENT = 3;
1599
1717
  */
1600
- idpNameIdFormat: NameIdFormat;
1718
+ TRANSIENT = 3,
1601
1719
  /**
1602
- * @generated from field: scalekit.v1.connections.RequestBinding idp_sso_request_binding = 8;
1720
+ * @generated from enum value: PERSISTENT = 4;
1603
1721
  */
1604
- idpSsoRequestBinding: RequestBinding;
1722
+ PERSISTENT = 4
1723
+ }
1724
+ /**
1725
+ * Describes the enum scalekit.v1.connections.NameIdFormat.
1726
+ */
1727
+ export declare const NameIdFormatSchema: GenEnum<NameIdFormat>;
1728
+ /**
1729
+ * @generated from enum scalekit.v1.connections.PasswordlessType
1730
+ */
1731
+ export declare enum PasswordlessType {
1605
1732
  /**
1606
- * @generated from field: scalekit.v1.connections.RequestBinding idp_slo_request_binding = 9;
1733
+ * @generated from enum value: PasswordlessType_UNSPECIFIED = 0;
1607
1734
  */
1608
- idpSloRequestBinding: RequestBinding;
1735
+ PasswordlessType_UNSPECIFIED = 0,
1609
1736
  /**
1610
- * @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 10;
1737
+ * @generated from enum value: LINK = 1;
1611
1738
  */
1612
- samlSigningOption: SAMLSigningOptions;
1739
+ LINK = 1,
1613
1740
  /**
1614
- * @generated from field: google.protobuf.BoolValue force_authn = 14;
1741
+ * @generated from enum value: OTP = 2;
1615
1742
  */
1616
- forceAuthn?: boolean;
1743
+ OTP = 2,
1617
1744
  /**
1618
- * @generated from field: google.protobuf.StringValue default_redirect_uri = 15;
1745
+ * @generated from enum value: LINK_OTP = 3;
1619
1746
  */
1620
- defaultRedirectUri?: string;
1747
+ LINK_OTP = 3
1748
+ }
1749
+ /**
1750
+ * Describes the enum scalekit.v1.connections.PasswordlessType.
1751
+ */
1752
+ export declare const PasswordlessTypeSchema: GenEnum<PasswordlessType>;
1753
+ /**
1754
+ * @generated from enum scalekit.v1.connections.TestResultStatus
1755
+ */
1756
+ export declare enum TestResultStatus {
1621
1757
  /**
1622
- * @generated from field: google.protobuf.BoolValue assertion_encrypted = 16;
1758
+ * @generated from enum value: PENDING = 0;
1623
1759
  */
1624
- assertionEncrypted?: boolean;
1760
+ PENDING = 0,
1625
1761
  /**
1626
- * @generated from field: google.protobuf.BoolValue want_request_signed = 17;
1762
+ * @generated from enum value: SUCCESS = 1;
1627
1763
  */
1628
- wantRequestSigned?: boolean;
1764
+ SUCCESS = 1,
1629
1765
  /**
1630
- * @generated from field: google.protobuf.StringValue certificate_id = 18;
1766
+ * @generated from enum value: FAILURE = 2;
1631
1767
  */
1632
- certificateId?: string;
1768
+ FAILURE = 2
1769
+ }
1770
+ /**
1771
+ * Describes the enum scalekit.v1.connections.TestResultStatus.
1772
+ */
1773
+ export declare const TestResultStatusSchema: GenEnum<TestResultStatus>;
1774
+ /**
1775
+ * enums all
1776
+ *
1777
+ * @generated from enum scalekit.v1.connections.SAMLSigningOptions
1778
+ */
1779
+ export declare enum SAMLSigningOptions {
1633
1780
  /**
1634
- * @generated from field: google.protobuf.BoolValue idp_slo_required = 19;
1781
+ * @generated from enum value: SAML_SIGNING_OPTIONS_UNSPECIFIED = 0;
1635
1782
  */
1636
- idpSloRequired?: boolean;
1783
+ SAML_SIGNING_OPTIONS_UNSPECIFIED = 0,
1637
1784
  /**
1638
- * @generated from field: google.protobuf.StringValue sp_entity_id = 20;
1785
+ * @generated from enum value: NO_SIGNING = 1;
1639
1786
  */
1640
- spEntityId?: string;
1787
+ NO_SIGNING = 1,
1641
1788
  /**
1642
- * @generated from field: google.protobuf.StringValue sp_assertion_url = 21;
1789
+ * @generated from enum value: SAML_ONLY_RESPONSE_SIGNING = 2;
1643
1790
  */
1644
- spAssertionUrl?: string;
1791
+ SAML_ONLY_RESPONSE_SIGNING = 2,
1645
1792
  /**
1646
- * @generated from field: google.protobuf.StringValue sp_slo_url = 22;
1793
+ * @generated from enum value: SAML_ONLY_ASSERTION_SIGNING = 3;
1647
1794
  */
1648
- spSloUrl?: string;
1795
+ SAML_ONLY_ASSERTION_SIGNING = 3,
1649
1796
  /**
1650
- * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 23;
1797
+ * @generated from enum value: SAML_RESPONSE_ASSERTION_SIGNING = 4;
1651
1798
  */
1652
- syncUserProfileOnLogin?: boolean;
1799
+ SAML_RESPONSE_ASSERTION_SIGNING = 4,
1653
1800
  /**
1654
- * @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 24;
1801
+ * @generated from enum value: SAML_RESPONSE_OR_ASSERTION_SIGNING = 5;
1655
1802
  */
1656
- jitProvisioningWithSsoEnabled?: boolean;
1657
- constructor(data?: PartialMessage<SAMLConnectionConfigRequest>);
1658
- static readonly runtime: typeof proto3;
1659
- static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigRequest";
1660
- static readonly fields: FieldList;
1661
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLConnectionConfigRequest;
1662
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLConnectionConfigRequest;
1663
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLConnectionConfigRequest;
1664
- static equals(a: SAMLConnectionConfigRequest | PlainMessage<SAMLConnectionConfigRequest> | undefined, b: SAMLConnectionConfigRequest | PlainMessage<SAMLConnectionConfigRequest> | undefined): boolean;
1803
+ SAML_RESPONSE_OR_ASSERTION_SIGNING = 5
1665
1804
  }
1666
1805
  /**
1667
- * @generated from message scalekit.v1.connections.SAMLConnectionConfigResponse
1806
+ * Describes the enum scalekit.v1.connections.SAMLSigningOptions.
1668
1807
  */
1669
- export declare class SAMLConnectionConfigResponse extends Message<SAMLConnectionConfigResponse> {
1670
- /**
1671
- * @generated from field: string sp_entity_id = 1;
1672
- */
1673
- spEntityId: string;
1808
+ export declare const SAMLSigningOptionsSchema: GenEnum<SAMLSigningOptions>;
1809
+ /**
1810
+ * @generated from enum scalekit.v1.connections.RequestBinding
1811
+ */
1812
+ export declare enum RequestBinding {
1674
1813
  /**
1675
- * @generated from field: string sp_assertion_url = 2;
1814
+ * @generated from enum value: REQUEST_BINDING_UNSPECIFIED = 0;
1676
1815
  */
1677
- spAssertionUrl: string;
1816
+ REQUEST_BINDING_UNSPECIFIED = 0,
1678
1817
  /**
1679
- * @generated from field: string sp_metadata_url = 3;
1818
+ * @generated from enum value: HTTP_POST = 1;
1680
1819
  */
1681
- spMetadataUrl: string;
1820
+ HTTP_POST = 1,
1682
1821
  /**
1683
- * @generated from field: google.protobuf.StringValue idp_metadata_url = 4;
1822
+ * @generated from enum value: HTTP_REDIRECT = 2;
1684
1823
  */
1685
- idpMetadataUrl?: string;
1824
+ HTTP_REDIRECT = 2
1825
+ }
1826
+ /**
1827
+ * Describes the enum scalekit.v1.connections.RequestBinding.
1828
+ */
1829
+ export declare const RequestBindingSchema: GenEnum<RequestBinding>;
1830
+ /**
1831
+ * @generated from enum scalekit.v1.connections.TokenAuthType
1832
+ */
1833
+ export declare enum TokenAuthType {
1686
1834
  /**
1687
- * @generated from field: google.protobuf.StringValue idp_entity_id = 5;
1835
+ * @generated from enum value: TOKEN_AUTH_TYPE_UNSPECIFIED = 0;
1688
1836
  */
1689
- idpEntityId?: string;
1837
+ TOKEN_AUTH_TYPE_UNSPECIFIED = 0,
1690
1838
  /**
1691
- * @generated from field: google.protobuf.StringValue idp_sso_url = 6;
1839
+ * @generated from enum value: URL_PARAMS = 1;
1692
1840
  */
1693
- idpSsoUrl?: string;
1841
+ URL_PARAMS = 1,
1694
1842
  /**
1695
- * @generated from field: repeated scalekit.v1.connections.IDPCertificate idp_certificates = 7;
1843
+ * @generated from enum value: BASIC_AUTH = 2;
1696
1844
  */
1697
- idpCertificates: IDPCertificate[];
1845
+ BASIC_AUTH = 2
1846
+ }
1847
+ /**
1848
+ * Describes the enum scalekit.v1.connections.TokenAuthType.
1849
+ */
1850
+ export declare const TokenAuthTypeSchema: GenEnum<TokenAuthType>;
1851
+ /**
1852
+ * @generated from enum scalekit.v1.connections.OIDCScope
1853
+ */
1854
+ export declare enum OIDCScope {
1698
1855
  /**
1699
- * @generated from field: google.protobuf.StringValue idp_slo_url = 8;
1856
+ * @generated from enum value: OIDC_SCOPE_UNSPECIFIED = 0;
1700
1857
  */
1701
- idpSloUrl?: string;
1858
+ OIDC_SCOPE_UNSPECIFIED = 0,
1702
1859
  /**
1703
- * @generated from field: google.protobuf.StringValue ui_button_title = 9;
1860
+ * @generated from enum value: openid = 1;
1704
1861
  */
1705
- uiButtonTitle?: string;
1862
+ openid = 1,
1706
1863
  /**
1707
- * @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 10;
1864
+ * @generated from enum value: profile = 2;
1708
1865
  */
1709
- idpNameIdFormat: NameIdFormat;
1866
+ profile = 2,
1710
1867
  /**
1711
- * @generated from field: scalekit.v1.connections.RequestBinding idp_sso_request_binding = 11;
1868
+ * @generated from enum value: email = 3;
1712
1869
  */
1713
- idpSsoRequestBinding: RequestBinding;
1870
+ email = 3,
1714
1871
  /**
1715
- * @generated from field: scalekit.v1.connections.RequestBinding idp_slo_request_binding = 12;
1872
+ * @generated from enum value: address = 4;
1716
1873
  */
1717
- idpSloRequestBinding: RequestBinding;
1874
+ address = 4,
1718
1875
  /**
1719
- * @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 13;
1876
+ * @generated from enum value: phone = 5;
1720
1877
  */
1721
- samlSigningOption: SAMLSigningOptions;
1878
+ phone = 5
1879
+ }
1880
+ /**
1881
+ * Describes the enum scalekit.v1.connections.OIDCScope.
1882
+ */
1883
+ export declare const OIDCScopeSchema: GenEnum<OIDCScope>;
1884
+ /**
1885
+ * @generated from enum scalekit.v1.connections.ConnectionType
1886
+ */
1887
+ export declare enum ConnectionType {
1722
1888
  /**
1723
- * @generated from field: google.protobuf.BoolValue allow_idp_initiated_login = 14;
1889
+ * @generated from enum value: INVALID = 0;
1724
1890
  */
1725
- allowIdpInitiatedLogin?: boolean;
1891
+ INVALID = 0,
1726
1892
  /**
1727
- * @generated from field: google.protobuf.BoolValue force_authn = 15;
1893
+ * @generated from enum value: OIDC = 1;
1728
1894
  */
1729
- forceAuthn?: boolean;
1895
+ OIDC = 1,
1730
1896
  /**
1731
- * @generated from field: google.protobuf.StringValue default_redirect_uri = 16;
1897
+ * @generated from enum value: SAML = 2;
1732
1898
  */
1733
- defaultRedirectUri?: string;
1899
+ SAML = 2,
1734
1900
  /**
1735
- * @generated from field: google.protobuf.BoolValue assertion_encrypted = 17;
1901
+ * @generated from enum value: PASSWORD = 3;
1736
1902
  */
1737
- assertionEncrypted?: boolean;
1903
+ PASSWORD = 3,
1738
1904
  /**
1739
- * @generated from field: google.protobuf.BoolValue want_request_signed = 18;
1905
+ * @generated from enum value: OAUTH = 4;
1740
1906
  */
1741
- wantRequestSigned?: boolean;
1907
+ OAUTH = 4,
1742
1908
  /**
1743
- * @generated from field: google.protobuf.StringValue certificate_id = 19;
1909
+ * @generated from enum value: PASSWORDLESS = 5;
1744
1910
  */
1745
- certificateId?: string;
1911
+ PASSWORDLESS = 5,
1746
1912
  /**
1747
- * @generated from field: google.protobuf.BoolValue idp_slo_required = 20;
1913
+ * @generated from enum value: BASIC = 6;
1748
1914
  */
1749
- idpSloRequired?: boolean;
1915
+ BASIC = 6,
1750
1916
  /**
1751
- * @generated from field: google.protobuf.StringValue sp_slo_url = 21;
1917
+ * @generated from enum value: BEARER = 7;
1752
1918
  */
1753
- spSloUrl?: string;
1919
+ BEARER = 7,
1754
1920
  /**
1755
- * @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 22;
1921
+ * @generated from enum value: API_KEY = 8;
1756
1922
  */
1757
- syncUserProfileOnLogin?: boolean;
1923
+ API_KEY = 8,
1758
1924
  /**
1759
- * @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 23;
1925
+ * @generated from enum value: WEBAUTHN = 9;
1760
1926
  */
1761
- jitProvisioningWithSsoEnabled?: boolean;
1762
- constructor(data?: PartialMessage<SAMLConnectionConfigResponse>);
1763
- static readonly runtime: typeof proto3;
1764
- static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigResponse";
1765
- static readonly fields: FieldList;
1766
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLConnectionConfigResponse;
1767
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLConnectionConfigResponse;
1768
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLConnectionConfigResponse;
1769
- static equals(a: SAMLConnectionConfigResponse | PlainMessage<SAMLConnectionConfigResponse> | undefined, b: SAMLConnectionConfigResponse | PlainMessage<SAMLConnectionConfigResponse> | undefined): boolean;
1927
+ WEBAUTHN = 9
1770
1928
  }
1771
1929
  /**
1772
- * @generated from message scalekit.v1.connections.IDPCertificate
1930
+ * Describes the enum scalekit.v1.connections.ConnectionType.
1773
1931
  */
1774
- export declare class IDPCertificate extends Message<IDPCertificate> {
1775
- /**
1776
- * @generated from field: string certificate = 1;
1777
- */
1778
- certificate: string;
1932
+ export declare const ConnectionTypeSchema: GenEnum<ConnectionType>;
1933
+ /**
1934
+ * @generated from enum scalekit.v1.connections.ConnectionStatus
1935
+ */
1936
+ export declare enum ConnectionStatus {
1779
1937
  /**
1780
- * @generated from field: google.protobuf.Timestamp create_time = 2;
1938
+ * @generated from enum value: CONNECTION_STATUS_UNSPECIFIED = 0;
1781
1939
  */
1782
- createTime?: Timestamp;
1940
+ CONNECTION_STATUS_UNSPECIFIED = 0,
1783
1941
  /**
1784
- * @generated from field: google.protobuf.Timestamp expiry_time = 3;
1942
+ * @generated from enum value: DRAFT = 1;
1785
1943
  */
1786
- expiryTime?: Timestamp;
1944
+ DRAFT = 1,
1787
1945
  /**
1788
- * @generated from field: string id = 4;
1946
+ * @generated from enum value: IN_PROGRESS = 2;
1789
1947
  */
1790
- id: string;
1948
+ IN_PROGRESS = 2,
1791
1949
  /**
1792
- * @generated from field: string issuer = 5;
1950
+ * @generated from enum value: COMPLETED = 3;
1793
1951
  */
1794
- issuer: string;
1795
- constructor(data?: PartialMessage<IDPCertificate>);
1796
- static readonly runtime: typeof proto3;
1797
- static readonly typeName = "scalekit.v1.connections.IDPCertificate";
1798
- static readonly fields: FieldList;
1799
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IDPCertificate;
1800
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IDPCertificate;
1801
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IDPCertificate;
1802
- static equals(a: IDPCertificate | PlainMessage<IDPCertificate> | undefined, b: IDPCertificate | PlainMessage<IDPCertificate> | undefined): boolean;
1952
+ COMPLETED = 3
1803
1953
  }
1804
1954
  /**
1805
- * @generated from message scalekit.v1.connections.GetOIDCMetadataRequest
1955
+ * Describes the enum scalekit.v1.connections.ConnectionStatus.
1806
1956
  */
1807
- export declare class GetOIDCMetadataRequest extends Message<GetOIDCMetadataRequest> {
1808
- /**
1809
- * @generated from field: scalekit.v1.connections.OIDCMetadataRequest metadata = 1;
1810
- */
1811
- metadata?: OIDCMetadataRequest;
1812
- constructor(data?: PartialMessage<GetOIDCMetadataRequest>);
1813
- static readonly runtime: typeof proto3;
1814
- static readonly typeName = "scalekit.v1.connections.GetOIDCMetadataRequest";
1815
- static readonly fields: FieldList;
1816
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOIDCMetadataRequest;
1817
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOIDCMetadataRequest;
1818
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOIDCMetadataRequest;
1819
- static equals(a: GetOIDCMetadataRequest | PlainMessage<GetOIDCMetadataRequest> | undefined, b: GetOIDCMetadataRequest | PlainMessage<GetOIDCMetadataRequest> | undefined): boolean;
1820
- }
1957
+ export declare const ConnectionStatusSchema: GenEnum<ConnectionStatus>;
1821
1958
  /**
1822
- * @generated from message scalekit.v1.connections.OIDCMetadataRequest
1959
+ * @generated from enum scalekit.v1.connections.ConnectionProvider
1823
1960
  */
1824
- export declare class OIDCMetadataRequest extends Message<OIDCMetadataRequest> {
1961
+ export declare enum ConnectionProvider {
1825
1962
  /**
1826
- * @generated from field: string issuer = 1;
1963
+ * @generated from enum value: CONNECTION_PROVIDER_UNSPECIFIED = 0;
1827
1964
  */
1828
- issuer: string;
1829
- constructor(data?: PartialMessage<OIDCMetadataRequest>);
1830
- static readonly runtime: typeof proto3;
1831
- static readonly typeName = "scalekit.v1.connections.OIDCMetadataRequest";
1832
- static readonly fields: FieldList;
1833
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OIDCMetadataRequest;
1834
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OIDCMetadataRequest;
1835
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OIDCMetadataRequest;
1836
- static equals(a: OIDCMetadataRequest | PlainMessage<OIDCMetadataRequest> | undefined, b: OIDCMetadataRequest | PlainMessage<OIDCMetadataRequest> | undefined): boolean;
1837
- }
1838
- /**
1839
- * @generated from message scalekit.v1.connections.GetOIDCMetadataResponse
1840
- */
1841
- export declare class GetOIDCMetadataResponse extends Message<GetOIDCMetadataResponse> {
1965
+ CONNECTION_PROVIDER_UNSPECIFIED = 0,
1842
1966
  /**
1843
- * @generated from field: string issuer = 1;
1967
+ * @generated from enum value: OKTA = 1;
1844
1968
  */
1845
- issuer: string;
1969
+ OKTA = 1,
1846
1970
  /**
1847
- * @generated from field: string authorization_endpoint = 2;
1971
+ * @generated from enum value: GOOGLE = 2;
1848
1972
  */
1849
- authorizationEndpoint: string;
1973
+ GOOGLE = 2,
1850
1974
  /**
1851
- * @generated from field: string token_endpoint = 3;
1975
+ * @generated from enum value: MICROSOFT_AD = 3;
1852
1976
  */
1853
- tokenEndpoint: string;
1977
+ MICROSOFT_AD = 3,
1854
1978
  /**
1855
- * @generated from field: string userinfo_endpoint = 4;
1979
+ * @generated from enum value: AUTH0 = 4;
1856
1980
  */
1857
- userinfoEndpoint: string;
1981
+ AUTH0 = 4,
1858
1982
  /**
1859
- * @generated from field: string jwks_uri = 5;
1983
+ * @generated from enum value: ONELOGIN = 5;
1860
1984
  */
1861
- jwksUri: string;
1862
- constructor(data?: PartialMessage<GetOIDCMetadataResponse>);
1863
- static readonly runtime: typeof proto3;
1864
- static readonly typeName = "scalekit.v1.connections.GetOIDCMetadataResponse";
1865
- static readonly fields: FieldList;
1866
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOIDCMetadataResponse;
1867
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOIDCMetadataResponse;
1868
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOIDCMetadataResponse;
1869
- static equals(a: GetOIDCMetadataResponse | PlainMessage<GetOIDCMetadataResponse> | undefined, b: GetOIDCMetadataResponse | PlainMessage<GetOIDCMetadataResponse> | undefined): boolean;
1870
- }
1871
- /**
1872
- * @generated from message scalekit.v1.connections.GetSAMLMetadataRequest
1873
- */
1874
- export declare class GetSAMLMetadataRequest extends Message<GetSAMLMetadataRequest> {
1985
+ ONELOGIN = 5,
1875
1986
  /**
1876
- * @generated from field: scalekit.v1.connections.SAMLMetadataRequest metadata = 1;
1987
+ * @generated from enum value: PING_IDENTITY = 6;
1877
1988
  */
1878
- metadata?: SAMLMetadataRequest;
1879
- constructor(data?: PartialMessage<GetSAMLMetadataRequest>);
1880
- static readonly runtime: typeof proto3;
1881
- static readonly typeName = "scalekit.v1.connections.GetSAMLMetadataRequest";
1882
- static readonly fields: FieldList;
1883
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLMetadataRequest;
1884
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLMetadataRequest;
1885
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLMetadataRequest;
1886
- static equals(a: GetSAMLMetadataRequest | PlainMessage<GetSAMLMetadataRequest> | undefined, b: GetSAMLMetadataRequest | PlainMessage<GetSAMLMetadataRequest> | undefined): boolean;
1887
- }
1888
- /**
1889
- * @generated from message scalekit.v1.connections.SAMLMetadataRequest
1890
- */
1891
- export declare class SAMLMetadataRequest extends Message<SAMLMetadataRequest> {
1989
+ PING_IDENTITY = 6,
1892
1990
  /**
1893
- * @generated from field: string metadata_url = 1;
1991
+ * @generated from enum value: JUMPCLOUD = 7;
1894
1992
  */
1895
- metadataUrl: string;
1896
- constructor(data?: PartialMessage<SAMLMetadataRequest>);
1897
- static readonly runtime: typeof proto3;
1898
- static readonly typeName = "scalekit.v1.connections.SAMLMetadataRequest";
1899
- static readonly fields: FieldList;
1900
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLMetadataRequest;
1901
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLMetadataRequest;
1902
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLMetadataRequest;
1903
- static equals(a: SAMLMetadataRequest | PlainMessage<SAMLMetadataRequest> | undefined, b: SAMLMetadataRequest | PlainMessage<SAMLMetadataRequest> | undefined): boolean;
1904
- }
1905
- /**
1906
- * @generated from message scalekit.v1.connections.GetSAMLMetadataResponse
1907
- */
1908
- export declare class GetSAMLMetadataResponse extends Message<GetSAMLMetadataResponse> {
1993
+ JUMPCLOUD = 7,
1909
1994
  /**
1910
- * @generated from field: string idp_entity_id = 1;
1995
+ * @generated from enum value: CUSTOM = 8;
1911
1996
  */
1912
- idpEntityId: string;
1997
+ CUSTOM = 8,
1913
1998
  /**
1914
- * @generated from field: string idp_sso_url = 2;
1999
+ * @generated from enum value: GITHUB = 9;
1915
2000
  */
1916
- idpSsoUrl: string;
2001
+ GITHUB = 9,
1917
2002
  /**
1918
- * @generated from field: string idp_slo_url = 3;
2003
+ * @generated from enum value: GITLAB = 10;
1919
2004
  */
1920
- idpSloUrl: string;
2005
+ GITLAB = 10,
1921
2006
  /**
1922
- * @generated from field: repeated string idp_certificates = 4;
2007
+ * @generated from enum value: LINKEDIN = 11;
1923
2008
  */
1924
- idpCertificates: string[];
2009
+ LINKEDIN = 11,
1925
2010
  /**
1926
- * @generated from field: string idp_name_id_format = 5;
2011
+ * @generated from enum value: SALESFORCE = 12;
1927
2012
  */
1928
- idpNameIdFormat: string;
2013
+ SALESFORCE = 12,
1929
2014
  /**
1930
- * @generated from field: string request_binding = 6;
2015
+ * @generated from enum value: MICROSOFT = 13;
1931
2016
  */
1932
- requestBinding: string;
2017
+ MICROSOFT = 13,
1933
2018
  /**
1934
- * @generated from field: bool want_assertions_signed = 7;
2019
+ * @generated from enum value: IDP_SIMULATOR = 14;
1935
2020
  */
1936
- wantAssertionsSigned: boolean;
1937
- constructor(data?: PartialMessage<GetSAMLMetadataResponse>);
1938
- static readonly runtime: typeof proto3;
1939
- static readonly typeName = "scalekit.v1.connections.GetSAMLMetadataResponse";
1940
- static readonly fields: FieldList;
1941
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLMetadataResponse;
1942
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLMetadataResponse;
1943
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLMetadataResponse;
1944
- static equals(a: GetSAMLMetadataResponse | PlainMessage<GetSAMLMetadataResponse> | undefined, b: GetSAMLMetadataResponse | PlainMessage<GetSAMLMetadataResponse> | undefined): boolean;
1945
- }
1946
- /**
1947
- * @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsRequest
1948
- */
1949
- export declare class GetSAMLCertificateDetailsRequest extends Message<GetSAMLCertificateDetailsRequest> {
2021
+ IDP_SIMULATOR = 14,
1950
2022
  /**
1951
- * @generated from field: scalekit.v1.connections.SAMLCertificateRequest certificate = 1;
2023
+ * @generated from enum value: SCALEKIT = 15;
1952
2024
  */
1953
- certificate?: SAMLCertificateRequest;
1954
- constructor(data?: PartialMessage<GetSAMLCertificateDetailsRequest>);
1955
- static readonly runtime: typeof proto3;
1956
- static readonly typeName = "scalekit.v1.connections.GetSAMLCertificateDetailsRequest";
1957
- static readonly fields: FieldList;
1958
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLCertificateDetailsRequest;
1959
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsRequest;
1960
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsRequest;
1961
- static equals(a: GetSAMLCertificateDetailsRequest | PlainMessage<GetSAMLCertificateDetailsRequest> | undefined, b: GetSAMLCertificateDetailsRequest | PlainMessage<GetSAMLCertificateDetailsRequest> | undefined): boolean;
1962
- }
1963
- /**
1964
- * @generated from message scalekit.v1.connections.SAMLCertificateRequest
1965
- */
1966
- export declare class SAMLCertificateRequest extends Message<SAMLCertificateRequest> {
2025
+ SCALEKIT = 15,
1967
2026
  /**
1968
- * @generated from field: string text = 1;
2027
+ * @generated from enum value: ADFS = 16;
1969
2028
  */
1970
- text: string;
1971
- constructor(data?: PartialMessage<SAMLCertificateRequest>);
1972
- static readonly runtime: typeof proto3;
1973
- static readonly typeName = "scalekit.v1.connections.SAMLCertificateRequest";
1974
- static readonly fields: FieldList;
1975
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLCertificateRequest;
1976
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLCertificateRequest;
1977
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLCertificateRequest;
1978
- static equals(a: SAMLCertificateRequest | PlainMessage<SAMLCertificateRequest> | undefined, b: SAMLCertificateRequest | PlainMessage<SAMLCertificateRequest> | undefined): boolean;
2029
+ ADFS = 16
1979
2030
  }
1980
2031
  /**
1981
- * @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsResponse
2032
+ * Describes the enum scalekit.v1.connections.ConnectionProvider.
1982
2033
  */
1983
- export declare class GetSAMLCertificateDetailsResponse extends Message<GetSAMLCertificateDetailsResponse> {
1984
- /**
1985
- * @generated from field: string text = 1;
1986
- */
1987
- text: string;
1988
- /**
1989
- * @generated from field: int64 not_after = 2;
1990
- */
1991
- notAfter: bigint;
1992
- /**
1993
- * @generated from field: int64 not_before = 3;
1994
- */
1995
- notBefore: bigint;
2034
+ export declare const ConnectionProviderSchema: GenEnum<ConnectionProvider>;
2035
+ /**
2036
+ * @generated from service scalekit.v1.connections.ConnectionService
2037
+ */
2038
+ export declare const ConnectionService: GenService<{
1996
2039
  /**
1997
- * @generated from field: string subject = 4;
2040
+ * @generated from rpc scalekit.v1.connections.ConnectionService.CreateEnvironmentConnection
1998
2041
  */
1999
- subject: string;
2042
+ createEnvironmentConnection: {
2043
+ methodKind: "unary";
2044
+ input: typeof CreateEnvironmentConnectionRequestSchema;
2045
+ output: typeof CreateConnectionResponseSchema;
2046
+ };
2000
2047
  /**
2001
- * @generated from field: string issuer = 5;
2048
+ * @generated from rpc scalekit.v1.connections.ConnectionService.CreateConnection
2002
2049
  */
2003
- issuer: string;
2004
- constructor(data?: PartialMessage<GetSAMLCertificateDetailsResponse>);
2005
- static readonly runtime: typeof proto3;
2006
- static readonly typeName = "scalekit.v1.connections.GetSAMLCertificateDetailsResponse";
2007
- static readonly fields: FieldList;
2008
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLCertificateDetailsResponse;
2009
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsResponse;
2010
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsResponse;
2011
- static equals(a: GetSAMLCertificateDetailsResponse | PlainMessage<GetSAMLCertificateDetailsResponse> | undefined, b: GetSAMLCertificateDetailsResponse | PlainMessage<GetSAMLCertificateDetailsResponse> | undefined): boolean;
2012
- }
2013
- /**
2014
- * @generated from message scalekit.v1.connections.GetConnectionTestResultRequest
2015
- */
2016
- export declare class GetConnectionTestResultRequest extends Message<GetConnectionTestResultRequest> {
2050
+ createConnection: {
2051
+ methodKind: "unary";
2052
+ input: typeof CreateConnectionRequestSchema;
2053
+ output: typeof CreateConnectionResponseSchema;
2054
+ };
2017
2055
  /**
2018
- * @generated from field: string connection_id = 1;
2056
+ * @generated from rpc scalekit.v1.connections.ConnectionService.AssignDomainsToConnection
2019
2057
  */
2020
- connectionId: string;
2058
+ assignDomainsToConnection: {
2059
+ methodKind: "unary";
2060
+ input: typeof AssignDomainsToConnectionRequestSchema;
2061
+ output: typeof AssignDomainsToConnectionResponseSchema;
2062
+ };
2021
2063
  /**
2022
- * @generated from field: string test_request_id = 2;
2064
+ * @generated from rpc scalekit.v1.connections.ConnectionService.GetEnvironmentConnection
2023
2065
  */
2024
- testRequestId: string;
2025
- constructor(data?: PartialMessage<GetConnectionTestResultRequest>);
2026
- static readonly runtime: typeof proto3;
2027
- static readonly typeName = "scalekit.v1.connections.GetConnectionTestResultRequest";
2028
- static readonly fields: FieldList;
2029
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionTestResultRequest;
2030
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionTestResultRequest;
2031
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionTestResultRequest;
2032
- static equals(a: GetConnectionTestResultRequest | PlainMessage<GetConnectionTestResultRequest> | undefined, b: GetConnectionTestResultRequest | PlainMessage<GetConnectionTestResultRequest> | undefined): boolean;
2033
- }
2034
- /**
2035
- * @generated from message scalekit.v1.connections.GetConnectionTestResultResponse
2036
- */
2037
- export declare class GetConnectionTestResultResponse extends Message<GetConnectionTestResultResponse> {
2066
+ getEnvironmentConnection: {
2067
+ methodKind: "unary";
2068
+ input: typeof GetEnvironmentConnectionRequestSchema;
2069
+ output: typeof GetConnectionResponseSchema;
2070
+ };
2038
2071
  /**
2039
- * @generated from field: scalekit.v1.connections.TestResultStatus status = 1;
2072
+ * @generated from rpc scalekit.v1.connections.ConnectionService.GetConnection
2040
2073
  */
2041
- status: TestResultStatus;
2074
+ getConnection: {
2075
+ methodKind: "unary";
2076
+ input: typeof GetConnectionRequestSchema;
2077
+ output: typeof GetConnectionResponseSchema;
2078
+ };
2042
2079
  /**
2043
- * @generated from field: optional string user_info = 2;
2080
+ * @generated from rpc scalekit.v1.connections.ConnectionService.ListConnections
2044
2081
  */
2045
- userInfo?: string;
2082
+ listConnections: {
2083
+ methodKind: "unary";
2084
+ input: typeof ListConnectionsRequestSchema;
2085
+ output: typeof ListConnectionsResponseSchema;
2086
+ };
2046
2087
  /**
2047
- * @generated from field: optional string error = 3;
2088
+ * @generated from rpc scalekit.v1.connections.ConnectionService.ListOrganizationConnections
2048
2089
  */
2049
- error?: string;
2090
+ listOrganizationConnections: {
2091
+ methodKind: "unary";
2092
+ input: typeof ListOrganizationConnectionsRequestSchema;
2093
+ output: typeof ListOrganizationConnectionsResponseSchema;
2094
+ };
2050
2095
  /**
2051
- * @generated from field: optional string error_description = 4;
2096
+ * @generated from rpc scalekit.v1.connections.ConnectionService.SearchOrganizationConnections
2052
2097
  */
2053
- errorDescription?: string;
2098
+ searchOrganizationConnections: {
2099
+ methodKind: "unary";
2100
+ input: typeof SearchOrganizationConnectionsRequestSchema;
2101
+ output: typeof SearchOrganizationConnectionsResponseSchema;
2102
+ };
2054
2103
  /**
2055
- * @generated from field: optional string error_details = 5;
2104
+ * @generated from rpc scalekit.v1.connections.ConnectionService.UpdateEnvironmentConnection
2056
2105
  */
2057
- errorDetails?: string;
2058
- constructor(data?: PartialMessage<GetConnectionTestResultResponse>);
2059
- static readonly runtime: typeof proto3;
2060
- static readonly typeName = "scalekit.v1.connections.GetConnectionTestResultResponse";
2061
- static readonly fields: FieldList;
2062
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionTestResultResponse;
2063
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionTestResultResponse;
2064
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionTestResultResponse;
2065
- static equals(a: GetConnectionTestResultResponse | PlainMessage<GetConnectionTestResultResponse> | undefined, b: GetConnectionTestResultResponse | PlainMessage<GetConnectionTestResultResponse> | undefined): boolean;
2066
- }
2067
- /**
2068
- * @generated from message scalekit.v1.connections.PasswordConnectionConfig
2069
- */
2070
- export declare class PasswordConnectionConfig extends Message<PasswordConnectionConfig> {
2071
- constructor(data?: PartialMessage<PasswordConnectionConfig>);
2072
- static readonly runtime: typeof proto3;
2073
- static readonly typeName = "scalekit.v1.connections.PasswordConnectionConfig";
2074
- static readonly fields: FieldList;
2075
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PasswordConnectionConfig;
2076
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PasswordConnectionConfig;
2077
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PasswordConnectionConfig;
2078
- static equals(a: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined, b: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined): boolean;
2079
- }
2080
- /**
2081
- * @generated from message scalekit.v1.connections.Flags
2082
- */
2083
- export declare class Flags extends Message<Flags> {
2106
+ updateEnvironmentConnection: {
2107
+ methodKind: "unary";
2108
+ input: typeof UpdateEnvironmentConnectionRequestSchema;
2109
+ output: typeof UpdateConnectionResponseSchema;
2110
+ };
2084
2111
  /**
2085
- * @generated from field: bool is_login = 1;
2112
+ * @generated from rpc scalekit.v1.connections.ConnectionService.UpdateConnection
2086
2113
  */
2087
- isLogin: boolean;
2114
+ updateConnection: {
2115
+ methodKind: "unary";
2116
+ input: typeof UpdateConnectionRequestSchema;
2117
+ output: typeof UpdateConnectionResponseSchema;
2118
+ };
2088
2119
  /**
2089
- * @generated from field: bool is_app = 2;
2120
+ * @generated from rpc scalekit.v1.connections.ConnectionService.DeleteEnvironmentConnection
2090
2121
  */
2091
- isApp: boolean;
2092
- constructor(data?: PartialMessage<Flags>);
2093
- static readonly runtime: typeof proto3;
2094
- static readonly typeName = "scalekit.v1.connections.Flags";
2095
- static readonly fields: FieldList;
2096
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Flags;
2097
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Flags;
2098
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Flags;
2099
- static equals(a: Flags | PlainMessage<Flags> | undefined, b: Flags | PlainMessage<Flags> | undefined): boolean;
2100
- }
2101
- /**
2102
- * @generated from message scalekit.v1.connections.ListAppConnectionsRequest
2103
- */
2104
- export declare class ListAppConnectionsRequest extends Message<ListAppConnectionsRequest> {
2122
+ deleteEnvironmentConnection: {
2123
+ methodKind: "unary";
2124
+ input: typeof DeleteEnvironmentConnectionRequestSchema;
2125
+ output: typeof EmptySchema;
2126
+ };
2105
2127
  /**
2106
- * @generated from field: uint32 page_size = 1;
2128
+ * @generated from rpc scalekit.v1.connections.ConnectionService.DeleteConnection
2107
2129
  */
2108
- pageSize: number;
2130
+ deleteConnection: {
2131
+ methodKind: "unary";
2132
+ input: typeof DeleteConnectionRequestSchema;
2133
+ output: typeof EmptySchema;
2134
+ };
2109
2135
  /**
2110
- * @generated from field: string page_token = 2;
2136
+ * @generated from rpc scalekit.v1.connections.ConnectionService.EnableEnvironmentConnection
2111
2137
  */
2112
- pageToken: string;
2138
+ enableEnvironmentConnection: {
2139
+ methodKind: "unary";
2140
+ input: typeof ToggleEnvironmentConnectionRequestSchema;
2141
+ output: typeof ToggleConnectionResponseSchema;
2142
+ };
2113
2143
  /**
2114
- * @generated from field: optional string provider = 3;
2144
+ * @generated from rpc scalekit.v1.connections.ConnectionService.EnableConnection
2115
2145
  */
2116
- provider?: string;
2117
- constructor(data?: PartialMessage<ListAppConnectionsRequest>);
2118
- static readonly runtime: typeof proto3;
2119
- static readonly typeName = "scalekit.v1.connections.ListAppConnectionsRequest";
2120
- static readonly fields: FieldList;
2121
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAppConnectionsRequest;
2122
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAppConnectionsRequest;
2123
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAppConnectionsRequest;
2124
- static equals(a: ListAppConnectionsRequest | PlainMessage<ListAppConnectionsRequest> | undefined, b: ListAppConnectionsRequest | PlainMessage<ListAppConnectionsRequest> | undefined): boolean;
2125
- }
2126
- /**
2127
- * @generated from message scalekit.v1.connections.ListAppConnectionsResponse
2128
- */
2129
- export declare class ListAppConnectionsResponse extends Message<ListAppConnectionsResponse> {
2146
+ enableConnection: {
2147
+ methodKind: "unary";
2148
+ input: typeof ToggleConnectionRequestSchema;
2149
+ output: typeof ToggleConnectionResponseSchema;
2150
+ };
2130
2151
  /**
2131
- * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
2152
+ * @generated from rpc scalekit.v1.connections.ConnectionService.DisableEnvironmentConnection
2132
2153
  */
2133
- connections: ListConnection[];
2154
+ disableEnvironmentConnection: {
2155
+ methodKind: "unary";
2156
+ input: typeof ToggleEnvironmentConnectionRequestSchema;
2157
+ output: typeof ToggleConnectionResponseSchema;
2158
+ };
2134
2159
  /**
2135
- * @generated from field: string next_page_token = 2;
2160
+ * @generated from rpc scalekit.v1.connections.ConnectionService.DisableConnection
2136
2161
  */
2137
- nextPageToken: string;
2162
+ disableConnection: {
2163
+ methodKind: "unary";
2164
+ input: typeof ToggleConnectionRequestSchema;
2165
+ output: typeof ToggleConnectionResponseSchema;
2166
+ };
2138
2167
  /**
2139
- * @generated from field: string prev_page_token = 3;
2168
+ * @generated from rpc scalekit.v1.connections.ConnectionService.GetConnectionTestResult
2140
2169
  */
2141
- prevPageToken: string;
2170
+ getConnectionTestResult: {
2171
+ methodKind: "unary";
2172
+ input: typeof GetConnectionTestResultRequestSchema;
2173
+ output: typeof GetConnectionTestResultResponseSchema;
2174
+ };
2142
2175
  /**
2143
- * @generated from field: uint32 total_size = 4;
2176
+ * @generated from rpc scalekit.v1.connections.ConnectionService.ListAppConnections
2144
2177
  */
2145
- totalSize: number;
2146
- constructor(data?: PartialMessage<ListAppConnectionsResponse>);
2147
- static readonly runtime: typeof proto3;
2148
- static readonly typeName = "scalekit.v1.connections.ListAppConnectionsResponse";
2149
- static readonly fields: FieldList;
2150
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAppConnectionsResponse;
2151
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAppConnectionsResponse;
2152
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAppConnectionsResponse;
2153
- static equals(a: ListAppConnectionsResponse | PlainMessage<ListAppConnectionsResponse> | undefined, b: ListAppConnectionsResponse | PlainMessage<ListAppConnectionsResponse> | undefined): boolean;
2154
- }
2178
+ listAppConnections: {
2179
+ methodKind: "unary";
2180
+ input: typeof ListAppConnectionsRequestSchema;
2181
+ output: typeof ListAppConnectionsResponseSchema;
2182
+ };
2183
+ }>;