@gpt-core/client 0.7.81 → 0.7.82

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.js CHANGED
@@ -120,6 +120,7 @@ __export(index_exports, {
120
120
  getFieldTemplatesById: () => getFieldTemplatesById,
121
121
  getInvitations: () => getInvitations,
122
122
  getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
123
+ getInvitationsMyInvitations: () => getInvitationsMyInvitations,
123
124
  getLlmAnalytics: () => getLlmAnalytics,
124
125
  getLlmAnalyticsById: () => getLlmAnalyticsById,
125
126
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -210,6 +211,8 @@ __export(index_exports, {
210
211
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
211
212
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
212
213
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
214
+ patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
215
+ patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
213
216
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
214
217
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
215
218
  patchMessagesById: () => patchMessagesById,
@@ -388,6 +391,7 @@ __export(sdk_gen_exports, {
388
391
  getFieldTemplatesById: () => getFieldTemplatesById,
389
392
  getInvitations: () => getInvitations,
390
393
  getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
394
+ getInvitationsMyInvitations: () => getInvitationsMyInvitations,
391
395
  getLlmAnalytics: () => getLlmAnalytics,
392
396
  getLlmAnalyticsById: () => getLlmAnalyticsById,
393
397
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -474,6 +478,8 @@ __export(sdk_gen_exports, {
474
478
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
475
479
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
476
480
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
481
+ patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
482
+ patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
477
483
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
478
484
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
479
485
  patchMessagesById: () => patchMessagesById,
@@ -1902,6 +1908,16 @@ var postAgentVersions = (options) => (options.client ?? client).post({
1902
1908
  ...options.headers
1903
1909
  }
1904
1910
  });
1911
+ var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).patch({
1912
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1913
+ security: [{ scheme: "bearer", type: "http" }],
1914
+ url: "/invitations/{id}/accept-by-user",
1915
+ ...options,
1916
+ headers: {
1917
+ "Content-Type": "application/vnd.api+json",
1918
+ ...options.headers
1919
+ }
1920
+ });
1905
1921
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
1906
1922
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1907
1923
  security: [{ scheme: "bearer", type: "http" }],
@@ -2393,6 +2409,16 @@ var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (opti
2393
2409
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
2394
2410
  ...options
2395
2411
  });
2412
+ var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch({
2413
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2414
+ security: [{ scheme: "bearer", type: "http" }],
2415
+ url: "/invitations/{id}/decline",
2416
+ ...options,
2417
+ headers: {
2418
+ "Content-Type": "application/vnd.api+json",
2419
+ ...options.headers
2420
+ }
2421
+ });
2396
2422
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
2397
2423
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2398
2424
  security: [{ scheme: "bearer", type: "http" }],
@@ -3097,6 +3123,17 @@ var getExtractionDocumentsWorkspaceByWorkspaceId = (options) => (options.client
3097
3123
  url: "/extraction/documents/workspace/{workspace_id}",
3098
3124
  ...options
3099
3125
  });
3126
+ var getInvitationsMyInvitations = (options) => (options.client ?? client).get({
3127
+ querySerializer: {
3128
+ parameters: {
3129
+ filter: { object: { style: "form" } },
3130
+ fields: { object: { style: "form" } }
3131
+ }
3132
+ },
3133
+ security: [{ scheme: "bearer", type: "http" }],
3134
+ url: "/invitations/my-invitations",
3135
+ ...options
3136
+ });
3100
3137
  var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
3101
3138
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3102
3139
  security: [{ scheme: "bearer", type: "http" }],
@@ -4323,6 +4360,7 @@ var index_default = gptCore;
4323
4360
  getFieldTemplatesById,
4324
4361
  getInvitations,
4325
4362
  getInvitationsConsumeByToken,
4363
+ getInvitationsMyInvitations,
4326
4364
  getLlmAnalytics,
4327
4365
  getLlmAnalyticsById,
4328
4366
  getLlmAnalyticsCosts,
@@ -4413,6 +4451,8 @@ var index_default = gptCore;
4413
4451
  patchExtractionResultsByIdCorrections,
4414
4452
  patchExtractionResultsByIdRegenerate,
4415
4453
  patchInvitationsByIdAccept,
4454
+ patchInvitationsByIdAcceptByUser,
4455
+ patchInvitationsByIdDecline,
4416
4456
  patchInvitationsByIdResend,
4417
4457
  patchInvitationsByIdRevoke,
4418
4458
  patchMessagesById,
package/dist/index.mjs CHANGED
@@ -74,6 +74,7 @@ __export(sdk_gen_exports, {
74
74
  getFieldTemplatesById: () => getFieldTemplatesById,
75
75
  getInvitations: () => getInvitations,
76
76
  getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
77
+ getInvitationsMyInvitations: () => getInvitationsMyInvitations,
77
78
  getLlmAnalytics: () => getLlmAnalytics,
78
79
  getLlmAnalyticsById: () => getLlmAnalyticsById,
79
80
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -160,6 +161,8 @@ __export(sdk_gen_exports, {
160
161
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
161
162
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
162
163
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
164
+ patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
165
+ patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
163
166
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
164
167
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
165
168
  patchMessagesById: () => patchMessagesById,
@@ -1588,6 +1591,16 @@ var postAgentVersions = (options) => (options.client ?? client).post({
1588
1591
  ...options.headers
1589
1592
  }
1590
1593
  });
1594
+ var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).patch({
1595
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1596
+ security: [{ scheme: "bearer", type: "http" }],
1597
+ url: "/invitations/{id}/accept-by-user",
1598
+ ...options,
1599
+ headers: {
1600
+ "Content-Type": "application/vnd.api+json",
1601
+ ...options.headers
1602
+ }
1603
+ });
1591
1604
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
1592
1605
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1593
1606
  security: [{ scheme: "bearer", type: "http" }],
@@ -2079,6 +2092,16 @@ var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (opti
2079
2092
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
2080
2093
  ...options
2081
2094
  });
2095
+ var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch({
2096
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2097
+ security: [{ scheme: "bearer", type: "http" }],
2098
+ url: "/invitations/{id}/decline",
2099
+ ...options,
2100
+ headers: {
2101
+ "Content-Type": "application/vnd.api+json",
2102
+ ...options.headers
2103
+ }
2104
+ });
2082
2105
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
2083
2106
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2084
2107
  security: [{ scheme: "bearer", type: "http" }],
@@ -2783,6 +2806,17 @@ var getExtractionDocumentsWorkspaceByWorkspaceId = (options) => (options.client
2783
2806
  url: "/extraction/documents/workspace/{workspace_id}",
2784
2807
  ...options
2785
2808
  });
2809
+ var getInvitationsMyInvitations = (options) => (options.client ?? client).get({
2810
+ querySerializer: {
2811
+ parameters: {
2812
+ filter: { object: { style: "form" } },
2813
+ fields: { object: { style: "form" } }
2814
+ }
2815
+ },
2816
+ security: [{ scheme: "bearer", type: "http" }],
2817
+ url: "/invitations/my-invitations",
2818
+ ...options
2819
+ });
2786
2820
  var postExtractionDocumentsBeginUpload = (options) => (options.client ?? client).post({
2787
2821
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2788
2822
  security: [{ scheme: "bearer", type: "http" }],
@@ -4009,6 +4043,7 @@ export {
4009
4043
  getFieldTemplatesById,
4010
4044
  getInvitations,
4011
4045
  getInvitationsConsumeByToken,
4046
+ getInvitationsMyInvitations,
4012
4047
  getLlmAnalytics,
4013
4048
  getLlmAnalyticsById,
4014
4049
  getLlmAnalyticsCosts,
@@ -4099,6 +4134,8 @@ export {
4099
4134
  patchExtractionResultsByIdCorrections,
4100
4135
  patchExtractionResultsByIdRegenerate,
4101
4136
  patchInvitationsByIdAccept,
4137
+ patchInvitationsByIdAcceptByUser,
4138
+ patchInvitationsByIdDecline,
4102
4139
  patchInvitationsByIdResend,
4103
4140
  patchInvitationsByIdRevoke,
4104
4141
  patchMessagesById,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.7.81",
3
+ "version": "0.7.82",
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,15 +43,6 @@
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
- },
55
46
  "dependencies": {
56
47
  "eventsource-parser": "^3.0.6",
57
48
  "zod": "^3.25.76"
@@ -63,5 +54,14 @@
63
54
  "tsup": "^8.5.1",
64
55
  "typescript": "^5.9.3",
65
56
  "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
+ }