carbon_ruby_sdk 0.2.41 → 0.2.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +273 -3
  4. data/lib/carbon_ruby_sdk/api/data_sources_api.rb +196 -0
  5. data/lib/carbon_ruby_sdk/api/files_api.rb +4 -4
  6. data/lib/carbon_ruby_sdk/api/integrations_api.rb +48 -16
  7. data/lib/carbon_ruby_sdk/api/users_api.rb +71 -0
  8. data/lib/carbon_ruby_sdk/api/white_label_api.rb +393 -0
  9. data/lib/carbon_ruby_sdk/models/add_data_source_tags_input.rb +234 -0
  10. data/lib/carbon_ruby_sdk/models/azure_blob_auth_request.rb +14 -4
  11. data/lib/carbon_ruby_sdk/models/cold_storage_props.rb +1 -1
  12. data/lib/carbon_ruby_sdk/models/credentials.rb +244 -0
  13. data/lib/carbon_ruby_sdk/models/delete_white_label_request.rb +222 -0
  14. data/lib/carbon_ruby_sdk/models/external_source_item.rb +11 -1
  15. data/lib/carbon_ruby_sdk/models/fresh_desk_connect_request.rb +15 -5
  16. data/lib/carbon_ruby_sdk/models/gitbook_connect_request.rb +15 -5
  17. data/lib/carbon_ruby_sdk/models/github_connect_request.rb +14 -4
  18. data/lib/carbon_ruby_sdk/models/google_drive_credentials.rb +254 -0
  19. data/lib/carbon_ruby_sdk/models/google_drive_white_label_input.rb +230 -0
  20. data/lib/carbon_ruby_sdk/models/guru_connect_request.rb +15 -5
  21. data/lib/carbon_ruby_sdk/models/list_white_label_request.rb +246 -0
  22. data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +15 -5
  23. data/lib/carbon_ruby_sdk/models/one_drive_sharepoint_credentials.rb +264 -0
  24. data/lib/carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input.rb +234 -0
  25. data/lib/carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input_data_source_type.rb +36 -0
  26. data/lib/carbon_ruby_sdk/models/organization_user_data_source_api.rb +15 -1
  27. data/lib/carbon_ruby_sdk/models/organization_user_data_source_filters.rb +12 -1
  28. data/lib/carbon_ruby_sdk/models/remove_data_source_tags_input.rb +242 -0
  29. data/lib/carbon_ruby_sdk/models/rss_feed_input.rb +15 -5
  30. data/lib/carbon_ruby_sdk/models/s3_auth_request.rb +15 -5
  31. data/lib/carbon_ruby_sdk/models/sync_options.rb +15 -5
  32. data/lib/carbon_ruby_sdk/models/user_response.rb +18 -4
  33. data/lib/carbon_ruby_sdk/models/white_label_create_request_inner.rb +255 -0
  34. data/lib/carbon_ruby_sdk/models/white_label_filters.rb +230 -0
  35. data/lib/carbon_ruby_sdk/models/white_label_input.rb +234 -0
  36. data/lib/carbon_ruby_sdk/models/white_label_input_data_source_type.rb +48 -0
  37. data/lib/carbon_ruby_sdk/models/white_label_order_by_columns.rb +36 -0
  38. data/lib/carbon_ruby_sdk/models/white_label_update_request.rb +255 -0
  39. data/lib/carbon_ruby_sdk/models/white_labeling_response.rb +18 -4
  40. data/lib/carbon_ruby_sdk/version.rb +1 -1
  41. data/lib/carbon_ruby_sdk.rb +19 -0
  42. data/spec/api/data_sources_api_spec.rb +22 -0
  43. data/spec/api/files_api_spec.rb +1 -1
  44. data/spec/api/users_api_spec.rb +10 -0
  45. data/spec/api/white_label_api_spec.rb +73 -0
  46. data/spec/models/add_data_source_tags_input_spec.rb +34 -0
  47. data/spec/models/azure_blob_auth_request_spec.rb +6 -0
  48. data/spec/models/credentials_spec.rb +40 -0
  49. data/spec/models/delete_white_label_request_spec.rb +28 -0
  50. data/spec/models/external_source_item_spec.rb +6 -0
  51. data/spec/models/fresh_desk_connect_request_spec.rb +6 -0
  52. data/spec/models/gitbook_connect_request_spec.rb +6 -0
  53. data/spec/models/github_connect_request_spec.rb +6 -0
  54. data/spec/models/google_drive_credentials_spec.rb +46 -0
  55. data/spec/models/google_drive_white_label_input_spec.rb +34 -0
  56. data/spec/models/guru_connect_request_spec.rb +6 -0
  57. data/spec/models/list_white_label_request_spec.rb +46 -0
  58. data/spec/models/o_auth_url_request_spec.rb +6 -0
  59. data/spec/models/one_drive_sharepoint_credentials_spec.rb +52 -0
  60. data/spec/models/one_drive_sharepoint_white_label_input_data_source_type_spec.rb +22 -0
  61. data/spec/models/one_drive_sharepoint_white_label_input_spec.rb +34 -0
  62. data/spec/models/organization_user_data_source_api_spec.rb +6 -0
  63. data/spec/models/organization_user_data_source_filters_spec.rb +6 -0
  64. data/spec/models/remove_data_source_tags_input_spec.rb +40 -0
  65. data/spec/models/rss_feed_input_spec.rb +6 -0
  66. data/spec/models/s3_auth_request_spec.rb +6 -0
  67. data/spec/models/sync_options_spec.rb +6 -0
  68. data/spec/models/user_response_spec.rb +6 -0
  69. data/spec/models/white_label_create_request_inner_spec.rb +34 -0
  70. data/spec/models/white_label_filters_spec.rb +34 -0
  71. data/spec/models/white_label_input_data_source_type_spec.rb +22 -0
  72. data/spec/models/white_label_input_spec.rb +34 -0
  73. data/spec/models/white_label_order_by_columns_spec.rb +22 -0
  74. data/spec/models/white_label_update_request_spec.rb +34 -0
  75. data/spec/models/white_labeling_response_spec.rb +6 -0
  76. metadata +53 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carbon_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.41
