@crestal/nation-sdk 0.8.57 → 0.8.58

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.8.57
1
+ ## @crestal/nation-sdk@0.8.58
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @crestal/nation-sdk@0.8.57 --save
39
+ npm install @crestal/nation-sdk@0.8.58 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.8.57
7
+ * The version of the OpenAPI document: 0.8.58
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1573,11 +1573,13 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
1573
1573
  /**
1574
1574
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1575
1575
  * @summary Create Agent
1576
- * @param {AgentUpdate} [agentUpdate]
1576
+ * @param {AgentUpdate} agentUpdate
1577
1577
  * @param {*} [options] Override http request option.
1578
1578
  * @throws {RequiredError}
1579
1579
  */
1580
- createAgent: async (agentUpdate?: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1580
+ createAgent: async (agentUpdate: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1581
+ // verify required parameter 'agentUpdate' is not null or undefined
1582
+ assertParamExists('createAgent', 'agentUpdate', agentUpdate)
1581
1583
  const localVarPath = `/agents`;
1582
1584
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1583
1585
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1993,13 +1995,15 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
1993
1995
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1994
1996
  * @summary Override Agent
1995
1997
  * @param {string} agentId ID of the agent to update
1996
- * @param {AgentUpdate} [agentUpdate]
1998
+ * @param {AgentUpdate} agentUpdate
1997
1999
  * @param {*} [options] Override http request option.
1998
2000
  * @throws {RequiredError}
1999
2001
  */
2000
- overrideAgent: async (agentId: string, agentUpdate?: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2002
+ overrideAgent: async (agentId: string, agentUpdate: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2001
2003
  // verify required parameter 'agentId' is not null or undefined
2002
2004
  assertParamExists('overrideAgent', 'agentId', agentId)
2005
+ // verify required parameter 'agentUpdate' is not null or undefined
2006
+ assertParamExists('overrideAgent', 'agentUpdate', agentUpdate)
2003
2007
  const localVarPath = `/agents/{agent_id}`
2004
2008
  .replace(`{${"agent_id"}}`, encodeURIComponent(String(agentId)));
2005
2009
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2035,13 +2039,15 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
2035
2039
  * Override agent public information with the provided values.
2036
2040
  * @summary Override Agent Public Information
2037
2041
  * @param {string} agentId ID of the agent to update
2038
- * @param {AgentPublicInfo} [agentPublicInfo]
2042
+ * @param {AgentPublicInfo} agentPublicInfo
2039
2043
  * @param {*} [options] Override http request option.
2040
2044
  * @throws {RequiredError}
2041
2045
  */
2042
- overrideAgentPublicInfo: async (agentId: string, agentPublicInfo?: AgentPublicInfo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2046
+ overrideAgentPublicInfo: async (agentId: string, agentPublicInfo: AgentPublicInfo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2043
2047
  // verify required parameter 'agentId' is not null or undefined
2044
2048
  assertParamExists('overrideAgentPublicInfo', 'agentId', agentId)
2049
+ // verify required parameter 'agentPublicInfo' is not null or undefined
2050
+ assertParamExists('overrideAgentPublicInfo', 'agentPublicInfo', agentPublicInfo)
2045
2051
  const localVarPath = `/agents/{agent_id}/public-info`
2046
2052
  .replace(`{${"agent_id"}}`, encodeURIComponent(String(agentId)));
2047
2053
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2190,11 +2196,13 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
2190
2196
  /**
2191
2197
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2192
2198
  * @summary Validate Agent Create
2193
- * @param {AgentUpdate} [agentUpdate]
2199
+ * @param {AgentUpdate} agentUpdate
2194
2200
  * @param {*} [options] Override http request option.
2195
2201
  * @throws {RequiredError}
2196
2202
  */
2197
- validateAgentCreate: async (agentUpdate?: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2203
+ validateAgentCreate: async (agentUpdate: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2204
+ // verify required parameter 'agentUpdate' is not null or undefined
2205
+ assertParamExists('validateAgentCreate', 'agentUpdate', agentUpdate)
2198
2206
  const localVarPath = `/agent/validate`;
2199
2207
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2200
2208
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2229,13 +2237,15 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
2229
2237
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2230
2238
  * @summary Validate Agent Update
2231
2239
  * @param {string} agentId Agent ID
2232
- * @param {AgentUpdate} [agentUpdate]
2240
+ * @param {AgentUpdate} agentUpdate
2233
2241
  * @param {*} [options] Override http request option.
2234
2242
  * @throws {RequiredError}
2235
2243
  */
2236
- validateAgentUpdate: async (agentId: string, agentUpdate?: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2244
+ validateAgentUpdate: async (agentId: string, agentUpdate: AgentUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2237
2245
  // verify required parameter 'agentId' is not null or undefined
2238
2246
  assertParamExists('validateAgentUpdate', 'agentId', agentId)
2247
+ // verify required parameter 'agentUpdate' is not null or undefined
2248
+ assertParamExists('validateAgentUpdate', 'agentUpdate', agentUpdate)
2239
2249
  const localVarPath = `/agents/{agent_id}/validate`
2240
2250
  .replace(`{${"agent_id"}}`, encodeURIComponent(String(agentId)));
2241
2251
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2279,11 +2289,11 @@ export const AgentApiFp = function(configuration?: Configuration) {
2279
2289
  /**
2280
2290
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2281
2291
  * @summary Create Agent
2282
- * @param {AgentUpdate} [agentUpdate]
2292
+ * @param {AgentUpdate} agentUpdate
2283
2293
  * @param {*} [options] Override http request option.
2284
2294
  * @throws {RequiredError}
2285
2295
  */
2286
- async createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>> {
2296
+ async createAgent(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>> {
2287
2297
  const localVarAxiosArgs = await localVarAxiosParamCreator.createAgent(agentUpdate, options);
2288
2298
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2289
2299
  const localVarOperationServerBasePath = operationServerMap['AgentApi.createAgent']?.[localVarOperationServerIndex]?.url;
@@ -2418,11 +2428,11 @@ export const AgentApiFp = function(configuration?: Configuration) {
2418
2428
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2419
2429
  * @summary Override Agent
2420
2430
  * @param {string} agentId ID of the agent to update
2421
- * @param {AgentUpdate} [agentUpdate]
2431
+ * @param {AgentUpdate} agentUpdate
2422
2432
  * @param {*} [options] Override http request option.
2423
2433
  * @throws {RequiredError}
2424
2434
  */
2425
- async overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>> {
2435
+ async overrideAgent(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>> {
2426
2436
  const localVarAxiosArgs = await localVarAxiosParamCreator.overrideAgent(agentId, agentUpdate, options);
2427
2437
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2428
2438
  const localVarOperationServerBasePath = operationServerMap['AgentApi.overrideAgent']?.[localVarOperationServerIndex]?.url;
@@ -2432,11 +2442,11 @@ export const AgentApiFp = function(configuration?: Configuration) {
2432
2442
  * Override agent public information with the provided values.
2433
2443
  * @summary Override Agent Public Information
2434
2444
  * @param {string} agentId ID of the agent to update
2435
- * @param {AgentPublicInfo} [agentPublicInfo]
2445
+ * @param {AgentPublicInfo} agentPublicInfo
2436
2446
  * @param {*} [options] Override http request option.
2437
2447
  * @throws {RequiredError}
2438
2448
  */
2439
- async overrideAgentPublicInfo(agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Agent>> {
2449
+ async overrideAgentPublicInfo(agentId: string, agentPublicInfo: AgentPublicInfo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Agent>> {
2440
2450
  const localVarAxiosArgs = await localVarAxiosParamCreator.overrideAgentPublicInfo(agentId, agentPublicInfo, options);
2441
2451
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2442
2452
  const localVarOperationServerBasePath = operationServerMap['AgentApi.overrideAgentPublicInfo']?.[localVarOperationServerIndex]?.url;
@@ -2484,11 +2494,11 @@ export const AgentApiFp = function(configuration?: Configuration) {
2484
2494
  /**
2485
2495
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2486
2496
  * @summary Validate Agent Create
2487
- * @param {AgentUpdate} [agentUpdate]
2497
+ * @param {AgentUpdate} agentUpdate
2488
2498
  * @param {*} [options] Override http request option.
2489
2499
  * @throws {RequiredError}
2490
2500
  */
2491
- async validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2501
+ async validateAgentCreate(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2492
2502
  const localVarAxiosArgs = await localVarAxiosParamCreator.validateAgentCreate(agentUpdate, options);
2493
2503
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2494
2504
  const localVarOperationServerBasePath = operationServerMap['AgentApi.validateAgentCreate']?.[localVarOperationServerIndex]?.url;
@@ -2498,11 +2508,11 @@ export const AgentApiFp = function(configuration?: Configuration) {
2498
2508
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2499
2509
  * @summary Validate Agent Update
2500
2510
  * @param {string} agentId Agent ID
2501
- * @param {AgentUpdate} [agentUpdate]
2511
+ * @param {AgentUpdate} agentUpdate
2502
2512
  * @param {*} [options] Override http request option.
2503
2513
  * @throws {RequiredError}
2504
2514
  */
2505
- async validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2515
+ async validateAgentUpdate(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2506
2516
  const localVarAxiosArgs = await localVarAxiosParamCreator.validateAgentUpdate(agentId, agentUpdate, options);
2507
2517
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2508
2518
  const localVarOperationServerBasePath = operationServerMap['AgentApi.validateAgentUpdate']?.[localVarOperationServerIndex]?.url;
@@ -2520,11 +2530,11 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
2520
2530
  /**
2521
2531
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2522
2532
  * @summary Create Agent
2523
- * @param {AgentUpdate} [agentUpdate]
2533
+ * @param {AgentUpdate} agentUpdate
2524
2534
  * @param {*} [options] Override http request option.
2525
2535
  * @throws {RequiredError}
2526
2536
  */
2527
- createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse> {
2537
+ createAgent(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse> {
2528
2538
  return localVarFp.createAgent(agentUpdate, options).then((request) => request(axios, basePath));
2529
2539
  },
2530
2540
  /**
@@ -2629,22 +2639,22 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
2629
2639
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2630
2640
  * @summary Override Agent
2631
2641
  * @param {string} agentId ID of the agent to update
2632
- * @param {AgentUpdate} [agentUpdate]
2642
+ * @param {AgentUpdate} agentUpdate
2633
2643
  * @param {*} [options] Override http request option.
2634
2644
  * @throws {RequiredError}
2635
2645
  */
2636
- overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse> {
2646
+ overrideAgent(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse> {
2637
2647
  return localVarFp.overrideAgent(agentId, agentUpdate, options).then((request) => request(axios, basePath));
2638
2648
  },
2639
2649
  /**
2640
2650
  * Override agent public information with the provided values.
2641
2651
  * @summary Override Agent Public Information
2642
2652
  * @param {string} agentId ID of the agent to update
2643
- * @param {AgentPublicInfo} [agentPublicInfo]
2653
+ * @param {AgentPublicInfo} agentPublicInfo
2644
2654
  * @param {*} [options] Override http request option.
2645
2655
  * @throws {RequiredError}
2646
2656
  */
2647
- overrideAgentPublicInfo(agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig): AxiosPromise<Agent> {
2657
+ overrideAgentPublicInfo(agentId: string, agentPublicInfo: AgentPublicInfo, options?: RawAxiosRequestConfig): AxiosPromise<Agent> {
2648
2658
  return localVarFp.overrideAgentPublicInfo(agentId, agentPublicInfo, options).then((request) => request(axios, basePath));
2649
2659
  },
2650
2660
  /**
@@ -2680,22 +2690,22 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
2680
2690
  /**
2681
2691
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2682
2692
  * @summary Validate Agent Create
2683
- * @param {AgentUpdate} [agentUpdate]
2693
+ * @param {AgentUpdate} agentUpdate
2684
2694
  * @param {*} [options] Override http request option.
2685
2695
  * @throws {RequiredError}
2686
2696
  */
2687
- validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2697
+ validateAgentCreate(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2688
2698
  return localVarFp.validateAgentCreate(agentUpdate, options).then((request) => request(axios, basePath));
2689
2699
  },
2690
2700
  /**
2691
2701
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2692
2702
  * @summary Validate Agent Update
2693
2703
  * @param {string} agentId Agent ID
2694
- * @param {AgentUpdate} [agentUpdate]
2704
+ * @param {AgentUpdate} agentUpdate
2695
2705
  * @param {*} [options] Override http request option.
2696
2706
  * @throws {RequiredError}
2697
2707
  */
2698
- validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2708
+ validateAgentUpdate(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2699
2709
  return localVarFp.validateAgentUpdate(agentId, agentUpdate, options).then((request) => request(axios, basePath));
2700
2710
  },
2701
2711
  };
@@ -2708,11 +2718,11 @@ export class AgentApi extends BaseAPI {
2708
2718
  /**
2709
2719
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2710
2720
  * @summary Create Agent
2711
- * @param {AgentUpdate} [agentUpdate]
2721
+ * @param {AgentUpdate} agentUpdate
2712
2722
  * @param {*} [options] Override http request option.
2713
2723
  * @throws {RequiredError}
2714
2724
  */
2715
- public createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2725
+ public createAgent(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) {
2716
2726
  return AgentApiFp(this.configuration).createAgent(agentUpdate, options).then((request) => request(this.axios, this.basePath));
2717
2727
  }
2718
2728
 
@@ -2827,11 +2837,11 @@ export class AgentApi extends BaseAPI {
2827
2837
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2828
2838
  * @summary Override Agent
2829
2839
  * @param {string} agentId ID of the agent to update
2830
- * @param {AgentUpdate} [agentUpdate]
2840
+ * @param {AgentUpdate} agentUpdate
2831
2841
  * @param {*} [options] Override http request option.
2832
2842
  * @throws {RequiredError}
2833
2843
  */
2834
- public overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2844
+ public overrideAgent(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) {
2835
2845
  return AgentApiFp(this.configuration).overrideAgent(agentId, agentUpdate, options).then((request) => request(this.axios, this.basePath));
2836
2846
  }
2837
2847
 
@@ -2839,11 +2849,11 @@ export class AgentApi extends BaseAPI {
2839
2849
  * Override agent public information with the provided values.
2840
2850
  * @summary Override Agent Public Information
2841
2851
  * @param {string} agentId ID of the agent to update
2842
- * @param {AgentPublicInfo} [agentPublicInfo]
2852
+ * @param {AgentPublicInfo} agentPublicInfo
2843
2853
  * @param {*} [options] Override http request option.
2844
2854
  * @throws {RequiredError}
2845
2855
  */
2846
- public overrideAgentPublicInfo(agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig) {
2856
+ public overrideAgentPublicInfo(agentId: string, agentPublicInfo: AgentPublicInfo, options?: RawAxiosRequestConfig) {
2847
2857
  return AgentApiFp(this.configuration).overrideAgentPublicInfo(agentId, agentPublicInfo, options).then((request) => request(this.axios, this.basePath));
2848
2858
  }
2849
2859
 
@@ -2883,11 +2893,11 @@ export class AgentApi extends BaseAPI {
2883
2893
  /**
2884
2894
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2885
2895
  * @summary Validate Agent Create
2886
- * @param {AgentUpdate} [agentUpdate]
2896
+ * @param {AgentUpdate} agentUpdate
2887
2897
  * @param {*} [options] Override http request option.
2888
2898
  * @throws {RequiredError}
2889
2899
  */
2890
- public validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2900
+ public validateAgentCreate(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) {
2891
2901
  return AgentApiFp(this.configuration).validateAgentCreate(agentUpdate, options).then((request) => request(this.axios, this.basePath));
2892
2902
  }
2893
2903
 
@@ -2895,11 +2905,11 @@ export class AgentApi extends BaseAPI {
2895
2905
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2896
2906
  * @summary Validate Agent Update
2897
2907
  * @param {string} agentId Agent ID
2898
- * @param {AgentUpdate} [agentUpdate]
2908
+ * @param {AgentUpdate} agentUpdate
2899
2909
  * @param {*} [options] Override http request option.
2900
2910
  * @throws {RequiredError}
2901
2911
  */
2902
- public validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2912
+ public validateAgentUpdate(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) {
2903
2913
  return AgentApiFp(this.configuration).validateAgentUpdate(agentId, agentUpdate, options).then((request) => request(this.axios, this.basePath));
2904
2914
  }
2905
2915
  }
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.8.57
7
+ * The version of the OpenAPI document: 0.8.58
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.8.57
7
+ * The version of the OpenAPI document: 0.8.58
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Nation IntentKit API
4
4
  * API for Nation IntentKit services
5
5
  *
6
- * The version of the OpenAPI document: 0.8.57
6
+ * The version of the OpenAPI document: 0.8.58
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.8.57
5
+ * The version of the OpenAPI document: 0.8.58
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1528,11 +1528,11 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
1528
1528
  /**
1529
1529
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1530
1530
  * @summary Create Agent
1531
- * @param {AgentUpdate} [agentUpdate]
1531
+ * @param {AgentUpdate} agentUpdate
1532
1532
  * @param {*} [options] Override http request option.
1533
1533
  * @throws {RequiredError}
1534
1534
  */
1535
- createAgent: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1535
+ createAgent: (agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1536
1536
  /**
1537
1537
  * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
1538
1538
  * @summary Export Agent
@@ -1617,20 +1617,20 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
1617
1617
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1618
1618
  * @summary Override Agent
1619
1619
  * @param {string} agentId ID of the agent to update
1620
- * @param {AgentUpdate} [agentUpdate]
1620
+ * @param {AgentUpdate} agentUpdate
1621
1621
  * @param {*} [options] Override http request option.
1622
1622
  * @throws {RequiredError}
1623
1623
  */
1624
- overrideAgent: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1624
+ overrideAgent: (agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1625
1625
  /**
1626
1626
  * Override agent public information with the provided values.
1627
1627
  * @summary Override Agent Public Information
1628
1628
  * @param {string} agentId ID of the agent to update
1629
- * @param {AgentPublicInfo} [agentPublicInfo]
1629
+ * @param {AgentPublicInfo} agentPublicInfo
1630
1630
  * @param {*} [options] Override http request option.
1631
1631
  * @throws {RequiredError}
1632
1632
  */
1633
- overrideAgentPublicInfo: (agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1633
+ overrideAgentPublicInfo: (agentId: string, agentPublicInfo: AgentPublicInfo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1634
1634
  /**
1635
1635
  * Publish an agent if its public information passes strict validation.
1636
1636
  * @summary Publish Agent
@@ -1658,20 +1658,20 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
1658
1658
  /**
1659
1659
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
1660
1660
  * @summary Validate Agent Create
1661
- * @param {AgentUpdate} [agentUpdate]
1661
+ * @param {AgentUpdate} agentUpdate
1662
1662
  * @param {*} [options] Override http request option.
1663
1663
  * @throws {RequiredError}
1664
1664
  */
1665
- validateAgentCreate: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1665
+ validateAgentCreate: (agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1666
1666
  /**
1667
1667
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
1668
1668
  * @summary Validate Agent Update
1669
1669
  * @param {string} agentId Agent ID
1670
- * @param {AgentUpdate} [agentUpdate]
1670
+ * @param {AgentUpdate} agentUpdate
1671
1671
  * @param {*} [options] Override http request option.
1672
1672
  * @throws {RequiredError}
1673
1673
  */
1674
- validateAgentUpdate: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1674
+ validateAgentUpdate: (agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1675
1675
  };
1676
1676
  /**
1677
1677
  * AgentApi - functional programming interface
@@ -1680,11 +1680,11 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
1680
1680
  /**
1681
1681
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1682
1682
  * @summary Create Agent
1683
- * @param {AgentUpdate} [agentUpdate]
1683
+ * @param {AgentUpdate} agentUpdate
1684
1684
  * @param {*} [options] Override http request option.
1685
1685
  * @throws {RequiredError}
1686
1686
  */
1687
- createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
1687
+ createAgent(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
1688
1688
  /**
1689
1689
  * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
1690
1690
  * @summary Export Agent
@@ -1769,20 +1769,20 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
1769
1769
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1770
1770
  * @summary Override Agent
1771
1771
  * @param {string} agentId ID of the agent to update
1772
- * @param {AgentUpdate} [agentUpdate]
1772
+ * @param {AgentUpdate} agentUpdate
1773
1773
  * @param {*} [options] Override http request option.
1774
1774
  * @throws {RequiredError}
1775
1775
  */
1776
- overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
1776
+ overrideAgent(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
1777
1777
  /**
1778
1778
  * Override agent public information with the provided values.
1779
1779
  * @summary Override Agent Public Information
1780
1780
  * @param {string} agentId ID of the agent to update
1781
- * @param {AgentPublicInfo} [agentPublicInfo]
1781
+ * @param {AgentPublicInfo} agentPublicInfo
1782
1782
  * @param {*} [options] Override http request option.
1783
1783
  * @throws {RequiredError}
1784
1784
  */
1785
- overrideAgentPublicInfo(agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Agent>>;
1785
+ overrideAgentPublicInfo(agentId: string, agentPublicInfo: AgentPublicInfo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Agent>>;
1786
1786
  /**
1787
1787
  * Publish an agent if its public information passes strict validation.
1788
1788
  * @summary Publish Agent
@@ -1810,20 +1810,20 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
1810
1810
  /**
1811
1811
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
1812
1812
  * @summary Validate Agent Create
1813
- * @param {AgentUpdate} [agentUpdate]
1813
+ * @param {AgentUpdate} agentUpdate
1814
1814
  * @param {*} [options] Override http request option.
1815
1815
  * @throws {RequiredError}
1816
1816
  */
1817
- validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1817
+ validateAgentCreate(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1818
1818
  /**
1819
1819
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
1820
1820
  * @summary Validate Agent Update
1821
1821
  * @param {string} agentId Agent ID
1822
- * @param {AgentUpdate} [agentUpdate]
1822
+ * @param {AgentUpdate} agentUpdate
1823
1823
  * @param {*} [options] Override http request option.
1824
1824
  * @throws {RequiredError}
1825
1825
  */
1826
- validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1826
+ validateAgentUpdate(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1827
1827
  };
1828
1828
  /**
1829
1829
  * AgentApi - factory interface
@@ -1832,11 +1832,11 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
1832
1832
  /**
1833
1833
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1834
1834
  * @summary Create Agent
1835
- * @param {AgentUpdate} [agentUpdate]
1835
+ * @param {AgentUpdate} agentUpdate
1836
1836
  * @param {*} [options] Override http request option.
1837
1837
  * @throws {RequiredError}
1838
1838
  */
1839
- createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
1839
+ createAgent(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
1840
1840
  /**
1841
1841
  * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
1842
1842
  * @summary Export Agent
@@ -1921,20 +1921,20 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
1921
1921
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1922
1922
  * @summary Override Agent
1923
1923
  * @param {string} agentId ID of the agent to update
1924
- * @param {AgentUpdate} [agentUpdate]
1924
+ * @param {AgentUpdate} agentUpdate
1925
1925
  * @param {*} [options] Override http request option.
1926
1926
  * @throws {RequiredError}
1927
1927
  */
1928
- overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
1928
+ overrideAgent(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
1929
1929
  /**
1930
1930
  * Override agent public information with the provided values.
1931
1931
  * @summary Override Agent Public Information
1932
1932
  * @param {string} agentId ID of the agent to update
1933
- * @param {AgentPublicInfo} [agentPublicInfo]
1933
+ * @param {AgentPublicInfo} agentPublicInfo
1934
1934
  * @param {*} [options] Override http request option.
1935
1935
  * @throws {RequiredError}
1936
1936
  */
1937
- overrideAgentPublicInfo(agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig): AxiosPromise<Agent>;
1937
+ overrideAgentPublicInfo(agentId: string, agentPublicInfo: AgentPublicInfo, options?: RawAxiosRequestConfig): AxiosPromise<Agent>;
1938
1938
  /**
1939
1939
  * Publish an agent if its public information passes strict validation.
1940
1940
  * @summary Publish Agent
@@ -1962,20 +1962,20 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
1962
1962
  /**
1963
1963
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
1964
1964
  * @summary Validate Agent Create
1965
- * @param {AgentUpdate} [agentUpdate]
1965
+ * @param {AgentUpdate} agentUpdate
1966
1966
  * @param {*} [options] Override http request option.
1967
1967
  * @throws {RequiredError}
1968
1968
  */
1969
- validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1969
+ validateAgentCreate(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1970
1970
  /**
1971
1971
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
1972
1972
  * @summary Validate Agent Update
1973
1973
  * @param {string} agentId Agent ID
1974
- * @param {AgentUpdate} [agentUpdate]
1974
+ * @param {AgentUpdate} agentUpdate
1975
1975
  * @param {*} [options] Override http request option.
1976
1976
  * @throws {RequiredError}
1977
1977
  */
1978
- validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1978
+ validateAgentUpdate(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1979
1979
  };
1980
1980
  /**
1981
1981
  * AgentApi - object-oriented interface
@@ -1984,11 +1984,11 @@ export declare class AgentApi extends BaseAPI {
1984
1984
  /**
1985
1985
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1986
1986
  * @summary Create Agent
1987
- * @param {AgentUpdate} [agentUpdate]
1987
+ * @param {AgentUpdate} agentUpdate
1988
1988
  * @param {*} [options] Override http request option.
1989
1989
  * @throws {RequiredError}
1990
1990
  */
1991
- createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
1991
+ createAgent(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
1992
1992
  /**
1993
1993
  * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
1994
1994
  * @summary Export Agent
@@ -2073,20 +2073,20 @@ export declare class AgentApi extends BaseAPI {
2073
2073
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2074
2074
  * @summary Override Agent
2075
2075
  * @param {string} agentId ID of the agent to update
2076
- * @param {AgentUpdate} [agentUpdate]
2076
+ * @param {AgentUpdate} agentUpdate
2077
2077
  * @param {*} [options] Override http request option.
2078
2078
  * @throws {RequiredError}
2079
2079
  */
2080
- overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
2080
+ overrideAgent(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
2081
2081
  /**
2082
2082
  * Override agent public information with the provided values.
2083
2083
  * @summary Override Agent Public Information
2084
2084
  * @param {string} agentId ID of the agent to update
2085
- * @param {AgentPublicInfo} [agentPublicInfo]
2085
+ * @param {AgentPublicInfo} agentPublicInfo
2086
2086
  * @param {*} [options] Override http request option.
2087
2087
  * @throws {RequiredError}
2088
2088
  */
2089
- overrideAgentPublicInfo(agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
2089
+ overrideAgentPublicInfo(agentId: string, agentPublicInfo: AgentPublicInfo, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
2090
2090
  /**
2091
2091
  * Publish an agent if its public information passes strict validation.
2092
2092
  * @summary Publish Agent
@@ -2114,20 +2114,20 @@ export declare class AgentApi extends BaseAPI {
2114
2114
  /**
2115
2115
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2116
2116
  * @summary Validate Agent Create
2117
- * @param {AgentUpdate} [agentUpdate]
2117
+ * @param {AgentUpdate} agentUpdate
2118
2118
  * @param {*} [options] Override http request option.
2119
2119
  * @throws {RequiredError}
2120
2120
  */
2121
- validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2121
+ validateAgentCreate(agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2122
2122
  /**
2123
2123
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2124
2124
  * @summary Validate Agent Update
2125
2125
  * @param {string} agentId Agent ID
2126
- * @param {AgentUpdate} [agentUpdate]
2126
+ * @param {AgentUpdate} agentUpdate
2127
2127
  * @param {*} [options] Override http request option.
2128
2128
  * @throws {RequiredError}
2129
2129
  */
2130
- validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2130
+ validateAgentUpdate(agentId: string, agentUpdate: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2131
2131
  }
2132
2132
  /**
2133
2133
  * ChatApi - axios parameter creator
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.8.57
8
+ * The version of the OpenAPI document: 0.8.58
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -330,7 +330,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
330
330
  /**
331
331
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
332
332
  * @summary Create Agent
333
- * @param {AgentUpdate} [agentUpdate]
333
+ * @param {AgentUpdate} agentUpdate
334
334
  * @param {*} [options] Override http request option.
335
335
  * @throws {RequiredError}
336
336
  */
@@ -345,6 +345,8 @@ var AgentApiAxiosParamCreator = function (configuration) {
345
345
  return __generator(this, function (_a) {
346
346
  switch (_a.label) {
347
347
  case 0:
348
+ // verify required parameter 'agentUpdate' is not null or undefined
349
+ (0, common_1.assertParamExists)('createAgent', 'agentUpdate', agentUpdate);
348
350
  localVarPath = "/agents";
349
351
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
350
352
  if (configuration) {
@@ -817,7 +819,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
817
819
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
818
820
  * @summary Override Agent
819
821
  * @param {string} agentId ID of the agent to update
820
- * @param {AgentUpdate} [agentUpdate]
822
+ * @param {AgentUpdate} agentUpdate
821
823
  * @param {*} [options] Override http request option.
822
824
  * @throws {RequiredError}
823
825
  */
@@ -834,6 +836,8 @@ var AgentApiAxiosParamCreator = function (configuration) {
834
836
  case 0:
835
837
  // verify required parameter 'agentId' is not null or undefined
836
838
  (0, common_1.assertParamExists)('overrideAgent', 'agentId', agentId);
839
+ // verify required parameter 'agentUpdate' is not null or undefined
840
+ (0, common_1.assertParamExists)('overrideAgent', 'agentUpdate', agentUpdate);
837
841
  localVarPath = "/agents/{agent_id}"
838
842
  .replace("{".concat("agent_id", "}"), encodeURIComponent(String(agentId)));
839
843
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -867,7 +871,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
867
871
  * Override agent public information with the provided values.
868
872
  * @summary Override Agent Public Information
869
873
  * @param {string} agentId ID of the agent to update
870
- * @param {AgentPublicInfo} [agentPublicInfo]
874
+ * @param {AgentPublicInfo} agentPublicInfo
871
875
  * @param {*} [options] Override http request option.
872
876
  * @throws {RequiredError}
873
877
  */
@@ -884,6 +888,8 @@ var AgentApiAxiosParamCreator = function (configuration) {
884
888
  case 0:
885
889
  // verify required parameter 'agentId' is not null or undefined
886
890
  (0, common_1.assertParamExists)('overrideAgentPublicInfo', 'agentId', agentId);
891
+ // verify required parameter 'agentPublicInfo' is not null or undefined
892
+ (0, common_1.assertParamExists)('overrideAgentPublicInfo', 'agentPublicInfo', agentPublicInfo);
887
893
  localVarPath = "/agents/{agent_id}/public-info"
888
894
  .replace("{".concat("agent_id", "}"), encodeURIComponent(String(agentId)));
889
895
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1057,7 +1063,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
1057
1063
  /**
1058
1064
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
1059
1065
  * @summary Validate Agent Create
1060
- * @param {AgentUpdate} [agentUpdate]
1066
+ * @param {AgentUpdate} agentUpdate
1061
1067
  * @param {*} [options] Override http request option.
1062
1068
  * @throws {RequiredError}
1063
1069
  */
@@ -1072,6 +1078,8 @@ var AgentApiAxiosParamCreator = function (configuration) {
1072
1078
  return __generator(this, function (_a) {
1073
1079
  switch (_a.label) {
1074
1080
  case 0:
1081
+ // verify required parameter 'agentUpdate' is not null or undefined
1082
+ (0, common_1.assertParamExists)('validateAgentCreate', 'agentUpdate', agentUpdate);
1075
1083
  localVarPath = "/agent/validate";
1076
1084
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1077
1085
  if (configuration) {
@@ -1104,7 +1112,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
1104
1112
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
1105
1113
  * @summary Validate Agent Update
1106
1114
  * @param {string} agentId Agent ID
1107
- * @param {AgentUpdate} [agentUpdate]
1115
+ * @param {AgentUpdate} agentUpdate
1108
1116
  * @param {*} [options] Override http request option.
1109
1117
  * @throws {RequiredError}
1110
1118
  */
@@ -1121,6 +1129,8 @@ var AgentApiAxiosParamCreator = function (configuration) {
1121
1129
  case 0:
1122
1130
  // verify required parameter 'agentId' is not null or undefined
1123
1131
  (0, common_1.assertParamExists)('validateAgentUpdate', 'agentId', agentId);
1132
+ // verify required parameter 'agentUpdate' is not null or undefined
1133
+ (0, common_1.assertParamExists)('validateAgentUpdate', 'agentUpdate', agentUpdate);
1124
1134
  localVarPath = "/agents/{agent_id}/validate"
1125
1135
  .replace("{".concat("agent_id", "}"), encodeURIComponent(String(agentId)));
1126
1136
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1162,7 +1172,7 @@ var AgentApiFp = function (configuration) {
1162
1172
  /**
1163
1173
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1164
1174
  * @summary Create Agent
1165
- * @param {AgentUpdate} [agentUpdate]
1175
+ * @param {AgentUpdate} agentUpdate
1166
1176
  * @param {*} [options] Override http request option.
1167
1177
  * @throws {RequiredError}
1168
1178
  */
@@ -1401,7 +1411,7 @@ var AgentApiFp = function (configuration) {
1401
1411
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1402
1412
  * @summary Override Agent
1403
1413
  * @param {string} agentId ID of the agent to update
1404
- * @param {AgentUpdate} [agentUpdate]
1414
+ * @param {AgentUpdate} agentUpdate
1405
1415
  * @param {*} [options] Override http request option.
1406
1416
  * @throws {RequiredError}
1407
1417
  */
@@ -1425,7 +1435,7 @@ var AgentApiFp = function (configuration) {
1425
1435
  * Override agent public information with the provided values.
1426
1436
  * @summary Override Agent Public Information
1427
1437
  * @param {string} agentId ID of the agent to update
1428
- * @param {AgentPublicInfo} [agentPublicInfo]
1438
+ * @param {AgentPublicInfo} agentPublicInfo
1429
1439
  * @param {*} [options] Override http request option.
1430
1440
  * @throws {RequiredError}
1431
1441
  */
@@ -1517,7 +1527,7 @@ var AgentApiFp = function (configuration) {
1517
1527
  /**
1518
1528
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
1519
1529
  * @summary Validate Agent Create
1520
- * @param {AgentUpdate} [agentUpdate]
1530
+ * @param {AgentUpdate} agentUpdate
1521
1531
  * @param {*} [options] Override http request option.
1522
1532
  * @throws {RequiredError}
1523
1533
  */
@@ -1541,7 +1551,7 @@ var AgentApiFp = function (configuration) {
1541
1551
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
1542
1552
  * @summary Validate Agent Update
1543
1553
  * @param {string} agentId Agent ID
1544
- * @param {AgentUpdate} [agentUpdate]
1554
+ * @param {AgentUpdate} agentUpdate
1545
1555
  * @param {*} [options] Override http request option.
1546
1556
  * @throws {RequiredError}
1547
1557
  */
@@ -1573,7 +1583,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1573
1583
  /**
1574
1584
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1575
1585
  * @summary Create Agent
1576
- * @param {AgentUpdate} [agentUpdate]
1586
+ * @param {AgentUpdate} agentUpdate
1577
1587
  * @param {*} [options] Override http request option.
1578
1588
  * @throws {RequiredError}
1579
1589
  */
@@ -1682,7 +1692,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1682
1692
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1683
1693
  * @summary Override Agent
1684
1694
  * @param {string} agentId ID of the agent to update
1685
- * @param {AgentUpdate} [agentUpdate]
1695
+ * @param {AgentUpdate} agentUpdate
1686
1696
  * @param {*} [options] Override http request option.
1687
1697
  * @throws {RequiredError}
1688
1698
  */
@@ -1693,7 +1703,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1693
1703
  * Override agent public information with the provided values.
1694
1704
  * @summary Override Agent Public Information
1695
1705
  * @param {string} agentId ID of the agent to update
1696
- * @param {AgentPublicInfo} [agentPublicInfo]
1706
+ * @param {AgentPublicInfo} agentPublicInfo
1697
1707
  * @param {*} [options] Override http request option.
1698
1708
  * @throws {RequiredError}
1699
1709
  */
@@ -1733,7 +1743,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1733
1743
  /**
1734
1744
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
1735
1745
  * @summary Validate Agent Create
1736
- * @param {AgentUpdate} [agentUpdate]
1746
+ * @param {AgentUpdate} agentUpdate
1737
1747
  * @param {*} [options] Override http request option.
1738
1748
  * @throws {RequiredError}
1739
1749
  */
@@ -1744,7 +1754,7 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1744
1754
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
1745
1755
  * @summary Validate Agent Update
1746
1756
  * @param {string} agentId Agent ID
1747
- * @param {AgentUpdate} [agentUpdate]
1757
+ * @param {AgentUpdate} agentUpdate
1748
1758
  * @param {*} [options] Override http request option.
1749
1759
  * @throws {RequiredError}
1750
1760
  */
@@ -1765,7 +1775,7 @@ var AgentApi = /** @class */ (function (_super) {
1765
1775
  /**
1766
1776
  * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1767
1777
  * @summary Create Agent
1768
- * @param {AgentUpdate} [agentUpdate]
1778
+ * @param {AgentUpdate} agentUpdate
1769
1779
  * @param {*} [options] Override http request option.
1770
1780
  * @throws {RequiredError}
1771
1781
  */
@@ -1884,7 +1894,7 @@ var AgentApi = /** @class */ (function (_super) {
1884
1894
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
1885
1895
  * @summary Override Agent
1886
1896
  * @param {string} agentId ID of the agent to update
1887
- * @param {AgentUpdate} [agentUpdate]
1897
+ * @param {AgentUpdate} agentUpdate
1888
1898
  * @param {*} [options] Override http request option.
1889
1899
  * @throws {RequiredError}
1890
1900
  */
@@ -1896,7 +1906,7 @@ var AgentApi = /** @class */ (function (_super) {
1896
1906
  * Override agent public information with the provided values.
1897
1907
  * @summary Override Agent Public Information
1898
1908
  * @param {string} agentId ID of the agent to update
1899
- * @param {AgentPublicInfo} [agentPublicInfo]
1909
+ * @param {AgentPublicInfo} agentPublicInfo
1900
1910
  * @param {*} [options] Override http request option.
1901
1911
  * @throws {RequiredError}
1902
1912
  */
@@ -1940,7 +1950,7 @@ var AgentApi = /** @class */ (function (_super) {
1940
1950
  /**
1941
1951
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
1942
1952
  * @summary Validate Agent Create
1943
- * @param {AgentUpdate} [agentUpdate]
1953
+ * @param {AgentUpdate} agentUpdate
1944
1954
  * @param {*} [options] Override http request option.
1945
1955
  * @throws {RequiredError}
1946
1956
  */
@@ -1952,7 +1962,7 @@ var AgentApi = /** @class */ (function (_super) {
1952
1962
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
1953
1963
  * @summary Validate Agent Update
1954
1964
  * @param {string} agentId Agent ID
1955
- * @param {AgentUpdate} [agentUpdate]
1965
+ * @param {AgentUpdate} agentUpdate
1956
1966
  * @param {*} [options] Override http request option.
1957
1967
  * @throws {RequiredError}
1958
1968
  */
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.8.57
5
+ * The version of the OpenAPI document: 0.8.58
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.8.57
8
+ * The version of the OpenAPI document: 0.8.58
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.8.57
5
+ * The version of the OpenAPI document: 0.8.58
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.8.57
8
+ * The version of the OpenAPI document: 0.8.58
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.8.57
5
+ * The version of the OpenAPI document: 0.8.58
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.8.57
7
+ * The version of the OpenAPI document: 0.8.58
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.8.57
5
+ * The version of the OpenAPI document: 0.8.58
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.8.57
8
+ * The version of the OpenAPI document: 0.8.58
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/AgentApi.md CHANGED
@@ -23,7 +23,7 @@ All URIs are relative to *http://localhost*
23
23
  |[**validateAgentUpdate**](#validateagentupdate) | **POST** /agents/{agent_id}/validate | Validate Agent Update|
24
24
 
25
25
  # **createAgent**
26
- > AgentResponse createAgent()
26
+ > AgentResponse createAgent(agentUpdate)
27
27
 
28
28
  Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Agent limit reached, invalid agent ID format, or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
29
29
 
@@ -39,7 +39,7 @@ import {
39
39
  const configuration = new Configuration();
40
40
  const apiInstance = new AgentApi(configuration);
41
41
 
42
- let agentUpdate: AgentUpdate; // (optional)
42
+ let agentUpdate: AgentUpdate; //
43
43
 
44
44
  const { status, data } = await apiInstance.createAgent(
45
45
  agentUpdate
@@ -574,7 +574,7 @@ const { status, data } = await apiInstance.importAgent(
574
574
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
575
575
 
576
576
  # **overrideAgent**
577
- > AgentResponse overrideAgent()
577
+ > AgentResponse overrideAgent(agentUpdate)
578
578
 
579
579
  Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `data` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
580
580
 
@@ -591,7 +591,7 @@ const configuration = new Configuration();
591
591
  const apiInstance = new AgentApi(configuration);
592
592
 
593
593
  let agentId: string; //ID of the agent to update (default to undefined)
594
- let agentUpdate: AgentUpdate; // (optional)
594
+ let agentUpdate: AgentUpdate; //
595
595
 
596
596
  const { status, data } = await apiInstance.overrideAgent(
597
597
  agentId,
@@ -630,7 +630,7 @@ const { status, data } = await apiInstance.overrideAgent(
630
630
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
631
631
 
632
632
  # **overrideAgentPublicInfo**
633
- > Agent overrideAgentPublicInfo()
633
+ > Agent overrideAgentPublicInfo(agentPublicInfo)
634
634
 
635
635
  Override agent public information with the provided values.
636
636
 
@@ -647,7 +647,7 @@ const configuration = new Configuration();
647
647
  const apiInstance = new AgentApi(configuration);
648
648
 
649
649
  let agentId: string; //ID of the agent to update (default to undefined)
650
- let agentPublicInfo: AgentPublicInfo; // (optional)
650
+ let agentPublicInfo: AgentPublicInfo; //
651
651
 
652
652
  const { status, data } = await apiInstance.overrideAgentPublicInfo(
653
653
  agentId,
@@ -845,7 +845,7 @@ const { status, data } = await apiInstance.unpublishAgent(
845
845
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
846
846
 
847
847
  # **validateAgentCreate**
848
- > validateAgentCreate()
848
+ > validateAgentCreate(agentUpdate)
849
849
 
850
850
  Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
851
851
 
@@ -861,7 +861,7 @@ import {
861
861
  const configuration = new Configuration();
862
862
  const apiInstance = new AgentApi(configuration);
863
863
 
864
- let agentUpdate: AgentUpdate; // (optional)
864
+ let agentUpdate: AgentUpdate; //
865
865
 
866
866
  const { status, data } = await apiInstance.validateAgentCreate(
867
867
  agentUpdate
@@ -898,7 +898,7 @@ void (empty response body)
898
898
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
899
899
 
900
900
  # **validateAgentUpdate**
901
- > validateAgentUpdate()
901
+ > validateAgentUpdate(agentUpdate)
902
902
 
903
903
  Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
904
904
 
@@ -915,7 +915,7 @@ const configuration = new Configuration();
915
915
  const apiInstance = new AgentApi(configuration);
916
916
 
917
917
  let agentId: string; //Agent ID (default to undefined)
918
- let agentUpdate: AgentUpdate; // (optional)
918
+ let agentUpdate: AgentUpdate; //
919
919
 
920
920
  const { status, data } = await apiInstance.validateAgentUpdate(
921
921
  agentId,
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
27
27
  **supports_presence_penalty** | **boolean** | | [optional] [default to true]
28
28
  **api_base** | **string** | | [optional] [default to undefined]
29
29
  **timeout** | **number** | | [optional] [default to 180]
30
- **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-11-05T16:53:17.940+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-11-05T16:53:17.940+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-11-06T13:16:14.973+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-11-06T13:16:14.973+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.8.57
7
+ * The version of the OpenAPI document: 0.8.58
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crestal/nation-sdk",
3
- "version": "0.8.57",
3
+ "version": "0.8.58",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {