@scalekit-sdk/node 2.1.9 → 2.2.0-beta.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.
Files changed (74) hide show
  1. package/buf.gen.yaml +2 -0
  2. package/lib/connected-accounts.d.ts +96 -0
  3. package/lib/connected-accounts.js +186 -0
  4. package/lib/connected-accounts.js.map +1 -0
  5. package/lib/core.js +19 -9
  6. package/lib/core.js.map +1 -1
  7. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +24 -0
  8. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +30 -0
  9. package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
  10. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +21 -1
  11. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +21 -0
  12. package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
  13. package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +9 -9
  14. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +4 -0
  15. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +5 -0
  16. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
  17. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.d.ts +87 -0
  18. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js +95 -0
  19. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js.map +1 -0
  20. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.d.ts +718 -0
  21. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js +893 -0
  22. package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js.map +1 -0
  23. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +10 -4
  24. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +12 -5
  25. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
  26. package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +48 -5
  27. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +61 -7
  28. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
  29. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +25 -0
  30. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +36 -2
  31. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -1
  32. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +27 -0
  33. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +44 -1
  34. package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
  35. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.d.ts +75 -0
  36. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js +83 -0
  37. package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js.map +1 -0
  38. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.d.ts +431 -0
  39. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js +627 -0
  40. package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js.map +1 -0
  41. package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +10 -1
  42. package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +9 -0
  43. package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +1 -1
  44. package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +36 -0
  45. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +60 -1
  46. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
  47. package/lib/scalekit.d.ts +4 -0
  48. package/lib/scalekit.js +21 -7
  49. package/lib/scalekit.js.map +1 -1
  50. package/lib/tools.d.ts +75 -0
  51. package/lib/tools.js +127 -0
  52. package/lib/tools.js.map +1 -0
  53. package/package.json +2 -2
  54. package/reference.md +5865 -0
  55. package/src/connected-accounts.ts +283 -0
  56. package/src/core.ts +2 -2
  57. package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +36 -0
  58. package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +30 -0
  59. package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +6 -0
  60. package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.ts +94 -0
  61. package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.ts +1294 -0
  62. package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +14 -6
  63. package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +66 -6
  64. package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +38 -0
  65. package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +51 -0
  66. package/src/pkg/grpc/scalekit/v1/tools/tools_connect.ts +82 -0
  67. package/src/pkg/grpc/scalekit/v1/tools/tools_pb.ts +847 -0
  68. package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +10 -1
  69. package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +76 -0
  70. package/src/scalekit.ts +9 -0
  71. package/src/tools.ts +166 -0
  72. package/tests/connected-accounts.test.ts +434 -0
  73. package/tests/tools.test.ts +239 -0
  74. package/tsconfig.json +2 -1
