@scalekit-sdk/node 2.1.4 → 2.1.6
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/buf.gen.yaml +1 -0
- package/lib/auth.d.ts +22 -0
- package/lib/auth.js +65 -0
- package/lib/auth.js.map +1 -0
- package/lib/core.js +1 -1
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +16 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +20 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +118 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +126 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +617 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +927 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +34 -4
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +43 -6
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +10 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +9 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +277 -2
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +324 -2
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +43 -50
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +66 -73
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +62 -14
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +46 -17
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/scalekit.d.ts +22 -0
- package/lib/scalekit.js +35 -6
- package/lib/scalekit.js.map +1 -1
- package/package.json +1 -1
- package/src/auth.ts +65 -0
- package/src/core.ts +1 -1
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +24 -0
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +125 -0
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +1183 -0
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +50 -6
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +10 -1
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +504 -1
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +82 -81
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +92 -22
- package/src/scalekit.ts +42 -6
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file scalekit/v1/auth/auth.proto (package scalekit.v1.auth, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { DiscoveryAuthMethodRequest, DiscoveryAuthMethodResponse, GetAuthCustomizationsRequest, GetAuthCustomizationsResponse, GetAuthErrorRequest, GetAuthErrorResponse, GetAuthFeaturesResponse, GetAuthStateResponse, ListAuthMethodsRequest, ListAuthMethodsResponse, ListUserOrganizationsResponse, SignupOrganizationRequest, SignupOrganizationResponse, UpdateLoginUserDetailsRequest, VerifyPasswordLessRequest, VerifyPasswordLessResponse } from "./auth_pb.js";
|
|
7
|
+
import { Empty, MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service scalekit.v1.auth.AuthService
|
|
11
|
+
*/
|
|
12
|
+
export const AuthService = {
|
|
13
|
+
typeName: "scalekit.v1.auth.AuthService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ListAuthMethods
|
|
17
|
+
*/
|
|
18
|
+
listAuthMethods: {
|
|
19
|
+
name: "ListAuthMethods",
|
|
20
|
+
I: ListAuthMethodsRequest,
|
|
21
|
+
O: ListAuthMethodsResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc scalekit.v1.auth.AuthService.DiscoveryAuthMethod
|
|
26
|
+
*/
|
|
27
|
+
discoveryAuthMethod: {
|
|
28
|
+
name: "DiscoveryAuthMethod",
|
|
29
|
+
I: DiscoveryAuthMethodRequest,
|
|
30
|
+
O: DiscoveryAuthMethodResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc scalekit.v1.auth.AuthService.VerifyPasswordLessOtp
|
|
35
|
+
*/
|
|
36
|
+
verifyPasswordLessOtp: {
|
|
37
|
+
name: "VerifyPasswordLessOtp",
|
|
38
|
+
I: VerifyPasswordLessRequest,
|
|
39
|
+
O: VerifyPasswordLessResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ResendPasswordless
|
|
44
|
+
*/
|
|
45
|
+
resendPasswordless: {
|
|
46
|
+
name: "ResendPasswordless",
|
|
47
|
+
I: Empty,
|
|
48
|
+
O: Empty,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ListUserOrganizations
|
|
53
|
+
*/
|
|
54
|
+
listUserOrganizations: {
|
|
55
|
+
name: "ListUserOrganizations",
|
|
56
|
+
I: Empty,
|
|
57
|
+
O: ListUserOrganizationsResponse,
|
|
58
|
+
kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc scalekit.v1.auth.AuthService.SignupOrganization
|
|
62
|
+
*/
|
|
63
|
+
signupOrganization: {
|
|
64
|
+
name: "SignupOrganization",
|
|
65
|
+
I: SignupOrganizationRequest,
|
|
66
|
+
O: SignupOrganizationResponse,
|
|
67
|
+
kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthState
|
|
71
|
+
*/
|
|
72
|
+
getAuthState: {
|
|
73
|
+
name: "GetAuthState",
|
|
74
|
+
I: Empty,
|
|
75
|
+
O: GetAuthStateResponse,
|
|
76
|
+
kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthError
|
|
80
|
+
*/
|
|
81
|
+
getAuthError: {
|
|
82
|
+
name: "GetAuthError",
|
|
83
|
+
I: GetAuthErrorRequest,
|
|
84
|
+
O: GetAuthErrorResponse,
|
|
85
|
+
kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* @generated from rpc scalekit.v1.auth.AuthService.Logout
|
|
89
|
+
*/
|
|
90
|
+
logout: {
|
|
91
|
+
name: "Logout",
|
|
92
|
+
I: Empty,
|
|
93
|
+
O: Empty,
|
|
94
|
+
kind: MethodKind.Unary,
|
|
95
|
+
},
|
|
96
|
+
/**
|
|
97
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthCustomizations
|
|
98
|
+
*/
|
|
99
|
+
getAuthCustomizations: {
|
|
100
|
+
name: "GetAuthCustomizations",
|
|
101
|
+
I: GetAuthCustomizationsRequest,
|
|
102
|
+
O: GetAuthCustomizationsResponse,
|
|
103
|
+
kind: MethodKind.Unary,
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthFeatures
|
|
107
|
+
*/
|
|
108
|
+
getAuthFeatures: {
|
|
109
|
+
name: "GetAuthFeatures",
|
|
110
|
+
I: Empty,
|
|
111
|
+
O: GetAuthFeaturesResponse,
|
|
112
|
+
kind: MethodKind.Unary,
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
* @generated from rpc scalekit.v1.auth.AuthService.UpdateLoginUserDetails
|
|
116
|
+
*/
|
|
117
|
+
updateLoginUserDetails: {
|
|
118
|
+
name: "UpdateLoginUserDetails",
|
|
119
|
+
I: UpdateLoginUserDetailsRequest,
|
|
120
|
+
O: Empty,
|
|
121
|
+
kind: MethodKind.Unary,
|
|
122
|
+
},
|
|
123
|
+
}
|
|
124
|
+
} as const;
|
|
125
|
+
|