@naturali/sdk 0.149.0 → 0.150.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 +15 -0
- package/dist/index.mjs +15 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1502,6 +1502,11 @@ var ApiKeys = class {
|
|
|
1502
1502
|
*/
|
|
1503
1503
|
static createApiKey(options) {
|
|
1504
1504
|
return (options.client ?? client).post({
|
|
1505
|
+
security: [{
|
|
1506
|
+
key: "bearerAuth",
|
|
1507
|
+
scheme: "bearer",
|
|
1508
|
+
type: "http"
|
|
1509
|
+
}],
|
|
1505
1510
|
url: "/v1/api-keys",
|
|
1506
1511
|
...options,
|
|
1507
1512
|
headers: {
|
|
@@ -1556,6 +1561,11 @@ var ApiKeys = class {
|
|
|
1556
1561
|
*/
|
|
1557
1562
|
static rotateApiKey(options) {
|
|
1558
1563
|
return (options.client ?? client).post({
|
|
1564
|
+
security: [{
|
|
1565
|
+
key: "bearerAuth",
|
|
1566
|
+
scheme: "bearer",
|
|
1567
|
+
type: "http"
|
|
1568
|
+
}],
|
|
1559
1569
|
url: "/v1/api-keys/{api_key_id}:rotate",
|
|
1560
1570
|
...options
|
|
1561
1571
|
});
|
|
@@ -3736,6 +3746,11 @@ var Orchestrations = class {
|
|
|
3736
3746
|
static getQueueStats(options) {
|
|
3737
3747
|
return (options.client ?? client).get({
|
|
3738
3748
|
security: [{
|
|
3749
|
+
key: "bearerAuth",
|
|
3750
|
+
scheme: "bearer",
|
|
3751
|
+
type: "http"
|
|
3752
|
+
}, {
|
|
3753
|
+
key: "oauth2",
|
|
3739
3754
|
scheme: "bearer",
|
|
3740
3755
|
type: "http"
|
|
3741
3756
|
}],
|
package/dist/index.mjs
CHANGED
|
@@ -1501,6 +1501,11 @@ var ApiKeys = class {
|
|
|
1501
1501
|
*/
|
|
1502
1502
|
static createApiKey(options) {
|
|
1503
1503
|
return (options.client ?? client).post({
|
|
1504
|
+
security: [{
|
|
1505
|
+
key: "bearerAuth",
|
|
1506
|
+
scheme: "bearer",
|
|
1507
|
+
type: "http"
|
|
1508
|
+
}],
|
|
1504
1509
|
url: "/v1/api-keys",
|
|
1505
1510
|
...options,
|
|
1506
1511
|
headers: {
|
|
@@ -1555,6 +1560,11 @@ var ApiKeys = class {
|
|
|
1555
1560
|
*/
|
|
1556
1561
|
static rotateApiKey(options) {
|
|
1557
1562
|
return (options.client ?? client).post({
|
|
1563
|
+
security: [{
|
|
1564
|
+
key: "bearerAuth",
|
|
1565
|
+
scheme: "bearer",
|
|
1566
|
+
type: "http"
|
|
1567
|
+
}],
|
|
1558
1568
|
url: "/v1/api-keys/{api_key_id}:rotate",
|
|
1559
1569
|
...options
|
|
1560
1570
|
});
|
|
@@ -3735,6 +3745,11 @@ var Orchestrations = class {
|
|
|
3735
3745
|
static getQueueStats(options) {
|
|
3736
3746
|
return (options.client ?? client).get({
|
|
3737
3747
|
security: [{
|
|
3748
|
+
key: "bearerAuth",
|
|
3749
|
+
scheme: "bearer",
|
|
3750
|
+
type: "http"
|
|
3751
|
+
}, {
|
|
3752
|
+
key: "oauth2",
|
|
3738
3753
|
scheme: "bearer",
|
|
3739
3754
|
type: "http"
|
|
3740
3755
|
}],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.150.0",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
34
|
-
"@naturali/api": "0.
|
|
34
|
+
"@naturali/api": "0.150.0",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.3.1",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|