@wildix/wilma-tools-client 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist-cjs/WilmaTools.js +55 -0
  2. package/dist-cjs/WilmaToolsClient.js +51 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  5. package/dist-cjs/commands/CreateConnectorCommand.js +20 -0
  6. package/dist-cjs/commands/CreateToolCommand.js +20 -0
  7. package/dist-cjs/commands/DeleteConnectorCommand.js +20 -0
  8. package/dist-cjs/commands/DeleteToolCommand.js +20 -0
  9. package/dist-cjs/commands/DescribeCapabilitiesCommand.js +20 -0
  10. package/dist-cjs/commands/DescribeConnectorsCommand.js +20 -0
  11. package/dist-cjs/commands/DescribeToolsCommand.js +20 -0
  12. package/dist-cjs/commands/DiscoverToolsCommand.js +20 -0
  13. package/dist-cjs/commands/ExecuteConnectorCommand.js +20 -0
  14. package/dist-cjs/commands/ExecuteToolCommand.js +20 -0
  15. package/dist-cjs/commands/GetConnectorCommand.js +20 -0
  16. package/dist-cjs/commands/GetConnectorDefinitionCommand.js +20 -0
  17. package/dist-cjs/commands/GetToolCommand.js +20 -0
  18. package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +20 -0
  19. package/dist-cjs/commands/ListConnectorsCommand.js +20 -0
  20. package/dist-cjs/commands/ListToolsCommand.js +20 -0
  21. package/dist-cjs/commands/ResolveConnectorConfigurationCommand.js +20 -0
  22. package/dist-cjs/commands/UpdateConnectorCommand.js +20 -0
  23. package/dist-cjs/commands/UpdateToolCommand.js +20 -0
  24. package/dist-cjs/commands/index.js +22 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  26. package/dist-cjs/endpoint/bdd.js +28 -0
  27. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  28. package/dist-cjs/extensionConfiguration.js +2 -0
  29. package/dist-cjs/index.js +14 -0
  30. package/dist-cjs/models/WilmaToolsServiceException.js +12 -0
  31. package/dist-cjs/models/enums.js +12 -0
  32. package/dist-cjs/models/errors.js +116 -0
  33. package/dist-cjs/models/models_0.js +2 -0
  34. package/dist-cjs/pagination/Interfaces.js +2 -0
  35. package/dist-cjs/pagination/ListConnectorDefinitionsPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
  37. package/dist-cjs/pagination/index.js +6 -0
  38. package/dist-cjs/runtimeConfig.browser.js +32 -0
  39. package/dist-cjs/runtimeConfig.js +41 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +51 -0
  42. package/dist-cjs/runtimeExtensions.js +12 -0
  43. package/dist-cjs/schemas/schemas_0.js +690 -0
  44. package/dist-es/WilmaTools.js +51 -0
  45. package/dist-es/WilmaToolsClient.js +47 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  48. package/dist-es/commands/CreateConnectorCommand.js +16 -0
  49. package/dist-es/commands/CreateToolCommand.js +16 -0
  50. package/dist-es/commands/DeleteConnectorCommand.js +16 -0
  51. package/dist-es/commands/DeleteToolCommand.js +16 -0
  52. package/dist-es/commands/DescribeCapabilitiesCommand.js +16 -0
  53. package/dist-es/commands/DescribeConnectorsCommand.js +16 -0
  54. package/dist-es/commands/DescribeToolsCommand.js +16 -0
  55. package/dist-es/commands/DiscoverToolsCommand.js +16 -0
  56. package/dist-es/commands/ExecuteConnectorCommand.js +16 -0
  57. package/dist-es/commands/ExecuteToolCommand.js +16 -0
  58. package/dist-es/commands/GetConnectorCommand.js +16 -0
  59. package/dist-es/commands/GetConnectorDefinitionCommand.js +16 -0
  60. package/dist-es/commands/GetToolCommand.js +16 -0
  61. package/dist-es/commands/ListConnectorDefinitionsCommand.js +16 -0
  62. package/dist-es/commands/ListConnectorsCommand.js +16 -0
  63. package/dist-es/commands/ListToolsCommand.js +16 -0
  64. package/dist-es/commands/ResolveConnectorConfigurationCommand.js +16 -0
  65. package/dist-es/commands/UpdateConnectorCommand.js +16 -0
  66. package/dist-es/commands/UpdateToolCommand.js +16 -0
  67. package/dist-es/commands/index.js +19 -0
  68. package/dist-es/endpoint/EndpointParameters.js +12 -0
  69. package/dist-es/endpoint/bdd.js +25 -0
  70. package/dist-es/endpoint/endpointResolver.js +12 -0
  71. package/dist-es/extensionConfiguration.js +1 -0
  72. package/dist-es/index.js +9 -0
  73. package/dist-es/models/WilmaToolsServiceException.js +8 -0
  74. package/dist-es/models/enums.js +9 -0
  75. package/dist-es/models/errors.js +105 -0
  76. package/dist-es/models/models_0.js +1 -0
  77. package/dist-es/pagination/Interfaces.js +1 -0
  78. package/dist-es/pagination/ListConnectorDefinitionsPaginator.js +4 -0
  79. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  80. package/dist-es/pagination/index.js +3 -0
  81. package/dist-es/runtimeConfig.browser.js +27 -0
  82. package/dist-es/runtimeConfig.js +36 -0
  83. package/dist-es/runtimeConfig.native.js +11 -0
  84. package/dist-es/runtimeConfig.shared.js +47 -0
  85. package/dist-es/runtimeExtensions.js +8 -0
  86. package/dist-es/schemas/schemas_0.js +686 -0
  87. package/dist-types/WilmaTools.d.ts +168 -0
  88. package/dist-types/WilmaToolsClient.d.ts +189 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  91. package/dist-types/commands/CreateConnectorCommand.d.ts +138 -0
  92. package/dist-types/commands/CreateToolCommand.d.ts +178 -0
  93. package/dist-types/commands/DeleteConnectorCommand.d.ts +87 -0
  94. package/dist-types/commands/DeleteToolCommand.d.ts +87 -0
  95. package/dist-types/commands/DescribeCapabilitiesCommand.d.ts +111 -0
  96. package/dist-types/commands/DescribeConnectorsCommand.d.ts +100 -0
  97. package/dist-types/commands/DescribeToolsCommand.d.ts +98 -0
  98. package/dist-types/commands/DiscoverToolsCommand.d.ts +103 -0
  99. package/dist-types/commands/ExecuteConnectorCommand.d.ts +96 -0
  100. package/dist-types/commands/ExecuteToolCommand.d.ts +94 -0
  101. package/dist-types/commands/GetConnectorCommand.d.ts +116 -0
  102. package/dist-types/commands/GetConnectorDefinitionCommand.d.ts +150 -0
  103. package/dist-types/commands/GetToolCommand.d.ts +136 -0
  104. package/dist-types/commands/ListConnectorDefinitionsCommand.d.ts +154 -0
  105. package/dist-types/commands/ListConnectorsCommand.d.ts +120 -0
  106. package/dist-types/commands/ListToolsCommand.d.ts +137 -0
  107. package/dist-types/commands/ResolveConnectorConfigurationCommand.d.ts +106 -0
  108. package/dist-types/commands/UpdateConnectorCommand.d.ts +143 -0
  109. package/dist-types/commands/UpdateToolCommand.d.ts +183 -0
  110. package/dist-types/commands/index.d.ts +19 -0
  111. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  112. package/dist-types/endpoint/bdd.d.ts +2 -0
  113. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  114. package/dist-types/extensionConfiguration.d.ts +8 -0
  115. package/dist-types/index.d.ts +25 -0
  116. package/dist-types/models/WilmaToolsServiceException.d.ts +14 -0
  117. package/dist-types/models/enums.d.ts +46 -0
  118. package/dist-types/models/errors.d.ts +108 -0
  119. package/dist-types/models/models_0.d.ts +1602 -0
  120. package/dist-types/pagination/Interfaces.d.ts +8 -0
  121. package/dist-types/pagination/ListConnectorDefinitionsPaginator.d.ts +7 -0
  122. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  123. package/dist-types/pagination/index.d.ts +3 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  125. package/dist-types/runtimeConfig.d.ts +55 -0
  126. package/dist-types/runtimeConfig.native.d.ts +54 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/schemas/schemas_0.d.ts +104 -0
  130. package/package.json +57 -0
