carbon_ruby_sdk 0.2.14 → 0.2.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 984e5089a3db27f2a5612d3bdf0dcfd39fe085da968e42eb3478209784f585a8
4
- data.tar.gz: ff2177a599a167616aa47081b6116e417e83322dda52cd53bfa49b2e2a82578a
3
+ metadata.gz: 60c08043b97e6964d1c87a7461e6e93a0cff8c7db0fa98be4e0dd2991540a0cf
4
+ data.tar.gz: a6b5dd7321fb52625d1e8f3c1acbaa1ec6165412980c1cd679b083dfb5dced35
5
5
  SHA512:
6
- metadata.gz: 128fde907d3414ddf759bbc45edc6a6328193af688d789dc43f759e2646c6ed194ce3951094cc4ec8f5728e071d62108fce87d51e73e70f0ddd0be9a443c458d
7
- data.tar.gz: e656ca1e4059b26a0ea3b3ac387bd5ec1dcfa8e55cd831c5efead211d5fd68b10db1f717c7fb1ff59a7fb1222bbbb3aa2310086b267ba2a622e1d6309fb8795c
6
+ metadata.gz: '07691a370c7f1e6a94e6a9974451e301cd2fe2150c2b5b4618c970a608eef457c42194935ccc8eb718112eb7fee4ab39f746bee654def58d2c50d109e0dd6499'
7
+ data.tar.gz: 75acc5f7eb04e965000af6070ba92aa82c47ff65f2ee378ff745b38b9357e101c3493c9d645bd14a361f13c3938ff1a3d6ae1104ad1cd8a694c0e6284cf0259a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbon_ruby_sdk (0.2.13)
4
+ carbon_ruby_sdk (0.2.16)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -15,8 +15,9 @@ GEM
15
15
  irb (>= 1.5.0)
16
16
  reline (>= 0.3.1)
17
17
  diff-lcs (1.5.1)
18
- faraday (2.9.0)
18
+ faraday (2.10.0)
19
19
  faraday-net_http (>= 2.0, < 3.2)
20
+ logger
20
21
  faraday-multipart (1.0.4)
21
22
  multipart-post (~> 2)
22
23
  faraday-net_http (3.1.0)
@@ -24,12 +25,13 @@ GEM
24
25
  io-console (0.7.2)
25
26
  irb (1.6.4)
26
27
  reline (>= 0.3.0)
27
- method_source (1.0.0)
28
- multipart-post (2.4.0)
28
+ logger (1.6.0)
29
+ method_source (1.1.0)
30
+ multipart-post (2.4.1)
29
31
  net-http (0.4.1)
30
32
  uri
31
- parallel (1.24.0)
32
- parser (3.3.0.5)
33
+ parallel (1.25.1)
34
+ parser (3.3.4.0)
33
35
  ast (~> 2.4.1)
34
36
  racc
35
37
  pry (0.14.2)
@@ -38,23 +40,24 @@ GEM
38
40
  pry-byebug (3.10.1)
39
41
  byebug (~> 11.0)
40
42
  pry (>= 0.13, < 0.15)
41
- racc (1.7.3)
43
+ racc (1.8.0)
42
44
  rainbow (3.1.1)
43
45
  rake (13.0.6)
44
- regexp_parser (2.9.0)
45
- reline (0.5.0)
46
+ regexp_parser (2.9.2)
47
+ reline (0.5.9)
46
48
  io-console (~> 0.5)
47
- rexml (3.2.6)
49
+ rexml (3.3.2)
50
+ strscan
48
51
  rspec (3.13.0)
49
52
  rspec-core (~> 3.13.0)
50
53
  rspec-expectations (~> 3.13.0)
51
54
  rspec-mocks (~> 3.13.0)
52
55
  rspec-core (3.13.0)
53
56
  rspec-support (~> 3.13.0)
54
- rspec-expectations (3.13.0)
57
+ rspec-expectations (3.13.1)
55
58
  diff-lcs (>= 1.2.0, < 2.0)
56
59
  rspec-support (~> 3.13.0)
57
- rspec-mocks (3.13.0)
60
+ rspec-mocks (3.13.1)
58
61
  diff-lcs (>= 1.2.0, < 2.0)
59
62
  rspec-support (~> 3.13.0)
60
63
  rspec-support (3.13.1)
@@ -67,14 +70,15 @@ GEM
67
70
  rubocop-ast (>= 1.2.0, < 2.0)
68
71
  ruby-progressbar (~> 1.7)
69
72
  unicode-display_width (>= 1.4.0, < 3.0)
70
- rubocop-ast (1.31.2)
71
- parser (>= 3.3.0.4)
73
+ rubocop-ast (1.31.3)
74
+ parser (>= 3.3.1.0)
72
75
  ruby-progressbar (1.13.0)
76
+ strscan (3.1.0)
73
77
  unicode-display_width (2.5.0)
74
78
  uri (0.13.0)
75
79
 
76
80
  PLATFORMS
77
- arm64-darwin-22
81
+ arm64-darwin-21
78
82
 
79
83
  DEPENDENCIES
80
84
  carbon_ruby_sdk!
@@ -86,4 +90,4 @@ DEPENDENCIES
86
90
  rubocop (~> 1.12.1)
87
91
 
88
92
  BUNDLED WITH
