@naturali/sdk 0.211.9 → 0.211.10
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 +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1973,7 +1973,7 @@ var Auth = class {
|
|
|
1973
1973
|
/**
|
|
1974
1974
|
* Log out
|
|
1975
1975
|
*
|
|
1976
|
-
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user.
|
|
1976
|
+
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user; only a signed-in user's session may, not an API key or a connected app.
|
|
1977
1977
|
*
|
|
1978
1978
|
*/
|
|
1979
1979
|
static logout(options) {
|
package/dist/index.d.cts
CHANGED
|
@@ -13959,6 +13959,10 @@ type LogoutErrors = {
|
|
|
13959
13959
|
* Missing or invalid credentials.
|
|
13960
13960
|
*/
|
|
13961
13961
|
401: ErrorResponse;
|
|
13962
|
+
/**
|
|
13963
|
+
* `all: true` sent with an API key or a connected app's token.
|
|
13964
|
+
*/
|
|
13965
|
+
403: ErrorResponse;
|
|
13962
13966
|
};
|
|
13963
13967
|
type LogoutError = LogoutErrors[keyof LogoutErrors];
|
|
13964
13968
|
type LogoutResponses = {
|
|
@@ -33222,7 +33226,7 @@ export declare class Auth {
|
|
|
33222
33226
|
/**
|
|
33223
33227
|
* Log out
|
|
33224
33228
|
*
|
|
33225
|
-
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user.
|
|
33229
|
+
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user; only a signed-in user's session may, not an API key or a connected app.
|
|
33226
33230
|
*
|
|
33227
33231
|
*/
|
|
33228
33232
|
static logout<ThrowOnError extends boolean = false>(options?: Options<LogoutData, ThrowOnError>): RequestResult<LogoutResponses, LogoutErrors, ThrowOnError>;
|
package/dist/index.d.mts
CHANGED
|
@@ -13959,6 +13959,10 @@ type LogoutErrors = {
|
|
|
13959
13959
|
* Missing or invalid credentials.
|
|
13960
13960
|
*/
|
|
13961
13961
|
401: ErrorResponse;
|
|
13962
|
+
/**
|
|
13963
|
+
* `all: true` sent with an API key or a connected app's token.
|
|
13964
|
+
*/
|
|
13965
|
+
403: ErrorResponse;
|
|
13962
13966
|
};
|
|
13963
13967
|
type LogoutError = LogoutErrors[keyof LogoutErrors];
|
|
13964
13968
|
type LogoutResponses = {
|
|
@@ -33222,7 +33226,7 @@ export declare class Auth {
|
|
|
33222
33226
|
/**
|
|
33223
33227
|
* Log out
|
|
33224
33228
|
*
|
|
33225
|
-
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user.
|
|
33229
|
+
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user; only a signed-in user's session may, not an API key or a connected app.
|
|
33226
33230
|
*
|
|
33227
33231
|
*/
|
|
33228
33232
|
static logout<ThrowOnError extends boolean = false>(options?: Options<LogoutData, ThrowOnError>): RequestResult<LogoutResponses, LogoutErrors, ThrowOnError>;
|
package/dist/index.mjs
CHANGED
|
@@ -1972,7 +1972,7 @@ var Auth = class {
|
|
|
1972
1972
|
/**
|
|
1973
1973
|
* Log out
|
|
1974
1974
|
*
|
|
1975
|
-
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user.
|
|
1975
|
+
* Revokes the current refresh token (and its rotation family) and clears the `refresh_token` cookie. Pass `all: true` to revoke every active session for the user; only a signed-in user's session may, not an API key or a connected app.
|
|
1976
1976
|
*
|
|
1977
1977
|
*/
|
|
1978
1978
|
static logout(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.211.
|
|
3
|
+
"version": "0.211.10",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
41
|
-
"@naturali/api": "0.211.
|
|
41
|
+
"@naturali/api": "0.211.10",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.0",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|