@scalekit-sdk/node 2.2.0-beta.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -1
- package/README.md +5 -5
- package/buf.gen.yaml +1 -5
- 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 +6 -10
- package/reference.md +0 -671
- package/src/auth.ts +17 -17
- package/src/connect.ts +4 -5
- package/src/connection.ts +5 -5
- package/src/core.ts +2 -2
- package/src/directory.ts +8 -8
- package/src/domain.ts +9 -8
- package/src/errors/base-exception.ts +3 -2
- package/src/organization.ts +18 -15
- package/src/passwordless.ts +12 -11
- package/src/permission.ts +15 -15
- package/src/pkg/grpc/buf/validate/validate_pb.ts +28 -0
- package/src/pkg/grpc/google/api/annotations_pb.ts +28 -0
- package/src/pkg/grpc/google/api/field_behavior_pb.ts +28 -0
- package/src/pkg/grpc/google/api/visibility_pb.ts +28 -0
- package/src/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.ts +28 -0
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +97 -182
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +473 -850
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +153 -225
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +361 -830
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +237 -358
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +1625 -2826
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +687 -1413
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +286 -542
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +115 -328
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +50 -80
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +558 -1183
- package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +765 -1669
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +195 -447
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +592 -1339
- package/src/role.ts +21 -19
- package/src/scalekit.ts +0 -9
- package/src/session.ts +20 -34
- package/src/user.ts +30 -26
- package/src/webauthn.ts +10 -9
- package/tests/utils/test-data.ts +17 -8
- package/lib/connected-accounts.d.ts +0 -96
- package/lib/connected-accounts.js +0 -186
- 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/connected-accounts.ts +0 -283
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +0 -26
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +0 -125
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +0 -44
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +0 -89
- 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/directories/directories_connect.ts +0 -161
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +0 -80
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +0 -178
- package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +0 -257
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +0 -53
- 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/tools.ts +0 -166
- package/tests/connected-accounts.test.ts +0 -434
- package/tests/tools.test.ts +0 -239
|
@@ -1,893 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
3
|
-
// @generated from file scalekit/v1/connected_accounts/connected_accounts.proto (package scalekit.v1.connected_accounts, syntax proto3)
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.StaticAuth = exports.OauthToken = exports.AuthorizationDetails = exports.ConnectedAccountForList = exports.UpdateConnectedAccount = exports.CreateConnectedAccount = exports.ConnectedAccount = exports.GetConnectedAccountByIdentifierResponse = exports.GetConnectedAccountByIdentifierRequest = exports.GetMagicLinkForConnectedAccountResponse = exports.GetMagicLinkForConnectedAccountRequest = exports.DeleteConnectedAccountResponse = exports.DeleteConnectedAccountRequest = exports.UpdateConnectedAccountResponse = exports.UpdateConnectedAccountRequest = exports.CreateConnectedAccountResponse = exports.CreateConnectedAccountRequest = exports.SearchConnectedAccountsResponse = exports.SearchConnectedAccountsRequest = exports.ListConnectedAccountsResponse = exports.ListConnectedAccountsRequest = exports.ConnectorType = exports.ConnectorStatus = void 0;
|
|
8
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
|
-
/**
|
|
10
|
-
* Status of a connected account indicating its current state
|
|
11
|
-
*
|
|
12
|
-
* @generated from enum scalekit.v1.connected_accounts.ConnectorStatus
|
|
13
|
-
*/
|
|
14
|
-
var ConnectorStatus;
|
|
15
|
-
(function (ConnectorStatus) {
|
|
16
|
-
/**
|
|
17
|
-
* Default/unknown status
|
|
18
|
-
*
|
|
19
|
-
* @generated from enum value: CONNECTION_STATUS_UNSPECIFIED = 0;
|
|
20
|
-
*/
|
|
21
|
-
ConnectorStatus[ConnectorStatus["CONNECTION_STATUS_UNSPECIFIED"] = 0] = "CONNECTION_STATUS_UNSPECIFIED";
|
|
22
|
-
/**
|
|
23
|
-
* Account is connected and credentials are valid
|
|
24
|
-
*
|
|
25
|
-
* @generated from enum value: ACTIVE = 1;
|
|
26
|
-
*/
|
|
27
|
-
ConnectorStatus[ConnectorStatus["ACTIVE"] = 1] = "ACTIVE";
|
|
28
|
-
/**
|
|
29
|
-
* Access token has expired and needs refresh
|
|
30
|
-
*
|
|
31
|
-
* @generated from enum value: EXPIRED = 2;
|
|
32
|
-
*/
|
|
33
|
-
ConnectorStatus[ConnectorStatus["EXPIRED"] = 2] = "EXPIRED";
|
|
34
|
-
/**
|
|
35
|
-
* Account awaiting user authorization
|
|
36
|
-
*
|
|
37
|
-
* @generated from enum value: PENDING_AUTH = 3;
|
|
38
|
-
*/
|
|
39
|
-
ConnectorStatus[ConnectorStatus["PENDING_AUTH"] = 3] = "PENDING_AUTH";
|
|
40
|
-
})(ConnectorStatus || (exports.ConnectorStatus = ConnectorStatus = {}));
|
|
41
|
-
// Retrieve enum metadata with: proto3.getEnumType(ConnectorStatus)
|
|
42
|
-
protobuf_1.proto3.util.setEnumType(ConnectorStatus, "scalekit.v1.connected_accounts.ConnectorStatus", [
|
|
43
|
-
{ no: 0, name: "CONNECTION_STATUS_UNSPECIFIED" },
|
|
44
|
-
{ no: 1, name: "ACTIVE" },
|
|
45
|
-
{ no: 2, name: "EXPIRED" },
|
|
46
|
-
{ no: 3, name: "PENDING_AUTH" },
|
|
47
|
-
]);
|
|
48
|
-
/**
|
|
49
|
-
* Type of authentication mechanism used for the connected account
|
|
50
|
-
*
|
|
51
|
-
* @generated from enum scalekit.v1.connected_accounts.ConnectorType
|
|
52
|
-
*/
|
|
53
|
-
var ConnectorType;
|
|
54
|
-
(function (ConnectorType) {
|
|
55
|
-
/**
|
|
56
|
-
* Default/unknown type
|
|
57
|
-
*
|
|
58
|
-
* @generated from enum value: CONNECTION_TYPE_UNSPECIFIED = 0;
|
|
59
|
-
*/
|
|
60
|
-
ConnectorType[ConnectorType["CONNECTION_TYPE_UNSPECIFIED"] = 0] = "CONNECTION_TYPE_UNSPECIFIED";
|
|
61
|
-
/**
|
|
62
|
-
* OAuth 2.0 authorization with access and refresh tokens
|
|
63
|
-
*
|
|
64
|
-
* @generated from enum value: OAUTH = 1;
|
|
65
|
-
*/
|
|
66
|
-
ConnectorType[ConnectorType["OAUTH"] = 1] = "OAUTH";
|
|
67
|
-
/**
|
|
68
|
-
* Static API key authentication
|
|
69
|
-
*
|
|
70
|
-
* @generated from enum value: API_KEY = 2;
|
|
71
|
-
*/
|
|
72
|
-
ConnectorType[ConnectorType["API_KEY"] = 2] = "API_KEY";
|
|
73
|
-
/**
|
|
74
|
-
* HTTP Basic Authentication (username/password)
|
|
75
|
-
*
|
|
76
|
-
* @generated from enum value: BASIC_AUTH = 3;
|
|
77
|
-
*/
|
|
78
|
-
ConnectorType[ConnectorType["BASIC_AUTH"] = 3] = "BASIC_AUTH";
|
|
79
|
-
/**
|
|
80
|
-
* Bearer token authentication
|
|
81
|
-
*
|
|
82
|
-
* @generated from enum value: BEARER_TOKEN = 4;
|
|
83
|
-
*/
|
|
84
|
-
ConnectorType[ConnectorType["BEARER_TOKEN"] = 4] = "BEARER_TOKEN";
|
|
85
|
-
/**
|
|
86
|
-
* Custom authentication mechanism
|
|
87
|
-
*
|
|
88
|
-
* @generated from enum value: CUSTOM = 5;
|
|
89
|
-
*/
|
|
90
|
-
ConnectorType[ConnectorType["CUSTOM"] = 5] = "CUSTOM";
|
|
91
|
-
/**
|
|
92
|
-
* Basic authentication (alias)
|
|
93
|
-
*
|
|
94
|
-
* @generated from enum value: BASIC = 6;
|
|
95
|
-
*/
|
|
96
|
-
ConnectorType[ConnectorType["BASIC"] = 6] = "BASIC";
|
|
97
|
-
})(ConnectorType || (exports.ConnectorType = ConnectorType = {}));
|
|
98
|
-
// Retrieve enum metadata with: proto3.getEnumType(ConnectorType)
|
|
99
|
-
protobuf_1.proto3.util.setEnumType(ConnectorType, "scalekit.v1.connected_accounts.ConnectorType", [
|
|
100
|
-
{ no: 0, name: "CONNECTION_TYPE_UNSPECIFIED" },
|
|
101
|
-
{ no: 1, name: "OAUTH" },
|
|
102
|
-
{ no: 2, name: "API_KEY" },
|
|
103
|
-
{ no: 3, name: "BASIC_AUTH" },
|
|
104
|
-
{ no: 4, name: "BEARER_TOKEN" },
|
|
105
|
-
{ no: 5, name: "CUSTOM" },
|
|
106
|
-
{ no: 6, name: "BASIC" },
|
|
107
|
-
]);
|
|
108
|
-
/**
|
|
109
|
-
* @generated from message scalekit.v1.connected_accounts.ListConnectedAccountsRequest
|
|
110
|
-
*/
|
|
111
|
-
class ListConnectedAccountsRequest extends protobuf_1.Message {
|
|
112
|
-
constructor(data) {
|
|
113
|
-
super();
|
|
114
|
-
/**
|
|
115
|
-
* @generated from field: string provider = 5;
|
|
116
|
-
*/
|
|
117
|
-
this.provider = "";
|
|
118
|
-
/**
|
|
119
|
-
* @generated from field: uint32 page_size = 6;
|
|
120
|
-
*/
|
|
121
|
-
this.pageSize = 0;
|
|
122
|
-
/**
|
|
123
|
-
* @generated from field: string page_token = 7;
|
|
124
|
-
*/
|
|
125
|
-
this.pageToken = "";
|
|
126
|
-
/**
|
|
127
|
-
* @generated from field: string query = 8;
|
|
128
|
-
*/
|
|
129
|
-
this.query = "";
|
|
130
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
131
|
-
}
|
|
132
|
-
static fromBinary(bytes, options) {
|
|
133
|
-
return new ListConnectedAccountsRequest().fromBinary(bytes, options);
|
|
134
|
-
}
|
|
135
|
-
static fromJson(jsonValue, options) {
|
|
136
|
-
return new ListConnectedAccountsRequest().fromJson(jsonValue, options);
|
|
137
|
-
}
|
|
138
|
-
static fromJsonString(jsonString, options) {
|
|
139
|
-
return new ListConnectedAccountsRequest().fromJsonString(jsonString, options);
|
|
140
|
-
}
|
|
141
|
-
static equals(a, b) {
|
|
142
|
-
return protobuf_1.proto3.util.equals(ListConnectedAccountsRequest, a, b);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
exports.ListConnectedAccountsRequest = ListConnectedAccountsRequest;
|
|
146
|
-
ListConnectedAccountsRequest.runtime = protobuf_1.proto3;
|
|
147
|
-
ListConnectedAccountsRequest.typeName = "scalekit.v1.connected_accounts.ListConnectedAccountsRequest";
|
|
148
|
-
ListConnectedAccountsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
149
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
150
|
-
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
151
|
-
{ no: 3, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
152
|
-
{ no: 4, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
153
|
-
{ no: 5, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
154
|
-
{ no: 6, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
155
|
-
{ no: 7, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
156
|
-
{ no: 8, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
157
|
-
]);
|
|
158
|
-
/**
|
|
159
|
-
* @generated from message scalekit.v1.connected_accounts.ListConnectedAccountsResponse
|
|
160
|
-
*/
|
|
161
|
-
class ListConnectedAccountsResponse extends protobuf_1.Message {
|
|
162
|
-
constructor(data) {
|
|
163
|
-
super();
|
|
164
|
-
/**
|
|
165
|
-
* @generated from field: repeated scalekit.v1.connected_accounts.ConnectedAccountForList connected_accounts = 1;
|
|
166
|
-
*/
|
|
167
|
-
this.connectedAccounts = [];
|
|
168
|
-
/**
|
|
169
|
-
* @generated from field: uint32 total_size = 2;
|
|
170
|
-
*/
|
|
171
|
-
this.totalSize = 0;
|
|
172
|
-
/**
|
|
173
|
-
* @generated from field: string next_page_token = 3;
|
|
174
|
-
*/
|
|
175
|
-
this.nextPageToken = "";
|
|
176
|
-
/**
|
|
177
|
-
* @generated from field: string prev_page_token = 4;
|
|
178
|
-
*/
|
|
179
|
-
this.prevPageToken = "";
|
|
180
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
181
|
-
}
|
|
182
|
-
static fromBinary(bytes, options) {
|
|
183
|
-
return new ListConnectedAccountsResponse().fromBinary(bytes, options);
|
|
184
|
-
}
|
|
185
|
-
static fromJson(jsonValue, options) {
|
|
186
|
-
return new ListConnectedAccountsResponse().fromJson(jsonValue, options);
|
|
187
|
-
}
|
|
188
|
-
static fromJsonString(jsonString, options) {
|
|
189
|
-
return new ListConnectedAccountsResponse().fromJsonString(jsonString, options);
|
|
190
|
-
}
|
|
191
|
-
static equals(a, b) {
|
|
192
|
-
return protobuf_1.proto3.util.equals(ListConnectedAccountsResponse, a, b);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
exports.ListConnectedAccountsResponse = ListConnectedAccountsResponse;
|
|
196
|
-
ListConnectedAccountsResponse.runtime = protobuf_1.proto3;
|
|
197
|
-
ListConnectedAccountsResponse.typeName = "scalekit.v1.connected_accounts.ListConnectedAccountsResponse";
|
|
198
|
-
ListConnectedAccountsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
199
|
-
{ no: 1, name: "connected_accounts", kind: "message", T: ConnectedAccountForList, repeated: true },
|
|
200
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
201
|
-
{ no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
202
|
-
{ no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
203
|
-
]);
|
|
204
|
-
/**
|
|
205
|
-
* @generated from message scalekit.v1.connected_accounts.SearchConnectedAccountsRequest
|
|
206
|
-
*/
|
|
207
|
-
class SearchConnectedAccountsRequest extends protobuf_1.Message {
|
|
208
|
-
constructor(data) {
|
|
209
|
-
super();
|
|
210
|
-
/**
|
|
211
|
-
* @generated from field: string query = 1;
|
|
212
|
-
*/
|
|
213
|
-
this.query = "";
|
|
214
|
-
/**
|
|
215
|
-
* @generated from field: uint32 page_size = 2;
|
|
216
|
-
*/
|
|
217
|
-
this.pageSize = 0;
|
|
218
|
-
/**
|
|
219
|
-
* @generated from field: string page_token = 3;
|
|
220
|
-
*/
|
|
221
|
-
this.pageToken = "";
|
|
222
|
-
/**
|
|
223
|
-
* @generated from field: string connection_id = 4;
|
|
224
|
-
*/
|
|
225
|
-
this.connectionId = "";
|
|
226
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
227
|
-
}
|
|
228
|
-
static fromBinary(bytes, options) {
|
|
229
|
-
return new SearchConnectedAccountsRequest().fromBinary(bytes, options);
|
|
230
|
-
}
|
|
231
|
-
static fromJson(jsonValue, options) {
|
|
232
|
-
return new SearchConnectedAccountsRequest().fromJson(jsonValue, options);
|
|
233
|
-
}
|
|
234
|
-
static fromJsonString(jsonString, options) {
|
|
235
|
-
return new SearchConnectedAccountsRequest().fromJsonString(jsonString, options);
|
|
236
|
-
}
|
|
237
|
-
static equals(a, b) {
|
|
238
|
-
return protobuf_1.proto3.util.equals(SearchConnectedAccountsRequest, a, b);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
exports.SearchConnectedAccountsRequest = SearchConnectedAccountsRequest;
|
|
242
|
-
SearchConnectedAccountsRequest.runtime = protobuf_1.proto3;
|
|
243
|
-
SearchConnectedAccountsRequest.typeName = "scalekit.v1.connected_accounts.SearchConnectedAccountsRequest";
|
|
244
|
-
SearchConnectedAccountsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
245
|
-
{ no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
246
|
-
{ no: 2, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
247
|
-
{ no: 3, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
248
|
-
{ no: 4, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
249
|
-
]);
|
|
250
|
-
/**
|
|
251
|
-
* @generated from message scalekit.v1.connected_accounts.SearchConnectedAccountsResponse
|
|
252
|
-
*/
|
|
253
|
-
class SearchConnectedAccountsResponse extends protobuf_1.Message {
|
|
254
|
-
constructor(data) {
|
|
255
|
-
super();
|
|
256
|
-
/**
|
|
257
|
-
* @generated from field: repeated scalekit.v1.connected_accounts.ConnectedAccountForList connected_accounts = 1;
|
|
258
|
-
*/
|
|
259
|
-
this.connectedAccounts = [];
|
|
260
|
-
/**
|
|
261
|
-
* @generated from field: uint32 total_size = 2;
|
|
262
|
-
*/
|
|
263
|
-
this.totalSize = 0;
|
|
264
|
-
/**
|
|
265
|
-
* @generated from field: string next_page_token = 3;
|
|
266
|
-
*/
|
|
267
|
-
this.nextPageToken = "";
|
|
268
|
-
/**
|
|
269
|
-
* @generated from field: string prev_page_token = 4;
|
|
270
|
-
*/
|
|
271
|
-
this.prevPageToken = "";
|
|
272
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
273
|
-
}
|
|
274
|
-
static fromBinary(bytes, options) {
|
|
275
|
-
return new SearchConnectedAccountsResponse().fromBinary(bytes, options);
|
|
276
|
-
}
|
|
277
|
-
static fromJson(jsonValue, options) {
|
|
278
|
-
return new SearchConnectedAccountsResponse().fromJson(jsonValue, options);
|
|
279
|
-
}
|
|
280
|
-
static fromJsonString(jsonString, options) {
|
|
281
|
-
return new SearchConnectedAccountsResponse().fromJsonString(jsonString, options);
|
|
282
|
-
}
|
|
283
|
-
static equals(a, b) {
|
|
284
|
-
return protobuf_1.proto3.util.equals(SearchConnectedAccountsResponse, a, b);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
exports.SearchConnectedAccountsResponse = SearchConnectedAccountsResponse;
|
|
288
|
-
SearchConnectedAccountsResponse.runtime = protobuf_1.proto3;
|
|
289
|
-
SearchConnectedAccountsResponse.typeName = "scalekit.v1.connected_accounts.SearchConnectedAccountsResponse";
|
|
290
|
-
SearchConnectedAccountsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
291
|
-
{ no: 1, name: "connected_accounts", kind: "message", T: ConnectedAccountForList, repeated: true },
|
|
292
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
293
|
-
{ no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
294
|
-
{ no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
295
|
-
]);
|
|
296
|
-
/**
|
|
297
|
-
* @generated from message scalekit.v1.connected_accounts.CreateConnectedAccountRequest
|
|
298
|
-
*/
|
|
299
|
-
class CreateConnectedAccountRequest extends protobuf_1.Message {
|
|
300
|
-
constructor(data) {
|
|
301
|
-
super();
|
|
302
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
303
|
-
}
|
|
304
|
-
static fromBinary(bytes, options) {
|
|
305
|
-
return new CreateConnectedAccountRequest().fromBinary(bytes, options);
|
|
306
|
-
}
|
|
307
|
-
static fromJson(jsonValue, options) {
|
|
308
|
-
return new CreateConnectedAccountRequest().fromJson(jsonValue, options);
|
|
309
|
-
}
|
|
310
|
-
static fromJsonString(jsonString, options) {
|
|
311
|
-
return new CreateConnectedAccountRequest().fromJsonString(jsonString, options);
|
|
312
|
-
}
|
|
313
|
-
static equals(a, b) {
|
|
314
|
-
return protobuf_1.proto3.util.equals(CreateConnectedAccountRequest, a, b);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
exports.CreateConnectedAccountRequest = CreateConnectedAccountRequest;
|
|
318
|
-
CreateConnectedAccountRequest.runtime = protobuf_1.proto3;
|
|
319
|
-
CreateConnectedAccountRequest.typeName = "scalekit.v1.connected_accounts.CreateConnectedAccountRequest";
|
|
320
|
-
CreateConnectedAccountRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
321
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
322
|
-
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
323
|
-
{ no: 3, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
324
|
-
{ no: 4, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
325
|
-
{ no: 5, name: "connected_account", kind: "message", T: CreateConnectedAccount },
|
|
326
|
-
]);
|
|
327
|
-
/**
|
|
328
|
-
* @generated from message scalekit.v1.connected_accounts.CreateConnectedAccountResponse
|
|
329
|
-
*/
|
|
330
|
-
class CreateConnectedAccountResponse extends protobuf_1.Message {
|
|
331
|
-
constructor(data) {
|
|
332
|
-
super();
|
|
333
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
334
|
-
}
|
|
335
|
-
static fromBinary(bytes, options) {
|
|
336
|
-
return new CreateConnectedAccountResponse().fromBinary(bytes, options);
|
|
337
|
-
}
|
|
338
|
-
static fromJson(jsonValue, options) {
|
|
339
|
-
return new CreateConnectedAccountResponse().fromJson(jsonValue, options);
|
|
340
|
-
}
|
|
341
|
-
static fromJsonString(jsonString, options) {
|
|
342
|
-
return new CreateConnectedAccountResponse().fromJsonString(jsonString, options);
|
|
343
|
-
}
|
|
344
|
-
static equals(a, b) {
|
|
345
|
-
return protobuf_1.proto3.util.equals(CreateConnectedAccountResponse, a, b);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
exports.CreateConnectedAccountResponse = CreateConnectedAccountResponse;
|
|
349
|
-
CreateConnectedAccountResponse.runtime = protobuf_1.proto3;
|
|
350
|
-
CreateConnectedAccountResponse.typeName = "scalekit.v1.connected_accounts.CreateConnectedAccountResponse";
|
|
351
|
-
CreateConnectedAccountResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
352
|
-
{ no: 1, name: "connected_account", kind: "message", T: ConnectedAccount },
|
|
353
|
-
]);
|
|
354
|
-
/**
|
|
355
|
-
* @generated from message scalekit.v1.connected_accounts.UpdateConnectedAccountRequest
|
|
356
|
-
*/
|
|
357
|
-
class UpdateConnectedAccountRequest extends protobuf_1.Message {
|
|
358
|
-
constructor(data) {
|
|
359
|
-
super();
|
|
360
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
361
|
-
}
|
|
362
|
-
static fromBinary(bytes, options) {
|
|
363
|
-
return new UpdateConnectedAccountRequest().fromBinary(bytes, options);
|
|
364
|
-
}
|
|
365
|
-
static fromJson(jsonValue, options) {
|
|
366
|
-
return new UpdateConnectedAccountRequest().fromJson(jsonValue, options);
|
|
367
|
-
}
|
|
368
|
-
static fromJsonString(jsonString, options) {
|
|
369
|
-
return new UpdateConnectedAccountRequest().fromJsonString(jsonString, options);
|
|
370
|
-
}
|
|
371
|
-
static equals(a, b) {
|
|
372
|
-
return protobuf_1.proto3.util.equals(UpdateConnectedAccountRequest, a, b);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
exports.UpdateConnectedAccountRequest = UpdateConnectedAccountRequest;
|
|
376
|
-
UpdateConnectedAccountRequest.runtime = protobuf_1.proto3;
|
|
377
|
-
UpdateConnectedAccountRequest.typeName = "scalekit.v1.connected_accounts.UpdateConnectedAccountRequest";
|
|
378
|
-
UpdateConnectedAccountRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
379
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
380
|
-
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
381
|
-
{ no: 3, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
382
|
-
{ no: 4, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
383
|
-
{ no: 6, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
384
|
-
{ no: 5, name: "connected_account", kind: "message", T: UpdateConnectedAccount },
|
|
385
|
-
]);
|
|
386
|
-
/**
|
|
387
|
-
* @generated from message scalekit.v1.connected_accounts.UpdateConnectedAccountResponse
|
|
388
|
-
*/
|
|
389
|
-
class UpdateConnectedAccountResponse extends protobuf_1.Message {
|
|
390
|
-
constructor(data) {
|
|
391
|
-
super();
|
|
392
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
393
|
-
}
|
|
394
|
-
static fromBinary(bytes, options) {
|
|
395
|
-
return new UpdateConnectedAccountResponse().fromBinary(bytes, options);
|
|
396
|
-
}
|
|
397
|
-
static fromJson(jsonValue, options) {
|
|
398
|
-
return new UpdateConnectedAccountResponse().fromJson(jsonValue, options);
|
|
399
|
-
}
|
|
400
|
-
static fromJsonString(jsonString, options) {
|
|
401
|
-
return new UpdateConnectedAccountResponse().fromJsonString(jsonString, options);
|
|
402
|
-
}
|
|
403
|
-
static equals(a, b) {
|
|
404
|
-
return protobuf_1.proto3.util.equals(UpdateConnectedAccountResponse, a, b);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
exports.UpdateConnectedAccountResponse = UpdateConnectedAccountResponse;
|
|
408
|
-
UpdateConnectedAccountResponse.runtime = protobuf_1.proto3;
|
|
409
|
-
UpdateConnectedAccountResponse.typeName = "scalekit.v1.connected_accounts.UpdateConnectedAccountResponse";
|
|
410
|
-
UpdateConnectedAccountResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
411
|
-
{ no: 1, name: "connected_account", kind: "message", T: ConnectedAccount },
|
|
412
|
-
]);
|
|
413
|
-
/**
|
|
414
|
-
* @generated from message scalekit.v1.connected_accounts.DeleteConnectedAccountRequest
|
|
415
|
-
*/
|
|
416
|
-
class DeleteConnectedAccountRequest extends protobuf_1.Message {
|
|
417
|
-
constructor(data) {
|
|
418
|
-
super();
|
|
419
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
420
|
-
}
|
|
421
|
-
static fromBinary(bytes, options) {
|
|
422
|
-
return new DeleteConnectedAccountRequest().fromBinary(bytes, options);
|
|
423
|
-
}
|
|
424
|
-
static fromJson(jsonValue, options) {
|
|
425
|
-
return new DeleteConnectedAccountRequest().fromJson(jsonValue, options);
|
|
426
|
-
}
|
|
427
|
-
static fromJsonString(jsonString, options) {
|
|
428
|
-
return new DeleteConnectedAccountRequest().fromJsonString(jsonString, options);
|
|
429
|
-
}
|
|
430
|
-
static equals(a, b) {
|
|
431
|
-
return protobuf_1.proto3.util.equals(DeleteConnectedAccountRequest, a, b);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
exports.DeleteConnectedAccountRequest = DeleteConnectedAccountRequest;
|
|
435
|
-
DeleteConnectedAccountRequest.runtime = protobuf_1.proto3;
|
|
436
|
-
DeleteConnectedAccountRequest.typeName = "scalekit.v1.connected_accounts.DeleteConnectedAccountRequest";
|
|
437
|
-
DeleteConnectedAccountRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
438
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
439
|
-
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
440
|
-
{ no: 3, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
441
|
-
{ no: 4, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
442
|
-
{ no: 5, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
443
|
-
]);
|
|
444
|
-
/**
|
|
445
|
-
* @generated from message scalekit.v1.connected_accounts.DeleteConnectedAccountResponse
|
|
446
|
-
*/
|
|
447
|
-
class DeleteConnectedAccountResponse extends protobuf_1.Message {
|
|
448
|
-
constructor(data) {
|
|
449
|
-
super();
|
|
450
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
451
|
-
}
|
|
452
|
-
static fromBinary(bytes, options) {
|
|
453
|
-
return new DeleteConnectedAccountResponse().fromBinary(bytes, options);
|
|
454
|
-
}
|
|
455
|
-
static fromJson(jsonValue, options) {
|
|
456
|
-
return new DeleteConnectedAccountResponse().fromJson(jsonValue, options);
|
|
457
|
-
}
|
|
458
|
-
static fromJsonString(jsonString, options) {
|
|
459
|
-
return new DeleteConnectedAccountResponse().fromJsonString(jsonString, options);
|
|
460
|
-
}
|
|
461
|
-
static equals(a, b) {
|
|
462
|
-
return protobuf_1.proto3.util.equals(DeleteConnectedAccountResponse, a, b);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
exports.DeleteConnectedAccountResponse = DeleteConnectedAccountResponse;
|
|
466
|
-
DeleteConnectedAccountResponse.runtime = protobuf_1.proto3;
|
|
467
|
-
DeleteConnectedAccountResponse.typeName = "scalekit.v1.connected_accounts.DeleteConnectedAccountResponse";
|
|
468
|
-
DeleteConnectedAccountResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
469
|
-
/**
|
|
470
|
-
* @generated from message scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountRequest
|
|
471
|
-
*/
|
|
472
|
-
class GetMagicLinkForConnectedAccountRequest extends protobuf_1.Message {
|
|
473
|
-
constructor(data) {
|
|
474
|
-
super();
|
|
475
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
476
|
-
}
|
|
477
|
-
static fromBinary(bytes, options) {
|
|
478
|
-
return new GetMagicLinkForConnectedAccountRequest().fromBinary(bytes, options);
|
|
479
|
-
}
|
|
480
|
-
static fromJson(jsonValue, options) {
|
|
481
|
-
return new GetMagicLinkForConnectedAccountRequest().fromJson(jsonValue, options);
|
|
482
|
-
}
|
|
483
|
-
static fromJsonString(jsonString, options) {
|
|
484
|
-
return new GetMagicLinkForConnectedAccountRequest().fromJsonString(jsonString, options);
|
|
485
|
-
}
|
|
486
|
-
static equals(a, b) {
|
|
487
|
-
return protobuf_1.proto3.util.equals(GetMagicLinkForConnectedAccountRequest, a, b);
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
exports.GetMagicLinkForConnectedAccountRequest = GetMagicLinkForConnectedAccountRequest;
|
|
491
|
-
GetMagicLinkForConnectedAccountRequest.runtime = protobuf_1.proto3;
|
|
492
|
-
GetMagicLinkForConnectedAccountRequest.typeName = "scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountRequest";
|
|
493
|
-
GetMagicLinkForConnectedAccountRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
494
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
495
|
-
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
496
|
-
{ no: 3, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
497
|
-
{ no: 4, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
498
|
-
{ no: 5, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
499
|
-
]);
|
|
500
|
-
/**
|
|
501
|
-
* @generated from message scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountResponse
|
|
502
|
-
*/
|
|
503
|
-
class GetMagicLinkForConnectedAccountResponse extends protobuf_1.Message {
|
|
504
|
-
constructor(data) {
|
|
505
|
-
super();
|
|
506
|
-
/**
|
|
507
|
-
* @generated from field: string link = 1;
|
|
508
|
-
*/
|
|
509
|
-
this.link = "";
|
|
510
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
511
|
-
}
|
|
512
|
-
static fromBinary(bytes, options) {
|
|
513
|
-
return new GetMagicLinkForConnectedAccountResponse().fromBinary(bytes, options);
|
|
514
|
-
}
|
|
515
|
-
static fromJson(jsonValue, options) {
|
|
516
|
-
return new GetMagicLinkForConnectedAccountResponse().fromJson(jsonValue, options);
|
|
517
|
-
}
|
|
518
|
-
static fromJsonString(jsonString, options) {
|
|
519
|
-
return new GetMagicLinkForConnectedAccountResponse().fromJsonString(jsonString, options);
|
|
520
|
-
}
|
|
521
|
-
static equals(a, b) {
|
|
522
|
-
return protobuf_1.proto3.util.equals(GetMagicLinkForConnectedAccountResponse, a, b);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
exports.GetMagicLinkForConnectedAccountResponse = GetMagicLinkForConnectedAccountResponse;
|
|
526
|
-
GetMagicLinkForConnectedAccountResponse.runtime = protobuf_1.proto3;
|
|
527
|
-
GetMagicLinkForConnectedAccountResponse.typeName = "scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountResponse";
|
|
528
|
-
GetMagicLinkForConnectedAccountResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
529
|
-
{ no: 1, name: "link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
530
|
-
{ no: 2, name: "expiry", kind: "message", T: protobuf_1.Timestamp },
|
|
531
|
-
]);
|
|
532
|
-
/**
|
|
533
|
-
* @generated from message scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierRequest
|
|
534
|
-
*/
|
|
535
|
-
class GetConnectedAccountByIdentifierRequest extends protobuf_1.Message {
|
|
536
|
-
constructor(data) {
|
|
537
|
-
super();
|
|
538
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
539
|
-
}
|
|
540
|
-
static fromBinary(bytes, options) {
|
|
541
|
-
return new GetConnectedAccountByIdentifierRequest().fromBinary(bytes, options);
|
|
542
|
-
}
|
|
543
|
-
static fromJson(jsonValue, options) {
|
|
544
|
-
return new GetConnectedAccountByIdentifierRequest().fromJson(jsonValue, options);
|
|
545
|
-
}
|
|
546
|
-
static fromJsonString(jsonString, options) {
|
|
547
|
-
return new GetConnectedAccountByIdentifierRequest().fromJsonString(jsonString, options);
|
|
548
|
-
}
|
|
549
|
-
static equals(a, b) {
|
|
550
|
-
return protobuf_1.proto3.util.equals(GetConnectedAccountByIdentifierRequest, a, b);
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
exports.GetConnectedAccountByIdentifierRequest = GetConnectedAccountByIdentifierRequest;
|
|
554
|
-
GetConnectedAccountByIdentifierRequest.runtime = protobuf_1.proto3;
|
|
555
|
-
GetConnectedAccountByIdentifierRequest.typeName = "scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierRequest";
|
|
556
|
-
GetConnectedAccountByIdentifierRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
557
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
558
|
-
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
559
|
-
{ no: 3, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
560
|
-
{ no: 4, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
561
|
-
{ no: 5, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
562
|
-
]);
|
|
563
|
-
/**
|
|
564
|
-
* @generated from message scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierResponse
|
|
565
|
-
*/
|
|
566
|
-
class GetConnectedAccountByIdentifierResponse extends protobuf_1.Message {
|
|
567
|
-
constructor(data) {
|
|
568
|
-
super();
|
|
569
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
570
|
-
}
|
|
571
|
-
static fromBinary(bytes, options) {
|
|
572
|
-
return new GetConnectedAccountByIdentifierResponse().fromBinary(bytes, options);
|
|
573
|
-
}
|
|
574
|
-
static fromJson(jsonValue, options) {
|
|
575
|
-
return new GetConnectedAccountByIdentifierResponse().fromJson(jsonValue, options);
|
|
576
|
-
}
|
|
577
|
-
static fromJsonString(jsonString, options) {
|
|
578
|
-
return new GetConnectedAccountByIdentifierResponse().fromJsonString(jsonString, options);
|
|
579
|
-
}
|
|
580
|
-
static equals(a, b) {
|
|
581
|
-
return protobuf_1.proto3.util.equals(GetConnectedAccountByIdentifierResponse, a, b);
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
exports.GetConnectedAccountByIdentifierResponse = GetConnectedAccountByIdentifierResponse;
|
|
585
|
-
GetConnectedAccountByIdentifierResponse.runtime = protobuf_1.proto3;
|
|
586
|
-
GetConnectedAccountByIdentifierResponse.typeName = "scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierResponse";
|
|
587
|
-
GetConnectedAccountByIdentifierResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
588
|
-
{ no: 1, name: "connected_account", kind: "message", T: ConnectedAccount },
|
|
589
|
-
]);
|
|
590
|
-
/**
|
|
591
|
-
* @generated from message scalekit.v1.connected_accounts.ConnectedAccount
|
|
592
|
-
*/
|
|
593
|
-
class ConnectedAccount extends protobuf_1.Message {
|
|
594
|
-
constructor(data) {
|
|
595
|
-
super();
|
|
596
|
-
/**
|
|
597
|
-
* @generated from field: string identifier = 1;
|
|
598
|
-
*/
|
|
599
|
-
this.identifier = "";
|
|
600
|
-
/**
|
|
601
|
-
* @generated from field: string provider = 2;
|
|
602
|
-
*/
|
|
603
|
-
this.provider = "";
|
|
604
|
-
/**
|
|
605
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorStatus status = 3;
|
|
606
|
-
*/
|
|
607
|
-
this.status = ConnectorStatus.CONNECTION_STATUS_UNSPECIFIED;
|
|
608
|
-
/**
|
|
609
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorType authorization_type = 4;
|
|
610
|
-
*/
|
|
611
|
-
this.authorizationType = ConnectorType.CONNECTION_TYPE_UNSPECIFIED;
|
|
612
|
-
/**
|
|
613
|
-
* @generated from field: string connector = 8;
|
|
614
|
-
*/
|
|
615
|
-
this.connector = "";
|
|
616
|
-
/**
|
|
617
|
-
* @generated from field: string id = 10;
|
|
618
|
-
*/
|
|
619
|
-
this.id = "";
|
|
620
|
-
/**
|
|
621
|
-
* @generated from field: string connection_id = 11;
|
|
622
|
-
*/
|
|
623
|
-
this.connectionId = "";
|
|
624
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
625
|
-
}
|
|
626
|
-
static fromBinary(bytes, options) {
|
|
627
|
-
return new ConnectedAccount().fromBinary(bytes, options);
|
|
628
|
-
}
|
|
629
|
-
static fromJson(jsonValue, options) {
|
|
630
|
-
return new ConnectedAccount().fromJson(jsonValue, options);
|
|
631
|
-
}
|
|
632
|
-
static fromJsonString(jsonString, options) {
|
|
633
|
-
return new ConnectedAccount().fromJsonString(jsonString, options);
|
|
634
|
-
}
|
|
635
|
-
static equals(a, b) {
|
|
636
|
-
return protobuf_1.proto3.util.equals(ConnectedAccount, a, b);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
exports.ConnectedAccount = ConnectedAccount;
|
|
640
|
-
ConnectedAccount.runtime = protobuf_1.proto3;
|
|
641
|
-
ConnectedAccount.typeName = "scalekit.v1.connected_accounts.ConnectedAccount";
|
|
642
|
-
ConnectedAccount.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
643
|
-
{ no: 1, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
644
|
-
{ no: 2, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
645
|
-
{ no: 3, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(ConnectorStatus) },
|
|
646
|
-
{ no: 4, name: "authorization_type", kind: "enum", T: protobuf_1.proto3.getEnumType(ConnectorType) },
|
|
647
|
-
{ no: 5, name: "authorization_details", kind: "message", T: AuthorizationDetails },
|
|
648
|
-
{ no: 6, name: "token_expires_at", kind: "message", T: protobuf_1.Timestamp },
|
|
649
|
-
{ no: 7, name: "updated_at", kind: "message", T: protobuf_1.Timestamp },
|
|
650
|
-
{ no: 8, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
651
|
-
{ no: 9, name: "last_used_at", kind: "message", T: protobuf_1.Timestamp },
|
|
652
|
-
{ no: 10, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
653
|
-
{ no: 11, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
654
|
-
{ no: 12, name: "api_config", kind: "message", T: protobuf_1.Struct },
|
|
655
|
-
]);
|
|
656
|
-
/**
|
|
657
|
-
* Payload for creating a new connected account - only authorization details required
|
|
658
|
-
*
|
|
659
|
-
* @generated from message scalekit.v1.connected_accounts.CreateConnectedAccount
|
|
660
|
-
*/
|
|
661
|
-
class CreateConnectedAccount extends protobuf_1.Message {
|
|
662
|
-
constructor(data) {
|
|
663
|
-
super();
|
|
664
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
665
|
-
}
|
|
666
|
-
static fromBinary(bytes, options) {
|
|
667
|
-
return new CreateConnectedAccount().fromBinary(bytes, options);
|
|
668
|
-
}
|
|
669
|
-
static fromJson(jsonValue, options) {
|
|
670
|
-
return new CreateConnectedAccount().fromJson(jsonValue, options);
|
|
671
|
-
}
|
|
672
|
-
static fromJsonString(jsonString, options) {
|
|
673
|
-
return new CreateConnectedAccount().fromJsonString(jsonString, options);
|
|
674
|
-
}
|
|
675
|
-
static equals(a, b) {
|
|
676
|
-
return protobuf_1.proto3.util.equals(CreateConnectedAccount, a, b);
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
exports.CreateConnectedAccount = CreateConnectedAccount;
|
|
680
|
-
CreateConnectedAccount.runtime = protobuf_1.proto3;
|
|
681
|
-
CreateConnectedAccount.typeName = "scalekit.v1.connected_accounts.CreateConnectedAccount";
|
|
682
|
-
CreateConnectedAccount.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
683
|
-
{ no: 5, name: "authorization_details", kind: "message", T: AuthorizationDetails },
|
|
684
|
-
{ no: 11, name: "api_config", kind: "message", T: protobuf_1.Struct },
|
|
685
|
-
]);
|
|
686
|
-
/**
|
|
687
|
-
* Payload for updating an existing connected account - all fields optional
|
|
688
|
-
*
|
|
689
|
-
* @generated from message scalekit.v1.connected_accounts.UpdateConnectedAccount
|
|
690
|
-
*/
|
|
691
|
-
class UpdateConnectedAccount extends protobuf_1.Message {
|
|
692
|
-
constructor(data) {
|
|
693
|
-
super();
|
|
694
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
695
|
-
}
|
|
696
|
-
static fromBinary(bytes, options) {
|
|
697
|
-
return new UpdateConnectedAccount().fromBinary(bytes, options);
|
|
698
|
-
}
|
|
699
|
-
static fromJson(jsonValue, options) {
|
|
700
|
-
return new UpdateConnectedAccount().fromJson(jsonValue, options);
|
|
701
|
-
}
|
|
702
|
-
static fromJsonString(jsonString, options) {
|
|
703
|
-
return new UpdateConnectedAccount().fromJsonString(jsonString, options);
|
|
704
|
-
}
|
|
705
|
-
static equals(a, b) {
|
|
706
|
-
return protobuf_1.proto3.util.equals(UpdateConnectedAccount, a, b);
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
exports.UpdateConnectedAccount = UpdateConnectedAccount;
|
|
710
|
-
UpdateConnectedAccount.runtime = protobuf_1.proto3;
|
|
711
|
-
UpdateConnectedAccount.typeName = "scalekit.v1.connected_accounts.UpdateConnectedAccount";
|
|
712
|
-
UpdateConnectedAccount.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
713
|
-
{ no: 5, name: "authorization_details", kind: "message", T: AuthorizationDetails },
|
|
714
|
-
{ no: 10, name: "api_config", kind: "message", T: protobuf_1.Struct },
|
|
715
|
-
]);
|
|
716
|
-
/**
|
|
717
|
-
* Connected account summary for list operations - excludes sensitive authorization details
|
|
718
|
-
*
|
|
719
|
-
* @generated from message scalekit.v1.connected_accounts.ConnectedAccountForList
|
|
720
|
-
*/
|
|
721
|
-
class ConnectedAccountForList extends protobuf_1.Message {
|
|
722
|
-
constructor(data) {
|
|
723
|
-
super();
|
|
724
|
-
/**
|
|
725
|
-
* @generated from field: string identifier = 1;
|
|
726
|
-
*/
|
|
727
|
-
this.identifier = "";
|
|
728
|
-
/**
|
|
729
|
-
* @generated from field: string provider = 2;
|
|
730
|
-
*/
|
|
731
|
-
this.provider = "";
|
|
732
|
-
/**
|
|
733
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorStatus status = 3;
|
|
734
|
-
*/
|
|
735
|
-
this.status = ConnectorStatus.CONNECTION_STATUS_UNSPECIFIED;
|
|
736
|
-
/**
|
|
737
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorType authorization_type = 4;
|
|
738
|
-
*/
|
|
739
|
-
this.authorizationType = ConnectorType.CONNECTION_TYPE_UNSPECIFIED;
|
|
740
|
-
/**
|
|
741
|
-
* @generated from field: string connector = 8;
|
|
742
|
-
*/
|
|
743
|
-
this.connector = "";
|
|
744
|
-
/**
|
|
745
|
-
* @generated from field: string id = 10;
|
|
746
|
-
*/
|
|
747
|
-
this.id = "";
|
|
748
|
-
/**
|
|
749
|
-
* @generated from field: string connection_id = 11;
|
|
750
|
-
*/
|
|
751
|
-
this.connectionId = "";
|
|
752
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
753
|
-
}
|
|
754
|
-
static fromBinary(bytes, options) {
|
|
755
|
-
return new ConnectedAccountForList().fromBinary(bytes, options);
|
|
756
|
-
}
|
|
757
|
-
static fromJson(jsonValue, options) {
|
|
758
|
-
return new ConnectedAccountForList().fromJson(jsonValue, options);
|
|
759
|
-
}
|
|
760
|
-
static fromJsonString(jsonString, options) {
|
|
761
|
-
return new ConnectedAccountForList().fromJsonString(jsonString, options);
|
|
762
|
-
}
|
|
763
|
-
static equals(a, b) {
|
|
764
|
-
return protobuf_1.proto3.util.equals(ConnectedAccountForList, a, b);
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
exports.ConnectedAccountForList = ConnectedAccountForList;
|
|
768
|
-
ConnectedAccountForList.runtime = protobuf_1.proto3;
|
|
769
|
-
ConnectedAccountForList.typeName = "scalekit.v1.connected_accounts.ConnectedAccountForList";
|
|
770
|
-
ConnectedAccountForList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
771
|
-
{ no: 1, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
772
|
-
{ no: 2, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
773
|
-
{ no: 3, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(ConnectorStatus) },
|
|
774
|
-
{ no: 4, name: "authorization_type", kind: "enum", T: protobuf_1.proto3.getEnumType(ConnectorType) },
|
|
775
|
-
{ no: 6, name: "token_expires_at", kind: "message", T: protobuf_1.Timestamp },
|
|
776
|
-
{ no: 7, name: "updated_at", kind: "message", T: protobuf_1.Timestamp },
|
|
777
|
-
{ no: 8, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
778
|
-
{ no: 9, name: "last_used_at", kind: "message", T: protobuf_1.Timestamp },
|
|
779
|
-
{ no: 10, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
780
|
-
{ no: 11, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
781
|
-
]);
|
|
782
|
-
/**
|
|
783
|
-
* Authentication credentials container supporting multiple auth types
|
|
784
|
-
*
|
|
785
|
-
* @generated from message scalekit.v1.connected_accounts.AuthorizationDetails
|
|
786
|
-
*/
|
|
787
|
-
class AuthorizationDetails extends protobuf_1.Message {
|
|
788
|
-
constructor(data) {
|
|
789
|
-
super();
|
|
790
|
-
/**
|
|
791
|
-
* @generated from oneof scalekit.v1.connected_accounts.AuthorizationDetails.details
|
|
792
|
-
*/
|
|
793
|
-
this.details = { case: undefined };
|
|
794
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
795
|
-
}
|
|
796
|
-
static fromBinary(bytes, options) {
|
|
797
|
-
return new AuthorizationDetails().fromBinary(bytes, options);
|
|
798
|
-
}
|
|
799
|
-
static fromJson(jsonValue, options) {
|
|
800
|
-
return new AuthorizationDetails().fromJson(jsonValue, options);
|
|
801
|
-
}
|
|
802
|
-
static fromJsonString(jsonString, options) {
|
|
803
|
-
return new AuthorizationDetails().fromJsonString(jsonString, options);
|
|
804
|
-
}
|
|
805
|
-
static equals(a, b) {
|
|
806
|
-
return protobuf_1.proto3.util.equals(AuthorizationDetails, a, b);
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
exports.AuthorizationDetails = AuthorizationDetails;
|
|
810
|
-
AuthorizationDetails.runtime = protobuf_1.proto3;
|
|
811
|
-
AuthorizationDetails.typeName = "scalekit.v1.connected_accounts.AuthorizationDetails";
|
|
812
|
-
AuthorizationDetails.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
813
|
-
{ no: 1, name: "oauth_token", kind: "message", T: OauthToken, oneof: "details" },
|
|
814
|
-
{ no: 2, name: "static_auth", kind: "message", T: StaticAuth, oneof: "details" },
|
|
815
|
-
]);
|
|
816
|
-
/**
|
|
817
|
-
* OAuth 2.0 access and refresh tokens with scopes
|
|
818
|
-
*
|
|
819
|
-
* @generated from message scalekit.v1.connected_accounts.OauthToken
|
|
820
|
-
*/
|
|
821
|
-
class OauthToken extends protobuf_1.Message {
|
|
822
|
-
constructor(data) {
|
|
823
|
-
super();
|
|
824
|
-
/**
|
|
825
|
-
* @generated from field: string access_token = 1;
|
|
826
|
-
*/
|
|
827
|
-
this.accessToken = "";
|
|
828
|
-
/**
|
|
829
|
-
* @generated from field: string refresh_token = 2;
|
|
830
|
-
*/
|
|
831
|
-
this.refreshToken = "";
|
|
832
|
-
/**
|
|
833
|
-
* @generated from field: repeated string scopes = 3;
|
|
834
|
-
*/
|
|
835
|
-
this.scopes = [];
|
|
836
|
-
/**
|
|
837
|
-
* @generated from field: string domain = 4;
|
|
838
|
-
*/
|
|
839
|
-
this.domain = "";
|
|
840
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
841
|
-
}
|
|
842
|
-
static fromBinary(bytes, options) {
|
|
843
|
-
return new OauthToken().fromBinary(bytes, options);
|
|
844
|
-
}
|
|
845
|
-
static fromJson(jsonValue, options) {
|
|
846
|
-
return new OauthToken().fromJson(jsonValue, options);
|
|
847
|
-
}
|
|
848
|
-
static fromJsonString(jsonString, options) {
|
|
849
|
-
return new OauthToken().fromJsonString(jsonString, options);
|
|
850
|
-
}
|
|
851
|
-
static equals(a, b) {
|
|
852
|
-
return protobuf_1.proto3.util.equals(OauthToken, a, b);
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
exports.OauthToken = OauthToken;
|
|
856
|
-
OauthToken.runtime = protobuf_1.proto3;
|
|
857
|
-
OauthToken.typeName = "scalekit.v1.connected_accounts.OauthToken";
|
|
858
|
-
OauthToken.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
859
|
-
{ no: 1, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
860
|
-
{ no: 2, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
861
|
-
{ no: 3, name: "scopes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
862
|
-
{ no: 4, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
863
|
-
]);
|
|
864
|
-
/**
|
|
865
|
-
* Static authentication credentials for API keys, bearer tokens, or basic auth
|
|
866
|
-
*
|
|
867
|
-
* @generated from message scalekit.v1.connected_accounts.StaticAuth
|
|
868
|
-
*/
|
|
869
|
-
class StaticAuth extends protobuf_1.Message {
|
|
870
|
-
constructor(data) {
|
|
871
|
-
super();
|
|
872
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
873
|
-
}
|
|
874
|
-
static fromBinary(bytes, options) {
|
|
875
|
-
return new StaticAuth().fromBinary(bytes, options);
|
|
876
|
-
}
|
|
877
|
-
static fromJson(jsonValue, options) {
|
|
878
|
-
return new StaticAuth().fromJson(jsonValue, options);
|
|
879
|
-
}
|
|
880
|
-
static fromJsonString(jsonString, options) {
|
|
881
|
-
return new StaticAuth().fromJsonString(jsonString, options);
|
|
882
|
-
}
|
|
883
|
-
static equals(a, b) {
|
|
884
|
-
return protobuf_1.proto3.util.equals(StaticAuth, a, b);
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
exports.StaticAuth = StaticAuth;
|
|
888
|
-
StaticAuth.runtime = protobuf_1.proto3;
|
|
889
|
-
StaticAuth.typeName = "scalekit.v1.connected_accounts.StaticAuth";
|
|
890
|
-
StaticAuth.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
891
|
-
{ no: 1, name: "details", kind: "message", T: protobuf_1.Struct },
|
|
892
|
-
]);
|
|
893
|
-
//# sourceMappingURL=connected_accounts_pb.js.map
|