composio 0.1.6 → 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 +10 -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 +6 -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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72b585b874b3025021e8aead8165bcd81ba79e765c9304a41401da27a2f641d5
4
- data.tar.gz: a0d05fe0432098875ff52bb39840a4b421472c8a07067754016c1501898e6076
3
+ metadata.gz: 9e485ae43f7fb989184d40fd06ce5eb6d343e22537c3956f7bc63e1250adb83e
4
+ data.tar.gz: 86731e7a971d1687179c7cddb7f900703878bbcbf37f3ee6982bb75a299109ed
5
5
  SHA512:
6
- metadata.gz: a386999bbd71b41ef715c89fdc39328ef75d454691d8d105b1ffb11d48c7ce3dfba01dabc74f6fdc39db2ab87e51190a70a9054720301283acb57e6ea60118b8
7
- data.tar.gz: 4c8fecdcd3c203f7d14430333c56310b8638537f46f4dc944db2da11be26ee8dbf76eef672c41dd619676def1b311856fdfe3f47f434bf1edaa76d3307473aea
6
+ metadata.gz: c1618ba27e91a618d2a6e9c0e8c2e416d85a485e8c1781cb026cfefa441f8b067d37084a16b0f4613d53e0d676e929f0ad360689396cc910eeb651259d71ab03
7
+ data.tar.gz: 81fb3f900aba698fb8ef549b53a460975dc0c37f04deb4ea82ba6fbded0c7a37d397dc1035018e52493f7b82d86238e9cc71ca075ea0611e4ee535852d94e781
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- composio (0.1.6)
4
+ composio (0.1.7)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -44,7 +44,7 @@ GEM
44
44
  regexp_parser (2.9.2)
45
45
  reline (0.5.10)
46
46
  io-console (~> 0.5)
47
- rexml (3.3.7)
47
+ rexml (3.3.8)
48
48
  rspec (3.13.0)
49
49
  rspec-core (~> 3.13.0)
50
50
  rspec-expectations (~> 3.13.0)
@@ -54,7 +54,7 @@ GEM
54
54
  rspec-expectations (3.13.3)
55
55
  diff-lcs (>= 1.2.0, < 2.0)
56
56
  rspec-support (~> 3.13.0)
57
- rspec-mocks (3.13.1)
57
+ rspec-mocks (3.13.2)
58
58
  diff-lcs (>= 1.2.0, < 2.0)
59
59
  rspec-support (~> 3.13.0)
