composio 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +492 -4
  4. data/lib/composio/api/actions_api.rb +107 -0
  5. data/lib/composio/api/analytics_api.rb +181 -0
  6. data/lib/composio/api/apps_api.rb +257 -0
  7. data/lib/composio/api/connections_api.rb +84 -0
  8. data/lib/composio/api/event_logs_api.rb +427 -0
  9. data/lib/composio/api/logs_api.rb +127 -9
  10. data/lib/composio/api/payment_api.rb +430 -0
  11. data/lib/composio/models/action_analytics_dto.rb +250 -0
  12. data/lib/composio/models/action_by_app_dto.rb +237 -0
  13. data/lib/composio/models/action_by_status_dto.rb +237 -0
  14. data/lib/composio/models/action_get_nla_inputs_req_dto.rb +220 -0
  15. data/lib/composio/models/additional_info.rb +220 -0
  16. data/lib/composio/models/analytics_data_req_dto.rb +250 -0
  17. data/lib/composio/models/analytics_data_res_dto.rb +282 -0
  18. data/lib/composio/models/analytics_entity_data_dto.rb +257 -0
  19. data/lib/composio/models/api_key_res_dto.rb +61 -4
  20. data/lib/composio/models/app_name_count_dto.rb +267 -0
  21. data/lib/composio/models/client_unique_user_id_count_dto.rb +237 -0
  22. data/lib/composio/models/connected_account_response_dto.rb +10 -1
  23. data/lib/composio/models/connection_params.rb +22 -6
  24. data/lib/composio/models/connection_with_app_data.rb +22 -6
  25. data/lib/composio/models/connector_list_item_dto.rb +16 -1
  26. data/lib/composio/models/create_checkout_session_req_dto.rb +220 -0
  27. data/lib/composio/models/data.rb +234 -0
  28. data/lib/composio/models/entity_query_req_dto.rb +216 -0
  29. data/lib/composio/models/fetch_query_dto.rb +278 -0
  30. data/lib/composio/models/get_connection_info_response_dto.rb +250 -0
  31. data/lib/composio/models/get_connector_list_res_dto.rb +0 -1
  32. data/lib/composio/models/get_logs_dto.rb +10 -10
  33. data/lib/composio/models/{job_status.rb → get_logs_dto_status.rb} +6 -6
  34. data/lib/composio/models/ingest_data_dto.rb +298 -0
  35. data/lib/composio/models/ingest_data_response_dto.rb +220 -0
  36. data/lib/composio/models/integrations_with_counts_dto.rb +297 -0
  37. data/lib/composio/models/invite_member_req_dto.rb +14 -4
  38. data/lib/composio/models/last_time_period.rb +40 -0
  39. data/lib/composio/models/member_info_res_dto.rb +324 -0
  40. data/lib/composio/models/{connection_with_app_data_created_at.rb → member_info_res_dto_created_at.rb} +1 -1
  41. data/lib/composio/models/member_res_dto.rb +16 -1
  42. data/lib/composio/models/member_res_dto_role.rb +36 -0
  43. data/lib/composio/models/open_api_spec_list_res_dto.rb +17 -74
  44. data/lib/composio/models/parameter.rb +248 -0
  45. data/lib/composio/models/plan.rb +38 -0
  46. data/lib/composio/models/role.rb +36 -0
  47. data/lib/composio/models/state.rb +41 -0
  48. data/lib/composio/models/status.rb +7 -4
  49. data/lib/composio/models/t_connection_count_dto.rb +236 -0
  50. data/lib/composio/models/time_period_req_dto.rb +216 -0
  51. data/lib/composio/models/top_entities_res_dto.rb +223 -0
  52. data/lib/composio/models/update_member_req_dto.rb +236 -0
  53. data/lib/composio/models/update_member_req_dto_role.rb +36 -0
  54. data/lib/composio/models/webhook_req_dto.rb +221 -0
  55. data/lib/composio/models/webhook_secret_res_dto.rb +221 -0
  56. data/lib/composio/version.rb +1 -1
  57. data/lib/composio.rb +43 -2
  58. data/spec/api/actions_api_spec.rb +13 -0
  59. data/spec/api/analytics_api_spec.rb +51 -0
  60. data/spec/api/apps_api_spec.rb +34 -0
  61. data/spec/api/connections_api_spec.rb +11 -0
  62. data/spec/api/event_logs_api_spec.rb +83 -0
  63. data/spec/api/logs_api_spec.rb +13 -1
  64. data/spec/api/payment_api_spec.rb +83 -0
  65. data/spec/models/action_analytics_dto_spec.rb +40 -0
  66. data/spec/models/action_by_app_dto_spec.rb +34 -0
  67. data/spec/models/action_by_status_dto_spec.rb +34 -0
  68. data/spec/models/action_get_nla_inputs_req_dto_spec.rb +28 -0
  69. data/spec/models/additional_info_spec.rb +28 -0
  70. data/spec/models/analytics_data_req_dto_spec.rb +32 -0
  71. data/spec/models/analytics_data_res_dto_spec.rb +52 -0
  72. data/spec/models/analytics_entity_data_dto_spec.rb +40 -0
  73. data/spec/models/api_key_res_dto_spec.rb +18 -0
  74. data/spec/models/app_name_count_dto_spec.rb +46 -0
  75. data/spec/models/client_unique_user_id_count_dto_spec.rb +34 -0
  76. data/spec/models/connected_account_response_dto_spec.rb +6 -0
  77. data/spec/models/connection_params_spec.rb +6 -0
  78. data/spec/models/connection_with_app_data_spec.rb +6 -0
  79. data/spec/models/connector_list_item_dto_spec.rb +6 -0
  80. data/spec/models/create_checkout_session_req_dto_spec.rb +28 -0
  81. data/spec/models/data_spec.rb +34 -0
  82. data/spec/models/entity_query_req_dto_spec.rb +28 -0
  83. data/spec/models/fetch_query_dto_spec.rb +34 -0
  84. data/spec/models/get_connection_info_response_dto_spec.rb +40 -0
  85. data/spec/models/get_logs_dto_spec.rb +1 -1
  86. data/spec/models/get_logs_dto_status_spec.rb +22 -0
  87. data/spec/models/ingest_data_dto_spec.rb +64 -0
  88. data/spec/models/ingest_data_response_dto_spec.rb +28 -0
  89. data/spec/models/integrations_with_counts_dto_spec.rb +58 -0
  90. data/spec/models/invite_member_req_dto_spec.rb +6 -0
  91. data/spec/models/last_time_period_spec.rb +22 -0
  92. data/spec/models/{connection_with_app_data_created_at_spec.rb → member_info_res_dto_created_at_spec.rb} +2 -2
  93. data/spec/models/member_info_res_dto_spec.rb +76 -0
  94. data/spec/models/member_res_dto_role_spec.rb +22 -0
  95. data/spec/models/member_res_dto_spec.rb +6 -0
  96. data/spec/models/open_api_spec_list_res_dto_spec.rb +5 -29
  97. data/spec/models/parameter_spec.rb +40 -0
  98. data/spec/models/plan_spec.rb +22 -0
  99. data/spec/models/role_spec.rb +22 -0
  100. data/spec/models/state_spec.rb +22 -0
  101. data/spec/models/t_connection_count_dto_spec.rb +34 -0
  102. data/spec/models/time_period_req_dto_spec.rb +28 -0
  103. data/spec/models/top_entities_res_dto_spec.rb +28 -0
  104. data/spec/models/update_member_req_dto_role_spec.rb +22 -0
  105. data/spec/models/update_member_req_dto_spec.rb +34 -0
  106. data/spec/models/webhook_req_dto_spec.rb +28 -0
  107. data/spec/models/webhook_secret_res_dto_spec.rb +28 -0
  108. metadata +215 -110
  109. data/spec/models/job_status_spec.rb +0 -22
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-18 00:00:00.000000000 Z
11
+ date: 2024-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -86,21 +86,28 @@ files:
86
86
  - header.png
