carbon_ruby_sdk 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7706176e499f1533fc878b19eedf2ec5861f96ff958fe1e5b06a3165a880af2
4
- data.tar.gz: 2bbd00bf0d604cc026a3c88b6db2760fc3385d471de31e4ff741d8377b27cc3d
3
+ metadata.gz: a8004c908980f33327e28bd8c6795635da99e97647b165ee502434f9d89ce3b5
4
+ data.tar.gz: 73bde3f0c8300daa9a5971a0d9fffc7b4d72f7aa030ac25dbf2bf152d1572fb7
5
5
  SHA512:
6
- metadata.gz: 58edf104baac33bc87aa26f7bab3b5bbcc206234745f72bffc7bcd4569c07d25cd421c8d28e269db58116035f98930cf51ccb407a905dab8c87118cd769b6623
7
- data.tar.gz: fa7538776a59eaa0f81583a91166d98d8712501f816ed55fb16abb7f6f7b70eb8e05aecf0968d0f307bff65810edc028a5917c630a341ce62e3a1badacd35a1b
6
+ metadata.gz: 76fd49fd9551772c146737c1ea2b2071530cff1ec15d8046ba73b184550947bb8e81aef21039cd961c2e26dc0aa5e831ac3afa5657afc955351cbe4db1d5b90b
7
+ data.tar.gz: 9a85fa063e226979dfa4f784c805bfa7012bdabb4ddff9e6760de2bd9666eba58741f5f58323f02bce4b083ae6a4b798117c141c24dbce65599214dc805ff959
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbon_ruby_sdk (0.2.4)
4
+ carbon_ruby_sdk (0.2.5)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
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.5-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.5)
9
+ [![npm](https://img.shields.io/badge/gem-v0.2.6-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.6)
10
10
 
11
11
  </div>
12
12
 
@@ -86,7 +86,7 @@ Connect external data to LLMs, no matter the source.
86
86
  Add to Gemfile:
87
87
 
88
88
  ```ruby
89
- gem 'carbon_ruby_sdk', '~> 0.2.5'
89
+ gem 'carbon_ruby_sdk', '~> 0.2.6'
90
90
  ```
91
91
 
92
92
  ## Getting Started<a id="getting-started"></a>
@@ -1247,7 +1247,7 @@ result = carbon.integrations.connect_data_source(
1247
1247
  "prepend_filename_to_chunks" => false,
1248
1248
  "sync_files_on_connection" => true,
1249
1249
  "set_page_as_boundary" => false,
1250
- "request_id" => "3faff6b4-cf31-42c5-b652-a4115dfbc64f",
1250
+ "request_id" => "701c68d4-27fe-4bd5-8f73-100577f7eaa5",
1251
1251
  "enable_file_picker" => true,
1252
1252
  "sync_source_items" => true,
1253
1253
  "incremental_sync" => false,
@@ -1301,6 +1301,7 @@ result = carbon.integrations.connect_freshdesk(
1301
1301
  "auto_synced_source_types" => ["ARTICLE"],
1302
1302
  "sync_attachments" => false,
1303
1303
  "detect_audio_language" => false,
1304
+ "split_rows" => false,
1304
1305
  },
1305
1306
  )
1306
1307
  p result
@@ -1466,7 +1467,7 @@ result = carbon.integrations.get_oauth_url(
1466
1467
  set_page_as_boundary: false,
1467
1468
  data_source_id: 1,
1468
1469
  connecting_new_account: false,
1469
- request_id: "f3bc66ce-11ad-480a-97d3-8564f86ea2e4",
1470
+ request_id: "f8e2cd13-d01d-4ebe-a42c-2a03626c37c0",
1470
1471
  use_ocr: false,
1471
1472
  parse_pdf_tables_with_ocr: false,
1472
1473
  enable_file_picker: true,
@@ -1476,6 +1477,7 @@ result = carbon.integrations.get_oauth_url(
1476
1477
  "auto_synced_source_types" => ["ARTICLE"],
1477
1478
  "sync_attachments" => false,
1478
1479
  "detect_audio_language" => false,
1480
+ "split_rows" => false,
1479
1481
  },
1480
1482
  )
1481
1483
  p result
@@ -1526,7 +1528,7 @@ Enable OCR for files that support it. Supported formats: pdf
1526
1528
  ##### parse_pdf_tables_with_ocr: `Boolean`<a id="parse_pdf_tables_with_ocr-boolean"></a>
1527
1529
  ##### enable_file_picker: `Boolean`<a id="enable_file_picker-boolean"></a>
1528
1530
  Enable integration's file picker for sources that support it. Supported sources:
1529
- BOX, ONEDRIVE, DROPBOX, GOOGLE_DRIVE, SHAREPOINT
1531
+ SHAREPOINT, ONEDRIVE, GOOGLE_DRIVE, DROPBOX, BOX
1530
1532
 
1531
1533
  ##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
1532
1534
  Enabling this flag will fetch all available content from the source to be listed
@@ -1788,7 +1790,7 @@ result = carbon.integrations.sync_confluence(
1788
1790
  prepend_filename_to_chunks: false,
1789
1791
  max_items_per_chunk: 1,
1790
1792
  set_page_as_boundary: false,
1791
- request_id: "6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf",
1793
+ request_id: "7233a302-6276-4747-af1f-9b1d1e1ed6f8",
1792
1794
  use_ocr: false,
1793
1795
  parse_pdf_tables_with_ocr: false,
1794
1796
  incremental_sync: false,
@@ -1796,6 +1798,7 @@ result = carbon.integrations.sync_confluence(
1796
1798
  "auto_synced_source_types" => ["ARTICLE"],
1797
1799
  "sync_attachments" => false,
1798
1800
  "detect_audio_language" => false,
1801
+ "split_rows" => false,
1799
1802
  },
1800
1803
  )
1801
1804
  p result
@@ -1891,7 +1894,7 @@ result = carbon.integrations.sync_files(
1891
1894
  prepend_filename_to_chunks: false,
1892
1895
  max_items_per_chunk: 1,
1893
1896
  set_page_as_boundary: false,
1894
- request_id: "6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf",
1897
+ request_id: "7233a302-6276-4747-af1f-9b1d1e1ed6f8",
1895
1898
  use_ocr: false,
1896
1899
  parse_pdf_tables_with_ocr: false,
1897
1900
  incremental_sync: false,
@@ -1899,6 +1902,7 @@ result = carbon.integrations.sync_files(
1899
1902
  "auto_synced_source_types" => ["ARTICLE"],
1900
1903
  "sync_attachments" => false,
1901
1904
  "detect_audio_language" => false,
1905
+ "split_rows" => false,
1902
1906
  },
1903
1907
  )
1904
1908
  p result
@@ -2097,6 +2101,7 @@ result = carbon.integrations.sync_gmail(
2097
2101
  "auto_synced_source_types" => ["ARTICLE"],
2098
2102
  "sync_attachments" => false,
2099
2103
  "detect_audio_language" => false,
2104
+ "split_rows" => false,
2100
2105
  },
2101
2106
  incremental_sync: false,
2102
2107
  )
@@ -2214,6 +2219,7 @@ result = carbon.integrations.sync_outlook(
2214
2219
  "auto_synced_source_types" => ["ARTICLE"],
2215
2220
  "sync_attachments" => false,
2216
2221
  "detect_audio_language" => false,
2222
+ "split_rows" => false,
2217
2223
  },
2218
2224
  incremental_sync: false,
2219
2225
  )
