@scalekit-sdk/node 2.2.0-beta.1 → 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 -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/connected-accounts.ts +0 -358
- 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 -472
- package/tests/tools.test.ts +0 -239
|
@@ -1,847 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file scalekit/v1/tools/tools.proto (package scalekit.v1.tools, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
-
import { BoolValue, Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from message scalekit.v1.tools.CreateToolRequest
|
|
11
|
-
*/
|
|
12
|
-
export class CreateToolRequest extends Message<CreateToolRequest> {
|
|
13
|
-
/**
|
|
14
|
-
* @generated from field: scalekit.v1.tools.Tool tool = 1;
|
|
15
|
-
*/
|
|
16
|
-
tool?: Tool;
|
|
17
|
-
|
|
18
|
-
constructor(data?: PartialMessage<CreateToolRequest>) {
|
|
19
|
-
super();
|
|
20
|
-
proto3.util.initPartial(data, this);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
24
|
-
static readonly typeName = "scalekit.v1.tools.CreateToolRequest";
|
|
25
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
26
|
-
{ no: 1, name: "tool", kind: "message", T: Tool },
|
|
27
|
-
]);
|
|
28
|
-
|
|
29
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateToolRequest {
|
|
30
|
-
return new CreateToolRequest().fromBinary(bytes, options);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateToolRequest {
|
|
34
|
-
return new CreateToolRequest().fromJson(jsonValue, options);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateToolRequest {
|
|
38
|
-
return new CreateToolRequest().fromJsonString(jsonString, options);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
static equals(a: CreateToolRequest | PlainMessage<CreateToolRequest> | undefined, b: CreateToolRequest | PlainMessage<CreateToolRequest> | undefined): boolean {
|
|
42
|
-
return proto3.util.equals(CreateToolRequest, a, b);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @generated from message scalekit.v1.tools.CreateToolResponse
|
|
48
|
-
*/
|
|
49
|
-
export class CreateToolResponse extends Message<CreateToolResponse> {
|
|
50
|
-
/**
|
|
51
|
-
* @generated from field: scalekit.v1.tools.Tool tool = 1;
|
|
52
|
-
*/
|
|
53
|
-
tool?: Tool;
|
|
54
|
-
|
|
55
|
-
constructor(data?: PartialMessage<CreateToolResponse>) {
|
|
56
|
-
super();
|
|
57
|
-
proto3.util.initPartial(data, this);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
61
|
-
static readonly typeName = "scalekit.v1.tools.CreateToolResponse";
|
|
62
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
63
|
-
{ no: 1, name: "tool", kind: "message", T: Tool },
|
|
64
|
-
]);
|
|
65
|
-
|
|
66
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateToolResponse {
|
|
67
|
-
return new CreateToolResponse().fromBinary(bytes, options);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateToolResponse {
|
|
71
|
-
return new CreateToolResponse().fromJson(jsonValue, options);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateToolResponse {
|
|
75
|
-
return new CreateToolResponse().fromJsonString(jsonString, options);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
static equals(a: CreateToolResponse | PlainMessage<CreateToolResponse> | undefined, b: CreateToolResponse | PlainMessage<CreateToolResponse> | undefined): boolean {
|
|
79
|
-
return proto3.util.equals(CreateToolResponse, a, b);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @generated from message scalekit.v1.tools.Tool
|
|
85
|
-
*/
|
|
86
|
-
export class Tool extends Message<Tool> {
|
|
87
|
-
/**
|
|
88
|
-
* @generated from field: string id = 1;
|
|
89
|
-
*/
|
|
90
|
-
id = "";
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @generated from field: string provider = 2;
|
|
94
|
-
*/
|
|
95
|
-
provider = "";
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @generated from field: google.protobuf.Struct definition = 3;
|
|
99
|
-
*/
|
|
100
|
-
definition?: Struct;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @generated from field: google.protobuf.Struct metadata = 4;
|
|
104
|
-
*/
|
|
105
|
-
metadata?: Struct;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @generated from field: repeated string tags = 5;
|
|
109
|
-
*/
|
|
110
|
-
tags: string[] = [];
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @generated from field: google.protobuf.BoolValue is_default = 6;
|
|
114
|
-
*/
|
|
115
|
-
isDefault?: boolean;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
119
|
-
*/
|
|
120
|
-
updatedAt?: Timestamp;
|
|
121
|
-
|
|
122
|
-
constructor(data?: PartialMessage<Tool>) {
|
|
123
|
-
super();
|
|
124
|
-
proto3.util.initPartial(data, this);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
128
|
-
static readonly typeName = "scalekit.v1.tools.Tool";
|
|
129
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
130
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
131
|
-
{ no: 2, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
|
-
{ no: 3, name: "definition", kind: "message", T: Struct },
|
|
133
|
-
{ no: 4, name: "metadata", kind: "message", T: Struct },
|
|
134
|
-
{ no: 5, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
135
|
-
{ no: 6, name: "is_default", kind: "message", T: BoolValue },
|
|
136
|
-
{ no: 7, name: "updated_at", kind: "message", T: Timestamp },
|
|
137
|
-
]);
|
|
138
|
-
|
|
139
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Tool {
|
|
140
|
-
return new Tool().fromBinary(bytes, options);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Tool {
|
|
144
|
-
return new Tool().fromJson(jsonValue, options);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Tool {
|
|
148
|
-
return new Tool().fromJsonString(jsonString, options);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
static equals(a: Tool | PlainMessage<Tool> | undefined, b: Tool | PlainMessage<Tool> | undefined): boolean {
|
|
152
|
-
return proto3.util.equals(Tool, a, b);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* @generated from message scalekit.v1.tools.ScopedTool
|
|
158
|
-
*/
|
|
159
|
-
export class ScopedTool extends Message<ScopedTool> {
|
|
160
|
-
/**
|
|
161
|
-
* @generated from field: scalekit.v1.tools.Tool tool = 1;
|
|
162
|
-
*/
|
|
163
|
-
tool?: Tool;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* @generated from field: string identifier = 2;
|
|
167
|
-
*/
|
|
168
|
-
identifier = "";
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* @generated from field: string connected_account_id = 3;
|
|
172
|
-
*/
|
|
173
|
-
connectedAccountId = "";
|
|
174
|
-
|
|
175
|
-
constructor(data?: PartialMessage<ScopedTool>) {
|
|
176
|
-
super();
|
|
177
|
-
proto3.util.initPartial(data, this);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
181
|
-
static readonly typeName = "scalekit.v1.tools.ScopedTool";
|
|
182
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
183
|
-
{ no: 1, name: "tool", kind: "message", T: Tool },
|
|
184
|
-
{ no: 2, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
185
|
-
{ no: 3, name: "connected_account_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
|
-
]);
|
|
187
|
-
|
|
188
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScopedTool {
|
|
189
|
-
return new ScopedTool().fromBinary(bytes, options);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScopedTool {
|
|
193
|
-
return new ScopedTool().fromJson(jsonValue, options);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScopedTool {
|
|
197
|
-
return new ScopedTool().fromJsonString(jsonString, options);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
static equals(a: ScopedTool | PlainMessage<ScopedTool> | undefined, b: ScopedTool | PlainMessage<ScopedTool> | undefined): boolean {
|
|
201
|
-
return proto3.util.equals(ScopedTool, a, b);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* @generated from message scalekit.v1.tools.ListToolsRequest
|
|
207
|
-
*/
|
|
208
|
-
export class ListToolsRequest extends Message<ListToolsRequest> {
|
|
209
|
-
/**
|
|
210
|
-
* @generated from field: scalekit.v1.tools.Filter filter = 1;
|
|
211
|
-
*/
|
|
212
|
-
filter?: Filter;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* @generated from field: uint32 page_size = 2;
|
|
216
|
-
*/
|
|
217
|
-
pageSize = 0;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* @generated from field: string page_token = 3;
|
|
221
|
-
*/
|
|
222
|
-
pageToken = "";
|
|
223
|
-
|
|
224
|
-
constructor(data?: PartialMessage<ListToolsRequest>) {
|
|
225
|
-
super();
|
|
226
|
-
proto3.util.initPartial(data, this);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
230
|
-
static readonly typeName = "scalekit.v1.tools.ListToolsRequest";
|
|
231
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
232
|
-
{ no: 1, name: "filter", kind: "message", T: Filter },
|
|
233
|
-
{ no: 2, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
234
|
-
{ no: 3, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
235
|
-
]);
|
|
236
|
-
|
|
237
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListToolsRequest {
|
|
238
|
-
return new ListToolsRequest().fromBinary(bytes, options);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListToolsRequest {
|
|
242
|
-
return new ListToolsRequest().fromJson(jsonValue, options);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListToolsRequest {
|
|
246
|
-
return new ListToolsRequest().fromJsonString(jsonString, options);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
static equals(a: ListToolsRequest | PlainMessage<ListToolsRequest> | undefined, b: ListToolsRequest | PlainMessage<ListToolsRequest> | undefined): boolean {
|
|
250
|
-
return proto3.util.equals(ListToolsRequest, a, b);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @generated from message scalekit.v1.tools.Filter
|
|
256
|
-
*/
|
|
257
|
-
export class Filter extends Message<Filter> {
|
|
258
|
-
/**
|
|
259
|
-
* @generated from field: google.protobuf.BoolValue summary = 1;
|
|
260
|
-
*/
|
|
261
|
-
summary?: boolean;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* @generated from field: string provider = 2;
|
|
265
|
-
*/
|
|
266
|
-
provider = "";
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* @generated from field: string identifier = 3;
|
|
270
|
-
*/
|
|
271
|
-
identifier = "";
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* @generated from field: repeated string tool_name = 4;
|
|
275
|
-
*/
|
|
276
|
-
toolName: string[] = [];
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* @generated from field: optional string query = 5;
|
|
280
|
-
*/
|
|
281
|
-
query?: string;
|
|
282
|
-
|
|
283
|
-
constructor(data?: PartialMessage<Filter>) {
|
|
284
|
-
super();
|
|
285
|
-
proto3.util.initPartial(data, this);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
289
|
-
static readonly typeName = "scalekit.v1.tools.Filter";
|
|
290
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
291
|
-
{ no: 1, name: "summary", kind: "message", T: BoolValue },
|
|
292
|
-
{ no: 2, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
293
|
-
{ no: 3, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
294
|
-
{ no: 4, name: "tool_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
295
|
-
{ no: 5, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
296
|
-
]);
|
|
297
|
-
|
|
298
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Filter {
|
|
299
|
-
return new Filter().fromBinary(bytes, options);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Filter {
|
|
303
|
-
return new Filter().fromJson(jsonValue, options);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Filter {
|
|
307
|
-
return new Filter().fromJsonString(jsonString, options);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
static equals(a: Filter | PlainMessage<Filter> | undefined, b: Filter | PlainMessage<Filter> | undefined): boolean {
|
|
311
|
-
return proto3.util.equals(Filter, a, b);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* @generated from message scalekit.v1.tools.ListToolsResponse
|
|
317
|
-
*/
|
|
318
|
-
export class ListToolsResponse extends Message<ListToolsResponse> {
|
|
319
|
-
/**
|
|
320
|
-
* @generated from field: string next_page_token = 1;
|
|
321
|
-
*/
|
|
322
|
-
nextPageToken = "";
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* @generated from field: uint32 total_size = 2;
|
|
326
|
-
*/
|
|
327
|
-
totalSize = 0;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @generated from field: string prev_page_token = 3;
|
|
331
|
-
*/
|
|
332
|
-
prevPageToken = "";
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* @generated from field: repeated string tool_names = 4;
|
|
336
|
-
*/
|
|
337
|
-
toolNames: string[] = [];
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @generated from field: repeated scalekit.v1.tools.Tool tools = 5;
|
|
341
|
-
*/
|
|
342
|
-
tools: Tool[] = [];
|
|
343
|
-
|
|
344
|
-
constructor(data?: PartialMessage<ListToolsResponse>) {
|
|
345
|
-
super();
|
|
346
|
-
proto3.util.initPartial(data, this);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
350
|
-
static readonly typeName = "scalekit.v1.tools.ListToolsResponse";
|
|
351
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
352
|
-
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
353
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
354
|
-
{ no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
355
|
-
{ no: 4, name: "tool_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
356
|
-
{ no: 5, name: "tools", kind: "message", T: Tool, repeated: true },
|
|
357
|
-
]);
|
|
358
|
-
|
|
359
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListToolsResponse {
|
|
360
|
-
return new ListToolsResponse().fromBinary(bytes, options);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListToolsResponse {
|
|
364
|
-
return new ListToolsResponse().fromJson(jsonValue, options);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListToolsResponse {
|
|
368
|
-
return new ListToolsResponse().fromJsonString(jsonString, options);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
static equals(a: ListToolsResponse | PlainMessage<ListToolsResponse> | undefined, b: ListToolsResponse | PlainMessage<ListToolsResponse> | undefined): boolean {
|
|
372
|
-
return proto3.util.equals(ListToolsResponse, a, b);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* @generated from message scalekit.v1.tools.ExecuteToolRequest
|
|
378
|
-
*/
|
|
379
|
-
export class ExecuteToolRequest extends Message<ExecuteToolRequest> {
|
|
380
|
-
/**
|
|
381
|
-
* @generated from field: string tool_name = 1;
|
|
382
|
-
*/
|
|
383
|
-
toolName = "";
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* @generated from field: optional string identifier = 2;
|
|
387
|
-
*/
|
|
388
|
-
identifier?: string;
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* @generated from field: google.protobuf.Struct params = 3;
|
|
392
|
-
*/
|
|
393
|
-
params?: Struct;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* @generated from field: optional string connected_account_id = 4;
|
|
397
|
-
*/
|
|
398
|
-
connectedAccountId?: string;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* @generated from field: optional string connector = 5;
|
|
402
|
-
*/
|
|
403
|
-
connector?: string;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* @generated from field: optional string organization_id = 6;
|
|
407
|
-
*/
|
|
408
|
-
organizationId?: string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* @generated from field: optional string user_id = 7;
|
|
412
|
-
*/
|
|
413
|
-
userId?: string;
|
|
414
|
-
|
|
415
|
-
constructor(data?: PartialMessage<ExecuteToolRequest>) {
|
|
416
|
-
super();
|
|
417
|
-
proto3.util.initPartial(data, this);
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
421
|
-
static readonly typeName = "scalekit.v1.tools.ExecuteToolRequest";
|
|
422
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
423
|
-
{ no: 1, name: "tool_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
424
|
-
{ no: 2, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
425
|
-
{ no: 3, name: "params", kind: "message", T: Struct },
|
|
426
|
-
{ no: 4, name: "connected_account_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
427
|
-
{ no: 5, name: "connector", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
428
|
-
{ no: 6, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
429
|
-
{ no: 7, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
430
|
-
]);
|
|
431
|
-
|
|
432
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExecuteToolRequest {
|
|
433
|
-
return new ExecuteToolRequest().fromBinary(bytes, options);
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExecuteToolRequest {
|
|
437
|
-
return new ExecuteToolRequest().fromJson(jsonValue, options);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExecuteToolRequest {
|
|
441
|
-
return new ExecuteToolRequest().fromJsonString(jsonString, options);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
static equals(a: ExecuteToolRequest | PlainMessage<ExecuteToolRequest> | undefined, b: ExecuteToolRequest | PlainMessage<ExecuteToolRequest> | undefined): boolean {
|
|
445
|
-
return proto3.util.equals(ExecuteToolRequest, a, b);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* @generated from message scalekit.v1.tools.ExecuteToolResponse
|
|
451
|
-
*/
|
|
452
|
-
export class ExecuteToolResponse extends Message<ExecuteToolResponse> {
|
|
453
|
-
/**
|
|
454
|
-
* @generated from field: google.protobuf.Struct data = 1;
|
|
455
|
-
*/
|
|
456
|
-
data?: Struct;
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* @generated from field: string execution_id = 2;
|
|
460
|
-
*/
|
|
461
|
-
executionId = "";
|
|
462
|
-
|
|
463
|
-
constructor(data?: PartialMessage<ExecuteToolResponse>) {
|
|
464
|
-
super();
|
|
465
|
-
proto3.util.initPartial(data, this);
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
469
|
-
static readonly typeName = "scalekit.v1.tools.ExecuteToolResponse";
|
|
470
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
471
|
-
{ no: 1, name: "data", kind: "message", T: Struct },
|
|
472
|
-
{ no: 2, name: "execution_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
473
|
-
]);
|
|
474
|
-
|
|
475
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExecuteToolResponse {
|
|
476
|
-
return new ExecuteToolResponse().fromBinary(bytes, options);
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExecuteToolResponse {
|
|
480
|
-
return new ExecuteToolResponse().fromJson(jsonValue, options);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExecuteToolResponse {
|
|
484
|
-
return new ExecuteToolResponse().fromJsonString(jsonString, options);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
static equals(a: ExecuteToolResponse | PlainMessage<ExecuteToolResponse> | undefined, b: ExecuteToolResponse | PlainMessage<ExecuteToolResponse> | undefined): boolean {
|
|
488
|
-
return proto3.util.equals(ExecuteToolResponse, a, b);
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* @generated from message scalekit.v1.tools.SetToolDefaultRequest
|
|
494
|
-
*/
|
|
495
|
-
export class SetToolDefaultRequest extends Message<SetToolDefaultRequest> {
|
|
496
|
-
/**
|
|
497
|
-
* @generated from field: string name = 1;
|
|
498
|
-
*/
|
|
499
|
-
name = "";
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* @generated from field: string schema_version = 2;
|
|
503
|
-
*/
|
|
504
|
-
schemaVersion = "";
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* @generated from field: string tool_version = 3;
|
|
508
|
-
*/
|
|
509
|
-
toolVersion = "";
|
|
510
|
-
|
|
511
|
-
constructor(data?: PartialMessage<SetToolDefaultRequest>) {
|
|
512
|
-
super();
|
|
513
|
-
proto3.util.initPartial(data, this);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
517
|
-
static readonly typeName = "scalekit.v1.tools.SetToolDefaultRequest";
|
|
518
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
519
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
520
|
-
{ no: 2, name: "schema_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
521
|
-
{ no: 3, name: "tool_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
522
|
-
]);
|
|
523
|
-
|
|
524
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetToolDefaultRequest {
|
|
525
|
-
return new SetToolDefaultRequest().fromBinary(bytes, options);
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetToolDefaultRequest {
|
|
529
|
-
return new SetToolDefaultRequest().fromJson(jsonValue, options);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetToolDefaultRequest {
|
|
533
|
-
return new SetToolDefaultRequest().fromJsonString(jsonString, options);
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
static equals(a: SetToolDefaultRequest | PlainMessage<SetToolDefaultRequest> | undefined, b: SetToolDefaultRequest | PlainMessage<SetToolDefaultRequest> | undefined): boolean {
|
|
537
|
-
return proto3.util.equals(SetToolDefaultRequest, a, b);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* @generated from message scalekit.v1.tools.SetToolDefaultResponse
|
|
543
|
-
*/
|
|
544
|
-
export class SetToolDefaultResponse extends Message<SetToolDefaultResponse> {
|
|
545
|
-
/**
|
|
546
|
-
* @generated from field: scalekit.v1.tools.Tool tool = 1;
|
|
547
|
-
*/
|
|
548
|
-
tool?: Tool;
|
|
549
|
-
|
|
550
|
-
constructor(data?: PartialMessage<SetToolDefaultResponse>) {
|
|
551
|
-
super();
|
|
552
|
-
proto3.util.initPartial(data, this);
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
556
|
-
static readonly typeName = "scalekit.v1.tools.SetToolDefaultResponse";
|
|
557
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
558
|
-
{ no: 1, name: "tool", kind: "message", T: Tool },
|
|
559
|
-
]);
|
|
560
|
-
|
|
561
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetToolDefaultResponse {
|
|
562
|
-
return new SetToolDefaultResponse().fromBinary(bytes, options);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetToolDefaultResponse {
|
|
566
|
-
return new SetToolDefaultResponse().fromJson(jsonValue, options);
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetToolDefaultResponse {
|
|
570
|
-
return new SetToolDefaultResponse().fromJsonString(jsonString, options);
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
static equals(a: SetToolDefaultResponse | PlainMessage<SetToolDefaultResponse> | undefined, b: SetToolDefaultResponse | PlainMessage<SetToolDefaultResponse> | undefined): boolean {
|
|
574
|
-
return proto3.util.equals(SetToolDefaultResponse, a, b);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* @generated from message scalekit.v1.tools.UpdateToolRequest
|
|
580
|
-
*/
|
|
581
|
-
export class UpdateToolRequest extends Message<UpdateToolRequest> {
|
|
582
|
-
/**
|
|
583
|
-
* @generated from field: scalekit.v1.tools.Tool tool = 1;
|
|
584
|
-
*/
|
|
585
|
-
tool?: Tool;
|
|
586
|
-
|
|
587
|
-
constructor(data?: PartialMessage<UpdateToolRequest>) {
|
|
588
|
-
super();
|
|
589
|
-
proto3.util.initPartial(data, this);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
593
|
-
static readonly typeName = "scalekit.v1.tools.UpdateToolRequest";
|
|
594
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
595
|
-
{ no: 1, name: "tool", kind: "message", T: Tool },
|
|
596
|
-
]);
|
|
597
|
-
|
|
598
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateToolRequest {
|
|
599
|
-
return new UpdateToolRequest().fromBinary(bytes, options);
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateToolRequest {
|
|
603
|
-
return new UpdateToolRequest().fromJson(jsonValue, options);
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateToolRequest {
|
|
607
|
-
return new UpdateToolRequest().fromJsonString(jsonString, options);
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
static equals(a: UpdateToolRequest | PlainMessage<UpdateToolRequest> | undefined, b: UpdateToolRequest | PlainMessage<UpdateToolRequest> | undefined): boolean {
|
|
611
|
-
return proto3.util.equals(UpdateToolRequest, a, b);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
/**
|
|
616
|
-
* @generated from message scalekit.v1.tools.UpdateToolResponse
|
|
617
|
-
*/
|
|
618
|
-
export class UpdateToolResponse extends Message<UpdateToolResponse> {
|
|
619
|
-
/**
|
|
620
|
-
* @generated from field: scalekit.v1.tools.Tool tool = 1;
|
|
621
|
-
*/
|
|
622
|
-
tool?: Tool;
|
|
623
|
-
|
|
624
|
-
constructor(data?: PartialMessage<UpdateToolResponse>) {
|
|
625
|
-
super();
|
|
626
|
-
proto3.util.initPartial(data, this);
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
630
|
-
static readonly typeName = "scalekit.v1.tools.UpdateToolResponse";
|
|
631
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
632
|
-
{ no: 1, name: "tool", kind: "message", T: Tool },
|
|
633
|
-
]);
|
|
634
|
-
|
|
635
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateToolResponse {
|
|
636
|
-
return new UpdateToolResponse().fromBinary(bytes, options);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateToolResponse {
|
|
640
|
-
return new UpdateToolResponse().fromJson(jsonValue, options);
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateToolResponse {
|
|
644
|
-
return new UpdateToolResponse().fromJsonString(jsonString, options);
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
static equals(a: UpdateToolResponse | PlainMessage<UpdateToolResponse> | undefined, b: UpdateToolResponse | PlainMessage<UpdateToolResponse> | undefined): boolean {
|
|
648
|
-
return proto3.util.equals(UpdateToolResponse, a, b);
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* @generated from message scalekit.v1.tools.DeleteToolRequest
|
|
654
|
-
*/
|
|
655
|
-
export class DeleteToolRequest extends Message<DeleteToolRequest> {
|
|
656
|
-
/**
|
|
657
|
-
* @generated from field: string id = 1;
|
|
658
|
-
*/
|
|
659
|
-
id = "";
|
|
660
|
-
|
|
661
|
-
constructor(data?: PartialMessage<DeleteToolRequest>) {
|
|
662
|
-
super();
|
|
663
|
-
proto3.util.initPartial(data, this);
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
667
|
-
static readonly typeName = "scalekit.v1.tools.DeleteToolRequest";
|
|
668
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
669
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
670
|
-
]);
|
|
671
|
-
|
|
672
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteToolRequest {
|
|
673
|
-
return new DeleteToolRequest().fromBinary(bytes, options);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteToolRequest {
|
|
677
|
-
return new DeleteToolRequest().fromJson(jsonValue, options);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteToolRequest {
|
|
681
|
-
return new DeleteToolRequest().fromJsonString(jsonString, options);
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
static equals(a: DeleteToolRequest | PlainMessage<DeleteToolRequest> | undefined, b: DeleteToolRequest | PlainMessage<DeleteToolRequest> | undefined): boolean {
|
|
685
|
-
return proto3.util.equals(DeleteToolRequest, a, b);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* @generated from message scalekit.v1.tools.ListScopedToolsRequest
|
|
691
|
-
*/
|
|
692
|
-
export class ListScopedToolsRequest extends Message<ListScopedToolsRequest> {
|
|
693
|
-
/**
|
|
694
|
-
* @generated from field: string identifier = 1;
|
|
695
|
-
*/
|
|
696
|
-
identifier = "";
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* @generated from field: scalekit.v1.tools.ScopedToolFilter filter = 2;
|
|
700
|
-
*/
|
|
701
|
-
filter?: ScopedToolFilter;
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* @generated from field: uint32 page_size = 3;
|
|
705
|
-
*/
|
|
706
|
-
pageSize = 0;
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* @generated from field: string page_token = 4;
|
|
710
|
-
*/
|
|
711
|
-
pageToken = "";
|
|
712
|
-
|
|
713
|
-
constructor(data?: PartialMessage<ListScopedToolsRequest>) {
|
|
714
|
-
super();
|
|
715
|
-
proto3.util.initPartial(data, this);
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
719
|
-
static readonly typeName = "scalekit.v1.tools.ListScopedToolsRequest";
|
|
720
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
721
|
-
{ no: 1, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
722
|
-
{ no: 2, name: "filter", kind: "message", T: ScopedToolFilter },
|
|
723
|
-
{ no: 3, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
724
|
-
{ no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
725
|
-
]);
|
|
726
|
-
|
|
727
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListScopedToolsRequest {
|
|
728
|
-
return new ListScopedToolsRequest().fromBinary(bytes, options);
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListScopedToolsRequest {
|
|
732
|
-
return new ListScopedToolsRequest().fromJson(jsonValue, options);
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListScopedToolsRequest {
|
|
736
|
-
return new ListScopedToolsRequest().fromJsonString(jsonString, options);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
static equals(a: ListScopedToolsRequest | PlainMessage<ListScopedToolsRequest> | undefined, b: ListScopedToolsRequest | PlainMessage<ListScopedToolsRequest> | undefined): boolean {
|
|
740
|
-
return proto3.util.equals(ListScopedToolsRequest, a, b);
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* @generated from message scalekit.v1.tools.ListScopedToolsResponse
|
|
746
|
-
*/
|
|
747
|
-
export class ListScopedToolsResponse extends Message<ListScopedToolsResponse> {
|
|
748
|
-
/**
|
|
749
|
-
* @generated from field: string next_page_token = 1;
|
|
750
|
-
*/
|
|
751
|
-
nextPageToken = "";
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
* @generated from field: uint32 total_size = 2;
|
|
755
|
-
*/
|
|
756
|
-
totalSize = 0;
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* @generated from field: string prev_page_token = 3;
|
|
760
|
-
*/
|
|
761
|
-
prevPageToken = "";
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* @generated from field: repeated scalekit.v1.tools.ScopedTool tools = 5;
|
|
765
|
-
*/
|
|
766
|
-
tools: ScopedTool[] = [];
|
|
767
|
-
|
|
768
|
-
constructor(data?: PartialMessage<ListScopedToolsResponse>) {
|
|
769
|
-
super();
|
|
770
|
-
proto3.util.initPartial(data, this);
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
774
|
-
static readonly typeName = "scalekit.v1.tools.ListScopedToolsResponse";
|
|
775
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
776
|
-
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
777
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
778
|
-
{ no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
779
|
-
{ no: 5, name: "tools", kind: "message", T: ScopedTool, repeated: true },
|
|
780
|
-
]);
|
|
781
|
-
|
|
782
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListScopedToolsResponse {
|
|
783
|
-
return new ListScopedToolsResponse().fromBinary(bytes, options);
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListScopedToolsResponse {
|
|
787
|
-
return new ListScopedToolsResponse().fromJson(jsonValue, options);
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListScopedToolsResponse {
|
|
791
|
-
return new ListScopedToolsResponse().fromJsonString(jsonString, options);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
static equals(a: ListScopedToolsResponse | PlainMessage<ListScopedToolsResponse> | undefined, b: ListScopedToolsResponse | PlainMessage<ListScopedToolsResponse> | undefined): boolean {
|
|
795
|
-
return proto3.util.equals(ListScopedToolsResponse, a, b);
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* @generated from message scalekit.v1.tools.ScopedToolFilter
|
|
801
|
-
*/
|
|
802
|
-
export class ScopedToolFilter extends Message<ScopedToolFilter> {
|
|
803
|
-
/**
|
|
804
|
-
* @generated from field: repeated string providers = 1;
|
|
805
|
-
*/
|
|
806
|
-
providers: string[] = [];
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* @generated from field: repeated string tool_names = 2;
|
|
810
|
-
*/
|
|
811
|
-
toolNames: string[] = [];
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* @generated from field: repeated string connection_names = 3;
|
|
815
|
-
*/
|
|
816
|
-
connectionNames: string[] = [];
|
|
817
|
-
|
|
818
|
-
constructor(data?: PartialMessage<ScopedToolFilter>) {
|
|
819
|
-
super();
|
|
820
|
-
proto3.util.initPartial(data, this);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
824
|
-
static readonly typeName = "scalekit.v1.tools.ScopedToolFilter";
|
|
825
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
826
|
-
{ no: 1, name: "providers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
827
|
-
{ no: 2, name: "tool_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
828
|
-
{ no: 3, name: "connection_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
829
|
-
]);
|
|
830
|
-
|
|
831
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScopedToolFilter {
|
|
832
|
-
return new ScopedToolFilter().fromBinary(bytes, options);
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScopedToolFilter {
|
|
836
|
-
return new ScopedToolFilter().fromJson(jsonValue, options);
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScopedToolFilter {
|
|
840
|
-
return new ScopedToolFilter().fromJsonString(jsonString, options);
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
static equals(a: ScopedToolFilter | PlainMessage<ScopedToolFilter> | undefined, b: ScopedToolFilter | PlainMessage<ScopedToolFilter> | undefined): boolean {
|
|
844
|
-
return proto3.util.equals(ScopedToolFilter, a, b);
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
|