87
87
  - lib/composio.rb
88
88
  - lib/composio/api/actions_api.rb
89
+ - lib/composio/api/analytics_api.rb
89
90
  - lib/composio/api/api_keys_api.rb
90
91
  - lib/composio/api/apps_api.rb
91
92
  - lib/composio/api/auth_api.rb
92
93
  - lib/composio/api/connections_api.rb
94
+ - lib/composio/api/event_logs_api.rb
93
95
  - lib/composio/api/integrations_api.rb
94
96
  - lib/composio/api/logs_api.rb
97
+ - lib/composio/api/payment_api.rb
95
98
  - lib/composio/api/triggers_api.rb
96
99
  - lib/composio/api_client.rb
97
100
  - lib/composio/api_client_custom.rb
98
101
  - lib/composio/api_error.rb
99
102
  - lib/composio/configuration.rb
103
+ - lib/composio/models/action_analytics_dto.rb
104
+ - lib/composio/models/action_by_app_dto.rb
105
+ - lib/composio/models/action_by_status_dto.rb
100
106
  - lib/composio/models/action_details.rb
101
107
  - lib/composio/models/action_details_minimal.rb
102
108
  - lib/composio/models/action_execution_req_dto.rb
103
109
  - lib/composio/models/action_execution_res_dto.rb
110
+ - lib/composio/models/action_get_nla_inputs_req_dto.rb
104
111
  - lib/composio/models/action_log_data.rb
105
112
  - lib/composio/models/action_metadata.rb
106
113
  - lib/composio/models/action_metadata_type.rb
@@ -114,23 +121,30 @@ files:
114
121
  - lib/composio/models/add_repo_url_res_dto.rb
115
122
  - lib/composio/models/add_tools_req_dto.rb
116
123
  - lib/composio/models/add_tools_request_dto.rb
124
+ - lib/composio/models/additional_info.rb
125
+ - lib/composio/models/analytics_data_req_dto.rb
126
+ - lib/composio/models/analytics_data_res_dto.rb
127
+ - lib/composio/models/analytics_entity_data_dto.rb
117
128
  - lib/composio/models/api_key_res_dto.rb
118
129
  - lib/composio/models/app_info_response_dto.rb
119
130
  - lib/composio/models/app_list_res_dto.rb
131
+ - lib/composio/models/app_name_count_dto.rb
120
132
  - lib/composio/models/app_query_dto.rb
121
133
  - lib/composio/models/auth_config_dto.rb
122
134
  - lib/composio/models/cli_query_dto.rb
135
+ - lib/composio/models/client_unique_user_id_count_dto.rb
123
136
  - lib/composio/models/connected_account_response_dto.rb
124
137
  - lib/composio/models/connection_params.rb
125
138
  - lib/composio/models/connection_params_for_account.rb
126
139
  - lib/composio/models/connection_params_headers.rb
127
140
  - lib/composio/models/connection_with_app_data.rb
128
- - lib/composio/models/connection_with_app_data_created_at.rb
129
141
  - lib/composio/models/connector_list_item_dto.rb
130
142
  - lib/composio/models/connector_list_item_dto_created_at.rb