4
+ version: 0.2.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-16 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -95,6 +95,7 @@ files:
95
95
  - lib/carbon_ruby_sdk/api/users_api.rb
96
96
  - lib/carbon_ruby_sdk/api/utilities_api.rb
97
97
  - lib/carbon_ruby_sdk/api/webhooks_api.rb
98
+ - lib/carbon_ruby_sdk/api/white_label_api.rb
98
99
  - lib/carbon_ruby_sdk/api_client.rb
99
100
  - lib/carbon_ruby_sdk/api_client_custom.rb
100
101
  - lib/carbon_ruby_sdk/api_error.rb
@@ -105,6 +106,7 @@ files:
105
106
  - lib/carbon_ruby_sdk/models/accounts_order_by.rb
106
107
  - lib/carbon_ruby_sdk/models/accounts_order_by_nullable.rb
107
108
  - lib/carbon_ruby_sdk/models/accounts_request.rb
109
+ - lib/carbon_ruby_sdk/models/add_data_source_tags_input.rb
108
110
  - lib/carbon_ruby_sdk/models/add_webhook_props.rb
109
111
  - lib/carbon_ruby_sdk/models/address.rb
110
112
  - lib/carbon_ruby_sdk/models/authentication_property.rb
@@ -138,6 +140,7 @@ files:
138
140
  - lib/carbon_ruby_sdk/models/contacts_order_by_nullable.rb
139
141
  - lib/carbon_ruby_sdk/models/contacts_request.rb
140
142
  - lib/carbon_ruby_sdk/models/contacts_response.rb
143
+ - lib/carbon_ruby_sdk/models/credentials.rb
141
144
  - lib/carbon_ruby_sdk/models/custom_credentials_type.rb
142
145
  - lib/carbon_ruby_sdk/models/data_source_configuration.rb