@@ -2356,6 +2362,7 @@ result = carbon.integrations.sync_s3_files(
2356
2362
  "auto_synced_source_types" => ["ARTICLE"],
2357
2363
  "sync_attachments" => false,
2358
2364
  "detect_audio_language" => false,
2365
+ "split_rows" => false,
2359
2366
  },
2360
2367
  )
2361
2368
  p result
@@ -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: BOX, ONEDRIVE, DROPBOX, GOOGLE_DRIVE, SHAREPOINT
656
+ # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: SHAREPOINT, ONEDRIVE, GOOGLE_DRIVE, DROPBOX, BOX
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. 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: 'f3bc66ce-11ad-480a-97d3-8564f86ea2e4', 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: 'f8e2cd13-d01d-4ebe-a42c-2a03626c37c0', 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: BOX, ONEDRIVE, DROPBOX, GOOGLE_DRIVE, SHAREPOINT
724
+ # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: SHAREPOINT, ONEDRIVE, GOOGLE_DRIVE, DROPBOX, BOX
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. 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: 'f3bc66ce-11ad-480a-97d3-8564f86ea2e4', 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: 'f8e2cd13-d01d-4ebe-a42c-2a03626c37c0', 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
@@ -1523,7 +1523,7 @@ module Carbon
1523
1523
  # @param file_sync_config [FileSyncConfigNullable]
