agentbase-web-sdk 2.6.0-fix1

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 (89) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +41 -0
  3. package/dist/cjs/sdk.js +13833 -0
  4. package/dist/cjs/sdk.js.map +1 -0
  5. package/dist/esm/sdk.js +13805 -0
  6. package/dist/esm/sdk.js.map +1 -0
  7. package/dist/iife/sdk.js +17632 -0
  8. package/package.json +50 -0
  9. package/types/channel.d.ts +79 -0
  10. package/types/client.d.ts +289 -0
  11. package/types/enums/authentication-factor.d.ts +6 -0
  12. package/types/enums/authenticator-type.d.ts +3 -0
  13. package/types/enums/browser-permission.d.ts +22 -0
  14. package/types/enums/browser.d.ts +16 -0
  15. package/types/enums/credit-card.d.ts +19 -0
  16. package/types/enums/distillation-message-role.d.ts +6 -0
  17. package/types/enums/distillation-mode.d.ts +4 -0
  18. package/types/enums/distillation-tool-status.d.ts +4 -0
  19. package/types/enums/execution-method.d.ts +9 -0
  20. package/types/enums/execution-status.d.ts +7 -0
  21. package/types/enums/execution-trigger.d.ts +5 -0
  22. package/types/enums/export-job-mode.d.ts +4 -0
  23. package/types/enums/export-mode.d.ts +3 -0
  24. package/types/enums/feedback-type.d.ts +5 -0
  25. package/types/enums/flag.d.ts +197 -0
  26. package/types/enums/format.d.ts +4 -0
  27. package/types/enums/image-format.d.ts +9 -0
  28. package/types/enums/image-gravity.d.ts +11 -0
  29. package/types/enums/kind.d.ts +6 -0
  30. package/types/enums/kinds.d.ts +6 -0
  31. package/types/enums/knowledge-base-data-source-document-import-result-status.d.ts +5 -0
  32. package/types/enums/memory-access-mode.d.ts +4 -0
  33. package/types/enums/memory-batch-operation.d.ts +5 -0
  34. package/types/enums/memory-bulk-delete-item-status.d.ts +4 -0
  35. package/types/enums/memory-bulk-delete-response-status.d.ts +4 -0
  36. package/types/enums/memory-handling-policy.d.ts +5 -0
  37. package/types/enums/memory-message-role.d.ts +5 -0
  38. package/types/enums/memory-record-kind.d.ts +5 -0
  39. package/types/enums/memory-record-sensitivity.d.ts +5 -0
  40. package/types/enums/memory-scope.d.ts +7 -0
  41. package/types/enums/memory-sensitivity.d.ts +6 -0
  42. package/types/enums/memory-share-subject-type.d.ts +4 -0
  43. package/types/enums/o-auth-provider.d.ts +45 -0
  44. package/types/enums/organization-project-deletion-deletion-status.d.ts +5 -0
  45. package/types/enums/organization-role.d.ts +8 -0
  46. package/types/enums/organization-usage-range.d.ts +5 -0
  47. package/types/enums/outcome.d.ts +6 -0
  48. package/types/enums/profile-extraction-mode.d.ts +4 -0
  49. package/types/enums/profile-type.d.ts +4 -0
  50. package/types/enums/project-deletion-restore-status.d.ts +3 -0
  51. package/types/enums/project-deletion-result-deletion-status.d.ts +5 -0
  52. package/types/enums/project-deletion-result-status.d.ts +5 -0
  53. package/types/enums/record-kind.d.ts +5 -0
  54. package/types/enums/retention-policy.d.ts +3 -0
  55. package/types/enums/scope.d.ts +5 -0
  56. package/types/enums/source-type.d.ts +6 -0
  57. package/types/enums/status.d.ts +17 -0
  58. package/types/enums/theme.d.ts +4 -0
  59. package/types/enums/timezone.d.ts +422 -0
  60. package/types/enums/transaction-action.d.ts +12 -0
  61. package/types/enums/validation-status.d.ts +6 -0
  62. package/types/enums/verification-source.d.ts +5 -0
  63. package/types/id.d.ts +20 -0
  64. package/types/index.d.ts +87 -0
  65. package/types/models.d.ts +2537 -0
  66. package/types/operator.d.ts +180 -0
  67. package/types/permission.d.ts +43 -0
  68. package/types/query.d.ts +442 -0
  69. package/types/role.d.ts +70 -0
  70. package/types/service.d.ts +11 -0
  71. package/types/services/account.d.ts +1267 -0
  72. package/types/services/ai-gateway.d.ts +738 -0
  73. package/types/services/avatars.d.ts +320 -0
  74. package/types/services/databases.d.ts +437 -0
  75. package/types/services/documents-db.d.ts +405 -0
  76. package/types/services/functions.d.ts +91 -0
  77. package/types/services/graphql.d.ts +43 -0
  78. package/types/services/knowledge-bases.d.ts +117 -0
  79. package/types/services/llm-gateway.d.ts +282 -0
  80. package/types/services/locale.d.ts +64 -0
  81. package/types/services/memory.d.ts +1765 -0
  82. package/types/services/messaging.d.ts +53 -0
  83. package/types/services/projects.d.ts +129 -0
  84. package/types/services/realtime.d.ts +197 -0
  85. package/types/services/self-hosted-organizations.d.ts +495 -0
  86. package/types/services/storage.d.ts +259 -0
  87. package/types/services/tables-db.d.ts +434 -0
  88. package/types/services/teams.d.ts +341 -0
  89. package/types/services/vectors-db.d.ts +297 -0