131
143
  - lib/composio/models/connector_list_item_dto_updated_at.rb
144
+ - lib/composio/models/create_checkout_session_req_dto.rb
132
145
  - lib/composio/models/create_connector_payload_dto.rb
133
146
  - lib/composio/models/create_connector_payload_dto_use_composio_auth.rb
147
+ - lib/composio/models/data.rb
134
148
  - lib/composio/models/delete_api_key_req_dto.rb
135
149
  - lib/composio/models/delete_api_key_response_dto.rb
136
150
  - lib/composio/models/delete_row_apidto.rb
@@ -139,18 +153,22 @@ files:
139
153
  - lib/composio/models/direct_execute_req_dto.rb
140
154
  - lib/composio/models/enable_trigger_body_dto.rb
141
155
  - lib/composio/models/enable_trigger_params_dto.rb
156
+ - lib/composio/models/entity_query_req_dto.rb
142
157
  - lib/composio/models/execute_action_res_dto.rb
158
+ - lib/composio/models/fetch_query_dto.rb
143
159
  - lib/composio/models/generate_api_key_req_dto.rb
144
160
  - lib/composio/models/generate_cli_session_req_dto.rb
145
161
  - lib/composio/models/generate_cli_session_res_dto.rb
146
162
  - lib/composio/models/get_active_triggers_query_dto.rb
147
163
  - lib/composio/models/get_cli_session_res_dto.rb
164
+ - lib/composio/models/get_connection_info_response_dto.rb
148
165
  - lib/composio/models/get_connections_query_dto.rb
149
166
  - lib/composio/models/get_connections_response_dto.rb
150
167
  - lib/composio/models/get_connections_result.rb
151
168
  - lib/composio/models/get_connector_info_res_dto.rb
152
169
  - lib/composio/models/get_connector_list_res_dto.rb
153
170
  - lib/composio/models/get_logs_dto.rb
171
+ - lib/composio/models/get_logs_dto_status.rb
154
172
  - lib/composio/models/get_logs_query_dto.rb
155
173
  - lib/composio/models/get_trigger_params_dto.rb
156
174
  - lib/composio/models/get_trigger_response_dto.rb
@@ -158,16 +176,22 @@ files:
158
176
  - lib/composio/models/handle_trigger_params_dto.rb
159
177
  - lib/composio/models/identify_client_req_dto.rb
160
178
  - lib/composio/models/identify_client_res_dto.rb
179
+ - lib/composio/models/ingest_data_dto.rb
180
+ - lib/composio/models/ingest_data_response_dto.rb
161
181
  - lib/composio/models/initiate_connection_payload_dto.rb
162
182
  - lib/composio/models/initiate_connection_response.rb
183
+ - lib/composio/models/integrations_with_counts_dto.rb
163
184
  - lib/composio/models/invite_member_req_dto.rb
164
- - lib/composio/models/job_status.rb
185
+ - lib/composio/models/last_time_period.rb
165
186
  - lib/composio/models/list_triggers_query_dto.rb
166
187
  - lib/composio/models/logout_res_dto.rb
167
188
  - lib/composio/models/logs_res_dto.rb
168
189
  - lib/composio/models/magic_link_req_dto.rb
169
190
  - lib/composio/models/magic_link_res_dto.rb
191
+ - lib/composio/models/member_info_res_dto.rb
192
+ - lib/composio/models/member_info_res_dto_created_at.rb
170
193
  - lib/composio/models/member_res_dto.rb
194
+ - lib/composio/models/member_res_dto_role.rb
171
195
  - lib/composio/models/meta.rb
172
196
  - lib/composio/models/meta_app.rb
173
197
  - lib/composio/models/metadata_query_dto.rb
@@ -176,20 +200,27 @@ files:
176
200
  - lib/composio/models/open_api_spec_list_res_dto.rb
177
201
  - lib/composio/models/page_info.rb
178
202
  - lib/composio/models/page_info_dto.rb
203
+ - lib/composio/models/parameter.rb
179
204
  - lib/composio/models/patch_connector_req_dto.rb
180
205
  - lib/composio/models/patch_connector_res_dto.rb
206
+ - lib/composio/models/plan.rb
181
207
  - lib/composio/models/proxy_execution_req_dto.rb
182
208
  - lib/composio/models/redirect_uri_dto.rb
209
+ - lib/composio/models/role.rb
183
210
  - lib/composio/models/set_callback_url_body_dto.rb
184
211
  - lib/composio/models/single_app_info_res_dto.rb
185
212
  - lib/composio/models/single_trigger_res_dto.rb
213
+ - lib/composio/models/state.rb
186
214
  - lib/composio/models/status.rb
187
215
  - lib/composio/models/switch_trigger_status_body_dto.rb
188
216
  - lib/composio/models/switch_trigger_status_params_dto.rb
217
+ - lib/composio/models/t_connection_count_dto.rb
189
218
  - lib/composio/models/time.rb
219
+ - lib/composio/models/time_period_req_dto.rb
190
220
  - lib/composio/models/toggle_connected_account_response_dto.rb
191
221
  - lib/composio/models/toggle_trigger_state_response_dto.rb
192
222
  - lib/composio/models/tools_execute_req_dto.rb
223
+ - lib/composio/models/top_entities_res_dto.rb
193
224
  - lib/composio/models/track_client_req_dto.rb
194
225
  - lib/composio/models/track_client_res_dto.rb
195
226
  - lib/composio/models/trigger_config.rb
@@ -206,27 +237,38 @@ files:
206
237
  - lib/composio/models/triggers_enabled_toggle_req_dto.rb
