carbon_ruby_sdk 0.2.48 → 0.2.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +58 -22
  4. data/lib/carbon_ruby_sdk/api/data_sources_api.rb +106 -2
  5. data/lib/carbon_ruby_sdk/api/embeddings_api.rb +4 -4
  6. data/lib/carbon_ruby_sdk/api/files_api.rb +22 -22
  7. data/lib/carbon_ruby_sdk/api/github_api.rb +6 -6
  8. data/lib/carbon_ruby_sdk/api/integrations_api.rb +22 -22
  9. data/lib/carbon_ruby_sdk/api/users_api.rb +10 -6
  10. data/lib/carbon_ruby_sdk/api/utilities_api.rb +4 -4
  11. data/lib/carbon_ruby_sdk/api/webhooks_api.rb +2 -2
  12. data/lib/carbon_ruby_sdk/api/white_label_api.rb +2 -2
  13. data/lib/carbon_ruby_sdk/models/authentication_property.rb +6 -2
  14. data/lib/carbon_ruby_sdk/models/auto_sync_enabled_sources_property.rb +1 -1
  15. data/lib/carbon_ruby_sdk/models/azure_blob_file_sync_input.rb +0 -2
  16. data/lib/carbon_ruby_sdk/models/azure_blob_storage_authentication.rb +6 -2
  17. data/lib/carbon_ruby_sdk/models/azure_blob_storage_types.rb +35 -0
  18. data/lib/carbon_ruby_sdk/models/chunk_properties.rb +0 -10
  19. data/lib/carbon_ruby_sdk/models/chunk_properties_nullable.rb +0 -10
  20. data/lib/carbon_ruby_sdk/models/comments_input.rb +0 -2
  21. data/lib/carbon_ruby_sdk/models/configuration_keys.rb +35 -0
  22. data/lib/carbon_ruby_sdk/models/confluence_authentication.rb +6 -2
  23. data/lib/carbon_ruby_sdk/models/confluence_authentication_source.rb +35 -0
  24. data/lib/carbon_ruby_sdk/models/data_source_extended_input.rb +35 -0
  25. data/lib/carbon_ruby_sdk/models/directory_item.rb +0 -10
  26. data/lib/carbon_ruby_sdk/models/embedding_model.rb +1 -1
  27. data/lib/carbon_ruby_sdk/models/embeddings_and_chunks_query_input.rb +0 -4
  28. data/lib/carbon_ruby_sdk/models/embeddings_and_chunks_query_input_v2.rb +0 -4
  29. data/lib/carbon_ruby_sdk/models/freskdesk_authentication.rb +6 -2
  30. data/lib/carbon_ruby_sdk/models/freskdesk_authentication_source.rb +35 -0
  31. data/lib/carbon_ruby_sdk/models/gitbook_authetication.rb +6 -2
  32. data/lib/carbon_ruby_sdk/models/gitbook_authetication_source.rb +35 -0
  33. data/lib/carbon_ruby_sdk/models/gitbook_connect_request.rb +0 -2
  34. data/lib/carbon_ruby_sdk/models/gitbook_sync_request.rb +0 -2
  35. data/lib/carbon_ruby_sdk/models/github_authentication.rb +6 -2
  36. data/lib/carbon_ruby_sdk/models/github_authentication_source.rb +35 -0
  37. data/lib/carbon_ruby_sdk/models/gmail_sync_input.rb +0 -2
  38. data/lib/carbon_ruby_sdk/models/gong_authentication.rb +6 -2
  39. data/lib/carbon_ruby_sdk/models/gong_authentication_source.rb +35 -0
  40. data/lib/carbon_ruby_sdk/models/google_drive_white_label_input.rb +6 -2
  41. data/lib/carbon_ruby_sdk/models/google_drive_white_label_input_data_source_type.rb +35 -0
  42. data/lib/carbon_ruby_sdk/models/guru_authentication.rb +6 -2
  43. data/lib/carbon_ruby_sdk/models/guru_authentication_source.rb +35 -0
  44. data/lib/carbon_ruby_sdk/models/guru_connect_request.rb +0 -2
  45. data/lib/carbon_ruby_sdk/models/issues_filter.rb +0 -2
  46. data/lib/carbon_ruby_sdk/models/issues_input.rb +0 -2
  47. data/lib/carbon_ruby_sdk/models/item_types_property_inner.rb +1 -1
  48. data/lib/carbon_ruby_sdk/models/list_data_source_items_request.rb +0 -4
  49. data/lib/carbon_ruby_sdk/models/list_user_response.rb +0 -10
  50. data/lib/carbon_ruby_sdk/models/list_users_request.rb +0 -4
  51. data/lib/carbon_ruby_sdk/models/list_white_label_request.rb +0 -4
  52. data/lib/carbon_ruby_sdk/models/modify_user_configuration_input.rb +1 -1
  53. data/lib/carbon_ruby_sdk/models/multi_modal_embedding_generators.rb +35 -0
  54. data/lib/carbon_ruby_sdk/models/notion_authentication.rb +6 -2
  55. data/lib/carbon_ruby_sdk/models/notion_authentication_source.rb +35 -0
  56. data/lib/carbon_ruby_sdk/models/one_drive_authentication.rb +6 -2
  57. data/lib/carbon_ruby_sdk/models/one_drive_authentication_source.rb +35 -0
  58. data/lib/carbon_ruby_sdk/models/organization_response.rb +0 -20
  59. data/lib/carbon_ruby_sdk/models/organization_user_data_source_query_input.rb +0 -4
  60. data/lib/carbon_ruby_sdk/models/organization_user_files_to_sync_query_input.rb +0 -8
  61. data/lib/carbon_ruby_sdk/models/outlook_sync_input.rb +0 -2
  62. data/lib/carbon_ruby_sdk/models/pull_request_filters.rb +0 -2
  63. data/lib/carbon_ruby_sdk/models/pull_requests_input.rb +0 -2
  64. data/lib/carbon_ruby_sdk/models/rss_feed_input.rb +0 -2
  65. data/lib/carbon_ruby_sdk/models/s3_authentication.rb +6 -2
  66. data/lib/carbon_ruby_sdk/models/s3_authentication_source.rb +35 -0
  67. data/lib/carbon_ruby_sdk/models/s3_file_sync_input.rb +1 -2
  68. data/lib/carbon_ruby_sdk/models/s3_get_file_input.rb +15 -5
  69. data/lib/carbon_ruby_sdk/models/salesforce_authentication.rb +6 -2
  70. data/lib/carbon_ruby_sdk/models/salesforce_authentication_source.rb +35 -0
  71. data/lib/carbon_ruby_sdk/models/service_now_authentication.rb +6 -2
  72. data/lib/carbon_ruby_sdk/models/service_now_authentication_source.rb +35 -0
  73. data/lib/carbon_ruby_sdk/models/sharepoint_authentication.rb +6 -2
  74. data/lib/carbon_ruby_sdk/models/sharepoint_authentication_source.rb +35 -0
  75. data/lib/carbon_ruby_sdk/models/sitemap_scrape_request.rb +0 -2
  76. data/lib/carbon_ruby_sdk/models/slack_sync_request.rb +0 -2
  77. data/lib/carbon_ruby_sdk/models/source.rb +35 -0
  78. data/lib/carbon_ruby_sdk/models/update_users_input.rb +27 -1
  79. data/lib/carbon_ruby_sdk/models/upload_file_from_url_input.rb +0 -2
  80. data/lib/carbon_ruby_sdk/models/user_configuration.rb +31 -5
  81. data/lib/carbon_ruby_sdk/models/user_configuration_nullable.rb +31 -5
  82. data/lib/carbon_ruby_sdk/models/user_file.rb +0 -20
  83. data/lib/carbon_ruby_sdk/models/user_response.rb +0 -15
  84. data/lib/carbon_ruby_sdk/models/user_web_pages_request.rb +0 -4
  85. data/lib/carbon_ruby_sdk/models/webhook_query_input.rb +0 -4
  86. data/lib/carbon_ruby_sdk/models/webscrape_request.rb +0 -2
  87. data/lib/carbon_ruby_sdk/models/white_labeling_response.rb +0 -5
  88. data/lib/carbon_ruby_sdk/models/zendesk_authentication.rb +6 -2
  89. data/lib/carbon_ruby_sdk/models/zendesk_authentication_source.rb +35 -0
  90. data/lib/carbon_ruby_sdk/models/zotero_authentication.rb +6 -2
  91. data/lib/carbon_ruby_sdk/models/zotero_authentication_source.rb +35 -0
  92. data/lib/carbon_ruby_sdk/version.rb +1 -1
  93. data/lib/carbon_ruby_sdk.rb +20 -0
  94. data/spec/api/data_sources_api_spec.rb +11 -0
  95. data/spec/models/azure_blob_storage_types_spec.rb +22 -0
  96. data/spec/models/configuration_keys_spec.rb +22 -0
  97. data/spec/models/confluence_authentication_source_spec.rb +22 -0
  98. data/spec/models/data_source_extended_input_spec.rb +22 -0
  99. data/spec/models/freskdesk_authentication_source_spec.rb +22 -0
  100. data/spec/models/gitbook_authetication_source_spec.rb +22 -0
  101. data/spec/models/github_authentication_source_spec.rb +22 -0
  102. data/spec/models/gong_authentication_source_spec.rb +22 -0
  103. data/spec/models/google_drive_white_label_input_data_source_type_spec.rb +22 -0
  104. data/spec/models/guru_authentication_source_spec.rb +22 -0
  105. data/spec/models/multi_modal_embedding_generators_spec.rb +22 -0
  106. data/spec/models/notion_authentication_source_spec.rb +22 -0
  107. data/spec/models/one_drive_authentication_source_spec.rb +22 -0
  108. data/spec/models/s3_authentication_source_spec.rb +22 -0
  109. data/spec/models/s3_get_file_input_spec.rb +6 -0
  110. data/spec/models/salesforce_authentication_source_spec.rb +22 -0
  111. data/spec/models/service_now_authentication_source_spec.rb +22 -0
  112. data/spec/models/sharepoint_authentication_source_spec.rb +22 -0
  113. data/spec/models/source_spec.rb +22 -0
  114. data/spec/models/update_users_input_spec.rb +6 -0
  115. data/spec/models/user_configuration_nullable_spec.rb +6 -0
  116. data/spec/models/user_configuration_spec.rb +6 -0
  117. data/spec/models/zendesk_authentication_source_spec.rb +22 -0
  118. data/spec/models/zotero_authentication_source_spec.rb +22 -0
  119. metadata +62 -2