143
146
  - lib/carbon_ruby_sdk/models/data_source_last_sync_actions.rb
@@ -147,6 +150,7 @@ files:
147
150
  - lib/carbon_ruby_sdk/models/delete_files_query_input.rb
148
151
  - lib/carbon_ruby_sdk/models/delete_files_v2_query_input.rb
149
152
  - lib/carbon_ruby_sdk/models/delete_users_input.rb
153
+ - lib/carbon_ruby_sdk/models/delete_white_label_request.rb
150
154
  - lib/carbon_ruby_sdk/models/directory_item.rb
151
155
  - lib/carbon_ruby_sdk/models/document_response.rb
152
156
  - lib/carbon_ruby_sdk/models/document_response_list.rb
@@ -191,6 +195,8 @@ files:
191
195
  - lib/carbon_ruby_sdk/models/github_fetch_repos_request.rb
192
196
  - lib/carbon_ruby_sdk/models/gmail_sync_input.rb
193
197
  - lib/carbon_ruby_sdk/models/gong_authentication.rb
198
+ - lib/carbon_ruby_sdk/models/google_drive_credentials.rb
199
+ - lib/carbon_ruby_sdk/models/google_drive_white_label_input.rb
194
200
  - lib/carbon_ruby_sdk/models/guru_authentication.rb
195
201
  - lib/carbon_ruby_sdk/models/guru_connect_request.rb
196
202
  - lib/carbon_ruby_sdk/models/head_or_base.rb
@@ -223,6 +229,7 @@ files:
223
229
  - lib/carbon_ruby_sdk/models/list_users_filters.rb
224
230
  - lib/carbon_ruby_sdk/models/list_users_order_by_types.rb
225
231
  - lib/carbon_ruby_sdk/models/list_users_request.rb
232
+ - lib/carbon_ruby_sdk/models/list_white_label_request.rb
226
233
  - lib/carbon_ruby_sdk/models/location_property_inner.rb
227
234
  - lib/carbon_ruby_sdk/models/modify_cold_storage_parameters_query_input.rb
228
235
  - lib/carbon_ruby_sdk/models/modify_user_configuration_input.rb
@@ -233,6 +240,9 @@ files:
233
240
  - lib/carbon_ruby_sdk/models/oauth_based_connectors.rb
234
241
  - lib/carbon_ruby_sdk/models/object_type.rb
235
242
  - lib/carbon_ruby_sdk/models/one_drive_authentication.rb
243
+ - lib/carbon_ruby_sdk/models/one_drive_sharepoint_credentials.rb
244
+ - lib/carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input.rb
245
+ - lib/carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input_data_source_type.rb
236
246
  - lib/carbon_ruby_sdk/models/opportunities_order_by.rb
237
247
  - lib/carbon_ruby_sdk/models/opportunities_order_by_nullable.rb
238
248
  - lib/carbon_ruby_sdk/models/opportunities_request.rb
@@ -280,6 +290,7 @@ files:
280
290
  - lib/carbon_ruby_sdk/models/rank_property.rb
281
291
  - lib/carbon_ruby_sdk/models/raw_text_input.rb
282
292
  - lib/carbon_ruby_sdk/models/raw_transcript_property_inner_value.rb
293
+ - lib/carbon_ruby_sdk/models/remove_data_source_tags_input.rb
283
294
  - lib/carbon_ruby_sdk/models/rerank_params.rb
284
295
  - lib/carbon_ruby_sdk/models/rerank_params_nullable.rb
285
296
  - lib/carbon_ruby_sdk/models/resync_file_query_input.rb
@@ -343,6 +354,12 @@ files:
343
354
  - lib/carbon_ruby_sdk/models/webhook_query_response.rb
344
355
  - lib/carbon_ruby_sdk/models/webhook_status.rb
345
356
  - lib/carbon_ruby_sdk/models/webscrape_request.rb