@@ -0,0 +1,686 @@
1
+ const _AEE = "AlreadyExistException";
2
+ const _C = "Connector";
3
+ const _CA = "ConnectorAuthorization";
4
+ const _CAD = "ConnectorAuthorizationDefinition";
5
+ const _CC = "CreateConnector";
6
+ const _CCD = "ConnectorConfigurationDefinition";
7
+ const _CCI = "CreateConnectorInput";
8
+ const _CCO = "CreateConnectorOutput";
9
+ const _CD = "ConnectorDefinition";
10
+ const _CDR = "ConnectorDefinitionRef";
11
+ const _CDa = "CapabilityDescriptions";
12
+ const _CDap = "CapabilityDescription";
13
+ const _CDo = "ConnectorDescription";
14
+ const _CDon = "ConnectorDefinitions";
15
+ const _CDonn = "ConnectorDescriptions";
16
+ const _CER = "ConnectorExecutionResult";
17
+ const _CGA = "ConnectorGrantAll";
18
+ const _CGR = "ConnectorGrantRead";
19
+ const _CGRW = "ConnectorGrantReadWrite";
20
+ const _CM = "ConnectorMetadata";
21
+ const _CR = "ConnectionRef";
22
+ const _CRa = "CapabilityRefs";
23
+ const _CRap = "CapabilityRef";
24
+ const _CRo = "ConnectorReference";
25
+ const _CRon = "ConnectorReferences";
26
+ const _CSA = "ConnectorSharedAuthorization";
27
+ const _CT = "ConnectorTool";
28
+ const _CTG = "ConnectorToolGrant";
29
+ const _CTI = "CreateToolInput";
30
+ const _CTO = "CreateToolOutput";
31
+ const _CTo = "ConnectorTools";
32
+ const _CTr = "CreateTool";
33
+ const _CUA = "ConnectorUserAuthorization";
34
+ const _Co = "Connectors";
35
+ const _DC = "DeleteConnector";
36
+ const _DCI = "DeleteConnectorInput";
37
+ const _DCIe = "DescribeCapabilitiesInput";
38
+ const _DCIes = "DescribeConnectorsInput";
39
+ const _DCO = "DeleteConnectorOutput";
40
+ const _DCOe = "DescribeCapabilitiesOutput";
41
+ const _DCOes = "DescribeConnectorsOutput";
42
+ const _DCe = "DescribeCapabilities";
43
+ const _DCes = "DescribeConnectors";
44
+ const _DT = "DiscoveredTool";
45
+ const _DTI = "DeleteToolInput";
46
+ const _DTIe = "DescribeToolsInput";
47
+ const _DTIi = "DiscoverToolsInput";
48
+ const _DTL = "DiscoveredToolList";
49
+ const _DTO = "DeleteToolOutput";
50
+ const _DTOe = "DescribeToolsOutput";
51
+ const _DTOi = "DiscoverToolsOutput";
52
+ const _DTe = "DeleteTool";
53
+ const _DTes = "DescribeTools";
54
+ const _DTi = "DiscoverTools";
55
+ const _EC = "ExecuteConnector";
56
+ const _ECI = "ExecuteConnectorInput";
57
+ const _ECO = "ExecuteConnectorOutput";
58
+ const _ET = "ExecuteTool";
59
+ const _ETI = "ExecuteToolInput";
60
+ const _ETO = "ExecuteToolOutput";
61
+ const _FE = "ForbiddenException";
62
+ const _GC = "GetConnector";
63
+ const _GCD = "GetConnectorDefinition";
64
+ const _GCDI = "GetConnectorDefinitionInput";
65
+ const _GCDO = "GetConnectorDefinitionOutput";
66
+ const _GCI = "GetConnectorInput";
67
+ const _GCO = "GetConnectorOutput";
68
+ const _GT = "GetTool";
69
+ const _GTI = "GetToolInput";
70
+ const _GTO = "GetToolOutput";
71
+ const _LC = "ListConnectors";
72
+ const _LCD = "ListConnectorDefinitions";
73
+ const _LCDI = "ListConnectorDefinitionsInput";
74
+ const _LCDO = "ListConnectorDefinitionsOutput";
75
+ const _LCI = "ListConnectorsInput";
76
+ const _LCO = "ListConnectorsOutput";
77
+ const _LT = "ListTools";
78
+ const _LTI = "ListToolsInput";
79
+ const _LTO = "ListToolsOutput";
80
+ const _NFE = "NotFoundException";
81
+ const _RCC = "ResolveConnectorConfiguration";
82
+ const _RCCI = "ResolveConnectorConfigurationInput";
83
+ const _RCCO = "ResolveConnectorConfigurationOutput";
84
+ const _RCE = "RevisionConflictException";
85
+ const _T = "Tool";
86
+ const _TCH = "ToolConnectorHandler";
87
+ const _TD = "ToolDescription";
88
+ const _TDL = "ToolDescriptionList";
89
+ const _TEE = "ToolExecutionException";
90
+ const _TER = "ToolExecutionResult";
91
+ const _TESE = "ToolExecutionServerException";
92
+ const _TH = "ToolHandler";
93
+ const _TI = "ToolInput";
94
+ const _TL = "ToolsList";
95
+ const _TMA = "ToolMcpAuthorization";
96
+ const _TMH = "ToolMcpHandler";
97
+ const _TMTH = "ToolMcpToolHandler";
98
+ const _UC = "UpdateConnector";
99
+ const _UCI = "UpdateConnectorInput";
100
+ const _UCO = "UpdateConnectorOutput";
101
+ const _UE = "UnauthorizedException";
102
+ const _UT = "UpdateTool";
103
+ const _UTI = "UpdateToolInput";
104
+ const _UTO = "UpdateToolOutput";
105
+ const _VE = "ValidationException";
106
+ const _a = "authorization";
107
+ const _aS = "authorizationScopes";
108
+ const _ac = "access";
109
+ const _al = "all";
110
+ const _c = "client";
111
+ const _cH = "customHeaders";
112
+ const _cI = "companyId";
113
+ const _cIo = "connectorId";
114
+ const _cR = "currentRevision";
115
+ const _ca = "category";
116
+ const _cap = "capabilities";
117
+ const _co = "configuration";
118
+ const _com = "company";
119
+ const _con = "content";
120
+ const _conn = "connection";
121
+ const _conne = "connector";
122
+ const _connec = "connectors";
123
+ const _d = "details";
124
+ const _dU = "documentationUrl";
125
+ const _dV = "definitionVersion";
126
+ const _de = "definition";
127
+ const _def = "definitions";
128
+ const _dep = "deprecated";
129
+ const _des = "description";
130
+ const _desc = "descriptions";
131
+ const _do = "docs";
132
+ const _e = "error";
133
+ const _eI = "executionId";
134
+ const _ex = "examples";
135
+ const _g = "grant";
136
+ const _h = "handler";
137
+ const _hE = "httpError";
138
+ const _hQ = "httpQuery";
139
+ const _ht = "http";
140
+ const _i = "id";
141
+ const _iS = "inputSchema";
142
+ const _ic = "icon";
143
+ const _id = "idempotent";
144
+ const _ids = "ids";
145
+ const _in = "instructions";
146
+ const _inp = "input";
147
+ const _k = "key";
148
+ const _m = "message";
149
+ const _mT = "mcpTool";
150
+ const _mTI = "mcpToolId";
151
+ const _mTN = "mcpToolName";
152
+ const _mc = "mcp";
153
+ const _me = "metadata";
154
+ const _mo = "modes";
155
+ const _n = "name";
156
+ const _nT = "nextToken";
157
+ const _o = "output";
158
+ const _p = "provider";
159
+ const _pS = "pageSize";
160
+ const _q = "query";
161
+ const _r = "revision";
162
+ const _rB = "replacedBy";
163
+ const _rW = "readWrite";
164
+ const _re = "ref";
165
+ const _rea = "read";
166
+ const _ref = "references";
167
+ const _res = "result";
168
+ const _s = "smithy.ts.sdk.synthetic.wildix.wilma.tools";
169
+ const _sU = "serverUrl";
170
+ const _sc = "schema";
171
+ const _se = "server";
172
+ const _ser = "service";
173
+ const _sh = "shared";
174
+ const _su = "summary";
175
+ const _t = "type";
176
+ const _tC = "toolConfiguration";
177
+ const _tI = "toolId";
178
+ const _ti = "title";
179
+ const _to = "tools";
180
+ const _too = "tool";
181
+ const _u = "user";
182
+ const _uS = "uiSchema";
183
+ const _v = "version";
184
+ const _va = "values";
185
+ const n0 = "smithy.framework";
186
+ const n1 = "wildix.wilma.common";
187
+ const n2 = "wildix.wilma.tools";
188
+ const n3 = "wildix.wilma.secrets";
189
+ import { TypeRegistry } from "@smithy/core/schema";
190
+ import { AlreadyExistException, ForbiddenException, NotFoundException, RevisionConflictException, ToolExecutionException, ToolExecutionServerException, UnauthorizedException, ValidationException, } from "../models/errors";
191
+ import { WilmaToolsServiceException } from "../models/WilmaToolsServiceException";
192
+ const _s_registry = TypeRegistry.for(_s);
193
+ export var WilmaToolsServiceException$ = [-3, _s, "WilmaToolsServiceException", 0, [], []];
194
+ _s_registry.registerError(WilmaToolsServiceException$, WilmaToolsServiceException);
195
+ const n0_registry = TypeRegistry.for(n0);
196
+ const n1_registry = TypeRegistry.for(n1);
197
+ const n2_registry = TypeRegistry.for(n2);
198
+ export var AlreadyExistException$ = [-3, n0, _AEE,
199
+ { [_e]: _c, [_hE]: 400 },
200
+ [_m],
201
+ [0], 1
202
+ ];
203
+ n0_registry.registerError(AlreadyExistException$, AlreadyExistException);
204
+ export var ForbiddenException$ = [-3, n0, _FE,
205
+ { [_e]: _c, [_hE]: 403 },
206
+ [_m],
207
+ [0], 1
208
+ ];
209
+ n0_registry.registerError(ForbiddenException$, ForbiddenException);
210
+ export var NotFoundException$ = [-3, n0, _NFE,
211
+ { [_e]: _c, [_hE]: 404 },
212
+ [_m],
213
+ [0], 1
214
+ ];
215
+ n0_registry.registerError(NotFoundException$, NotFoundException);
216
+ export var UnauthorizedException$ = [-3, n0, _UE,
217
+ { [_e]: _c, [_hE]: 401 },
218
+ [_m],
219
+ [0], 1
220
+ ];
221
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
222
+ export var ValidationException$ = [-3, n0, _VE,
223
+ { [_e]: _c, [_hE]: 400 },
224
+ [_m],
225
+ [0], 1
226
+ ];
227
+ n0_registry.registerError(ValidationException$, ValidationException);
228
+ export var RevisionConflictException$ = [-3, n1, _RCE,
229
+ { [_e]: _c, [_hE]: 409 },
230
+ [_m, _t, _cR],
231
+ [0, 0, 1], 1
232
+ ];
233
+ n1_registry.registerError(RevisionConflictException$, RevisionConflictException);
234
+ export var ToolExecutionException$ = [-3, n2, _TEE,
235
+ { [_e]: _c, [_hE]: 400 },
236
+ [_m, _d],
237
+ [0, 15], 1
238
+ ];
239
+ n2_registry.registerError(ToolExecutionException$, ToolExecutionException);
240
+ export var ToolExecutionServerException$ = [-3, n2, _TESE,
241
+ { [_e]: _se, [_hE]: 500 },
242
+ [_m, _d],
243
+ [0, 15], 1
244
+ ];
245
+ n2_registry.registerError(ToolExecutionServerException$, ToolExecutionServerException);
246
+ export const errorTypeRegistries = [
247
+ _s_registry,
248
+ n0_registry,
249
+ n1_registry,
250
+ n2_registry,
251
+ ];
252
+ export var ConnectionRef$ = [3, n3, _CR,
253
+ 0,
254
+ [_i],
255
+ [0], 1
256
+ ];
257
+ export var Connector$ = [3, n2, _C,
258
+ 0,
259
+ [_de, _co, _n, _des, _g, _i, _cI, _r, _a],
260
+ [() => ConnectorDefinitionRef$, 15, 0, 0, () => ConnectorToolGrant$, 0, 0, 1, () => ConnectorAuthorization$], 8
261
+ ];
262
+ export var ConnectorAuthorizationDefinition$ = [3, n2, _CAD,
263
+ 0,
264
+ [_p, _mo],
265
+ [0, 64 | 0], 2
266
+ ];
267
+ export var ConnectorConfigurationDefinition$ = [3, n2, _CCD,
268
+ 0,
269
+ [_sc, _uS],
270
+ [15, 15], 1
271
+ ];
272
+ export var ConnectorDefinition$ = [3, n2, _CD,
273
+ 0,
274
+ [_re, _me, _co, _to, _a, _in, _ref, _dep, _rB],
275
+ [() => ConnectorDefinitionRef$, () => ConnectorMetadata$, () => ConnectorConfigurationDefinition$, () => ConnectorTools, () => ConnectorAuthorizationDefinition$, 0, () => ConnectorReferences, 2, () => ConnectorDefinitionRef$], 4
276
+ ];
277
+ export var ConnectorDefinitionRef$ = [3, n2, _CDR,
278
+ 0,
279
+ [_k, _v],
280
+ [0, 0], 2
281
+ ];
282
+ export var ConnectorDescription$ = [3, n2, _CDo,
283
+ 0,
284
+ [_i, _n, _des],
285
+ [0, 0, 0], 3
286
+ ];
287
+ export var ConnectorExecutionResult$ = [3, n2, _CER,
288
+ 0,
289
+ [_o, _eI, _dV],
290
+ [15, 0, 0], 3
291
+ ];
292
+ export var ConnectorGrantAll$ = [3, n2, _CGA,
293
+ 0,
294
+ [],
295
+ []
296
+ ];
297
+ export var ConnectorGrantRead$ = [3, n2, _CGR,
298
+ 0,
299
+ [],
300
+ []
301
+ ];
302
+ export var ConnectorGrantReadWrite$ = [3, n2, _CGRW,
303
+ 0,
304
+ [],
305
+ []
306
+ ];
307
+ export var ConnectorMetadata$ = [3, n2, _CM,
308
+ 0,
309
+ [_ti, _des, _ic, _ca, _dU],
310
+ [0, 0, 0, 0, 0], 2
311
+ ];
312
+ export var ConnectorReference$ = [3, n2, _CRo,
313
+ 0,
314
+ [_n, _ti, _su, _con],
315
+ [0, 0, 0, 0], 4
316
+ ];
317
+ export var ConnectorSharedAuthorization$ = [3, n2, _CSA,
318
+ 0,
319
+ [_conn],
320
+ [() => ConnectionRef$], 1
321
+ ];
322
+ export var ConnectorTool$ = [3, n2, _CT,
323
+ 0,
324
+ [_i, _n, _des, _ac, _inp, _id, _ca, _co, _ex, _do, _aS],
325
+ [0, 0, 0, 0, () => ToolInput$, 2, 0, () => ConnectorConfigurationDefinition$, 64 | 0, 0, 64 | 0], 5
326
+ ];
327
+ export var ConnectorUserAuthorization$ = [3, n2, _CUA,
328
+ 0,
329
+ [],
330
+ []
331
+ ];
332
+ export var CreateConnectorInput$ = [3, n2, _CCI,
333
+ 0,
334
+ [_de, _co, _n, _des, _g, _a, _cI],
335
+ [() => ConnectorDefinitionRef$, 15, 0, 0, () => ConnectorToolGrant$, () => ConnectorAuthorization$, [0, { [_hQ]: _com }]], 5
336
+ ];
337
+ export var CreateConnectorOutput$ = [3, n2, _CCO,
338
+ 0,
339
+ [_conne],
340
+ [() => Connector$], 1
341
+ ];
342
+ export var CreateToolInput$ = [3, n2, _CTI,
343
+ 0,
344
+ [_n, _ca, _h, _cI, _des, _inp],
345
+ [0, 0, () => ToolHandler$, [0, { [_hQ]: _com }], 0, () => ToolInput$], 3
346
+ ];
347
+ export var CreateToolOutput$ = [3, n2, _CTO,
348
+ 0,
349
+ [_too],
350
+ [() => Tool$], 1
351
+ ];
352
+ export var DeleteConnectorInput$ = [3, n2, _DCI,
353
+ 0,
354
+ [_cIo, _cI],
355
+ [[0, 1], [0, { [_hQ]: _com }]], 1
356
+ ];
357
+ export var DeleteConnectorOutput$ = [3, n2, _DCO,
358
+ 0,
359
+ [],
360
+ []
361
+ ];
362
+ export var DeleteToolInput$ = [3, n2, _DTI,
363
+ 0,
364
+ [_tI, _cI],
365
+ [[0, 1], [0, { [_hQ]: _com }]], 1
366
+ ];
367
+ export var DeleteToolOutput$ = [3, n2, _DTO,
368
+ 0,
369
+ [],
370
+ []
371
+ ];
372
+ export var DescribeCapabilitiesInput$ = [3, n2, _DCIe,
373
+ 0,
374
+ [_cap, _cI],
375
+ [() => CapabilityRefs, [0, { [_hQ]: _com }]], 1
376
+ ];
377
+ export var DescribeCapabilitiesOutput$ = [3, n2, _DCOe,
378
+ 0,
379
+ [_desc],
380
+ [() => CapabilityDescriptions], 1
381
+ ];
382
+ export var DescribeConnectorsInput$ = [3, n2, _DCIes,
383
+ 0,
384
+ [_ids, _cI],
385
+ [64 | 0, [0, { [_hQ]: _com }]], 1
386
+ ];
387
+ export var DescribeConnectorsOutput$ = [3, n2, _DCOes,
388
+ 0,
389
+ [_desc],
390
+ [() => ConnectorDescriptions], 1
391
+ ];
392
+ export var DescribeToolsInput$ = [3, n2, _DTIe,
393
+ 0,
394
+ [_ids, _cI],
395
+ [64 | 0, [0, { [_hQ]: _com }]], 1
396
+ ];
397
+ export var DescribeToolsOutput$ = [3, n2, _DTOe,
398
+ 0,
399
+ [_desc],
400
+ [() => ToolDescriptionList], 1
401
+ ];
402
+ export var DiscoveredTool$ = [3, n2, _DT,
403
+ 0,
404
+ [_n, _des, _iS],
405
+ [0, 0, 15], 3
406
+ ];
407
+ export var DiscoverToolsInput$ = [3, n2, _DTIi,
408
+ 0,
409
+ [_sU, _cI, _a],
410
+ [0, [0, { [_hQ]: _com }], () => ToolMcpAuthorization$], 1
411
+ ];
412
+ export var DiscoverToolsOutput$ = [3, n2, _DTOi,
413
+ 0,
414
+ [_to],
415
+ [() => DiscoveredToolList], 1
416
+ ];
417
+ export var ExecuteConnectorInput$ = [3, n2, _ECI,
418
+ 0,
419
+ [_cIo, _inp, _cI, _ser, _u],
420
+ [[0, 1], 15, [0, { [_hQ]: _com }], 0, 0], 2
421
+ ];
422
+ export var ExecuteConnectorOutput$ = [3, n2, _ECO,
423
+ 0,
424
+ [_res],
425
+ [() => ConnectorExecutionResult$], 1
426
+ ];
427
+ export var ExecuteToolInput$ = [3, n2, _ETI,
428
+ 0,
429
+ [_i, _inp, _cI, _ser, _u],
430
+ [0, 15, [0, { [_hQ]: _com }], 0, 0], 2
431
+ ];
432
+ export var ExecuteToolOutput$ = [3, n2, _ETO,
433
+ 0,
434
+ [_res],
435
+ [() => ToolExecutionResult$], 1
436
+ ];
437
+ export var GetConnectorDefinitionInput$ = [3, n2, _GCDI,
438
+ 0,
439
+ [_k, _v, _cI],
440
+ [[0, 1], [0, 1], [0, { [_hQ]: _com }]], 2
441
+ ];
442
+ export var GetConnectorDefinitionOutput$ = [3, n2, _GCDO,
443
+ 0,
444
+ [_de],
445
+ [() => ConnectorDefinition$], 1
446
+ ];
447
+ export var GetConnectorInput$ = [3, n2, _GCI,
448
+ 0,
449
+ [_cIo, _cI],
450
+ [[0, 1], [0, { [_hQ]: _com }]], 1
451
+ ];
452
+ export var GetConnectorOutput$ = [3, n2, _GCO,
453
+ 0,
454
+ [_conne],
455
+ [() => Connector$], 1
456
+ ];
457
+ export var GetToolInput$ = [3, n2, _GTI,
458
+ 0,
459
+ [_tI, _cI],
460
+ [[0, 1], [0, { [_hQ]: _com }]], 1
461
+ ];
462
+ export var GetToolOutput$ = [3, n2, _GTO,
463
+ 0,
464
+ [_too],
465
+ [() => Tool$], 1
466
+ ];
467
+ export var ListConnectorDefinitionsInput$ = [3, n2, _LCDI,
468
+ 0,
469
+ [_cI, _q, _pS, _nT],
470
+ [[0, { [_hQ]: _com }], [0, { [_hQ]: _q }], [1, { [_hQ]: _pS }], [0, { [_hQ]: _nT }]]
471
+ ];
472
+ export var ListConnectorDefinitionsOutput$ = [3, n2, _LCDO,
473
+ 0,
474
+ [_def, _nT],
475
+ [() => ConnectorDefinitions, 0], 1
476
+ ];
477
+ export var ListConnectorsInput$ = [3, n2, _LCI,
478
+ 0,
479
+ [_cI, _pS, _nT],
480
+ [[0, { [_hQ]: _com }], [1, { [_hQ]: _pS }], [0, { [_hQ]: _nT }]]
481
+ ];
482
+ export var ListConnectorsOutput$ = [3, n2, _LCO,
483
+ 0,
484
+ [_connec, _nT],
485
+ [() => Connectors, 0], 1
486
+ ];
487
+ export var ListToolsInput$ = [3, n2, _LTI,
488
+ 0,
489
+ [_cI],
490
+ [[0, { [_hQ]: _com }]]
491
+ ];
492
+ export var ListToolsOutput$ = [3, n2, _LTO,
493
+ 0,
494
+ [_to],
495
+ [() => ToolsList], 1
496
+ ];
497
+ export var ResolveConnectorConfigurationInput$ = [3, n2, _RCCI,
498
+ 0,
499
+ [_k, _v, _va, _cI, _tI, _a, _u],
500
+ [[0, 1], [0, 1], 15, [0, { [_hQ]: _com }], [0, { [_hQ]: _tI }], () => ConnectorAuthorization$, 0], 3
501
+ ];
502
+ export var ResolveConnectorConfigurationOutput$ = [3, n2, _RCCO,
503
+ 0,
504
+ [_co],
505
+ [() => ConnectorConfigurationDefinition$], 1
506
+ ];
507
+ export var Tool$ = [3, n2, _T,
508
+ 0,
509
+ [_i, _cI, _n, _ca, _h, _r, _des, _inp],
510
+ [0, 0, 0, 0, () => ToolHandler$, 1, 0, () => ToolInput$], 6
511
+ ];
512
+ export var ToolConnectorHandler$ = [3, n2, _TCH,
513
+ 0,
514
+ [_de, _co, _tI, _a, _tC],
515
+ [() => ConnectorDefinitionRef$, 15, 0, () => ConnectorAuthorization$, 15], 3
516
+ ];
517
+ export var ToolDescription$ = [3, n2, _TD,
518
+ 0,
519
+ [_i, _n, _des, _sc],
520
+ [0, 0, 0, 15], 2
521
+ ];
522
+ export var ToolExecutionResult$ = [3, n2, _TER,
523
+ 0,
524
+ [_o],
525
+ [15], 1
526
+ ];
527
+ export var ToolInput$ = [3, n2, _TI,
528
+ 0,
529
+ [_sc],
530
+ [15], 1
531
+ ];
532
+ export var ToolMcpHandler$ = [3, n2, _TMH,
533
+ 0,
534
+ [_sU, _to, _a],
535
+ [0, 64 | 0, () => ToolMcpAuthorization$], 2
536
+ ];
537
+ export var ToolMcpToolHandler$ = [3, n2, _TMTH,
538
+ 0,
539
+ [_mTI, _mTN],
540
+ [0, 0], 2
541
+ ];
542
+ export var UpdateConnectorInput$ = [3, n2, _UCI,
543
+ 0,
544
+ [_de, _co, _n, _des, _g, _cIo, _r, _a, _cI],
545
+ [() => ConnectorDefinitionRef$, 15, 0, 0, () => ConnectorToolGrant$, [0, 1], 1, () => ConnectorAuthorization$, [0, { [_hQ]: _com }]], 7
546
+ ];
547
+ export var UpdateConnectorOutput$ = [3, n2, _UCO,
548
+ 0,
549
+ [_conne],
550
+ [() => Connector$], 1
551
+ ];
552
+ export var UpdateToolInput$ = [3, n2, _UTI,
553
+ 0,
554
+ [_tI, _r, _n, _ca, _h, _cI, _des, _inp],
555
+ [[0, 1], 1, 0, 0, () => ToolHandler$, [0, { [_hQ]: _com }], 0, () => ToolInput$], 5
556
+ ];
557
+ export var UpdateToolOutput$ = [3, n2, _UTO,
558
+ 0,
559
+ [_too],
560
+ [() => Tool$], 1
561
+ ];
562
+ var CapabilityDescriptions = [1, n2, _CDa,
563
+ 0, () => CapabilityDescription$
564
+ ];
565
+ var CapabilityRefs = [1, n2, _CRa,
566
+ 0, () => CapabilityRef$
567
+ ];
568
+ var ConnectorAuthorizationModes = 64 | 0;
569
+ var ConnectorAuthorizationScopes = 64 | 0;
570
+ var ConnectorDefinitions = [1, n2, _CDon,
571
+ 0, () => ConnectorDefinition$
572
+ ];
573
+ var ConnectorDescriptions = [1, n2, _CDonn,
574
+ 0, () => ConnectorDescription$
575
+ ];
576
+ var ConnectorEnabledTools = 64 | 0;
577
+ var ConnectorExamples = 64 | 0;
578
+ var ConnectorIds = 64 | 0;
579
+ var ConnectorReferences = [1, n2, _CRon,
580
+ 0, () => ConnectorReference$
581
+ ];
582
+ var Connectors = [1, n2, _Co,
583
+ 0, () => Connector$
584
+ ];
585
+ var ConnectorTools = [1, n2, _CTo,
586
+ 0, () => ConnectorTool$
587
+ ];
588
+ var DiscoveredToolList = [1, n2, _DTL,
589
+ 0, () => DiscoveredTool$
590
+ ];
591
+ var ToolDescriptionList = [1, n2, _TDL,
592
+ 0, () => ToolDescription$
593
+ ];
594
+ var ToolIdList = 64 | 0;
595
+ var ToolMcpEnabledToolsList = 64 | 0;
596
+ var ToolsList = [1, n2, _TL,
597
+ 0, () => Tool$
598
+ ];
599
+ var ToolMcpHeadersMap = 128 | 0;
600
+ export var CapabilityDescription$ = [4, n2, _CDap,
601
+ 0,
602
+ [_too, _conne],
603
+ [() => ToolDescription$, () => ConnectorDescription$]
604
+ ];
605
+ export var CapabilityRef$ = [4, n2, _CRap,
606
+ 0,
607
+ [_too, _conne],
608
+ [0, 0]
609
+ ];
610
+ export var ConnectorAuthorization$ = [4, n2, _CA,
611
+ 0,
612
+ [_sh, _u],
613
+ [() => ConnectorSharedAuthorization$, () => ConnectorUserAuthorization$]
614
+ ];
615
+ export var ConnectorToolGrant$ = [4, n2, _CTG,
616
+ 0,
617
+ [_rea, _rW, _al, _to],
618
+ [() => ConnectorGrantRead$, () => ConnectorGrantReadWrite$, () => ConnectorGrantAll$, 64 | 0]
619
+ ];
620
+ export var ToolHandler$ = [4, n2, _TH,
621
+ 0,
622
+ [_conne, _mc, _mT],
623
+ [() => ToolConnectorHandler$, () => ToolMcpHandler$, () => ToolMcpToolHandler$]
624
+ ];
625
+ export var ToolMcpAuthorization$ = [4, n2, _TMA,
626
+ 0,
627
+ [_conn, _cH],
628
+ [() => ConnectionRef$, 128 | 0]
629
+ ];
630
+ export var CreateConnector$ = [9, n2, _CC,
631
+ { [_ht]: ["POST", "/v2/tools/connectors", 201] }, () => CreateConnectorInput$, () => CreateConnectorOutput$
632
+ ];
633
+ export var CreateTool$ = [9, n2, _CTr,
634
+ { [_ht]: ["POST", "/v2/tools", 201] }, () => CreateToolInput$, () => CreateToolOutput$
635
+ ];
636
+ export var DeleteConnector$ = [9, n2, _DC,
637
+ { [_ht]: ["DELETE", "/v2/tools/connectors/{connectorId}", 204] }, () => DeleteConnectorInput$, () => DeleteConnectorOutput$
638
+ ];
639
+ export var DeleteTool$ = [9, n2, _DTe,
640
+ { [_ht]: ["DELETE", "/v2/tools/{toolId}", 204] }, () => DeleteToolInput$, () => DeleteToolOutput$
641
+ ];
642
+ export var DescribeCapabilities$ = [9, n2, _DCe,
643
+ { [_ht]: ["POST", "/v2/tools/capabilities/describe", 200] }, () => DescribeCapabilitiesInput$, () => DescribeCapabilitiesOutput$
644
+ ];
645
+ export var DescribeConnectors$ = [9, n2, _DCes,
646
+ { [_ht]: ["POST", "/v2/tools/connectors/describe", 200] }, () => DescribeConnectorsInput$, () => DescribeConnectorsOutput$
647
+ ];
648
+ export var DescribeTools$ = [9, n2, _DTes,
649
+ { [_ht]: ["POST", "/v2/tools/describe", 200] }, () => DescribeToolsInput$, () => DescribeToolsOutput$
650
+ ];
651
+ export var DiscoverTools$ = [9, n2, _DTi,
652
+ { [_ht]: ["POST", "/v2/tools/discover", 200] }, () => DiscoverToolsInput$, () => DiscoverToolsOutput$
653
+ ];
654
+ export var ExecuteConnector$ = [9, n2, _EC,
655
+ { [_ht]: ["POST", "/v2/tools/connectors/{connectorId}/execute", 200] }, () => ExecuteConnectorInput$, () => ExecuteConnectorOutput$
656
+ ];
657
+ export var ExecuteTool$ = [9, n2, _ET,
658
+ { [_ht]: ["POST", "/v2/tools/execute", 200] }, () => ExecuteToolInput$, () => ExecuteToolOutput$
659
+ ];
660
+ export var GetConnector$ = [9, n2, _GC,
661
+ { [_ht]: ["GET", "/v2/tools/connectors/{connectorId}", 200] }, () => GetConnectorInput$, () => GetConnectorOutput$
662
+ ];
663
+ export var GetConnectorDefinition$ = [9, n2, _GCD,
664
+ { [_ht]: ["GET", "/v2/tools/connector-definitions/{key}/versions/{version}", 200] }, () => GetConnectorDefinitionInput$, () => GetConnectorDefinitionOutput$
665
+ ];
666
+ export var GetTool$ = [9, n2, _GT,
667
+ { [_ht]: ["GET", "/v2/tools/{toolId}", 200] }, () => GetToolInput$, () => GetToolOutput$
668
+ ];
669
+ export var ListConnectorDefinitions$ = [9, n2, _LCD,
670
+ { [_ht]: ["GET", "/v2/tools/connector-definitions", 200] }, () => ListConnectorDefinitionsInput$, () => ListConnectorDefinitionsOutput$
671
+ ];
672
+ export var ListConnectors$ = [9, n2, _LC,
673
+ { [_ht]: ["GET", "/v2/tools/connectors", 200] }, () => ListConnectorsInput$, () => ListConnectorsOutput$
674
+ ];
675
+ export var ListTools$ = [9, n2, _LT,
676
+ { [_ht]: ["GET", "/v2/tools", 200] }, () => ListToolsInput$, () => ListToolsOutput$
677
+ ];
678
+ export var ResolveConnectorConfiguration$ = [9, n2, _RCC,
679
+ { [_ht]: ["POST", "/v2/tools/connector-definitions/{key}/versions/{version}/configuration", 200] }, () => ResolveConnectorConfigurationInput$, () => ResolveConnectorConfigurationOutput$
680
+ ];
681
+ export var UpdateConnector$ = [9, n2, _UC,
682
+ { [_ht]: ["PUT", "/v2/tools/connectors/{connectorId}", 200] }, () => UpdateConnectorInput$, () => UpdateConnectorOutput$
683
+ ];
684
+ export var UpdateTool$ = [9, n2, _UT,
685
+ { [_ht]: ["PUT", "/v2/tools/{toolId}", 200] }, () => UpdateToolInput$, () => UpdateToolOutput$
686
+ ];