@naturali/cli 0.152.0 → 0.153.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.mjs +12 -4
- 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.153.0";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -4935,7 +4935,9 @@ var Users = class {
|
|
|
4935
4935
|
/**
|
|
4936
4936
|
* Update the current user
|
|
4937
4937
|
*
|
|
4938
|
-
* Edits the account's display name
|
|
4938
|
+
* Edits the account's display name and whether it receives usage alerts. At least one field is required, so a request that misspelled a field is rejected rather than answered with a silent 200. Send `name: null` to clear the name.
|
|
4939
|
+
*
|
|
4940
|
+
* With `usage_alerts` on, the account is emailed once each time its model credit, its runs this month or its indexed storage reaches 75%, 90% and 100%. Credit is measured as the share spent this month of what the month had available, so a top-up lowers it. Usage falling back below a level re-arms that level. Figures are read every 15 minutes, so an alert can arrive up to that long after the crossing.
|
|
4939
4941
|
*
|
|
4940
4942
|
*/
|
|
4941
4943
|
static updateCurrentUser(options) {
|
|
@@ -19141,7 +19143,7 @@ const routes = {
|
|
|
19141
19143
|
"update-current-user": {
|
|
19142
19144
|
serviceClass: "Users",
|
|
19143
19145
|
operationId: "updateCurrentUser",
|
|
19144
|
-
description: "Edits the account's display name
|
|
19146
|
+
description: "Edits the account's display name and whether it receives usage alerts. At least one field is required, so a request that misspelled a field is rejected rather than answered with a silent 200. Send `name: null` to clear the name. With `usage_alerts` on, the account is emailed once each time its model credit, its runs this month or its indexed storage reaches 75%, 90% and 100%. Credit is measured as the share spent this month of what the month had available, so a top-up lowers it. Usage falling back below a level re-arms that level. Figures are read every 15 minutes, so an alert can arrive up to that long after the crossing.",
|
|
19145
19147
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/users",
|
|
19146
19148
|
httpMethod: "patch",
|
|
19147
19149
|
pathParams: [],
|
|
@@ -19151,9 +19153,15 @@ const routes = {
|
|
|
19151
19153
|
flags: [{
|
|
19152
19154
|
"name": "name",
|
|
19153
19155
|
"description": "Display name; null clears it.",
|
|
19154
|
-
"required":
|
|
19156
|
+
"required": false,
|
|
19155
19157
|
"type": "string",
|
|
19156
19158
|
"in": "body"
|
|
19159
|
+
}, {
|
|
19160
|
+
"name": "usage_alerts",
|
|
19161
|
+
"description": "Email the account at 75%, 90% and 100% of its model credit, runs and indexed storage.",
|
|
19162
|
+
"required": false,
|
|
19163
|
+
"type": "boolean",
|
|
19164
|
+
"in": "body"
|
|
19157
19165
|
}]
|
|
19158
19166
|
},
|
|
19159
19167
|
"get-current-user-billing": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.153.0",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"yaml": "^2.9.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@naturali/sdk": "0.
|
|
28
|
+
"@naturali/sdk": "0.153.0",
|
|
29
29
|
"@ttoss/openapi-codegen": "^0.3.1",
|
|
30
30
|
"@types/node": "^26.5.1",
|
|
31
31
|
"tsdown": "^0.23.0",
|