@composio/client 2.0.0-rc.1 → 2.0.0-rc.10
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/README.md +108 -2
- package/dist/{api-key-revocation-BZL5FAx7.mjs → api-key-revocation-CMby8GRJ.mjs} +4 -3
- package/dist/{auth-CEq4JqWm.mjs → auth-Cogku2no.mjs} +1 -1
- package/dist/{auth-configs-CyksMqNB.mjs → auth-configs-Dgujwvul.mjs} +18 -11
- package/dist/{clanker-4wByThQJ.mjs → clanker-Ddf6to-5.mjs} +4 -3
- package/dist/cli-Bx3dRctN.mjs +45 -0
- package/dist/{connected-accounts-B-qN_yLT.mjs → connected-accounts-DNOWcz-A.mjs} +31 -15
- package/dist/{consumer-DWlaGBmh.mjs → consumer-B_ccSE7b.mjs} +8 -8
- package/dist/custom-CEy4IB_M.mjs +88 -0
- package/dist/{custom-BQWoONFY.mjs → custom-JHvAPJnl.mjs} +5 -3
- package/dist/error-DLB1uKM3.mjs +109 -0
- package/dist/{files-B-UnEejx.mjs → files-C74URe8c.mjs} +7 -5
- package/dist/{files-CNZ-ttVS.mjs → files-CxbSR_Qf.mjs} +13 -9
- package/dist/{generate-DSqfJENZ.mjs → generate-Cfcp7BDV.mjs} +5 -3
- package/dist/{request-DwPfYYNF.mjs → generated-operations-DpYfIPgx.mjs} +1266 -157
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +312 -827
- package/dist/keyring-DPTbHLph.mjs +17 -0
- package/dist/{link-CukKZMxs.mjs → link-HtoYUvao.mjs} +4 -3
- package/dist/{logs-B87z4hq7.mjs → logs-B1kxIBDI.mjs} +8 -6
- package/dist/{manage-By-b66OH.mjs → manage-Cv_zl1Pa.mjs} +7 -5
- package/dist/mcp-DPHzA1Gg.mjs +91 -0
- package/dist/{org-BSq_z6fP.mjs → org-DfPJHXZ4.mjs} +9 -8
- package/dist/{owner-BDkEFEVF.mjs → owner-BOJ0ppd_.mjs} +1 -1
- package/dist/pagination.d.mts +56 -0
- package/dist/pagination.mjs +50 -0
- package/dist/{project-_s0fWHut.mjs → project-CBh3olOE.mjs} +7 -7
- package/dist/{project-Cj-NKnWZ.mjs → project-Cyn5wfjX.mjs} +4 -3
- package/dist/project-DgHmeDvz.mjs +47 -0
- package/dist/{project-D-c0Zrrl.mjs → project-z2RqqvAR.mjs} +1 -1
- package/dist/realtime-AhDHHK8s.mjs +28 -0
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +2 -0
- package/dist/resources/custom.mjs +3 -0
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +2 -0
- package/dist/resources/keyring.mjs +3 -0
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +2 -0
- package/dist/resources/session-configs.mjs +24 -0
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-DNm4GFO-.mjs → session-DN52ZBZa.mjs} +3 -2
- package/dist/{session-Do3wHYNe.mjs → session-ZjgXXTor.mjs} +39 -26
- package/dist/{client-CK6bm7nf.d.mts → session-configs-DBYUrVm-.d.mts} +5419 -1016
- package/dist/{tool-router-5OfsPkJ_.mjs → tool-router-oEa6XLps.mjs} +1 -1
- package/dist/toolkits-gnhAqP-a.mjs +62 -0
- package/dist/tools-B6EBv0kQ.mjs +33 -0
- package/dist/tools-CplwSMIX.mjs +69 -0
- package/dist/{trigger-instances-lkKWqHgd.mjs → trigger-instances-BZyLCvgX.mjs} +8 -6
- package/dist/{triggers-DNx9yjbS.mjs → triggers-tFRN45MV.mjs} +6 -4
- package/dist/triggers-types-BOXTcipZ.mjs +34 -0
- package/dist/{usage-Cv9VNy5H.mjs → usage-DsWhJVDd.mjs} +7 -5
- package/dist/{usage-CKyu9RzD.mjs → usage-qjodPLQq.mjs} +7 -5
- package/dist/{webhook-endpoints-DIyg3YlR.mjs → webhook-endpoints-Cv2sK6HF.mjs} +15 -10
- package/dist/webhook-subscriptions-BxPEYH5X.mjs +55 -0
- package/package.json +21 -6
- package/dist/cli-Bi4_ORQO.mjs +0 -45
- package/dist/mcp-B0wla_93.mjs +0 -73
- package/dist/project-C0h91WGF.mjs +0 -42
- package/dist/realtime-BcHoYszT.mjs +0 -26
- package/dist/toolkits-CcE90C2S.mjs +0 -43
- package/dist/tools-B5uEInC8.mjs +0 -30
- package/dist/tools-CdVgfSpk.mjs +0 -63
- package/dist/triggers-types-MjEcrPbH.mjs +0 -31
- package/dist/webhook-subscriptions-B7AgTACq.mjs +0 -48
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { r as path } from "./request-DwPfYYNF.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/compat/resources/cli/realtime.ts
|
|
4
|
-
/**
|
|
5
|
-
* Stainless-shaped `client.cli.realtime` resource: the 2-method Pusher
|
|
6
|
-
* realtime sub-surface of `@composio/client` (auth/credentials on
|
|
7
|
-
* `/cli/realtime/*`).
|
|
8
|
-
*/
|
|
9
|
-
var Realtime = class {
|
|
10
|
-
#client;
|
|
11
|
-
constructor(client) {
|
|
12
|
-
this.#client = client;
|
|
13
|
-
}
|
|
14
|
-
auth(body, options) {
|
|
15
|
-
return this.#client.post(path`/api/v3.1/cli/realtime/auth`, {
|
|
16
|
-
body,
|
|
17
|
-
...options
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
credentials(options) {
|
|
21
|
-
return this.#client.get(path`/api/v3.1/cli/realtime/credentials`, { ...options });
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export { Realtime as t };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { r as path } from "./request-DwPfYYNF.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/compat/resources/toolkits.ts
|
|
4
|
-
/**
|
|
5
|
-
* Stainless-shaped `client.toolkits` resource: the 3-method published surface
|
|
6
|
-
* of `@composio/client` (retrieve/list/retrieveCategories) plus the
|
|
7
|
-
* spec-surface `retrieveMulti` (`POST /toolkits/multi`) and
|
|
8
|
-
* `retrieveChangelog` (`GET /toolkits/changelog`), never published by
|
|
9
|
-
* Stainless — wayfinder ticket 29.
|
|
10
|
-
*/
|
|
11
|
-
var Toolkits = class {
|
|
12
|
-
#client;
|
|
13
|
-
constructor(client) {
|
|
14
|
-
this.#client = client;
|
|
15
|
-
}
|
|
16
|
-
retrieve(slug, query = {}, options) {
|
|
17
|
-
return this.#client.get(path`/api/v3.1/toolkits/${slug}`, {
|
|
18
|
-
query,
|
|
19
|
-
...options
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
list(query = {}, options) {
|
|
23
|
-
return this.#client.get(path`/api/v3.1/toolkits`, {
|
|
24
|
-
query,
|
|
25
|
-
...options
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
retrieveCategories(options) {
|
|
29
|
-
return this.#client.get(path`/api/v3.1/toolkits/categories`, { ...options });
|
|
30
|
-
}
|
|
31
|
-
retrieveChangelog(options) {
|
|
32
|
-
return this.#client.get(path`/api/v3.1/toolkits/changelog`, { ...options });
|
|
33
|
-
}
|
|
34
|
-
retrieveMulti(body = {}, options) {
|
|
35
|
-
return this.#client.post(path`/api/v3.1/toolkits/multi`, {
|
|
36
|
-
body,
|
|
37
|
-
...options
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
//#endregion
|
|
43
|
-
export { Toolkits as t };
|
package/dist/tools-B5uEInC8.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { r as path } from "./request-DwPfYYNF.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/compat/resources/logs/tools.ts
|
|
4
|
-
/**
|
|
5
|
-
* Stainless-shaped `client.logs.tools` resource plus the deprecated
|
|
6
|
-
* spec-surface `listFields` method: tool-execution log retrieval/listing and
|
|
7
|
-
* field metadata over `internal/action_execution/*`.
|
|
8
|
-
*/
|
|
9
|
-
var Tools = class {
|
|
10
|
-
#client;
|
|
11
|
-
constructor(client) {
|
|
12
|
-
this.#client = client;
|
|
13
|
-
}
|
|
14
|
-
retrieve(id, options) {
|
|
15
|
-
return this.#client.get(path`/api/v3.1/internal/action_execution/log/${id}`, { ...options });
|
|
16
|
-
}
|
|
17
|
-
list(body, options) {
|
|
18
|
-
return this.#client.post(path`/api/v3.1/internal/action_execution/logs`, {
|
|
19
|
-
body,
|
|
20
|
-
...options
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
/** @deprecated Deprecated in the input OpenAPI schema. */
|
|
24
|
-
listFields(options) {
|
|
25
|
-
return this.#client.get(path`/api/v3.1/internal/action_execution/fields`, { ...options });
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
export { Tools as t };
|
package/dist/tools-CdVgfSpk.mjs
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { r as path } from "./request-DwPfYYNF.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/compat/resources/tools.ts
|
|
4
|
-
/**
|
|
5
|
-
* Stainless-shaped `client.tools` resource: the 6-method published surface of
|
|
6
|
-
* `@composio/client` (retrieve/list/execute/getInput/proxy/retrieveEnum) plus
|
|
7
|
-
* the spec-surface `retrieveRequiredScopes` (`POST /tools/scopes/required`,
|
|
8
|
-
* never published by Stainless — wayfinder ticket 29), dispatched through the
|
|
9
|
-
* handwritten kernel.
|
|
10
|
-
*/
|
|
11
|
-
var Tools = class {
|
|
12
|
-
#client;
|
|
13
|
-
constructor(client) {
|
|
14
|
-
this.#client = client;
|
|
15
|
-
}
|
|
16
|
-
retrieve(toolSlug, query = {}, options) {
|
|
17
|
-
return this.#client.get(path`/api/v3.1/tools/${toolSlug}`, {
|
|
18
|
-
query,
|
|
19
|
-
...options
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
list(query = {}, options) {
|
|
23
|
-
return this.#client.get(path`/api/v3.1/tools`, {
|
|
24
|
-
query,
|
|
25
|
-
...options
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
execute(toolSlug, params = {}, options) {
|
|
29
|
-
const { "x-llm-gateway-headers": xLlmGatewayHeaders, ...body } = params ?? {};
|
|
30
|
-
return this.#client.post(path`/api/v3.1/tools/execute/${toolSlug}`, {
|
|
31
|
-
body,
|
|
32
|
-
...options,
|
|
33
|
-
headers: {
|
|
34
|
-
...xLlmGatewayHeaders != null ? { "x-llm-gateway-headers": xLlmGatewayHeaders } : void 0,
|
|
35
|
-
...options?.headers
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
getInput(toolSlug, body, options) {
|
|
40
|
-
return this.#client.post(path`/api/v3.1/tools/execute/${toolSlug}/input`, {
|
|
41
|
-
body,
|
|
42
|
-
...options
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
proxy(body, options) {
|
|
46
|
-
return this.#client.post(path`/api/v3.1/tools/execute/proxy`, {
|
|
47
|
-
body,
|
|
48
|
-
...options
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
retrieveEnum(options) {
|
|
52
|
-
return this.#client.get(path`/api/v3.1/tools/enum`, { ...options });
|
|
53
|
-
}
|
|
54
|
-
retrieveRequiredScopes(body, options) {
|
|
55
|
-
return this.#client.post(path`/api/v3.1/tools/scopes/required`, {
|
|
56
|
-
body,
|
|
57
|
-
...options
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
//#endregion
|
|
63
|
-
export { Tools as t };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { r as path } from "./request-DwPfYYNF.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/compat/resources/triggers-types.ts
|
|
4
|
-
/**
|
|
5
|
-
* Stainless-shaped `client.triggersTypes` resource: the exact 3-method surface
|
|
6
|
-
* of `@composio/client` (retrieve/list/retrieveEnum).
|
|
7
|
-
*/
|
|
8
|
-
var TriggersTypes = class {
|
|
9
|
-
#client;
|
|
10
|
-
constructor(client) {
|
|
11
|
-
this.#client = client;
|
|
12
|
-
}
|
|
13
|
-
retrieve(slug, query = {}, options) {
|
|
14
|
-
return this.#client.get(path`/api/v3.1/triggers_types/${slug}`, {
|
|
15
|
-
query,
|
|
16
|
-
...options
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
list(query = {}, options) {
|
|
20
|
-
return this.#client.get(path`/api/v3.1/triggers_types`, {
|
|
21
|
-
query,
|
|
22
|
-
...options
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
retrieveEnum(options) {
|
|
26
|
-
return this.#client.get(path`/api/v3.1/triggers_types/list/enum`, { ...options });
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
//#endregion
|
|
31
|
-
export { TriggersTypes as t };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { r as path } from "./request-DwPfYYNF.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/compat/resources/webhook-subscriptions.ts
|
|
4
|
-
/**
|
|
5
|
-
* Spec-surface `client.webhookSubscriptions` resource: the 7-method
|
|
6
|
-
* `/webhook_subscriptions` surface of the v3.1 spec
|
|
7
|
-
* (create/list/retrieve/update/delete/rotateSecret/listEventTypes), never
|
|
8
|
-
* published by Stainless — wayfinder ticket 30.
|
|
9
|
-
*/
|
|
10
|
-
var WebhookSubscriptions = class {
|
|
11
|
-
#client;
|
|
12
|
-
constructor(client) {
|
|
13
|
-
this.#client = client;
|
|
14
|
-
}
|
|
15
|
-
create(body, options) {
|
|
16
|
-
return this.#client.post(path`/api/v3.1/webhook_subscriptions`, {
|
|
17
|
-
body,
|
|
18
|
-
...options
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
retrieve(id, options) {
|
|
22
|
-
return this.#client.get(path`/api/v3.1/webhook_subscriptions/${id}`, { ...options });
|
|
23
|
-
}
|
|
24
|
-
update(id, body = {}, options) {
|
|
25
|
-
return this.#client.patch(path`/api/v3.1/webhook_subscriptions/${id}`, {
|
|
26
|
-
body,
|
|
27
|
-
...options
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
list(query = {}, options) {
|
|
31
|
-
return this.#client.get(path`/api/v3.1/webhook_subscriptions`, {
|
|
32
|
-
query,
|
|
33
|
-
...options
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
delete(id, options) {
|
|
37
|
-
return this.#client.delete(path`/api/v3.1/webhook_subscriptions/${id}`, { ...options });
|
|
38
|
-
}
|
|
39
|
-
listEventTypes(options) {
|
|
40
|
-
return this.#client.get(path`/api/v3.1/webhook_subscriptions/event_types`, { ...options });
|
|
41
|
-
}
|
|
42
|
-
rotateSecret(id, options) {
|
|
43
|
-
return this.#client.post(path`/api/v3.1/webhook_subscriptions/${id}/rotate_secret`, { ...options });
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
//#endregion
|
|
48
|
-
export { WebhookSubscriptions as t };
|