207
238
  - lib/composio/models/triggers_enabled_toggle_res_dto.rb
208
239
  - lib/composio/models/type.rb
240
+ - lib/composio/models/update_member_req_dto.rb
241
+ - lib/composio/models/update_member_req_dto_role.rb
209
242
  - lib/composio/models/user_git_user_info.rb
210
243
  - lib/composio/models/verify_cli_code_res_dto.rb
211
244
  - lib/composio/models/verify_magic_link_data_dto.rb
212
245
  - lib/composio/models/verify_magic_link_req_dto.rb
213
246
  - lib/composio/models/verify_magic_link_res_dto.rb
247
+ - lib/composio/models/webhook_req_dto.rb
248
+ - lib/composio/models/webhook_secret_res_dto.rb
214
249
  - lib/composio/models/webhook_url_response_dto.rb
215
250
  - lib/composio/version.rb
216
251
  - spec/api/actions_api_spec.rb
252
+ - spec/api/analytics_api_spec.rb
217
253
  - spec/api/api_keys_api_spec.rb
218
254
  - spec/api/apps_api_spec.rb
219
255
  - spec/api/auth_api_spec.rb
220
256
  - spec/api/connections_api_spec.rb
257
+ - spec/api/event_logs_api_spec.rb
221
258
  - spec/api/integrations_api_spec.rb
222
259
  - spec/api/logs_api_spec.rb
260
+ - spec/api/payment_api_spec.rb
223
261
  - spec/api/triggers_api_spec.rb
224
262
  - spec/api_client_spec.rb
225
263
  - spec/configuration_spec.rb
264
+ - spec/models/action_analytics_dto_spec.rb
265
+ - spec/models/action_by_app_dto_spec.rb
266
+ - spec/models/action_by_status_dto_spec.rb
226
267
  - spec/models/action_details_minimal_spec.rb
227
268
  - spec/models/action_details_spec.rb
228
269
  - spec/models/action_execution_req_dto_spec.rb
229
270
  - spec/models/action_execution_res_dto_spec.rb
271
+ - spec/models/action_get_nla_inputs_req_dto_spec.rb
230
272
  - spec/models/action_log_data_spec.rb
231
273
  - spec/models/action_metadata_spec.rb
232
274
  - spec/models/action_metadata_type_spec.rb
@@ -240,23 +282,30 @@ files:
240
282
  - spec/models/add_repo_url_res_dto_spec.rb
241
283
  - spec/models/add_tools_req_dto_spec.rb
242
284
  - spec/models/add_tools_request_dto_spec.rb
285
+ - spec/models/additional_info_spec.rb
286
+ - spec/models/analytics_data_req_dto_spec.rb
287
+ - spec/models/analytics_data_res_dto_spec.rb
288
+ - spec/models/analytics_entity_data_dto_spec.rb
243
289
  - spec/models/api_key_res_dto_spec.rb
244
290
  - spec/models/app_info_response_dto_spec.rb
245
291
  - spec/models/app_list_res_dto_spec.rb
292
+ - spec/models/app_name_count_dto_spec.rb
246
293
  - spec/models/app_query_dto_spec.rb
247
294
  - spec/models/auth_config_dto_spec.rb
248
295
  - spec/models/cli_query_dto_spec.rb
296
+ - spec/models/client_unique_user_id_count_dto_spec.rb
249
297
  - spec/models/connected_account_response_dto_spec.rb
250
298
  - spec/models/connection_params_for_account_spec.rb
251
299
  - spec/models/connection_params_headers_spec.rb
252
300
  - spec/models/connection_params_spec.rb
253
- - spec/models/connection_with_app_data_created_at_spec.rb
254
301
  - spec/models/connection_with_app_data_spec.rb
255
302
  - spec/models/connector_list_item_dto_created_at_spec.rb
256
303
  - spec/models/connector_list_item_dto_spec.rb
257
304
  - spec/models/connector_list_item_dto_updated_at_spec.rb
305
+ - spec/models/create_checkout_session_req_dto_spec.rb
258
306
  - spec/models/create_connector_payload_dto_spec.rb
259
307
  - spec/models/create_connector_payload_dto_use_composio_auth_spec.rb
308
+ - spec/models/data_spec.rb
260
309
  - spec/models/delete_api_key_req_dto_spec.rb
261
310
  - spec/models/delete_api_key_response_dto_spec.rb
262
311
  - spec/models/delete_row_apidto_spec.rb
@@ -265,18 +314,22 @@ files:
265
314
  - spec/models/direct_execute_req_dto_spec.rb
266
315
  - spec/models/enable_trigger_body_dto_spec.rb
267
316
  - spec/models/enable_trigger_params_dto_spec.rb
317
+ - spec/models/entity_query_req_dto_spec.rb
268
318
  - spec/models/execute_action_res_dto_spec.rb
319
+ - spec/models/fetch_query_dto_spec.rb
269
320
  - spec/models/generate_api_key_req_dto_spec.rb
270
321
  - spec/models/generate_cli_session_req_dto_spec.rb
271
322
  - spec/models/generate_cli_session_res_dto_spec.rb
272
323
  - spec/models/get_active_triggers_query_dto_spec.rb
273
324
  - spec/models/get_cli_session_res_dto_spec.rb
325
+ - spec/models/get_connection_info_response_dto_spec.rb
274
326
  - spec/models/get_connections_query_dto_spec.rb
275
327
  - spec/models/get_connections_response_dto_spec.rb
276
328
  - spec/models/get_connections_result_spec.rb
277
329
  - spec/models/get_connector_info_res_dto_spec.rb