357
+ - lib/carbon_ruby_sdk/models/white_label_create_request_inner.rb
358
+ - lib/carbon_ruby_sdk/models/white_label_filters.rb
359
+ - lib/carbon_ruby_sdk/models/white_label_input.rb
360
+ - lib/carbon_ruby_sdk/models/white_label_input_data_source_type.rb
361
+ - lib/carbon_ruby_sdk/models/white_label_order_by_columns.rb
362
+ - lib/carbon_ruby_sdk/models/white_label_update_request.rb
346
363
  - lib/carbon_ruby_sdk/models/white_labeling_response.rb
347
364
  - lib/carbon_ruby_sdk/models/youtube_transcript_response.rb
348
365
  - lib/carbon_ruby_sdk/models/zendesk_authentication.rb
@@ -359,6 +376,7 @@ files:
359
376
  - spec/api/users_api_spec.rb
360
377
  - spec/api/utilities_api_spec.rb
361
378
  - spec/api/webhooks_api_spec.rb
379
+ - spec/api/white_label_api_spec.rb
362
380
  - spec/api_client_spec.rb
363
381
  - spec/configuration_spec.rb
364
382
  - spec/getting_started_spec.rb
@@ -368,6 +386,7 @@ files:
368
386
  - spec/models/accounts_order_by_nullable_spec.rb
369
387
  - spec/models/accounts_order_by_spec.rb
370
388
  - spec/models/accounts_request_spec.rb
389
+ - spec/models/add_data_source_tags_input_spec.rb
371
390
  - spec/models/add_webhook_props_spec.rb
372
391
  - spec/models/address_spec.rb
373
392
  - spec/models/authentication_property_spec.rb
@@ -401,6 +420,7 @@ files:
401
420
  - spec/models/contacts_order_by_spec.rb
402
421
  - spec/models/contacts_request_spec.rb
403
422
  - spec/models/contacts_response_spec.rb
423
+ - spec/models/credentials_spec.rb
404
424
  - spec/models/custom_credentials_type_spec.rb
405
425
  - spec/models/data_source_configuration_spec.rb
406
426
  - spec/models/data_source_last_sync_actions_spec.rb
@@ -410,6 +430,7 @@ files:
410
430
  - spec/models/delete_files_query_input_spec.rb
411
431
  - spec/models/delete_files_v2_query_input_spec.rb
412
432
  - spec/models/delete_users_input_spec.rb
433
+ - spec/models/delete_white_label_request_spec.rb
413
434
  - spec/models/directory_item_spec.rb
414
435
  - spec/models/document_response_list_spec.rb
415
436
  - spec/models/document_response_spec.rb
@@ -454,6 +475,8 @@ files:
454
475
  - spec/models/github_fetch_repos_request_spec.rb
455
476
  - spec/models/gmail_sync_input_spec.rb
456
477
  - spec/models/gong_authentication_spec.rb
478
+ - spec/models/google_drive_credentials_spec.rb
479
+ - spec/models/google_drive_white_label_input_spec.rb
457
480
  - spec/models/guru_authentication_spec.rb
458
481
  - spec/models/guru_connect_request_spec.rb
459
482
  - spec/models/head_or_base_spec.rb
@@ -486,6 +509,7 @@ files:
486
509
  - spec/models/list_users_filters_spec.rb
487
510
  - spec/models/list_users_order_by_types_spec.rb
488
511
  - spec/models/list_users_request_spec.rb
512
+ - spec/models/list_white_label_request_spec.rb
489
513
  - spec/models/location_property_inner_spec.rb
490
514
  - spec/models/modify_cold_storage_parameters_query_input_spec.rb
491
515
  - spec/models/modify_user_configuration_input_spec.rb
@@ -496,6 +520,9 @@ files:
496
520
  - spec/models/oauth_based_connectors_spec.rb
497
521
  - spec/models/object_type_spec.rb
498
522
  - spec/models/one_drive_authentication_spec.rb
523
+ - spec/models/one_drive_sharepoint_credentials_spec.rb
524
+ - spec/models/one_drive_sharepoint_white_label_input_data_source_type_spec.rb
525
+ - spec/models/one_drive_sharepoint_white_label_input_spec.rb
499
526
  - spec/models/opportunities_order_by_nullable_spec.rb