@@ -385,7 +385,7 @@ module Carbon
385
385
  # @param data_source_tags [Object] Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.
386
386
  # @param body [GitbookConnectRequest]
387
387
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
388
- def connect_gitbook(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
388
+ def connect_gitbook(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
389
389
  _body = {}
390
390
  _body[:tags] = tags if tags != SENTINEL
391
391
  _body[:organization] = organization if organization != SENTINEL
@@ -429,7 +429,7 @@ module Carbon
429
429
  # @param data_source_tags [Object] Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.
430
430
  # @param body [GitbookConnectRequest]
431
431
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
432
- def connect_gitbook_with_http_info(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
432
+ def connect_gitbook_with_http_info(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
433
433
  _body = {}
434
434
  _body[:tags] = tags if tags != SENTINEL
435
435
  _body[:organization] = organization if organization != SENTINEL
@@ -539,7 +539,7 @@ module Carbon
539
539
  # @param data_source_tags [Object] Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.
540
540
  # @param body [GuruConnectRequest]
541
541
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
542
- def connect_guru(username:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
542
+ def connect_guru(username:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
543
543
  _body = {}
544
544
  _body[:tags] = tags if tags != SENTINEL
545
545
  _body[:username] = username if username != SENTINEL
@@ -581,7 +581,7 @@ module Carbon
581
581
  # @param data_source_tags [Object] Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.
582
582
  # @param body [GuruConnectRequest]
583
583
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
584
- def connect_guru_with_http_info(username:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
584
+ def connect_guru_with_http_info(username:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, data_source_tags: SENTINEL, extra: {})
585
585
  _body = {}
586
586
  _body[:tags] = tags if tags != SENTINEL
587
587
  _body[:username] = username if username != SENTINEL
@@ -1271,7 +1271,7 @@ module Carbon
1271
1271
  # @param order_dir [OrderDirV2]
1272
1272
  # @param body [ListDataSourceItemsRequest]
1273
1273
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1274
- def list_data_source_items(data_source_id:, parent_id: SENTINEL, filters: SENTINEL, pagination: SENTINEL, order_by: 'name', order_dir: 'asc', extra: {})
1274
+ def list_data_source_items(data_source_id:, parent_id: SENTINEL, filters: SENTINEL, pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, extra: {})
1275
1275
  _body = {}
1276
1276
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
1277
1277
  _body[:parent_id] = parent_id if parent_id != SENTINEL
@@ -1294,7 +1294,7 @@ module Carbon
1294
1294
  # @param order_dir [OrderDirV2]
1295
1295
  # @param body [ListDataSourceItemsRequest]
1296
1296
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1297
- def list_data_source_items_with_http_info(data_source_id:, parent_id: SENTINEL, filters: SENTINEL, pagination: SENTINEL, order_by: 'name', order_dir: 'asc', extra: {})
1297
+ def list_data_source_items_with_http_info(data_source_id:, parent_id: SENTINEL, filters: SENTINEL, pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, extra: {})
1298
1298
  _body = {}
1299
1299
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
1300
1300
  _body[:parent_id] = parent_id if parent_id != SENTINEL
@@ -1949,7 +1949,7 @@ module Carbon
1949
1949
  # @param file_sync_config [FileSyncConfigNullable]
1950
1950
  # @param body [AzureBlobFileSyncInput]
1951
1951
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1952
- def sync_azure_blob_files(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
1952
+ def sync_azure_blob_files(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
1953
1953
  _body = {}
1954
1954
  _body[:tags] = tags if tags != SENTINEL
1955
1955
  _body[:ids] = ids if ids != SENTINEL
@@ -1994,7 +1994,7 @@ module Carbon
1994
1994
  # @param file_sync_config [FileSyncConfigNullable]
1995
1995
  # @param body [AzureBlobFileSyncInput]
1996
1996
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1997
- def sync_azure_blob_files_with_http_info(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
1997
+ def sync_azure_blob_files_with_http_info(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
1998
1998
  _body = {}
1999
1999
  _body[:tags] = tags if tags != SENTINEL
2000
2000
  _body[:ids] = ids if ids != SENTINEL
@@ -2784,7 +2784,7 @@ module Carbon
2784
2784
  # @param file_sync_config [FileSyncConfigNullable]
2785
2785
  # @param body [GitbookSyncRequest]
2786
2786
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
2787
- def sync_gitbook(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, file_sync_config: SENTINEL, extra: {})
2787
+ def sync_gitbook(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, file_sync_config: SENTINEL, extra: {})
2788
2788
  _body = {}
2789
2789
  _body[:tags] = tags if tags != SENTINEL
2790
2790
  _body[:space_ids] = space_ids if space_ids != SENTINEL
@@ -2820,7 +2820,7 @@ module Carbon
2820
2820
  # @param file_sync_config [FileSyncConfigNullable]
2821
2821
  # @param body [GitbookSyncRequest]
2822
2822
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
2823
- def sync_gitbook_with_http_info(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, file_sync_config: SENTINEL, extra: {})
2823
+ def sync_gitbook_with_http_info(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, file_sync_config: SENTINEL, extra: {})
2824
2824
  _body = {}
2825
2825
  _body[:tags] = tags if tags != SENTINEL
2826
2826
  _body[:space_ids] = space_ids if space_ids != SENTINEL
@@ -2978,7 +2978,7 @@ module Carbon
2978
2978
  # @param incremental_sync [Boolean]
2979
2979
  # @param body [GmailSyncInput]
2980
2980
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
2981
- def sync_gmail(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
2981
+ def sync_gmail(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
2982
2982
  _body = {}
2983
2983
  _body[:tags] = tags if tags != SENTINEL
2984
2984
  _body[:filters] = filters if filters != SENTINEL
@@ -3070,7 +3070,7 @@ module Carbon
3070
3070
  # @param incremental_sync [Boolean]
3071
3071
  # @param body [GmailSyncInput]
3072
3072
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3073
- def sync_gmail_with_http_info(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
3073
+ def sync_gmail_with_http_info(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
3074
3074
  _body = {}
3075
3075
  _body[:tags] = tags if tags != SENTINEL
3076
3076
  _body[:filters] = filters if filters != SENTINEL
@@ -3238,7 +3238,7 @@ module Carbon
3238
3238
  # @param incremental_sync [Boolean]
3239
3239
  # @param body [OutlookSyncInput]
3240
3240
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3241
- def sync_outlook(filters:, tags: SENTINEL, folder: 'Inbox', chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
3241
+ def sync_outlook(filters:, tags: SENTINEL, folder: 'Inbox', chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
3242
3242
  _body = {}
3243
3243
  _body[:tags] = tags if tags != SENTINEL
3244
3244
  _body[:folder] = folder if folder != SENTINEL
@@ -3339,7 +3339,7 @@ module Carbon
3339
3339
  # @param incremental_sync [Boolean]
3340
3340
  # @param body [OutlookSyncInput]
3341
3341
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3342
- def sync_outlook_with_http_info(filters:, tags: SENTINEL, folder: 'Inbox', chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
3342
+ def sync_outlook_with_http_info(filters:, tags: SENTINEL, folder: 'Inbox', chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, sync_attachments: false, file_sync_config: SENTINEL, incremental_sync: false, extra: {})
3343
3343
  _body = {}
3344
3344
  _body[:tags] = tags if tags != SENTINEL
3345
3345
  _body[:folder] = folder if folder != SENTINEL
@@ -3548,7 +3548,7 @@ module Carbon
3548
3548
  # @param data_source_tags [Object] Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.
3549
3549
  # @param body [RSSFeedInput]
3550
3550
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3551
- def sync_rss_feed(url:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, data_source_tags: SENTINEL, extra: {})
3551
+ def sync_rss_feed(url:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, data_source_tags: SENTINEL, extra: {})
3552
3552
  _body = {}
3553
3553
  _body[:tags] = tags if tags != SENTINEL
3554
3554
  _body[:url] = url if url != SENTINEL
@@ -3579,7 +3579,7 @@ module Carbon
3579
3579
  # @param data_source_tags [Object] Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.
3580
3580
  # @param body [RSSFeedInput]
3581
3581
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3582
- def sync_rss_feed_with_http_info(url:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, data_source_tags: SENTINEL, extra: {})
3582
+ def sync_rss_feed_with_http_info(url:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, data_source_tags: SENTINEL, extra: {})
3583
3583
  _body = {}
3584
3584
  _body[:tags] = tags if tags != SENTINEL
3585
3585
  _body[:url] = url if url != SENTINEL
@@ -3668,7 +3668,7 @@ module Carbon
3668
3668
  # and object key as the ID in this endpoint to sync them into Carbon. Additional parameters below can associate
3669
3669
  # data with the selected items or modify the sync behavior
3670
3670
  #
3671
- # @param ids [Array<S3GetFileInput>]
3671
+ # @param ids [Array<S3GetFileInput>] Each input should be one of the following: A bucket name, a bucket name and a prefix, or a bucket name and an object key. A prefix is the common path for all objects you want to sync. Paths should end with a forward slash.
3672
3672
  # @param tags [Object]
3673
3673
  # @param chunk_size [Integer]
3674
3674
  # @param chunk_overlap [Integer]
@@ -3685,7 +3685,7 @@ module Carbon
3685
3685
  # @param file_sync_config [FileSyncConfigNullable]
3686
3686
  # @param body [S3FileSyncInput]
3687
3687
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3688
- def sync_s3_files(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
3688
+ def sync_s3_files(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
3689
3689
  _body = {}
3690
3690
  _body[:tags] = tags if tags != SENTINEL
3691
3691
  _body[:ids] = ids if ids != SENTINEL
@@ -3713,7 +3713,7 @@ module Carbon
3713
3713
  # and object key as the ID in this endpoint to sync them into Carbon. Additional parameters below can associate
3714
3714
  # data with the selected items or modify the sync behavior
3715
3715
  #
3716
- # @param ids [Array<S3GetFileInput>]
3716
+ # @param ids [Array<S3GetFileInput>] Each input should be one of the following: A bucket name, a bucket name and a prefix, or a bucket name and an object key. A prefix is the common path for all objects you want to sync. Paths should end with a forward slash.
3717
3717
  # @param tags [Object]
3718
3718
  # @param chunk_size [Integer]
3719
3719
  # @param chunk_overlap [Integer]
@@ -3730,7 +3730,7 @@ module Carbon
3730
3730
  # @param file_sync_config [FileSyncConfigNullable]
3731
3731
  # @param body [S3FileSyncInput]
3732
3732
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3733
- def sync_s3_files_with_http_info(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
3733
+ def sync_s3_files_with_http_info(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, data_source_id: SENTINEL, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, file_sync_config: SENTINEL, extra: {})
3734
3734
  _body = {}
3735
3735
  _body[:tags] = tags if tags != SENTINEL
3736
3736
  _body[:ids] = ids if ids != SENTINEL
@@ -3837,7 +3837,7 @@ module Carbon
3837
3837
  # @param request_id [String]
3838
3838
  # @param body [SlackSyncRequest]
3839
3839
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3840
- def sync_slack(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, extra: {})
3840
+ def sync_slack(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, extra: {})
3841
3841
  _body = {}
3842
3842
  _body[:tags] = tags if tags != SENTINEL
3843
3843
  _body[:filters] = filters if filters != SENTINEL
@@ -3871,7 +3871,7 @@ module Carbon
3871
3871
  # @param request_id [String]
3872
3872
  # @param body [SlackSyncRequest]
3873
3873
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
3874
- def sync_slack_with_http_info(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, extra: {})
3874
+ def sync_slack_with_http_info(filters:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, data_source_id: SENTINEL, request_id: SENTINEL, extra: {})
3875
3875
  _body = {}
3876
3876
  _body[:tags] = tags if tags != SENTINEL
3877
3877
  _body[:filters] = filters if filters != SENTINEL
@@ -211,7 +211,7 @@ module Carbon
211
211
  # @param include_count [Boolean]
212
212
  # @param body [ListUsersRequest]
213
213
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
214
- def list(pagination: SENTINEL, filters: SENTINEL, order_by: 'created_at', order_dir: 'desc', include_count: false, extra: {})
214
+ def list(pagination: SENTINEL, filters: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, include_count: false, extra: {})
215
215
  _body = {}
216
216
  _body[:pagination] = pagination if pagination != SENTINEL
217
217
  _body[:filters] = filters if filters != SENTINEL
@@ -234,7 +234,7 @@ module Carbon
234
234
  # @param include_count [Boolean]
235
235
  # @param body [ListUsersRequest]
236
236
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
237
- def list_with_http_info(pagination: SENTINEL, filters: SENTINEL, order_by: 'created_at', order_dir: 'desc', include_count: false, extra: {})
237
+ def list_with_http_info(pagination: SENTINEL, filters: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, include_count: false, extra: {})
238
238
  _body = {}
239
239
  _body[:pagination] = pagination if pagination != SENTINEL
240
240
  _body[:filters] = filters if filters != SENTINEL
@@ -316,7 +316,7 @@ module Carbon
316
316
 
317
317
  # Toggle User Features
318
318
  #
319
- # @param configuration_key_name [String]
319
+ # @param configuration_key_name [ConfigurationKeys]
320
320
  # @param value [Object]
321
321
  # @param body [ModifyUserConfigurationInput]
322
322
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -331,7 +331,7 @@ module Carbon
331
331
 
332
332
  # Toggle User Features
333
333
  #
334
- # @param configuration_key_name [String]
334
+ # @param configuration_key_name [ConfigurationKeys]
335
335
  # @param value [Object]
336
336
  # @param body [ModifyUserConfigurationInput]
337
337
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -419,9 +419,10 @@ module Carbon
419
419
  # @param max_characters [Integer] Custom character upload limit for the user over *all* user's files across all uploads. If set, then the user will not be allowed to upload more characters than this limit. If not set, or if set to -1, then the user will have no limit.
420
420
  # @param max_characters_per_file [Integer] A single file upload from the user can not exceed this character limit. If set, then the file will not be synced if it exceeds this limit. If not set, or if set to -1, then the user will have no limit.
421
421
  # @param max_characters_per_upload [Integer] Custom character upload limit for the user across a single upload. If set, then the user won't be able to sync more than this many characters in one upload. If not set, or if set to -1, then the user will have no limit.
422
+ # @param auto_sync_interval [Integer] The interval in hours at which the user's data sources should be synced. If not set or set to -1, the user will be synced at the organization level interval or default interval if that is also not set. Must be one of [3, 6, 12, 24]
422
423
  # @param body [UpdateUsersInput]
423
424
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
424
- def update_users(customer_ids:, auto_sync_enabled_sources: SENTINEL, max_files: SENTINEL, max_files_per_upload: SENTINEL, max_characters: SENTINEL, max_characters_per_file: SENTINEL, max_characters_per_upload: SENTINEL, extra: {})
425
+ def update_users(customer_ids:, auto_sync_enabled_sources: SENTINEL, max_files: SENTINEL, max_files_per_upload: SENTINEL, max_characters: SENTINEL, max_characters_per_file: SENTINEL, max_characters_per_upload: SENTINEL, auto_sync_interval: SENTINEL, extra: {})
425
426
  _body = {}
426
427
  _body[:auto_sync_enabled_sources] = auto_sync_enabled_sources if auto_sync_enabled_sources != SENTINEL
427
428
  _body[:max_files] = max_files if max_files != SENTINEL
@@ -429,6 +430,7 @@ module Carbon
429
430
  _body[:max_characters] = max_characters if max_characters != SENTINEL
430
431
  _body[:max_characters_per_file] = max_characters_per_file if max_characters_per_file != SENTINEL
431
432
  _body[:max_characters_per_upload] = max_characters_per_upload if max_characters_per_upload != SENTINEL
433
+ _body[:auto_sync_interval] = auto_sync_interval if auto_sync_interval != SENTINEL
432
434
  _body[:customer_ids] = customer_ids if customer_ids != SENTINEL
433
435
  update_users_input = _body
434
436
  api_response = update_users_with_http_info_impl(update_users_input, extra)
@@ -444,9 +446,10 @@ module Carbon
444
446
  # @param max_characters [Integer] Custom character upload limit for the user over *all* user's files across all uploads. If set, then the user will not be allowed to upload more characters than this limit. If not set, or if set to -1, then the user will have no limit.
445
447
  # @param max_characters_per_file [Integer] A single file upload from the user can not exceed this character limit. If set, then the file will not be synced if it exceeds this limit. If not set, or if set to -1, then the user will have no limit.
446
448
  # @param max_characters_per_upload [Integer] Custom character upload limit for the user across a single upload. If set, then the user won't be able to sync more than this many characters in one upload. If not set, or if set to -1, then the user will have no limit.
449
+ # @param auto_sync_interval [Integer] The interval in hours at which the user's data sources should be synced. If not set or set to -1, the user will be synced at the organization level interval or default interval if that is also not set. Must be one of [3, 6, 12, 24]
447
450
  # @param body [UpdateUsersInput]
448
451
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
449
- def update_users_with_http_info(customer_ids:, auto_sync_enabled_sources: SENTINEL, max_files: SENTINEL, max_files_per_upload: SENTINEL, max_characters: SENTINEL, max_characters_per_file: SENTINEL, max_characters_per_upload: SENTINEL, extra: {})
452
+ def update_users_with_http_info(customer_ids:, auto_sync_enabled_sources: SENTINEL, max_files: SENTINEL, max_files_per_upload: SENTINEL, max_characters: SENTINEL, max_characters_per_file: SENTINEL, max_characters_per_upload: SENTINEL, auto_sync_interval: SENTINEL, extra: {})
450
453
  _body = {}
451
454
  _body[:auto_sync_enabled_sources] = auto_sync_enabled_sources if auto_sync_enabled_sources != SENTINEL
452
455
  _body[:max_files] = max_files if max_files != SENTINEL
@@ -454,6 +457,7 @@ module Carbon
454
457
  _body[:max_characters] = max_characters if max_characters != SENTINEL
455
458
  _body[:max_characters_per_file] = max_characters_per_file if max_characters_per_file != SENTINEL
456
459
  _body[:max_characters_per_upload] = max_characters_per_upload if max_characters_per_upload != SENTINEL
460
+ _body[:auto_sync_interval] = auto_sync_interval if auto_sync_interval != SENTINEL
457
461
  _body[:customer_ids] = customer_ids if customer_ids != SENTINEL
458
462
  update_users_input = _body
459
463
  update_users_with_http_info_impl(update_users_input, extra)
@@ -443,7 +443,7 @@ module Carbon
443
443
  # @param use_premium_proxies [Boolean] If the default proxies are blocked and not returning results, this flag can be enabled to use alternate proxies (residential and office). Scrapes might take longer to finish with this flag enabled.
444
444
  # @param body [SitemapScrapeRequest]
445
445
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
446
- def scrape_sitemap(url:, tags: SENTINEL, max_pages_to_scrape: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, enable_auto_sync: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, html_tags_to_skip: SENTINEL, css_classes_to_skip: SENTINEL, css_selectors_to_skip: SENTINEL, embedding_model: 'OPENAI', url_paths_to_include: SENTINEL, url_paths_to_exclude: SENTINEL, urls_to_scrape: SENTINEL, download_css_and_media: false, generate_chunks_only: false, store_file_only: false, use_premium_proxies: false, extra: {})
446
+ def scrape_sitemap(url:, tags: SENTINEL, max_pages_to_scrape: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, enable_auto_sync: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, html_tags_to_skip: SENTINEL, css_classes_to_skip: SENTINEL, css_selectors_to_skip: SENTINEL, embedding_model: SENTINEL, url_paths_to_include: SENTINEL, url_paths_to_exclude: SENTINEL, urls_to_scrape: SENTINEL, download_css_and_media: false, generate_chunks_only: false, store_file_only: false, use_premium_proxies: false, extra: {})
447
447
  _body = {}
448
448
  _body[:tags] = tags if tags != SENTINEL
449
449
  _body[:url] = url if url != SENTINEL
@@ -502,7 +502,7 @@ module Carbon
502
502
  # @param use_premium_proxies [Boolean] If the default proxies are blocked and not returning results, this flag can be enabled to use alternate proxies (residential and office). Scrapes might take longer to finish with this flag enabled.
503
503
  # @param body [SitemapScrapeRequest]
504
504
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
505
- def scrape_sitemap_with_http_info(url:, tags: SENTINEL, max_pages_to_scrape: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, enable_auto_sync: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, html_tags_to_skip: SENTINEL, css_classes_to_skip: SENTINEL, css_selectors_to_skip: SENTINEL, embedding_model: 'OPENAI', url_paths_to_include: SENTINEL, url_paths_to_exclude: SENTINEL, urls_to_scrape: SENTINEL, download_css_and_media: false, generate_chunks_only: false, store_file_only: false, use_premium_proxies: false, extra: {})
505
+ def scrape_sitemap_with_http_info(url:, tags: SENTINEL, max_pages_to_scrape: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, enable_auto_sync: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, html_tags_to_skip: SENTINEL, css_classes_to_skip: SENTINEL, css_selectors_to_skip: SENTINEL, embedding_model: SENTINEL, url_paths_to_include: SENTINEL, url_paths_to_exclude: SENTINEL, urls_to_scrape: SENTINEL, download_css_and_media: false, generate_chunks_only: false, store_file_only: false, use_premium_proxies: false, extra: {})
506
506
  _body = {}
507
507
  _body[:tags] = tags if tags != SENTINEL
508
508
  _body[:url] = url if url != SENTINEL
@@ -833,7 +833,7 @@ module Carbon
833
833
  # @param order_dir [OrderDirV2]
834
834
  # @param body [UserWebPagesRequest]
835
835
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
836
- def user_webpages(filters: SENTINEL, pagination: SENTINEL, order_by: 'updated_at', order_dir: 'desc', extra: {})
836
+ def user_webpages(filters: SENTINEL, pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, extra: {})
837
837
  _body = {}
838
838
  _body[:filters] = filters if filters != SENTINEL
839
839
  _body[:pagination] = pagination if pagination != SENTINEL
@@ -852,7 +852,7 @@ module Carbon
852
852
  # @param order_dir [OrderDirV2]
853
853
  # @param body [UserWebPagesRequest]
854
854
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
855
- def user_webpages_with_http_info(filters: SENTINEL, pagination: SENTINEL, order_by: 'updated_at', order_dir: 'desc', extra: {})
855
+ def user_webpages_with_http_info(filters: SENTINEL, pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, extra: {})
856
856
  _body = {}
857
857
  _body[:filters] = filters if filters != SENTINEL
858
858
  _body[:pagination] = pagination if pagination != SENTINEL
@@ -195,7 +195,7 @@ module Carbon
195
195
  # @param filters [WebhookFilters]
196
196
  # @param body [WebhookQueryInput]
197
197
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
198
- def urls(pagination: SENTINEL, order_by: 'updated_at', order_dir: 'asc', filters: SENTINEL, extra: {})
198
+ def urls(pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, filters: SENTINEL, extra: {})
199
199
  _body = {}
200
200
  _body[:pagination] = pagination if pagination != SENTINEL
201
201
  _body[:order_by] = order_by if order_by != SENTINEL
@@ -214,7 +214,7 @@ module Carbon
214
214
  # @param filters [WebhookFilters]
215
215
  # @param body [WebhookQueryInput]
216
216
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
217
- def urls_with_http_info(pagination: SENTINEL, order_by: 'updated_at', order_dir: 'asc', filters: SENTINEL, extra: {})
217
+ def urls_with_http_info(pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, filters: SENTINEL, extra: {})
218
218
  _body = {}
219
219
  _body[:pagination] = pagination if pagination != SENTINEL
220
220
  _body[:order_by] = order_by if order_by != SENTINEL
@@ -202,7 +202,7 @@ module Carbon
202
202
  # @param filters [WhiteLabelFilters]
203
203
  # @param body [ListWhiteLabelRequest]
204
204
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
205
- def list(pagination: SENTINEL, order_by: 'created_at', order_dir: 'asc', filters: SENTINEL, extra: {})
205
+ def list(pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, filters: SENTINEL, extra: {})
206
206
  _body = {}
207
207
  _body[:pagination] = pagination if pagination != SENTINEL
208
208
  _body[:order_by] = order_by if order_by != SENTINEL
@@ -221,7 +221,7 @@ module Carbon
221
221
  # @param filters [WhiteLabelFilters]
222
222
  # @param body [ListWhiteLabelRequest]
223
223
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
224
- def list_with_http_info(pagination: SENTINEL, order_by: 'created_at', order_dir: 'asc', filters: SENTINEL, extra: {})
224
+ def list_with_http_info(pagination: SENTINEL, order_by: SENTINEL, order_dir: SENTINEL, filters: SENTINEL, extra: {})
225
225
  _body = {}
226
226
  _body[:pagination] = pagination if pagination != SENTINEL
227
227
  _body[:order_by] = order_by if order_by != SENTINEL
@@ -95,7 +95,7 @@ module Carbon
95
95
  # Attribute type mapping.
96
96
  def self.openapi_types
97
97
  {
98
- :'source' => :'Object',
98
+ :'source' => :'GongAuthenticationSource',
99
99
  :'access_token' => :'String',
100
100
  :'refresh_token' => :'String',
101
101
  :'workspace_id' => :'String',
@@ -124,7 +124,6 @@ module Carbon
124
124
  # List of attributes with nullable: true
125
125
  def self.openapi_nullable
126
126
  Set.new([
127
- :'source',
128
127
  :'refresh_token',
129
128
  :'tenant_name',
130
129
  :'site_name',
@@ -266,6 +265,10 @@ module Carbon
266
265
  # @return Array for valid properties with the reasons
267
266
  def list_invalid_properties
268
267
  invalid_properties = Array.new
268
+ if @source.nil?
269
+ invalid_properties.push('invalid value for "source", source cannot be nil.')
270
+ end
271
+
269
272
  if @access_token.nil?
270
273
  invalid_properties.push('invalid value for "access_token", access_token cannot be nil.')
271
274
  end
@@ -344,6 +347,7 @@ module Carbon
344
347
  # Check to see if the all the properties in the model are valid
345
348
  # @return true if the model is valid
346
349
  def valid?
350
+ return false if @source.nil?
347
351
  return false if @access_token.nil?
348
352
  return false if @workspace_id.nil?
349
353
  return false if @subdomain.nil?
@@ -39,7 +39,7 @@ module Carbon
39
39
  def self.openapi_any_of
40
40
  [
41
41
  :'Array<DataSourceType>',
42
- :'String'
42
+ :'DataSourceExtendedInput'
43
43
  ]
44
44
  end
45
45
 
@@ -152,8 +152,6 @@ module Carbon
152
152
 
153
153
  if attributes.key?(:'embedding_model')
154
154
  self.embedding_model = attributes[:'embedding_model']
155
- else
156
- self.embedding_model = 'OPENAI'
157
155
  end
158
156
 
159
157
  if attributes.key?(:'generate_sparse_vectors')
@@ -34,7 +34,7 @@ module Carbon
34
34
  # Attribute type mapping.
35
35
  def self.openapi_types
36
36
  {
37
- :'source' => :'Object',
37
+ :'source' => :'Source',
38
38
  :'account_name' => :'String',
39
39
  :'account_key' => :'String'
40
40
  }
@@ -43,7 +43,6 @@ module Carbon
43
43
  # List of attributes with nullable: true
44
44
  def self.openapi_nullable
45
45
  Set.new([
46
- :'source',
47
46
  ])
48
47
  end
49
48
 
@@ -79,6 +78,10 @@ module Carbon
79
78
  # @return Array for valid properties with the reasons
80
79
  def list_invalid_properties
81
80
  invalid_properties = Array.new
81
+ if @source.nil?
82
+ invalid_properties.push('invalid value for "source", source cannot be nil.')
83
+ end
84
+
82
85
  if @account_name.nil?
83
86
  invalid_properties.push('invalid value for "account_name", account_name cannot be nil.')
84
87
  end
@@ -93,6 +96,7 @@ module Carbon
93
96
  # Check to see if the all the properties in the model are valid
94
97
  # @return true if the model is valid
95
98
  def valid?
99
+ return false if @source.nil?
96
100
  return false if @account_name.nil?
97
101
  return false if @account_key.nil?
98
102
  true
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Carbon
13
+ class AzureBlobStorageTypes
14
+ CONTAINER = "Container".freeze
15
+
16
+ def self.all_vars
17
+ @all_vars ||= [CONTAINER].freeze
18
+ end
19
+
20
+ # Builds the enum from string
21
+ # @param [String] The enum value in the form of the string
22
+ # @return [String] The enum value
23
+ def self.build_from_hash(value)
24
+ new.build_from_hash(value)
25
+ end
26
+
27
+ # Builds the enum from string
28
+ # @param [String] The enum value in the form of the string
29
+ # @return [String] The enum value
30
+ def build_from_hash(value)
31
+ return value if AzureBlobStorageTypes.all_vars.include?(value)
32
+ raise "Invalid ENUM value #{value} for class #AzureBlobStorageTypes"
33
+ end
34
+ end
35
+ end
@@ -83,22 +83,12 @@ module Carbon
83
83
  # @return Array for valid properties with the reasons
84
84
  def list_invalid_properties
85
85
  invalid_properties = Array.new
86
- if @set_page_as_boundary.nil?
87
- invalid_properties.push('invalid value for "set_page_as_boundary", set_page_as_boundary cannot be nil.')
88
- end
89
-
90
- if @prepend_filename_to_chunks.nil?
91
- invalid_properties.push('invalid value for "prepend_filename_to_chunks", prepend_filename_to_chunks cannot be nil.')
92
- end
93
-
94
86
  invalid_properties
95
87
  end
96
88
 
97
89
  # Check to see if the all the properties in the model are valid
98
90
  # @return true if the model is valid
99
91
  def valid?
100
- return false if @set_page_as_boundary.nil?
101
- return false if @prepend_filename_to_chunks.nil?
102
92
  true
103
93
  end
104
94
 
@@ -83,22 +83,12 @@ module Carbon
83
83
  # @return Array for valid properties with the reasons
84
84
  def list_invalid_properties
85
85
  invalid_properties = Array.new
86
- if @set_page_as_boundary.nil?
87
- invalid_properties.push('invalid value for "set_page_as_boundary", set_page_as_boundary cannot be nil.')
88
- end
89
-
90
- if @prepend_filename_to_chunks.nil?
91
- invalid_properties.push('invalid value for "prepend_filename_to_chunks", prepend_filename_to_chunks cannot be nil.')
92
- end
93
-
94
86
  invalid_properties
95
87
  end
96
88
 
97
89
  # Check to see if the all the properties in the model are valid
98
90
  # @return true if the model is valid
99
91
  def valid?
100
- return false if @set_page_as_boundary.nil?
101
- return false if @prepend_filename_to_chunks.nil?
102
92
  true
103
93
  end
104
94
 
@@ -124,8 +124,6 @@ module Carbon
124
124
 
125
125
  if attributes.key?(:'order_by')
126
126
  self.order_by = attributes[:'order_by']
127
- else
128
- self.order_by = 'created'
129
127
  end
130
128
 
131
129
  if attributes.key?(:'order_dir')
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Carbon
13
+ class ConfigurationKeys
14
+ SPARSE_VECTORS = "sparse_vectors".freeze
15
+
16
+ def self.all_vars
17
+ @all_vars ||= [SPARSE_VECTORS].freeze
18
+ end
19
+
20
+ # Builds the enum from string
21
+ # @param [String] The enum value in the form of the string
22
+ # @return [String] The enum value
23
+ def self.build_from_hash(value)
24
+ new.build_from_hash(value)
25
+ end
26
+
27
+ # Builds the enum from string
28
+ # @param [String] The enum value in the form of the string
29
+ # @return [String] The enum value
30
+ def build_from_hash(value)
31
+ return value if ConfigurationKeys.all_vars.include?(value)
32
+ raise "Invalid ENUM value #{value} for class #ConfigurationKeys"
33
+ end
34
+ end
35
+ end
@@ -37,7 +37,7 @@ module Carbon
37
37
  # Attribute type mapping.
38
38
  def self.openapi_types
39
39
  {
40
- :'source' => :'Object',
40
+ :'source' => :'ConfluenceAuthenticationSource',
41
41
  :'access_token' => :'String',
42
42
  :'refresh_token' => :'String',
43
43
  :'subdomain' => :'String'
@@ -47,7 +47,6 @@ module Carbon
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
- :'source',
51
50
  :'refresh_token',
52
51
  ])
53
52
  end
@@ -88,6 +87,10 @@ module Carbon
88
87
  # @return Array for valid properties with the reasons
89
88
  def list_invalid_properties
90
89
  invalid_properties = Array.new
90
+ if @source.nil?
91
+ invalid_properties.push('invalid value for "source", source cannot be nil.')
92
+ end
93
+
91
94
  if @access_token.nil?
92
95
  invalid_properties.push('invalid value for "access_token", access_token cannot be nil.')
93
96
  end
@@ -102,6 +105,7 @@ module Carbon
102
105
  # Check to see if the all the properties in the model are valid
103
106
  # @return true if the model is valid
104
107
  def valid?
108
+ return false if @source.nil?
105
109
  return false if @access_token.nil?
106
110
  return false if @subdomain.nil?
107
111
  true