@naturali/sdk 0.63.0 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -993,7 +993,7 @@ var Agents = class {
993
993
  /**
994
994
  * Update an agent
995
995
  *
996
- * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), the structured-output schema (output_schema), or the naturali-side status. At least one field is required.
996
+ * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), or the structured-output schema (output_schema). At least one field is required.
997
997
  *
998
998
  */
999
999
  static updateAgent(options) {
@@ -1909,7 +1909,7 @@ var Providers = class {
1909
1909
  /**
1910
1910
  * Update a provider
1911
1911
  *
1912
- * Change the model, name or base URL, rotate the credentials (api_key), or set the naturali-side status. At least one field is required.
1912
+ * Change the model, name or base URL, or rotate the credentials (api_key). At least one field is required.
1913
1913
  *
1914
1914
  */
1915
1915
  static updateProvider(options) {
@@ -2155,7 +2155,7 @@ var Tools = class {
2155
2155
  /**
2156
2156
  * Update a tool
2157
2157
  *
2158
- * Change the name, description, parameters, type-specific config (incl. rotating auth headers), or the naturali-side status. The tool `type` is immutable. At least one field is required.
2158
+ * Change the name, description, parameters, or type-specific config (incl. rotating auth headers). The tool `type` is immutable. At least one field is required.
2159
2159
  *
2160
2160
  */
2161
2161
  static updateTool(options) {
package/dist/index.d.cts CHANGED
@@ -512,7 +512,6 @@ type Agent = {
512
512
  *
513
513
  */
514
514
  trace_content_mode: 'full' | 'none' | null;
515
- status: 'active' | 'disabled';
516
515
  created_at: Date;
517
516
  updated_at: Date;
518
517
  };
@@ -594,7 +593,6 @@ type AgentUpdate = {
594
593
  *
595
594
  */
596
595
  trace_content_mode?: 'full' | 'none' | null;
597
- status?: 'active' | 'disabled';
598
596
  };
599
597
  type AgentList = {
600
598
  data: Array<Agent>;
@@ -2357,13 +2355,12 @@ type Provider = {
2357
2355
  provider: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
2358
2356
  default_model: string;
2359
2357
  kind: 'managed' | 'byok';
2360
- status: 'active' | 'disabled';
2361
2358
  /**
2362
2359
  * Whether credentials are on file (their value is never returned).
2363
2360
  */
2364
2361
  has_secret: boolean;
2365
2362
  /**
2366
- * Custom base URL, when set. Returned on detail (get) responses.
2363
+ * Custom base URL, when set.
2367
2364
  */
2368
2365
  base_url?: string | null;
2369
2366
  created_at: Date;
@@ -2414,7 +2411,6 @@ type ProviderUpdate = {
2414
2411
  * Rotate the stored credentials in place.
2415
2412
  */
2416
2413
  api_key?: string;
2417
- status?: 'active' | 'disabled';
2418
2414
  };
2419
2415
  type ProviderList = {
2420
2416
  data: Array<Provider>;
@@ -2897,7 +2893,6 @@ type Tool = {
2897
2893
  * Whether auth headers are on file (their values are never returned).
2898
2894
  */
2899
2895
  has_headers: boolean;
2900
- status: 'active' | 'disabled';
2901
2896
  created_at: Date;
2902
2897
  updated_at: Date;
2903
2898
  };
@@ -2968,7 +2963,6 @@ type ToolUpdate = {
2968
2963
  * Replace the allowlist of `tool_context` keys forwarded to this tool. `null` clears it (every key is forwarded again) — unlike omitting the field, which leaves the current allowlist alone.
2969
2964
  */
2970
2965
  context_keys?: Array<string> | null;
2971
- status?: 'active' | 'disabled';
2972
2966
  };
2973
2967
  type ToolList = {
2974
2968
  data: Array<Tool>;
@@ -7222,7 +7216,7 @@ type GetProviderErrors = {
7222
7216
  type GetProviderError = GetProviderErrors[keyof GetProviderErrors];
7223
7217
  type GetProviderResponses = {
7224
7218
  /**
7225
- * Provider details (includes base_url).
7219
+ * Provider details.
7226
7220
  */
7227
7221
  200: Provider;
7228
7222
  };
@@ -9165,7 +9159,7 @@ declare class Agents {
9165
9159
  /**
9166
9160
  * Update an agent
9167
9161
  *
9168
- * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), the structured-output schema (output_schema), or the naturali-side status. At least one field is required.
9162
+ * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), or the structured-output schema (output_schema). At least one field is required.
9169
9163
  *
9170
9164
  */
9171
9165
  static updateAgent<ThrowOnError extends boolean = false>(options: Options<UpdateAgentData, ThrowOnError>): RequestResult<UpdateAgentResponses, UpdateAgentErrors, ThrowOnError>;
@@ -9651,7 +9645,7 @@ declare class Providers {
9651
9645
  /**
9652
9646
  * Update a provider
9653
9647
  *
9654
- * Change the model, name or base URL, rotate the credentials (api_key), or set the naturali-side status. At least one field is required.
9648
+ * Change the model, name or base URL, or rotate the credentials (api_key). At least one field is required.
9655
9649
  *
9656
9650
  */
9657
9651
  static updateProvider<ThrowOnError extends boolean = false>(options: Options<UpdateProviderData, ThrowOnError>): RequestResult<UpdateProviderResponses, UpdateProviderErrors, ThrowOnError>;
@@ -9780,7 +9774,7 @@ declare class Tools {
9780
9774
  /**
9781
9775
  * Update a tool
9782
9776
  *
9783
- * Change the name, description, parameters, type-specific config (incl. rotating auth headers), or the naturali-side status. The tool `type` is immutable. At least one field is required.
9777
+ * Change the name, description, parameters, or type-specific config (incl. rotating auth headers). The tool `type` is immutable. At least one field is required.
9784
9778
  *
9785
9779
  */
9786
9780
  static updateTool<ThrowOnError extends boolean = false>(options: Options<UpdateToolData, ThrowOnError>): RequestResult<UpdateToolResponses, UpdateToolErrors, ThrowOnError>;
package/dist/index.d.mts CHANGED
@@ -512,7 +512,6 @@ type Agent = {
512
512
  *
513
513
  */
514
514
  trace_content_mode: 'full' | 'none' | null;
515
- status: 'active' | 'disabled';
516
515
  created_at: Date;
517
516
  updated_at: Date;
518
517
  };
@@ -594,7 +593,6 @@ type AgentUpdate = {
594
593
  *
595
594
  */
596
595
  trace_content_mode?: 'full' | 'none' | null;
597
- status?: 'active' | 'disabled';
598
596
  };
599
597
  type AgentList = {
600
598
  data: Array<Agent>;
@@ -2357,13 +2355,12 @@ type Provider = {
2357
2355
  provider: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
2358
2356
  default_model: string;
2359
2357
  kind: 'managed' | 'byok';
2360
- status: 'active' | 'disabled';
2361
2358
  /**
2362
2359
  * Whether credentials are on file (their value is never returned).
2363
2360
  */
2364
2361
  has_secret: boolean;
2365
2362
  /**
2366
- * Custom base URL, when set. Returned on detail (get) responses.
2363
+ * Custom base URL, when set.
2367
2364
  */
2368
2365
  base_url?: string | null;
2369
2366
  created_at: Date;
@@ -2414,7 +2411,6 @@ type ProviderUpdate = {
2414
2411
  * Rotate the stored credentials in place.
2415
2412
  */
2416
2413
  api_key?: string;
2417
- status?: 'active' | 'disabled';
2418
2414
  };
2419
2415
  type ProviderList = {
2420
2416
  data: Array<Provider>;
@@ -2897,7 +2893,6 @@ type Tool = {
2897
2893
  * Whether auth headers are on file (their values are never returned).
2898
2894
  */
2899
2895
  has_headers: boolean;
2900
- status: 'active' | 'disabled';
2901
2896
  created_at: Date;
2902
2897
  updated_at: Date;
2903
2898
  };
@@ -2968,7 +2963,6 @@ type ToolUpdate = {
2968
2963
  * Replace the allowlist of `tool_context` keys forwarded to this tool. `null` clears it (every key is forwarded again) — unlike omitting the field, which leaves the current allowlist alone.
2969
2964
  */
2970
2965
  context_keys?: Array<string> | null;
2971
- status?: 'active' | 'disabled';
2972
2966
  };
2973
2967
  type ToolList = {
2974
2968
  data: Array<Tool>;
@@ -7222,7 +7216,7 @@ type GetProviderErrors = {
7222
7216
  type GetProviderError = GetProviderErrors[keyof GetProviderErrors];
7223
7217
  type GetProviderResponses = {
7224
7218
  /**
7225
- * Provider details (includes base_url).
7219
+ * Provider details.
7226
7220
  */
7227
7221
  200: Provider;
7228
7222
  };
@@ -9165,7 +9159,7 @@ declare class Agents {
9165
9159
  /**
9166
9160
  * Update an agent
9167
9161
  *
9168
- * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), the structured-output schema (output_schema), or the naturali-side status. At least one field is required.
9162
+ * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), or the structured-output schema (output_schema). At least one field is required.
9169
9163
  *
9170
9164
  */
9171
9165
  static updateAgent<ThrowOnError extends boolean = false>(options: Options<UpdateAgentData, ThrowOnError>): RequestResult<UpdateAgentResponses, UpdateAgentErrors, ThrowOnError>;
@@ -9651,7 +9645,7 @@ declare class Providers {
9651
9645
  /**
9652
9646
  * Update a provider
9653
9647
  *
9654
- * Change the model, name or base URL, rotate the credentials (api_key), or set the naturali-side status. At least one field is required.
9648
+ * Change the model, name or base URL, or rotate the credentials (api_key). At least one field is required.
9655
9649
  *
9656
9650
  */
9657
9651
  static updateProvider<ThrowOnError extends boolean = false>(options: Options<UpdateProviderData, ThrowOnError>): RequestResult<UpdateProviderResponses, UpdateProviderErrors, ThrowOnError>;
@@ -9780,7 +9774,7 @@ declare class Tools {
9780
9774
  /**
9781
9775
  * Update a tool
9782
9776
  *
9783
- * Change the name, description, parameters, type-specific config (incl. rotating auth headers), or the naturali-side status. The tool `type` is immutable. At least one field is required.
9777
+ * Change the name, description, parameters, or type-specific config (incl. rotating auth headers). The tool `type` is immutable. At least one field is required.
9784
9778
  *
9785
9779
  */
9786
9780
  static updateTool<ThrowOnError extends boolean = false>(options: Options<UpdateToolData, ThrowOnError>): RequestResult<UpdateToolResponses, UpdateToolErrors, ThrowOnError>;
package/dist/index.mjs CHANGED
@@ -992,7 +992,7 @@ var Agents = class {
992
992
  /**
993
993
  * Update an agent
994
994
  *
995
- * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), the structured-output schema (output_schema), or the naturali-side status. At least one field is required.
995
+ * Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), or the structured-output schema (output_schema). At least one field is required.
996
996
  *
997
997
  */
998
998
  static updateAgent(options) {
@@ -1908,7 +1908,7 @@ var Providers = class {
1908
1908
  /**
1909
1909
  * Update a provider
1910
1910
  *
1911
- * Change the model, name or base URL, rotate the credentials (api_key), or set the naturali-side status. At least one field is required.
1911
+ * Change the model, name or base URL, or rotate the credentials (api_key). At least one field is required.
1912
1912
  *
1913
1913
  */
1914
1914
  static updateProvider(options) {
@@ -2154,7 +2154,7 @@ var Tools = class {
2154
2154
  /**
2155
2155
  * Update a tool
2156
2156
  *
2157
- * Change the name, description, parameters, type-specific config (incl. rotating auth headers), or the naturali-side status. The tool `type` is immutable. At least one field is required.
2157
+ * Change the name, description, parameters, or type-specific config (incl. rotating auth headers). The tool `type` is immutable. At least one field is required.
2158
2158
  *
2159
2159
  */
2160
2160
  static updateTool(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "tsx": "^4.23.1",
38
38
  "typescript": "~6.0.3",
39
39
  "vitest": "^4.1.10",
40
- "@naturali/api": "0.63.0"
40
+ "@naturali/api": "0.64.0"
41
41
  },
42
42
  "scripts": {
43
43
  "generate": "tsx scripts/generate.ts",