@gpt-core/client 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 CHANGED
@@ -3671,6 +3671,10 @@ type Invitation = {
3671
3671
  * An attributes object for a invitation
3672
3672
  */
3673
3673
  attributes?: {
3674
+ /**
3675
+ * Optional personal message from the inviter. Field included by default.
3676
+ */
3677
+ custom_message?: string | null | unknown;
3674
3678
  /**
3675
3679
  * Field included by default.
3676
3680
  */
@@ -3699,6 +3703,10 @@ type Invitation = {
3699
3703
  * Field included by default.
3700
3704
  */
3701
3705
  status: "pending" | "accepted" | "expired" | "revoked" | "declined";
3706
+ /**
3707
+ * Denormalized tenant_id for multi-tenant filtering. Field included by default.
3708
+ */
3709
+ tenant_id: string;
3702
3710
  };
3703
3711
  id: string;
3704
3712
  /**
@@ -11560,6 +11568,7 @@ type PostInvitationsData = {
11560
11568
  data: {
11561
11569
  attributes?: {
11562
11570
  application_id?: string | unknown;
11571
+ custom_message?: string | unknown;
11563
11572
  email: string;
11564
11573
  inviter_id?: string | unknown;
11565
11574
  role: "admin" | "member" | "editor" | "viewer";
package/dist/index.d.ts CHANGED
@@ -3671,6 +3671,10 @@ type Invitation = {
3671
3671
  * An attributes object for a invitation
3672
3672
  */
3673
3673
  attributes?: {
3674
+ /**
3675
+ * Optional personal message from the inviter. Field included by default.
3676
+ */
3677
+ custom_message?: string | null | unknown;
3674
3678
  /**
3675
3679
  * Field included by default.
3676
3680
  */
@@ -3699,6 +3703,10 @@ type Invitation = {
3699
3703
  * Field included by default.
3700
3704
  */
3701
3705
  status: "pending" | "accepted" | "expired" | "revoked" | "declined";
3706
+ /**
3707
+ * Denormalized tenant_id for multi-tenant filtering. Field included by default.
3708
+ */
3709
+ tenant_id: string;
3702
3710
  };
3703
3711
  id: string;
3704
3712
  /**
@@ -11560,6 +11568,7 @@ type PostInvitationsData = {
11560
11568
  data: {
11561
11569
  attributes?: {
11562
11570
  application_id?: string | unknown;
11571
+ custom_message?: string | unknown;
11563
11572
  email: string;
11564
11573
  inviter_id?: string | unknown;
11565
11574
  role: "admin" | "member" | "editor" | "viewer";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.7.90",
3
+ "version": "0.7.91",
4
4
  "description": "TypeScript SDK for GPT Core Client API - Document extraction, AI agents, and workspace management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -43,6 +43,15 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
+ "scripts": {
47
+ "generate": "openapi-ts",
48
+ "typecheck": "tsc --noEmit",
49
+ "build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "test:ui": "vitest --ui",
53
+ "test:coverage": "vitest run --coverage"
54
+ },
46
55
  "dependencies": {
47
56
  "eventsource-parser": "^3.0.6",
48
57
  "zod": "^3.25.76"
@@ -54,14 +63,5 @@
54
63
  "tsup": "^8.5.1",
55
64
  "typescript": "^5.9.3",
56
65
  "vitest": "^4.0.15"
57
- },
58
- "scripts": {
59
- "generate": "openapi-ts",
60
- "typecheck": "tsc --noEmit",
61
- "build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
62
- "test": "vitest run",
63
- "test:watch": "vitest",
64
- "test:ui": "vitest --ui",
65
- "test:coverage": "vitest run --coverage"
66
66
  }
67
- }
67
+ }