carbon_ruby_sdk 0.1.0 → 0.1.1
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 +4 -4
 - data/Gemfile.lock +1 -1
 - data/README.md +36 -2
 - data/lib/carbon_ruby_sdk/api/integrations_api.rb +111 -8
 - data/lib/carbon_ruby_sdk/models/data_source_type.rb +2 -1
 - data/lib/carbon_ruby_sdk/models/data_source_type_nullable.rb +2 -1
 - data/lib/carbon_ruby_sdk/models/file_formats.rb +2 -1
 - data/lib/carbon_ruby_sdk/models/file_formats_nullable.rb +2 -1
 - data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +38 -5
 - data/lib/carbon_ruby_sdk/models/organization_response.rb +21 -1
 - data/lib/carbon_ruby_sdk/models/s3_file_sync_input.rb +16 -5
 - data/lib/carbon_ruby_sdk/models/sync_files_request.rb +16 -5
 - data/lib/carbon_ruby_sdk/version.rb +1 -1
 - data/spec/api/integrations_api_spec.rb +11 -0
 - data/spec/models/o_auth_url_request_spec.rb +18 -0
 - data/spec/models/organization_response_spec.rb +12 -0
 - data/spec/models/s3_file_sync_input_spec.rb +6 -0
 - data/spec/models/sync_files_request_spec.rb +6 -0
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: b0079046fb886087dd02811d7d0e550a31890f70ff9028e4f058410be329bf3a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 58492681bfb20d468b52e3664b5b9b3c0d51e0899f727a22a90b120fbb7e8ba1
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 17bb4c1f38cbc7da7d15edfaf71266422107be105dbdf1f4d50970ac4ae6da145526b91901e4f2fb0bcd42e5b9285384ba3de9ab5e7edcf124ff7693bde6735d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 030cc1d03e549e6f00ac1dddf6aeefb439ce34af91a7deb6cc6869dbfcf6fffe037be43c8137e911807ca3adadd8b7e32ea6fad6b17d0763c0003f8920ce0e46
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | 
         @@ -6,7 +6,7 @@ 
     | 
|
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            Connect external data to LLMs, no matter the source.
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
            [](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.1.1)
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            </div>
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
         @@ -47,6 +47,7 @@ Connect external data to LLMs, no matter the source. 
     | 
|
| 
       47 