@@ -0,0 +1,738 @@
1
+ import { Client } from '../client';
2
+ import { Status } from '../enums/status';
3
+ export declare class AiGateway {
4
+ client: Client;
5
+ constructor(client: Client);
6
+ /**
7
+ * Manage unified AI Gateway control-plane resources.
8
+ *
9
+ * @param {string} params.gatewayId - gatewayId path parameter.
10
+ * @throws {AgentbaseException}
11
+ * @returns {Promise<{}>}
12
+ */
13
+ updateGatewayPolicy(params: {
14
+ gatewayId: string;
15
+ }): Promise<{}>;
16
+ /**
17
+ * Manage unified AI Gateway control-plane resources.
18
+ *
19
+ * @param {string} gatewayId - gatewayId path parameter.
20
+ * @throws {AgentbaseException}
21
+ * @returns {Promise<{}>}
22
+ * @deprecated Use the object parameter style method for a better developer experience.
23
+ */
24
+ updateGatewayPolicy(gatewayId: string): Promise<{}>;
25
+ /**
26
+ * Manage unified AI Gateway control-plane resources.
27
+ *
28
+ * @param {string} params.gatewayId - gatewayId path parameter.
29
+ * @throws {AgentbaseException}
30
+ * @returns {Promise<{}>}
31
+ */
32
+ sealSnapshot(params: {
33
+ gatewayId: string;
34
+ }): Promise<{}>;
35
+ /**
36
+ * Manage unified AI Gateway control-plane resources.
37
+ *
38
+ * @param {string} gatewayId - gatewayId path parameter.
39
+ * @throws {AgentbaseException}
40
+ * @returns {Promise<{}>}
41
+ * @deprecated Use the object parameter style method for a better developer experience.
42
+ */
43
+ sealSnapshot(gatewayId: string): Promise<{}>;
44
+ /**
45
+ * Manage unified AI Gateway control-plane resources.
46
+ *
47
+ * @param {string} params.gatewayId - gatewayId path parameter.
48
+ * @throws {AgentbaseException}
49
+ * @returns {Promise<{}>}
50
+ */
51
+ getSnapshotStatus(params: {
52
+ gatewayId: string;
53
+ }): Promise<{}>;
54
+ /**
55
+ * Manage unified AI Gateway control-plane resources.
56
+ *
57
+ * @param {string} gatewayId - gatewayId path parameter.
58
+ * @throws {AgentbaseException}
59
+ * @returns {Promise<{}>}
60
+ * @deprecated Use the object parameter style method for a better developer experience.
61
+ */
62
+ getSnapshotStatus(gatewayId: string): Promise<{}>;
63
+ /**
64
+ * Manage unified AI Gateway control-plane resources.
65
+ *
66
+ * @throws {AgentbaseException}
67
+ * @returns {Promise<{}>}
68
+ */
69
+ listInvocations(): Promise<{}>;
70
+ /**
71
+ * Manage unified AI Gateway control-plane resources.
72
+ *
73
+ * @param {string} params.invocationId - invocationId path parameter.
74
+ * @throws {AgentbaseException}
75
+ * @returns {Promise<{}>}
76
+ */
77
+ getInvocation(params: {
78
+ invocationId: string;
79
+ }): Promise<{}>;
80
+ /**
81
+ * Manage unified AI Gateway control-plane resources.
82
+ *
83
+ * @param {string} invocationId - invocationId path parameter.
84
+ * @throws {AgentbaseException}
85
+ * @returns {Promise<{}>}
86
+ * @deprecated Use the object parameter style method for a better developer experience.
87
+ */
88
+ getInvocation(invocationId: string): Promise<{}>;
89
+ /**
90
+ * Manage unified AI Gateway control-plane resources.
91
+ *
92
+ * @throws {AgentbaseException}
93
+ * @returns {Promise<{}>}
94
+ */
95
+ listKeys(): Promise<{}>;
96
+ /**
97
+ * Issue an encrypted, recoverable API key for one or more AI Gateways.
98
+ *
99
+ * @param {string} params.name - API key name.
100
+ * @param {string[]} params.gatewayIds - Gateways this API key may call.
101
+ * @param {string} params.region - Snapshot region.
102
+ * @param {string[]} params.allowedModels - Allowed logical model names. Use `["*"]` for every model on the authorized gateways.
103
+ * @param {string[]} params.allowedTools - Allowed Tool resource IDs. Use `["*"]` for every Tool; an empty list denies all Tools.
104
+ * @param {string[]} params.allowedAgents - Allowed A2A or HTTP Agent Target resource IDs. Use `["*"]` for every Agent; an empty list denies all Agents.
105
+ * @param {string} params.defaultLogicalModel - Optional default logical model used only when a request omits `model`.
106
+ * @param {object} params.principal - Optional roles and flat claims signed into this credential and exposed to AI Gateway policies.
107
+ * @throws {AgentbaseException}
108
+ * @returns {Promise<{}>}
109
+ */
110
+ createKey(params: {
111
+ name: string;
112
+ gatewayIds: string[];
113
+ region?: string;
114
+ allowedModels?: string[];
115
+ allowedTools?: string[];
116
+ allowedAgents?: string[];
117
+ defaultLogicalModel?: string;
118
+ principal?: object;
119
+ }): Promise<{}>;
120
+ /**
121
+ * Issue an encrypted, recoverable API key for one or more AI Gateways.
122
+ *
123
+ * @param {string} name - API key name.
124
+ * @param {string[]} gatewayIds - Gateways this API key may call.
125
+ * @param {string} region - Snapshot region.
126
+ * @param {string[]} allowedModels - Allowed logical model names. Use `["*"]` for every model on the authorized gateways.
127
+ * @param {string[]} allowedTools - Allowed Tool resource IDs. Use `["*"]` for every Tool; an empty list denies all Tools.
128
+ * @param {string[]} allowedAgents - Allowed A2A or HTTP Agent Target resource IDs. Use `["*"]` for every Agent; an empty list denies all Agents.
129
+ * @param {string} defaultLogicalModel - Optional default logical model used only when a request omits `model`.
130
+ * @param {object} principal - Optional roles and flat claims signed into this credential and exposed to AI Gateway policies.
131
+ * @throws {AgentbaseException}
132
+ * @returns {Promise<{}>}
133
+ * @deprecated Use the object parameter style method for a better developer experience.
134
+ */
135
+ createKey(name: string, gatewayIds: string[], region?: string, allowedModels?: string[], allowedTools?: string[], allowedAgents?: string[], defaultLogicalModel?: string, principal?: object): Promise<{}>;
136
+ /**
137
+ * Retrieve the plaintext of an encrypted AI Gateway API key.
138
+ *
139
+ * @param {string} params.keyId - API key ID.
140
+ * @throws {AgentbaseException}
141
+ * @returns {Promise<{}>}
142
+ */
143
+ getKey(params: {
144
+ keyId: string;
145
+ }): Promise<{}>;
146
+ /**
147
+ * Retrieve the plaintext of an encrypted AI Gateway API key.
148
+ *
149
+ * @param {string} keyId - API key ID.
150
+ * @throws {AgentbaseException}
151
+ * @returns {Promise<{}>}
152
+ * @deprecated Use the object parameter style method for a better developer experience.
153
+ */
154
+ getKey(keyId: string): Promise<{}>;
155
+ /**
156
+ * Manage unified AI Gateway control-plane resources.
157
+ *
158
+ * @param {string} params.keyId - keyId path parameter.
159
+ * @throws {AgentbaseException}
160
+ * @returns {Promise<{}>}
161
+ */
162
+ updateKeyStatus(params: {
163
+ keyId: string;
164
+ }): Promise<{}>;
165
+ /**
166
+ * Manage unified AI Gateway control-plane resources.
167
+ *
168
+ * @param {string} keyId - keyId path parameter.
169
+ * @throws {AgentbaseException}
170
+ * @returns {Promise<{}>}
171
+ * @deprecated Use the object parameter style method for a better developer experience.
172
+ */
173
+ updateKeyStatus(keyId: string): Promise<{}>;
174
+ /**
175
+ * Manage unified AI Gateway control-plane resources.
176
+ *
177
+ * @throws {AgentbaseException}
178
+ * @returns {Promise<{}>}
179
+ */
180
+ getModelDeploymentMetrics(): Promise<{}>;
181
+ /**
182
+ * Manage unified AI Gateway control-plane resources.
183
+ *
184
+ * @throws {AgentbaseException}
185
+ * @returns {Promise<{}>}
186
+ */
187
+ getObservabilityOverview(): Promise<{}>;
188
+ /**
189
+ * Manage unified AI Gateway control-plane resources.
190
+ *
191
+ * @throws {AgentbaseException}
192
+ * @returns {Promise<{}>}
193
+ */
194
+ listPolicyEngines(): Promise<{}>;
195
+ /**
196
+ * Manage unified AI Gateway control-plane resources.
197
+ *
198
+ * @throws {AgentbaseException}
199
+ * @returns {Promise<{}>}
200
+ */
201
+ createPolicyEngine(): Promise<{}>;
202
+ /**
203
+ * Manage unified AI Gateway control-plane resources.
204
+ *
205
+ * @param {string} params.policyEngineId - policyEngineId path parameter.
206
+ * @throws {AgentbaseException}
207
+ * @returns {Promise<{}>}
208
+ */
209
+ getPolicyEngine(params: {
210
+ policyEngineId: string;
211
+ }): Promise<{}>;
212
+ /**
213
+ * Manage unified AI Gateway control-plane resources.
214
+ *
215
+ * @param {string} policyEngineId - policyEngineId path parameter.
216
+ * @throws {AgentbaseException}
217
+ * @returns {Promise<{}>}
218
+ * @deprecated Use the object parameter style method for a better developer experience.
219
+ */
220
+ getPolicyEngine(policyEngineId: string): Promise<{}>;
221
+ /**
222
+ * Manage unified AI Gateway control-plane resources.
223
+ *
224
+ * @param {string} params.policyEngineId - policyEngineId path parameter.
225
+ * @throws {AgentbaseException}
226
+ * @returns {Promise<{}>}
227
+ */
228
+ listPolicyBundles(params: {
229
+ policyEngineId: string;
230
+ }): Promise<{}>;
231
+ /**
232
+ * Manage unified AI Gateway control-plane resources.
233
+ *
234
+ * @param {string} policyEngineId - policyEngineId path parameter.
235
+ * @throws {AgentbaseException}
236
+ * @returns {Promise<{}>}
237
+ * @deprecated Use the object parameter style method for a better developer experience.
238
+ */
239
+ listPolicyBundles(policyEngineId: string): Promise<{}>;
240
+ /**
241
+ * Manage unified AI Gateway control-plane resources.
242
+ *
243
+ * @param {string} params.policyEngineId - policyEngineId path parameter.
244
+ * @throws {AgentbaseException}
245
+ * @returns {Promise<{}>}
246
+ */
247
+ publishPolicyBundle(params: {
248
+ policyEngineId: string;
249
+ }): Promise<{}>;
250
+ /**
251
+ * Manage unified AI Gateway control-plane resources.
252
+ *
253
+ * @param {string} policyEngineId - policyEngineId path parameter.
254
+ * @throws {AgentbaseException}
255
+ * @returns {Promise<{}>}
256
+ * @deprecated Use the object parameter style method for a better developer experience.
257
+ */
258
+ publishPolicyBundle(policyEngineId: string): Promise<{}>;
259
+ /**
260
+ * Manage unified AI Gateway control-plane resources.
261
+ *
262
+ * @param {string} params.policyEngineId - policyEngineId path parameter.
263
+ * @param {string} params.policyBundleId - policyBundleId path parameter.
264
+ * @throws {AgentbaseException}
265
+ * @returns {Promise<{}>}
266
+ */
267
+ getPolicyBundle(params: {
268
+ policyEngineId: string;
269
+ policyBundleId: string;
270
+ }): Promise<{}>;
271
+ /**
272
+ * Manage unified AI Gateway control-plane resources.
273
+ *
274
+ * @param {string} policyEngineId - policyEngineId path parameter.
275
+ * @param {string} policyBundleId - policyBundleId path parameter.
276
+ * @throws {AgentbaseException}
277
+ * @returns {Promise<{}>}
278
+ * @deprecated Use the object parameter style method for a better developer experience.
279
+ */
280
+ getPolicyBundle(policyEngineId: string, policyBundleId: string): Promise<{}>;
281
+ /**
282
+ * Manage unified AI Gateway control-plane resources.
283
+ *
284
+ * @param {string} params.policyEngineId - policyEngineId path parameter.
285
+ * @throws {AgentbaseException}
286
+ * @returns {Promise<{}>}
287
+ */
288
+ dryRunPolicy(params: {
289
+ policyEngineId: string;
290
+ }): Promise<{}>;
291
+ /**
292
+ * Manage unified AI Gateway control-plane resources.
293
+ *
294
+ * @param {string} policyEngineId - policyEngineId path parameter.
295
+ * @throws {AgentbaseException}
296
+ * @returns {Promise<{}>}
297
+ * @deprecated Use the object parameter style method for a better developer experience.
298
+ */
299
+ dryRunPolicy(policyEngineId: string): Promise<{}>;
300
+ /**
301
+ * Manage unified AI Gateway control-plane resources.
302
+ *
303
+ * @param {string} params.id - id path parameter.
304
+ * @throws {AgentbaseException}
305
+ * @returns {Promise<{}>}
306
+ */
307
+ testModelDeployment(params: {
308
+ id: string;
309
+ }): Promise<{}>;
310
+ /**
311
+ * Manage unified AI Gateway control-plane resources.
312
+ *
313
+ * @param {string} id - id path parameter.
314
+ * @throws {AgentbaseException}
315
+ * @returns {Promise<{}>}
316
+ * @deprecated Use the object parameter style method for a better developer experience.
317
+ */
318
+ testModelDeployment(id: string): Promise<{}>;
319
+ /**
320
+ * Manage unified AI Gateway control-plane resources.
321
+ *
322
+ * @param {string} params.id - id path parameter.
323
+ * @throws {AgentbaseException}
324
+ * @returns {Promise<{}>}
325
+ */
326
+ checkTargetHealth(params: {
327
+ id: string;
328
+ }): Promise<{}>;
329
+ /**
330
+ * Manage unified AI Gateway control-plane resources.
331
+ *
332
+ * @param {string} id - id path parameter.
333
+ * @throws {AgentbaseException}
334
+ * @returns {Promise<{}>}
335
+ * @deprecated Use the object parameter style method for a better developer experience.
336
+ */
337
+ checkTargetHealth(id: string): Promise<{}>;
338
+ /**
339
+ * Manage unified AI Gateway control-plane resources.
340
+ *
341
+ * @param {string} params.id - id path parameter.
342
+ * @throws {AgentbaseException}
343
+ * @returns {Promise<{}>}
344
+ */
345
+ discoverTargetModels(params: {
346
+ id: string;
347
+ }): Promise<{}>;
348
+ /**
349
+ * Manage unified AI Gateway control-plane resources.
350
+ *
351
+ * @param {string} id - id path parameter.
352
+ * @throws {AgentbaseException}
353
+ * @returns {Promise<{}>}
354
+ * @deprecated Use the object parameter style method for a better developer experience.
355
+ */
356
+ discoverTargetModels(id: string): Promise<{}>;
357
+ /**
358
+ * Manage unified AI Gateway control-plane resources.
359
+ *
360
+ * @param {string} params.id - id path parameter.
361
+ * @throws {AgentbaseException}
362
+ * @returns {Promise<{}>}
363
+ */
364
+ listTargetMounts(params: {
365
+ id: string;
366
+ }): Promise<{}>;
367
+ /**
368
+ * Manage unified AI Gateway control-plane resources.
369
+ *
370
+ * @param {string} id - id path parameter.
371
+ * @throws {AgentbaseException}
372
+ * @returns {Promise<{}>}
373
+ * @deprecated Use the object parameter style method for a better developer experience.
374
+ */
375
+ listTargetMounts(id: string): Promise<{}>;
376
+ /**
377
+ * Manage unified AI Gateway control-plane resources.
378
+ *
379
+ * @param {string} params.id - id path parameter.
380
+ * @throws {AgentbaseException}
381
+ * @returns {Promise<{}>}
382
+ */
383
+ replaceTargetMounts(params: {
384
+ id: string;
385
+ }): Promise<{}>;
386
+ /**
387
+ * Manage unified AI Gateway control-plane resources.
388
+ *
389
+ * @param {string} id - id path parameter.
390
+ * @throws {AgentbaseException}
391
+ * @returns {Promise<{}>}
392
+ * @deprecated Use the object parameter style method for a better developer experience.
393
+ */
394
+ replaceTargetMounts(id: string): Promise<{}>;
395
+ /**
396
+ * Manage unified AI Gateway control-plane resources.
397
+ *
398
+ * @param {string} params.kind - kind path parameter.
399
+ * @throws {AgentbaseException}
400
+ * @returns {Promise<{}>}
401
+ */
402
+ listResources(params: {
403
+ kind: string;
404
+ }): Promise<{}>;
405
+ /**
406
+ * Manage unified AI Gateway control-plane resources.
407
+ *
408
+ * @param {string} kind - kind path parameter.
409
+ * @throws {AgentbaseException}
410
+ * @returns {Promise<{}>}
411
+ * @deprecated Use the object parameter style method for a better developer experience.
412
+ */
413
+ listResources(kind: string): Promise<{}>;
414
+ /**
415
+ * Manage unified AI Gateway control-plane resources.
416
+ *
417
+ * @param {string} params.kind - kind path parameter.
418
+ * @throws {AgentbaseException}
419
+ * @returns {Promise<{}>}
420
+ */
421
+ createResource(params: {
422
+ kind: string;
423
+ }): Promise<{}>;
424
+ /**
425
+ * Manage unified AI Gateway control-plane resources.
426
+ *
427
+ * @param {string} kind - kind path parameter.
428
+ * @throws {AgentbaseException}
429
+ * @returns {Promise<{}>}
430
+ * @deprecated Use the object parameter style method for a better developer experience.
431
+ */
432
+ createResource(kind: string): Promise<{}>;
433
+ /**
434
+ * Manage unified AI Gateway control-plane resources.
435
+ *
436
+ * @param {string} params.kind - kind path parameter.
437
+ * @param {string} params.id - id path parameter.
438
+ * @throws {AgentbaseException}
439
+ * @returns {Promise<{}>}
440
+ */
441
+ getResource(params: {
442
+ kind: string;
443
+ id: string;
444
+ }): Promise<{}>;
445
+ /**
446
+ * Manage unified AI Gateway control-plane resources.
447
+ *
448
+ * @param {string} kind - kind path parameter.
449
+ * @param {string} id - id path parameter.
450
+ * @throws {AgentbaseException}
451
+ * @returns {Promise<{}>}
452
+ * @deprecated Use the object parameter style method for a better developer experience.
453
+ */
454
+ getResource(kind: string, id: string): Promise<{}>;
455
+ /**
456
+ * Manage unified AI Gateway control-plane resources.
457
+ *
458
+ * @param {string} params.kind - kind path parameter.
459
+ * @param {string} params.id - id path parameter.
460
+ * @throws {AgentbaseException}
461
+ * @returns {Promise<{}>}
462
+ */
463
+ replaceResource(params: {
464
+ kind: string;
465
+ id: string;
466
+ }): Promise<{}>;
467
+ /**
468
+ * Manage unified AI Gateway control-plane resources.
469
+ *
470
+ * @param {string} kind - kind path parameter.
471
+ * @param {string} id - id path parameter.
472
+ * @throws {AgentbaseException}
473
+ * @returns {Promise<{}>}
474
+ * @deprecated Use the object parameter style method for a better developer experience.
475
+ */
476
+ replaceResource(kind: string, id: string): Promise<{}>;
477
+ /**
478
+ * Manage unified AI Gateway control-plane resources.
479
+ *
480
+ * @param {string} params.kind - kind path parameter.
481
+ * @param {string} params.id - id path parameter.
482
+ * @throws {AgentbaseException}
483
+ * @returns {Promise<{}>}
484
+ */
485
+ deleteResource(params: {
486
+ kind: string;
487
+ id: string;
488
+ }): Promise<{}>;
489
+ /**
490
+ * Manage unified AI Gateway control-plane resources.
491
+ *
492
+ * @param {string} kind - kind path parameter.
493
+ * @param {string} id - id path parameter.
494
+ * @throws {AgentbaseException}
495
+ * @returns {Promise<{}>}
496
+ * @deprecated Use the object parameter style method for a better developer experience.
497
+ */
498
+ deleteResource(kind: string, id: string): Promise<{}>;
499
+ /**
500
+ * Manage unified AI Gateway control-plane resources.
501
+ *
502
+ * @param {string} params.kind - kind path parameter.
503
+ * @param {string} params.id - id path parameter.
504
+ * @throws {AgentbaseException}
505
+ * @returns {Promise<{}>}
506
+ */
507
+ createRevision(params: {
508
+ kind: string;
509
+ id: string;
510
+ }): Promise<{}>;
511
+ /**
512
+ * Manage unified AI Gateway control-plane resources.
513
+ *
514
+ * @param {string} kind - kind path parameter.
515
+ * @param {string} id - id path parameter.
516
+ * @throws {AgentbaseException}
517
+ * @returns {Promise<{}>}
518
+ * @deprecated Use the object parameter style method for a better developer experience.
519
+ */
520
+ createRevision(kind: string, id: string): Promise<{}>;
521
+ /**
522
+ * Manage unified AI Gateway control-plane resources.
523
+ *
524
+ * @param {string} params.kind - kind path parameter.
525
+ * @param {string} params.id - id path parameter.
526
+ * @param {string} params.revisionId - revisionId path parameter.
527
+ * @throws {AgentbaseException}
528
+ * @returns {Promise<{}>}
529
+ */
530
+ getRevision(params: {
531
+ kind: string;
532
+ id: string;
533
+ revisionId: string;
534
+ }): Promise<{}>;
535
+ /**
536
+ * Manage unified AI Gateway control-plane resources.
537
+ *
538
+ * @param {string} kind - kind path parameter.
539
+ * @param {string} id - id path parameter.
540
+ * @param {string} revisionId - revisionId path parameter.
541
+ * @throws {AgentbaseException}
542
+ * @returns {Promise<{}>}
543
+ * @deprecated Use the object parameter style method for a better developer experience.
544
+ */
545
+ getRevision(kind: string, id: string, revisionId: string): Promise<{}>;
546
+ /**
547
+ * Manage unified AI Gateway control-plane resources.
548
+ *
549
+ * @param {string} params.kind - kind path parameter.
550
+ * @param {string} params.id - id path parameter.
551
+ * @param {string} params.revisionId - revisionId path parameter.
552
+ * @param {string} params.action - action path parameter.
553
+ * @throws {AgentbaseException}
554
+ * @returns {Promise<{}>}
555
+ */
556
+ transitionRevision(params: {
557
+ kind: string;
558
+ id: string;
559
+ revisionId: string;
560
+ action: string;
561
+ }): Promise<{}>;
562
+ /**
563
+ * Manage unified AI Gateway control-plane resources.
564
+ *
565
+ * @param {string} kind - kind path parameter.
566
+ * @param {string} id - id path parameter.
567
+ * @param {string} revisionId - revisionId path parameter.
568
+ * @param {string} action - action path parameter.
569
+ * @throws {AgentbaseException}
570
+ * @returns {Promise<{}>}
571
+ * @deprecated Use the object parameter style method for a better developer experience.
572
+ */
573
+ transitionRevision(kind: string, id: string, revisionId: string, action: string): Promise<{}>;
574
+ /**
575
+ * List shared standard model metadata used by AI Gateway.
576
+ *
577
+ * @param {string} params.providerProfileId - Optional provider profile filter.
578
+ * @param {Status} params.status - Optional status filter.
579
+ * @throws {AgentbaseException}
580
+ * @returns {Promise<{}>}
581
+ */
582
+ listStandardModels(params?: {
583
+ providerProfileId?: string;
584
+ status?: Status;
585
+ }): Promise<{}>;
586
+ /**
587
+ * List shared standard model metadata used by AI Gateway.
588
+ *
589
+ * @param {string} providerProfileId - Optional provider profile filter.
590
+ * @param {Status} status - Optional status filter.
591
+ * @throws {AgentbaseException}
592
+ * @returns {Promise<{}>}
593
+ * @deprecated Use the object parameter style method for a better developer experience.
594
+ */
595
+ listStandardModels(providerProfileId?: string, status?: Status): Promise<{}>;
596
+ /**
597
+ * Create manually curated standard model metadata.
598
+ *
599
+ * @param {string} params.providerProfileId - Provider profile ID.
600
+ * @param {string} params.modelId - Provider model ID.
601
+ * @param {string} params.profileVersion - Provider profile version.
602
+ * @param {string} params.displayName - Model display name.
603
+ * @param {object} params.metadata - Standard model metadata.
604
+ * @param {Status} params.status - Catalog status.
605
+ * @throws {AgentbaseException}
606
+ * @returns {Promise<{}>}
607
+ */
608
+ createStandardModel(params: {
609
+ providerProfileId: string;
610
+ modelId: string;
611
+ profileVersion?: string;
612
+ displayName?: string;
613
+ metadata?: object;
614
+ status?: Status;
615
+ }): Promise<{}>;
616
+ /**
617
+ * Create manually curated standard model metadata.
618
+ *
619
+ * @param {string} providerProfileId - Provider profile ID.
620
+ * @param {string} modelId - Provider model ID.
621
+ * @param {string} profileVersion - Provider profile version.
622
+ * @param {string} displayName - Model display name.
623
+ * @param {object} metadata - Standard model metadata.
624
+ * @param {Status} status - Catalog status.
625
+ * @throws {AgentbaseException}
626
+ * @returns {Promise<{}>}
627
+ * @deprecated Use the object parameter style method for a better developer experience.
628
+ */
629
+ createStandardModel(providerProfileId: string, modelId: string, profileVersion?: string, displayName?: string, metadata?: object, status?: Status): Promise<{}>;
630
+ /**
631
+ * Merge provider-discovered metadata into the shared standard model catalog.
632
+ *
633
+ * @param {string} params.providerProfileId - Provider profile ID.
634
+ * @param {object[]} params.models - Discovered provider models.
635
+ * @param {string} params.profileVersion - Provider profile version.
636
+ * @param {string} params.fetchedAt - Provider fetch time.
637
+ * @throws {AgentbaseException}
638
+ * @returns {Promise<{}>}
639
+ */
640
+ importStandardModels(params: {
641
+ providerProfileId: string;
642
+ models: object[];
643
+ profileVersion?: string;
644
+ fetchedAt?: string;
645
+ }): Promise<{}>;
646
+ /**
647
+ * Merge provider-discovered metadata into the shared standard model catalog.
648
+ *
649
+ * @param {string} providerProfileId - Provider profile ID.
650
+ * @param {object[]} models - Discovered provider models.
651
+ * @param {string} profileVersion - Provider profile version.
652
+ * @param {string} fetchedAt - Provider fetch time.
653
+ * @throws {AgentbaseException}
654
+ * @returns {Promise<{}>}
655
+ * @deprecated Use the object parameter style method for a better developer experience.
656
+ */
657
+ importStandardModels(providerProfileId: string, models: object[], profileVersion?: string, fetchedAt?: string): Promise<{}>;
658
+ /**
659
+ * Update manually curated standard model metadata.
660
+ *
661
+ * @param {string} params.standardModelId - Standard model document ID.
662
+ * @param {string} params.displayName - Model display name.
663
+ * @param {object} params.metadata - Standard model metadata.
664
+ * @param {Status} params.status - Catalog status.
665
+ * @throws {AgentbaseException}
666
+ * @returns {Promise<{}>}
667
+ */
668
+ updateStandardModel(params: {
669
+ standardModelId: string;
670
+ displayName?: string;
671
+ metadata?: object;
672
+ status?: Status;
673
+ }): Promise<{}>;
674
+ /**
675
+ * Update manually curated standard model metadata.
676
+ *
677
+ * @param {string} standardModelId - Standard model document ID.
678
+ * @param {string} displayName - Model display name.
679
+ * @param {object} metadata - Standard model metadata.
680
+ * @param {Status} status - Catalog status.
681
+ * @throws {AgentbaseException}
682
+ * @returns {Promise<{}>}
683
+ * @deprecated Use the object parameter style method for a better developer experience.
684
+ */
685
+ updateStandardModel(standardModelId: string, displayName?: string, metadata?: object, status?: Status): Promise<{}>;
686
+ /**
687
+ * Manage unified AI Gateway control-plane resources.
688
+ *
689
+ * @throws {AgentbaseException}
690
+ * @returns {Promise<{}>}
691
+ */
692
+ createToolConnection(): Promise<{}>;
693
+ /**
694
+ * Manage unified AI Gateway control-plane resources.
695
+ *
696
+ * @throws {AgentbaseException}
697
+ * @returns {Promise<{}>}
698
+ */
699
+ discoverToolConnection(): Promise<{}>;
700
+ /**
701
+ * Manage unified AI Gateway control-plane resources.
702
+ *
703
+ * @param {string} params.id - id path parameter.
704
+ * @throws {AgentbaseException}
705
+ * @returns {Promise<{}>}
706
+ */
707
+ updateToolConnection(params: {
708
+ id: string;
709
+ }): Promise<{}>;
710
+ /**
711
+ * Manage unified AI Gateway control-plane resources.
712
+ *
713
+ * @param {string} id - id path parameter.
714
+ * @throws {AgentbaseException}
715
+ * @returns {Promise<{}>}
716
+ * @deprecated Use the object parameter style method for a better developer experience.
717
+ */
718
+ updateToolConnection(id: string): Promise<{}>;
719
+ /**
720
+ * Manage unified AI Gateway control-plane resources.
721
+ *
722
+ * @param {string} params.id - id path parameter.
723
+ * @throws {AgentbaseException}
724
+ * @returns {Promise<{}>}
725
+ */
726
+ deleteToolConnection(params: {
727
+ id: string;
728
+ }): Promise<{}>;
729
+ /**
730
+ * Manage unified AI Gateway control-plane resources.
731
+ *
732
+ * @param {string} id - id path parameter.
733
+ * @throws {AgentbaseException}
734
+ * @returns {Promise<{}>}
735
+ * @deprecated Use the object parameter style method for a better developer experience.
736
+ */
737
+ deleteToolConnection(id: string): Promise<{}>;
738
+ }