carbon_ruby_sdk 0.2.49 → 0.2.51

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: 5377eddec4484fc632907259ca881b18e2de0d89ba45f11e39cf83f3b558b3db
4
- data.tar.gz: acd1aefa8532e6dffa4bb78ddd49bf8c44a0bc6bd6b3b82f315f4f30a2f574a3
3
+ metadata.gz: 496084d1819fd6c66b31474be535b8cdbd7d985f960dfb765b0c0a0ee2a47d15
4
+ data.tar.gz: c036f7ae2ecebf464656ad576e6c637029548f92ac83b073f08e24767ae90b10
5
5
  SHA512:
6
- metadata.gz: 37b917b98b2ba00b55bd034e927cc7ddd64df51c1906152b49ab8293a577b8d6a3e1fb68b2f5a547e98860e1fb9316c57a3a01b28a4937f365a950a85cc70dd2
7
- data.tar.gz: 100ad2f69c198ac3972519b3f4b5a3408a4916ebcfbdc2feb593b87a2c0b0091fa988da9f57c404069535fd3229b5bc051669e1560792206e3d3e9a6ae2a1ea8
6
+ metadata.gz: 1b9f0a1a1fbf0d8feafe9289b2bd5a8a835232ef5cd9c051404a2b94e8994aa97952383a091aef2f70f629303c52f5aa9fe7ec80d408f7f571adf98dd31a909d
7
+ data.tar.gz: c47def780037b437c3f66f0c40d630f2612004306731c23fd24be58a29a317e2ef48fe577fefce7312f7667893b89df40fe0f8dee1c02ea2e19e5785801ae256
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbon_ruby_sdk (0.2.49)
4
+ carbon_ruby_sdk (0.2.51)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -67,7 +67,7 @@ GEM
67
67
  rubocop-ast (>= 1.2.0, < 2.0)
68
68
  ruby-progressbar (~> 1.7)
69
69
  unicode-display_width (>= 1.4.0, < 3.0)
70
- rubocop-ast (1.35.0)
70
+ rubocop-ast (1.36.1)
71
71
  parser (>= 3.3.1.0)
72
72
  ruby-progressbar (1.13.0)