89
- 2.4.19
93
+ 2.3.7
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect external data to LLMs, no matter the source.
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v0.2.14-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.14)
9
+ [![npm](https://img.shields.io/badge/gem-v0.2.16-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.16)
10
10
 
11
11
  </div>
12
12
 
@@ -91,7 +91,7 @@ Connect external data to LLMs, no matter the source.
91
91
  Add to Gemfile:
92
92
 
93
93
  ```ruby
94
- gem 'carbon_ruby_sdk', '~> 0.2.14'
94
+ gem 'carbon_ruby_sdk', '~> 0.2.16'
95
95
  ```
96
96
 
97
97
  ## Getting Started<a id="getting-started"></a>
@@ -1300,7 +1300,7 @@ result = carbon.integrations.connect_data_source(
1300
1300
  "prepend_filename_to_chunks" => false,
1301
1301
  "sync_files_on_connection" => true,
1302
1302
  "set_page_as_boundary" => false,
1303
- "request_id" => "3a0195db-42f0-48ed-b809-d253f436a8e0",
1303
+ "request_id" => "e38a7eee-02b7-4f73-be14-ea9bb1f09e85",
1304
1304
  "enable_file_picker" => true,
1305
1305
  "sync_source_items" => true,
1306
1306
  "incremental_sync" => false,
@@ -1520,7 +1520,7 @@ result = carbon.integrations.get_oauth_url(
1520
1520
  set_page_as_boundary: false,
1521
1521
  data_source_id: 1,
1522
1522
  connecting_new_account: false,
1523
- request_id: "b2935b7f-ee64-4d76-8864-8b6731211938",
1523
+ request_id: "e5fd53f8-ed96-474a-ba66-1fc1948facdf",
1524
1524
  use_ocr: false,
1525
1525
  parse_pdf_tables_with_ocr: false,
1526
1526
  enable_file_picker: true,
@@ -1581,7 +1581,7 @@ Enable OCR for files that support it. Supported formats: pdf
1581
1581
  ##### parse_pdf_tables_with_ocr: `Boolean`<a id="parse_pdf_tables_with_ocr-boolean"></a>
1582
1582
  ##### enable_file_picker: `Boolean`<a id="enable_file_picker-boolean"></a>
1583
1583
  Enable integration's file picker for sources that support it. Supported sources:
1584
- SHAREPOINT, DROPBOX, ONEDRIVE, GOOGLE_DRIVE, BOX
1584
+ BOX, ONEDRIVE, DROPBOX, SHAREPOINT, GOOGLE_DRIVE
1585
1585
 
1586
1586
  ##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
1587
1587
  Enabling this flag will fetch all available content from the source to be listed
@@ -1608,6 +1608,9 @@ other data sources.
1608
1608
 
1609
1609
 
1610
1610
  ### `carbon.integrations.list_confluence_pages`<a id="carbonintegrationslist_confluence_pages"></a>
1611
+ ![Deprecated](https://img.shields.io/badge/deprecated-yellow)
1612
+
1613
+ This endpoint has been deprecated. Use /integrations/items/list instead.
1611
1614
 
1612
1615
  To begin listing a user's Confluence pages, at least a `data_source_id` of a connected
1613
1616
  Confluence account must be specified. This base request returns a list of root pages for
@@ -1858,6 +1861,9 @@ p result
1858
1861
 
1859
1862
 
1860
1863
  ### `carbon.integrations.sync_confluence`<a id="carbonintegrationssync_confluence"></a>
1864
+ ![Deprecated](https://img.shields.io/badge/deprecated-yellow)
1865
+
1866
+ This endpoint has been deprecated. Use /integrations/files/sync instead.
1861
1867
 
1862
1868
  After listing pages in a user's Confluence account, the set of selected page `ids` and the
1863
1869
  connected account's `data_source_id` can be passed into this endpoint to sync them into
@@ -1881,7 +1887,7 @@ result = carbon.integrations.sync_confluence(
1881
1887
  prepend_filename_to_chunks: false,
1882
1888
  max_items_per_chunk: 1,
1883
1889
  set_page_as_boundary: false,
1884
- request_id: "50140a8f-c06f-40df-9b91-d10d074bcb67",
1890
+ request_id: "77b56048-a895-4377-b0d3-e190d1b7de32",
1885
1891
  use_ocr: false,
1886
1892
  parse_pdf_tables_with_ocr: false,
1887
1893
  incremental_sync: false,
@@ -1986,7 +1992,7 @@ result = carbon.integrations.sync_files(
1986
1992
  prepend_filename_to_chunks: false,
1987
1993
  max_items_per_chunk: 1,
1988
1994
  set_page_as_boundary: false,
1989
- request_id: "50140a8f-c06f-40df-9b91-d10d074bcb67",
1995
+ request_id: "77b56048-a895-4377-b0d3-e190d1b7de32",
1990
1996
  use_ocr: false,
1991
1997
  parse_pdf_tables_with_ocr: false,
1992
1998
  incremental_sync: false,
@@ -2576,6 +2582,11 @@ Update Organization
2576
2582
  result = carbon.organizations.update(
2577
2583
  global_user_config: {
2578
2584
  },
2585
+ data_source_configs: {
2586
+ "key": {
2587
+ "allowed_file_formats" => [],
2588
+ },
2589
+ },
2579
2590
  )
2580
2591
  p result
2581
2592
  ```
@@ -2583,6 +2594,10 @@ p result
2583
2594
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
2584
2595
 
2585
2596
  ##### global_user_config: [`UserConfigurationNullable`](./lib/carbon_ruby_sdk/models/user_configuration_nullable.rb)<a id="global_user_config-userconfigurationnullablelibcarbon_ruby_sdkmodelsuser_configuration_nullablerb"></a>
2597
+ ##### data_source_configs: Hash<string, [`DataSourceConfiguration`](./lib/carbon_ruby_sdk/models/data_source_configuration.rb)><a id="data_source_configs-hash"></a>
2598
+ Used to set organization level defaults for configuration related to data
2599
+ sources.
2600
+
2586
2601
  #### 🔄 Return<a id="🔄-return"></a>
2587
2602
 
2588
2603
  [GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
@@ -2966,6 +2981,7 @@ result = carbon.utilities.scrape_sitemap(
2966
2981
  embedding_model: "OPENAI",
2967
2982
  url_paths_to_include: [],
2968
2983
  url_paths_to_exclude: [],
2984
+ urls_to_scrape: [],
2969
2985
  )
2970
2986
  p result
2971
2987
  ```
@@ -2995,6 +3011,11 @@ URL subpaths or directories that you want to exclude. For example if you want to
2995
3011
  exclude URLs that start with /questions in stackoverflow.com, you will add
2996
3012
  /questions/ in this input
2997
3013
 
3014
+ ##### urls_to_scrape: Array<`String`><a id="urls_to_scrape-array"></a>
3015
+ You can submit a subset of URLs from the sitemap that should be scraped. To get
3016
+ the list of URLs, you can check out /process_sitemap endpoint. If left empty,
3017
+ all URLs from the sitemap will be scraped.
3018
+
2998
3019
  #### 🌐 Endpoint<a id="🌐-endpoint"></a>
2999
3020
 
3000
3021
  `/scrape_sitemap` `POST`
@@ -653,13 +653,13 @@ module Carbon
653
653
  # @param request_id [String] This request id will be added to all files that get synced using the generated OAuth URL
654
654
  # @param use_ocr [Boolean] Enable OCR for files that support it. Supported formats: pdf
655
655
  # @param parse_pdf_tables_with_ocr [Boolean]
656
- # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: SHAREPOINT, DROPBOX, ONEDRIVE, GOOGLE_DRIVE, BOX
656
+ # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: BOX, ONEDRIVE, DROPBOX, SHAREPOINT, GOOGLE_DRIVE
657
657
  # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
658
658
  # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
659
659
  # @param file_sync_config [FileSyncConfigNullable]
660
660
  # @param body [OAuthURLRequest]
661
661
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
662
- def get_oauth_url(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: 'b2935b7f-ee64-4d76-8864-8b6731211938', use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
662
+ def get_oauth_url(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: 'e5fd53f8-ed96-474a-ba66-1fc1948facdf', use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
663
663
  _body = {}
664
664
  _body[:tags] = tags if tags != SENTINEL
665
665
  _body[:scope] = scope if scope != SENTINEL
@@ -721,13 +721,13 @@ module Carbon
721
721
  # @param request_id [String] This request id will be added to all files that get synced using the generated OAuth URL
722
722
  # @param use_ocr [Boolean] Enable OCR for files that support it. Supported formats: pdf
723
723
  # @param parse_pdf_tables_with_ocr [Boolean]
724
- # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: SHAREPOINT, DROPBOX, ONEDRIVE, GOOGLE_DRIVE, BOX
724
+ # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: BOX, ONEDRIVE, DROPBOX, SHAREPOINT, GOOGLE_DRIVE
725
725
  # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
726
726
  # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
727
727
  # @param file_sync_config [FileSyncConfigNullable]
728
728
  # @param body [OAuthURLRequest]
729
729
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
730
- def get_oauth_url_with_http_info(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: 'b2935b7f-ee64-4d76-8864-8b6731211938', use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
730
+ def get_oauth_url_with_http_info(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: 'e5fd53f8-ed96-474a-ba66-1fc1948facdf', use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
731
731
  _body = {}
732
732
  _body[:tags] = tags if tags != SENTINEL
733
733
  _body[:scope] = scope if scope != SENTINEL
@@ -830,6 +830,8 @@ module Carbon
830
830
 
831
831
  # Confluence List
832
832
  #
833
+ # This endpoint has been deprecated. Use /integrations/items/list instead.
834
+ #
833
835
  # To begin listing a user's Confluence pages, at least a `data_source_id` of a connected
834
836
  # Confluence account must be specified. This base request returns a list of root pages for
835
837
  # every space the user has access to in a Confluence instance. To traverse further down
@@ -853,6 +855,8 @@ module Carbon
853
855
 
854
856
  # Confluence List
855
857
  #
858
+ # This endpoint has been deprecated. Use /integrations/items/list instead.
859
+ #
856
860
  # To begin listing a user's Confluence pages, at least a `data_source_id` of a connected
857
861
  # Confluence account must be specified. This base request returns a list of root pages for
858
862
  # every space the user has access to in a Confluence instance. To traverse further down
@@ -874,7 +878,7 @@ module Carbon
874
878
  end
875
879
 
876
880
  # Confluence List
877
- # To begin listing a user's Confluence pages, at least a `data_source_id` of a connected Confluence account must be specified. This base request returns a list of root pages for every space the user has access to in a Confluence instance. To traverse further down the user's page directory, additional requests to this endpoint can be made with the same `data_source_id` and with `parent_id` set to the id of page from a previous request. For convenience, the `has_children` property in each directory item in the response list will flag which pages will return non-empty lists of pages when set as the `parent_id`.
881
+ # This endpoint has been deprecated. Use /integrations/items/list instead. To begin listing a user's Confluence pages, at least a `data_source_id` of a connected Confluence account must be specified. This base request returns a list of root pages for every space the user has access to in a Confluence instance. To traverse further down the user's page directory, additional requests to this endpoint can be made with the same `data_source_id` and with `parent_id` set to the id of page from a previous request. For convenience, the `has_children` property in each directory item in the response list will flag which pages will return non-empty lists of pages when set as the `parent_id`.
878
882
  # @param list_request [ListRequest]
879
883
  # @param [Hash] opts the optional parameters
880
884
  # @return [ListResponse]
@@ -884,7 +888,7 @@ module Carbon
884
888
  end
885
889
 
886
890
  # Confluence List
887
- # To begin listing a user&#39;s Confluence pages, at least a &#x60;data_source_id&#x60; of a connected Confluence account must be specified. This base request returns a list of root pages for every space the user has access to in a Confluence instance. To traverse further down the user&#39;s page directory, additional requests to this endpoint can be made with the same &#x60;data_source_id&#x60; and with &#x60;parent_id&#x60; set to the id of page from a previous request. For convenience, the &#x60;has_children&#x60; property in each directory item in the response list will flag which pages will return non-empty lists of pages when set as the &#x60;parent_id&#x60;.
891
+ # This endpoint has been deprecated. Use /integrations/items/list instead. To begin listing a user&#39;s Confluence pages, at least a &#x60;data_source_id&#x60; of a connected Confluence account must be specified. This base request returns a list of root pages for every space the user has access to in a Confluence instance. To traverse further down the user&#39;s page directory, additional requests to this endpoint can be made with the same &#x60;data_source_id&#x60; and with &#x60;parent_id&#x60; set to the id of page from a previous request. For convenience, the &#x60;has_children&#x60; property in each directory item in the response list will flag which pages will return non-empty lists of pages when set as the &#x60;parent_id&#x60;.
888
892
  # @param list_request [ListRequest]
889
893
  # @param [Hash] opts the optional parameters
890
894
  # @return [APIResponse] data is ListResponse, status code, headers and response
@@ -1617,6 +1621,8 @@ module Carbon
1617
1621
 
1618
1622
  # Confluence Sync
1619
1623
  #
1624
+ # This endpoint has been deprecated. Use /integrations/files/sync instead.
1625
+ #
1620
1626
  # After listing pages in a user's Confluence account, the set of selected page `ids` and the
1621
1627
  # connected account's `data_source_id` can be passed into this endpoint to sync them into
1622
1628
  # Carbon. Additional parameters listed below can be used to associate data to the selected
@@ -1640,7 +1646,7 @@ module Carbon
1640
1646
  # @param file_sync_config [FileSyncConfigNullable]
1641
1647
  # @param body [SyncFilesRequest]
1642
1648
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1643
- def sync_confluence(data_source_id:, 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, request_id: '50140a8f-c06f-40df-9b91-d10d074bcb67', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1649
+ def sync_confluence(data_source_id:, 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, request_id: '77b56048-a895-4377-b0d3-e190d1b7de32', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1644
1650
  _body = {}
1645
1651
  _body[:tags] = tags if tags != SENTINEL
1646
1652
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1665,6 +1671,8 @@ module Carbon
1665
1671
 
1666
1672
  # Confluence Sync
1667
1673
  #
1674
+ # This endpoint has been deprecated. Use /integrations/files/sync instead.
1675
+ #
1668
1676
  # After listing pages in a user's Confluence account, the set of selected page `ids` and the
1669
1677
  # connected account's `data_source_id` can be passed into this endpoint to sync them into
1670
1678
  # Carbon. Additional parameters listed below can be used to associate data to the selected
@@ -1688,7 +1696,7 @@ module Carbon
1688
1696
  # @param file_sync_config [FileSyncConfigNullable]
1689
1697
  # @param body [SyncFilesRequest]
1690
1698
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1691
- def sync_confluence_with_http_info(data_source_id:, 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, request_id: '50140a8f-c06f-40df-9b91-d10d074bcb67', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1699
+ def sync_confluence_with_http_info(data_source_id:, 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, request_id: '77b56048-a895-4377-b0d3-e190d1b7de32', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1692
1700
  _body = {}
1693
1701
  _body[:tags] = tags if tags != SENTINEL
1694
1702
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1711,7 +1719,7 @@ module Carbon
1711
1719
  end
1712
1720
 
1713
1721
  # Confluence Sync
1714
- # After listing pages in a user's Confluence account, the set of selected page `ids` and the connected account's `data_source_id` can be passed into this endpoint to sync them into Carbon. Additional parameters listed below can be used to associate data to the selected pages or alter the behavior of the sync.
1722
+ # This endpoint has been deprecated. Use /integrations/files/sync instead. After listing pages in a user's Confluence account, the set of selected page `ids` and the connected account's `data_source_id` can be passed into this endpoint to sync them into Carbon. Additional parameters listed below can be used to associate data to the selected pages or alter the behavior of the sync.
1715
1723
  # @param sync_files_request [SyncFilesRequest]
1716
1724
  # @param [Hash] opts the optional parameters
1717
1725
  # @return [GenericSuccessResponse]
@@ -1721,7 +1729,7 @@ module Carbon
1721
1729
  end
1722
1730
 
1723
1731
  # Confluence Sync
1724
- # After listing pages in a user&#39;s Confluence account, the set of selected page &#x60;ids&#x60; and the connected account&#39;s &#x60;data_source_id&#x60; can be passed into this endpoint to sync them into Carbon. Additional parameters listed below can be used to associate data to the selected pages or alter the behavior of the sync.
1732
+ # This endpoint has been deprecated. Use /integrations/files/sync instead. After listing pages in a user&#39;s Confluence account, the set of selected page &#x60;ids&#x60; and the connected account&#39;s &#x60;data_source_id&#x60; can be passed into this endpoint to sync them into Carbon. Additional parameters listed below can be used to associate data to the selected pages or alter the behavior of the sync.
1725
1733
  # @param sync_files_request [SyncFilesRequest]
1726
1734
  # @param [Hash] opts the optional parameters
1727
1735
  # @return [APIResponse] data is GenericSuccessResponse, status code, headers and response
@@ -1896,7 +1904,7 @@ module Carbon
1896
1904
  # @param file_sync_config [FileSyncConfigNullable]
1897
1905
  # @param body [SyncFilesRequest]
1898
1906
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1899
- def sync_files(data_source_id:, 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, request_id: '50140a8f-c06f-40df-9b91-d10d074bcb67', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1907
+ def sync_files(data_source_id:, 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, request_id: '77b56048-a895-4377-b0d3-e190d1b7de32', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1900
1908
  _body = {}
1901
1909
  _body[:tags] = tags if tags != SENTINEL
1902
1910
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1944,7 +1952,7 @@ module Carbon
1944
1952
  # @param file_sync_config [FileSyncConfigNullable]
1945
1953
  # @param body [SyncFilesRequest]
1946
1954
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1947
- def sync_files_with_http_info(data_source_id:, 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, request_id: '50140a8f-c06f-40df-9b91-d10d074bcb67', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1955
+ def sync_files_with_http_info(data_source_id:, 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, request_id: '77b56048-a895-4377-b0d3-e190d1b7de32', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1948
1956
  _body = {}
1949
1957
  _body[:tags] = tags if tags != SENTINEL
1950
1958
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -90,11 +90,13 @@ module Carbon
90
90
  # Update Organization
91
91
  #
92
92
  # @param global_user_config [UserConfigurationNullable]
93
+ # @param data_source_configs [Hash<String, DataSourceConfiguration>] Used to set organization level defaults for configuration related to data sources.
93
94
  # @param body [UpdateOrganizationInput]
94
95
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
95
- def update(global_user_config: SENTINEL, extra: {})
96
+ def update(global_user_config: SENTINEL, data_source_configs: SENTINEL, extra: {})
96
97
  _body = {}
97
98
  _body[:global_user_config] = global_user_config if global_user_config != SENTINEL
99
+ _body[:data_source_configs] = data_source_configs if data_source_configs != SENTINEL
98
100
  update_organization_input = _body
99
101
  api_response = update_with_http_info_impl(update_organization_input, extra)
100
102
  api_response.data
@@ -103,11 +105,13 @@ module Carbon
103
105
  # Update Organization
104
106
  #
105
107
  # @param global_user_config [UserConfigurationNullable]
108
+ # @param data_source_configs [Hash<String, DataSourceConfiguration>] Used to set organization level defaults for configuration related to data sources.
106
109
  # @param body [UpdateOrganizationInput]
107
110
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
108
- def update_with_http_info(global_user_config: SENTINEL, extra: {})
111
+ def update_with_http_info(global_user_config: SENTINEL, data_source_configs: SENTINEL, extra: {})
109
112
  _body = {}
110
113
  _body[:global_user_config] = global_user_config if global_user_config != SENTINEL
114
+ _body[:data_source_configs] = data_source_configs if data_source_configs != SENTINEL
111
115
  update_organization_input = _body
112
116
  update_with_http_info_impl(update_organization_input, extra)
113
117
  end
@@ -436,9 +436,10 @@ module Carbon
436
436
  # @param embedding_model [EmbeddingGenerators]
437
437
  # @param url_paths_to_include [Array<String>] URL subpaths or directories that you want to include. For example if you want to only include URLs that start with /questions in stackoverflow.com, you will add /questions/ in this input
438
438
  # @param url_paths_to_exclude [Array<String>] URL subpaths or directories that you want to exclude. For example if you want to exclude URLs that start with /questions in stackoverflow.com, you will add /questions/ in this input
439
+ # @param urls_to_scrape [Array<String>] You can submit a subset of URLs from the sitemap that should be scraped. To get the list of URLs, you can check out /process_sitemap endpoint. If left empty, all URLs from the sitemap will be scraped.
439
440
  # @param body [SitemapScrapeRequest]
440
441
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
441
- 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, extra: {})
442
+ 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, extra: {})
442
443
  _body = {}
443
444
  _body[:tags] = tags if tags != SENTINEL
444
445
  _body[:url] = url if url != SENTINEL
@@ -455,6 +456,7 @@ module Carbon
455
456
  _body[:embedding_model] = embedding_model if embedding_model != SENTINEL
456
457
  _body[:url_paths_to_include] = url_paths_to_include if url_paths_to_include != SENTINEL
457
458
  _body[:url_paths_to_exclude] = url_paths_to_exclude if url_paths_to_exclude != SENTINEL
459
+ _body[:urls_to_scrape] = urls_to_scrape if urls_to_scrape != SENTINEL
458
460
  sitemap_scrape_request = _body
459
461
  api_response = scrape_sitemap_with_http_info_impl(sitemap_scrape_request, extra)
460
462
  api_response.data
@@ -485,9 +487,10 @@ module Carbon
485
487
  # @param embedding_model [EmbeddingGenerators]
486
488
  # @param url_paths_to_include [Array<String>] URL subpaths or directories that you want to include. For example if you want to only include URLs that start with /questions in stackoverflow.com, you will add /questions/ in this input
487
489
  # @param url_paths_to_exclude [Array<String>] URL subpaths or directories that you want to exclude. For example if you want to exclude URLs that start with /questions in stackoverflow.com, you will add /questions/ in this input
490
+ # @param urls_to_scrape [Array<String>] You can submit a subset of URLs from the sitemap that should be scraped. To get the list of URLs, you can check out /process_sitemap endpoint. If left empty, all URLs from the sitemap will be scraped.
488
491
  # @param body [SitemapScrapeRequest]
489
492
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
490
- 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, extra: {})
493
+ 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, extra: {})
491
494
  _body = {}
492
495
  _body[:tags] = tags if tags != SENTINEL
493
496
  _body[:url] = url if url != SENTINEL
@@ -504,6 +507,7 @@ module Carbon
504
507
  _body[:embedding_model] = embedding_model if embedding_model != SENTINEL
505
508
  _body[:url_paths_to_include] = url_paths_to_include if url_paths_to_include != SENTINEL
506
509
  _body[:url_paths_to_exclude] = url_paths_to_exclude if url_paths_to_exclude != SENTINEL
510
+ _body[:urls_to_scrape] = urls_to_scrape if urls_to_scrape != SENTINEL
507
511
  sitemap_scrape_request = _body
508
512
  scrape_sitemap_with_http_info_impl(sitemap_scrape_request, extra)
509
513
  end
@@ -0,0 +1,229 @@
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 DataSourceConfiguration
14
+ # List of allowed file formats for the organization. An empty list means all file formats are allowed.
15
+ attr_accessor :allowed_file_formats
16
+
17
+ # Used to set the format Google Workspace documents (Docs, Sheets, Slides) are stored as for raw files uploads in S3. The default format is TXT
18
+ attr_accessor :google_workspace_docs_save_as
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'allowed_file_formats' => :'allowed_file_formats',
24
+ :'google_workspace_docs_save_as' => :'google_workspace_docs_save_as'
25
+ }
26
+ end
27
+
28
+ # Returns all the JSON keys this model knows about
29
+ def self.acceptable_attributes
30
+ attribute_map.values
31
+ end
32
+
33
+ # Attribute type mapping.
34
+ def self.openapi_types
35
+ {
36
+ :'allowed_file_formats' => :'Array<String>',
37
+ :'google_workspace_docs_save_as' => :'String'
38
+ }
39
+ end
40
+
41
+ # List of attributes with nullable: true
42
+ def self.openapi_nullable
43
+ Set.new([
44
+ :'google_workspace_docs_save_as'
45
+ ])
46
+ end
47
+
48
+ # Initializes the object
49
+ # @param [Hash] attributes Model attributes in the form of hash
50
+ def initialize(attributes = {})
51
+ if (!attributes.is_a?(Hash))
52
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::DataSourceConfiguration` initialize method"
53
+ end
54
+
55
+ # check to see if the attribute exists and convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h|
57
+ if (!self.class.attribute_map.key?(k.to_sym))
58
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::DataSourceConfiguration`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
59
+ end
60
+ h[k.to_sym] = v
61
+ }
62
+
63
+ if attributes.key?(:'allowed_file_formats')
64
+ if (value = attributes[:'allowed_file_formats']).is_a?(Array)
65
+ self.allowed_file_formats = value
66
+ end
67
+ end
68
+
69
+ if attributes.key?(:'google_workspace_docs_save_as')
70
+ self.google_workspace_docs_save_as = attributes[:'google_workspace_docs_save_as']
71
+ end
72
+ end
73
+
74
+ # Show invalid properties with the reasons. Usually used together with valid?
75
+ # @return Array for valid properties with the reasons
76
+ def list_invalid_properties
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ true
85
+ end
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(o)
90
+ return true if self.equal?(o)
91
+ self.class == o.class &&
92
+ allowed_file_formats == o.allowed_file_formats &&
93
+ google_workspace_docs_save_as == o.google_workspace_docs_save_as
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [allowed_file_formats, google_workspace_docs_save_as].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ new.build_from_hash(attributes)
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def build_from_hash(attributes)
119
+ return nil unless attributes.is_a?(Hash)
120
+ attributes = attributes.transform_keys(&:to_sym)
121
+ self.class.openapi_types.each_pair do |key, type|
122
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
123
+ self.send("#{key}=", nil)
124
+ elsif type =~ /\AArray<(.*)>/i
125
+ # check to ensure the input is an array given that the attribute
126
+ # is documented as an array but the input is not
127
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
129
+ end
130
+ elsif !attributes[self.class.attribute_map[key]].nil?
131
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
132
+ end
133
+ end
134
+
135
+ self
136
+ end
137
+
138
+ # Deserializes the data based on type
139
+ # @param string type Data type
140
+ # @param string value Value to be deserialized
141
+ # @return [Object] Deserialized data
142
+ def _deserialize(type, value)
143
+ case type.to_sym
144
+ when :Time
145
+ Time.parse(value)
146
+ when :Date
147
+ Date.parse(value)
148
+ when :String
149
+ value.to_s
150
+ when :Integer
151
+ value.to_i
152
+ when :Float
153
+ value.to_f
154
+ when :Boolean
155
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
156
+ true
157
+ else
158
+ false
159
+ end
160
+ when :Object
161
+ # generic object (usually a Hash), return directly
162
+ value
163
+ when /\AArray<(?<inner_type>.+)>\z/
164
+ inner_type = Regexp.last_match[:inner_type]
165
+ value.map { |v| _deserialize(inner_type, v) }
166
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
167
+ k_type = Regexp.last_match[:k_type]
168
+ v_type = Regexp.last_match[:v_type]
169
+ {}.tap do |hash|
170
+ value.each do |k, v|
171
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
172
+ end
173
+ end
174
+ else # model
175
+ # models (e.g. Pet) or oneOf
176
+ klass = Carbon.const_get(type)
177
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
178
+ end
179
+ end
180
+
181
+ # Returns the string representation of the object
182
+ # @return [String] String presentation of the object
183
+ def to_s
184
+ to_hash.to_s
185
+ end
186
+
187
+ # to_body is an alias to to_hash (backward compatibility)
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_body
190
+ to_hash
191
+ end
192
+
193
+ # Returns the object in the form of hash
194
+ # @return [Hash] Returns the object in the form of hash
195
+ def to_hash
196
+ hash = {}
197
+ self.class.attribute_map.each_pair do |attr, param|
198
+ value = self.send(attr)
199
+ if value.nil?
200
+ is_nullable = self.class.openapi_nullable.include?(attr)
201
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
202
+ end
203
+
204
+ hash[param] = _to_hash(value)
205
+ end
206
+ hash
207
+ end
208
+
209
+ # Outputs non-array value in the form of hash
210
+ # For object, use to_hash. Otherwise, just return the value
211
+ # @param [Object] value Any valid value
212
+ # @return [Hash] Returns the value in the form of hash
213
+ def _to_hash(value)
214
+ if value.is_a?(Array)
215
+ value.compact.map { |v| _to_hash(v) }
216
+ elsif value.is_a?(Hash)
217
+ {}.tap do |hash|
218
+ value.each { |k, v| hash[k] = _to_hash(v) }
219
+ end
220
+ elsif value.respond_to? :to_hash
221
+ value.to_hash
222
+ else
223
+ value
224
+ end
225
+ end
226
+
227
+ end
228
+
229
+ end
@@ -65,9 +65,10 @@ module Carbon
65
65
  MKV = "MKV".freeze
66
66
  FLV = "FLV".freeze
67
67
  WEBM = "WEBM".freeze
68
+ EML = "EML".freeze
68
69
 
69
70
  def self.all_vars
70
- @all_vars ||= [GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM].freeze
71
+ @all_vars ||= [GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
71
72
  end
72
73
 
73
74
  # Builds the enum from string
@@ -65,9 +65,10 @@ module Carbon
65
65
  MKV = "MKV".freeze
66
66
  FLV = "FLV".freeze
67
67
  WEBM = "WEBM".freeze
68
+ EML = "EML".freeze
68
69
 
69
70
  def self.all_vars
70
- @all_vars ||= [GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM].freeze
71
+ @all_vars ||= [GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
71
72
  end
72
73
 
73
74
  # Builds the enum from string
@@ -58,9 +58,10 @@ module Carbon
58
58
  MKV = "MKV".freeze
59
59
  FLV = "FLV".freeze
60
60
  WEBM = "WEBM".freeze
61
+ EML = "EML".freeze
61
62
 
62
63
  def self.all_vars
63
- @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, NOTION, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM].freeze
64
+ @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, NOTION, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
64
65
  end
65
66
 
66
67
  # Builds the enum from string
@@ -58,9 +58,10 @@ module Carbon
58
58
  MKV = "MKV".freeze
59
59
  FLV = "FLV".freeze
60
60
  WEBM = "WEBM".freeze
61
+ EML = "EML".freeze
61
62
 
62
63
  def self.all_vars
63
- @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, NOTION, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM].freeze
64
+ @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, NOTION, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
64
65
  end
65
66
 
66
67
  # Builds the enum from string
@@ -61,7 +61,7 @@ module Carbon
61
61
 
62
62
  attr_accessor :parse_pdf_tables_with_ocr
63
63
 
64
- # Enable integration's file picker for sources that support it. Supported sources: SHAREPOINT, DROPBOX, ONEDRIVE, GOOGLE_DRIVE, BOX
64
+ # Enable integration's file picker for sources that support it. Supported sources: BOX, ONEDRIVE, DROPBOX, SHAREPOINT, GOOGLE_DRIVE
65
65
  attr_accessor :enable_file_picker
66
66
 
67
67
  # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
@@ -279,7 +279,7 @@ module Carbon
279
279
  if attributes.key?(:'request_id')
280
280
  self.request_id = attributes[:'request_id']
281
281
  else
282
- self.request_id = 'b2935b7f-ee64-4d76-8864-8b6731211938'
282
+ self.request_id = 'e5fd53f8-ed96-474a-ba66-1fc1948facdf'
283
283
  end
284
284
 
285
285
  if attributes.key?(:'use_ocr')
@@ -41,6 +41,8 @@ module Carbon
41
41
 
42
42
  attr_accessor :cancel_at_period_end
43
43
 
44
+ attr_accessor :connector_settings
45
+
44
46
  attr_accessor :global_user_config
45
47
 
46
48
  attr_accessor :file_sync_usage
@@ -67,6 +69,7 @@ module Carbon
67
69
  :'file_statistics_aggregated_at' => :'file_statistics_aggregated_at',
68
70
  :'period_ends_at' => :'period_ends_at',
69
71
  :'cancel_at_period_end' => :'cancel_at_period_end',
72
+ :'connector_settings' => :'connector_settings',
70
73
  :'global_user_config' => :'global_user_config',
71
74
  :'file_sync_usage' => :'file_sync_usage',
72
75
  :'created_at' => :'created_at',
@@ -97,6 +100,7 @@ module Carbon
97
100
  :'file_statistics_aggregated_at' => :'Time',
98
101
  :'period_ends_at' => :'Time',
99
102
  :'cancel_at_period_end' => :'Boolean',
103
+ :'connector_settings' => :'Object',
100
104
  :'global_user_config' => :'Object',
101
105
  :'file_sync_usage' => :'Object',
102
106
  :'created_at' => :'Time',
@@ -191,6 +195,10 @@ module Carbon
191
195
  self.cancel_at_period_end = attributes[:'cancel_at_period_end']
192
196
  end
193
197
 
198
+ if attributes.key?(:'connector_settings')
199
+ self.connector_settings = attributes[:'connector_settings']
200
+ end
201
+
194
202
  if attributes.key?(:'global_user_config')
195
203
  self.global_user_config = attributes[:'global_user_config']
196
204
  end
@@ -248,6 +256,10 @@ module Carbon
248
256
  invalid_properties.push('invalid value for "aggregate_num_files_by_file_format", aggregate_num_files_by_file_format cannot be nil.')
249
257
  end
250
258
 
259
+ if @connector_settings.nil?
260
+ invalid_properties.push('invalid value for "connector_settings", connector_settings cannot be nil.')
261
+ end
262
+
251
263
  if @global_user_config.nil?
252
264
  invalid_properties.push('invalid value for "global_user_config", global_user_config cannot be nil.')
253
265
  end
@@ -279,6 +291,7 @@ module Carbon
279
291
  return false if @aggregate_num_embeddings.nil?
280
292
  return false if @aggregate_num_files_by_source.nil?
281
293
  return false if @aggregate_num_files_by_file_format.nil?
294
+ return false if @connector_settings.nil?
282
295
  return false if @global_user_config.nil?
283
296
  return false if @file_sync_usage.nil?
284
297
  return false if @created_at.nil?
@@ -306,6 +319,7 @@ module Carbon
306
319
  file_statistics_aggregated_at == o.file_statistics_aggregated_at &&
307
320
  period_ends_at == o.period_ends_at &&
308
321
  cancel_at_period_end == o.cancel_at_period_end &&
322
+ connector_settings == o.connector_settings &&
309
323
  global_user_config == o.global_user_config &&
310
324
  file_sync_usage == o.file_sync_usage &&
311
325
  created_at == o.created_at &&
@@ -321,7 +335,7 @@ module Carbon
321
335
  # Calculates hash code according to all attributes.
322
336
  # @return [Integer] Hash code
323
337
  def hash
324
- [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, aggregate_num_files_by_source, aggregate_num_files_by_file_format, file_statistics_aggregated_at, period_ends_at, cancel_at_period_end, global_user_config, file_sync_usage, created_at, updated_at].hash
338
+ [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, aggregate_num_files_by_source, aggregate_num_files_by_file_format, file_statistics_aggregated_at, period_ends_at, cancel_at_period_end, connector_settings, global_user_config, file_sync_usage, created_at, updated_at].hash
325
339
  end
326
340
 
327
341
  # Builds the object from hash
@@ -43,6 +43,9 @@ module Carbon
43
43
  # URL subpaths or directories that you want to exclude. For example if you want to exclude URLs that start with /questions in stackoverflow.com, you will add /questions/ in this input
44
44
  attr_accessor :url_paths_to_exclude
45
45
 
46
+ # You can submit a subset of URLs from the sitemap that should be scraped. To get the list of URLs, you can check out /process_sitemap endpoint. If left empty, all URLs from the sitemap will be scraped.
47
+ attr_accessor :urls_to_scrape
48
+
46
49
  # Attribute mapping from ruby-style variable name to JSON key.
47
50
  def self.attribute_map
48
51
  {
@@ -60,7 +63,8 @@ module Carbon
60
63
  :'css_selectors_to_skip' => :'css_selectors_to_skip',
61
64
  :'embedding_model' => :'embedding_model',
62
65
  :'url_paths_to_include' => :'url_paths_to_include',
63
- :'url_paths_to_exclude' => :'url_paths_to_exclude'
66
+ :'url_paths_to_exclude' => :'url_paths_to_exclude',
67
+ :'urls_to_scrape' => :'urls_to_scrape'
64
68
  }
65
69
  end
66
70
 
@@ -86,7 +90,8 @@ module Carbon
86
90
  :'css_selectors_to_skip' => :'Array<String>',
87
91
  :'embedding_model' => :'EmbeddingGenerators',
88
92
  :'url_paths_to_include' => :'Array<String>',
89
- :'url_paths_to_exclude' => :'Array<String>'
93
+ :'url_paths_to_exclude' => :'Array<String>',
94
+ :'urls_to_scrape' => :'Array<String>'
90
95
  }
91
96
  end
92
97
 
@@ -105,7 +110,8 @@ module Carbon
105
110
  :'css_classes_to_skip',
106
111
  :'css_selectors_to_skip',
107
112
  :'url_paths_to_include',
108
- :'url_paths_to_exclude'
113
+ :'url_paths_to_exclude',
114
+ :'urls_to_scrape'
109
115
  ])
110
116
  end
111
117
 
@@ -209,6 +215,12 @@ module Carbon
209
215
  self.url_paths_to_exclude = value
210
216
  end
211
217
  end
218
+
219
+ if attributes.key?(:'urls_to_scrape')
220
+ if (value = attributes[:'urls_to_scrape']).is_a?(Array)
221
+ self.urls_to_scrape = value
222
+ end
223
+ end
212
224
  end
213
225
 
214
226
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -293,7 +305,8 @@ module Carbon
293
305
  css_selectors_to_skip == o.css_selectors_to_skip &&
294
306
  embedding_model == o.embedding_model &&
295
307
  url_paths_to_include == o.url_paths_to_include &&
296
- url_paths_to_exclude == o.url_paths_to_exclude
308
+ url_paths_to_exclude == o.url_paths_to_exclude &&
309
+ urls_to_scrape == o.urls_to_scrape
297
310
  end
298
311
 
299
312
  # @see the `==` method
@@ -305,7 +318,7 @@ module Carbon
305
318
  # Calculates hash code according to all attributes.
306
319
  # @return [Integer] Hash code
307
320
  def hash
308
- [tags, url, max_pages_to_scrape, chunk_size, chunk_overlap, skip_embedding_generation, enable_auto_sync, generate_sparse_vectors, prepend_filename_to_chunks, html_tags_to_skip, css_classes_to_skip, css_selectors_to_skip, embedding_model, url_paths_to_include, url_paths_to_exclude].hash
321
+ [tags, url, max_pages_to_scrape, chunk_size, chunk_overlap, skip_embedding_generation, enable_auto_sync, generate_sparse_vectors, prepend_filename_to_chunks, html_tags_to_skip, css_classes_to_skip, css_selectors_to_skip, embedding_model, url_paths_to_include, url_paths_to_exclude, urls_to_scrape].hash
309
322
  end
310
323
 
311
324
  # Builds the object from hash
@@ -187,7 +187,7 @@ module Carbon
187
187
  if attributes.key?(:'request_id')
188
188
  self.request_id = attributes[:'request_id']
189
189
  else
190
- self.request_id = '50140a8f-c06f-40df-9b91-d10d074bcb67'
190
+ self.request_id = '77b56048-a895-4377-b0d3-e190d1b7de32'
191
191
  end
192
192
 
193
193
  if attributes.key?(:'use_ocr')
@@ -182,7 +182,7 @@ module Carbon
182
182
  if attributes.key?(:'request_id')
183
183
  self.request_id = attributes[:'request_id']
184
184
  else
185
- self.request_id = '3a0195db-42f0-48ed-b809-d253f436a8e0'
185
+ self.request_id = 'e38a7eee-02b7-4f73-be14-ea9bb1f09e85'
186
186
  end
187
187
 
188
188
  if attributes.key?(:'enable_file_picker')
@@ -13,10 +13,14 @@ module Carbon
13
13
  class UpdateOrganizationInput
14
14
  attr_accessor :global_user_config
15
15
 
16
+ # Used to set organization level defaults for configuration related to data sources.
17
+ attr_accessor :data_source_configs
18
+
16
19
  # Attribute mapping from ruby-style variable name to JSON key.
17
20
  def self.attribute_map
18
21
  {
19
- :'global_user_config' => :'global_user_config'
22
+ :'global_user_config' => :'global_user_config',
23
+ :'data_source_configs' => :'data_source_configs'
20
24
  }
21
25
  end
22
26
 
@@ -28,14 +32,16 @@ module Carbon
28
32
  # Attribute type mapping.
29
33
  def self.openapi_types
30
34
  {
31
- :'global_user_config' => :'UserConfigurationNullable'
35
+ :'global_user_config' => :'UserConfigurationNullable',
36
+ :'data_source_configs' => :'Hash<String, DataSourceConfiguration>'
32
37
  }
33
38
  end
34
39
 
35
40
  # List of attributes with nullable: true
36
41
  def self.openapi_nullable
37
42
  Set.new([
38
- :'global_user_config'
43
+ :'global_user_config',
44
+ :'data_source_configs'
39
45
  ])
40
46
  end
41
47
 
@@ -57,6 +63,12 @@ module Carbon
57
63
  if attributes.key?(:'global_user_config')
58
64
  self.global_user_config = attributes[:'global_user_config']
59
65
  end
66
+
67
+ if attributes.key?(:'data_source_configs')
68
+ if (value = attributes[:'data_source_configs']).is_a?(Hash)
69
+ self.data_source_configs = value
70
+ end
71
+ end
60
72
  end
61
73
 
62
74
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,7 +89,8 @@ module Carbon
77
89
  def ==(o)
78
90
  return true if self.equal?(o)
79
91
  self.class == o.class &&
80
- global_user_config == o.global_user_config
92
+ global_user_config == o.global_user_config &&
93
+ data_source_configs == o.data_source_configs
81
94
  end
82
95
 
83
96
  # @see the `==` method
@@ -89,7 +102,7 @@ module Carbon
89
102
  # Calculates hash code according to all attributes.
90
103
  # @return [Integer] Hash code
91
104
  def hash
92
- [global_user_config].hash
105
+ [global_user_config, data_source_configs].hash
93
106
  end
94
107
 
95
108
  # Builds the object from hash
@@ -7,5 +7,5 @@ The version of the OpenAPI document: 1.0.0
7
7
  =end
8
8
 
9
9
  module Carbon
10
- VERSION = '0.2.14'
10
+ VERSION = '0.2.16'
11
11
  end
@@ -27,6 +27,7 @@ require 'carbon_ruby_sdk/models/confluence_authentication'
27
27
  require 'carbon_ruby_sdk/models/connect_data_source_input'
28
28
  require 'carbon_ruby_sdk/models/connect_data_source_response'
29
29
  require 'carbon_ruby_sdk/models/custom_credentials_type'
30
+ require 'carbon_ruby_sdk/models/data_source_configuration'
30
31
  require 'carbon_ruby_sdk/models/data_source_last_sync_actions'
31
32
  require 'carbon_ruby_sdk/models/data_source_sync_statuses'
32
33
  require 'carbon_ruby_sdk/models/data_source_type'
@@ -98,7 +98,7 @@ describe 'IntegrationsApi' do
98
98
 
99
99
  # unit tests for list_confluence_pages
100
100
  # Confluence List
101
- # To begin listing a user&#39;s Confluence pages, at least a &#x60;data_source_id&#x60; of a connected Confluence account must be specified. This base request returns a list of root pages for every space the user has access to in a Confluence instance. To traverse further down the user&#39;s page directory, additional requests to this endpoint can be made with the same &#x60;data_source_id&#x60; and with &#x60;parent_id&#x60; set to the id of page from a previous request. For convenience, the &#x60;has_children&#x60; property in each directory item in the response list will flag which pages will return non-empty lists of pages when set as the &#x60;parent_id&#x60;.
101
+ # This endpoint has been deprecated. Use /integrations/items/list instead. To begin listing a user&#39;s Confluence pages, at least a &#x60;data_source_id&#x60; of a connected Confluence account must be specified. This base request returns a list of root pages for every space the user has access to in a Confluence instance. To traverse further down the user&#39;s page directory, additional requests to this endpoint can be made with the same &#x60;data_source_id&#x60; and with &#x60;parent_id&#x60; set to the id of page from a previous request. For convenience, the &#x60;has_children&#x60; property in each directory item in the response list will flag which pages will return non-empty lists of pages when set as the &#x60;parent_id&#x60;.
102
102
  # @param list_request
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @return [ListResponse]
@@ -198,7 +198,7 @@ describe 'IntegrationsApi' do
198
198
 
199
199
  # unit tests for sync_confluence
200
200
  # Confluence Sync
201
- # After listing pages in a user&#39;s Confluence account, the set of selected page &#x60;ids&#x60; and the connected account&#39;s &#x60;data_source_id&#x60; can be passed into this endpoint to sync them into Carbon. Additional parameters listed below can be used to associate data to the selected pages or alter the behavior of the sync.
201
+ # This endpoint has been deprecated. Use /integrations/files/sync instead. After listing pages in a user&#39;s Confluence account, the set of selected page &#x60;ids&#x60; and the connected account&#39;s &#x60;data_source_id&#x60; can be passed into this endpoint to sync them into Carbon. Additional parameters listed below can be used to associate data to the selected pages or alter the behavior of the sync.
202
202
  # @param sync_files_request
203
203
  # @param [Hash] opts the optional parameters
204
204
  # @return [GenericSuccessResponse]
@@ -0,0 +1,34 @@
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 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::DataSourceConfiguration
14
+ describe Carbon::DataSourceConfiguration do
15
+ let(:instance) { Carbon::DataSourceConfiguration.new }
16
+
17
+ describe 'test an instance of DataSourceConfiguration' do
18
+ it 'should create an instance of DataSourceConfiguration' do
19
+ expect(instance).to be_instance_of(Carbon::DataSourceConfiguration)
20
+ end
21
+ end
22
+ describe 'test attribute "allowed_file_formats"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "google_workspace_docs_save_as"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -109,6 +109,12 @@ describe Carbon::OrganizationResponse do
109
109
  end
110
110
  end
111
111
 
112
+ describe 'test attribute "connector_settings"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
112
118
  describe 'test attribute "global_user_config"' do
113
119
  it 'should work' do
114
120
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -109,4 +109,10 @@ describe Carbon::SitemapScrapeRequest do
109
109
  end
110
110
  end
111
111
 
112
+ describe 'test attribute "urls_to_scrape"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
112
118
  end
@@ -25,4 +25,10 @@ describe Carbon::UpdateOrganizationInput do
25
25
  end
26
26
  end
27
27
 
28
+ describe 'test attribute "data_source_configs"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  end
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.14
4
+ version: 0.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-17 00:00:00.000000000 Z
11
+ date: 2024-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -109,6 +109,7 @@ files:
109
109
  - lib/carbon_ruby_sdk/models/connect_data_source_input.rb
110
110
  - lib/carbon_ruby_sdk/models/connect_data_source_response.rb
111
111
  - lib/carbon_ruby_sdk/models/custom_credentials_type.rb
112
+ - lib/carbon_ruby_sdk/models/data_source_configuration.rb
112
113
  - lib/carbon_ruby_sdk/models/data_source_last_sync_actions.rb
113
114
  - lib/carbon_ruby_sdk/models/data_source_sync_statuses.rb
114
115
  - lib/carbon_ruby_sdk/models/data_source_type.rb
@@ -269,6 +270,7 @@ files:
269
270
  - spec/models/connect_data_source_input_spec.rb
270
271
  - spec/models/connect_data_source_response_spec.rb
271
272
  - spec/models/custom_credentials_type_spec.rb
273
+ - spec/models/data_source_configuration_spec.rb
272
274
  - spec/models/data_source_last_sync_actions_spec.rb
273
275
  - spec/models/data_source_sync_statuses_spec.rb
274
276
  - spec/models/data_source_type_nullable_spec.rb
@@ -426,7 +428,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
426
428
  - !ruby/object:Gem::Version
427
429
  version: '0'
428
430
  requirements: []
429
- rubygems_version: 3.4.10
431
+ rubygems_version: 3.3.7
430
432
  signing_key:
431
433
  specification_version: 4
432
434
  summary: Carbon Ruby Gem
@@ -564,6 +566,7 @@ test_files:
564
566
  - spec/models/file_statistics_spec.rb
565
567
  - spec/models/confluence_authentication_spec.rb
566
568
  - spec/models/get_embedding_documents_body_spec.rb
569
+ - spec/models/data_source_configuration_spec.rb
567
570
  - spec/models/tags1_spec.rb
568
571
  - spec/models/webscrape_request_spec.rb
569
572
  - spec/models/embeddings_and_chunks_response_spec.rb