500
527
  - spec/models/opportunities_order_by_spec.rb
501
528
  - spec/models/opportunities_request_spec.rb
@@ -543,6 +570,7 @@ files:
543
570
  - spec/models/rank_property_spec.rb
544
571
  - spec/models/raw_text_input_spec.rb
545
572
  - spec/models/raw_transcript_property_inner_value_spec.rb
573
+ - spec/models/remove_data_source_tags_input_spec.rb
546
574
  - spec/models/rerank_params_nullable_spec.rb
547
575
  - spec/models/rerank_params_spec.rb
548
576
  - spec/models/resync_file_query_input_spec.rb
@@ -606,6 +634,12 @@ files:
606
634
  - spec/models/webhook_spec.rb
607
635
  - spec/models/webhook_status_spec.rb
608
636
  - spec/models/webscrape_request_spec.rb
637
+ - spec/models/white_label_create_request_inner_spec.rb
638
+ - spec/models/white_label_filters_spec.rb
639
+ - spec/models/white_label_input_data_source_type_spec.rb
640
+ - spec/models/white_label_input_spec.rb
641
+ - spec/models/white_label_order_by_columns_spec.rb
642
+ - spec/models/white_label_update_request_spec.rb
609
643
  - spec/models/white_labeling_response_spec.rb
610
644
  - spec/models/youtube_transcript_response_spec.rb
611
645
  - spec/models/zendesk_authentication_spec.rb
@@ -644,6 +678,7 @@ test_files:
644
678
  - spec/api/github_api_spec.rb
645
679
  - spec/api/integrations_api_spec.rb
646
680
  - spec/api/organizations_api_spec.rb
681
+ - spec/api/white_label_api_spec.rb
647
682
  - spec/api/utilities_api_spec.rb
648
683
  - spec/api/data_sources_api_spec.rb
649
684
  - spec/api/crm_api_spec.rb
@@ -662,6 +697,7 @@ test_files:
662
697
  - spec/models/chunk_properties_spec.rb
663
698
  - spec/models/organization_user_data_source_filters_spec.rb
664
699
  - spec/models/helpdesk_file_types_spec.rb
700
+ - spec/models/white_label_filters_spec.rb
665
701
  - spec/models/files_input_spec.rb
666
702
  - spec/models/account_spec.rb
667
703
  - spec/models/webhook_no_key_spec.rb
@@ -674,17 +710,20 @@ test_files:
674
710
  - spec/models/list_user_response_spec.rb
675
711
  - spec/models/sync_files_request_spec.rb
676
712
  - spec/models/organization_user_file_tag_create_spec.rb
713
+ - spec/models/list_white_label_request_spec.rb
677
714
  - spec/models/sitemap_scrape_request_spec.rb
678
715
  - spec/models/partial_owner_nullable_spec.rb
679
716
  - spec/models/guru_authentication_spec.rb
680
717
  - spec/models/presigned_url_response_spec.rb
681
718
  - spec/models/service_now_file_types_spec.rb
682
719
  - spec/models/user_response_spec.rb
720
+ - spec/models/white_label_input_data_source_type_spec.rb
683
721
  - spec/models/hybrid_search_tuning_params_nullable_spec.rb
684
722
  - spec/models/notion_authentication_spec.rb
685
723
  - spec/models/user_list_response_spec.rb
686
724
  - spec/models/comments_order_by_spec.rb
687
725
  - spec/models/user_web_pages_request_spec.rb
726
+ - spec/models/one_drive_sharepoint_white_label_input_data_source_type_spec.rb
688
727
  - spec/models/service_now_credentials_nullable_spec.rb
689
728
  - spec/models/azure_blob_auth_request_spec.rb
690
729
  - spec/models/s3_file_sync_input_spec.rb
@@ -693,11 +732,13 @@ test_files:
693
732
  - spec/models/organization_user_data_source_order_by_columns_spec.rb
694
733
  - spec/models/opportunity_status_spec.rb
