@gpt-core/client 0.3.7 → 0.3.8
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.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1653,6 +1653,7 @@ type Application = {
|
|
|
1653
1653
|
* An attributes object for a application
|
|
1654
1654
|
*/
|
|
1655
1655
|
attributes?: {
|
|
1656
|
+
current_scopes?: Array<string> | null | unknown;
|
|
1656
1657
|
/**
|
|
1657
1658
|
* Credits allocated to new tenants registering via this application. Field included by default.
|
|
1658
1659
|
*/
|
|
@@ -1736,6 +1737,10 @@ type ApiKey = {
|
|
|
1736
1737
|
* Field included by default.
|
|
1737
1738
|
*/
|
|
1738
1739
|
expires_at?: unknown;
|
|
1740
|
+
/**
|
|
1741
|
+
* The raw API key token. Only returned once upon creation or rotation.
|
|
1742
|
+
*/
|
|
1743
|
+
generated_api_key?: string | null | unknown;
|
|
1739
1744
|
/**
|
|
1740
1745
|
* Field included by default.
|
|
1741
1746
|
*/
|
|
@@ -11366,6 +11371,7 @@ type PostApplicationsData = {
|
|
|
11366
11371
|
body: {
|
|
11367
11372
|
data: {
|
|
11368
11373
|
attributes?: {
|
|
11374
|
+
api_key_type: "server" | "system" | "application";
|
|
11369
11375
|
/**
|
|
11370
11376
|
* Credits allocated to new tenants registering via this application
|
|
11371
11377
|
*/
|
|
@@ -14141,7 +14147,7 @@ type PostApiKeysData = {
|
|
|
14141
14147
|
scopes?: Array<string> | unknown;
|
|
14142
14148
|
tenant_id?: string | unknown;
|
|
14143
14149
|
token?: string | unknown;
|
|
14144
|
-
type: "user" | "application" | "system";
|
|
14150
|
+
type: "user" | "application" | "system" | "server";
|
|
14145
14151
|
user_id?: string | unknown;
|
|
14146
14152
|
workspace_id?: string | unknown;
|
|
14147
14153
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1653,6 +1653,7 @@ type Application = {
|
|
|
1653
1653
|
* An attributes object for a application
|
|
1654
1654
|
*/
|
|
1655
1655
|
attributes?: {
|
|
1656
|
+
current_scopes?: Array<string> | null | unknown;
|
|
1656
1657
|
/**
|
|
1657
1658
|
* Credits allocated to new tenants registering via this application. Field included by default.
|
|
1658
1659
|
*/
|
|
@@ -1736,6 +1737,10 @@ type ApiKey = {
|
|
|
1736
1737
|
* Field included by default.
|
|
1737
1738
|
*/
|
|
1738
1739
|
expires_at?: unknown;
|
|
1740
|
+
/**
|
|
1741
|
+
* The raw API key token. Only returned once upon creation or rotation.
|
|
1742
|
+
*/
|
|
1743
|
+
generated_api_key?: string | null | unknown;
|
|
1739
1744
|
/**
|
|
1740
1745
|
* Field included by default.
|
|
1741
1746
|
*/
|
|
@@ -11366,6 +11371,7 @@ type PostApplicationsData = {
|
|
|
11366
11371
|
body: {
|
|
11367
11372
|
data: {
|
|
11368
11373
|
attributes?: {
|
|
11374
|
+
api_key_type: "server" | "system" | "application";
|
|
11369
11375
|
/**
|
|
11370
11376
|
* Credits allocated to new tenants registering via this application
|
|
11371
11377
|
*/
|
|
@@ -14141,7 +14147,7 @@ type PostApiKeysData = {
|
|
|
14141
14147
|
scopes?: Array<string> | unknown;
|
|
14142
14148
|
tenant_id?: string | unknown;
|
|
14143
14149
|
token?: string | unknown;
|
|
14144
|
-
type: "user" | "application" | "system";
|
|
14150
|
+
type: "user" | "application" | "system" | "server";
|
|
14145
14151
|
user_id?: string | unknown;
|
|
14146
14152
|
workspace_id?: string | unknown;
|
|
14147
14153
|
};
|
package/package.json
CHANGED