@crestal/nation-sdk 0.7.21 → 0.7.23
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 +2 -2
- package/api.ts +9 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +55 -35
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentApi.md +2 -2
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.7.
|
|
1
|
+
## @crestal/nation-sdk@0.7.23
|
|
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.7.
|
|
39
|
+
npm install @crestal/nation-sdk@0.7.23 --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.7.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.23
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3819,6 +3819,10 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3819
3819
|
const localVarHeaderParameter = {} as any;
|
|
3820
3820
|
const localVarQueryParameter = {} as any;
|
|
3821
3821
|
|
|
3822
|
+
// authentication HTTPBearer required
|
|
3823
|
+
// http bearer authentication required
|
|
3824
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3825
|
+
|
|
3822
3826
|
|
|
3823
3827
|
|
|
3824
3828
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3891,6 +3895,10 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3891
3895
|
const localVarHeaderParameter = {} as any;
|
|
3892
3896
|
const localVarQueryParameter = {} as any;
|
|
3893
3897
|
|
|
3898
|
+
// authentication HTTPBearer required
|
|
3899
|
+
// http bearer authentication required
|
|
3900
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3901
|
+
|
|
3894
3902
|
|
|
3895
3903
|
|
|
3896
3904
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
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.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.23
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -501,24 +501,34 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
501
501
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
502
502
|
if (options === void 0) { options = {}; }
|
|
503
503
|
return __generator(this, function (_a) {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
504
|
+
switch (_a.label) {
|
|
505
|
+
case 0:
|
|
506
|
+
// verify required parameter 'agentId' is not null or undefined
|
|
507
|
+
(0, common_1.assertParamExists)('getAgent', 'agentId', agentId);
|
|
508
|
+
localVarPath = "/agents/{agent_id}"
|
|
509
|
+
.replace("{".concat("agent_id", "}"), encodeURIComponent(String(agentId)));
|
|
510
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
511
|
+
if (configuration) {
|
|
512
|
+
baseOptions = configuration.baseOptions;
|
|
513
|
+
}
|
|
514
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
515
|
+
localVarHeaderParameter = {};
|
|
516
|
+
localVarQueryParameter = {};
|
|
517
|
+
// authentication HTTPBearer required
|
|
518
|
+
// http bearer authentication required
|
|
519
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
520
|
+
case 1:
|
|
521
|
+
// authentication HTTPBearer required
|
|
522
|
+
// http bearer authentication required
|
|
523
|
+
_a.sent();
|
|
524
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
525
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
526
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
527
|
+
return [2 /*return*/, {
|
|
528
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
529
|
+
options: localVarRequestOptions,
|
|
530
|
+
}];
|
|
511
531
|
}
|
|
512
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
513
|
-
localVarHeaderParameter = {};
|
|
514
|
-
localVarQueryParameter = {};
|
|
515
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
516
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
517
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
518
|
-
return [2 /*return*/, {
|
|
519
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
520
|
-
options: localVarRequestOptions,
|
|
521
|
-
}];
|
|
522
532
|
});
|
|
523
533
|
});
|
|
524
534
|
},
|
|
@@ -585,24 +595,34 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
585
595
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
586
596
|
if (options === void 0) { options = {}; }
|
|
587
597
|
return __generator(this, function (_a) {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
598
|
+
switch (_a.label) {
|
|
599
|
+
case 0:
|
|
600
|
+
// verify required parameter 'agentId' is not null or undefined
|
|
601
|
+
(0, common_1.assertParamExists)('getAgentAssets', 'agentId', agentId);
|
|
602
|
+
localVarPath = "/agents/{agent_id}/assets"
|
|
603
|
+
.replace("{".concat("agent_id", "}"), encodeURIComponent(String(agentId)));
|
|
604
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
605
|
+
if (configuration) {
|
|
606
|
+
baseOptions = configuration.baseOptions;
|
|
607
|
+
}
|
|
608
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
609
|
+
localVarHeaderParameter = {};
|
|
610
|
+
localVarQueryParameter = {};
|
|
611
|
+
// authentication HTTPBearer required
|
|
612
|
+
// http bearer authentication required
|
|
613
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
614
|
+
case 1:
|
|
615
|
+
// authentication HTTPBearer required
|
|
616
|
+
// http bearer authentication required
|
|
617
|
+
_a.sent();
|
|
618
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
619
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
620
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
621
|
+
return [2 /*return*/, {
|
|
622
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
623
|
+
options: localVarRequestOptions,
|
|
624
|
+
}];
|
|
595
625
|
}
|
|
596
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
597
|
-
localVarHeaderParameter = {};
|
|
598
|
-
localVarQueryParameter = {};
|
|
599
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
600
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
601
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
602
|
-
return [2 /*return*/, {
|
|
603
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
604
|
-
options: localVarRequestOptions,
|
|
605
|
-
}];
|
|
606
626
|
});
|
|
607
627
|
});
|
|
608
628
|
},
|
package/dist/base.d.ts
CHANGED
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.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.23
|
|
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
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.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.23
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.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.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.23
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
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.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.23
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/AgentApi.md
CHANGED
|
@@ -165,7 +165,7 @@ const { status, data } = await apiInstance.getAgent(
|
|
|
165
165
|
|
|
166
166
|
### Authorization
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
[HTTPBearer](../README.md#HTTPBearer)
|
|
169
169
|
|
|
170
170
|
### HTTP request headers
|
|
171
171
|
|
|
@@ -272,7 +272,7 @@ const { status, data } = await apiInstance.getAgentAssets(
|
|
|
272
272
|
|
|
273
273
|
### Authorization
|
|
274
274
|
|
|
275
|
-
|
|
275
|
+
[HTTPBearer](../README.md#HTTPBearer)
|
|
276
276
|
|
|
277
277
|
### HTTP request headers
|
|
278
278
|
|
|
@@ -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-09-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-30T10:36:48.530+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-30T10:36:48.531+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/index.ts
CHANGED