@amigo-ai/sdk 0.25.0 → 0.26.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.
@@ -2117,6 +2117,23 @@ export interface paths {
2117
2117
  patch?: never;
2118
2118
  trace?: never;
2119
2119
  };
2120
+ "/v1/{organization}/tool/test": {
2121
+ parameters: {
2122
+ query?: never;
2123
+ header?: never;
2124
+ path?: never;
2125
+ cookie?: never;
2126
+ };
2127
+ get?: never;
2128
+ put?: never;
2129
+ /** Test a tool */
2130
+ post: operations["test-tool"];
2131
+ delete?: never;
2132
+ options?: never;
2133
+ head?: never;
2134
+ patch?: never;
2135
+ trace?: never;
2136
+ };
2120
2137
  "/v1/{organization}/tool/{tool_id}/envvar": {
2121
2138
  parameters: {
2122
2139
  query?: never;
@@ -2236,23 +2253,6 @@ export interface paths {
2236
2253
  patch?: never;
2237
2254
  trace?: never;
2238
2255
  };
2239
- "/v1/{organization}/tool/test": {
2240
- parameters: {
2241
- query?: never;
2242
- header?: never;
2243
- path?: never;
2244
- cookie?: never;
2245
- };
2246
- get?: never;
2247
- put?: never;
2248
- /** Test a tool */
2249
- post: operations["test-tool"];
2250
- delete?: never;
2251
- options?: never;
2252
- head?: never;
2253
- patch?: never;
2254
- trace?: never;
2255
- };
2256
2256
  }
2257
2257
  export type webhooks = Record<string, never>;
2258
2258
  export interface components {
@@ -8464,10 +8464,10 @@ export interface components {
8464
8464
  */
8465
8465
  inputs: components["schemas"]["Input"][];
8466
8466
  /**
8467
- * Commit Hash
8468
- * @description The commit hash of the tool to test.
8467
+ * Commit Branch
8468
+ * @description The branch in the tools repo whose tip will be tested.
8469
8469
  */
8470
- commit_hash: string;
8470
+ commit_branch: string;
8471
8471
  /**
8472
8472
  * Project Path
8473
8473
  * @description The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.
@@ -16813,6 +16813,90 @@ export interface operations {
16813
16813
  };
16814
16814
  };
16815
16815
  };
16816
+ "test-tool": {
16817
+ parameters: {
16818
+ query?: never;
16819
+ header?: {
16820
+ /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
16821
+ "x-mongo-cluster-name"?: string | null;
16822
+ "Sec-WebSocket-Protocol"?: string[];
16823
+ };
16824
+ path: {
16825
+ organization: string;
16826
+ };
16827
+ cookie?: never;
16828
+ };
16829
+ requestBody: {
16830
+ content: {
16831
+ "application/json": components["schemas"]["tool__test_tool__Request"];
16832
+ };
16833
+ };
16834
+ responses: {
16835
+ /** @description Succeeded */
16836
+ 200: {
16837
+ headers: {
16838
+ [name: string]: unknown;
16839
+ };
16840
+ content: {
16841
+ "application/json": components["schemas"]["tool__test_tool__Response"];
16842
+ };
16843
+ };
16844
+ /** @description This error can occur due to the following reasons:
16845
+ * * An environment variable is specified as both secret and non-secret.
16846
+ * * The specified tool commit failed CI checks.
16847
+ * * Required environment variables in the tool are not declared in the reqeust.
16848
+ * * Input parameters do not conform to the tool's input schema.
16849
+ * */
16850
+ 400: {
16851
+ headers: {
16852
+ [name: string]: unknown;
16853
+ };
16854
+ content?: never;
16855
+ };
16856
+ /** @description Invalid authorization credentials. */
16857
+ 401: {
16858
+ headers: {
16859
+ [name: string]: unknown;
16860
+ };
16861
+ content?: never;
16862
+ };
16863
+ /** @description Missing required permissions. */
16864
+ 403: {
16865
+ headers: {
16866
+ [name: string]: unknown;
16867
+ };
16868
+ content?: never;
16869
+ };
16870
+ /** @description The specified organization or tool commit does not exist. */
16871
+ 404: {
16872
+ headers: {
16873
+ [name: string]: unknown;
16874
+ };
16875
+ content?: never;
16876
+ };
16877
+ /** @description Invalid request path parameter or request body failed validation. */
16878
+ 422: {
16879
+ headers: {
16880
+ [name: string]: unknown;
16881
+ };
16882
+ content?: never;
16883
+ };
16884
+ /** @description The user has exceeded the rate limit of 1 request per minute for this endpoint. */
16885
+ 429: {
16886
+ headers: {
16887
+ [name: string]: unknown;
16888
+ };
16889
+ content?: never;
16890
+ };
16891
+ /** @description The service is going through temporary maintenance. */
16892
+ 503: {
16893
+ headers: {
16894
+ [name: string]: unknown;
16895
+ };
16896
+ content?: never;
16897
+ };
16898
+ };
16899
+ };
16816
16900
  "modify-tool-envvars": {
16817
16901
  parameters: {
16818
16902
  query?: never;
@@ -17330,88 +17414,4 @@ export interface operations {
17330
17414
  };
17331
17415
  };
17332
17416
  };
17333
- "test-tool": {
17334
- parameters: {
17335
- query?: never;
17336
- header?: {
17337
- /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
17338
- "x-mongo-cluster-name"?: string | null;
17339
- "Sec-WebSocket-Protocol"?: string[];
17340
- };
17341
- path: {
17342
- organization: string;
17343
- };
17344
- cookie?: never;
17345
- };
17346
- requestBody: {
17347
- content: {
17348
- "application/json": components["schemas"]["tool__test_tool__Request"];
17349
- };
17350
- };
17351
- responses: {
17352
- /** @description Succeeded */
17353
- 200: {
17354
- headers: {
17355
- [name: string]: unknown;
17356
- };
17357
- content: {
17358
- "application/json": components["schemas"]["tool__test_tool__Response"];
17359
- };
17360
- };
17361
- /** @description This error can occur due to the following reasons:
17362
- * * An environment variable is specified as both secret and non-secret.
17363
- * * The specified tool commit failed CI checks.
17364
- * * Required environment variables in the tool are not declared in the reqeust.
17365
- * * Input parameters do not conform to the tool's input schema.
17366
- * */
17367
- 400: {
17368
- headers: {
17369
- [name: string]: unknown;
17370
- };
17371
- content?: never;
17372
- };
17373
- /** @description Invalid authorization credentials. */
17374
- 401: {
17375
- headers: {
17376
- [name: string]: unknown;
17377
- };
17378
- content?: never;
17379
- };
17380
- /** @description Missing required permissions. */
17381
- 403: {
17382
- headers: {
17383
- [name: string]: unknown;
17384
- };
17385
- content?: never;
17386
- };
17387
- /** @description The specified organization or tool commit does not exist. */
17388
- 404: {
17389
- headers: {
17390
- [name: string]: unknown;
17391
- };
17392
- content?: never;
17393
- };
17394
- /** @description Invalid request path parameter or request body failed validation. */
17395
- 422: {
17396
- headers: {
17397
- [name: string]: unknown;
17398
- };
17399
- content?: never;
17400
- };
17401
- /** @description The user has exceeded the rate limit of 1 request per minute for this endpoint. */
17402
- 429: {
17403
- headers: {
17404
- [name: string]: unknown;
17405
- };
17406
- content?: never;
17407
- };
17408
- /** @description The service is going through temporary maintenance. */
17409
- 503: {
17410
- headers: {
17411
- [name: string]: unknown;
17412
- };
17413
- content?: never;
17414
- };
17415
- };
17416
- };
17417
17417
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"