60
60
  rspec-support (3.13.1)
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v0.1.6-blue)](https://rubygems.org/gems/composio/versions/0.1.6)
9
+ [![npm](https://img.shields.io/badge/gem-v0.1.7-blue)](https://rubygems.org/gems/composio/versions/0.1.7)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://composio.dev)
11
11
 
12
12
  </div>
@@ -25,10 +25,16 @@ Composio SDK: Equip your agent with high-quality tools and build your real-world
25
25
  * [`composio.actions.execute`](#composioactionsexecute)
26
26
  * [`composio.actions.execute_action_proxy`](#composioactionsexecute_action_proxy)
27
27
  * [`composio.actions.get_action_by_id`](#composioactionsget_action_by_id)
28
+ * [`composio.actions.get_action_inputs`](#composioactionsget_action_inputs)
28
29
  * [`composio.actions.get_all_actions_based_on_query`](#composioactionsget_all_actions_based_on_query)
30
+ * [`composio.analytics.get`](#composioanalyticsget)
31
+ * [`composio.analytics.get_top_entities`](#composioanalyticsget_top_entities)
32
+ * [`composio.apps.delete_open_api_spec_tool`](#composioappsdelete_open_api_spec_tool)
29
33
  * [`composio.apps.get_details`](#composioappsget_details)
34
+ * [`composio.apps.get_open_api_spec_status`](#composioappsget_open_api_spec_status)
30
35
  * [`composio.apps.list`](#composioappslist)
31
36
  * [`composio.apps.list_open_api_specs`](#composioappslist_open_api_specs)
37
+ * [`composio.apps.send_email_to_client`](#composioappssend_email_to_client)
32
38
  * [`composio.auth.identify_client_operation`](#composioauthidentify_client_operation)
33
39
  * [`composio.connections.delete`](#composioconnectionsdelete)
34
40
  * [`composio.connections.disable`](#composioconnectionsdisable)
@@ -36,12 +42,23 @@ Composio SDK: Equip your agent with high-quality tools and build your real-world
36
42
  * [`composio.connections.get`](#composioconnectionsget)
37
43
  * [`composio.connections.initiate`](#composioconnectionsinitiate)
38
44
  * [`composio.connections.list`](#composioconnectionslist)
45
+ * [`composio.event_logs.get_events`](#composioevent_logsget_events)
46
+ * [`composio.event_logs.get_webhook`](#composioevent_logsget_webhook)
47
+ * [`composio.event_logs.get_webhook_secret`](#composioevent_logsget_webhook_secret)
48
+ * [`composio.event_logs.refresh_webhook_secret`](#composioevent_logsrefresh_webhook_secret)
49
+ * [`composio.event_logs.update_webhook`](#composioevent_logsupdate_webhook)
39
50
  * [`composio.integrations.create_integration`](#composiointegrationscreate_integration)
40
51
  * [`composio.integrations.delete_connector`](#composiointegrationsdelete_connector)
41
52
  * [`composio.integrations.get_connector_info`](#composiointegrationsget_connector_info)
42
53
  * [`composio.integrations.list_global_connectors`](#composiointegrationslist_global_connectors)
43
54
  * [`composio.integrations.update_integration`](#composiointegrationsupdate_integration)
55
+ * [`composio.logs.add_new_logs`](#composiologsadd_new_logs)
44
56
  * [`composio.logs.list`](#composiologslist)
57
+ * [`composio.payment.create_checkout_session`](#composiopaymentcreate_checkout_session)
58
+ * [`composio.payment.get_checkout_session_status`](#composiopaymentget_checkout_session_status)
59
+ * [`composio.payment.get_invoice`](#composiopaymentget_invoice)
60
+ * [`composio.payment.get_invoices`](#composiopaymentget_invoices)
61
+ * [`composio.payment.handle_stripe_webhook`](#composiopaymenthandle_stripe_webhook)
45
62
  * [`composio.triggers.delete_trigger_instance`](#composiotriggersdelete_trigger_instance)
46
63
  * [`composio.triggers.disable_trigger_instance`](#composiotriggersdisable_trigger_instance)
47
64
  * [`composio.triggers.enable`](#composiotriggersenable)
@@ -60,7 +77,7 @@ Composio SDK: Equip your agent with high-quality tools and build your real-world
60
77
  Add to Gemfile:
61
78
 
62
79
  ```ruby
63
- gem 'composio', '~> 0.1.6'
80
+ gem 'composio', '~> 0.1.7'
64
81
  ```
65
82
 
66
83
  ## Getting Started<a id="getting-started"></a>
@@ -278,6 +295,33 @@ p result
278
295
  ---
279
296
 
280
297
 
298
+ ### `composio.actions.get_action_inputs`<a id="composioactionsget_action_inputs"></a>
299
+
300
+ Get the inputs for an action with NLA
301
+
302
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
303
+
304
+ ```ruby
305
+ result = composio.actions.get_action_inputs(
306
+ text: "string_example",
307
+ action_id: "'+j>6",
308
+ )
309
+ p result
310
+ ```
311
+
312
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
313
+
314
+ ##### text: `String`<a id="text-string"></a>
315
+ ##### action_id: `String`<a id="action_id-string"></a>
316
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
317
+
318
+ `/api/v2/actions/{actionId}/execute/get.inputs` `POST`
319
+
320
+ [🔙 **Back to Table of Contents**](#table-of-contents)
321
+
322
+ ---
323
+
324
+
281
325
  ### `composio.actions.get_all_actions_based_on_query`<a id="composioactionsget_all_actions_based_on_query"></a>
282
326
 
283
327
  Retrieve a list of all actions based on query parameters.
@@ -325,6 +369,89 @@ p result
325
369
  ---
326
370
 
327
371
 
372
+ ### `composio.analytics.get`<a id="composioanalyticsget"></a>
373
+
374
+ Get analytics
375
+
376
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
377
+
378
+ ```ruby
379
+ result = composio.analytics.get(
380
+ last_time_period: "DAY",
381
+ )
382
+ p result
383
+ ```
384
+
385
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
386
+
387
+ ##### last_time_period: `String`<a id="last_time_period-string"></a>
388
+ #### 🔄 Return<a id="🔄-return"></a>
389
+
390
+ [AnalyticsDataResDTO](./lib/composio/models/analytics_data_res_dto.rb)
391
+
392
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
393
+
394
+ `/api/v1/analytics` `GET`
395
+
396
+ [🔙 **Back to Table of Contents**](#table-of-contents)
397
+
398
+ ---
399
+
400
+
401
+ ### `composio.analytics.get_top_entities`<a id="composioanalyticsget_top_entities"></a>
402
+
403
+ Get top entities
404
+
405
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
406
+
407
+ ```ruby
408
+ result = composio.analytics.get_top_entities(
409
+ query: "string_example",
410
+ )
411
+ p result
412
+ ```
413
+
414
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
415
+
416
+ ##### query: `String`<a id="query-string"></a>
417
+ #### 🔄 Return<a id="🔄-return"></a>
418
+
419
+ [TopEntitiesResDTO](./lib/composio/models/top_entities_res_dto.rb)
420
+
421
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
422
+
423
+ `/api/v1/analytics/entities` `GET`
424
+
425
+ [🔙 **Back to Table of Contents**](#table-of-contents)
426
+
427
+ ---
428
+
429
+
430
+ ### `composio.apps.delete_open_api_spec_tool`<a id="composioappsdelete_open_api_spec_tool"></a>
431
+
432
+ Delete open api spec tool
433
+
434
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
435
+
436
+ ```ruby
437
+ result = composio.apps.delete_open_api_spec_tool(
438
+ id: "'+j>6",
439
+ )
440
+ p result
441
+ ```
442
+
443
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
444
+
445
+ ##### id: `String`<a id="id-string"></a>
446
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
447
+
448
+ `/api/v1/apps/openapi/spec/delete/{id}` `DELETE`
449
+
450
+ [🔙 **Back to Table of Contents**](#table-of-contents)
451
+
452
+ ---
453
+
454
+
328
455
  ### `composio.apps.get_details`<a id="composioappsget_details"></a>
329
456
 
330
457
  Get app details
@@ -354,6 +481,31 @@ p result
354
481
  ---
355
482
 
356
483
 
484
+ ### `composio.apps.get_open_api_spec_status`<a id="composioappsget_open_api_spec_status"></a>
485
+
486
+ Get open api spec status
487
+
488
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
489
+
490
+ ```ruby
491
+ result = composio.apps.get_open_api_spec_status(
492
+ id: "'+j>6",
493
+ )
494
+ p result
495
+ ```
496
+
497
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
498
+
499
+ ##### id: `String`<a id="id-string"></a>
500
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
501
+
502
+ `/api/v1/apps/openapi/spec/status/{id}` `GET`
503
+
504
+ [🔙 **Back to Table of Contents**](#table-of-contents)
505
+
506
+ ---
507
+
508
+
357
509
  ### `composio.apps.list`<a id="composioappslist"></a>
358
510
 
359
511
  Retrieve a list of all applications based on query parameters.
@@ -409,6 +561,32 @@ p result
409
561
  ---
410
562
 
411
563
 
564
+ ### `composio.apps.send_email_to_client`<a id="composioappssend_email_to_client"></a>
565
+
566
+ Send email to client
567
+
568
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
569
+
570
+ ```ruby
571
+ result = composio.apps.send_email_to_client(
572
+ admin_token: "string_example",
573
+ body: None,
574
+ )
575
+ p result
576
+ ```
577
+
578
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
579
+
580
+ ##### admin_token: `String`<a id="admin_token-string"></a>
581
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
582
+
583
+ `/api/v1/apps/openapi/send_email_to_client` `POST`
584
+
585
+ [🔙 **Back to Table of Contents**](#table-of-contents)
586
+
587
+ ---
588
+
589
+
412
590
  ### `composio.auth.identify_client_operation`<a id="composioauthidentify_client_operation"></a>
413
591
 
414
592
  Identify client
@@ -640,6 +818,120 @@ p result
640
818
  ---
641
819
 
642
820
 
821
+ ### `composio.event_logs.get_events`<a id="composioevent_logsget_events"></a>
822
+
823
+ Fetch events from database
824
+
825
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
826
+
827
+ ```ruby
828
+ result = composio.event_logs.get_events(
829
+ start_time: "0480-02-18T20:01:32F21798096225500850762068629339333975650685",
830
+ end_time: "0480-02-18T20:01:32F21798096225500850762068629339333975650685",
831
+ )
832
+ p result
833
+ ```
834
+
835
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
836
+
837
+ ##### start_time: `String`<a id="start_time-string"></a>
838
+ ##### end_time: `String`<a id="end_time-string"></a>
839
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
840
+
841
+ `/api/v1/event_logs/get/events` `GET`
842
+
843
+ [🔙 **Back to Table of Contents**](#table-of-contents)
844
+
845
+ ---
846
+
847
+
848
+ ### `composio.event_logs.get_webhook`<a id="composioevent_logsget_webhook"></a>
849
+
850
+ Get webhook
851
+
852
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
853
+
854
+ ```ruby
855
+ result = composio.event_logs.get_webhook
856
+ p result
857
+ ```
858
+
859
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
860
+
861
+ `/api/v1/event_logs/get/webhook` `GET`
862
+
863
+ [🔙 **Back to Table of Contents**](#table-of-contents)
864
+
865
+ ---
866
+
867
+
868
+ ### `composio.event_logs.get_webhook_secret`<a id="composioevent_logsget_webhook_secret"></a>
869
+
870
+ Get webhook secret
871
+
872
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
873
+
874
+ ```ruby
875
+ result = composio.event_logs.get_webhook_secret
876
+ p result
877
+ ```
878
+
879
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
880
+
881
+ `/api/v1/event_logs/webhook/secret/get` `GET`
882
+
883
+ [🔙 **Back to Table of Contents**](#table-of-contents)
884
+
885
+ ---
886
+
887
+
888
+ ### `composio.event_logs.refresh_webhook_secret`<a id="composioevent_logsrefresh_webhook_secret"></a>
889
+
890
+ Refresh webhook
891
+
892
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
893
+
894
+ ```ruby
895
+ result = composio.event_logs.refresh_webhook_secret
896
+ p result
897
+ ```
898
+
899
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
900
+
901
+ `/api/v1/event_logs/webhook/secret/refresh` `POST`
902
+
903
+ [🔙 **Back to Table of Contents**](#table-of-contents)
904
+
905
+ ---
906
+
907
+
908
+ ### `composio.event_logs.update_webhook`<a id="composioevent_logsupdate_webhook"></a>
909
+
910
+ Update webhook
911
+
912
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
913
+
914
+ ```ruby
915
+ result = composio.event_logs.update_webhook(
916
+ event_webhook_url: "string_example",
917
+ )
918
+ p result
919
+ ```
920
+
921
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
922
+
923
+ ##### eventWebhookURL: `String`<a id="eventwebhookurl-string"></a>
924
+ Event Webhook URL
925
+
926
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
927
+
928
+ `/api/v1/event_logs/set/webhook` `POST`
929
+
930
+ [🔙 **Back to Table of Contents**](#table-of-contents)
931
+
932
+ ---
933
+
934
+
643
935
  ### `composio.integrations.create_integration`<a id="composiointegrationscreate_integration"></a>
644
936
 
645
937
  Create connector
@@ -807,6 +1099,55 @@ Flag to indicate if the connector is enabled
807
1099
  ---
808
1100
 
809
1101
 
1102
+ ### `composio.logs.add_new_logs`<a id="composiologsadd_new_logs"></a>
1103
+
1104
+ Add new logs
1105
+
1106
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1107
+
1108
+ ```ruby
1109
+ result = composio.logs.add_new_logs(
1110
+ provider_name: "string_example",
1111
+ action_name: "string_example",
1112
+ request: {},
1113
+ response: {},
1114
+ is_error: true,
1115
+ connection_id: "string_example",
1116
+ entity_id: "string_example",
1117
+ )
1118
+ p result
1119
+ ```
1120
+
1121
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1122
+
1123
+ ##### providerName: `String`<a id="providername-string"></a>
1124
+ Provider name of the log
1125
+
1126
+ ##### actionName: `String`<a id="actionname-string"></a>
1127
+ Action name of the log
1128
+
1129
+ ##### request: `Object`<a id="request-object"></a>
1130
+ ##### response: `Object`<a id="response-object"></a>
1131
+ ##### isError: `Boolean`<a id="iserror-boolean"></a>
1132
+ ##### connectionId: `String`<a id="connectionid-string"></a>
1133
+ Connection ID of the log
1134
+
1135
+ ##### entityId: `String`<a id="entityid-string"></a>
1136
+ Entity ID of the log
1137
+
1138
+ #### 🔄 Return<a id="🔄-return"></a>
1139
+
1140
+ [IngestDataResponseDTO](./lib/composio/models/ingest_data_response_dto.rb)
1141
+
1142
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1143
+
1144
+ `/api/v1/logs` `POST`
1145
+
1146
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1147
+
1148
+ ---
1149
+
1150
+
810
1151
  ### `composio.logs.list`<a id="composiologslist"></a>
811
1152
 
812
1153
  List logs
@@ -823,7 +1164,7 @@ result = composio.logs.list(
823
1164
  entity_id: "string_example",
824
1165
  limit: 10,
825
1166
  cursor: "string_example",
826
- connection_id: "string_example",
1167
+ logs_type: "string_example",
827
1168
  )
828
1169
  p result
829
1170
  ```
@@ -838,7 +1179,7 @@ p result
838
1179
  ##### entity_id: `String`<a id="entity_id-string"></a>
839
1180
  ##### limit: `Float`<a id="limit-float"></a>
840
1181
  ##### cursor: `String`<a id="cursor-string"></a>
841
- ##### connection_id: `String`<a id="connection_id-string"></a>
1182
+ ##### logs_type: `String`<a id="logs_type-string"></a>
842
1183
  #### 🔄 Return<a id="🔄-return"></a>
843
1184
 
844
1185
  [LogsResDTO](./lib/composio/models/logs_res_dto.rb)
@@ -852,6 +1193,123 @@ p result
852
1193
  ---
853
1194
 
854
1195
 
1196
+ ### `composio.payment.create_checkout_session`<a id="composiopaymentcreate_checkout_session"></a>
1197
+
1198
+ Create checkout session
1199
+
1200
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1201
+
1202
+ ```ruby
1203
+ result = composio.payment.create_checkout_session(
1204
+ plan: "HOBBY",
1205
+ )
1206
+ p result
1207
+ ```
1208
+
1209
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1210
+
1211
+ ##### plan: [`Plan`](./lib/composio/models/plan.rb)<a id="plan-planlibcomposiomodelsplanrb"></a>
1212
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1213
+
1214
+ `/api/v1/payment/create-checkout-session` `POST`
1215
+
1216
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1217
+
1218
+ ---
1219
+
1220
+
1221
+ ### `composio.payment.get_checkout_session_status`<a id="composiopaymentget_checkout_session_status"></a>
1222
+
1223
+ Get checkout session status
1224
+
1225
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1226
+
1227
+ ```ruby
1228
+ result = composio.payment.get_checkout_session_status(
1229
+ session_id: "'+j>6",
1230
+ )
1231
+ p result
1232
+ ```
1233
+
1234
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1235
+
1236
+ ##### session_id: `String`<a id="session_id-string"></a>
1237
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1238
+
1239
+ `/api/v1/payment/checkout-session/{sessionId}/status` `GET`
1240
+
1241
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1242
+
1243
+ ---
1244
+
1245
+
1246
+ ### `composio.payment.get_invoice`<a id="composiopaymentget_invoice"></a>
1247
+
1248
+ Get invoice
1249
+
1250
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1251
+
1252
+ ```ruby
1253
+ result = composio.payment.get_invoice(
1254
+ invoice_id: "'+j>6",
1255
+ )
1256
+ p result
1257
+ ```
1258
+
1259
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1260
+
1261
+ ##### invoice_id: `String`<a id="invoice_id-string"></a>
1262
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1263
+
1264
+ `/api/v1/payment/invoices/{invoiceId}` `GET`
1265
+
1266
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1267
+
1268
+ ---
1269
+
1270
+
1271
+ ### `composio.payment.get_invoices`<a id="composiopaymentget_invoices"></a>
1272
+
1273
+ Get invoices
1274
+
1275
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1276
+
1277
+ ```ruby
1278
+ result = composio.payment.get_invoices
1279
+ p result
1280
+ ```
1281
+
1282
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1283
+
1284
+ `/api/v1/payment/invoices` `GET`
1285
+
1286
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1287
+
1288
+ ---
1289
+
1290
+
1291
+ ### `composio.payment.handle_stripe_webhook`<a id="composiopaymenthandle_stripe_webhook"></a>
1292
+
1293
+ Handle stripe webhook
1294
+
1295
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1296
+
1297
+ ```ruby
1298
+ result = composio.payment.handle_stripe_webhook(
1299
+ body: None,
1300
+ )
1301
+ p result
1302
+ ```
1303
+
1304
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1305
+
1306
+ `/api/v1/payment/webhook` `POST`
1307
+
1308
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1309
+
1310
+ ---
1311
+
1312
+
855
1313
  ### `composio.triggers.delete_trigger_instance`<a id="composiotriggersdelete_trigger_instance"></a>
856
1314
 
857
1315
  Deletes a specified trigger instance.