@gpt-core/admin 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 CHANGED
@@ -1668,6 +1668,7 @@ type Application = {
1668
1668
  * An attributes object for a application
1669
1669
  */
1670
1670
  attributes?: {
1671
+ current_scopes?: Array<string> | null | unknown;
1671
1672
  /**
1672
1673
  * Credits allocated to new tenants registering via this application. Field included by default.
1673
1674
  */
@@ -1751,6 +1752,10 @@ type ApiKey = {
1751
1752
  * Field included by default.
1752
1753
  */
1753
1754
  expires_at?: unknown;
1755
+ /**
1756
+ * The raw API key token. Only returned once upon creation or rotation.
1757
+ */
1758
+ generated_api_key?: string | null | unknown;
1754
1759
  /**
1755
1760
  * Field included by default.
1756
1761
  */
@@ -5688,6 +5693,7 @@ type PostAdminApplicationsData = {
5688
5693
  body: {
5689
5694
  data: {
5690
5695
  attributes?: {
5696
+ api_key_type: "server" | "system" | "application";
5691
5697
  /**
5692
5698
  * Credits allocated to new tenants registering via this application
5693
5699
  */
@@ -17765,7 +17771,7 @@ type PostAdminApiKeysData = {
17765
17771
  scopes?: Array<string> | unknown;
17766
17772
  tenant_id?: string | unknown;
17767
17773
  token?: string | unknown;
17768
- type: "user" | "application" | "system";
17774
+ type: "user" | "application" | "system" | "server";
17769
17775
  user_id?: string | unknown;
17770
17776
  workspace_id?: string | unknown;
17771
17777
  };
package/dist/index.d.ts CHANGED
@@ -1668,6 +1668,7 @@ type Application = {
1668
1668
  * An attributes object for a application
1669
1669
  */
1670
1670
  attributes?: {
1671
+ current_scopes?: Array<string> | null | unknown;
1671
1672
  /**
1672
1673
  * Credits allocated to new tenants registering via this application. Field included by default.
1673
1674
  */
@@ -1751,6 +1752,10 @@ type ApiKey = {
1751
1752
  * Field included by default.
1752
1753
  */
1753
1754
  expires_at?: unknown;
1755
+ /**
1756
+ * The raw API key token. Only returned once upon creation or rotation.
1757
+ */
1758
+ generated_api_key?: string | null | unknown;
1754
1759
  /**
1755
1760
  * Field included by default.
1756
1761
  */
@@ -5688,6 +5693,7 @@ type PostAdminApplicationsData = {
5688
5693
  body: {
5689
5694
  data: {
5690
5695
  attributes?: {
5696
+ api_key_type: "server" | "system" | "application";
5691
5697
  /**
5692
5698
  * Credits allocated to new tenants registering via this application
5693
5699
  */
@@ -17765,7 +17771,7 @@ type PostAdminApiKeysData = {
17765
17771
  scopes?: Array<string> | unknown;
17766
17772
  tenant_id?: string | unknown;
17767
17773
  token?: string | unknown;
17768
- type: "user" | "application" | "system";
17774
+ type: "user" | "application" | "system" | "server";
17769
17775
  user_id?: string | unknown;
17770
17776
  workspace_id?: string | unknown;
17771
17777
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/admin",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "TypeScript SDK for GPT Core Admin API - Platform administration and ISV management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",