47 
     | 
    
         
             
              * [`carbon.integrations.list_folders`](#carbonintegrationslist_folders)
         
     | 
| 
       48 
48 
     | 
    
         
             
              * [`carbon.integrations.list_gitbook_spaces`](#carbonintegrationslist_gitbook_spaces)
         
     | 
| 
       49 
49 
     | 
    
         
             
              * [`carbon.integrations.list_labels`](#carbonintegrationslist_labels)
         
     | 
| 
      
 50 
     | 
    
         
            +
              * [`carbon.integrations.list_outlook_categories`](#carbonintegrationslist_outlook_categories)
         
     | 
| 
       50 
51 
     | 
    
         
             
              * [`carbon.integrations.sync_confluence`](#carbonintegrationssync_confluence)
         
     | 
| 
       51 
52 
     | 
    
         
             
              * [`carbon.integrations.sync_data_source_items`](#carbonintegrationssync_data_source_items)
         
     | 
| 
       52 
53 
     | 
    
         
             
              * [`carbon.integrations.sync_files`](#carbonintegrationssync_files)
         
     | 
| 
         @@ -75,7 +76,7 @@ Connect external data to LLMs, no matter the source. 
     | 
|
| 
       75 
76 
     | 
    
         
             
            Add to Gemfile:
         
     | 
| 
       76 
77 
     | 
    
         | 
| 
       77 
78 
     | 
    
         
             
            ```ruby
         
     | 
| 
       78 
     | 
    
         
            -
            gem 'carbon_ruby_sdk', '~> 0.1. 
     | 
| 
      
 79 
     | 
    
         
            +
            gem 'carbon_ruby_sdk', '~> 0.1.1'
         
     | 
| 
       79 
80 
     | 
    
         
             
            ```
         
     | 
| 
       80 
81 
     | 
    
         | 
| 
       81 
82 
     | 
    
         
             
            ## Getting Started<a id="getting-started"></a>
         
     | 
| 
         @@ -1251,6 +1252,9 @@ result = carbon.integrations.get_oauth_url( 
     | 
|
| 
       1251 
1252 
     | 
    
         
             
              generate_sparse_vectors: false,
         
     | 
| 
       1252 
1253 
     | 
    
         
             
              prepend_filename_to_chunks: false,
         
     | 
| 
       1253 
1254 
     | 
    
         
             
              max_items_per_chunk: 1,
         
     | 
| 
      
 1255 
     | 
    
         
            +
              salesforce_domain: "string_example",
         
     | 
| 
      
 1256 
     | 
    
         
            +
              sync_files_on_connection: false,
         
     | 
| 
      
 1257 
     | 
    
         
            +
              set_page_as_boundary: false,
         
     | 
| 
       1254 
1258 
     | 
    
         
             
            )
         
     | 
| 
       1255 
1259 
     | 
    
         
             
            p result
         
     | 
| 
       1256 
1260 
     | 
    
         
             
            ```
         
     | 
| 
         @@ -1271,6 +1275,9 @@ p result 
     | 
|
| 
       1271 
1275 
     | 
    
         
             
            ##### generate_sparse_vectors: `Boolean`<a id="generate_sparse_vectors-boolean"></a>
         
     | 
| 
       1272 
1276 
     | 
    
         
             
            ##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
         
     | 
| 
       1273 
1277 
     | 
    
         
             
            ##### max_items_per_chunk: `Integer`<a id="max_items_per_chunk-integer"></a>
         
     | 
| 
      
 1278 
     | 
    
         
            +
            ##### salesforce_domain: `String`<a id="salesforce_domain-string"></a>
         
     | 
| 
      
 1279 
     | 
    
         
            +
            ##### sync_files_on_connection: `Boolean`<a id="sync_files_on_connection-boolean"></a>
         
     | 
| 
      
 1280 
     | 
    
         
            +
            ##### set_page_as_boundary: `Boolean`<a id="set_page_as_boundary-boolean"></a>
         
     | 
| 
       1274 
1281 
     | 
    
         
             
            #### 🌐 Endpoint<a id="🌐-endpoint"></a>
         
     | 
| 
       1275 
1282 
     | 
    
         | 
| 
       1276 
1283 
     | 
    
         
             
            `/integrations/oauth_url` `POST`
         
     | 
| 
         @@ -1420,6 +1427,27 @@ p result 
     | 
|
| 
       1420 
1427 
     | 
    
         
             
            ---
         
     | 
| 
       1421 
1428 
     | 
    
         | 
| 
       1422 
1429 
     | 
    
         | 
| 
      
 1430 
     | 
    
         
            +
            ### `carbon.integrations.list_outlook_categories`<a id="carbonintegrationslist_outlook_categories"></a>
         
     | 
| 
      
 1431 
     | 
    
         
            +
             
     | 
| 
      
 1432 
     | 
    
         
            +
            After connecting your Outlook account, you can use this endpoint to list all of your categories on outlook. We currently
         
     | 
| 
      
 1433 
     | 
    
         
            +
            support listing up to 250 categories.
         
     | 
| 
      
 1434 
     | 
    
         
            +
             
     | 
| 
      
 1435 
     | 
    
         
            +
            #### 🛠️ Usage<a id="🛠️-usage"></a>
         
     | 
| 
      
 1436 
     | 
    
         
            +
             
     | 
| 
      
 1437 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 1438 
     | 
    
         
            +
            result = carbon.integrations.list_outlook_categories
         
     | 
| 
      
 1439 
     | 
    
         
            +
            p result
         
     | 
| 
      
 1440 
     | 
    
         
            +
            ```
         
     | 
| 
      
 1441 
     | 
    
         
            +
             
     | 
| 
      
 1442 
     | 
    
         
            +
            #### 🌐 Endpoint<a id="🌐-endpoint"></a>
         
     | 
| 
      
 1443 
     | 
    
         
            +
             
     | 
| 
      
 1444 
     | 
    
         
            +
            `/integrations/outlook/user_categories` `GET`
         
     | 
| 
      
 1445 
     | 
    
         
            +
             
     | 
| 
      
 1446 
     | 
    
         
            +
            [🔙 **Back to Table of Contents**](#table-of-contents)
         
     | 
| 
      
 1447 
     | 
    
         
            +
             
     | 
| 
      
 1448 
     | 
    
         
            +
            ---
         
     | 
| 
      
 1449 
     | 
    
         
            +
             
     | 
| 
      
 1450 
     | 
    
         
            +
             
     | 
| 
       1423 
1451 
     | 
    
         
             
            ### `carbon.integrations.sync_confluence`<a id="carbonintegrationssync_confluence"></a>
         
     | 
| 
       1424 
1452 
     | 
    
         | 
| 
       1425 
1453 
     | 
    
         
             
            After listing pages in a user's Confluence account, the set of selected page `ids` and the
         
     | 
| 
         @@ -1443,6 +1471,7 @@ result = carbon.integrations.sync_confluence( 
     | 
|
| 
       1443 
1471 
     | 
    
         
             
              generate_sparse_vectors: false,
         
     | 
| 
       1444 
1472 
     | 
    
         
             
              prepend_filename_to_chunks: false,
         
     | 
| 
       1445 
1473 
     | 
    
         
             
              max_items_per_chunk: 1,
         
     | 
| 
      
 1474 
     | 
    
         
            +
              set_page_as_boundary: false,
         
     | 
| 
       1446 
1475 
     | 
    
         
             
            )
         
     | 
| 
       1447 
1476 
     | 
    
         
             
            p result
         
     | 
| 
       1448 
1477 
     | 
    
         
             
            ```
         
     | 
| 
         @@ -1459,6 +1488,7 @@ p result 
     | 
|
| 
       1459 
1488 
     | 
    
         
             
            ##### generate_sparse_vectors: `Boolean`<a id="generate_sparse_vectors-boolean"></a>
         
     | 
| 
       1460 
1489 
     | 
    
         
             
            ##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
         
     | 
| 
       1461 
1490 
     | 
    
         
             
            ##### max_items_per_chunk: `Integer`<a id="max_items_per_chunk-integer"></a>
         
     | 
| 
      
 1491 
     | 
    
         
            +
            ##### set_page_as_boundary: `Boolean`<a id="set_page_as_boundary-boolean"></a>
         
     | 
| 
       1462 
1492 
     | 
    
         
             
            #### 🔄 Return<a id="🔄-return"></a>
         
     | 
| 
       1463 
1493 
     | 
    
         | 
| 
       1464 
1494 
     | 
    
         
             
            [GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
         
     | 
| 
         @@ -1521,6 +1551,7 @@ result = carbon.integrations.sync_files( 
     | 
|
| 
       1521 
1551 
     | 
    
         
             
              generate_sparse_vectors: false,
         
     | 
| 
       1522 
1552 
     | 
    
         
             
              prepend_filename_to_chunks: false,
         
     | 
| 
       1523 
1553 
     | 
    
         
             
              max_items_per_chunk: 1,
         
     | 
| 
      
 1554 
     | 
    
         
            +
              set_page_as_boundary: false,
         
     | 
| 
       1524 
1555 
     | 
    
         
             
            )
         
     | 
| 
       1525 
1556 
     | 
    
         
             
            p result
         
     | 
| 
       1526 
1557 
     | 
    
         
             
            ```
         
     | 
| 
         @@ -1537,6 +1568,7 @@ p result 
     | 
|
| 
       1537 
1568 
     | 
    
         
             
            ##### generate_sparse_vectors: `Boolean`<a id="generate_sparse_vectors-boolean"></a>
         
     | 
| 
       1538 
1569 
     | 
    
         
             
            ##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
         
     | 
| 
       1539 
1570 
     | 
    
         
             
            ##### max_items_per_chunk: `Integer`<a id="max_items_per_chunk-integer"></a>
         
     | 
| 
      
 1571 
     | 
    
         
            +
            ##### set_page_as_boundary: `Boolean`<a id="set_page_as_boundary-boolean"></a>
         
     | 
| 
       1540 
1572 
     | 
    
         
             
            #### 🔄 Return<a id="🔄-return"></a>
         
     | 
| 
       1541 
1573 
     | 
    
         | 
| 
       1542 
1574 
     | 
    
         
             
            [GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
         
     | 
| 
         @@ -1855,6 +1887,7 @@ result = carbon.integrations.sync_s3_files( 
     | 
|
| 
       1855 
1887 
     | 
    
         
             
              generate_sparse_vectors: false,
         
     | 
| 
       1856 
1888 
     | 
    
         
             
              prepend_filename_to_chunks: false,
         
     | 
| 
       1857 
1889 
     | 
    
         
             
              max_items_per_chunk: 1,
         
     | 
| 
      
 1890 
     | 
    
         
            +
              set_page_as_boundary: false,
         
     | 
| 
       1858 
1891 
     | 
    
         
             
            )
         
     | 
| 
       1859 
1892 
     | 
    
         
             
            p result
         
     | 
| 
       1860 
1893 
     | 
    
         
             
            ```
         
     | 
| 
         @@ -1870,6 +1903,7 @@ p result 
     | 
|
| 
       1870 
1903 
     | 
    
         
             
            ##### generate_sparse_vectors: `Boolean`<a id="generate_sparse_vectors-boolean"></a>
         
     | 
| 
       1871 
1904 
     | 
    
         
             
            ##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
         
     | 
| 
       1872 
1905 
     | 
    
         
             
            ##### max_items_per_chunk: `Integer`<a id="max_items_per_chunk-integer"></a>
         
     | 
| 
      
 1906 
     | 
    
         
            +
            ##### set_page_as_boundary: `Boolean`<a id="set_page_as_boundary-boolean"></a>
         
     | 
| 
       1873 
1907 
     | 
    
         
             
            #### 🔄 Return<a id="🔄-return"></a>
         
     | 
| 
       1874 
1908 
     | 
    
         | 
| 
       1875 
1909 
     | 
    
         
             
            [GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
         
     | 
| 
         @@ -392,9 +392,12 @@ module Carbon 
     | 
|
| 
       392 
392 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       393 
393 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       394 
394 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 395 
     | 
    
         
            +
                # @param salesforce_domain [String] 
         
     | 
| 
      
 396 
     | 
    
         
            +
                # @param sync_files_on_connection [Boolean] 
         
     | 
| 
      
 397 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       395 
398 
     | 
    
         
             
                # @param body [OAuthURLRequest] 
         
     | 
| 
       396 
399 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       397 
     | 
    
         
            -
                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, extra: {})
         
     | 
| 
      
 400 
     | 
    
         
            +
                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: false, set_page_as_boundary: false, extra: {})
         
     | 
| 
       398 
401 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       399 
402 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       400 
403 
     | 
    
         
             
                  _body[:scope] = scope if scope != SENTINEL
         
     | 
| 
         @@ -410,6 +413,9 @@ module Carbon 
     | 
|
| 
       410 
413 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       411 
414 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       412 
415 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 416 
     | 
    
         
            +
                  _body[:salesforce_domain] = salesforce_domain if salesforce_domain != SENTINEL
         
     | 
| 
      
 417 
     | 
    
         
            +
                  _body[:sync_files_on_connection] = sync_files_on_connection if sync_files_on_connection != SENTINEL
         
     | 
| 
      
 418 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       413 
419 
     | 
    
         
             
                  o_auth_url_request = _body
         
     | 
| 
       414 
420 
     | 
    
         
             
                  api_response = get_oauth_url_with_http_info_impl(o_auth_url_request, extra)
         
     | 
| 
       415 
421 
     | 
    
         
             
                  api_response.data
         
     | 
| 
         @@ -431,9 +437,12 @@ module Carbon 
     | 
|
| 
       431 
437 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       432 
438 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       433 
439 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 440 
     | 
    
         
            +
                # @param salesforce_domain [String] 
         
     | 
| 
      
 441 
     | 
    
         
            +
                # @param sync_files_on_connection [Boolean] 
         
     | 
| 
      
 442 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       434 
443 
     | 
    
         
             
                # @param body [OAuthURLRequest] 
         
     | 
| 
       435 
444 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       436 
     | 
    
         
            -
                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, extra: {})
         
     | 
| 
      
 445 
     | 
    
         
            +
                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: false, set_page_as_boundary: false, extra: {})
         
     | 
| 
       437 
446 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       438 
447 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       439 
448 
     | 
    
         
             
                  _body[:scope] = scope if scope != SENTINEL
         
     | 
| 
         @@ -449,6 +458,9 @@ module Carbon 
     | 
|
| 
       449 
458 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       450 
459 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       451 
460 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 461 
     | 
    
         
            +
                  _body[:salesforce_domain] = salesforce_domain if salesforce_domain != SENTINEL
         
     | 
| 
      
 462 
     | 
    
         
            +
                  _body[:sync_files_on_connection] = sync_files_on_connection if sync_files_on_connection != SENTINEL
         
     | 
| 
      
 463 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       452 
464 
     | 
    
         
             
                  o_auth_url_request = _body
         
     | 
| 
       453 
465 
     | 
    
         
             
                  get_oauth_url_with_http_info_impl(o_auth_url_request, extra)
         
     | 
| 
       454 
466 
     | 
    
         
             
                end
         
     | 
| 
         @@ -978,6 +990,85 @@ module Carbon 
     | 
|
| 
       978 
990 
     | 
    
         
             
                end
         
     | 
| 
       979 
991 
     | 
    
         | 
| 
       980 
992 
     | 
    
         | 
| 
      
 993 
     | 
    
         
            +
                # Outlook Categories
         
     | 
| 
      
 994 
     | 
    
         
            +
                #
         
     | 
| 
      
 995 
     | 
    
         
            +
                # After connecting your Outlook account, you can use this endpoint to list all of your categories on outlook. We currently
         
     | 
| 
      
 996 
     | 
    
         
            +
                # support listing up to 250 categories.
         
     | 
| 
      
 997 
     | 
    
         
            +
                #
         
     | 
| 
      
 998 
     | 
    
         
            +
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
      
 999 
     | 
    
         
            +
                def list_outlook_categories(extra: {})
         
     | 
| 
      
 1000 
     | 
    
         
            +
                  api_response = list_outlook_categories_with_http_info_impl(extra)
         
     | 
| 
      
 1001 
     | 
    
         
            +
                  api_response.data
         
     | 
| 
      
 1002 
     | 
    
         
            +
                end
         
     | 
| 
      
 1003 
     | 
    
         
            +
             
     | 
| 
      
 1004 
     | 
    
         
            +
                # Outlook Categories
         
     | 
| 
      
 1005 
     | 
    
         
            +
                #
         
     | 
| 
      
 1006 
     | 
    
         
            +
                # After connecting your Outlook account, you can use this endpoint to list all of your categories on outlook. We currently
         
     | 
| 
      
 1007 
     | 
    
         
            +
                # support listing up to 250 categories.
         
     | 
| 
      
 1008 
     | 
    
         
            +
                #
         
     | 
| 
      
 1009 
     | 
    
         
            +
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
      
 1010 
     | 
    
         
            +
                def list_outlook_categories_with_http_info(extra: {})
         
     | 
| 
      
 1011 
     | 
    
         
            +
                  list_outlook_categories_with_http_info_impl(extra)
         
     | 
| 
      
 1012 
     | 
    
         
            +
                end
         
     | 
| 
      
 1013 
     | 
    
         
            +
             
     | 
| 
      
 1014 
     | 
    
         
            +
                # Outlook Categories
         
     | 
| 
      
 1015 
     | 
    
         
            +
                # After connecting your Outlook account, you can use this endpoint to list all of your categories on outlook. We currently support listing up to 250 categories.
         
     | 
| 
      
 1016 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1017 
     | 
    
         
            +
                # @return [Object]
         
     | 
| 
      
 1018 
     | 
    
         
            +
                private def list_outlook_categories_impl(opts = {})
         
     | 
| 
      
 1019 
     | 
    
         
            +
                  data, _status_code, _headers = list_outlook_categories_with_http_info(opts)
         
     | 
| 
      
 1020 
     | 
    
         
            +
                  data
         
     | 
| 
      
 1021 
     | 
    
         
            +
                end
         
     | 
| 
      
 1022 
     | 
    
         
            +
             
     | 
| 
      
 1023 
     | 
    
         
            +
                # Outlook Categories
         
     | 
| 
      
 1024 
     | 
    
         
            +
                # After connecting your Outlook account, you can use this endpoint to list all of your categories on outlook. We currently support listing up to 250 categories.
         
     | 
| 
      
 1025 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1026 
     | 
    
         
            +
                # @return [APIResponse] data is Object, status code, headers and response
         
     | 
| 
      
 1027 
     | 
    
         
            +
                private def list_outlook_categories_with_http_info_impl(opts = {})
         
     | 
| 
      
 1028 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1029 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: IntegrationsApi.list_outlook_categories ...'
         
     | 
| 
      
 1030 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1031 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 1032 
     | 
    
         
            +
                  local_var_path = '/integrations/outlook/user_categories'
         
     | 
| 
      
 1033 
     | 
    
         
            +
             
     | 
| 
      
 1034 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 1035 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 1036 
     | 
    
         
            +
             
     | 
| 
      
 1037 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 1038 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 1039 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 1040 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         
     | 
| 
      
 1041 
     | 
    
         
            +
             
     | 
| 
      
 1042 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 1043 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 1044 
     | 
    
         
            +
             
     | 
| 
      
 1045 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 1046 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 1047 
     | 
    
         
            +
             
     | 
| 
      
 1048 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 1049 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || 'Object'
         
     | 
| 
      
 1050 
     | 
    
         
            +
             
     | 
| 
      
 1051 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 1052 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['accessToken', 'apiKey', 'customerId']
         
     | 
| 
      
 1053 
     | 
    
         
            +
             
     | 
| 
      
 1054 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 1055 
     | 
    
         
            +
                    :operation => :"IntegrationsApi.list_outlook_categories",
         
     | 
| 
      
 1056 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 1057 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 1058 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 1059 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 1060 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 1061 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 1062 
     | 
    
         
            +
                  )
         
     | 
| 
      
 1063 
     | 
    
         
            +
             
     | 
| 
      
 1064 
     | 
    
         
            +
                  data, status_code, headers, response = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 1065 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1066 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: IntegrationsApi#list_outlook_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 1067 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1068 
     | 
    
         
            +
                  APIResponse::new(data, status_code, headers, response)
         
     | 
| 
      
 1069 
     | 
    
         
            +
                end
         
     | 
| 
      
 1070 
     | 
    
         
            +
             
     | 
| 
      
 1071 
     | 
    
         
            +
             
     | 
| 
       981 
1072 
     | 
    
         
             
                # Confluence Sync
         
     | 
| 
       982 
1073 
     | 
    
         
             
                #
         
     | 
| 
       983 
1074 
     | 
    
         
             
                # After listing pages in a user's Confluence account, the set of selected page `ids` and the
         
     | 
| 
         @@ -995,9 +1086,10 @@ module Carbon 
     | 
|
| 
       995 
1086 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       996 
1087 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       997 
1088 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 1089 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       998 
1090 
     | 
    
         
             
                # @param body [SyncFilesRequest] 
         
     | 
| 
       999 
1091 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       1000 
     | 
    
         
            -
                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, extra: {})
         
     | 
| 
      
 1092 
     | 
    
         
            +
                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, extra: {})
         
     | 
| 
       1001 
1093 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       1002 
1094 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       1003 
1095 
     | 
    
         
             
                  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
         
     | 
| 
         @@ -1009,6 +1101,7 @@ module Carbon 
     | 
|
| 
       1009 
1101 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       1010 
1102 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       1011 
1103 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 1104 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       1012 
1105 
     | 
    
         
             
                  sync_files_request = _body
         
     | 
| 
       1013 
1106 
     | 
    
         
             
                  api_response = sync_confluence_with_http_info_impl(sync_files_request, extra)
         
     | 
| 
       1014 
1107 
     | 
    
         
             
                  api_response.data
         
     | 
| 
         @@ -1031,9 +1124,10 @@ module Carbon 
     | 
|
| 
       1031 
1124 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       1032 
1125 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       1033 
1126 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 1127 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       1034 
1128 
     | 
    
         
             
                # @param body [SyncFilesRequest] 
         
     | 
| 
       1035 
1129 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       1036 
     | 
    
         
            -
                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, extra: {})
         
     | 
| 
      
 1130 
     | 
    
         
            +
                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, extra: {})
         
     | 
| 
       1037 
1131 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       1038 
1132 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       1039 
1133 
     | 
    
         
             
                  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
         
     | 
| 
         @@ -1045,6 +1139,7 @@ module Carbon 
     | 
|
| 
       1045 
1139 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       1046 
1140 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       1047 
1141 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 1142 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       1048 
1143 
     | 
    
         
             
                  sync_files_request = _body
         
     | 
| 
       1049 
1144 
     | 
    
         
             
                  sync_confluence_with_http_info_impl(sync_files_request, extra)
         
     | 
| 
       1050 
1145 
     | 
    
         
             
                end
         
     | 
| 
         @@ -1222,9 +1317,10 @@ module Carbon 
     | 
|
| 
       1222 
1317 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       1223 
1318 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       1224 
1319 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 1320 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       1225 
1321 
     | 
    
         
             
                # @param body [SyncFilesRequest] 
         
     | 
| 
       1226 
1322 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       1227 
     | 
    
         
            -
                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, extra: {})
         
     | 
| 
      
 1323 
     | 
    
         
            +
                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, extra: {})
         
     | 
| 
       1228 
1324 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       1229 
1325 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       1230 
1326 
     | 
    
         
             
                  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
         
     | 
| 
         @@ -1236,6 +1332,7 @@ module Carbon 
     | 
|
| 
       1236 
1332 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       1237 
1333 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       1238 
1334 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 1335 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       1239 
1336 
     | 
    
         
             
                  sync_files_request = _body
         
     | 
| 
       1240 
1337 
     | 
    
         
             
                  api_response = sync_files_with_http_info_impl(sync_files_request, extra)
         
     | 
| 
       1241 
1338 
     | 
    
         
             
                  api_response.data
         
     | 
| 
         @@ -1253,9 +1350,10 @@ module Carbon 
     | 
|
| 
       1253 
1350 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       1254 
1351 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       1255 
1352 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 1353 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       1256 
1354 
     | 
    
         
             
                # @param body [SyncFilesRequest] 
         
     | 
| 
       1257 
1355 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       1258 
     | 
    
         
            -
                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, extra: {})
         
     | 
| 
      
 1356 
     | 
    
         
            +
                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, extra: {})
         
     | 
| 
       1259 
1357 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       1260 
1358 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       1261 
1359 
     | 
    
         
             
                  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
         
     | 
| 
         @@ -1267,6 +1365,7 @@ module Carbon 
     | 
|
| 
       1267 
1365 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       1268 
1366 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       1269 
1367 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 1368 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       1270 
1369 
     | 
    
         
             
                  sync_files_request = _body
         
     | 
| 
       1271 
1370 
     | 
    
         
             
                  sync_files_with_http_info_impl(sync_files_request, extra)
         
     | 
| 
       1272 
1371 
     | 
    
         
             
                end
         
     | 
| 
         @@ -2077,9 +2176,10 @@ module Carbon 
     | 
|
| 
       2077 
2176 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       2078 
2177 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       2079 
2178 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 2179 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       2080 
2180 
     | 
    
         
             
                # @param body [S3FileSyncInput] 
         
     | 
| 
       2081 
2181 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       2082 
     | 
    
         
            -
                def sync_s3_files(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, extra: {})
         
     | 
| 
      
 2182 
     | 
    
         
            +
                def sync_s3_files(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, extra: {})
         
     | 
| 
       2083 
2183 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       2084 
2184 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       2085 
2185 
     | 
    
         
             
                  _body[:ids] = ids if ids != SENTINEL
         
     | 
| 
         @@ -2090,6 +2190,7 @@ module Carbon 
     | 
|
| 
       2090 
2190 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       2091 
2191 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       2092 
2192 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 2193 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       2093 
2194 
     | 
    
         
             
                  s3_file_sync_input = _body
         
     | 
| 
       2094 
2195 
     | 
    
         
             
                  api_response = sync_s3_files_with_http_info_impl(s3_file_sync_input, extra)
         
     | 
| 
       2095 
2196 
     | 
    
         
             
                  api_response.data
         
     | 
| 
         @@ -2110,9 +2211,10 @@ module Carbon 
     | 
|
| 
       2110 
2211 
     | 
    
         
             
                # @param generate_sparse_vectors [Boolean] 
         
     | 
| 
       2111 
2212 
     | 
    
         
             
                # @param prepend_filename_to_chunks [Boolean] 
         
     | 
| 
       2112 
2213 
     | 
    
         
             
                # @param max_items_per_chunk [Integer] 
         
     | 
| 
      
 2214 
     | 
    
         
            +
                # @param set_page_as_boundary [Boolean] 
         
     | 
| 
       2113 
2215 
     | 
    
         
             
                # @param body [S3FileSyncInput] 
         
     | 
| 
       2114 
2216 
     | 
    
         
             
                # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
         
     | 
| 
       2115 
     | 
    
         
            -
                def sync_s3_files_with_http_info(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, extra: {})
         
     | 
| 
      
 2217 
     | 
    
         
            +
                def sync_s3_files_with_http_info(ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, extra: {})
         
     | 
| 
       2116 
2218 
     | 
    
         
             
                  _body = {}
         
     | 
| 
       2117 
2219 
     | 
    
         
             
                  _body[:tags] = tags if tags != SENTINEL
         
     | 
| 
       2118 
2220 
     | 
    
         
             
                  _body[:ids] = ids if ids != SENTINEL
         
     | 
| 
         @@ -2123,6 +2225,7 @@ module Carbon 
     | 
|
| 
       2123 
2225 
     | 
    
         
             
                  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
         
     | 
| 
       2124 
2226 
     | 
    
         
             
                  _body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
         
     | 
| 
       2125 
2227 
     | 
    
         
             
                  _body[:max_items_per_chunk] = max_items_per_chunk if max_items_per_chunk != SENTINEL
         
     | 
| 
      
 2228 
     | 
    
         
            +
                  _body[:set_page_as_boundary] = set_page_as_boundary if set_page_as_boundary != SENTINEL
         
     | 
| 
       2126 
2229 
     | 
    
         
             
                  s3_file_sync_input = _body
         
     | 
| 
       2127 
2230 
     | 
    
         
             
                  sync_s3_files_with_http_info_impl(s3_file_sync_input, extra)
         
     | 
| 
       2128 
2231 
     | 
    
         
             
                end
         
     | 
| 
         @@ -40,6 +40,7 @@ module Carbon 
     | 
|
| 
       40 
40 
     | 
    
         
             
                RSS_FEED = "RSS_FEED".freeze
         
     | 
| 
       41 
41 
     | 
    
         
             
                FRESHDESK = "FRESHDESK".freeze
         
     | 
| 
       42 
42 
     | 
    
         
             
                GITBOOK = "GITBOOK".freeze
         
     | 
| 
      
 43 
     | 
    
         
            +
                SALESFORCE = "SALESFORCE".freeze
         
     | 
| 
       43 
44 
     | 
    
         
             
                JPG = "JPG".freeze
         
     | 
| 
       44 
45 
     | 
    
         
             
                PNG = "PNG".freeze
         
     | 
| 
       45 
46 
     | 
    
         
             
                MP3 = "MP3".freeze
         
     | 
| 
         @@ -55,7 +56,7 @@ module Carbon 
     | 
|
| 
       55 
56 
     | 
    
         
             
                WEBM = "WEBM".freeze
         
     | 
| 
       56 
57 
     | 
    
         | 
| 
       57 
58 
     | 
    
         
             
                def self.all_vars
         
     | 
| 
       58 
     | 
    
         
            -
                  @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, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
      
 59 
     | 
    
         
            +
                  @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, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
       59 
60 
     | 
    
         
             
                end
         
     | 
| 
       60 
61 
     | 
    
         | 
| 
       61 
62 
     | 
    
         
             
                # Builds the enum from string
         
     | 
| 
         @@ -40,6 +40,7 @@ module Carbon 
     | 
|
| 
       40 
40 
     | 
    
         
             
                RSS_FEED = "RSS_FEED".freeze
         
     | 
| 
       41 
41 
     | 
    
         
             
                FRESHDESK = "FRESHDESK".freeze
         
     | 
| 
       42 
42 
     | 
    
         
             
                GITBOOK = "GITBOOK".freeze
         
     | 
| 
      
 43 
     | 
    
         
            +
                SALESFORCE = "SALESFORCE".freeze
         
     | 
| 
       43 
44 
     | 
    
         
             
                JPG = "JPG".freeze
         
     | 
| 
       44 
45 
     | 
    
         
             
                PNG = "PNG".freeze
         
     | 
| 
       45 
46 
     | 
    
         
             
                MP3 = "MP3".freeze
         
     | 
| 
         @@ -55,7 +56,7 @@ module Carbon 
     | 
|
| 
       55 
56 
     | 
    
         
             
                WEBM = "WEBM".freeze
         
     | 
| 
       56 
57 
     | 
    
         | 
| 
       57 
58 
     | 
    
         
             
                def self.all_vars
         
     | 
| 
       58 
     | 
    
         
            -
                  @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, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
      
 59 
     | 
    
         
            +
                  @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, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
       59 
60 
     | 
    
         
             
                end
         
     | 
| 
       60 
61 
     | 
    
         | 
| 
       61 
62 
     | 
    
         
             
                # Builds the enum from string
         
     | 
| 
         @@ -39,6 +39,7 @@ module Carbon 
     | 
|
| 
       39 
39 
     | 
    
         
             
                FRESHDESK = "FRESHDESK".freeze
         
     | 
| 
       40 
40 
     | 
    
         
             
                WEB_SCRAPE = "WEB_SCRAPE".freeze
         
     | 
| 
       41 
41 
     | 
    
         
             
                GITBOOK = "GITBOOK".freeze
         
     | 
| 
      
 42 
     | 
    
         
            +
                SALESFORCE = "SALESFORCE".freeze
         
     | 
| 
       42 
43 
     | 
    
         
             
                JPG = "JPG".freeze
         
     | 
| 
       43 
44 
     | 
    
         
             
                JPG = "JPG".freeze
         
     | 
| 
       44 
45 
     | 
    
         
             
                PNG = "PNG".freeze
         
     | 
| 
         @@ -55,7 +56,7 @@ module Carbon 
     | 
|
| 
       55 
56 
     | 
    
         
             
                WEBM = "WEBM".freeze
         
     | 
| 
       56 
57 
     | 
    
         | 
| 
       57 
58 
     | 
    
         
             
                def self.all_vars
         
     | 
| 
       58 
     | 
    
         
            -
                  @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION, GOOGLE_DRIVE, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, BOX, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, JPG, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
      
 59 
     | 
    
         
            +
                  @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION, GOOGLE_DRIVE, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, BOX, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, JPG, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
       59 
60 
     | 
    
         
             
                end
         
     | 
| 
       60 
61 
     | 
    
         | 
| 
       61 
62 
     | 
    
         
             
                # Builds the enum from string
         
     | 
| 
         @@ -39,6 +39,7 @@ module Carbon 
     | 
|
| 
       39 
39 
     | 
    
         
             
                FRESHDESK = "FRESHDESK".freeze
         
     | 
| 
       40 
40 
     | 
    
         
             
                WEB_SCRAPE = "WEB_SCRAPE".freeze
         
     | 
| 
       41 
41 
     | 
    
         
             
                GITBOOK = "GITBOOK".freeze
         
     | 
| 
      
 42 
     | 
    
         
            +
                SALESFORCE = "SALESFORCE".freeze
         
     | 
| 
       42 
43 
     | 
    
         
             
                JPG = "JPG".freeze
         
     | 
| 
       43 
44 
     | 
    
         
             
                JPG = "JPG".freeze
         
     | 
| 
       44 
45 
     | 
    
         
             
                PNG = "PNG".freeze
         
     | 
| 
         @@ -55,7 +56,7 @@ module Carbon 
     | 
|
| 
       55 
56 
     | 
    
         
             
                WEBM = "WEBM".freeze
         
     | 
| 
       56 
57 
     | 
    
         | 
| 
       57 
58 
     | 
    
         
             
                def self.all_vars
         
     | 
| 
       58 
     | 
    
         
            -
                  @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION, GOOGLE_DRIVE, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, BOX, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, JPG, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
      
 59 
     | 
    
         
            +
                  @all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION, GOOGLE_DRIVE, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, BOX, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, JPG, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
         
     | 
| 
       59 
60 
     | 
    
         
             
                end
         
     | 
| 
       60 
61 
     | 
    
         | 
| 
       61 
62 
     | 
    
         
             
                # Builds the enum from string
         
     | 
| 
         @@ -39,6 +39,12 @@ module Carbon 
     | 
|
| 
       39 
39 
     | 
    
         | 
| 
       40 
40 
     | 
    
         
             
                attr_accessor :max_items_per_chunk
         
     | 
| 
       41 
41 
     | 
    
         | 
| 
      
 42 
     | 
    
         
            +
                attr_accessor :salesforce_domain
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
                attr_accessor :sync_files_on_connection
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
                attr_accessor :set_page_as_boundary
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
       42 
48 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       43 
49 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       44 
50 
     | 
    
         
             
                  {
         
     | 
| 
         @@ -55,7 +61,10 @@ module Carbon 
     | 
|
| 
       55 
61 
     | 
    
         
             
                    :'confluence_subdomain' => :'confluence_subdomain',
         
     | 
| 
       56 
62 
     | 
    
         
             
                    :'generate_sparse_vectors' => :'generate_sparse_vectors',
         
     | 
| 
       57 
63 
     | 
    
         
             
                    :'prepend_filename_to_chunks' => :'prepend_filename_to_chunks',
         
     | 
| 
       58 
     | 
    
         
            -
                    :'max_items_per_chunk' => :'max_items_per_chunk'
         
     | 
| 
      
 64 
     | 
    
         
            +
                    :'max_items_per_chunk' => :'max_items_per_chunk',
         
     | 
| 
      
 65 
     | 
    
         
            +
                    :'salesforce_domain' => :'salesforce_domain',
         
     | 
| 
      
 66 
     | 
    
         
            +
                    :'sync_files_on_connection' => :'sync_files_on_connection',
         
     | 
| 
      
 67 
     | 
    
         
            +
                    :'set_page_as_boundary' => :'set_page_as_boundary'
         
     | 
| 
       59 
68 
     | 
    
         
             
                  }
         
     | 
| 
       60 
69 
     | 
    
         
             
                end
         
     | 
| 
       61 
70 
     | 
    
         | 
| 
         @@ -80,7 +89,10 @@ module Carbon 
     | 
|
| 
       80 
89 
     | 
    
         
             
                    :'confluence_subdomain' => :'String',
         
     | 
| 
       81 
90 
     | 
    
         
             
                    :'generate_sparse_vectors' => :'Boolean',
         
     | 
| 
       82 
91 
     | 
    
         
             
                    :'prepend_filename_to_chunks' => :'Boolean',
         
     | 
| 
       83 
     | 
    
         
            -
                    :'max_items_per_chunk' => :'Integer'
         
     | 
| 
      
 92 
     | 
    
         
            +
                    :'max_items_per_chunk' => :'Integer',
         
     | 
| 
      
 93 
     | 
    
         
            +
                    :'salesforce_domain' => :'String',
         
     | 
| 
      
 94 
     | 
    
         
            +
                    :'sync_files_on_connection' => :'Boolean',
         
     | 
| 
      
 95 
     | 
    
         
            +
                    :'set_page_as_boundary' => :'Boolean'
         
     | 
| 
       84 
96 
     | 
    
         
             
                  }
         
     | 
| 
       85 
97 
     | 
    
         
             
                end
         
     | 
| 
       86 
98 
     | 
    
         | 
| 
         @@ -99,7 +111,9 @@ module Carbon 
     | 
|
| 
       99 
111 
     | 
    
         
             
                    :'confluence_subdomain',
         
     | 
| 
       100 
112 
     | 
    
         
             
                    :'generate_sparse_vectors',
         
     | 
| 
       101 
113 
     | 
    
         
             
                    :'prepend_filename_to_chunks',
         
     | 
| 
       102 
     | 
    
         
            -
                    :'max_items_per_chunk'
         
     | 
| 
      
 114 
     | 
    
         
            +
                    :'max_items_per_chunk',
         
     | 
| 
      
 115 
     | 
    
         
            +
                    :'salesforce_domain',
         
     | 
| 
      
 116 
     | 
    
         
            +
                    :'sync_files_on_connection',
         
     | 
| 
       103 
117 
     | 
    
         
             
                  ])
         
     | 
| 
       104 
118 
     | 
    
         
             
                end
         
     | 
| 
       105 
119 
     | 
    
         | 
| 
         @@ -185,6 +199,22 @@ module Carbon 
     | 
|
| 
       185 
199 
     | 
    
         
             
                  if attributes.key?(:'max_items_per_chunk')
         
     | 
| 
       186 
200 
     | 
    
         
             
                    self.max_items_per_chunk = attributes[:'max_items_per_chunk']
         
     | 
| 
       187 
201 
     | 
    
         
             
                  end
         
     | 
| 
      
 202 
     | 
    
         
            +
             
     | 
| 
      
 203 
     | 
    
         
            +
                  if attributes.key?(:'salesforce_domain')
         
     | 
| 
      
 204 
     | 
    
         
            +
                    self.salesforce_domain = attributes[:'salesforce_domain']
         
     | 
| 
      
 205 
     | 
    
         
            +
                  end
         
     | 
| 
      
 206 
     | 
    
         
            +
             
     | 
| 
      
 207 
     | 
    
         
            +
                  if attributes.key?(:'sync_files_on_connection')
         
     | 
| 
      
 208 
     | 
    
         
            +
                    self.sync_files_on_connection = attributes[:'sync_files_on_connection']
         
     | 
| 
      
 209 
     | 
    
         
            +
                  else
         
     | 
| 
      
 210 
     | 
    
         
            +
                    self.sync_files_on_connection = false
         
     | 
| 
      
 211 
     | 
    
         
            +
                  end
         
     | 
| 
      
 212 
     | 
    
         
            +
             
     | 
| 
      
 213 
     | 
    
         
            +
                  if attributes.key?(:'set_page_as_boundary')
         
     | 
| 
      
 214 
     | 
    
         
            +
                    self.set_page_as_boundary = attributes[:'set_page_as_boundary']
         
     | 
| 
      
 215 
     | 
    
         
            +
                  else
         
     | 
| 
      
 216 
     | 
    
         
            +
                    self.set_page_as_boundary = false
         
     | 
| 
      
 217 
     | 
    
         
            +
                  end
         
     | 
| 
       188 
218 
     | 
    
         
             
                end
         
     | 
| 
       189 
219 
     | 
    
         | 
| 
       190 
220 
     | 
    
         
             
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -223,7 +253,10 @@ module Carbon 
     | 
|
| 
       223 
253 
     | 
    
         
             
                      confluence_subdomain == o.confluence_subdomain &&
         
     | 
| 
       224 
254 
     | 
    
         
             
                      generate_sparse_vectors == o.generate_sparse_vectors &&
         
     | 
| 
       225 
255 
     | 
    
         
             
                      prepend_filename_to_chunks == o.prepend_filename_to_chunks &&
         
     | 
| 
       226 
     | 
    
         
            -
                      max_items_per_chunk == o.max_items_per_chunk
         
     | 
| 
      
 256 
     | 
    
         
            +
                      max_items_per_chunk == o.max_items_per_chunk &&
         
     | 
| 
      
 257 
     | 
    
         
            +
                      salesforce_domain == o.salesforce_domain &&
         
     | 
| 
      
 258 
     | 
    
         
            +
                      sync_files_on_connection == o.sync_files_on_connection &&
         
     | 
| 
      
 259 
     | 
    
         
            +
                      set_page_as_boundary == o.set_page_as_boundary
         
     | 
| 
       227 
260 
     | 
    
         
             
                end
         
     | 
| 
       228 
261 
     | 
    
         | 
| 
       229 
262 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -235,7 +268,7 @@ module Carbon 
     | 
|
| 
       235 
268 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       236 
269 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       237 
270 
     | 
    
         
             
                def hash
         
     | 
| 
       238 
     | 
    
         
            -
                  [tags, scope, service, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, zendesk_subdomain, microsoft_tenant, sharepoint_site_name, confluence_subdomain, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk].hash
         
     | 
| 
      
 271 
     | 
    
         
            +
                  [tags, scope, service, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, zendesk_subdomain, microsoft_tenant, sharepoint_site_name, confluence_subdomain, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk, salesforce_domain, sync_files_on_connection, set_page_as_boundary].hash
         
     | 
| 
       239 
272 
     | 
    
         
             
                end
         
     | 
| 
       240 
273 
     | 
    
         | 
| 
       241 
274 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -31,6 +31,10 @@ module Carbon 
     | 
|
| 
       31 
31 
     | 
    
         | 
| 
       32 
32 
     | 
    
         
             
                attr_accessor :aggregate_num_embeddings
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
      
 34 
     | 
    
         
            +
                attr_accessor :period_ends_at
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                attr_accessor :cancel_at_period_end
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
       34 
38 
     | 
    
         
             
                attr_accessor :created_at
         
     | 
| 
       35 
39 
     | 
    
         | 
| 
       36 
40 
     | 
    
         
             
                attr_accessor :updated_at
         
     | 
| 
         @@ -48,6 +52,8 @@ module Carbon 
     | 
|
| 
       48 
52 
     | 
    
         
             
                    :'aggregate_num_characters' => :'aggregate_num_characters',
         
     | 
| 
       49 
53 
     | 
    
         
             
                    :'aggregate_num_tokens' => :'aggregate_num_tokens',
         
     | 
| 
       50 
54 
     | 
    
         
             
                    :'aggregate_num_embeddings' => :'aggregate_num_embeddings',
         
     | 
| 
      
 55 
     | 
    
         
            +
                    :'period_ends_at' => :'period_ends_at',
         
     | 
| 
      
 56 
     | 
    
         
            +
                    :'cancel_at_period_end' => :'cancel_at_period_end',
         
     | 
| 
       51 
57 
     | 
    
         
             
                    :'created_at' => :'created_at',
         
     | 
| 
       52 
58 
     | 
    
         
             
                    :'updated_at' => :'updated_at'
         
     | 
| 
       53 
59 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -71,6 +77,8 @@ module Carbon 
     | 
|
| 
       71 
77 
     | 
    
         
             
                    :'aggregate_num_characters' => :'Object',
         
     | 
| 
       72 
78 
     | 
    
         
             
                    :'aggregate_num_tokens' => :'Object',
         
     | 
| 
       73 
79 
     | 
    
         
             
                    :'aggregate_num_embeddings' => :'Object',
         
     | 
| 
      
 80 
     | 
    
         
            +
                    :'period_ends_at' => :'Time',
         
     | 
| 
      
 81 
     | 
    
         
            +
                    :'cancel_at_period_end' => :'Boolean',
         
     | 
| 
       74 
82 
     | 
    
         
             
                    :'created_at' => :'Time',
         
     | 
| 
       75 
83 
     | 
    
         
             
                    :'updated_at' => :'Time'
         
     | 
| 
       76 
84 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -82,6 +90,8 @@ module Carbon 
     | 
|
| 
       82 
90 
     | 
    
         
             
                    :'nickname',
         
     | 
| 
       83 
91 
     | 
    
         
             
                    :'custom_branding',
         
     | 
| 
       84 
92 
     | 
    
         
             
                    :'custom_limits',
         
     | 
| 
      
 93 
     | 
    
         
            +
                    :'period_ends_at',
         
     | 
| 
      
 94 
     | 
    
         
            +
                    :'cancel_at_period_end',
         
     | 
| 
       85 
95 
     | 
    
         
             
                  ])
         
     | 
| 
       86 
96 
     | 
    
         
             
                end
         
     | 
| 
       87 
97 
     | 
    
         | 
| 
         @@ -140,6 +150,14 @@ module Carbon 
     | 
|
| 
       140 
150 
     | 
    
         
             
                    self.aggregate_num_embeddings = attributes[:'aggregate_num_embeddings']
         
     | 
| 
       141 
151 
     | 
    
         
             
                  end
         
     | 
| 
       142 
152 
     | 
    
         | 
| 
      
 153 
     | 
    
         
            +
                  if attributes.key?(:'period_ends_at')
         
     | 
| 
      
 154 
     | 
    
         
            +
                    self.period_ends_at = attributes[:'period_ends_at']
         
     | 
| 
      
 155 
     | 
    
         
            +
                  end
         
     | 
| 
      
 156 
     | 
    
         
            +
             
     | 
| 
      
 157 
     | 
    
         
            +
                  if attributes.key?(:'cancel_at_period_end')
         
     | 
| 
      
 158 
     | 
    
         
            +
                    self.cancel_at_period_end = attributes[:'cancel_at_period_end']
         
     | 
| 
      
 159 
     | 
    
         
            +
                  end
         
     | 
| 
      
 160 
     | 
    
         
            +
             
     | 
| 
       143 
161 
     | 
    
         
             
                  if attributes.key?(:'created_at')
         
     | 
| 
       144 
162 
     | 
    
         
             
                    self.created_at = attributes[:'created_at']
         
     | 
| 
       145 
163 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -222,6 +240,8 @@ module Carbon 
     | 
|
| 
       222 
240 
     | 
    
         
             
                      aggregate_num_characters == o.aggregate_num_characters &&
         
     | 
| 
       223 
241 
     | 
    
         
             
                      aggregate_num_tokens == o.aggregate_num_tokens &&
         
     | 
| 
       224 
242 
     | 
    
         
             
                      aggregate_num_embeddings == o.aggregate_num_embeddings &&
         
     | 
| 
      
 243 
     | 
    
         
            +
                      period_ends_at == o.period_ends_at &&
         
     | 
| 
      
 244 
     | 
    
         
            +
                      cancel_at_period_end == o.cancel_at_period_end &&
         
     | 
| 
       225 
245 
     | 
    
         
             
                      created_at == o.created_at &&
         
     | 
| 
       226 
246 
     | 
    
         
             
                      updated_at == o.updated_at
         
     | 
| 
       227 
247 
     | 
    
         
             
                end
         
     | 
| 
         @@ -235,7 +255,7 @@ module Carbon 
     | 
|
| 
       235 
255 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       236 
256 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       237 
257 
     | 
    
         
             
                def hash
         
     | 
| 
       238 
     | 
    
         
            -
                  [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, created_at, updated_at].hash
         
     | 
| 
      
 258 
     | 
    
         
            +
                  [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, period_ends_at, cancel_at_period_end, created_at, updated_at].hash
         
     | 
| 
       239 
259 
     | 
    
         
             
                end
         
     | 
| 
       240 
260 
     | 
    
         | 
| 
       241 
261 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -29,6 +29,8 @@ module Carbon 
     | 
|
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         
             
                attr_accessor :max_items_per_chunk
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
      
 32 
     | 
    
         
            +
                attr_accessor :set_page_as_boundary
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
       32 
34 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       33 
35 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       34 
36 
     | 
    
         
             
                  {
         
     | 
| 
         @@ -40,7 +42,8 @@ module Carbon 
     | 
|
| 
       40 
42 
     | 
    
         
             
                    :'embedding_model' => :'embedding_model',
         
     | 
| 
       41 
43 
     | 
    
         
             
                    :'generate_sparse_vectors' => :'generate_sparse_vectors',
         
     | 
| 
       42 
44 
     | 
    
         
             
                    :'prepend_filename_to_chunks' => :'prepend_filename_to_chunks',
         
     | 
| 
       43 
     | 
    
         
            -
                    :'max_items_per_chunk' => :'max_items_per_chunk'
         
     | 
| 
      
 45 
     | 
    
         
            +
                    :'max_items_per_chunk' => :'max_items_per_chunk',
         
     | 
| 
      
 46 
     | 
    
         
            +
                    :'set_page_as_boundary' => :'set_page_as_boundary'
         
     | 
| 
       44 
47 
     | 
    
         
             
                  }
         
     | 
| 
       45 
48 
     | 
    
         
             
                end
         
     | 
| 
       46 
49 
     | 
    
         | 
| 
         @@ -60,7 +63,8 @@ module Carbon 
     | 
|
| 
       60 
63 
     | 
    
         
             
                    :'embedding_model' => :'EmbeddingGenerators',
         
     | 
| 
       61 
64 
     | 
    
         
             
                    :'generate_sparse_vectors' => :'Boolean',
         
     | 
| 
       62 
65 
     | 
    
         
             
                    :'prepend_filename_to_chunks' => :'Boolean',
         
     | 
| 
       63 
     | 
    
         
            -
                    :'max_items_per_chunk' => :'Integer'
         
     | 
| 
      
 66 
     | 
    
         
            +
                    :'max_items_per_chunk' => :'Integer',
         
     | 
| 
      
 67 
     | 
    
         
            +
                    :'set_page_as_boundary' => :'Boolean'
         
     | 
| 
       64 
68 
     | 
    
         
             
                  }
         
     | 
| 
       65 
69 
     | 
    
         
             
                end
         
     | 
| 
       66 
70 
     | 
    
         | 
| 
         @@ -73,7 +77,7 @@ module Carbon 
     | 
|
| 
       73 
77 
     | 
    
         
             
                    :'skip_embedding_generation',
         
     | 
| 
       74 
78 
     | 
    
         
             
                    :'generate_sparse_vectors',
         
     | 
| 
       75 
79 
     | 
    
         
             
                    :'prepend_filename_to_chunks',
         
     | 
| 
       76 
     | 
    
         
            -
                    :'max_items_per_chunk'
         
     | 
| 
      
 80 
     | 
    
         
            +
                    :'max_items_per_chunk',
         
     | 
| 
       77 
81 
     | 
    
         
             
                  ])
         
     | 
| 
       78 
82 
     | 
    
         
             
                end
         
     | 
| 
       79 
83 
     | 
    
         | 
| 
         @@ -141,6 +145,12 @@ module Carbon 
     | 
|
| 
       141 
145 
     | 
    
         
             
                  if attributes.key?(:'max_items_per_chunk')
         
     | 
| 
       142 
146 
     | 
    
         
             
                    self.max_items_per_chunk = attributes[:'max_items_per_chunk']
         
     | 
| 
       143 
147 
     | 
    
         
             
                  end
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
                  if attributes.key?(:'set_page_as_boundary')
         
     | 
| 
      
 150 
     | 
    
         
            +
                    self.set_page_as_boundary = attributes[:'set_page_as_boundary']
         
     | 
| 
      
 151 
     | 
    
         
            +
                  else
         
     | 
| 
      
 152 
     | 
    
         
            +
                    self.set_page_as_boundary = false
         
     | 
| 
      
 153 
     | 
    
         
            +
                  end
         
     | 
| 
       144 
154 
     | 
    
         
             
                end
         
     | 
| 
       145 
155 
     | 
    
         | 
| 
       146 
156 
     | 
    
         
             
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -174,7 +184,8 @@ module Carbon 
     | 
|
| 
       174 
184 
     | 
    
         
             
                      embedding_model == o.embedding_model &&
         
     | 
| 
       175 
185 
     | 
    
         
             
                      generate_sparse_vectors == o.generate_sparse_vectors &&
         
     | 
| 
       176 
186 
     | 
    
         
             
                      prepend_filename_to_chunks == o.prepend_filename_to_chunks &&
         
     | 
| 
       177 
     | 
    
         
            -
                      max_items_per_chunk == o.max_items_per_chunk
         
     | 
| 
      
 187 
     | 
    
         
            +
                      max_items_per_chunk == o.max_items_per_chunk &&
         
     | 
| 
      
 188 
     | 
    
         
            +
                      set_page_as_boundary == o.set_page_as_boundary
         
     | 
| 
       178 
189 
     | 
    
         
             
                end
         
     | 
| 
       179 
190 
     | 
    
         | 
| 
       180 
191 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -186,7 +197,7 @@ module Carbon 
     | 
|
| 
       186 
197 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       187 
198 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       188 
199 
     | 
    
         
             
                def hash
         
     | 
| 
       189 
     | 
    
         
            -
                  [tags, ids, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk].hash
         
     | 
| 
      
 200 
     | 
    
         
            +
                  [tags, ids, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk, set_page_as_boundary].hash
         
     | 
| 
       190 
201 
     | 
    
         
             
                end
         
     | 
| 
       191 
202 
     | 
    
         | 
| 
       192 
203 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -31,6 +31,8 @@ module Carbon 
     | 
|
| 
       31 
31 
     | 
    
         | 
| 
       32 
32 
     | 
    
         
             
                attr_accessor :max_items_per_chunk
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
      
 34 
     | 
    
         
            +
                attr_accessor :set_page_as_boundary
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       34 
36 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       35 
37 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       36 
38 
     | 
    
         
             
                  {
         
     | 
| 
         @@ -43,7 +45,8 @@ module Carbon 
     | 
|
| 
       43 
45 
     | 
    
         
             
                    :'embedding_model' => :'embedding_model',
         
     | 
| 
       44 
46 
     | 
    
         
             
                    :'generate_sparse_vectors' => :'generate_sparse_vectors',
         
     | 
| 
       45 
47 
     | 
    
         
             
                    :'prepend_filename_to_chunks' => :'prepend_filename_to_chunks',
         
     | 
| 
       46 
     | 
    
         
            -
                    :'max_items_per_chunk' => :'max_items_per_chunk'
         
     | 
| 
      
 48 
     | 
    
         
            +
                    :'max_items_per_chunk' => :'max_items_per_chunk',
         
     | 
| 
      
 49 
     | 
    
         
            +
                    :'set_page_as_boundary' => :'set_page_as_boundary'
         
     | 
| 
       47 
50 
     | 
    
         
             
                  }
         
     | 
| 
       48 
51 
     | 
    
         
             
                end
         
     | 
| 
       49 
52 
     | 
    
         | 
| 
         @@ -64,7 +67,8 @@ module Carbon 
     | 
|
| 
       64 
67 
     | 
    
         
             
                    :'embedding_model' => :'EmbeddingGeneratorsNullable',
         
     | 
| 
       65 
68 
     | 
    
         
             
                    :'generate_sparse_vectors' => :'Boolean',
         
     | 
| 
       66 
69 
     | 
    
         
             
                    :'prepend_filename_to_chunks' => :'Boolean',
         
     | 
| 
       67 
     | 
    
         
            -
                    :'max_items_per_chunk' => :'Integer'
         
     | 
| 
      
 70 
     | 
    
         
            +
                    :'max_items_per_chunk' => :'Integer',
         
     | 
| 
      
 71 
     | 
    
         
            +
                    :'set_page_as_boundary' => :'Boolean'
         
     | 
| 
       68 
72 
     | 
    
         
             
                  }
         
     | 
| 
       69 
73 
     | 
    
         
             
                end
         
     | 
| 
       70 
74 
     | 
    
         | 
| 
         @@ -78,7 +82,7 @@ module Carbon 
     | 
|
| 
       78 
82 
     | 
    
         
             
                    :'embedding_model',
         
     | 
| 
       79 
83 
     | 
    
         
             
                    :'generate_sparse_vectors',
         
     | 
| 
       80 
84 
     | 
    
         
             
                    :'prepend_filename_to_chunks',
         
     | 
| 
       81 
     | 
    
         
            -
                    :'max_items_per_chunk'
         
     | 
| 
      
 85 
     | 
    
         
            +
                    :'max_items_per_chunk',
         
     | 
| 
       82 
86 
     | 
    
         
             
                  ])
         
     | 
| 
       83 
87 
     | 
    
         
             
                end
         
     | 
| 
       84 
88 
     | 
    
         | 
| 
         @@ -150,6 +154,12 @@ module Carbon 
     | 
|
| 
       150 
154 
     | 
    
         
             
                  if attributes.key?(:'max_items_per_chunk')
         
     | 
| 
       151 
155 
     | 
    
         
             
                    self.max_items_per_chunk = attributes[:'max_items_per_chunk']
         
     | 
| 
       152 
156 
     | 
    
         
             
                  end
         
     | 
| 
      
 157 
     | 
    
         
            +
             
     | 
| 
      
 158 
     | 
    
         
            +
                  if attributes.key?(:'set_page_as_boundary')
         
     | 
| 
      
 159 
     | 
    
         
            +
                    self.set_page_as_boundary = attributes[:'set_page_as_boundary']
         
     | 
| 
      
 160 
     | 
    
         
            +
                  else
         
     | 
| 
      
 161 
     | 
    
         
            +
                    self.set_page_as_boundary = false
         
     | 
| 
      
 162 
     | 
    
         
            +
                  end
         
     | 
| 
       153 
163 
     | 
    
         
             
                end
         
     | 
| 
       154 
164 
     | 
    
         | 
| 
       155 
165 
     | 
    
         
             
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -189,7 +199,8 @@ module Carbon 
     | 
|
| 
       189 
199 
     | 
    
         
             
                      embedding_model == o.embedding_model &&
         
     | 
| 
       190 
200 
     | 
    
         
             
                      generate_sparse_vectors == o.generate_sparse_vectors &&
         
     | 
| 
       191 
201 
     | 
    
         
             
                      prepend_filename_to_chunks == o.prepend_filename_to_chunks &&
         
     | 
| 
       192 
     | 
    
         
            -
                      max_items_per_chunk == o.max_items_per_chunk
         
     | 
| 
      
 202 
     | 
    
         
            +
                      max_items_per_chunk == o.max_items_per_chunk &&
         
     | 
| 
      
 203 
     | 
    
         
            +
                      set_page_as_boundary == o.set_page_as_boundary
         
     | 
| 
       193 
204 
     | 
    
         
             
                end
         
     | 
| 
       194 
205 
     | 
    
         | 
| 
       195 
206 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -201,7 +212,7 @@ module Carbon 
     | 
|
| 
       201 
212 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       202 
213 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       203 
214 
     | 
    
         
             
                def hash
         
     | 
| 
       204 
     | 
    
         
            -
                  [tags, data_source_id, ids, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk].hash
         
     | 
| 
      
 215 
     | 
    
         
            +
                  [tags, data_source_id, ids, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk, set_page_as_boundary].hash
         
     | 
| 
       205 
216 
     | 
    
         
             
                end
         
     | 
| 
       206 
217 
     | 
    
         | 
| 
       207 
218 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -130,6 +130,17 @@ describe 'IntegrationsApi' do 
     | 
|
| 
       130 
130 
     | 
    
         
             
                end
         
     | 
| 
       131 
131 
     | 
    
         
             
              end
         
     | 
| 
       132 
132 
     | 
    
         | 
| 
      
 133 
     | 
    
         
            +
              # unit tests for list_outlook_categories
         
     | 
| 
      
 134 
     | 
    
         
            +
              # Outlook Categories
         
     | 
| 
      
 135 
     | 
    
         
            +
              # After connecting your Outlook account, you can use this endpoint to list all of your categories on outlook. We currently support listing up to 250 categories.
         
     | 
| 
      
 136 
     | 
    
         
            +
              # @param [Hash] opts the optional parameters
         
     | 
| 
      
 137 
     | 
    
         
            +
              # @return [Object]
         
     | 
| 
      
 138 
     | 
    
         
            +
              describe 'list_outlook_categories test' do
         
     | 
| 
      
 139 
     | 
    
         
            +
                it 'should work' do
         
     | 
| 
      
 140 
     | 
    
         
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
      
 141 
     | 
    
         
            +
                end
         
     | 
| 
      
 142 
     | 
    
         
            +
              end
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
       133 
144 
     | 
    
         
             
              # unit tests for sync_confluence
         
     | 
| 
       134 
145 
     | 
    
         
             
              # Confluence Sync
         
     | 
| 
       135 
146 
     | 
    
         
             
              # 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.
         
     | 
| 
         @@ -103,4 +103,22 @@ describe Carbon::OAuthURLRequest do 
     | 
|
| 
       103 
103 
     | 
    
         
             
                end
         
     | 
| 
       104 
104 
     | 
    
         
             
              end
         
     | 
| 
       105 
105 
     | 
    
         | 
| 
      
 106 
     | 
    
         
            +
              describe 'test attribute "salesforce_domain"' do
         
     | 
| 
      
 107 
     | 
    
         
            +
                it 'should work' do
         
     | 
| 
      
 108 
     | 
    
         
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
      
 109 
     | 
    
         
            +
                end
         
     | 
| 
      
 110 
     | 
    
         
            +
              end
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
              describe 'test attribute "sync_files_on_connection"' 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 
     | 
    
         
            +
             
     | 
| 
      
 118 
     | 
    
         
            +
              describe 'test attribute "set_page_as_boundary"' do
         
     | 
| 
      
 119 
     | 
    
         
            +
                it 'should work' do
         
     | 
| 
      
 120 
     | 
    
         
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
      
 121 
     | 
    
         
            +
                end
         
     | 
| 
      
 122 
     | 
    
         
            +
              end
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
       106 
124 
     | 
    
         
             
            end
         
     | 
| 
         @@ -79,6 +79,18 @@ describe Carbon::OrganizationResponse do 
     | 
|
| 
       79 
79 
     | 
    
         
             
                end
         
     | 
| 
       80 
80 
     | 
    
         
             
              end
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
      
 82 
     | 
    
         
            +
              describe 'test attribute "period_ends_at"' 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 "cancel_at_period_end"' 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 
     | 
    
         
            +
             
     | 
| 
       82 
94 
     | 
    
         
             
              describe 'test attribute "created_at"' do
         
     | 
| 
       83 
95 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       84 
96 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     |