@gpt-core/client 0.4.6 → 0.4.8
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 +504 -3
- package/dist/index.d.ts +504 -3
- package/dist/index.js +14 -0
- package/dist/index.mjs +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -155,6 +155,8 @@ __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,
|
|
@@ -1935,6 +1937,16 @@ var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
|
|
|
1935
1937
|
url: "/ai/graph/nodes/{id}",
|
|
1936
1938
|
...options
|
|
1937
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
|
+
});
|
|
1938
1950
|
var patchWalletAddonsByAddonSlugCancel = (options) => (options.client ?? client).patch({
|
|
1939
1951
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1940
1952
|
url: "/wallet/addons/{addon_slug}/cancel",
|
|
@@ -3026,6 +3038,8 @@ async function collectStreamedMessage(stream) {
|
|
|
3026
3038
|
getWebhookConfigsById,
|
|
3027
3039
|
getWebhookDeliveries,
|
|
3028
3040
|
getWebhookDeliveriesById,
|
|
3041
|
+
getWebhookEvents,
|
|
3042
|
+
getWebhookEventsById,
|
|
3029
3043
|
getWorkspaceMemberships,
|
|
3030
3044
|
getWorkspaces,
|
|
3031
3045
|
getWorkspacesById,
|
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",
|
|
@@ -2751,6 +2761,8 @@ export {
|
|
|
2751
2761
|
getWebhookConfigsById,
|
|
2752
2762
|
getWebhookDeliveries,
|
|
2753
2763
|
getWebhookDeliveriesById,
|
|
2764
|
+
getWebhookEvents,
|
|
2765
|
+
getWebhookEventsById,
|
|
2754
2766
|
getWorkspaceMemberships,
|
|
2755
2767
|
getWorkspaces,
|
|
2756
2768
|
getWorkspacesById,
|
package/package.json
CHANGED