@gpt-core/client 0.4.5 → 0.4.7

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
@@ -155,9 +155,12 @@ __export(index_exports, {
155
155
  getWebhookConfigsById: () => getWebhookConfigsById,
156
156
  getWebhookDeliveries: () => getWebhookDeliveries,
157
157
  getWebhookDeliveriesById: () => getWebhookDeliveriesById,
158
+ getWebhookEvents: () => getWebhookEvents,
159
+ getWebhookEventsById: () => getWebhookEventsById,
158
160
  getWorkspaceMemberships: () => getWorkspaceMemberships,
159
161
  getWorkspaces: () => getWorkspaces,
160
162
  getWorkspacesById: () => getWorkspacesById,
163
+ getWorkspacesByWorkspaceIdExtractionExports: () => getWorkspacesByWorkspaceIdExtractionExports,
161
164
  getWorkspacesByWorkspaceIdExtractionExportsById: () => getWorkspacesByWorkspaceIdExtractionExportsById,
162
165
  getWorkspacesMine: () => getWorkspacesMine,
163
166
  handleApiError: () => handleApiError,
@@ -195,6 +198,7 @@ __export(index_exports, {
195
198
  patchWalletAddonsByAddonSlugCancel: () => patchWalletAddonsByAddonSlugCancel,
196
199
  patchWalletPlan: () => patchWalletPlan,
197
200
  patchWebhookConfigsById: () => patchWebhookConfigsById,
201
+ patchWebhookConfigsByIdRotateSecret: () => patchWebhookConfigsByIdRotateSecret,
198
202
  patchWorkspaceMembershipsByWorkspaceIdByUserId: () => patchWorkspaceMembershipsByWorkspaceIdByUserId,
199
203
  patchWorkspacesById: () => patchWorkspacesById,
200
204
  patchWorkspacesByIdAllocate: () => patchWorkspacesByIdAllocate,
@@ -257,7 +261,6 @@ __export(index_exports, {
257
261
  postUsersAuthRegisterWithOidc: () => postUsersAuthRegisterWithOidc,
258
262
  postUsersRegisterIsv: () => postUsersRegisterIsv,
259
263
  postWebhookConfigs: () => postWebhookConfigs,
260
- postWebhookConfigsByIdRotateSecret: () => postWebhookConfigsByIdRotateSecret,
261
264
  postWebhookConfigsByIdTest: () => postWebhookConfigsByIdTest,
262
265
  postWebhookDeliveriesByIdRetry: () => postWebhookDeliveriesByIdRetry,
263
266
  postWorkspaceMemberships: () => postWorkspaceMemberships,
@@ -1934,6 +1937,16 @@ var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
1934
1937
  url: "/ai/graph/nodes/{id}",
1935
1938
  ...options
1936
1939
  });
1940
+ var getWebhookEventsById = (options) => (options.client ?? client).get({
1941
+ security: [{ scheme: "bearer", type: "http" }],
1942
+ url: "/webhook_events/{id}",
1943
+ ...options
1944
+ });
1945
+ var getWebhookEvents = (options) => (options.client ?? client).get({
1946
+ security: [{ scheme: "bearer", type: "http" }],
1947
+ url: "/webhook_events",
1948
+ ...options
1949
+ });
1937
1950
  var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
1938
1951
  security: [{ scheme: "bearer", type: "http" }],
1939
1952
  url: "/wallet/addons/{addon_slug}/cancel",
@@ -2265,7 +2278,7 @@ var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? c
2265
2278
  ...options.headers
2266
2279
  }
2267
2280
  });
2268
- var postWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).post({
2281
+ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
2269
2282
  security: [{ scheme: "bearer", type: "http" }],
2270
2283
  url: "/webhook_configs/{id}/rotate_secret",
2271
2284
  ...options,
@@ -2509,6 +2522,11 @@ var getExtractionBatchesById = (options) => (options.client ?? client).get({
2509
2522
  url: "/extraction/batches/{id}",
2510
2523
  ...options
2511
2524
  });
2525
+ var getWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).get({
2526
+ security: [{ scheme: "bearer", type: "http" }],
2527
+ url: "/workspaces/{workspace_id}/extraction/exports",
2528
+ ...options
2529
+ });
2512
2530
  var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).post({
2513
2531
  security: [{ scheme: "bearer", type: "http" }],
2514
2532
  url: "/workspaces/{workspace_id}/extraction/exports",
@@ -3020,9 +3038,12 @@ async function collectStreamedMessage(stream) {
3020
3038
  getWebhookConfigsById,
3021
3039
  getWebhookDeliveries,
3022
3040
  getWebhookDeliveriesById,
3041
+ getWebhookEvents,
3042
+ getWebhookEventsById,
3023
3043
  getWorkspaceMemberships,
3024
3044
  getWorkspaces,
3025
3045
  getWorkspacesById,
3046
+ getWorkspacesByWorkspaceIdExtractionExports,
3026
3047
  getWorkspacesByWorkspaceIdExtractionExportsById,
3027
3048
  getWorkspacesMine,
3028
3049
  handleApiError,
@@ -3060,6 +3081,7 @@ async function collectStreamedMessage(stream) {
3060
3081
  patchWalletAddonsByAddonSlugCancel,
3061
3082
  patchWalletPlan,
3062
3083
  patchWebhookConfigsById,
3084
+ patchWebhookConfigsByIdRotateSecret,
3063
3085
  patchWorkspaceMembershipsByWorkspaceIdByUserId,
3064
3086
  patchWorkspacesById,
3065
3087
  patchWorkspacesByIdAllocate,
@@ -3122,7 +3144,6 @@ async function collectStreamedMessage(stream) {
3122
3144
  postUsersAuthRegisterWithOidc,
3123
3145
  postUsersRegisterIsv,
3124
3146
  postWebhookConfigs,
3125
- postWebhookConfigsByIdRotateSecret,
3126
3147
  postWebhookConfigsByIdTest,
3127
3148
  postWebhookDeliveriesByIdRetry,
3128
3149
  postWorkspaceMemberships,
package/dist/index.mjs CHANGED
@@ -1661,6 +1661,16 @@ var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
1661
1661
  url: "/ai/graph/nodes/{id}",
1662
1662
  ...options
1663
1663
  });
1664
+ var getWebhookEventsById = (options) => (options.client ?? client).get({
1665
+ security: [{ scheme: "bearer", type: "http" }],
1666
+ url: "/webhook_events/{id}",
1667
+ ...options
1668
+ });
1669
+ var getWebhookEvents = (options) => (options.client ?? client).get({
1670
+ security: [{ scheme: "bearer", type: "http" }],
1671
+ url: "/webhook_events",
1672
+ ...options
1673
+ });
1664
1674
  var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
1665
1675
  security: [{ scheme: "bearer", type: "http" }],
1666
1676
  url: "/wallet/addons/{addon_slug}/cancel",
@@ -1992,7 +2002,7 @@ var patchTenantMembershipsByTenantIdByUserId = (options) => (options.client ?? c
1992
2002
  ...options.headers
1993
2003
  }
1994
2004
  });
1995
- var postWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).post({
2005
+ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
1996
2006
  security: [{ scheme: "bearer", type: "http" }],
1997
2007
  url: "/webhook_configs/{id}/rotate_secret",
1998
2008
  ...options,
@@ -2236,6 +2246,11 @@ var getExtractionBatchesById = (options) => (options.client ?? client).get({
2236
2246
  url: "/extraction/batches/{id}",
2237
2247
  ...options
2238
2248
  });
2249
+ var getWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).get({
2250
+ security: [{ scheme: "bearer", type: "http" }],
2251
+ url: "/workspaces/{workspace_id}/extraction/exports",
2252
+ ...options
2253
+ });
2239
2254
  var postWorkspacesByWorkspaceIdExtractionExports = (options) => (options.client ?? client).post({
2240
2255
  security: [{ scheme: "bearer", type: "http" }],
2241
2256
  url: "/workspaces/{workspace_id}/extraction/exports",
@@ -2746,9 +2761,12 @@ export {
2746
2761
  getWebhookConfigsById,
2747
2762
  getWebhookDeliveries,
2748
2763
  getWebhookDeliveriesById,
2764
+ getWebhookEvents,
2765
+ getWebhookEventsById,
2749
2766
  getWorkspaceMemberships,
2750
2767
  getWorkspaces,
2751
2768
  getWorkspacesById,
2769
+ getWorkspacesByWorkspaceIdExtractionExports,
2752
2770
  getWorkspacesByWorkspaceIdExtractionExportsById,
2753
2771
  getWorkspacesMine,
2754
2772
  handleApiError,
@@ -2786,6 +2804,7 @@ export {
2786
2804
  patchWalletAddonsByAddonSlugCancel,
2787
2805
  patchWalletPlan,
2788
2806
  patchWebhookConfigsById,
2807
+ patchWebhookConfigsByIdRotateSecret,
2789
2808
  patchWorkspaceMembershipsByWorkspaceIdByUserId,
2790
2809
  patchWorkspacesById,
2791
2810
  patchWorkspacesByIdAllocate,
@@ -2848,7 +2867,6 @@ export {
2848
2867
  postUsersAuthRegisterWithOidc,
2849
2868
  postUsersRegisterIsv,
2850
2869
  postWebhookConfigs,
2851
- postWebhookConfigsByIdRotateSecret,
2852
2870
  postWebhookConfigsByIdTest,
2853
2871
  postWebhookDeliveriesByIdRetry,
2854
2872
  postWorkspaceMemberships,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpt-core/client",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
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",