@gpt-core/admin 0.7.90 → 0.7.91
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 +9 -0
- package/dist/index.d.ts +9 -0
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -3446,6 +3446,10 @@ type Invitation = {
|
|
|
3446
3446
|
* An attributes object for a invitation
|
|
3447
3447
|
*/
|
|
3448
3448
|
attributes?: {
|
|
3449
|
+
/**
|
|
3450
|
+
* Optional personal message from the inviter. Field included by default.
|
|
3451
|
+
*/
|
|
3452
|
+
custom_message?: string | null | unknown;
|
|
3449
3453
|
/**
|
|
3450
3454
|
* Field included by default.
|
|
3451
3455
|
*/
|
|
@@ -3474,6 +3478,10 @@ type Invitation = {
|
|
|
3474
3478
|
* Field included by default.
|
|
3475
3479
|
*/
|
|
3476
3480
|
status: "pending" | "accepted" | "expired" | "revoked" | "declined";
|
|
3481
|
+
/**
|
|
3482
|
+
* Denormalized tenant_id for multi-tenant filtering. Field included by default.
|
|
3483
|
+
*/
|
|
3484
|
+
tenant_id: string;
|
|
3477
3485
|
};
|
|
3478
3486
|
id: string;
|
|
3479
3487
|
/**
|
|
@@ -9089,6 +9097,7 @@ type PostAdminInvitationsData = {
|
|
|
9089
9097
|
data: {
|
|
9090
9098
|
attributes?: {
|
|
9091
9099
|
application_id?: string | unknown;
|
|
9100
|
+
custom_message?: string | unknown;
|
|
9092
9101
|
email: string;
|
|
9093
9102
|
inviter_id?: string | unknown;
|
|
9094
9103
|
role: "admin" | "member" | "editor" | "viewer";
|
package/dist/index.d.ts
CHANGED
|
@@ -3446,6 +3446,10 @@ type Invitation = {
|
|
|
3446
3446
|
* An attributes object for a invitation
|
|
3447
3447
|
*/
|
|
3448
3448
|
attributes?: {
|
|
3449
|
+
/**
|
|
3450
|
+
* Optional personal message from the inviter. Field included by default.
|
|
3451
|
+
*/
|
|
3452
|
+
custom_message?: string | null | unknown;
|
|
3449
3453
|
/**
|
|
3450
3454
|
* Field included by default.
|
|
3451
3455
|
*/
|
|
@@ -3474,6 +3478,10 @@ type Invitation = {
|
|
|
3474
3478
|
* Field included by default.
|
|
3475
3479
|
*/
|
|
3476
3480
|
status: "pending" | "accepted" | "expired" | "revoked" | "declined";
|
|
3481
|
+
/**
|
|
3482
|
+
* Denormalized tenant_id for multi-tenant filtering. Field included by default.
|
|
3483
|
+
*/
|
|
3484
|
+
tenant_id: string;
|
|
3477
3485
|
};
|
|
3478
3486
|
id: string;
|
|
3479
3487
|
/**
|
|
@@ -9089,6 +9097,7 @@ type PostAdminInvitationsData = {
|
|
|
9089
9097
|
data: {
|
|
9090
9098
|
attributes?: {
|
|
9091
9099
|
application_id?: string | unknown;
|
|
9100
|
+
custom_message?: string | unknown;
|
|
9092
9101
|
email: string;
|
|
9093
9102
|
inviter_id?: string | unknown;
|
|
9094
9103
|
role: "admin" | "member" | "editor" | "viewer";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/admin",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.91",
|
|
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",
|
|
@@ -42,6 +42,15 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"generate": "openapi-ts",
|
|
47
|
+
"typecheck": "tsc --noEmit",
|
|
48
|
+
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
49
|
+
"test": "vitest run",
|
|
50
|
+
"test:watch": "vitest",
|
|
51
|
+
"test:ui": "vitest --ui",
|
|
52
|
+
"test:coverage": "vitest run --coverage"
|
|
53
|
+
},
|
|
45
54
|
"dependencies": {
|
|
46
55
|
"zod": "^3.25.76"
|
|
47
56
|
},
|
|
@@ -53,14 +62,5 @@
|
|
|
53
62
|
"tsup": "^8.5.1",
|
|
54
63
|
"typescript": "^5.9.3",
|
|
55
64
|
"vitest": "^4.0.15"
|
|
56
|
-
},
|
|
57
|
-
"scripts": {
|
|
58
|
-
"generate": "openapi-ts",
|
|
59
|
-
"typecheck": "tsc --noEmit",
|
|
60
|
-
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
61
|
-
"test": "vitest run",
|
|
62
|
-
"test:watch": "vitest",
|
|
63
|
-
"test:ui": "vitest --ui",
|
|
64
|
-
"test:coverage": "vitest run --coverage"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
66
|
+
}
|