@composio/client 0.1.0-alpha.61 → 0.1.0-alpha.63
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/CHANGELOG.md +53 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +12 -1
- package/resources/auth-configs.d.mts +17 -0
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +17 -0
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/connected-accounts.d.mts +981 -137
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +981 -137
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +27 -4
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +27 -4
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/link.d.mts +168 -1
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts +168 -1
- package/resources/link.d.ts.map +1 -1
- package/resources/mcp/mcp.d.mts +1 -1
- package/resources/mcp/mcp.d.ts +1 -1
- package/resources/mcp/mcp.js +1 -1
- package/resources/mcp/mcp.mjs +1 -1
- package/resources/tool-router/index.d.mts +1 -1
- package/resources/tool-router/index.d.mts.map +1 -1
- package/resources/tool-router/index.d.ts +1 -1
- package/resources/tool-router/index.d.ts.map +1 -1
- package/resources/tool-router/index.js.map +1 -1
- package/resources/tool-router/index.mjs.map +1 -1
- package/resources/tool-router/session/index.d.mts +1 -1
- package/resources/tool-router/session/index.d.mts.map +1 -1
- package/resources/tool-router/session/index.d.ts +1 -1
- package/resources/tool-router/session/index.d.ts.map +1 -1
- package/resources/tool-router/session/index.js.map +1 -1
- package/resources/tool-router/session/index.mjs.map +1 -1
- package/resources/tool-router/session/session.d.mts +879 -12
- package/resources/tool-router/session/session.d.mts.map +1 -1
- package/resources/tool-router/session/session.d.ts +879 -12
- package/resources/tool-router/session/session.d.ts.map +1 -1
- package/resources/tool-router/session/session.js +29 -1
- package/resources/tool-router/session/session.js.map +1 -1
- package/resources/tool-router/session/session.mjs +29 -1
- package/resources/tool-router/session/session.mjs.map +1 -1
- package/resources/tool-router/tool-router.d.mts +4 -4
- package/resources/tool-router/tool-router.d.mts.map +1 -1
- package/resources/tool-router/tool-router.d.ts +4 -4
- package/resources/tool-router/tool-router.d.ts.map +1 -1
- package/resources/tool-router/tool-router.js +2 -2
- package/resources/tool-router/tool-router.js.map +1 -1
- package/resources/tool-router/tool-router.mjs +2 -2
- package/resources/tool-router/tool-router.mjs.map +1 -1
- package/resources/toolkits.d.mts +13 -0
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +13 -0
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/tools.d.mts +114 -2
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +114 -2
- package/resources/tools.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +6 -1
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +6 -1
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/src/client.ts +4 -0
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/auth-configs.ts +22 -0
- package/src/resources/connected-accounts.ts +3698 -2112
- package/src/resources/index.ts +2 -0
- package/src/resources/link.ts +329 -1
- package/src/resources/mcp/mcp.ts +1 -1
- package/src/resources/tool-router/index.ts +2 -0
- package/src/resources/tool-router/session/index.ts +2 -0
- package/src/resources/tool-router/session/session.ts +1343 -48
- package/src/resources/tool-router/tool-router.ts +6 -2
- package/src/resources/toolkits.ts +16 -0
- package/src/resources/tools.ts +188 -2
- package/src/resources/trigger-instances/trigger-instances.ts +7 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/index.ts
CHANGED
|
@@ -26,10 +26,12 @@ export {
|
|
|
26
26
|
type ConnectedAccountRetrieveResponse,
|
|
27
27
|
type ConnectedAccountListResponse,
|
|
28
28
|
type ConnectedAccountDeleteResponse,
|
|
29
|
+
type ConnectedAccountPatchResponse,
|
|
29
30
|
type ConnectedAccountRefreshResponse,
|
|
30
31
|
type ConnectedAccountUpdateStatusResponse,
|
|
31
32
|
type ConnectedAccountCreateParams,
|
|
32
33
|
type ConnectedAccountListParams,
|
|
34
|
+
type ConnectedAccountPatchParams,
|
|
33
35
|
type ConnectedAccountRefreshParams,
|
|
34
36
|
type ConnectedAccountUpdateStatusParams,
|
|
35
37
|
} from './connected-accounts';
|
package/src/resources/link.ts
CHANGED
|
@@ -126,7 +126,13 @@ export interface LinkCreateParams {
|
|
|
126
126
|
| LinkCreateParams.UnionMember64
|
|
127
127
|
| LinkCreateParams.UnionMember65
|
|
128
128
|
| LinkCreateParams.UnionMember66
|
|
129
|
-
| LinkCreateParams.UnionMember67
|
|
129
|
+
| LinkCreateParams.UnionMember67
|
|
130
|
+
| LinkCreateParams.UnionMember68
|
|
131
|
+
| LinkCreateParams.UnionMember69
|
|
132
|
+
| LinkCreateParams.UnionMember70
|
|
133
|
+
| LinkCreateParams.UnionMember71
|
|
134
|
+
| LinkCreateParams.UnionMember72
|
|
135
|
+
| LinkCreateParams.UnionMember73;
|
|
130
136
|
}
|
|
131
137
|
|
|
132
138
|
export namespace LinkCreateParams {
|
|
@@ -3813,6 +3819,328 @@ export namespace LinkCreateParams {
|
|
|
3813
3819
|
|
|
3814
3820
|
[k: string]: unknown;
|
|
3815
3821
|
}
|
|
3822
|
+
|
|
3823
|
+
export interface UnionMember68 {
|
|
3824
|
+
account_id?: string;
|
|
3825
|
+
|
|
3826
|
+
account_url?: string;
|
|
3827
|
+
|
|
3828
|
+
api_url?: string;
|
|
3829
|
+
|
|
3830
|
+
base_url?: string;
|
|
3831
|
+
|
|
3832
|
+
borneo_dashboard_url?: string;
|
|
3833
|
+
|
|
3834
|
+
COMPANYDOMAIN?: string;
|
|
3835
|
+
|
|
3836
|
+
dc?: string;
|
|
3837
|
+
|
|
3838
|
+
domain?: string;
|
|
3839
|
+
|
|
3840
|
+
extension?: string;
|
|
3841
|
+
|
|
3842
|
+
form_api_base_url?: string;
|
|
3843
|
+
|
|
3844
|
+
instanceEndpoint?: string;
|
|
3845
|
+
|
|
3846
|
+
instanceName?: string;
|
|
3847
|
+
|
|
3848
|
+
proxy_password?: string;
|
|
3849
|
+
|
|
3850
|
+
proxy_username?: string;
|
|
3851
|
+
|
|
3852
|
+
region?: string;
|
|
3853
|
+
|
|
3854
|
+
server_location?: string;
|
|
3855
|
+
|
|
3856
|
+
shop?: string;
|
|
3857
|
+
|
|
3858
|
+
site_name?: string;
|
|
3859
|
+
|
|
3860
|
+
subdomain?: string;
|
|
3861
|
+
|
|
3862
|
+
version?: string;
|
|
3863
|
+
|
|
3864
|
+
your_server?: string;
|
|
3865
|
+
|
|
3866
|
+
'your-domain'?: string;
|
|
3867
|
+
|
|
3868
|
+
[k: string]: unknown;
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3871
|
+
export interface UnionMember69 {
|
|
3872
|
+
account_id?: string;
|
|
3873
|
+
|
|
3874
|
+
account_url?: string;
|
|
3875
|
+
|
|
3876
|
+
api_url?: string;
|
|
3877
|
+
|
|
3878
|
+
base_url?: string;
|
|
3879
|
+
|
|
3880
|
+
borneo_dashboard_url?: string;
|
|
3881
|
+
|
|
3882
|
+
COMPANYDOMAIN?: string;
|
|
3883
|
+
|
|
3884
|
+
dc?: string;
|
|
3885
|
+
|
|
3886
|
+
domain?: string;
|
|
3887
|
+
|
|
3888
|
+
extension?: string;
|
|
3889
|
+
|
|
3890
|
+
form_api_base_url?: string;
|
|
3891
|
+
|
|
3892
|
+
instanceEndpoint?: string;
|
|
3893
|
+
|
|
3894
|
+
instanceName?: string;
|
|
3895
|
+
|
|
3896
|
+
proxy_password?: string;
|
|
3897
|
+
|
|
3898
|
+
proxy_username?: string;
|
|
3899
|
+
|
|
3900
|
+
region?: string;
|
|
3901
|
+
|
|
3902
|
+
server_location?: string;
|
|
3903
|
+
|
|
3904
|
+
shop?: string;
|
|
3905
|
+
|
|
3906
|
+
site_name?: string;
|
|
3907
|
+
|
|
3908
|
+
subdomain?: string;
|
|
3909
|
+
|
|
3910
|
+
version?: string;
|
|
3911
|
+
|
|
3912
|
+
your_server?: string;
|
|
3913
|
+
|
|
3914
|
+
'your-domain'?: string;
|
|
3915
|
+
|
|
3916
|
+
[k: string]: unknown;
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
export interface UnionMember70 {
|
|
3920
|
+
access_token: string;
|
|
3921
|
+
|
|
3922
|
+
client_id: string;
|
|
3923
|
+
|
|
3924
|
+
client_secret: string;
|
|
3925
|
+
|
|
3926
|
+
account_id?: string;
|
|
3927
|
+
|
|
3928
|
+
account_url?: string;
|
|
3929
|
+
|
|
3930
|
+
api_url?: string;
|
|
3931
|
+
|
|
3932
|
+
base_url?: string;
|
|
3933
|
+
|
|
3934
|
+
borneo_dashboard_url?: string;
|
|
3935
|
+
|
|
3936
|
+
COMPANYDOMAIN?: string;
|
|
3937
|
+
|
|
3938
|
+
dc?: string;
|
|
3939
|
+
|
|
3940
|
+
domain?: string;
|
|
3941
|
+
|
|
3942
|
+
expires_at?: string;
|
|
3943
|
+
|
|
3944
|
+
expires_in?: number | string | null;
|
|
3945
|
+
|
|
3946
|
+
extension?: string;
|
|
3947
|
+
|
|
3948
|
+
form_api_base_url?: string;
|
|
3949
|
+
|
|
3950
|
+
instanceEndpoint?: string;
|
|
3951
|
+
|
|
3952
|
+
instanceName?: string;
|
|
3953
|
+
|
|
3954
|
+
proxy_password?: string;
|
|
3955
|
+
|
|
3956
|
+
proxy_username?: string;
|
|
3957
|
+
|
|
3958
|
+
region?: string;
|
|
3959
|
+
|
|
3960
|
+
scope?: string | Array<string> | null;
|
|
3961
|
+
|
|
3962
|
+
server_location?: string;
|
|
3963
|
+
|
|
3964
|
+
shop?: string;
|
|
3965
|
+
|
|
3966
|
+
site_name?: string;
|
|
3967
|
+
|
|
3968
|
+
subdomain?: string;
|
|
3969
|
+
|
|
3970
|
+
token_type?: string;
|
|
3971
|
+
|
|
3972
|
+
version?: string;
|
|
3973
|
+
|
|
3974
|
+
your_server?: string;
|
|
3975
|
+
|
|
3976
|
+
'your-domain'?: string;
|
|
3977
|
+
|
|
3978
|
+
[k: string]: unknown;
|
|
3979
|
+
}
|
|
3980
|
+
|
|
3981
|
+
export interface UnionMember71 {
|
|
3982
|
+
access_token: string;
|
|
3983
|
+
|
|
3984
|
+
client_id: string;
|
|
3985
|
+
|
|
3986
|
+
client_secret: string;
|
|
3987
|
+
|
|
3988
|
+
account_id?: string;
|
|
3989
|
+
|
|
3990
|
+
account_url?: string;
|
|
3991
|
+
|
|
3992
|
+
api_url?: string;
|
|
3993
|
+
|
|
3994
|
+
base_url?: string;
|
|
3995
|
+
|
|
3996
|
+
borneo_dashboard_url?: string;
|
|
3997
|
+
|
|
3998
|
+
COMPANYDOMAIN?: string;
|
|
3999
|
+
|
|
4000
|
+
dc?: string;
|
|
4001
|
+
|
|
4002
|
+
domain?: string;
|
|
4003
|
+
|
|
4004
|
+
expires_at?: string;
|
|
4005
|
+
|
|
4006
|
+
expires_in?: number | string | null;
|
|
4007
|
+
|
|
4008
|
+
extension?: string;
|
|
4009
|
+
|
|
4010
|
+
form_api_base_url?: string;
|
|
4011
|
+
|
|
4012
|
+
instanceEndpoint?: string;
|
|
4013
|
+
|
|
4014
|
+
instanceName?: string;
|
|
4015
|
+
|
|
4016
|
+
proxy_password?: string;
|
|
4017
|
+
|
|
4018
|
+
proxy_username?: string;
|
|
4019
|
+
|
|
4020
|
+
region?: string;
|
|
4021
|
+
|
|
4022
|
+
scope?: string | Array<string> | null;
|
|
4023
|
+
|
|
4024
|
+
server_location?: string;
|
|
4025
|
+
|
|
4026
|
+
shop?: string;
|
|
4027
|
+
|
|
4028
|
+
site_name?: string;
|
|
4029
|
+
|
|
4030
|
+
subdomain?: string;
|
|
4031
|
+
|
|
4032
|
+
token_type?: string;
|
|
4033
|
+
|
|
4034
|
+
version?: string;
|
|
4035
|
+
|
|
4036
|
+
your_server?: string;
|
|
4037
|
+
|
|
4038
|
+
'your-domain'?: string;
|
|
4039
|
+
|
|
4040
|
+
[k: string]: unknown;
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
export interface UnionMember72 {
|
|
4044
|
+
account_id?: string;
|
|
4045
|
+
|
|
4046
|
+
account_url?: string;
|
|
4047
|
+
|
|
4048
|
+
api_url?: string;
|
|
4049
|
+
|
|
4050
|
+
base_url?: string;
|
|
4051
|
+
|
|
4052
|
+
borneo_dashboard_url?: string;
|
|
4053
|
+
|
|
4054
|
+
COMPANYDOMAIN?: string;
|
|
4055
|
+
|
|
4056
|
+
dc?: string;
|
|
4057
|
+
|
|
4058
|
+
domain?: string;
|
|
4059
|
+
|
|
4060
|
+
error?: string;
|
|
4061
|
+
|
|
4062
|
+
error_description?: string;
|
|
4063
|
+
|
|
4064
|
+
extension?: string;
|
|
4065
|
+
|
|
4066
|
+
form_api_base_url?: string;
|
|
4067
|
+
|
|
4068
|
+
instanceEndpoint?: string;
|
|
4069
|
+
|
|
4070
|
+
instanceName?: string;
|
|
4071
|
+
|
|
4072
|
+
proxy_password?: string;
|
|
4073
|
+
|
|
4074
|
+
proxy_username?: string;
|
|
4075
|
+
|
|
4076
|
+
region?: string;
|
|
4077
|
+
|
|
4078
|
+
server_location?: string;
|
|
4079
|
+
|
|
4080
|
+
shop?: string;
|
|
4081
|
+
|
|
4082
|
+
site_name?: string;
|
|
4083
|
+
|
|
4084
|
+
subdomain?: string;
|
|
4085
|
+
|
|
4086
|
+
version?: string;
|
|
4087
|
+
|
|
4088
|
+
your_server?: string;
|
|
4089
|
+
|
|
4090
|
+
'your-domain'?: string;
|
|
4091
|
+
|
|
4092
|
+
[k: string]: unknown;
|
|
4093
|
+
}
|
|
4094
|
+
|
|
4095
|
+
export interface UnionMember73 {
|
|
4096
|
+
account_id?: string;
|
|
4097
|
+
|
|
4098
|
+
account_url?: string;
|
|
4099
|
+
|
|
4100
|
+
api_url?: string;
|
|
4101
|
+
|
|
4102
|
+
base_url?: string;
|
|
4103
|
+
|
|
4104
|
+
borneo_dashboard_url?: string;
|
|
4105
|
+
|
|
4106
|
+
COMPANYDOMAIN?: string;
|
|
4107
|
+
|
|
4108
|
+
dc?: string;
|
|
4109
|
+
|
|
4110
|
+
domain?: string;
|
|
4111
|
+
|
|
4112
|
+
expired_at?: string;
|
|
4113
|
+
|
|
4114
|
+
extension?: string;
|
|
4115
|
+
|
|
4116
|
+
form_api_base_url?: string;
|
|
4117
|
+
|
|
4118
|
+
instanceEndpoint?: string;
|
|
4119
|
+
|
|
4120
|
+
instanceName?: string;
|
|
4121
|
+
|
|
4122
|
+
proxy_password?: string;
|
|
4123
|
+
|
|
4124
|
+
proxy_username?: string;
|
|
4125
|
+
|
|
4126
|
+
region?: string;
|
|
4127
|
+
|
|
4128
|
+
server_location?: string;
|
|
4129
|
+
|
|
4130
|
+
shop?: string;
|
|
4131
|
+
|
|
4132
|
+
site_name?: string;
|
|
4133
|
+
|
|
4134
|
+
subdomain?: string;
|
|
4135
|
+
|
|
4136
|
+
version?: string;
|
|
4137
|
+
|
|
4138
|
+
your_server?: string;
|
|
4139
|
+
|
|
4140
|
+
'your-domain'?: string;
|
|
4141
|
+
|
|
4142
|
+
[k: string]: unknown;
|
|
4143
|
+
}
|
|
3816
4144
|
}
|
|
3817
4145
|
|
|
3818
4146
|
export declare namespace Link {
|
package/src/resources/mcp/mcp.ts
CHANGED
|
@@ -7,6 +7,7 @@ export {
|
|
|
7
7
|
type SessionExecuteResponse,
|
|
8
8
|
type SessionExecuteMetaResponse,
|
|
9
9
|
type SessionLinkResponse,
|
|
10
|
+
type SessionProxyExecuteResponse,
|
|
10
11
|
type SessionSearchResponse,
|
|
11
12
|
type SessionToolkitsResponse,
|
|
12
13
|
type SessionToolsResponse,
|
|
@@ -14,6 +15,7 @@ export {
|
|
|
14
15
|
type SessionExecuteParams,
|
|
15
16
|
type SessionExecuteMetaParams,
|
|
16
17
|
type SessionLinkParams,
|
|
18
|
+
type SessionProxyExecuteParams,
|
|
17
19
|
type SessionSearchParams,
|
|
18
20
|
type SessionToolkitsParams,
|
|
19
21
|
type SessionToolsParams,
|
|
@@ -18,6 +18,7 @@ export {
|
|
|
18
18
|
type SessionExecuteResponse,
|
|
19
19
|
type SessionExecuteMetaResponse,
|
|
20
20
|
type SessionLinkResponse,
|
|
21
|
+
type SessionProxyExecuteResponse,
|
|
21
22
|
type SessionSearchResponse,
|
|
22
23
|
type SessionToolkitsResponse,
|
|
23
24
|
type SessionToolsResponse,
|
|
@@ -25,6 +26,7 @@ export {
|
|
|
25
26
|
type SessionExecuteParams,
|
|
26
27
|
type SessionExecuteMetaParams,
|
|
27
28
|
type SessionLinkParams,
|
|
29
|
+
type SessionProxyExecuteParams,
|
|
28
30
|
type SessionSearchParams,
|
|
29
31
|
type SessionToolkitsParams,
|
|
30
32
|
type SessionToolsParams,
|