1524
1524
  # @param body [SyncFilesRequest]
1525
1525
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1526
- 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: '6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1526
+ 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: '7233a302-6276-4747-af1f-9b1d1e1ed6f8', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1527
1527
  _body = {}
1528
1528
  _body[:tags] = tags if tags != SENTINEL
1529
1529
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1571,7 +1571,7 @@ module Carbon
1571
1571
  # @param file_sync_config [FileSyncConfigNullable]
1572
1572
  # @param body [SyncFilesRequest]
1573
1573
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1574
- 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: '6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1574
+ 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: '7233a302-6276-4747-af1f-9b1d1e1ed6f8', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1575
1575
  _body = {}
1576
1576
  _body[:tags] = tags if tags != SENTINEL
1577
1577
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1779,7 +1779,7 @@ module Carbon
1779
1779
  # @param file_sync_config [FileSyncConfigNullable]
1780
1780
  # @param body [SyncFilesRequest]
1781
1781
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1782
- 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: '6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1782
+ 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: '7233a302-6276-4747-af1f-9b1d1e1ed6f8', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1783
1783
  _body = {}
1784
1784
  _body[:tags] = tags if tags != SENTINEL
1785
1785
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1827,7 +1827,7 @@ module Carbon
1827
1827
  # @param file_sync_config [FileSyncConfigNullable]
1828
1828
  # @param body [SyncFilesRequest]
1829
1829
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1830
- 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: '6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1830
+ 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: '7233a302-6276-4747-af1f-9b1d1e1ed6f8', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1831
1831
  _body = {}
1832
1832
  _body[:tags] = tags if tags != SENTINEL
1833
1833
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -20,12 +20,16 @@ module Carbon
20
20
  # Detect audio language before transcription for audio files
21
21
  attr_accessor :detect_audio_language
22
22
 
23
+ # Whether to split tabular rows into chunks. Currently only valid for CSV, TSV, and XLSX files.
24
+ attr_accessor :split_rows
25
+
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
26
29
  :'auto_synced_source_types' => :'auto_synced_source_types',
27
30
  :'sync_attachments' => :'sync_attachments',
28
- :'detect_audio_language' => :'detect_audio_language'
31
+ :'detect_audio_language' => :'detect_audio_language',
32
+ :'split_rows' => :'split_rows'
29
33
  }
30
34
  end
31
35
 
@@ -39,7 +43,8 @@ module Carbon
39
43
  {
40
44
  :'auto_synced_source_types' => :'Array<HelpdeskFileTypes>',
41
45
  :'sync_attachments' => :'Boolean',
42
- :'detect_audio_language' => :'Boolean'
46
+ :'detect_audio_language' => :'Boolean',
47
+ :'split_rows' => :'Boolean'
43
48
  }
44
49
  end
45
50
 
@@ -81,6 +86,12 @@ module Carbon
81
86
  else
82
87
  self.detect_audio_language = false
83
88
  end
89
+
90
+ if attributes.key?(:'split_rows')
91
+ self.split_rows = attributes[:'split_rows']
92
+ else
93
+ self.split_rows = false
94
+ end
84
95
  end
85
96
 
86
97
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -103,7 +114,8 @@ module Carbon
103
114
  self.class == o.class &&
104
115
  auto_synced_source_types == o.auto_synced_source_types &&
105
116
  sync_attachments == o.sync_attachments &&
106
- detect_audio_language == o.detect_audio_language
117
+ detect_audio_language == o.detect_audio_language &&
118
+ split_rows == o.split_rows
107
119
  end
108
120
 
