composio 0.1.5 → 0.1.7

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