278
330
  - spec/models/get_connector_list_res_dto_spec.rb
279
331
  - spec/models/get_logs_dto_spec.rb
332
+ - spec/models/get_logs_dto_status_spec.rb
280
333
  - spec/models/get_logs_query_dto_spec.rb
281
334
  - spec/models/get_trigger_params_dto_spec.rb
282
335
  - spec/models/get_trigger_response_dto_spec.rb
@@ -284,15 +337,21 @@ files:
284
337
  - spec/models/handle_trigger_params_dto_spec.rb
285
338
  - spec/models/identify_client_req_dto_spec.rb
286
339
  - spec/models/identify_client_res_dto_spec.rb
340
+ - spec/models/ingest_data_dto_spec.rb
341
+ - spec/models/ingest_data_response_dto_spec.rb
287
342
  - spec/models/initiate_connection_payload_dto_spec.rb
288
343
  - spec/models/initiate_connection_response_spec.rb
344
+ - spec/models/integrations_with_counts_dto_spec.rb
289
345
  - spec/models/invite_member_req_dto_spec.rb
290
- - spec/models/job_status_spec.rb
346
+ - spec/models/last_time_period_spec.rb
291
347
  - spec/models/list_triggers_query_dto_spec.rb
292
348
  - spec/models/logout_res_dto_spec.rb
293
349
  - spec/models/logs_res_dto_spec.rb
294
350
  - spec/models/magic_link_req_dto_spec.rb
295
351
  - spec/models/magic_link_res_dto_spec.rb
352
+ - spec/models/member_info_res_dto_created_at_spec.rb
353
+ - spec/models/member_info_res_dto_spec.rb
354
+ - spec/models/member_res_dto_role_spec.rb
296
355
  - spec/models/member_res_dto_spec.rb
297
356
  - spec/models/meta_app_spec.rb
298
357
  - spec/models/meta_spec.rb
@@ -302,20 +361,27 @@ files:
302
361
  - spec/models/open_api_spec_list_res_dto_spec.rb
303
362
  - spec/models/page_info_dto_spec.rb
304
363
  - spec/models/page_info_spec.rb
364
+ - spec/models/parameter_spec.rb
305
365
  - spec/models/patch_connector_req_dto_spec.rb
306
366
  - spec/models/patch_connector_res_dto_spec.rb
367
+ - spec/models/plan_spec.rb
307
368
  - spec/models/proxy_execution_req_dto_spec.rb
308
369
  - spec/models/redirect_uri_dto_spec.rb
370
+ - spec/models/role_spec.rb
309
371
  - spec/models/set_callback_url_body_dto_spec.rb
310
372
  - spec/models/single_app_info_res_dto_spec.rb
311
373
  - spec/models/single_trigger_res_dto_spec.rb
374
+ - spec/models/state_spec.rb
312
375
  - spec/models/status_spec.rb
313
376
  - spec/models/switch_trigger_status_body_dto_spec.rb
314
377
  - spec/models/switch_trigger_status_params_dto_spec.rb
378
+ - spec/models/t_connection_count_dto_spec.rb
379
+ - spec/models/time_period_req_dto_spec.rb
315
380
  - spec/models/time_spec.rb
316
381
  - spec/models/toggle_connected_account_response_dto_spec.rb
317
382
  - spec/models/toggle_trigger_state_response_dto_spec.rb
318
383
  - spec/models/tools_execute_req_dto_spec.rb
384
+ - spec/models/top_entities_res_dto_spec.rb
319
385
  - spec/models/track_client_req_dto_spec.rb
320
386
  - spec/models/track_client_res_dto_spec.rb
321
387
  - spec/models/trigger_config_spec.rb
@@ -332,11 +398,15 @@ files:
332
398
  - spec/models/triggers_enabled_toggle_req_dto_spec.rb
333
399
  - spec/models/triggers_enabled_toggle_res_dto_spec.rb
334
400
  - spec/models/type_spec.rb
401
+ - spec/models/update_member_req_dto_role_spec.rb
402
+ - spec/models/update_member_req_dto_spec.rb
335
403
  - spec/models/user_git_user_info_spec.rb
336
404
  - spec/models/verify_cli_code_res_dto_spec.rb
337
405
  - spec/models/verify_magic_link_data_dto_spec.rb
338
406
  - spec/models/verify_magic_link_req_dto_spec.rb
339
407
  - spec/models/verify_magic_link_res_dto_spec.rb
408
+ - spec/models/webhook_req_dto_spec.rb
409
+ - spec/models/webhook_secret_res_dto_spec.rb
340
410
  - spec/models/webhook_url_response_dto_spec.rb
341
411
  - spec/simple_test_spec.rb
342
412
  - spec/spec_helper.rb
@@ -366,130 +436,165 @@ signing_key:
366
436
  specification_version: 4
367
437
  summary: Composio OpenAPI Ruby Gem
368
438
  test_files:
369
- - spec/api/api_keys_api_spec.rb
370
- - spec/api/integrations_api_spec.rb
371
- - spec/api/connections_api_spec.rb
439
+ - spec/api/actions_api_spec.rb
440
+ - spec/api/auth_api_spec.rb
441
+ - spec/api/event_logs_api_spec.rb
442
+ - spec/api/payment_api_spec.rb
372
443
  - spec/api/apps_api_spec.rb
373
444
  - spec/api/triggers_api_spec.rb
374
- - spec/api/auth_api_spec.rb
375
- - spec/api/actions_api_spec.rb
445
+ - spec/api/integrations_api_spec.rb
446
+ - spec/api/connections_api_spec.rb
447
+ - spec/api/api_keys_api_spec.rb
448
+ - spec/api/analytics_api_spec.rb
376
449
  - spec/api/logs_api_spec.rb
