@naturali/cli 0.207.2 → 0.208.1
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.mjs +16 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region package.json
|
|
20
|
-
var version = "0.
|
|
20
|
+
var version = "0.208.1";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -22194,7 +22194,7 @@ const routes = {
|
|
|
22194
22194
|
httpMethod: "post",
|
|
22195
22195
|
pathParams: ["project_id"],
|
|
22196
22196
|
queryParams: [],
|
|
22197
|
-
headerParams: [],
|
|
22197
|
+
headerParams: ["Idempotency-Key"],
|
|
22198
22198
|
cookieParams: [],
|
|
22199
22199
|
flags: [
|
|
22200
22200
|
{
|
|
@@ -22204,6 +22204,13 @@ const routes = {
|
|
|
22204
22204
|
"type": "string",
|
|
22205
22205
|
"in": "path"
|
|
22206
22206
|
},
|
|
22207
|
+
{
|
|
22208
|
+
"name": "Idempotency-Key",
|
|
22209
|
+
"description": "The request's deduplication key. Equivalent to `idempotency_key` in the request body; sending both with different values is `400 VALIDATION_FAILED`. A non-empty string of at most 255 characters.",
|
|
22210
|
+
"required": false,
|
|
22211
|
+
"type": "string",
|
|
22212
|
+
"in": "header"
|
|
22213
|
+
},
|
|
22207
22214
|
{
|
|
22208
22215
|
"name": "workflow_id",
|
|
22209
22216
|
"description": "",
|
|
@@ -22232,6 +22239,13 @@ const routes = {
|
|
|
22232
22239
|
"type": "string",
|
|
22233
22240
|
"in": "body"
|
|
22234
22241
|
},
|
|
22242
|
+
{
|
|
22243
|
+
"name": "idempotency_key",
|
|
22244
|
+
"description": "The create's deduplication key, unique within the project and claimed for as long as the task it created exists. The same key with the same body returns that task as it is now (`200`) instead of creating a second one; with a different body it is `409 IDEMPOTENCY_KEY_REUSED`. A create that fails claims no key. Equivalent to the `Idempotency-Key` header.",
|
|
22245
|
+
"required": false,
|
|
22246
|
+
"type": "string",
|
|
22247
|
+
"in": "body"
|
|
22248
|
+
},
|
|
22235
22249
|
{
|
|
22236
22250
|
"name": "state",
|
|
22237
22251
|
"description": "Name of a declared workflow state to create the task in directly, instead of the workflow's `initial` state. Must name a state declared on the workflow, or the request is rejected with `TASK_STATE_NOT_FOUND` (400). Defaults to the `initial` state.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.208.1",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"yaml": "^2.9.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@naturali/sdk": "0.
|
|
34
|
+
"@naturali/sdk": "0.208.1",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|