695
734
  - spec/models/leads_response_spec.rb
735
+ - spec/models/one_drive_sharepoint_credentials_spec.rb
696
736
  - spec/models/delete_files_query_input_spec.rb
697
737
  - spec/models/body_create_upload_file_uploadfile_post_spec.rb
698
738
  - spec/models/webhook_query_input_spec.rb
699
739
  - spec/models/organization_user_files_to_sync_order_by_types_spec.rb
700
740
  - spec/models/organization_user_data_source_query_input_spec.rb
741
+ - spec/models/delete_white_label_request_spec.rb
701
742
  - spec/models/connect_data_source_response_spec.rb
702
743
  - spec/models/pr_file_spec.rb
703
744
  - spec/models/base_includes_spec.rb
@@ -720,6 +761,7 @@ test_files:
720
761
  - spec/models/file_sync_config_spec.rb
721
762
  - spec/models/document_response_spec.rb
722
763
  - spec/models/user_configuration_spec.rb
764
+ - spec/models/google_drive_white_label_input_spec.rb
723
765
  - spec/models/sent_webhook_payload_object_object_id_spec.rb
724
766
  - spec/models/connect_data_source_input_spec.rb
725
767
  - spec/models/pull_request_filters_spec.rb
@@ -774,8 +816,10 @@ test_files:
774
816
  - spec/models/fresh_desk_connect_request_spec.rb
775
817
  - spec/models/user_file_spec.rb
776
818
  - spec/models/opportunity_filters_spec.rb
819
+ - spec/models/google_drive_credentials_spec.rb
777
820
  - spec/models/list_users_filters_spec.rb
778
821
  - spec/models/upload_file_from_url_input_spec.rb
822
+ - spec/models/white_label_update_request_spec.rb
779
823
  - spec/models/freskdesk_authentication_spec.rb
780
824
  - spec/models/external_source_items_order_by_spec.rb
781
825
  - spec/models/sync_files_ids_spec.rb
@@ -793,6 +837,7 @@ test_files:
793
837
  - spec/models/list_items_filters_spec.rb
794
838
  - spec/models/file_sync_config_nullable_spec.rb
795
839
  - spec/models/location_property_inner_spec.rb
840
+ - spec/models/white_label_order_by_columns_spec.rb
796
841
  - spec/models/comments_response_spec.rb
797
842
  - spec/models/source_property_spec.rb
798
843
  - spec/models/tags1_spec.rb
@@ -843,6 +888,7 @@ test_files:
843
888
  - spec/models/file_content_types_spec.rb
844
889
  - spec/models/update_organization_input_spec.rb
845
890
  - spec/models/sharepoint_authentication_spec.rb
891
+ - spec/models/one_drive_sharepoint_white_label_input_spec.rb
846
892
  - spec/models/gitbook_connect_request_spec.rb
847
893
  - spec/models/opportunities_order_by_spec.rb
848
894
  - spec/models/zotero_authentication_spec.rb
@@ -883,11 +929,16 @@ test_files:
883
929
  - spec/models/pull_request_extended_spec.rb
884
930
  - spec/models/sent_webhook_request_body_spec.rb
885
931
  - spec/models/transcription_service_spec.rb
932
+ - spec/models/white_label_input_spec.rb
933
+ - spec/models/remove_data_source_tags_input_spec.rb
886
934
  - spec/models/http_validation_error_spec.rb
935
+ - spec/models/white_label_create_request_inner_spec.rb
887
936
  - spec/models/validation_error_spec.rb
888
937
  - spec/models/user_spec.rb
938
+ - spec/models/credentials_spec.rb
889
939
  - spec/models/delete_files_v2_query_input_spec.rb
890
940
  - spec/models/list_request_spec.rb
941
+ - spec/models/add_data_source_tags_input_spec.rb
891
942
  - spec/models/guru_connect_request_spec.rb
892
943
  - spec/models/user_configuration_nullable_spec.rb
893
944
  - spec/models/revoke_access_token_input_spec.rb