377
450
  - spec/api_client_spec.rb
378
451
  - spec/configuration_spec.rb
379
- - spec/models/get_connector_info_res_dto_spec.rb
380
- - spec/models/get_active_triggers_query_dto_spec.rb
381
- - spec/models/generate_cli_session_req_dto_spec.rb
382
- - spec/models/get_connections_response_dto_spec.rb
383
- - spec/models/action_metadata_type_spec.rb
384
- - spec/models/actions_list_response_dto_spec.rb
385
- - spec/models/single_trigger_res_dto_spec.rb
386
- - spec/models/metadata_req_dto_spec.rb
387
- - spec/models/handle_trigger_body_dto_spec.rb
388
- - spec/models/tools_execute_req_dto_spec.rb
389
- - spec/models/proxy_execution_req_dto_spec.rb
390
- - spec/models/connection_with_app_data_spec.rb
391
- - spec/models/create_connector_payload_dto_use_composio_auth_spec.rb
392
- - spec/models/trigger_log_item_dto_spec.rb
393
- - spec/models/get_trigger_params_dto_spec.rb
394
- - spec/models/enable_trigger_body_dto_spec.rb
395
- - spec/models/page_info_spec.rb
396
- - spec/models/switch_trigger_status_body_dto_spec.rb
397
- - spec/models/get_connector_list_res_dto_spec.rb
398
- - spec/models/logs_res_dto_spec.rb
399
- - spec/models/delete_api_key_response_dto_spec.rb
400
- - spec/models/auth_config_dto_spec.rb
401
- - spec/models/active_triggers_res_dto_spec.rb
402
- - spec/models/actions_query_dto_spec.rb
403
- - spec/models/triggers_enabled_toggle_req_dto_spec.rb
404
452
  - spec/models/toggle_connected_account_response_dto_spec.rb
405
- - spec/models/add_tools_request_dto_spec.rb
406
- - spec/models/trigger_config_spec.rb
407
- - spec/models/trigger_res_dto_spec.rb
408
- - spec/models/verify_magic_link_data_dto_spec.rb
409
- - spec/models/action_details_spec.rb
410
- - spec/models/active_trigger_instance_spec.rb
411
- - spec/models/single_app_info_res_dto_spec.rb
412
- - spec/models/trigger_log_data_spec.rb
413
- - spec/models/initiate_connection_response_spec.rb
414
- - spec/models/action_metadata_spec.rb
453
+ - spec/models/user_git_user_info_spec.rb
415
454
  - spec/models/metadata_query_dto_spec.rb
416
- - spec/models/get_trigger_response_dto_spec.rb
417
- - spec/models/set_callback_url_body_dto_spec.rb
418
- - spec/models/trigger_instance_params_dto_spec.rb
419
- - spec/models/track_client_res_dto_spec.rb
420
- - spec/models/action_log_data_spec.rb
421
- - spec/models/direct_execute_req_dto_spec.rb
422
- - spec/models/trigger_response_dto_spec.rb
423
- - spec/models/open_api_spec_list_res_dto_spec.rb
424
- - spec/models/trigger_metadata_spec.rb
425
- - spec/models/app_info_response_dto_spec.rb
426
- - spec/models/app_list_res_dto_spec.rb
427
- - spec/models/get_connections_query_dto_spec.rb
428
- - spec/models/trigger_toggle_info_response_dto_spec.rb
429
- - spec/models/connection_params_spec.rb
430
- - spec/models/trigger_metadata_type_spec.rb
455
+ - spec/models/trigger_config_spec.rb
431
456
  - spec/models/magic_link_res_dto_spec.rb
432
- - spec/models/verify_magic_link_req_dto_spec.rb
457
+ - spec/models/patch_connector_res_dto_spec.rb
458
+ - spec/models/trigger_toggle_info_response_dto_spec.rb
459
+ - spec/models/execute_action_res_dto_spec.rb
460
+ - spec/models/add_repo_url_req_dto_spec.rb
461
+ - spec/models/track_client_req_dto_spec.rb
462
+ - spec/models/action_metadata_type_spec.rb
463
+ - spec/models/toggle_trigger_state_response_dto_spec.rb
433
464
  - spec/models/connected_account_response_dto_spec.rb
434
- - spec/models/invite_member_req_dto_spec.rb
435
- - spec/models/o_auth2_callback_query_dto_spec.rb
465
+ - spec/models/verify_magic_link_res_dto_spec.rb
466
+ - spec/models/ingest_data_response_dto_spec.rb
467
+ - spec/models/trigger_log_data_spec.rb
468
+ - spec/models/last_time_period_spec.rb
469
+ - spec/models/connection_with_app_data_spec.rb
436
470
  - spec/models/meta_spec.rb
437
- - spec/models/app_query_dto_spec.rb
438
- - spec/models/add_repo_url_res_dto_spec.rb
439
- - spec/models/initiate_connection_payload_dto_spec.rb
440
- - spec/models/user_git_user_info_spec.rb
471
+ - spec/models/get_trigger_response_dto_spec.rb
472
+ - spec/models/member_res_dto_role_spec.rb
473
+ - spec/models/patch_connector_req_dto_spec.rb
474
+ - spec/models/ingest_data_dto_spec.rb
475
+ - spec/models/get_cli_session_res_dto_spec.rb
476
+ - spec/models/connection_params_for_account_spec.rb
477
+ - spec/models/proxy_execution_req_dto_spec.rb
478
+ - spec/models/get_logs_dto_status_spec.rb
479
+ - spec/models/open_api_spec_list_res_dto_spec.rb
480
+ - spec/models/actions_controller_v1_spec.rb
481
+ - spec/models/action_log_data_spec.rb
482
+ - spec/models/api_key_res_dto_spec.rb
483
+ - spec/models/webhook_req_dto_spec.rb
484
+ - spec/models/type_spec.rb
441
485
  - spec/models/connector_list_item_dto_spec.rb
