@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.
- package/README.md +5 -5
- package/{reference.md → REFERENCE.md} +530 -748
- package/lib/auth.d.ts +9 -6
- package/lib/auth.js +4 -20
- package/lib/auth.js.map +1 -1
- package/lib/connect.d.ts +3 -3
- package/lib/connect.js +1 -2
- package/lib/connect.js.map +1 -1
- package/lib/connection.d.ts +2 -2
- package/lib/connection.js +4 -4
- package/lib/connection.js.map +1 -1
- package/lib/core.js +2 -2
- package/lib/core.js.map +1 -1
- package/lib/directory.d.ts +2 -2
- package/lib/directory.js +7 -7
- package/lib/directory.js.map +1 -1
- package/lib/domain.d.ts +6 -5
- package/lib/domain.js +4 -5
- package/lib/domain.js.map +1 -1
- package/lib/errors/base-exception.d.ts +1 -1
- package/lib/errors/base-exception.js +1 -1
- package/lib/errors/base-exception.js.map +1 -1
- package/lib/organization.d.ts +10 -9
- package/lib/organization.js +11 -9
- package/lib/organization.js.map +1 -1
- package/lib/passwordless.d.ts +2 -2
- package/lib/passwordless.js +8 -7
- package/lib/passwordless.js.map +1 -1
- package/lib/permission.d.ts +6 -5
- package/lib/permission.js +10 -11
- package/lib/permission.js.map +1 -1
- package/lib/pkg/grpc/buf/validate/validate_pb.d.ts +7 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js +25 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js +25 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js +25 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/visibility_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js +25 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js.map +1 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js +25 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +48 -42
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +27 -263
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +371 -325
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +132 -835
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +113 -87
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +45 -201
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +262 -265
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js +92 -938
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +162 -157
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +42 -313
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1488 -1459
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +353 -2362
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +520 -483
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +224 -1555
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +219 -191
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +96 -553
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +76 -102
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +37 -393
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +36 -26
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +20 -69
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +447 -400
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +163 -1238
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +622 -556
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +201 -1718
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +135 -132
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +55 -518
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +445 -413
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +142 -1490
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/role.d.ts +8 -7
- package/lib/role.js +14 -14
- package/lib/role.js.map +1 -1
- package/lib/scalekit.d.ts +0 -4
- package/lib/scalekit.js +0 -4
- package/lib/scalekit.js.map +1 -1
- package/lib/session.js +15 -24
- package/lib/session.js.map +1 -1
- package/lib/user.d.ts +6 -5
- package/lib/user.js +17 -20
- package/lib/user.js.map +1 -1
- package/lib/webauthn.js +6 -5
- package/lib/webauthn.js.map +1 -1
- package/package.json +12 -10
- package/.github/dependabot.yml +0 -10
- package/.nvmrc +0 -1
- package/buf.gen.yaml +0 -24
- package/jest.config.js +0 -15
- package/lib/connected-accounts.d.ts +0 -119
- package/lib/connected-accounts.js +0 -241
- package/lib/connected-accounts.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +0 -19
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +0 -27
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +0 -118
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +0 -126
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +0 -37
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +0 -45
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.d.ts +0 -82
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js +0 -90
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.d.ts +0 -87
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js +0 -95
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.d.ts +0 -718
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js +0 -893
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +0 -172
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +0 -180
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +0 -154
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +0 -162
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +0 -73
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +0 -81
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +0 -171
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +0 -179
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +0 -250
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +0 -258
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +0 -46
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +0 -54
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.d.ts +0 -75
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js +0 -83
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.d.ts +0 -431
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js +0 -627
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +0 -173
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +0 -181
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +0 -1
- package/lib/tools.d.ts +0 -75
- package/lib/tools.js +0 -127
- package/lib/tools.js.map +0 -1
- package/src/auth.ts +0 -99
- package/src/connect.ts +0 -33
- package/src/connected-accounts.ts +0 -358
- package/src/connection.ts +0 -267
- package/src/constants/user.ts +0 -22
- package/src/core.ts +0 -139
- package/src/directory.ts +0 -431
- package/src/domain.ts +0 -272
- package/src/errors/base-exception.ts +0 -262
- package/src/errors/index.ts +0 -3
- package/src/errors/specific-exceptions.ts +0 -88
- package/src/index.ts +0 -10
- package/src/organization.ts +0 -568
- package/src/passwordless.ts +0 -138
- package/src/permission.ts +0 -310
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +0 -26
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +0 -342
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +0 -125
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +0 -1213
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +0 -44
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +0 -336
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +0 -89
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +0 -1263
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +0 -573
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.ts +0 -94
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.ts +0 -1294
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +0 -179
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +0 -3846
- package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +0 -161
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +0 -2119
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +0 -80
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +0 -855
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +0 -524
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +0 -230
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +0 -178
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +0 -1766
- package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +0 -257
- package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +0 -2395
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +0 -53
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +0 -749
- package/src/pkg/grpc/scalekit/v1/tools/tools_connect.ts +0 -82
- package/src/pkg/grpc/scalekit/v1/tools/tools_pb.ts +0 -847
- package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +0 -180
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +0 -2151
- package/src/role.ts +0 -461
- package/src/scalekit.ts +0 -809
- package/src/session.ts +0 -337
- package/src/tools.ts +0 -166
- package/src/types/auth.ts +0 -73
- package/src/types/organization.ts +0 -12
- package/src/types/scalekit.ts +0 -50
- package/src/types/user.ts +0 -21
- package/src/user.ts +0 -825
- package/src/webauthn.ts +0 -98
- package/tests/README.md +0 -25
- package/tests/connected-accounts.test.ts +0 -472
- package/tests/connection.test.ts +0 -42
- package/tests/directory.test.ts +0 -46
- package/tests/domain.test.ts +0 -293
- package/tests/organization.test.ts +0 -81
- package/tests/passwordless.test.ts +0 -108
- package/tests/permission.test.ts +0 -399
- package/tests/role.test.ts +0 -323
- package/tests/scalekit.test.ts +0 -104
- package/tests/setup.ts +0 -34
- package/tests/tools.test.ts +0 -239
- package/tests/users.test.ts +0 -168
- package/tests/utils/test-data.ts +0 -481
- package/tsconfig.json +0 -19
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { DiscoveryAuthMethodRequest, DiscoveryAuthMethodResponse, GetAuthCustomizationsRequest, GetAuthCustomizationsResponse, GetAuthErrorRequest, GetAuthErrorResponse, GetAuthFeaturesResponse, GetAuthStateResponse, ListAuthMethodsRequest, ListAuthMethodsResponse, ListUserOrganizationsResponse, SignupOrganizationRequest, SignupOrganizationResponse, UpdateLoginUserDetailsRequest, VerifyPasswordLessOtpRequest, VerifyPasswordLessOtpResponse } from "./auth_pb.js";
|
|
2
|
-
import { Empty, MethodKind } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* @generated from service scalekit.v1.auth.AuthService
|
|
5
|
-
*/
|
|
6
|
-
export declare const AuthService: {
|
|
7
|
-
readonly typeName: "scalekit.v1.auth.AuthService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc scalekit.v1.auth.AuthService.ListAuthMethods
|
|
11
|
-
*/
|
|
12
|
-
readonly listAuthMethods: {
|
|
13
|
-
readonly name: "ListAuthMethods";
|
|
14
|
-
readonly I: typeof ListAuthMethodsRequest;
|
|
15
|
-
readonly O: typeof ListAuthMethodsResponse;
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc scalekit.v1.auth.AuthService.DiscoveryAuthMethod
|
|
20
|
-
*/
|
|
21
|
-
readonly discoveryAuthMethod: {
|
|
22
|
-
readonly name: "DiscoveryAuthMethod";
|
|
23
|
-
readonly I: typeof DiscoveryAuthMethodRequest;
|
|
24
|
-
readonly O: typeof DiscoveryAuthMethodResponse;
|
|
25
|
-
readonly kind: MethodKind.Unary;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @generated from rpc scalekit.v1.auth.AuthService.VerifyPasswordLessOtp
|
|
29
|
-
*/
|
|
30
|
-
readonly verifyPasswordLessOtp: {
|
|
31
|
-
readonly name: "VerifyPasswordLessOtp";
|
|
32
|
-
readonly I: typeof VerifyPasswordLessOtpRequest;
|
|
33
|
-
readonly O: typeof VerifyPasswordLessOtpResponse;
|
|
34
|
-
readonly kind: MethodKind.Unary;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @generated from rpc scalekit.v1.auth.AuthService.ResendPasswordless
|
|
38
|
-
*/
|
|
39
|
-
readonly resendPasswordless: {
|
|
40
|
-
readonly name: "ResendPasswordless";
|
|
41
|
-
readonly I: typeof Empty;
|
|
42
|
-
readonly O: typeof Empty;
|
|
43
|
-
readonly kind: MethodKind.Unary;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* @generated from rpc scalekit.v1.auth.AuthService.ListUserOrganizations
|
|
47
|
-
*/
|
|
48
|
-
readonly listUserOrganizations: {
|
|
49
|
-
readonly name: "ListUserOrganizations";
|
|
50
|
-
readonly I: typeof Empty;
|
|
51
|
-
readonly O: typeof ListUserOrganizationsResponse;
|
|
52
|
-
readonly kind: MethodKind.Unary;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @generated from rpc scalekit.v1.auth.AuthService.SignupOrganization
|
|
56
|
-
*/
|
|
57
|
-
readonly signupOrganization: {
|
|
58
|
-
readonly name: "SignupOrganization";
|
|
59
|
-
readonly I: typeof SignupOrganizationRequest;
|
|
60
|
-
readonly O: typeof SignupOrganizationResponse;
|
|
61
|
-
readonly kind: MethodKind.Unary;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthState
|
|
65
|
-
*/
|
|
66
|
-
readonly getAuthState: {
|
|
67
|
-
readonly name: "GetAuthState";
|
|
68
|
-
readonly I: typeof Empty;
|
|
69
|
-
readonly O: typeof GetAuthStateResponse;
|
|
70
|
-
readonly kind: MethodKind.Unary;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthError
|
|
74
|
-
*/
|
|
75
|
-
readonly getAuthError: {
|
|
76
|
-
readonly name: "GetAuthError";
|
|
77
|
-
readonly I: typeof GetAuthErrorRequest;
|
|
78
|
-
readonly O: typeof GetAuthErrorResponse;
|
|
79
|
-
readonly kind: MethodKind.Unary;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* @generated from rpc scalekit.v1.auth.AuthService.Logout
|
|
83
|
-
*/
|
|
84
|
-
readonly logout: {
|
|
85
|
-
readonly name: "Logout";
|
|
86
|
-
readonly I: typeof Empty;
|
|
87
|
-
readonly O: typeof Empty;
|
|
88
|
-
readonly kind: MethodKind.Unary;
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthCustomizations
|
|
92
|
-
*/
|
|
93
|
-
readonly getAuthCustomizations: {
|
|
94
|
-
readonly name: "GetAuthCustomizations";
|
|
95
|
-
readonly I: typeof GetAuthCustomizationsRequest;
|
|
96
|
-
readonly O: typeof GetAuthCustomizationsResponse;
|
|
97
|
-
readonly kind: MethodKind.Unary;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthFeatures
|
|
101
|
-
*/
|
|
102
|
-
readonly getAuthFeatures: {
|
|
103
|
-
readonly name: "GetAuthFeatures";
|
|
104
|
-
readonly I: typeof Empty;
|
|
105
|
-
readonly O: typeof GetAuthFeaturesResponse;
|
|
106
|
-
readonly kind: MethodKind.Unary;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* @generated from rpc scalekit.v1.auth.AuthService.UpdateLoginUserDetails
|
|
110
|
-
*/
|
|
111
|
-
readonly updateLoginUserDetails: {
|
|
112
|
-
readonly name: "UpdateLoginUserDetails";
|
|
113
|
-
readonly I: typeof UpdateLoginUserDetailsRequest;
|
|
114
|
-
readonly O: typeof Empty;
|
|
115
|
-
readonly kind: MethodKind.Unary;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
3
|
-
// @generated from file scalekit/v1/auth/auth.proto (package scalekit.v1.auth, syntax proto3)
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.AuthService = void 0;
|
|
8
|
-
const auth_pb_js_1 = require("./auth_pb.js");
|
|
9
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
-
/**
|
|
11
|
-
* @generated from service scalekit.v1.auth.AuthService
|
|
12
|
-
*/
|
|
13
|
-
exports.AuthService = {
|
|
14
|
-
typeName: "scalekit.v1.auth.AuthService",
|
|
15
|
-
methods: {
|
|
16
|
-
/**
|
|
17
|
-
* @generated from rpc scalekit.v1.auth.AuthService.ListAuthMethods
|
|
18
|
-
*/
|
|
19
|
-
listAuthMethods: {
|
|
20
|
-
name: "ListAuthMethods",
|
|
21
|
-
I: auth_pb_js_1.ListAuthMethodsRequest,
|
|
22
|
-
O: auth_pb_js_1.ListAuthMethodsResponse,
|
|
23
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* @generated from rpc scalekit.v1.auth.AuthService.DiscoveryAuthMethod
|
|
27
|
-
*/
|
|
28
|
-
discoveryAuthMethod: {
|
|
29
|
-
name: "DiscoveryAuthMethod",
|
|
30
|
-
I: auth_pb_js_1.DiscoveryAuthMethodRequest,
|
|
31
|
-
O: auth_pb_js_1.DiscoveryAuthMethodResponse,
|
|
32
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
33
|
-
},
|
|
34
|
-
/**
|
|
35
|
-
* @generated from rpc scalekit.v1.auth.AuthService.VerifyPasswordLessOtp
|
|
36
|
-
*/
|
|
37
|
-
verifyPasswordLessOtp: {
|
|
38
|
-
name: "VerifyPasswordLessOtp",
|
|
39
|
-
I: auth_pb_js_1.VerifyPasswordLessOtpRequest,
|
|
40
|
-
O: auth_pb_js_1.VerifyPasswordLessOtpResponse,
|
|
41
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
42
|
-
},
|
|
43
|
-
/**
|
|
44
|
-
* @generated from rpc scalekit.v1.auth.AuthService.ResendPasswordless
|
|
45
|
-
*/
|
|
46
|
-
resendPasswordless: {
|
|
47
|
-
name: "ResendPasswordless",
|
|
48
|
-
I: protobuf_1.Empty,
|
|
49
|
-
O: protobuf_1.Empty,
|
|
50
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
51
|
-
},
|
|
52
|
-
/**
|
|
53
|
-
* @generated from rpc scalekit.v1.auth.AuthService.ListUserOrganizations
|
|
54
|
-
*/
|
|
55
|
-
listUserOrganizations: {
|
|
56
|
-
name: "ListUserOrganizations",
|
|
57
|
-
I: protobuf_1.Empty,
|
|
58
|
-
O: auth_pb_js_1.ListUserOrganizationsResponse,
|
|
59
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* @generated from rpc scalekit.v1.auth.AuthService.SignupOrganization
|
|
63
|
-
*/
|
|
64
|
-
signupOrganization: {
|
|
65
|
-
name: "SignupOrganization",
|
|
66
|
-
I: auth_pb_js_1.SignupOrganizationRequest,
|
|
67
|
-
O: auth_pb_js_1.SignupOrganizationResponse,
|
|
68
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
69
|
-
},
|
|
70
|
-
/**
|
|
71
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthState
|
|
72
|
-
*/
|
|
73
|
-
getAuthState: {
|
|
74
|
-
name: "GetAuthState",
|
|
75
|
-
I: protobuf_1.Empty,
|
|
76
|
-
O: auth_pb_js_1.GetAuthStateResponse,
|
|
77
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthError
|
|
81
|
-
*/
|
|
82
|
-
getAuthError: {
|
|
83
|
-
name: "GetAuthError",
|
|
84
|
-
I: auth_pb_js_1.GetAuthErrorRequest,
|
|
85
|
-
O: auth_pb_js_1.GetAuthErrorResponse,
|
|
86
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
87
|
-
},
|
|
88
|
-
/**
|
|
89
|
-
* @generated from rpc scalekit.v1.auth.AuthService.Logout
|
|
90
|
-
*/
|
|
91
|
-
logout: {
|
|
92
|
-
name: "Logout",
|
|
93
|
-
I: protobuf_1.Empty,
|
|
94
|
-
O: protobuf_1.Empty,
|
|
95
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
96
|
-
},
|
|
97
|
-
/**
|
|
98
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthCustomizations
|
|
99
|
-
*/
|
|
100
|
-
getAuthCustomizations: {
|
|
101
|
-
name: "GetAuthCustomizations",
|
|
102
|
-
I: auth_pb_js_1.GetAuthCustomizationsRequest,
|
|
103
|
-
O: auth_pb_js_1.GetAuthCustomizationsResponse,
|
|
104
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
105
|
-
},
|
|
106
|
-
/**
|
|
107
|
-
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthFeatures
|
|
108
|
-
*/
|
|
109
|
-
getAuthFeatures: {
|
|
110
|
-
name: "GetAuthFeatures",
|
|
111
|
-
I: protobuf_1.Empty,
|
|
112
|
-
O: auth_pb_js_1.GetAuthFeaturesResponse,
|
|
113
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
114
|
-
},
|
|
115
|
-
/**
|
|
116
|
-
* @generated from rpc scalekit.v1.auth.AuthService.UpdateLoginUserDetails
|
|
117
|
-
*/
|
|
118
|
-
updateLoginUserDetails: {
|
|
119
|
-
name: "UpdateLoginUserDetails",
|
|
120
|
-
I: auth_pb_js_1.UpdateLoginUserDetailsRequest,
|
|
121
|
-
O: protobuf_1.Empty,
|
|
122
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
123
|
-
},
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
//# sourceMappingURL=auth_connect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth_connect.js","sourceRoot":"","sources":["../../../../../../src/pkg/grpc/scalekit/v1/auth/auth_connect.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;;;AAEd,6CAAid;AACjd,iDAAuD;AAEvD;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,QAAQ,EAAE,8BAA8B;IACxC,OAAO,EAAE;QACP;;WAEG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,mCAAsB;YACzB,CAAC,EAAE,oCAAuB;YAC1B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,uCAA0B;YAC7B,CAAC,EAAE,wCAA2B;YAC9B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,yCAA4B;YAC/B,CAAC,EAAE,0CAA6B;YAChC,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,gBAAK;YACR,CAAC,EAAE,gBAAK;YACR,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,gBAAK;YACR,CAAC,EAAE,0CAA6B;YAChC,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,sCAAyB;YAC5B,CAAC,EAAE,uCAA0B;YAC7B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,gBAAK;YACR,CAAC,EAAE,iCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,gCAAmB;YACtB,CAAC,EAAE,iCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAK;YACR,CAAC,EAAE,gBAAK;YACR,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,yCAA4B;YAC/B,CAAC,EAAE,0CAA6B;YAChC,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,gBAAK;YACR,CAAC,EAAE,oCAAuB;YAC1B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,sBAAsB,EAAE;YACtB,IAAI,EAAE,wBAAwB;YAC9B,CAAC,EAAE,0CAA6B;YAChC,CAAC,EAAE,gBAAK;YACR,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ResendPasswordlessRequest, SendPasswordlessRequest, SendPasswordlessResponse, VerifyPasswordLessRequest, VerifyPasswordLessResponse } from "./passwordless_pb.js";
|
|
2
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* @generated from service scalekit.v1.auth.passwordless.PasswordlessService
|
|
5
|
-
*/
|
|
6
|
-
export declare const PasswordlessService: {
|
|
7
|
-
readonly typeName: "scalekit.v1.auth.passwordless.PasswordlessService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc scalekit.v1.auth.passwordless.PasswordlessService.SendPasswordlessEmail
|
|
11
|
-
*/
|
|
12
|
-
readonly sendPasswordlessEmail: {
|
|
13
|
-
readonly name: "SendPasswordlessEmail";
|
|
14
|
-
readonly I: typeof SendPasswordlessRequest;
|
|
15
|
-
readonly O: typeof SendPasswordlessResponse;
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc scalekit.v1.auth.passwordless.PasswordlessService.VerifyPasswordlessEmail
|
|
20
|
-
*/
|
|
21
|
-
readonly verifyPasswordlessEmail: {
|
|
22
|
-
readonly name: "VerifyPasswordlessEmail";
|
|
23
|
-
readonly I: typeof VerifyPasswordLessRequest;
|
|
24
|
-
readonly O: typeof VerifyPasswordLessResponse;
|
|
25
|
-
readonly kind: MethodKind.Unary;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @generated from rpc scalekit.v1.auth.passwordless.PasswordlessService.ResendPasswordlessEmail
|
|
29
|
-
*/
|
|
30
|
-
readonly resendPasswordlessEmail: {
|
|
31
|
-
readonly name: "ResendPasswordlessEmail";
|
|
32
|
-
readonly I: typeof ResendPasswordlessRequest;
|
|
33
|
-
readonly O: typeof SendPasswordlessResponse;
|
|
34
|
-
readonly kind: MethodKind.Unary;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
3
|
-
// @generated from file scalekit/v1/auth/passwordless.proto (package scalekit.v1.auth.passwordless, syntax proto3)
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.PasswordlessService = void 0;
|
|
8
|
-
const passwordless_pb_js_1 = require("./passwordless_pb.js");
|
|
9
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
-
/**
|
|
11
|
-
* @generated from service scalekit.v1.auth.passwordless.PasswordlessService
|
|
12
|
-
*/
|
|
13
|
-
exports.PasswordlessService = {
|
|
14
|
-
typeName: "scalekit.v1.auth.passwordless.PasswordlessService",
|
|
15
|
-
methods: {
|
|
16
|
-
/**
|
|
17
|
-
* @generated from rpc scalekit.v1.auth.passwordless.PasswordlessService.SendPasswordlessEmail
|
|
18
|
-
*/
|
|
19
|
-
sendPasswordlessEmail: {
|
|
20
|
-
name: "SendPasswordlessEmail",
|
|
21
|
-
I: passwordless_pb_js_1.SendPasswordlessRequest,
|
|
22
|
-
O: passwordless_pb_js_1.SendPasswordlessResponse,
|
|
23
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* @generated from rpc scalekit.v1.auth.passwordless.PasswordlessService.VerifyPasswordlessEmail
|
|
27
|
-
*/
|
|
28
|
-
verifyPasswordlessEmail: {
|
|
29
|
-
name: "VerifyPasswordlessEmail",
|
|
30
|
-
I: passwordless_pb_js_1.VerifyPasswordLessRequest,
|
|
31
|
-
O: passwordless_pb_js_1.VerifyPasswordLessResponse,
|
|
32
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
33
|
-
},
|
|
34
|
-
/**
|
|
35
|
-
* @generated from rpc scalekit.v1.auth.passwordless.PasswordlessService.ResendPasswordlessEmail
|
|
36
|
-
*/
|
|
37
|
-
resendPasswordlessEmail: {
|
|
38
|
-
name: "ResendPasswordlessEmail",
|
|
39
|
-
I: passwordless_pb_js_1.ResendPasswordlessRequest,
|
|
40
|
-
O: passwordless_pb_js_1.SendPasswordlessResponse,
|
|
41
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
42
|
-
},
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
//# sourceMappingURL=passwordless_connect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"passwordless_connect.js","sourceRoot":"","sources":["../../../../../../src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,kHAAkH;AAClH,oBAAoB;AACpB,cAAc;;;AAEd,6DAA2K;AAC3K,iDAAgD;AAEhD;;GAEG;AACU,QAAA,mBAAmB,GAAG;IACjC,QAAQ,EAAE,mDAAmD;IAC7D,OAAO,EAAE;QACP;;WAEG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,4CAAuB;YAC1B,CAAC,EAAE,6CAAwB;YAC3B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,8CAAyB;YAC5B,CAAC,EAAE,+CAA0B;YAC7B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,8CAAyB;YAC5B,CAAC,EAAE,6CAAwB;YAC3B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { BeginAuthenticationRequest, BeginAuthenticationResponse, BeginRegistrationRequest, BeginRegistrationResponse, DeleteCredentialRequest, DeleteCredentialResponse, FinishAuthenticationRequest, FinishAuthenticationResponse, FinishRegistrationRequest, FinishRegistrationResponse, GetRelatedOriginsRequest, GetRelatedOriginsResponse, ListCredentialsRequest, ListCredentialsResponse, UpdateCredentialRequest, UpdateCredentialResponse } from "./webauthn_pb.js";
|
|
2
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* @generated from service scalekit.v1.auth.webauthn.WebAuthnService
|
|
5
|
-
*/
|
|
6
|
-
export declare const WebAuthnService: {
|
|
7
|
-
readonly typeName: "scalekit.v1.auth.webauthn.WebAuthnService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.BeginRegistration
|
|
11
|
-
*/
|
|
12
|
-
readonly beginRegistration: {
|
|
13
|
-
readonly name: "BeginRegistration";
|
|
14
|
-
readonly I: typeof BeginRegistrationRequest;
|
|
15
|
-
readonly O: typeof BeginRegistrationResponse;
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.FinishRegistration
|
|
20
|
-
*/
|
|
21
|
-
readonly finishRegistration: {
|
|
22
|
-
readonly name: "FinishRegistration";
|
|
23
|
-
readonly I: typeof FinishRegistrationRequest;
|
|
24
|
-
readonly O: typeof FinishRegistrationResponse;
|
|
25
|
-
readonly kind: MethodKind.Unary;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.BeginAuthentication
|
|
29
|
-
*/
|
|
30
|
-
readonly beginAuthentication: {
|
|
31
|
-
readonly name: "BeginAuthentication";
|
|
32
|
-
readonly I: typeof BeginAuthenticationRequest;
|
|
33
|
-
readonly O: typeof BeginAuthenticationResponse;
|
|
34
|
-
readonly kind: MethodKind.Unary;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.FinishAuthentication
|
|
38
|
-
*/
|
|
39
|
-
readonly finishAuthentication: {
|
|
40
|
-
readonly name: "FinishAuthentication";
|
|
41
|
-
readonly I: typeof FinishAuthenticationRequest;
|
|
42
|
-
readonly O: typeof FinishAuthenticationResponse;
|
|
43
|
-
readonly kind: MethodKind.Unary;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.ListCredentials
|
|
47
|
-
*/
|
|
48
|
-
readonly listCredentials: {
|
|
49
|
-
readonly name: "ListCredentials";
|
|
50
|
-
readonly I: typeof ListCredentialsRequest;
|
|
51
|
-
readonly O: typeof ListCredentialsResponse;
|
|
52
|
-
readonly kind: MethodKind.Unary;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.DeleteCredential
|
|
56
|
-
*/
|
|
57
|
-
readonly deleteCredential: {
|
|
58
|
-
readonly name: "DeleteCredential";
|
|
59
|
-
readonly I: typeof DeleteCredentialRequest;
|
|
60
|
-
readonly O: typeof DeleteCredentialResponse;
|
|
61
|
-
readonly kind: MethodKind.Unary;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.UpdateCredential
|
|
65
|
-
*/
|
|
66
|
-
readonly updateCredential: {
|
|
67
|
-
readonly name: "UpdateCredential";
|
|
68
|
-
readonly I: typeof UpdateCredentialRequest;
|
|
69
|
-
readonly O: typeof UpdateCredentialResponse;
|
|
70
|
-
readonly kind: MethodKind.Unary;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.GetRelatedOrigins
|
|
74
|
-
*/
|
|
75
|
-
readonly getRelatedOrigins: {
|
|
76
|
-
readonly name: "GetRelatedOrigins";
|
|
77
|
-
readonly I: typeof GetRelatedOriginsRequest;
|
|
78
|
-
readonly O: typeof GetRelatedOriginsResponse;
|
|
79
|
-
readonly kind: MethodKind.Unary;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
3
|
-
// @generated from file scalekit/v1/auth/webauthn.proto (package scalekit.v1.auth.webauthn, syntax proto3)
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.WebAuthnService = void 0;
|
|
8
|
-
const webauthn_pb_js_1 = require("./webauthn_pb.js");
|
|
9
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
-
/**
|
|
11
|
-
* @generated from service scalekit.v1.auth.webauthn.WebAuthnService
|
|
12
|
-
*/
|
|
13
|
-
exports.WebAuthnService = {
|
|
14
|
-
typeName: "scalekit.v1.auth.webauthn.WebAuthnService",
|
|
15
|
-
methods: {
|
|
16
|
-
/**
|
|
17
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.BeginRegistration
|
|
18
|
-
*/
|
|
19
|
-
beginRegistration: {
|
|
20
|
-
name: "BeginRegistration",
|
|
21
|
-
I: webauthn_pb_js_1.BeginRegistrationRequest,
|
|
22
|
-
O: webauthn_pb_js_1.BeginRegistrationResponse,
|
|
23
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.FinishRegistration
|
|
27
|
-
*/
|
|
28
|
-
finishRegistration: {
|
|
29
|
-
name: "FinishRegistration",
|
|
30
|
-
I: webauthn_pb_js_1.FinishRegistrationRequest,
|
|
31
|
-
O: webauthn_pb_js_1.FinishRegistrationResponse,
|
|
32
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
33
|
-
},
|
|
34
|
-
/**
|
|
35
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.BeginAuthentication
|
|
36
|
-
*/
|
|
37
|
-
beginAuthentication: {
|
|
38
|
-
name: "BeginAuthentication",
|
|
39
|
-
I: webauthn_pb_js_1.BeginAuthenticationRequest,
|
|
40
|
-
O: webauthn_pb_js_1.BeginAuthenticationResponse,
|
|
41
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
42
|
-
},
|
|
43
|
-
/**
|
|
44
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.FinishAuthentication
|
|
45
|
-
*/
|
|
46
|
-
finishAuthentication: {
|
|
47
|
-
name: "FinishAuthentication",
|
|
48
|
-
I: webauthn_pb_js_1.FinishAuthenticationRequest,
|
|
49
|
-
O: webauthn_pb_js_1.FinishAuthenticationResponse,
|
|
50
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
51
|
-
},
|
|
52
|
-
/**
|
|
53
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.ListCredentials
|
|
54
|
-
*/
|
|
55
|
-
listCredentials: {
|
|
56
|
-
name: "ListCredentials",
|
|
57
|
-
I: webauthn_pb_js_1.ListCredentialsRequest,
|
|
58
|
-
O: webauthn_pb_js_1.ListCredentialsResponse,
|
|
59
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.DeleteCredential
|
|
63
|
-
*/
|
|
64
|
-
deleteCredential: {
|
|
65
|
-
name: "DeleteCredential",
|
|
66
|
-
I: webauthn_pb_js_1.DeleteCredentialRequest,
|
|
67
|
-
O: webauthn_pb_js_1.DeleteCredentialResponse,
|
|
68
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
69
|
-
},
|
|
70
|
-
/**
|
|
71
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.UpdateCredential
|
|
72
|
-
*/
|
|
73
|
-
updateCredential: {
|
|
74
|
-
name: "UpdateCredential",
|
|
75
|
-
I: webauthn_pb_js_1.UpdateCredentialRequest,
|
|
76
|
-
O: webauthn_pb_js_1.UpdateCredentialResponse,
|
|
77
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* @generated from rpc scalekit.v1.auth.webauthn.WebAuthnService.GetRelatedOrigins
|
|
81
|
-
*/
|
|
82
|
-
getRelatedOrigins: {
|
|
83
|
-
name: "GetRelatedOrigins",
|
|
84
|
-
I: webauthn_pb_js_1.GetRelatedOriginsRequest,
|
|
85
|
-
O: webauthn_pb_js_1.GetRelatedOriginsResponse,
|
|
86
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
87
|
-
},
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=webauthn_connect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webauthn_connect.js","sourceRoot":"","sources":["../../../../../../src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;;;AAEd,qDAA8c;AAC9c,iDAAgD;AAEhD;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,QAAQ,EAAE,2CAA2C;IACrD,OAAO,EAAE;QACP;;WAEG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,yCAAwB;YAC3B,CAAC,EAAE,0CAAyB;YAC5B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,0CAAyB;YAC5B,CAAC,EAAE,2CAA0B;YAC7B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,2CAA0B;YAC7B,CAAC,EAAE,4CAA2B;YAC9B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,4CAA2B;YAC9B,CAAC,EAAE,6CAA4B;YAC/B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,uCAAsB;YACzB,CAAC,EAAE,wCAAuB;YAC1B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,wCAAuB;YAC1B,CAAC,EAAE,yCAAwB;YAC3B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,wCAAuB;YAC1B,CAAC,EAAE,yCAAwB;YAC3B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,yCAAwB;YAC3B,CAAC,EAAE,0CAAyB;YAC5B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { CreateConnectedAccountRequest, CreateConnectedAccountResponse, DeleteConnectedAccountRequest, DeleteConnectedAccountResponse, GetConnectedAccountByIdentifierRequest, GetConnectedAccountByIdentifierResponse, GetMagicLinkForConnectedAccountRequest, GetMagicLinkForConnectedAccountResponse, ListConnectedAccountsRequest, ListConnectedAccountsResponse, SearchConnectedAccountsRequest, SearchConnectedAccountsResponse, UpdateConnectedAccountRequest, UpdateConnectedAccountResponse } from "./connected_accounts_pb.js";
|
|
2
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* @generated from service scalekit.v1.connected_accounts.ConnectedAccountService
|
|
5
|
-
*/
|
|
6
|
-
export declare const ConnectedAccountService: {
|
|
7
|
-
readonly typeName: "scalekit.v1.connected_accounts.ConnectedAccountService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* List Connected Accounts
|
|
11
|
-
*
|
|
12
|
-
* @generated from rpc scalekit.v1.connected_accounts.ConnectedAccountService.ListConnectedAccounts
|
|
13
|
-
*/
|
|
14
|
-
readonly listConnectedAccounts: {
|
|
15
|
-
readonly name: "ListConnectedAccounts";
|
|
16
|
-
readonly I: typeof ListConnectedAccountsRequest;
|
|
17
|
-
readonly O: typeof ListConnectedAccountsResponse;
|
|
18
|
-
readonly kind: MethodKind.Unary;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Search Connected Accounts
|
|
22
|
-
*
|
|
23
|
-
* @generated from rpc scalekit.v1.connected_accounts.ConnectedAccountService.SearchConnectedAccounts
|
|
24
|
-
*/
|
|
25
|
-
readonly searchConnectedAccounts: {
|
|
26
|
-
readonly name: "SearchConnectedAccounts";
|
|
27
|
-
readonly I: typeof SearchConnectedAccountsRequest;
|
|
28
|
-
readonly O: typeof SearchConnectedAccountsResponse;
|
|
29
|
-
readonly kind: MethodKind.Unary;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Create Connected Account
|
|
33
|
-
*
|
|
34
|
-
* @generated from rpc scalekit.v1.connected_accounts.ConnectedAccountService.CreateConnectedAccount
|
|
35
|
-
*/
|
|
36
|
-
readonly createConnectedAccount: {
|
|
37
|
-
readonly name: "CreateConnectedAccount";
|
|
38
|
-
readonly I: typeof CreateConnectedAccountRequest;
|
|
39
|
-
readonly O: typeof CreateConnectedAccountResponse;
|
|
40
|
-
readonly kind: MethodKind.Unary;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Update Connected Account
|
|
44
|
-
*
|
|
45
|
-
* @generated from rpc scalekit.v1.connected_accounts.ConnectedAccountService.UpdateConnectedAccount
|
|
46
|
-
*/
|
|
47
|
-
readonly updateConnectedAccount: {
|
|
48
|
-
readonly name: "UpdateConnectedAccount";
|
|
49
|
-
readonly I: typeof UpdateConnectedAccountRequest;
|
|
50
|
-
readonly O: typeof UpdateConnectedAccountResponse;
|
|
51
|
-
readonly kind: MethodKind.Unary;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Delete Connected Account
|
|
55
|
-
*
|
|
56
|
-
* @generated from rpc scalekit.v1.connected_accounts.ConnectedAccountService.DeleteConnectedAccount
|
|
57
|
-
*/
|
|
58
|
-
readonly deleteConnectedAccount: {
|
|
59
|
-
readonly name: "DeleteConnectedAccount";
|
|
60
|
-
readonly I: typeof DeleteConnectedAccountRequest;
|
|
61
|
-
readonly O: typeof DeleteConnectedAccountResponse;
|
|
62
|
-
readonly kind: MethodKind.Unary;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Generate Magic Link for Account Connection
|
|
66
|
-
*
|
|
67
|
-
* @generated from rpc scalekit.v1.connected_accounts.ConnectedAccountService.GetMagicLinkForConnectedAccount
|
|
68
|
-
*/
|
|
69
|
-
readonly getMagicLinkForConnectedAccount: {
|
|
70
|
-
readonly name: "GetMagicLinkForConnectedAccount";
|
|
71
|
-
readonly I: typeof GetMagicLinkForConnectedAccountRequest;
|
|
72
|
-
readonly O: typeof GetMagicLinkForConnectedAccountResponse;
|
|
73
|
-
readonly kind: MethodKind.Unary;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Get Connected Account Authentication Details
|
|
77
|
-
*
|
|
78
|
-
* @generated from rpc scalekit.v1.connected_accounts.ConnectedAccountService.GetConnectedAccountAuth
|
|
79
|
-
*/
|
|
80
|
-
readonly getConnectedAccountAuth: {
|
|
81
|
-
readonly name: "GetConnectedAccountAuth";
|
|
82
|
-
readonly I: typeof GetConnectedAccountByIdentifierRequest;
|
|
83
|
-
readonly O: typeof GetConnectedAccountByIdentifierResponse;
|
|
84
|
-
readonly kind: MethodKind.Unary;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|