73
73
  ruby2_keywords (0.0.5)
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.49-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.49)
9
+ [![npm](https://img.shields.io/badge/gem-v0.2.51-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.51)
10
10
 
11
11
  </div>
12
12
 
@@ -61,6 +61,7 @@ Connect external data to LLMs, no matter the source.
61
61
  * [`carbon.github.get_pull_requests`](#carbongithubget_pull_requests)
62
62
  * [`carbon.integrations.cancel`](#carbonintegrationscancel)
63
63
  * [`carbon.integrations.connect_data_source`](#carbonintegrationsconnect_data_source)
64
+ * [`carbon.integrations.connect_document360`](#carbonintegrationsconnect_document360)
64
65
  * [`carbon.integrations.connect_freshdesk`](#carbonintegrationsconnect_freshdesk)
65
66
  * [`carbon.integrations.connect_gitbook`](#carbonintegrationsconnect_gitbook)
66
67
  * [`carbon.integrations.connect_guru`](#carbonintegrationsconnect_guru)
@@ -120,7 +121,7 @@ Connect external data to LLMs, no matter the source.
120
121
  Add to Gemfile:
121
122
 
122
123
  ```ruby
123
- gem 'carbon_ruby_sdk', '~> 0.2.49'
124
+ gem 'carbon_ruby_sdk', '~> 0.2.51'
124
125
  ```
125
126
 
126
127
  ## Getting Started<a id="getting-started"></a>
@@ -2255,6 +2256,81 @@ p result
2255
2256
  ---
2256
2257
 
2257
2258
 
2259
+ ### `carbon.integrations.connect_document360`<a id="carbonintegrationsconnect_document360"></a>
2260
+
2261
+ You will need an access token to connect your Document360 account. To obtain an access token, follow the steps highlighted
2262
+ here https://apidocs.document360.com/apidocs/api-token.
2263
+
2264
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
2265
+
2266
+ ```ruby
2267
+ result = carbon.integrations.connect_document360(
2268
+ account_email: "string_example",
2269
+ access_token: "string_example",
2270
+ tags: {},
2271
+ chunk_size: 1500,
2272
+ chunk_overlap: 20,
2273
+ skip_embedding_generation: false,
2274
+ embedding_model: "OPENAI",
2275
+ generate_sparse_vectors: false,
2276
+ prepend_filename_to_chunks: false,
2277
+ sync_files_on_connection: true,
2278
+ request_id: "string_example",
2279
+ sync_source_items: true,
2280
+ file_sync_config: {
2281
+ "auto_synced_source_types" => ["ARTICLE"],
2282
+ "sync_attachments" => false,
2283
+ "detect_audio_language" => false,
2284
+ "transcription_service" => "assemblyai",
2285
+ "include_speaker_labels" => false,
2286
+ "split_rows" => false,
2287
+ "generate_chunks_only" => false,
2288
+ "store_file_only" => false,
2289
+ "skip_file_processing" => false,
2290
+ },
2291
+ data_source_tags: {},
2292
+ )
2293
+ p result
2294
+ ```
2295
+
2296
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
2297
+
2298
+ ##### account_email: `String`<a id="account_email-string"></a>
2299
+ This email will be used to identify your carbon data source. It should have
2300
+ access to the Document360 account you wish to connect.
2301
+
2302
+ ##### access_token: `String`<a id="access_token-string"></a>
2303
+ ##### tags: `Object`<a id="tags-object"></a>
2304
+ ##### chunk_size: `Integer`<a id="chunk_size-integer"></a>
2305
+ ##### chunk_overlap: `Integer`<a id="chunk_overlap-integer"></a>
2306
+ ##### skip_embedding_generation: `Boolean`<a id="skip_embedding_generation-boolean"></a>
2307
+ ##### embedding_model: [`EmbeddingGenerators`](./lib/carbon_ruby_sdk/models/embedding_generators.rb)<a id="embedding_model-embeddinggeneratorslibcarbon_ruby_sdkmodelsembedding_generatorsrb"></a>
2308
+ ##### generate_sparse_vectors: `Boolean`<a id="generate_sparse_vectors-boolean"></a>
2309
+ ##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
2310
+ ##### sync_files_on_connection: `Boolean`<a id="sync_files_on_connection-boolean"></a>
2311
+ ##### request_id: `String`<a id="request_id-string"></a>
2312
+ ##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
2313
+ Enabling this flag will fetch all available content from the source to be listed
2314
+ via list items endpoint
2315
+
2316
+ ##### file_sync_config: [`FileSyncConfigNullable`](./lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb)<a id="file_sync_config-filesyncconfignullablelibcarbon_ruby_sdkmodelsfile_sync_config_nullablerb"></a>
2317
+ ##### data_source_tags: `Object`<a id="data_source_tags-object"></a>
2318
+ Tags to be associated with the data source. If the data source already has tags
2319
+ set, then an upsert will be performed.
2320
+
2321
+ #### 🔄 Return<a id="🔄-return"></a>
2322
+
2323
+ [GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
2324
+
2325
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
2326
+
2327
+ `/integrations/document360` `POST`
2328
+
2329
+ [🔙 **Back to Table of Contents**](#table-of-contents)
2330
+
2331
+ ---
2332
+
2333
+
2258
2334
  ### `carbon.integrations.connect_freshdesk`<a id="carbonintegrationsconnect_freshdesk"></a>
2259
2335
 
2260
2336
  Refer this article to obtain an API key https://support.freshdesk.com/en/support/solutions/articles/215517.
@@ -3765,6 +3841,10 @@ p result
3765
3841
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
3766
3842
 
3767
3843
  ##### ids: Array<[`S3GetFileInput`](./lib/carbon_ruby_sdk/models/s3_get_file_input.rb)><a id="ids-array"></a>
3844
+ Each input should be one of the following: A bucket name, a bucket name and a
3845
+ prefix, or a bucket name and an object key. A prefix is the common path for all
3846
+ objects you want to sync. Paths should end with a forward slash.
3847
+
3768
3848
  ##### tags: `Object`<a id="tags-object"></a>
3769
3849
  ##### chunk_size: `Integer`<a id="chunk_size-integer"></a>
3770
3850
  ##### chunk_overlap: `Integer`<a id="chunk_overlap-integer"></a>
@@ -204,6 +204,158 @@ module Carbon
204
204
  end
205
205
 
206
206
 
207
+ # Document360 Connect
208
+ #
209
+ # You will need an access token to connect your Document360 account. To obtain an access token, follow the steps highlighted
210
+ # here https://apidocs.document360.com/apidocs/api-token.
211
+ #
212
+ # @param account_email [String] This email will be used to identify your carbon data source. It should have access to the Document360 account you wish to connect.
213
+ # @param access_token [String]
214
+ # @param tags [Object]
215
+ # @param chunk_size [Integer]
216
+ # @param chunk_overlap [Integer]
217
+ # @param skip_embedding_generation [Boolean]
218
+ # @param embedding_model [EmbeddingGenerators]
219
+ # @param generate_sparse_vectors [Boolean]
220
+ # @param prepend_filename_to_chunks [Boolean]
221
+ # @param sync_files_on_connection [Boolean]
222
+ # @param request_id [String]
223
+ # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
224
+ # @param file_sync_config [FileSyncConfigNullable]
225
+ # @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.
226
+ # @param body [Document360ConnectRequest]
227
+ # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
228
+ def connect_document360(account_email:, 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: {})
229
+ _body = {}
230
+ _body[:tags] = tags if tags != SENTINEL
231
+ _body[:account_email] = account_email if account_email != SENTINEL
232
+ _body[:access_token] = access_token if access_token != SENTINEL
233
+ _body[:chunk_size] = chunk_size if chunk_size != SENTINEL
234
+ _body[:chunk_overlap] = chunk_overlap if chunk_overlap != SENTINEL
235
+ _body[:skip_embedding_generation] = skip_embedding_generation if skip_embedding_generation != SENTINEL
236
+ _body[:embedding_model] = embedding_model if embedding_model != SENTINEL
237
+ _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
238
+ _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
239
+ _body[:sync_files_on_connection] = sync_files_on_connection if sync_files_on_connection != SENTINEL
240
+ _body[:request_id] = request_id if request_id != SENTINEL
241
+ _body[:sync_source_items] = sync_source_items if sync_source_items != SENTINEL
242
+ _body[:file_sync_config] = file_sync_config if file_sync_config != SENTINEL
243
+ _body[:data_source_tags] = data_source_tags if data_source_tags != SENTINEL
244
+ document360_connect_request = _body
245
+ api_response = connect_document360_with_http_info_impl(document360_connect_request, extra)
246
+ api_response.data
247
+ end
248
+
249
+ # Document360 Connect
250
+ #
251
+ # You will need an access token to connect your Document360 account. To obtain an access token, follow the steps highlighted
252
+ # here https://apidocs.document360.com/apidocs/api-token.
253
+ #
254
+ # @param account_email [String] This email will be used to identify your carbon data source. It should have access to the Document360 account you wish to connect.
255
+ # @param access_token [String]
256
+ # @param tags [Object]
257
+ # @param chunk_size [Integer]
258
+ # @param chunk_overlap [Integer]
259
+ # @param skip_embedding_generation [Boolean]
260
+ # @param embedding_model [EmbeddingGenerators]
261
+ # @param generate_sparse_vectors [Boolean]
262
+ # @param prepend_filename_to_chunks [Boolean]
263
+ # @param sync_files_on_connection [Boolean]
264
+ # @param request_id [String]
265
+ # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
266
+ # @param file_sync_config [FileSyncConfigNullable]
267
+ # @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.
268
+ # @param body [Document360ConnectRequest]
269
+ # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
270
+ def connect_document360_with_http_info(account_email:, 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: {})
271
+ _body = {}
272
+ _body[:tags] = tags if tags != SENTINEL
273
+ _body[:account_email] = account_email if account_email != SENTINEL
274
+ _body[:access_token] = access_token if access_token != SENTINEL
275
+ _body[:chunk_size] = chunk_size if chunk_size != SENTINEL
276
+ _body[:chunk_overlap] = chunk_overlap if chunk_overlap != SENTINEL
277
+ _body[:skip_embedding_generation] = skip_embedding_generation if skip_embedding_generation != SENTINEL
278
+ _body[:embedding_model] = embedding_model if embedding_model != SENTINEL
279
+ _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
280
+ _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
281
+ _body[:sync_files_on_connection] = sync_files_on_connection if sync_files_on_connection != SENTINEL
282
+ _body[:request_id] = request_id if request_id != SENTINEL
283
+ _body[:sync_source_items] = sync_source_items if sync_source_items != SENTINEL
284
+ _body[:file_sync_config] = file_sync_config if file_sync_config != SENTINEL
285
+ _body[:data_source_tags] = data_source_tags if data_source_tags != SENTINEL
286
+ document360_connect_request = _body
287
+ connect_document360_with_http_info_impl(document360_connect_request, extra)
288
+ end
289
+
290
+ # Document360 Connect
291
+ # You will need an access token to connect your Document360 account. To obtain an access token, follow the steps highlighted here https://apidocs.document360.com/apidocs/api-token.
292
+ # @param document360_connect_request [Document360ConnectRequest]
293
+ # @param [Hash] opts the optional parameters
294
+ # @return [GenericSuccessResponse]
295
+ private def connect_document360_impl(document360_connect_request, opts = {})
296
+ data, _status_code, _headers = connect_document360_with_http_info(document360_connect_request, opts)
297
+ data
298
+ end
299
+
300
+ # Document360 Connect
301
+ # You will need an access token to connect your Document360 account. To obtain an access token, follow the steps highlighted here https://apidocs.document360.com/apidocs/api-token.
302
+ # @param document360_connect_request [Document360ConnectRequest]
303
+ # @param [Hash] opts the optional parameters
304
+ # @return [APIResponse] data is GenericSuccessResponse, status code, headers and response
305
+ private def connect_document360_with_http_info_impl(document360_connect_request, opts = {})
306
+ if @api_client.config.debugging
307
+ @api_client.config.logger.debug 'Calling API: IntegrationsApi.connect_document360 ...'
308
+ end
309
+ # verify the required parameter 'document360_connect_request' is set
310
+ if @api_client.config.client_side_validation && document360_connect_request.nil?
311
+ fail ArgumentError, "Missing the required parameter 'document360_connect_request' when calling IntegrationsApi.connect_document360"
312
+ end
313
+ # resource path
314
+ local_var_path = '/integrations/document360'
315
+
316
+ # query parameters
317
+ query_params = opts[:query_params] || {}
318
+
319
+ # header parameters
320
+ header_params = opts[:header_params] || {}
321
+ # HTTP header 'Accept' (if needed)
322
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
323
+ # HTTP header 'Content-Type'
324
+ content_type = @api_client.select_header_content_type(['application/json'])
325
+ if !content_type.nil?
326
+ header_params['Content-Type'] = content_type
327
+ end
328
+
329
+ # form parameters
330
+ form_params = opts[:form_params] || {}
331
+
332
+ # http body (model)
333
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(document360_connect_request)
334
+
335
+ # return_type
336
+ return_type = opts[:debug_return_type] || 'GenericSuccessResponse'
337
+
338
+ # auth_names
339
+ auth_names = opts[:debug_auth_names] || ['accessToken', 'apiKey', 'customerId']
340
+
341
+ new_options = opts.merge(
342
+ :operation => :"IntegrationsApi.connect_document360",
343
+ :header_params => header_params,
344
+ :query_params => query_params,
345
+ :form_params => form_params,
346
+ :body => post_body,
347
+ :auth_names => auth_names,
348
+ :return_type => return_type
349
+ )
350
+
351
+ data, status_code, headers, response = @api_client.call_api(:POST, local_var_path, new_options)
352
+ if @api_client.config.debugging
353
+ @api_client.config.logger.debug "API called: IntegrationsApi#connect_document360\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
354
+ end
355
+ APIResponse::new(data, status_code, headers, response)
356
+ end
357
+
358
+
207
359
  # Freshdesk Connect
208
360
  #
209
361
  # Refer this article to obtain an API key https://support.freshdesk.com/en/support/solutions/articles/215517.
@@ -3668,7 +3820,7 @@ module Carbon
3668
3820
  # and object key as the ID in this endpoint to sync them into Carbon. Additional parameters below can associate
3669
3821
  # data with the selected items or modify the sync behavior
3670
3822
  #
3671
- # @param ids [Array<S3GetFileInput>]
3823
+ # @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
3824
  # @param tags [Object]
3673
3825
  # @param chunk_size [Integer]
3674
3826
  # @param chunk_overlap [Integer]
@@ -3713,7 +3865,7 @@ module Carbon
3713
3865
  # and object key as the ID in this endpoint to sync them into Carbon. Additional parameters below can associate
3714
3866
  # data with the selected items or modify the sync behavior
3715
3867
  #
3716
- # @param ids [Array<S3GetFileInput>]
3868
+ # @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
3869
  # @param tags [Object]
3718
3870
  # @param chunk_size [Integer]
3719
3871
  # @param chunk_overlap [Integer]
@@ -50,6 +50,7 @@ module Carbon
50
50
  SLACK = "SLACK".freeze
51
51
  GURU = "GURU".freeze
52
52
  GONG = "GONG".freeze
53
+ DOCUMENT360 = "DOCUMENT360".freeze
53
54
  JPG = "JPG".freeze
54
55
  PNG = "PNG".freeze
55
56
  JPEG = "JPEG".freeze
@@ -75,7 +76,7 @@ module Carbon
75
76
  MSG = "MSG".freeze
76
77
 
77
78
  def self.all_vars
78
- @all_vars ||= [GOOGLE_CLOUD_STORAGE, GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, AZURE_BLOB_STORAGE, GMAIL, OUTLOOK, SERVICENOW, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, GURU, GONG, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
79
+ @all_vars ||= [GOOGLE_CLOUD_STORAGE, GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, AZURE_BLOB_STORAGE, GMAIL, OUTLOOK, SERVICENOW, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, GURU, GONG, DOCUMENT360, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
79
80
  end
80
81
 
81
82
  # Builds the enum from string
@@ -50,6 +50,7 @@ module Carbon
50
50
  SLACK = "SLACK".freeze
51
51
  GURU = "GURU".freeze
52
52
  GONG = "GONG".freeze
53
+ DOCUMENT360 = "DOCUMENT360".freeze
53
54
  JPG = "JPG".freeze
54
55
  PNG = "PNG".freeze
55
56
  JPEG = "JPEG".freeze
@@ -75,7 +76,7 @@ module Carbon
75
76
  MSG = "MSG".freeze
76
77
 
77
78
  def self.all_vars
78
- @all_vars ||= [GOOGLE_CLOUD_STORAGE, GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, AZURE_BLOB_STORAGE, GMAIL, OUTLOOK, SERVICENOW, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, GURU, GONG, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
79
+ @all_vars ||= [GOOGLE_CLOUD_STORAGE, GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, AZURE_BLOB_STORAGE, GMAIL, OUTLOOK, SERVICENOW, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, GURU, GONG, DOCUMENT360, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
79
80
  end
80
81
 
81
82
  # Builds the enum from string
@@ -0,0 +1,368 @@
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 Document360ConnectRequest
14
+ attr_accessor :tags
15
+
16
+ # This email will be used to identify your carbon data source. It should have access to the Document360 account you wish to connect.
17
+ attr_accessor :account_email
18
+
19
+ attr_accessor :access_token
20
+
21
+ attr_accessor :chunk_size
22
+
23
+ attr_accessor :chunk_overlap
24
+
25
+ attr_accessor :skip_embedding_generation
26
+
27
+ attr_accessor :embedding_model
28
+
29
+ attr_accessor :generate_sparse_vectors
30
+
31
+ attr_accessor :prepend_filename_to_chunks
32
+
33
+ attr_accessor :sync_files_on_connection
34
+
35
+ attr_accessor :request_id
36
+
37
+ # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
38
+ attr_accessor :sync_source_items
39
+
40
+ attr_accessor :file_sync_config
41
+
42
+ # Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.
43
+ attr_accessor :data_source_tags
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'tags' => :'tags',
49
+ :'account_email' => :'account_email',
50
+ :'access_token' => :'access_token',
51
+ :'chunk_size' => :'chunk_size',
52
+ :'chunk_overlap' => :'chunk_overlap',
53
+ :'skip_embedding_generation' => :'skip_embedding_generation',
54
+ :'embedding_model' => :'embedding_model',
55
+ :'generate_sparse_vectors' => :'generate_sparse_vectors',
56
+ :'prepend_filename_to_chunks' => :'prepend_filename_to_chunks',
57
+ :'sync_files_on_connection' => :'sync_files_on_connection',
58
+ :'request_id' => :'request_id',
59
+ :'sync_source_items' => :'sync_source_items',
60
+ :'file_sync_config' => :'file_sync_config',
61
+ :'data_source_tags' => :'data_source_tags'
62
+ }
63
+ end
64
+
65
+ # Returns all the JSON keys this model knows about
66
+ def self.acceptable_attributes
67
+ attribute_map.values
68
+ end
69
+
70
+ # Attribute type mapping.
71
+ def self.openapi_types
72
+ {
73
+ :'tags' => :'Object',
74
+ :'account_email' => :'String',
75
+ :'access_token' => :'String',
76
+ :'chunk_size' => :'Integer',
77
+ :'chunk_overlap' => :'Integer',
78
+ :'skip_embedding_generation' => :'Boolean',
79
+ :'embedding_model' => :'EmbeddingGenerators',
80
+ :'generate_sparse_vectors' => :'Boolean',
81
+ :'prepend_filename_to_chunks' => :'Boolean',
82
+ :'sync_files_on_connection' => :'Boolean',
83
+ :'request_id' => :'String',
84
+ :'sync_source_items' => :'Boolean',
85
+ :'file_sync_config' => :'FileSyncConfigNullable',
86
+ :'data_source_tags' => :'Object'
87
+ }
88
+ end
89
+
90
+ # List of attributes with nullable: true
91
+ def self.openapi_nullable
92
+ Set.new([
93
+ :'tags',
94
+ :'chunk_size',
95
+ :'chunk_overlap',
96
+ :'skip_embedding_generation',
97
+ :'generate_sparse_vectors',
98
+ :'prepend_filename_to_chunks',
99
+ :'sync_files_on_connection',
100
+ :'request_id',
101
+ :'file_sync_config',
102
+ ])
103
+ end
104
+
105
+ # Initializes the object
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ def initialize(attributes = {})
108
+ if (!attributes.is_a?(Hash))
109
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::Document360ConnectRequest` initialize method"
110
+ end
111
+
112
+ # check to see if the attribute exists and convert string to symbol for hash key
113
+ attributes = attributes.each_with_object({}) { |(k, v), h|
114
+ if (!self.class.attribute_map.key?(k.to_sym))
115
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::Document360ConnectRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
116
+ end
117
+ h[k.to_sym] = v
118
+ }
119
+
120
+ if attributes.key?(:'tags')
121
+ self.tags = attributes[:'tags']
122
+ end
123
+
124
+ if attributes.key?(:'account_email')
125
+ self.account_email = attributes[:'account_email']
126
+ end
127
+
128
+ if attributes.key?(:'access_token')
129
+ self.access_token = attributes[:'access_token']
130
+ end
131
+
132
+ if attributes.key?(:'chunk_size')
133
+ self.chunk_size = attributes[:'chunk_size']
134
+ else
135
+ self.chunk_size = 1500
136
+ end
137
+
138
+ if attributes.key?(:'chunk_overlap')
139
+ self.chunk_overlap = attributes[:'chunk_overlap']
140
+ else
141
+ self.chunk_overlap = 20
142
+ end
143
+
144
+ if attributes.key?(:'skip_embedding_generation')
145
+ self.skip_embedding_generation = attributes[:'skip_embedding_generation']
146
+ else
147
+ self.skip_embedding_generation = false
148
+ end
149
+
150
+ if attributes.key?(:'embedding_model')
151
+ self.embedding_model = attributes[:'embedding_model']
152
+ end
153
+
154
+ if attributes.key?(:'generate_sparse_vectors')
155
+ self.generate_sparse_vectors = attributes[:'generate_sparse_vectors']
156
+ else
157
+ self.generate_sparse_vectors = false
158
+ end
159
+
160
+ if attributes.key?(:'prepend_filename_to_chunks')
161
+ self.prepend_filename_to_chunks = attributes[:'prepend_filename_to_chunks']
162
+ else
163
+ self.prepend_filename_to_chunks = false
164
+ end
165
+
166
+ if attributes.key?(:'sync_files_on_connection')
167
+ self.sync_files_on_connection = attributes[:'sync_files_on_connection']
168
+ else
169
+ self.sync_files_on_connection = true
170
+ end
171
+
172
+ if attributes.key?(:'request_id')
173
+ self.request_id = attributes[:'request_id']
174
+ end
175
+
176
+ if attributes.key?(:'sync_source_items')
177
+ self.sync_source_items = attributes[:'sync_source_items']
178
+ else
179
+ self.sync_source_items = true
180
+ end
181
+
182
+ if attributes.key?(:'file_sync_config')
183
+ self.file_sync_config = attributes[:'file_sync_config']
184
+ end
185
+
186
+ if attributes.key?(:'data_source_tags')
187
+ self.data_source_tags = attributes[:'data_source_tags']
188
+ end
189
+ end
190
+
191
+ # Show invalid properties with the reasons. Usually used together with valid?
192
+ # @return Array for valid properties with the reasons
193
+ def list_invalid_properties
194
+ invalid_properties = Array.new
195
+ if @account_email.nil?
196
+ invalid_properties.push('invalid value for "account_email", account_email cannot be nil.')
197
+ end
198
+
199
+ if @access_token.nil?
200
+ invalid_properties.push('invalid value for "access_token", access_token cannot be nil.')
201
+ end
202
+
203
+ invalid_properties
204
+ end
205
+
206
+ # Check to see if the all the properties in the model are valid
207
+ # @return true if the model is valid
208
+ def valid?
209
+ return false if @account_email.nil?
210
+ return false if @access_token.nil?
211
+ true
212
+ end
213
+
214
+ # Checks equality by comparing each attribute.
215
+ # @param [Object] Object to be compared
216
+ def ==(o)
217
+ return true if self.equal?(o)
218
+ self.class == o.class &&
219
+ tags == o.tags &&
220
+ account_email == o.account_email &&
221
+ access_token == o.access_token &&
222
+ chunk_size == o.chunk_size &&
223
+ chunk_overlap == o.chunk_overlap &&
224
+ skip_embedding_generation == o.skip_embedding_generation &&
225
+ embedding_model == o.embedding_model &&
226
+ generate_sparse_vectors == o.generate_sparse_vectors &&
227
+ prepend_filename_to_chunks == o.prepend_filename_to_chunks &&
228
+ sync_files_on_connection == o.sync_files_on_connection &&
229
+ request_id == o.request_id &&
230
+ sync_source_items == o.sync_source_items &&
231
+ file_sync_config == o.file_sync_config &&
232
+ data_source_tags == o.data_source_tags
233
+ end
234
+
235
+ # @see the `==` method
236
+ # @param [Object] Object to be compared
237
+ def eql?(o)
238
+ self == o
239
+ end
240
+
241
+ # Calculates hash code according to all attributes.
242
+ # @return [Integer] Hash code
243
+ def hash
244
+ [tags, account_email, access_token, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, sync_files_on_connection, request_id, sync_source_items, file_sync_config, data_source_tags].hash
245
+ end
246
+
247
+ # Builds the object from hash
248
+ # @param [Hash] attributes Model attributes in the form of hash
249
+ # @return [Object] Returns the model itself
250
+ def self.build_from_hash(attributes)
251
+ new.build_from_hash(attributes)
252
+ end
253
+
254
+ # Builds the object from hash
255
+ # @param [Hash] attributes Model attributes in the form of hash
256
+ # @return [Object] Returns the model itself
257
+ def build_from_hash(attributes)
258
+ return nil unless attributes.is_a?(Hash)
259
+ attributes = attributes.transform_keys(&:to_sym)
260
+ self.class.openapi_types.each_pair do |key, type|
261
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
262
+ self.send("#{key}=", nil)
263
+ elsif type =~ /\AArray<(.*)>/i
264
+ # check to ensure the input is an array given that the attribute
265
+ # is documented as an array but the input is not
266
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
267
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
268
+ end
269
+ elsif !attributes[self.class.attribute_map[key]].nil?
270
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
271
+ end
272
+ end
273
+
274
+ self
275
+ end
276
+
277
+ # Deserializes the data based on type
278
+ # @param string type Data type
279
+ # @param string value Value to be deserialized
280
+ # @return [Object] Deserialized data
281
+ def _deserialize(type, value)
282
+ case type.to_sym
283
+ when :Time
284
+ Time.parse(value)
285
+ when :Date
286
+ Date.parse(value)
287
+ when :String
288
+ value.to_s
289
+ when :Integer
290
+ value.to_i
291
+ when :Float
292
+ value.to_f
293
+ when :Boolean
294
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
295
+ true
296
+ else
297
+ false
298
+ end
299
+ when :Object
300
+ # generic object (usually a Hash), return directly
301
+ value
302
+ when /\AArray<(?<inner_type>.+)>\z/
303
+ inner_type = Regexp.last_match[:inner_type]
304
+ value.map { |v| _deserialize(inner_type, v) }
305
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
306
+ k_type = Regexp.last_match[:k_type]
307
+ v_type = Regexp.last_match[:v_type]
308
+ {}.tap do |hash|
309
+ value.each do |k, v|
310
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
311
+ end
312
+ end
313
+ else # model
314
+ # models (e.g. Pet) or oneOf
315
+ klass = Carbon.const_get(type)
316
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
317
+ end
318
+ end
319
+
320
+ # Returns the string representation of the object
321
+ # @return [String] String presentation of the object
322
+ def to_s
323
+ to_hash.to_s
324
+ end
325
+
326
+ # to_body is an alias to to_hash (backward compatibility)
327
+ # @return [Hash] Returns the object in the form of hash
328
+ def to_body
329
+ to_hash
330
+ end
331
+
332
+ # Returns the object in the form of hash
333
+ # @return [Hash] Returns the object in the form of hash
334
+ def to_hash
335
+ hash = {}
336
+ self.class.attribute_map.each_pair do |attr, param|
337
+ value = self.send(attr)
338
+ if value.nil?
339
+ is_nullable = self.class.openapi_nullable.include?(attr)
340
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
341
+ end
342
+
343
+ hash[param] = _to_hash(value)
344
+ end
345
+ hash
346
+ end
347
+
348
+ # Outputs non-array value in the form of hash
349
+ # For object, use to_hash. Otherwise, just return the value
350
+ # @param [Object] value Any valid value
351
+ # @return [Hash] Returns the value in the form of hash
352
+ def _to_hash(value)
353
+ if value.is_a?(Array)
354
+ value.compact.map { |v| _to_hash(v) }
355
+ elsif value.is_a?(Hash)
356
+ {}.tap do |hash|
357
+ value.each { |k, v| hash[k] = _to_hash(v) }
358
+ end
359
+ elsif value.respond_to? :to_hash
360
+ value.to_hash
361
+ else
362
+ value
363
+ end
364
+ end
365
+
366
+ end
367
+
368
+ end
@@ -42,6 +42,7 @@ module Carbon
42
42
  GURU = "GURU".freeze
43
43
  SERVICENOW = "SERVICENOW".freeze
44
44
  GONG = "GONG".freeze
45
+ DOCUMENT360 = "DOCUMENT360".freeze
45
46
  JPG = "JPG".freeze
46
47
  PNG = "PNG".freeze
47
48
  MP3 = "MP3".freeze
@@ -66,7 +67,7 @@ module Carbon
66
67
  MSG = "MSG".freeze
67
68
 
68
69
  def self.all_vars
69
- @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, 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, GURU, SERVICENOW, GONG, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
70
+ @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, 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, GURU, SERVICENOW, GONG, DOCUMENT360, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
70
71
  end
71
72
 
72
73
  # Builds the enum from string
@@ -42,6 +42,7 @@ module Carbon
42
42
  GURU = "GURU".freeze
43
43
  SERVICENOW = "SERVICENOW".freeze
44
44
  GONG = "GONG".freeze
45
+ DOCUMENT360 = "DOCUMENT360".freeze
45
46
  JPG = "JPG".freeze
46
47
  PNG = "PNG".freeze
47
48
  MP3 = "MP3".freeze
@@ -66,7 +67,7 @@ module Carbon
66
67
  MSG = "MSG".freeze
67
68
 
68
69
  def self.all_vars
69
- @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, 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, GURU, SERVICENOW, GONG, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
70
+ @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, XLSM, 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, GURU, SERVICENOW, GONG, DOCUMENT360, JPG, PNG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML, MSG].freeze
70
71
  end
71
72
 
72
73
  # Builds the enum from string
@@ -13,6 +13,7 @@ module Carbon
13
13
  class S3FileSyncInput
14
14
  attr_accessor :tags
15
15
 
16
+ # 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.
16
17
  attr_accessor :ids
17
18
 
18
19
  attr_accessor :chunk_size
@@ -15,11 +15,14 @@ module Carbon
15
15
 
16
16
  attr_accessor :bucket
17
17
 
18
+ attr_accessor :prefix
19
+
18
20
  # Attribute mapping from ruby-style variable name to JSON key.
19
21
  def self.attribute_map
20
22
  {
21
23
  :'id' => :'id',
22
- :'bucket' => :'bucket'
24
+ :'bucket' => :'bucket',
25
+ :'prefix' => :'prefix'
23
26
  }
24
27
  end
25
28
 
@@ -32,7 +35,8 @@ module Carbon
32
35
  def self.openapi_types
33
36
  {
34
37
  :'id' => :'String',
35
- :'bucket' => :'String'
38
+ :'bucket' => :'String',
39
+ :'prefix' => :'String'
36
40
  }
37
41
  end
38
42
 
@@ -40,7 +44,8 @@ module Carbon
40
44
  def self.openapi_nullable
41
45
  Set.new([
42
46
  :'id',
43
- :'bucket'
47
+ :'bucket',
48
+ :'prefix'
44
49
  ])
45
50
  end
46
51
 
@@ -66,6 +71,10 @@ module Carbon
66
71
  if attributes.key?(:'bucket')
67
72
  self.bucket = attributes[:'bucket']
68
73
  end
74
+
75
+ if attributes.key?(:'prefix')
76
+ self.prefix = attributes[:'prefix']
77
+ end
69
78
  end
70
79
 
71
80
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -87,7 +96,8 @@ module Carbon
87
96
  return true if self.equal?(o)
88
97
  self.class == o.class &&
89
98
  id == o.id &&
90
- bucket == o.bucket
99
+ bucket == o.bucket &&
100
+ prefix == o.prefix
91
101
  end
92
102
 
93
103
  # @see the `==` method
@@ -99,7 +109,7 @@ module Carbon
99
109
  # Calculates hash code according to all attributes.
100
110
  # @return [Integer] Hash code
101
111
  def hash
102
- [id, bucket].hash
112
+ [id, bucket, prefix].hash
103
113
  end
104
114
 
105
115
  # 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.49'
10
+ VERSION = '0.2.51'
11
11
  end
@@ -72,6 +72,7 @@ require 'carbon_ruby_sdk/models/delete_files_v2_query_input'
72
72
  require 'carbon_ruby_sdk/models/delete_users_input'
73
73
  require 'carbon_ruby_sdk/models/delete_white_label_request'
74
74
  require 'carbon_ruby_sdk/models/directory_item'
75
+ require 'carbon_ruby_sdk/models/document360_connect_request'
75
76
  require 'carbon_ruby_sdk/models/document_response'
76
77
  require 'carbon_ruby_sdk/models/document_response_list'
77
78
  require 'carbon_ruby_sdk/models/email'
@@ -48,6 +48,18 @@ describe 'IntegrationsApi' do
48
48
  end
49
49
  end
50
50
 
51
+ # unit tests for connect_document360
52
+ # Document360 Connect
53
+ # You will need an access token to connect your Document360 account. To obtain an access token, follow the steps highlighted here https://apidocs.document360.com/apidocs/api-token.
54
+ # @param document360_connect_request
55
+ # @param [Hash] opts the optional parameters
56
+ # @return [GenericSuccessResponse]
57
+ describe 'connect_document360 test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
51
63
  # unit tests for connect_freshdesk
52
64
  # Freshdesk Connect
53
65
  # Refer this article to obtain an API key https://support.freshdesk.com/en/support/solutions/articles/215517. Make sure that your API key has the permission to read solutions from your account and you are on a &lt;b&gt;paid&lt;/b&gt; plan. Once you have an API key, you can make a request to this endpoint along with your freshdesk domain. This will trigger an automatic sync of the articles in your \&quot;solutions\&quot; tab. Additional parameters below can be used to associate data with the synced articles or modify the sync behavior.
@@ -0,0 +1,106 @@
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::Document360ConnectRequest
14
+ describe Carbon::Document360ConnectRequest do
15
+ let(:instance) { Carbon::Document360ConnectRequest.new }
16
+
17
+ describe 'test an instance of Document360ConnectRequest' do
18
+ it 'should create an instance of Document360ConnectRequest' do
19
+ expect(instance).to be_instance_of(Carbon::Document360ConnectRequest)
20
+ end
21
+ end
22
+ describe 'test attribute "tags"' 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 "account_email"' 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
+ describe 'test attribute "access_token"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "chunk_size"' 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
+
46
+ describe 'test attribute "chunk_overlap"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "skip_embedding_generation"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "embedding_model"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "generate_sparse_vectors"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "prepend_filename_to_chunks"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "sync_files_on_connection"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "request_id"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "sync_source_items"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ describe 'test attribute "file_sync_config"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ describe 'test attribute "data_source_tags"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ end
@@ -31,4 +31,10 @@ describe Carbon::S3GetFileInput do
31
31
  end
32
32
  end
33
33
 
34
+ describe 'test attribute "prefix"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
34
40
  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.49
4
+ version: 0.2.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-13 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -157,6 +157,7 @@ files:
157
157
  - lib/carbon_ruby_sdk/models/delete_users_input.rb
158
158
  - lib/carbon_ruby_sdk/models/delete_white_label_request.rb
159
159
  - lib/carbon_ruby_sdk/models/directory_item.rb
160
+ - lib/carbon_ruby_sdk/models/document360_connect_request.rb
160
161
  - lib/carbon_ruby_sdk/models/document_response.rb
161
162
  - lib/carbon_ruby_sdk/models/document_response_list.rb
162
163
  - lib/carbon_ruby_sdk/models/email.rb
@@ -467,6 +468,7 @@ files:
467
468
  - spec/models/delete_users_input_spec.rb
468
469
  - spec/models/delete_white_label_request_spec.rb
469
470
  - spec/models/directory_item_spec.rb
471
+ - spec/models/document360_connect_request_spec.rb
470
472
  - spec/models/document_response_list_spec.rb
471
473
  - spec/models/document_response_spec.rb
472
474
  - spec/models/email_spec.rb
@@ -857,6 +859,7 @@ test_files:
857
859
  - spec/models/gitbook_sync_request_spec.rb
858
860
  - spec/models/accounts_request_spec.rb
859
861
  - spec/models/issues_filter_spec.rb
862
+ - spec/models/document360_connect_request_spec.rb
860
863
  - spec/models/embedding_and_chunk_spec.rb
861
864
  - spec/models/embedding_model_spec.rb
862
865
  - spec/models/one_drive_authentication_source_spec.rb