442
- - spec/models/connector_list_item_dto_updated_at_spec.rb
443
- - spec/models/connector_list_item_dto_created_at_spec.rb
444
- - spec/models/toggle_trigger_state_response_dto_spec.rb
486
+ - spec/models/get_active_triggers_query_dto_spec.rb
487
+ - spec/models/top_entities_res_dto_spec.rb
488
+ - spec/models/create_connector_payload_dto_use_composio_auth_spec.rb
445
489
  - spec/models/action_execution_res_dto_spec.rb
446
- - spec/models/identify_client_res_dto_spec.rb
447
- - spec/models/trigger_logs_res_dto_spec.rb
448
- - spec/models/job_status_spec.rb
449
- - spec/models/actions_minimal_list_response_dto_spec.rb
450
- - spec/models/track_client_req_dto_spec.rb
451
- - spec/models/triggers_enabled_toggle_res_dto_spec.rb
452
- - spec/models/delete_row_apidto_spec.rb
453
- - spec/models/connection_with_app_data_created_at_spec.rb
454
- - spec/models/add_tools_req_dto_spec.rb
455
- - spec/models/page_info_dto_spec.rb
490
+ - spec/models/metadata_req_dto_spec.rb
491
+ - spec/models/triggers_enabled_toggle_req_dto_spec.rb
492
+ - spec/models/analytics_data_res_dto_spec.rb
493
+ - spec/models/add_repo_url_res_dto_spec.rb
494
+ - spec/models/switch_trigger_status_params_dto_spec.rb
495
+ - spec/models/integrations_with_counts_dto_spec.rb
496
+ - spec/models/get_connections_query_dto_spec.rb
497
+ - spec/models/set_callback_url_body_dto_spec.rb
498
+ - spec/models/additional_info_spec.rb
456
499
  - spec/models/delete_tools_res_dto_spec.rb
457
- - spec/models/logout_res_dto_spec.rb
458
- - spec/models/identify_client_req_dto_spec.rb
459
- - spec/models/patch_connector_req_dto_spec.rb
460
- - spec/models/generate_cli_session_res_dto_spec.rb
461
- - spec/models/type_spec.rb
462
- - spec/models/get_logs_dto_spec.rb
463
- - spec/models/add_repo_url_req_dto_spec.rb
464
- - spec/models/verify_cli_code_res_dto_spec.rb
465
- - spec/models/status_spec.rb
466
- - spec/models/meta_app_spec.rb
500
+ - spec/models/time_period_req_dto_spec.rb
501
+ - spec/models/enable_trigger_body_dto_spec.rb
502
+ - spec/models/single_trigger_res_dto_spec.rb
503
+ - spec/models/active_trigger_instance_spec.rb
467
504
  - spec/models/action_details_minimal_spec.rb
468
- - spec/models/delete_api_key_req_dto_spec.rb
469
- - spec/models/api_key_res_dto_spec.rb
470
- - spec/models/switch_trigger_status_params_dto_spec.rb
471
- - spec/models/get_connections_result_spec.rb
505
+ - spec/models/action_details_spec.rb
506
+ - spec/models/create_connector_payload_dto_spec.rb
507
+ - spec/models/get_logs_query_dto_spec.rb
472
508
  - spec/models/action_execution_req_dto_spec.rb
473
509
  - spec/models/connection_params_headers_spec.rb
474
- - spec/models/get_cli_session_res_dto_spec.rb
510
+ - spec/models/analytics_entity_data_dto_spec.rb
511
+ - spec/models/fetch_query_dto_spec.rb
512
+ - spec/models/logs_res_dto_spec.rb
513
+ - spec/models/meta_app_spec.rb
514
+ - spec/models/actions_list_response_dto_spec.rb
515
+ - spec/models/generate_cli_session_req_dto_spec.rb
516
+ - spec/models/app_name_count_dto_spec.rb
517
+ - spec/models/get_connector_list_res_dto_spec.rb
518
+ - spec/models/t_connection_count_dto_spec.rb
519
+ - spec/models/entity_query_req_dto_spec.rb
520
+ - spec/models/track_client_res_dto_spec.rb
521
+ - spec/models/trigger_metadata_spec.rb
522
+ - spec/models/trigger_logs_res_dto_spec.rb
475
523
  - spec/models/trigger_metadata_dto_spec.rb
476
- - spec/models/create_connector_payload_dto_spec.rb
477
- - spec/models/get_logs_query_dto_spec.rb
478
- - spec/models/time_spec.rb
479
- - spec/models/connection_params_for_account_spec.rb
480
- - spec/models/member_res_dto_spec.rb
481
- - spec/models/delete_tools_req_dto_spec.rb
482
524
  - spec/models/enable_trigger_params_dto_spec.rb