109
121
  # @see the `==` method
@@ -115,7 +127,7 @@ module Carbon
115
127
  # Calculates hash code according to all attributes.
116
128
  # @return [Integer] Hash code
117
129
  def hash
118
- [auto_synced_source_types, sync_attachments, detect_audio_language].hash
130
+ [auto_synced_source_types, sync_attachments, detect_audio_language, split_rows].hash
119
131
  end
120
132
 
121
133
  # Builds the object from hash
@@ -21,12 +21,16 @@ module Carbon
21
21
  # Detect audio language before transcription for audio files
22
22
  attr_accessor :detect_audio_language
23
23
 
24
+ # Whether to split tabular rows into chunks. Currently only valid for CSV, TSV, and XLSX files.
25
+ attr_accessor :split_rows
26
+
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
27
30
  :'auto_synced_source_types' => :'auto_synced_source_types',
28
31
  :'sync_attachments' => :'sync_attachments',
29
- :'detect_audio_language' => :'detect_audio_language'
32
+ :'detect_audio_language' => :'detect_audio_language',
33
+ :'split_rows' => :'split_rows'
30
34
  }
31
35
  end
32
36
 
@@ -40,7 +44,8 @@ module Carbon
40
44
  {
41
45
  :'auto_synced_source_types' => :'Array<HelpdeskFileTypes>',
42
46
  :'sync_attachments' => :'Boolean',
43
- :'detect_audio_language' => :'Boolean'
47
+ :'detect_audio_language' => :'Boolean',
48
+ :'split_rows' => :'Boolean'
44
49
  }
45
50
  end
46
51
 
@@ -82,6 +87,12 @@ module Carbon
82
87
  else
83
88
  self.detect_audio_language = false
84
89
  end
90
+
91
+ if attributes.key?(:'split_rows')
92
+ self.split_rows = attributes[:'split_rows']
93
+ else
94
+ self.split_rows = false
95
+ end
85
96
  end
86
97
 
87
98
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -104,7 +115,8 @@ module Carbon
104
115
  self.class == o.class &&
105
116
  auto_synced_source_types == o.auto_synced_source_types &&
106
117
  sync_attachments == o.sync_attachments &&
107
- detect_audio_language == o.detect_audio_language
118
+ detect_audio_language == o.detect_audio_language &&
119
+ split_rows == o.split_rows
108
120
  end
109
121
 
110
122
  # @see the `==` method
@@ -116,7 +128,7 @@ module Carbon
116
128
  # Calculates hash code according to all attributes.
117
129
  # @return [Integer] Hash code
118
130
  def hash
119
- [auto_synced_source_types, sync_attachments, detect_audio_language].hash
131
+ [auto_synced_source_types, sync_attachments, detect_audio_language, split_rows].hash
120
132
  end
121
133
 
122
134
  # Builds the object from hash
@@ -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: BOX, ONEDRIVE, DROPBOX, GOOGLE_DRIVE, SHAREPOINT
64
+ # Enable integration's file picker for sources that support it. Supported sources: SHAREPOINT, ONEDRIVE, GOOGLE_DRIVE, DROPBOX, BOX
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 = 'f3bc66ce-11ad-480a-97d3-8564f86ea2e4'
282
+ self.request_id = 'f8e2cd13-d01d-4ebe-a42c-2a03626c37c0'
283
283
  end
284
284
 
285
285
  if attributes.key?(:'use_ocr')
@@ -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 = '6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf'
190
+ self.request_id = '7233a302-6276-4747-af1f-9b1d1e1ed6f8'
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 = '3faff6b4-cf31-42c5-b652-a4115dfbc64f'
185
+ self.request_id = '701c68d4-27fe-4bd5-8f73-100577f7eaa5'
186
186
  end
187
187
 
188
188
  if attributes.key?(:'enable_file_picker')
@@ -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.5'
10
+ VERSION = '0.2.6'
11
11
  end
@@ -37,4 +37,10 @@ describe Carbon::FileSyncConfigNullable do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "split_rows"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
40
46
  end
@@ -37,4 +37,10 @@ describe Carbon::FileSyncConfig do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "split_rows"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
40
46
  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.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-14 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday