@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.
Files changed (99) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/internal/utils/env.js +2 -2
  9. package/internal/utils/env.js.map +1 -1
  10. package/internal/utils/env.mjs +2 -2
  11. package/internal/utils/env.mjs.map +1 -1
  12. package/package.json +12 -1
  13. package/resources/auth-configs.d.mts +17 -0
  14. package/resources/auth-configs.d.mts.map +1 -1
  15. package/resources/auth-configs.d.ts +17 -0
  16. package/resources/auth-configs.d.ts.map +1 -1
  17. package/resources/connected-accounts.d.mts +981 -137
  18. package/resources/connected-accounts.d.mts.map +1 -1
  19. package/resources/connected-accounts.d.ts +981 -137
  20. package/resources/connected-accounts.d.ts.map +1 -1
  21. package/resources/connected-accounts.js +27 -4
  22. package/resources/connected-accounts.js.map +1 -1
  23. package/resources/connected-accounts.mjs +27 -4
  24. package/resources/connected-accounts.mjs.map +1 -1
  25. package/resources/index.d.mts +1 -1
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +1 -1
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js.map +1 -1
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/link.d.mts +168 -1
  32. package/resources/link.d.mts.map +1 -1
  33. package/resources/link.d.ts +168 -1
  34. package/resources/link.d.ts.map +1 -1
  35. package/resources/mcp/mcp.d.mts +1 -1
  36. package/resources/mcp/mcp.d.ts +1 -1
  37. package/resources/mcp/mcp.js +1 -1
  38. package/resources/mcp/mcp.mjs +1 -1
  39. package/resources/tool-router/index.d.mts +1 -1
  40. package/resources/tool-router/index.d.mts.map +1 -1
  41. package/resources/tool-router/index.d.ts +1 -1
  42. package/resources/tool-router/index.d.ts.map +1 -1
  43. package/resources/tool-router/index.js.map +1 -1
  44. package/resources/tool-router/index.mjs.map +1 -1
  45. package/resources/tool-router/session/index.d.mts +1 -1
  46. package/resources/tool-router/session/index.d.mts.map +1 -1
  47. package/resources/tool-router/session/index.d.ts +1 -1
  48. package/resources/tool-router/session/index.d.ts.map +1 -1
  49. package/resources/tool-router/session/index.js.map +1 -1
  50. package/resources/tool-router/session/index.mjs.map +1 -1
  51. package/resources/tool-router/session/session.d.mts +879 -12
  52. package/resources/tool-router/session/session.d.mts.map +1 -1
  53. package/resources/tool-router/session/session.d.ts +879 -12
  54. package/resources/tool-router/session/session.d.ts.map +1 -1
  55. package/resources/tool-router/session/session.js +29 -1
  56. package/resources/tool-router/session/session.js.map +1 -1
  57. package/resources/tool-router/session/session.mjs +29 -1
  58. package/resources/tool-router/session/session.mjs.map +1 -1
  59. package/resources/tool-router/tool-router.d.mts +4 -4
  60. package/resources/tool-router/tool-router.d.mts.map +1 -1
  61. package/resources/tool-router/tool-router.d.ts +4 -4
  62. package/resources/tool-router/tool-router.d.ts.map +1 -1
  63. package/resources/tool-router/tool-router.js +2 -2
  64. package/resources/tool-router/tool-router.js.map +1 -1
  65. package/resources/tool-router/tool-router.mjs +2 -2
  66. package/resources/tool-router/tool-router.mjs.map +1 -1
  67. package/resources/toolkits.d.mts +13 -0
  68. package/resources/toolkits.d.mts.map +1 -1
  69. package/resources/toolkits.d.ts +13 -0
  70. package/resources/toolkits.d.ts.map +1 -1
  71. package/resources/tools.d.mts +114 -2
  72. package/resources/tools.d.mts.map +1 -1
  73. package/resources/tools.d.ts +114 -2
  74. package/resources/tools.d.ts.map +1 -1
  75. package/resources/trigger-instances/trigger-instances.d.mts +6 -1
  76. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  77. package/resources/trigger-instances/trigger-instances.d.ts +6 -1
  78. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  79. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  80. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  81. package/src/client.ts +4 -0
  82. package/src/internal/utils/env.ts +2 -2
  83. package/src/resources/auth-configs.ts +22 -0
  84. package/src/resources/connected-accounts.ts +3698 -2112
  85. package/src/resources/index.ts +2 -0
  86. package/src/resources/link.ts +329 -1
  87. package/src/resources/mcp/mcp.ts +1 -1
  88. package/src/resources/tool-router/index.ts +2 -0
  89. package/src/resources/tool-router/session/index.ts +2 -0
  90. package/src/resources/tool-router/session/session.ts +1343 -48
  91. package/src/resources/tool-router/tool-router.ts +6 -2
  92. package/src/resources/toolkits.ts +16 -0
  93. package/src/resources/tools.ts +188 -2
  94. package/src/resources/trigger-instances/trigger-instances.ts +7 -1
  95. package/src/version.ts +1 -1
  96. package/version.d.mts +1 -1
  97. package/version.d.ts +1 -1
  98. package/version.js +1 -1
  99. package/version.mjs +1 -1
@@ -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';
@@ -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 {
@@ -26,7 +26,7 @@ export class Mcp extends APIResource {
26
26
  * @example
27
27
  * ```ts
28
28
  * const mcp = await client.mcp.create({
29
- * auth_config_ids: ['auth_cfg_abc123def456'],
29
+ * auth_config_ids: ['ac_1a2b3c4d5e6f'],
30
30
  * name: 'GitHub Integration Server',
31
31
  * });
32
32
  * ```
@@ -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,