483
- - spec/models/verify_magic_link_res_dto_spec.rb
484
- - spec/models/generate_api_key_req_dto_spec.rb
485
- - spec/models/redirect_uri_dto_spec.rb
486
- - spec/models/cli_query_dto_spec.rb
487
- - spec/models/actions_controller_v1_spec.rb
488
- - spec/models/execute_action_res_dto_spec.rb
489
- - spec/models/patch_connector_res_dto_spec.rb
490
- - spec/models/webhook_url_response_dto_spec.rb
525
+ - spec/models/delete_api_key_response_dto_spec.rb
526
+ - spec/models/page_info_dto_spec.rb
527
+ - spec/models/trigger_response_dto_spec.rb
528
+ - spec/models/webhook_secret_res_dto_spec.rb
529
+ - spec/models/delete_row_apidto_spec.rb
530
+ - spec/models/analytics_data_req_dto_spec.rb
531
+ - spec/models/app_info_response_dto_spec.rb
532
+ - spec/models/create_checkout_session_req_dto_spec.rb
533
+ - spec/models/member_res_dto_spec.rb
534
+ - spec/models/identify_client_req_dto_spec.rb
491
535
  - spec/models/handle_trigger_params_dto_spec.rb
536
+ - spec/models/update_member_req_dto_role_spec.rb
537
+ - spec/models/logout_res_dto_spec.rb
538
+ - spec/models/verify_magic_link_data_dto_spec.rb
539
+ - spec/models/actions_query_dto_spec.rb
540
+ - spec/models/actions_minimal_list_response_dto_spec.rb
541
+ - spec/models/get_logs_dto_spec.rb
542
+ - spec/models/handle_trigger_body_dto_spec.rb
543
+ - spec/models/get_connector_info_res_dto_spec.rb
544
+ - spec/models/trigger_log_item_dto_spec.rb
545
+ - spec/models/triggers_enabled_toggle_res_dto_spec.rb
546
+ - spec/models/webhook_url_response_dto_spec.rb
547
+ - spec/models/identify_client_res_dto_spec.rb
548
+ - spec/models/active_triggers_res_dto_spec.rb
549
+ - spec/models/action_by_status_dto_spec.rb
550
+ - spec/models/generate_api_key_req_dto_spec.rb
551
+ - spec/models/role_spec.rb
552
+ - spec/models/direct_execute_req_dto_spec.rb
553
+ - spec/models/state_spec.rb
554
+ - spec/models/get_connections_response_dto_spec.rb
555
+ - spec/models/single_app_info_res_dto_spec.rb
556
+ - spec/models/trigger_instance_params_dto_spec.rb
557
+ - spec/models/get_connections_result_spec.rb
558
+ - spec/models/action_analytics_dto_spec.rb
559
+ - spec/models/data_spec.rb
560
+ - spec/models/add_tools_request_dto_spec.rb
561
+ - spec/models/member_info_res_dto_spec.rb
492
562
  - spec/models/magic_link_req_dto_spec.rb
563
+ - spec/models/action_by_app_dto_spec.rb
564
+ - spec/models/delete_api_key_req_dto_spec.rb
565
+ - spec/models/action_get_nla_inputs_req_dto_spec.rb
566
+ - spec/models/cli_query_dto_spec.rb
567
+ - spec/models/get_trigger_params_dto_spec.rb
568
+ - spec/models/delete_tools_req_dto_spec.rb
569
+ - spec/models/add_tools_req_dto_spec.rb
570
+ - spec/models/switch_trigger_status_body_dto_spec.rb
571
+ - spec/models/page_info_spec.rb
572
+ - spec/models/generate_cli_session_res_dto_spec.rb
573
+ - spec/models/initiate_connection_response_spec.rb
574
+ - spec/models/o_auth2_callback_query_dto_spec.rb
575
+ - spec/models/status_spec.rb
576
+ - spec/models/update_member_req_dto_spec.rb
577
+ - spec/models/connector_list_item_dto_updated_at_spec.rb
578
+ - spec/models/tools_execute_req_dto_spec.rb
579
+ - spec/models/connection_params_spec.rb
580
+ - spec/models/member_info_res_dto_created_at_spec.rb
581
+ - spec/models/action_metadata_spec.rb
582
+ - spec/models/app_query_dto_spec.rb
583
+ - spec/models/verify_magic_link_req_dto_spec.rb
584
+ - spec/models/invite_member_req_dto_spec.rb
585
+ - spec/models/auth_config_dto_spec.rb
586
+ - spec/models/connector_list_item_dto_created_at_spec.rb
587
+ - spec/models/app_list_res_dto_spec.rb
588
+ - spec/models/trigger_metadata_type_spec.rb
589
+ - spec/models/initiate_connection_payload_dto_spec.rb
590
+ - spec/models/parameter_spec.rb
591
+ - spec/models/trigger_res_dto_spec.rb
493
592
  - spec/models/list_triggers_query_dto_spec.rb
593
+ - spec/models/plan_spec.rb
594
+ - spec/models/time_spec.rb
595
+ - spec/models/redirect_uri_dto_spec.rb
596
+ - spec/models/client_unique_user_id_count_dto_spec.rb
597
+ - spec/models/get_connection_info_response_dto_spec.rb
598
+ - spec/models/verify_cli_code_res_dto_spec.rb
494
599
  - spec/simple_test_spec.rb
495
600
  - spec/spec_helper.rb
@@ -1,22 +0,0 @@
1
- =begin
2
- #Composio OpenAPI
3
-
4
- #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- =end
8
-
9
- require 'spec_helper'
10
- require 'json'
11
- require 'date'
12
-
13
- # Unit tests for Composio::JobStatus
14
- describe Composio::JobStatus do
15
- let(:instance) { Composio::JobStatus.new }
16
-
17
- describe 'test an instance of JobStatus' do
18
- it 'should create an instance of JobStatus' do
19
- expect(instance).to be_instance_of(Composio::JobStatus)
20
- end
21
- end
22
- end