@gpt-core/client 0.7.81 → 0.7.83

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
+ getInvitationsMe: () => getInvitationsMe,
123
124
  getLlmAnalytics: () => getLlmAnalytics,
124
125
  getLlmAnalyticsById: () => getLlmAnalyticsById,
125
126
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -171,6 +172,7 @@ __export(index_exports, {
171
172
  getUsers: () => getUsers,
172
173
  getUsersById: () => getUsersById,
173
174
  getUsersMe: () => getUsersMe,
175
+ getUsersMeTenants: () => getUsersMeTenants,
174
176
  getWallet: () => getWallet,
175
177
  getWebhookConfigs: () => getWebhookConfigs,
176
178
  getWebhookConfigsById: () => getWebhookConfigsById,
@@ -210,6 +212,8 @@ __export(index_exports, {
210
212
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
211
213
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
212
214
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
215
+ patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
216
+ patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
213
217
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
214
218
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
215
219
  patchMessagesById: () => patchMessagesById,
@@ -266,8 +270,8 @@ __export(index_exports, {
266
270
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
267
271
  postExtractionResults: () => postExtractionResults,
268
272
  postFieldTemplates: () => postFieldTemplates,
273
+ postInvitations: () => postInvitations,
269
274
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
270
- postInvitationsInvite: () => postInvitationsInvite,
271
275
  postLlmAnalytics: () => postLlmAnalytics,
272
276
  postMessages: () => postMessages,
273
277
  postNotificationMethods: () => postNotificationMethods,
@@ -388,6 +392,7 @@ __export(sdk_gen_exports, {
388
392
  getFieldTemplatesById: () => getFieldTemplatesById,
389
393
  getInvitations: () => getInvitations,
390
394
  getInvitationsConsumeByToken: () => getInvitationsConsumeByToken,
395
+ getInvitationsMe: () => getInvitationsMe,
391
396
  getLlmAnalytics: () => getLlmAnalytics,
392
397
  getLlmAnalyticsById: () => getLlmAnalyticsById,
393
398
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -439,6 +444,7 @@ __export(sdk_gen_exports, {
439
444
  getUsers: () => getUsers,
440
445
  getUsersById: () => getUsersById,
441
446
  getUsersMe: () => getUsersMe,
447
+ getUsersMeTenants: () => getUsersMeTenants,
442
448
  getWallet: () => getWallet,
443
449
  getWebhookConfigs: () => getWebhookConfigs,
444
450
  getWebhookConfigsById: () => getWebhookConfigsById,
@@ -474,6 +480,8 @@ __export(sdk_gen_exports, {
474
480
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
475
481
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
476
482
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
483
+ patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
484
+ patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
477
485
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
478
486
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
479
487
  patchMessagesById: () => patchMessagesById,
@@ -530,8 +538,8 @@ __export(sdk_gen_exports, {
530
538
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
531
539
  postExtractionResults: () => postExtractionResults,
532
540
  postFieldTemplates: () => postFieldTemplates,
541
+ postInvitations: () => postInvitations,
533
542
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
534
- postInvitationsInvite: () => postInvitationsInvite,
535
543
  postLlmAnalytics: () => postLlmAnalytics,
536
544
  postMessages: () => postMessages,
537
545
  postNotificationMethods: () => postNotificationMethods,
@@ -1871,16 +1879,6 @@ var getUserProfilesMe = (options) => (options.client ?? client).get({
1871
1879
  url: "/user_profiles/me",
1872
1880
  ...options
1873
1881
  });
1874
- var postInvitationsInvite = (options) => (options.client ?? client).post({
1875
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1876
- security: [{ scheme: "bearer", type: "http" }],
1877
- url: "/invitations/invite",
1878
- ...options,
1879
- headers: {
1880
- "Content-Type": "application/vnd.api+json",
1881
- ...options.headers
1882
- }
1883
- });
1884
1882
  var getAgentVersions = (options) => (options.client ?? client).get({
1885
1883
  querySerializer: {
1886
1884
  parameters: {
@@ -1902,6 +1900,16 @@ var postAgentVersions = (options) => (options.client ?? client).post({
1902
1900
  ...options.headers
1903
1901
  }
1904
1902
  });
1903
+ var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).patch({
1904
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1905
+ security: [{ scheme: "bearer", type: "http" }],
1906
+ url: "/invitations/{id}/accept-by-user",
1907
+ ...options,
1908
+ headers: {
1909
+ "Content-Type": "application/vnd.api+json",
1910
+ ...options.headers
1911
+ }
1912
+ });
1905
1913
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
1906
1914
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1907
1915
  security: [{ scheme: "bearer", type: "http" }],
@@ -2080,6 +2088,17 @@ var getTransactionsById = (options) => (options.client ?? client).get({
2080
2088
  url: "/transactions/{id}",
2081
2089
  ...options
2082
2090
  });
2091
+ var getUsersMeTenants = (options) => (options.client ?? client).get({
2092
+ querySerializer: {
2093
+ parameters: {
2094
+ filter: { object: { style: "form" } },
2095
+ fields: { object: { style: "form" } }
2096
+ }
2097
+ },
2098
+ security: [{ scheme: "bearer", type: "http" }],
2099
+ url: "/users/me/tenants",
2100
+ ...options
2101
+ });
2083
2102
  var getTenantMemberships = (options) => (options.client ?? client).get({
2084
2103
  querySerializer: {
2085
2104
  parameters: {
@@ -2205,6 +2224,16 @@ var getInvitations = (options) => (options.client ?? client).get({
2205
2224
  url: "/invitations",
2206
2225
  ...options
2207
2226
  });
2227
+ var postInvitations = (options) => (options.client ?? client).post({
2228
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2229
+ security: [{ scheme: "bearer", type: "http" }],
2230
+ url: "/invitations",
2231
+ ...options,
2232
+ headers: {
2233
+ "Content-Type": "application/vnd.api+json",
2234
+ ...options.headers
2235
+ }
2236
+ });
2208
2237
  var getSearchSemantic = (options) => (options.client ?? client).get({
2209
2238
  querySerializer: {
2210
2239
  parameters: {
@@ -2393,6 +2422,16 @@ var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (opti
2393
2422
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
2394
2423
  ...options
2395
2424
  });
2425
+ var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch({
2426
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2427
+ security: [{ scheme: "bearer", type: "http" }],
2428
+ url: "/invitations/{id}/decline",
2429
+ ...options,
2430
+ headers: {
2431
+ "Content-Type": "application/vnd.api+json",
2432
+ ...options.headers
2433
+ }
2434
+ });
2396
2435
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
2397
2436
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2398
2437
  security: [{ scheme: "bearer", type: "http" }],
@@ -3363,6 +3402,17 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
3363
3402
  ...options.headers
3364
3403
  }
3365
3404
  });
3405
+ var getInvitationsMe = (options) => (options.client ?? client).get({
3406
+ querySerializer: {
3407
+ parameters: {
3408
+ filter: { object: { style: "form" } },
3409
+ fields: { object: { style: "form" } }
3410
+ }
3411
+ },
3412
+ security: [{ scheme: "bearer", type: "http" }],
3413
+ url: "/invitations/me",
3414
+ ...options
3415
+ });
3366
3416
  var deleteObjectsById = (options) => (options.client ?? client).delete({
3367
3417
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3368
3418
  security: [{ scheme: "bearer", type: "http" }],
@@ -4323,6 +4373,7 @@ var index_default = gptCore;
4323
4373
  getFieldTemplatesById,
4324
4374
  getInvitations,
4325
4375
  getInvitationsConsumeByToken,
4376
+ getInvitationsMe,
4326
4377
  getLlmAnalytics,
4327
4378
  getLlmAnalyticsById,
4328
4379
  getLlmAnalyticsCosts,
@@ -4374,6 +4425,7 @@ var index_default = gptCore;
4374
4425
  getUsers,
4375
4426
  getUsersById,
4376
4427
  getUsersMe,
4428
+ getUsersMeTenants,
4377
4429
  getWallet,
4378
4430
  getWebhookConfigs,
4379
4431
  getWebhookConfigsById,
@@ -4413,6 +4465,8 @@ var index_default = gptCore;
4413
4465
  patchExtractionResultsByIdCorrections,
4414
4466
  patchExtractionResultsByIdRegenerate,
4415
4467
  patchInvitationsByIdAccept,
4468
+ patchInvitationsByIdAcceptByUser,
4469
+ patchInvitationsByIdDecline,
4416
4470
  patchInvitationsByIdResend,
4417
4471
  patchInvitationsByIdRevoke,
4418
4472
  patchMessagesById,
@@ -4469,8 +4523,8 @@ var index_default = gptCore;
4469
4523
  postExtractionDocumentsUpload,
4470
4524
  postExtractionResults,
4471
4525
  postFieldTemplates,
4526
+ postInvitations,
4472
4527
  postInvitationsAcceptByToken,
4473
- postInvitationsInvite,
4474
4528
  postLlmAnalytics,
4475
4529
  postMessages,
4476
4530
  postNotificationMethods,
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
+ getInvitationsMe: () => getInvitationsMe,
77
78
  getLlmAnalytics: () => getLlmAnalytics,
78
79
  getLlmAnalyticsById: () => getLlmAnalyticsById,
79
80
  getLlmAnalyticsCosts: () => getLlmAnalyticsCosts,
@@ -125,6 +126,7 @@ __export(sdk_gen_exports, {
125
126
  getUsers: () => getUsers,
126
127
  getUsersById: () => getUsersById,
127
128
  getUsersMe: () => getUsersMe,
129
+ getUsersMeTenants: () => getUsersMeTenants,
128
130
  getWallet: () => getWallet,
129
131
  getWebhookConfigs: () => getWebhookConfigs,
130
132
  getWebhookConfigsById: () => getWebhookConfigsById,
@@ -160,6 +162,8 @@ __export(sdk_gen_exports, {
160
162
  patchExtractionResultsByIdCorrections: () => patchExtractionResultsByIdCorrections,
161
163
  patchExtractionResultsByIdRegenerate: () => patchExtractionResultsByIdRegenerate,
162
164
  patchInvitationsByIdAccept: () => patchInvitationsByIdAccept,
165
+ patchInvitationsByIdAcceptByUser: () => patchInvitationsByIdAcceptByUser,
166
+ patchInvitationsByIdDecline: () => patchInvitationsByIdDecline,
163
167
  patchInvitationsByIdResend: () => patchInvitationsByIdResend,
164
168
  patchInvitationsByIdRevoke: () => patchInvitationsByIdRevoke,
165
169
  patchMessagesById: () => patchMessagesById,
@@ -216,8 +220,8 @@ __export(sdk_gen_exports, {
216
220
  postExtractionDocumentsUpload: () => postExtractionDocumentsUpload,
217
221
  postExtractionResults: () => postExtractionResults,
218
222
  postFieldTemplates: () => postFieldTemplates,
223
+ postInvitations: () => postInvitations,
219
224
  postInvitationsAcceptByToken: () => postInvitationsAcceptByToken,
220
- postInvitationsInvite: () => postInvitationsInvite,
221
225
  postLlmAnalytics: () => postLlmAnalytics,
222
226
  postMessages: () => postMessages,
223
227
  postNotificationMethods: () => postNotificationMethods,
@@ -1557,16 +1561,6 @@ var getUserProfilesMe = (options) => (options.client ?? client).get({
1557
1561
  url: "/user_profiles/me",
1558
1562
  ...options
1559
1563
  });
1560
- var postInvitationsInvite = (options) => (options.client ?? client).post({
1561
- querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1562
- security: [{ scheme: "bearer", type: "http" }],
1563
- url: "/invitations/invite",
1564
- ...options,
1565
- headers: {
1566
- "Content-Type": "application/vnd.api+json",
1567
- ...options.headers
1568
- }
1569
- });
1570
1564
  var getAgentVersions = (options) => (options.client ?? client).get({
1571
1565
  querySerializer: {
1572
1566
  parameters: {
@@ -1588,6 +1582,16 @@ var postAgentVersions = (options) => (options.client ?? client).post({
1588
1582
  ...options.headers
1589
1583
  }
1590
1584
  });
1585
+ var patchInvitationsByIdAcceptByUser = (options) => (options.client ?? client).patch({
1586
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1587
+ security: [{ scheme: "bearer", type: "http" }],
1588
+ url: "/invitations/{id}/accept-by-user",
1589
+ ...options,
1590
+ headers: {
1591
+ "Content-Type": "application/vnd.api+json",
1592
+ ...options.headers
1593
+ }
1594
+ });
1591
1595
  var deleteWebhookConfigsById = (options) => (options.client ?? client).delete({
1592
1596
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1593
1597
  security: [{ scheme: "bearer", type: "http" }],
@@ -1766,6 +1770,17 @@ var getTransactionsById = (options) => (options.client ?? client).get({
1766
1770
  url: "/transactions/{id}",
1767
1771
  ...options
1768
1772
  });
1773
+ var getUsersMeTenants = (options) => (options.client ?? client).get({
1774
+ querySerializer: {
1775
+ parameters: {
1776
+ filter: { object: { style: "form" } },
1777
+ fields: { object: { style: "form" } }
1778
+ }
1779
+ },
1780
+ security: [{ scheme: "bearer", type: "http" }],
1781
+ url: "/users/me/tenants",
1782
+ ...options
1783
+ });
1769
1784
  var getTenantMemberships = (options) => (options.client ?? client).get({
1770
1785
  querySerializer: {
1771
1786
  parameters: {
@@ -1891,6 +1906,16 @@ var getInvitations = (options) => (options.client ?? client).get({
1891
1906
  url: "/invitations",
1892
1907
  ...options
1893
1908
  });
1909
+ var postInvitations = (options) => (options.client ?? client).post({
1910
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
1911
+ security: [{ scheme: "bearer", type: "http" }],
1912
+ url: "/invitations",
1913
+ ...options,
1914
+ headers: {
1915
+ "Content-Type": "application/vnd.api+json",
1916
+ ...options.headers
1917
+ }
1918
+ });
1894
1919
  var getSearchSemantic = (options) => (options.client ?? client).get({
1895
1920
  querySerializer: {
1896
1921
  parameters: {
@@ -2079,6 +2104,16 @@ var getExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = (options) => (opti
2079
2104
  url: "/extraction/documents/workspace/{workspace_id}/review_queue",
2080
2105
  ...options
2081
2106
  });
2107
+ var patchInvitationsByIdDecline = (options) => (options.client ?? client).patch({
2108
+ querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2109
+ security: [{ scheme: "bearer", type: "http" }],
2110
+ url: "/invitations/{id}/decline",
2111
+ ...options,
2112
+ headers: {
2113
+ "Content-Type": "application/vnd.api+json",
2114
+ ...options.headers
2115
+ }
2116
+ });
2082
2117
  var postExtractionDocumentsUpload = (options) => (options.client ?? client).post({
2083
2118
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
2084
2119
  security: [{ scheme: "bearer", type: "http" }],
@@ -3049,6 +3084,17 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
3049
3084
  ...options.headers
3050
3085
  }
3051
3086
  });
3087
+ var getInvitationsMe = (options) => (options.client ?? client).get({
3088
+ querySerializer: {
3089
+ parameters: {
3090
+ filter: { object: { style: "form" } },
3091
+ fields: { object: { style: "form" } }
3092
+ }
3093
+ },
3094
+ security: [{ scheme: "bearer", type: "http" }],
3095
+ url: "/invitations/me",
3096
+ ...options
3097
+ });
3052
3098
  var deleteObjectsById = (options) => (options.client ?? client).delete({
3053
3099
  querySerializer: { parameters: { fields: { object: { style: "form" } } } },
3054
3100
  security: [{ scheme: "bearer", type: "http" }],
@@ -4009,6 +4055,7 @@ export {
4009
4055
  getFieldTemplatesById,
4010
4056
  getInvitations,
4011
4057
  getInvitationsConsumeByToken,
4058
+ getInvitationsMe,
4012
4059
  getLlmAnalytics,
4013
4060
  getLlmAnalyticsById,
4014
4061
  getLlmAnalyticsCosts,
@@ -4060,6 +4107,7 @@ export {
4060
4107
  getUsers,
4061
4108
  getUsersById,
4062
4109
  getUsersMe,
4110
+ getUsersMeTenants,
4063
4111
  getWallet,
4064
4112
  getWebhookConfigs,
4065
4113
  getWebhookConfigsById,
@@ -4099,6 +4147,8 @@ export {
4099
4147
  patchExtractionResultsByIdCorrections,
4100
4148
  patchExtractionResultsByIdRegenerate,
4101
4149
  patchInvitationsByIdAccept,
4150
+ patchInvitationsByIdAcceptByUser,
4151
+ patchInvitationsByIdDecline,
4102
4152
  patchInvitationsByIdResend,
4103
4153
  patchInvitationsByIdRevoke,
4104
4154
  patchMessagesById,
@@ -4155,8 +4205,8 @@ export {
4155
4205
  postExtractionDocumentsUpload,
4156
4206
  postExtractionResults,
4157
4207
  postFieldTemplates,
4208
+ postInvitations,
4158
4209
  postInvitationsAcceptByToken,
4159
- postInvitationsInvite,
4160
4210
  postLlmAnalytics,
4161
4211
  postMessages,
4162
4212
  postNotificationMethods,
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.83",
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",