@@ -287,11 +287,6 @@ export class RequestInfo extends Message<RequestInfo> {
287
287
  * @generated from message scalekit.v1.errdetails.ResourceInfo
288
288
  */
289
289
  export class ResourceInfo extends Message<ResourceInfo> {
290
- /**
291
- * @generated from field: string resource_type = 1;
292
- */
293
- resourceType = "";
294
-
295
290
  /**
296
291
  * @generated from field: string resource_name = 2;
297
292
  */
@@ -311,6 +306,18 @@ export class ResourceInfo extends Message<ResourceInfo> {
311
306
  */
312
307
  description = "";
313
308
 
309
+ /**
310
+ * The required permissions needed to access the resource.
311
+ *
312
+ * @generated from field: repeated string required_permissions = 5;
313
+ */
314
+ requiredPermissions: string[] = [];
315
+
316
+ /**
317
+ * @generated from field: string user = 6;
318
+ */
319
+ user = "";
320
+
314
321
  constructor(data?: PartialMessage<ResourceInfo>) {
315
322
  super();
316
323
  proto3.util.initPartial(data, this);
@@ -319,10 +326,11 @@ export class ResourceInfo extends Message<ResourceInfo> {
319
326
  static readonly runtime: typeof proto3 = proto3;
320
327
  static readonly typeName = "scalekit.v1.errdetails.ResourceInfo";
321
328
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
322
- { no: 1, name: "resource_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
323
329
  { no: 2, name: "resource_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
324
330
  { no: 3, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
325
331
  { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
332
+ { no: 5, name: "required_permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
333
+ { no: 6, name: "user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
326
334
  ]);
327
335
 
328
336
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceInfo {
@@ -6,11 +6,39 @@
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, MethodOptions, proto3 } from "@bufbuild/protobuf";
8
8
 
9
+ /**
10
+ * @generated from enum scalekit.v1.options.Policy
11
+ */
12
+ export enum Policy {
13
+ /**
14
+ * @generated from enum value: DENY = 0;
15
+ */
16
+ DENY = 0,
17
+
18
+ /**
19
+ * @generated from enum value: PARTIAL = 1;
20
+ */
21
+ PARTIAL = 1,
22
+
23
+ /**
24
+ * @generated from enum value: ALLOW = 2;
25
+ */
26
+ ALLOW = 2,
27
+ }
28
+ // Retrieve enum metadata with: proto3.getEnumType(Policy)
29
+ proto3.util.setEnumType(Policy, "scalekit.v1.options.Policy", [
30
+ { no: 0, name: "DENY" },
31
+ { no: 1, name: "PARTIAL" },
32
+ { no: 2, name: "ALLOW" },
33
+ ]);
34
+
9
35
  /**
10
36
  * @generated from enum scalekit.v1.options.AuthenticationType
11
37
  */
12
38
  export enum AuthenticationType {
13
39
  /**
40
+ * API is Blocked to access
41
+ *
14
42
  * API is blocked / private and default
15
43
  *
16
44
  * @generated from enum value: BLOCKED = 0;
@@ -25,6 +53,8 @@ export enum AuthenticationType {
25
53
  NONE = 1,
26
54
 
27
55
  /**
56
+ * Workspace auth option is for Scalekit Dashboard
57
+ *
28
58
  * workspace_id is in claims
29
59
  *
30
60
  * @generated from enum value: WORKSPACE = 64;
@@ -32,6 +62,8 @@ export enum AuthenticationType {
32
62
  WORKSPACE = 64,
33
63
 
34
64
  /**
65
+ * Customer portal is for customer admin portal access
66
+ *
35
67
  * claims has organisation ID
36
68
  *
37
69
  * @generated from enum value: CUSTOMER_PORTAL = 32;
@@ -39,19 +71,24 @@ export enum AuthenticationType {
39
71
  CUSTOMER_PORTAL = 32,
40
72
 
41
73
  /**
42
- * claims has UI in audience
74
+ * (UI audience in claims) this is for API that need to work on env.scalekit.com scoped access alone.
43
75
  *
44
76
  * @generated from enum value: SESSION = 16;
45
77
  */
46
78
  SESSION = 16,
47
79
 
48
80
  /**
49
- * workspace_id is in claims and UI in audience
50
- *
51
81
  * @generated from enum value: WORKSPACE_SESSION = 80;
52
82
  */
53
83
  WORKSPACE_SESSION = 80,
54
84
 
85
+ /**
86
+ * workspace_id is in claims and UI in audience
87
+ *
88
+ * @generated from enum value: WORKSPACE_CLIENT = 68;
89
+ */
90
+ WORKSPACE_CLIENT = 68,
91
+
55
92
  /**
56
93
  * @generated from enum value: WORKSPACE_SESSION_CUSTOMER_PORTAL = 112;
57
94
  */
@@ -64,6 +101,18 @@ export enum AuthenticationType {
64
101
  */
65
102
  WORKSPACE_SESSION_CUSTOMER_PORTAL_CLIENT = 116,
66
103
 
104
+ /**
105
+ * @generated from enum value: WORKSPACE_CUSTOMER_PORTAL_CLIENT = 100;
106
+ */
107
+ WORKSPACE_CUSTOMER_PORTAL_CLIENT = 100,
108
+
109
+ /**
110
+ * workspace_id,organization_id is in claims and client Id is in subject
111
+ *
112
+ * @generated from enum value: WORKSPACE_CUSTOMER_PORTAL = 96;
113
+ */
114
+ WORKSPACE_CUSTOMER_PORTAL = 96,
115
+
67
116
  /**
68
117
  * user_id is in claims
69
118
  *
@@ -72,6 +121,8 @@ export enum AuthenticationType {
72
121
  USER = 8,
73
122
 
74
123
  /**
124
+ * client is environment primary client ID
125
+ *
75
126
  * client Id is in subject
76
127
  *
77
128
  * @generated from enum value: CLIENT = 4;
@@ -107,8 +158,11 @@ proto3.util.setEnumType(AuthenticationType, "scalekit.v1.options.AuthenticationT
107
158
  { no: 32, name: "CUSTOMER_PORTAL" },
108
159
  { no: 16, name: "SESSION" },
109
160
  { no: 80, name: "WORKSPACE_SESSION" },
161
+ { no: 68, name: "WORKSPACE_CLIENT" },
110
162
  { no: 112, name: "WORKSPACE_SESSION_CUSTOMER_PORTAL" },
111
163
  { no: 116, name: "WORKSPACE_SESSION_CUSTOMER_PORTAL_CLIENT" },
164
+ { no: 100, name: "WORKSPACE_CUSTOMER_PORTAL_CLIENT" },
165
+ { no: 96, name: "WORKSPACE_CUSTOMER_PORTAL" },
112
166
  { no: 8, name: "USER" },
113
167
  { no: 4, name: "CLIENT" },
114
168
  { no: 20, name: "SESSION_CLIENT" },
@@ -126,9 +180,14 @@ export class AuthOption extends Message<AuthOption> {
126
180
  authenticationType = AuthenticationType.BLOCKED;
127
181
 
128
182
  /**
129
- * @generated from field: string permission = 1;
183
+ * @generated from field: repeated string permissions = 1;
184
+ */
185
+ permissions: string[] = [];
186
+
187
+ /**
188
+ * @generated from field: scalekit.v1.options.Policy policy = 2;
130
189
  */
131
- permission = "";
190
+ policy = Policy.DENY;
132
191
 
133
192
  constructor(data?: PartialMessage<AuthOption>) {
134
193
  super();
@@ -139,7 +198,8 @@ export class AuthOption extends Message<AuthOption> {
139
198
  static readonly typeName = "scalekit.v1.options.AuthOption";
140
199
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
141
200
  { no: 3, name: "authentication_type", kind: "enum", T: proto3.getEnumType(AuthenticationType) },
142
- { no: 1, name: "permission", kind: "scalar", T: 9 /* ScalarType.STRING */ },
201
+ { no: 1, name: "permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
202
+ { no: 2, name: "policy", kind: "enum", T: proto3.getEnumType(Policy) },
143
203
  ]);
144
204
 
145
205
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthOption {
@@ -6,6 +6,32 @@
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
8
8
 
9
+ /**
10
+ * @generated from enum scalekit.v1.roles.PermissionType
11
+ */
12
+ export enum PermissionType {
13
+ /**
14
+ * @generated from enum value: ALL = 0;
15
+ */
16
+ ALL = 0,
17
+
18
+ /**
19
+ * @generated from enum value: SCALEKIT = 1;
20
+ */
21
+ SCALEKIT = 1,
22
+
23
+ /**
24
+ * @generated from enum value: ENVIRONMENT = 2;
25
+ */
26
+ ENVIRONMENT = 2,
27
+ }
28
+ // Retrieve enum metadata with: proto3.getEnumType(PermissionType)
29
+ proto3.util.setEnumType(PermissionType, "scalekit.v1.roles.PermissionType", [
30
+ { no: 0, name: "ALL" },
31
+ { no: 1, name: "SCALEKIT" },
32
+ { no: 2, name: "ENVIRONMENT" },
33
+ ]);
34
+
9
35
  /**
10
36
  * @generated from message scalekit.v1.roles.Role
11
37
  */
@@ -1421,6 +1447,11 @@ export class Permission extends Message<Permission> {
1421
1447
  */
1422
1448
  updateTime?: Timestamp;
1423
1449
 
1450
+ /**
1451
+ * @generated from field: bool is_scalekit_permission = 6;
1452
+ */
1453
+ isScalekitPermission = false;
1454
+
1424
1455
  constructor(data?: PartialMessage<Permission>) {
1425
1456
  super();
1426
1457
  proto3.util.initPartial(data, this);
@@ -1434,6 +1465,7 @@ export class Permission extends Message<Permission> {
1434
1465
  { no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1435
1466
  { no: 4, name: "create_time", kind: "message", T: Timestamp },
1436
1467
  { no: 5, name: "update_time", kind: "message", T: Timestamp },
1468
+ { no: 6, name: "is_scalekit_permission", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1437
1469
  ]);
1438
1470
 
1439
1471
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Permission {
@@ -1809,6 +1841,11 @@ export class ListPermissionsRequest extends Message<ListPermissionsRequest> {
1809
1841
  */
1810
1842
  pageSize?: number;
1811
1843
 
1844
+ /**
1845
+ * @generated from field: scalekit.v1.roles.PermissionType type = 3;
1846
+ */
1847
+ type = PermissionType.ALL;
1848
+
1812
1849
  constructor(data?: PartialMessage<ListPermissionsRequest>) {
1813
1850
  super();
1814
1851
  proto3.util.initPartial(data, this);
@@ -1819,6 +1856,7 @@ export class ListPermissionsRequest extends Message<ListPermissionsRequest> {
1819
1856
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
1820
1857
  { no: 1, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1821
1858
  { no: 2, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1859
+ { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(PermissionType) },
1822
1860
  ]);
1823
1861
 
1824
1862
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPermissionsRequest {
@@ -425,6 +425,11 @@ export class SessionDetails extends Message<SessionDetails> {
425
425
  */
426
426
  lastActiveAt?: Timestamp;
427
427
 
428
+ /**
429
+ * @generated from field: repeated scalekit.v1.sessions.AuthenticatedClients authenticated_clients = 14;
430
+ */
431
+ authenticatedClients: AuthenticatedClients[] = [];
432
+
428
433
  constructor(data?: PartialMessage<SessionDetails>) {
429
434
  super();
430
435
  proto3.util.initPartial(data, this);
@@ -446,6 +451,7 @@ export class SessionDetails extends Message<SessionDetails> {
446
451
  { no: 11, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
447
452
  { no: 12, name: "device", kind: "message", T: DeviceDetails },
448
453
  { no: 13, name: "last_active_at", kind: "message", T: Timestamp },
454
+ { no: 14, name: "authenticated_clients", kind: "message", T: AuthenticatedClients, repeated: true },
449
455
  ]);
450
456
 
451
457
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionDetails {
@@ -696,3 +702,48 @@ export class Location extends Message<Location> {
696
702
  }
697
703
  }
698
704
 
705
+ /**
706
+ * AuthenticatedClients represents an authenticated client in a session along with its organization context.
707
+ *
708
+ * @generated from message scalekit.v1.sessions.AuthenticatedClients
709
+ */
710
+ export class AuthenticatedClients extends Message<AuthenticatedClients> {
711
+ /**
712
+ * @generated from field: string client_id = 1;
713
+ */
714
+ clientId = "";
715
+
716
+ /**
717
+ * @generated from field: string organization_id = 2;
718
+ */
719
+ organizationId = "";
720
+
721
+ constructor(data?: PartialMessage<AuthenticatedClients>) {
722
+ super();
723
+ proto3.util.initPartial(data, this);
724
+ }
725
+
726
+ static readonly runtime: typeof proto3 = proto3;
727
+ static readonly typeName = "scalekit.v1.sessions.AuthenticatedClients";
728
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
729
+ { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
730
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
731
+ ]);
732
+
733
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthenticatedClients {
734
+ return new AuthenticatedClients().fromBinary(bytes, options);
735
+ }
736
+
737
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthenticatedClients {
738
+ return new AuthenticatedClients().fromJson(jsonValue, options);
739
+ }
740
+
741
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthenticatedClients {
742
+ return new AuthenticatedClients().fromJsonString(jsonString, options);
743
+ }
744
+
745
+ static equals(a: AuthenticatedClients | PlainMessage<AuthenticatedClients> | undefined, b: AuthenticatedClients | PlainMessage<AuthenticatedClients> | undefined): boolean {
746
+ return proto3.util.equals(AuthenticatedClients, a, b);
747
+ }
748
+ }
749
+
@@ -0,0 +1,82 @@
1
+ // @generated by protoc-gen-connect-es v1.4.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 { CreateToolRequest, CreateToolResponse, DeleteToolRequest, ExecuteToolRequest, ExecuteToolResponse, ListScopedToolsRequest, ListScopedToolsResponse, ListToolsRequest, ListToolsResponse, SetToolDefaultRequest, SetToolDefaultResponse, UpdateToolRequest, UpdateToolResponse } from "./tools_pb.js";
7
+ import { Empty, MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service scalekit.v1.tools.ToolService
11
+ */
12
+ export const ToolService = {
13
+ typeName: "scalekit.v1.tools.ToolService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc scalekit.v1.tools.ToolService.CreateTool
17
+ */
18
+ createTool: {
19
+ name: "CreateTool",
20
+ I: CreateToolRequest,
21
+ O: CreateToolResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc scalekit.v1.tools.ToolService.ListTools
26
+ */
27
+ listTools: {
28
+ name: "ListTools",
29
+ I: ListToolsRequest,
30
+ O: ListToolsResponse,
31
+ kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc scalekit.v1.tools.ToolService.ListScopedTools
35
+ */
36
+ listScopedTools: {
37
+ name: "ListScopedTools",
38
+ I: ListScopedToolsRequest,
39
+ O: ListScopedToolsResponse,
40
+ kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc scalekit.v1.tools.ToolService.SetToolDefault
44
+ */
45
+ setToolDefault: {
46
+ name: "SetToolDefault",
47
+ I: SetToolDefaultRequest,
48
+ O: SetToolDefaultResponse,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc scalekit.v1.tools.ToolService.UpdateTool
53
+ */
54
+ updateTool: {
55
+ name: "UpdateTool",
56
+ I: UpdateToolRequest,
57
+ O: UpdateToolResponse,
58
+ kind: MethodKind.Unary,
59
+ },
60
+ /**
61
+ * @generated from rpc scalekit.v1.tools.ToolService.DeleteTool
62
+ */
63
+ deleteTool: {
64
+ name: "DeleteTool",
65
+ I: DeleteToolRequest,
66
+ O: Empty,
67
+ kind: MethodKind.Unary,
68
+ },
69
+ /**
70
+ * Execute Tool
71
+ *
72
+ * @generated from rpc scalekit.v1.tools.ToolService.ExecuteTool
73
+ */
74
+ executeTool: {
75
+ name: "ExecuteTool",
76
+ I: ExecuteToolRequest,
77
+ O: ExecuteToolResponse,
78
+ kind: MethodKind.Unary,
79
+ },
80
+ }
81
+ } as const;
82
+