carbon_ruby_sdk 0.2.18 → 0.2.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 621a55f88f43768897cf3086257a2c73bb47a8417043d4576e9097069c979a75
4
- data.tar.gz: 8a19d96655e5c7230b5dc1d4d34ed2faae53b270e78a973ffae5396041c8ed40
3
+ metadata.gz: 63fff490af752ce2a21d8db67d18b2178cc65df146277b064f9c5504d8b09277
4
+ data.tar.gz: 1100c683b7832c69bcd2869e6c817fd44be5619cccd7afaf7320324ddc5b0909
5
5
  SHA512:
6
- metadata.gz: 610cc7b260e629e544ae15e90b0120276403d5beb06936613b6cc7956272a3761c596ad8d8cb34ad2d91b66b1ba55ebdf25fcf2606139ea3976eae842bb98823
7
- data.tar.gz: 8d082ccc3c69fe4b64f47462f3b97cfab0ea508b2cba1cac9db5efc4975461f823d40c39a5ce9e610d09a3ab37a20397770fd6d634c7bb54c32d24587ab2b32a
6
+ metadata.gz: 03ede46c6589f77b8c1c8eb4c915467e1483c0a7cca533a6302c9ae898d72478b1aff681a264e5aca3f60f9b312a6d2ee02a52e5a77068bd86871848e9abe7d8
7
+ data.tar.gz: da426e61b701295417b6836a91677b9d6c3f638dad36bcff2ea01d645f26f6fb2b885082b82e5fb2b756ffeec1d1feb457d41d2f3b240bdc12b9dfbe47959097
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbon_ruby_sdk (0.2.17)
4
+ carbon_ruby_sdk (0.2.20)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -9,27 +9,27 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.2)
12
+ base64 (0.2.0)
12
13
  byebug (11.1.3)
13
14
  coderay (1.1.3)
14
15
  debug (1.8.0)
15
16
  irb (>= 1.5.0)
16
17
  reline (>= 0.3.1)
17
18
  diff-lcs (1.5.1)
18
- faraday (2.9.0)
19
- faraday-net_http (>= 2.0, < 3.2)
19
+ faraday (2.8.1)
20
+ base64
21
+ faraday-net_http (>= 2.0, < 3.1)
22
+ ruby2_keywords (>= 0.0.4)
20
23
  faraday-multipart (1.0.4)
21
24
  multipart-post (~> 2)
22
- faraday-net_http (3.1.0)
23
- net-http
25
+ faraday-net_http (3.0.2)
24
26
  io-console (0.7.2)
25
27
  irb (1.6.4)
26
28
  reline (>= 0.3.0)
27
- method_source (1.0.0)
28
- multipart-post (2.4.0)
29
- net-http (0.4.1)
30
- uri
31
- parallel (1.24.0)
32
- parser (3.3.0.5)
29
+ method_source (1.1.0)
30
+ multipart-post (2.4.1)
31
+ parallel (1.25.1)
32
+ parser (3.3.4.1)
33
33
  ast (~> 2.4.1)
34
34
  racc
35
35
  pry (0.14.2)
@@ -38,23 +38,24 @@ GEM
38
38
  pry-byebug (3.10.1)
39
39
  byebug (~> 11.0)
40
40
  pry (>= 0.13, < 0.15)
41
- racc (1.7.3)
41
+ racc (1.8.1)
42
42
  rainbow (3.1.1)
43
43
  rake (13.0.6)
44
- regexp_parser (2.9.0)
45
- reline (0.5.0)
44
+ regexp_parser (2.9.2)
45
+ reline (0.5.9)
46
46
  io-console (~> 0.5)
47
- rexml (3.2.6)
47
+ rexml (3.3.4)
48
+ strscan
48
49
  rspec (3.13.0)
49
50
  rspec-core (~> 3.13.0)
50
51
  rspec-expectations (~> 3.13.0)
51
52
  rspec-mocks (~> 3.13.0)
52
53
  rspec-core (3.13.0)
53
54
  rspec-support (~> 3.13.0)
54
- rspec-expectations (3.13.0)
55
+ rspec-expectations (3.13.1)
55
56
  diff-lcs (>= 1.2.0, < 2.0)
56
57
  rspec-support (~> 3.13.0)
57
- rspec-mocks (3.13.0)
58
+ rspec-mocks (3.13.1)
58
59
  diff-lcs (>= 1.2.0, < 2.0)
59
60
  rspec-support (~> 3.13.0)
60
61
  rspec-support (3.13.1)
@@ -67,14 +68,15 @@ GEM
67
68
  rubocop-ast (>= 1.2.0, < 2.0)
68
69
  ruby-progressbar (~> 1.7)
69
70
  unicode-display_width (>= 1.4.0, < 3.0)
70
- rubocop-ast (1.31.2)
71
- parser (>= 3.3.0.4)
71
+ rubocop-ast (1.32.0)
72
+ parser (>= 3.3.1.0)
72
73
  ruby-progressbar (1.13.0)
74
+ ruby2_keywords (0.0.5)
75
+ strscan (3.1.0)
73
76
  unicode-display_width (2.5.0)
74
- uri (0.13.0)
75
77
 
76
78
  PLATFORMS
77
- arm64-darwin-22
79
+ x86_64-linux
78
80
 
79
81
  DEPENDENCIES
80
82
  carbon_ruby_sdk!
@@ -86,4 +88,4 @@ DEPENDENCIES
86
88
  rubocop (~> 1.12.1)
87
89
 
88
90
  BUNDLED WITH
89
- 2.4.19
91
+ 2.4.22
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect external data to LLMs, no matter the source.
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v0.2.18-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.18)
9
+ [![npm](https://img.shields.io/badge/gem-v0.2.20-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.20)
10
10
 
11
11
  </div>
12
12
 
@@ -91,7 +91,7 @@ Connect external data to LLMs, no matter the source.
91
91
  Add to Gemfile:
92
92
 
93
93
  ```ruby
94
- gem 'carbon_ruby_sdk', '~> 0.2.18'
94
+ gem 'carbon_ruby_sdk', '~> 0.2.20'
95
95
  ```
96
96
 
97
97
  ## Getting Started<a id="getting-started"></a>
@@ -198,7 +198,7 @@ result = carbon.data_sources.query_user_data_sources(
198
198
  order_by: "created_at",
199
199
  order_dir: "desc",
200
200
  filters: {
201
- "source" => "GOOGLE_DRIVE",
201
+ "source" => "GOOGLE_CLOUD_STORAGE",
202
202
  },
203
203
  )
204
204
  p result
@@ -1314,7 +1314,6 @@ result = carbon.integrations.connect_data_source(
1314
1314
  "prepend_filename_to_chunks" => false,
1315
1315
  "sync_files_on_connection" => true,
1316
1316
  "set_page_as_boundary" => false,
1317
- "request_id" => "f5e8c193-f7e1-4e45-9be5-6aa157dfe3c3",
1318
1317
  "enable_file_picker" => true,
1319
1318
  "sync_source_items" => true,
1320
1319
  "incremental_sync" => false,
@@ -1465,13 +1464,16 @@ via list items endpoint
1465
1464
 
1466
1465
  ### `carbon.integrations.create_aws_iam_user`<a id="carbonintegrationscreate_aws_iam_user"></a>
1467
1466
 
1468
- Create a new IAM user with permissions to:
1467
+ This endpoint can be used to connect S3 as well as Digital Ocean Spaces (S3 compatible)
1468
+ For S3, create a new IAM user with permissions to:
1469
1469
  <ol>
1470
1470
  <li>List all buckets.</li>
1471
1471
  <li>Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry
1472
1472
  the same permissions.</li>
1473
1473
  </ol>
1474
- Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
1474
+ Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
1475
+ For Digital Ocean Spaces, generate the above credentials in your Applications and API page here https://cloud.digitalocean.com/account/api/spaces.
1476
+ Endpoint URL is required to connect Digital Ocean Spaces.
1475
1477
 
1476
1478
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1477
1479
 
@@ -1480,6 +1482,7 @@ result = carbon.integrations.create_aws_iam_user(
1480
1482
  access_key: "string_example",
1481
1483
  access_key_secret: "string_example",
1482
1484
  sync_source_items: true,
1485
+ endpoint_url: "string_example",
1483
1486
  )
1484
1487
  p result
1485
1488
  ```
@@ -1492,6 +1495,11 @@ p result
1492
1495
  Enabling this flag will fetch all available content from the source to be listed
1493
1496
  via list items endpoint
1494
1497
 
1498
+ ##### endpoint_url: `String`<a id="endpoint_url-string"></a>
1499
+ You can specify a Digital Ocean endpoint URL to connect a Digital Ocean Space
1500
+ through this endpoint. The URL should be of format
1501
+ <region>.digitaloceanspaces.com. It's not required for S3 buckets.
1502
+
1495
1503
  #### 🔄 Return<a id="🔄-return"></a>
1496
1504
 
1497
1505
  [OrganizationUserDataSourceAPI](./lib/carbon_ruby_sdk/models/organization_user_data_source_api.rb)
@@ -1516,7 +1524,7 @@ success state.
1516
1524
 
1517
1525
  ```ruby
1518
1526
  result = carbon.integrations.get_oauth_url(
1519
- service: "GOOGLE_DRIVE",
1527
+ service: "GOOGLE_CLOUD_STORAGE",
1520
1528
  tags: None,
1521
1529
  scope: "string_example",
1522
1530
  chunk_size: 1500,
@@ -1535,7 +1543,7 @@ result = carbon.integrations.get_oauth_url(
1535
1543
  set_page_as_boundary: false,
1536
1544
  data_source_id: 1,
1537
1545
  connecting_new_account: false,
1538
- request_id: "c4055754-ba2d-4f57-a990-6e990abbbd90",
1546
+ request_id: "string_example",
1539
1547
  use_ocr: false,
1540
1548
  parse_pdf_tables_with_ocr: false,
1541
1549
  enable_file_picker: true,
@@ -1606,8 +1614,8 @@ via list items endpoint
1606
1614
  ##### incremental_sync: `Boolean`<a id="incremental_sync-boolean"></a>
1607
1615
  Only sync files if they have not already been synced or if the embedding
1608
1616
  properties have changed. This flag is currently supported by ONEDRIVE,
1609
- GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for
1610
- other data sources.
1617
+ GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE,
1618
+ NOTION, SHAREPOINT. It will be ignored for other data sources.
1611
1619
 
1612
1620
  ##### file_sync_config: [`FileSyncConfigNullable`](./lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb)<a id="file_sync_config-filesyncconfignullablelibcarbon_ruby_sdkmodelsfile_sync_config_nullablerb"></a>
1613
1621
  #### 🔄 Return<a id="🔄-return"></a>
@@ -1903,7 +1911,7 @@ result = carbon.integrations.sync_confluence(
1903
1911
  prepend_filename_to_chunks: false,
1904
1912
  max_items_per_chunk: 1,
1905
1913
  set_page_as_boundary: false,
1906
- request_id: "991e89b6-1e71-41e1-bdc4-4dd475f21696",
1914
+ request_id: "string_example",
1907
1915
  use_ocr: false,
1908
1916
  parse_pdf_tables_with_ocr: false,
1909
1917
  incremental_sync: false,
@@ -1939,8 +1947,8 @@ Number of objects per chunk. For csv, tsv, xlsx, and json files only.
1939
1947
  ##### incremental_sync: `Boolean`<a id="incremental_sync-boolean"></a>
1940
1948
  Only sync files if they have not already been synced or if the embedding
1941
1949
  properties have changed. This flag is currently supported by ONEDRIVE,
1942
- GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for
1943
- other data sources.
1950
+ GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE,
1951
+ NOTION, SHAREPOINT. It will be ignored for other data sources.
1944
1952
 
1945
1953
  ##### file_sync_config: [`FileSyncConfigNullable`](./lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb)<a id="file_sync_config-filesyncconfignullablelibcarbon_ruby_sdkmodelsfile_sync_config_nullablerb"></a>
1946
1954
  #### 🔄 Return<a id="🔄-return"></a>
@@ -2009,7 +2017,7 @@ result = carbon.integrations.sync_files(
2009
2017
  prepend_filename_to_chunks: false,
2010
2018
  max_items_per_chunk: 1,
2011
2019
  set_page_as_boundary: false,
2012
- request_id: "991e89b6-1e71-41e1-bdc4-4dd475f21696",
2020
+ request_id: "string_example",
2013
2021
  use_ocr: false,
2014
2022
  parse_pdf_tables_with_ocr: false,
2015
2023
  incremental_sync: false,
@@ -2045,8 +2053,8 @@ Number of objects per chunk. For csv, tsv, xlsx, and json files only.
2045
2053
  ##### incremental_sync: `Boolean`<a id="incremental_sync-boolean"></a>
2046
2054
  Only sync files if they have not already been synced or if the embedding
2047
2055
  properties have changed. This flag is currently supported by ONEDRIVE,
2048
- GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for
2049
- other data sources.
2056
+ GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE,
2057
+ NOTION, SHAREPOINT. It will be ignored for other data sources.
2050
2058
 
2051
2059
  ##### file_sync_config: [`FileSyncConfigNullable`](./lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb)<a id="file_sync_config-filesyncconfignullablelibcarbon_ruby_sdkmodelsfile_sync_config_nullablerb"></a>
2052
2060
  #### 🔄 Return<a id="🔄-return"></a>
@@ -508,24 +508,29 @@ module Carbon
508
508
 
509
509
  # S3 Auth
510
510
  #
511
- # Create a new IAM user with permissions to:
511
+ # This endpoint can be used to connect S3 as well as Digital Ocean Spaces (S3 compatible)
512
+ # For S3, create a new IAM user with permissions to:
512
513
  # <ol>
513
514
  # <li>List all buckets.</li>
514
515
  # <li>Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry
515
516
  # the same permissions.</li>
516
517
  # </ol>
517
- # Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
518
+ # Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
519
+ # For Digital Ocean Spaces, generate the above credentials in your Applications and API page here https://cloud.digitalocean.com/account/api/spaces.
520
+ # Endpoint URL is required to connect Digital Ocean Spaces.
518
521
  #
519
522
  # @param access_key [String]
520
523
  # @param access_key_secret [String]
521
524
  # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
525
+ # @param endpoint_url [String] You can specify a Digital Ocean endpoint URL to connect a Digital Ocean Space through this endpoint. The URL should be of format <region>.digitaloceanspaces.com. It's not required for S3 buckets.
522
526
  # @param body [S3AuthRequest]
523
527
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
524
- def create_aws_iam_user(access_key:, access_key_secret:, sync_source_items: true, extra: {})
528
+ def create_aws_iam_user(access_key:, access_key_secret:, sync_source_items: true, endpoint_url: SENTINEL, extra: {})
525
529
  _body = {}
526
530
  _body[:access_key] = access_key if access_key != SENTINEL
527
531
  _body[:access_key_secret] = access_key_secret if access_key_secret != SENTINEL
528
532
  _body[:sync_source_items] = sync_source_items if sync_source_items != SENTINEL
533
+ _body[:endpoint_url] = endpoint_url if endpoint_url != SENTINEL
529
534
  s3_auth_request = _body
530
535
  api_response = create_aws_iam_user_with_http_info_impl(s3_auth_request, extra)
531
536
  api_response.data
@@ -533,30 +538,35 @@ module Carbon
533
538
 
534
539
  # S3 Auth
535
540
  #
536
- # Create a new IAM user with permissions to:
541
+ # This endpoint can be used to connect S3 as well as Digital Ocean Spaces (S3 compatible)
542
+ # For S3, create a new IAM user with permissions to:
537
543
  # <ol>
538
544
  # <li>List all buckets.</li>
539
545
  # <li>Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry
540
546
  # the same permissions.</li>
541
547
  # </ol>
542
- # Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
548
+ # Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
549
+ # For Digital Ocean Spaces, generate the above credentials in your Applications and API page here https://cloud.digitalocean.com/account/api/spaces.
550
+ # Endpoint URL is required to connect Digital Ocean Spaces.
543
551
  #
544
552
  # @param access_key [String]
545
553
  # @param access_key_secret [String]
546
554
  # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
555
+ # @param endpoint_url [String] You can specify a Digital Ocean endpoint URL to connect a Digital Ocean Space through this endpoint. The URL should be of format <region>.digitaloceanspaces.com. It's not required for S3 buckets.
547
556
  # @param body [S3AuthRequest]
548
557
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
549
- def create_aws_iam_user_with_http_info(access_key:, access_key_secret:, sync_source_items: true, extra: {})
558
+ def create_aws_iam_user_with_http_info(access_key:, access_key_secret:, sync_source_items: true, endpoint_url: SENTINEL, extra: {})
550
559
  _body = {}
551
560
  _body[:access_key] = access_key if access_key != SENTINEL
552
561
  _body[:access_key_secret] = access_key_secret if access_key_secret != SENTINEL
553
562
  _body[:sync_source_items] = sync_source_items if sync_source_items != SENTINEL
563
+ _body[:endpoint_url] = endpoint_url if endpoint_url != SENTINEL
554
564
  s3_auth_request = _body
555
565
  create_aws_iam_user_with_http_info_impl(s3_auth_request, extra)
556
566
  end
557
567
 
558
568
  # S3 Auth
559
- # Create a new IAM user with permissions to: <ol> <li>List all buckets.</li> <li>Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry the same permissions.</li> </ol> Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
569
+ # This endpoint can be used to connect S3 as well as Digital Ocean Spaces (S3 compatible) For S3, create a new IAM user with permissions to: <ol> <li>List all buckets.</li> <li>Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry the same permissions.</li> </ol> Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand. For Digital Ocean Spaces, generate the above credentials in your Applications and API page here https://cloud.digitalocean.com/account/api/spaces. Endpoint URL is required to connect Digital Ocean Spaces.
560
570
  # @param s3_auth_request [S3AuthRequest]
561
571
  # @param [Hash] opts the optional parameters
562
572
  # @return [OrganizationUserDataSourceAPI]
@@ -566,7 +576,7 @@ module Carbon
566
576
  end
567
577
 
568
578
  # S3 Auth
569
- # Create a new IAM user with permissions to: &lt;ol&gt; &lt;li&gt;List all buckets.&lt;/li&gt; &lt;li&gt;Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry the same permissions.&lt;/li&gt; &lt;/ol&gt; Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
579
+ # This endpoint can be used to connect S3 as well as Digital Ocean Spaces (S3 compatible) For S3, create a new IAM user with permissions to: &lt;ol&gt; &lt;li&gt;List all buckets.&lt;/li&gt; &lt;li&gt;Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry the same permissions.&lt;/li&gt; &lt;/ol&gt; Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand. For Digital Ocean Spaces, generate the above credentials in your Applications and API page here https://cloud.digitalocean.com/account/api/spaces. Endpoint URL is required to connect Digital Ocean Spaces.
570
580
  # @param s3_auth_request [S3AuthRequest]
571
581
  # @param [Hash] opts the optional parameters
572
582
  # @return [APIResponse] data is OrganizationUserDataSourceAPI, status code, headers and response
@@ -655,11 +665,11 @@ module Carbon
655
665
  # @param parse_pdf_tables_with_ocr [Boolean]
656
666
  # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: BOX, DROPBOX, GOOGLE_DRIVE, ONEDRIVE, SHAREPOINT
657
667
  # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
658
- # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
668
+ # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
659
669
  # @param file_sync_config [FileSyncConfigNullable]
660
670
  # @param body [OAuthURLRequest]
661
671
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
662
- def get_oauth_url(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: 'c4055754-ba2d-4f57-a990-6e990abbbd90', use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
672
+ def get_oauth_url(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
663
673
  _body = {}
664
674
  _body[:tags] = tags if tags != SENTINEL
665
675
  _body[:scope] = scope if scope != SENTINEL
@@ -723,11 +733,11 @@ module Carbon
723
733
  # @param parse_pdf_tables_with_ocr [Boolean]
724
734
  # @param enable_file_picker [Boolean] Enable integration's file picker for sources that support it. Supported sources: BOX, DROPBOX, GOOGLE_DRIVE, ONEDRIVE, SHAREPOINT
725
735
  # @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
726
- # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
736
+ # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
727
737
  # @param file_sync_config [FileSyncConfigNullable]
728
738
  # @param body [OAuthURLRequest]
729
739
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
730
- def get_oauth_url_with_http_info(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: 'c4055754-ba2d-4f57-a990-6e990abbbd90', use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
740
+ def get_oauth_url_with_http_info(service:, tags: SENTINEL, scope: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', zendesk_subdomain: SENTINEL, microsoft_tenant: SENTINEL, sharepoint_site_name: SENTINEL, confluence_subdomain: SENTINEL, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, salesforce_domain: SENTINEL, sync_files_on_connection: true, set_page_as_boundary: false, data_source_id: SENTINEL, connecting_new_account: false, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, enable_file_picker: true, sync_source_items: true, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
731
741
  _body = {}
732
742
  _body[:tags] = tags if tags != SENTINEL
733
743
  _body[:scope] = scope if scope != SENTINEL
@@ -1642,11 +1652,11 @@ module Carbon
1642
1652
  # @param request_id [String]
1643
1653
  # @param use_ocr [Boolean]
1644
1654
  # @param parse_pdf_tables_with_ocr [Boolean]
1645
- # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
1655
+ # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
1646
1656
  # @param file_sync_config [FileSyncConfigNullable]
1647
1657
  # @param body [SyncFilesRequest]
1648
1658
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1649
- def sync_confluence(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: '991e89b6-1e71-41e1-bdc4-4dd475f21696', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1659
+ def sync_confluence(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1650
1660
  _body = {}
1651
1661
  _body[:tags] = tags if tags != SENTINEL
1652
1662
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1692,11 +1702,11 @@ module Carbon
1692
1702
  # @param request_id [String]
1693
1703
  # @param use_ocr [Boolean]
1694
1704
  # @param parse_pdf_tables_with_ocr [Boolean]
1695
- # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
1705
+ # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
1696
1706
  # @param file_sync_config [FileSyncConfigNullable]
1697
1707
  # @param body [SyncFilesRequest]
1698
1708
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1699
- def sync_confluence_with_http_info(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: '991e89b6-1e71-41e1-bdc4-4dd475f21696', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1709
+ def sync_confluence_with_http_info(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1700
1710
  _body = {}
1701
1711
  _body[:tags] = tags if tags != SENTINEL
1702
1712
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1900,11 +1910,11 @@ module Carbon
1900
1910
  # @param request_id [String]
1901
1911
  # @param use_ocr [Boolean]
1902
1912
  # @param parse_pdf_tables_with_ocr [Boolean]
1903
- # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
1913
+ # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
1904
1914
  # @param file_sync_config [FileSyncConfigNullable]
1905
1915
  # @param body [SyncFilesRequest]
1906
1916
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1907
- def sync_files(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: '991e89b6-1e71-41e1-bdc4-4dd475f21696', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1917
+ def sync_files(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1908
1918
  _body = {}
1909
1919
  _body[:tags] = tags if tags != SENTINEL
1910
1920
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -1948,11 +1958,11 @@ module Carbon
1948
1958
  # @param request_id [String]
1949
1959
  # @param use_ocr [Boolean]
1950
1960
  # @param parse_pdf_tables_with_ocr [Boolean]
1951
- # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
1961
+ # @param incremental_sync [Boolean] Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
1952
1962
  # @param file_sync_config [FileSyncConfigNullable]
1953
1963
  # @param body [SyncFilesRequest]
1954
1964
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1955
- def sync_files_with_http_info(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: '991e89b6-1e71-41e1-bdc4-4dd475f21696', use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1965
+ def sync_files_with_http_info(data_source_id:, ids:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, set_page_as_boundary: false, request_id: SENTINEL, use_ocr: false, parse_pdf_tables_with_ocr: false, incremental_sync: false, file_sync_config: SENTINEL, extra: {})
1956
1966
  _body = {}
1957
1967
  _body[:tags] = tags if tags != SENTINEL
1958
1968
  _body[:data_source_id] = data_source_id if data_source_id != SENTINEL
@@ -41,6 +41,9 @@ module Carbon
41
41
 
42
42
  attr_accessor :access_key_secret
43
43
 
44
+ # You can specify a Digital Ocean endpoint URL to connect a Digital Ocean Space through this endpoint. The URL should be of format <region>.digitaloceanspaces.com. It's not required for S3 buckets.
45
+ attr_accessor :endpoint_url
46
+
44
47
  # Attribute mapping from ruby-style variable name to JSON key.
45
48
  def self.attribute_map
46
49
  {
@@ -58,7 +61,8 @@ module Carbon
58
61
  :'domain' => :'domain',
59
62
  :'api_key' => :'api_key',
60
63
  :'access_key' => :'access_key',
61
- :'access_key_secret' => :'access_key_secret'
64
+ :'access_key_secret' => :'access_key_secret',
65
+ :'endpoint_url' => :'endpoint_url'
62
66
  }
63
67
  end
64
68
 
@@ -84,7 +88,8 @@ module Carbon
84
88
  :'domain' => :'String',
85
89
  :'api_key' => :'String',
86
90
  :'access_key' => :'String',
87
- :'access_key_secret' => :'String'
91
+ :'access_key_secret' => :'String',
92
+ :'endpoint_url' => :'String'
88
93
  }
89
94
  end
90
95
 
@@ -93,6 +98,7 @@ module Carbon
93
98
  Set.new([
94
99
  :'source',
95
100
  :'refresh_token',
101
+ :'endpoint_url'
96
102
  ])
97
103
  end
98
104
 
@@ -187,6 +193,10 @@ module Carbon
187
193
  if attributes.key?(:'access_key_secret')
188
194
  self.access_key_secret = attributes[:'access_key_secret']
189
195
  end
196
+
197
+ if attributes.key?(:'endpoint_url')
198
+ self.endpoint_url = attributes[:'endpoint_url']
199
+ end
190
200
  end
191
201
 
192
202
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -298,7 +308,8 @@ module Carbon
298
308
  domain == o.domain &&
299
309
  api_key == o.api_key &&
300
310
  access_key == o.access_key &&
301
- access_key_secret == o.access_key_secret
311
+ access_key_secret == o.access_key_secret &&
312
+ endpoint_url == o.endpoint_url
302
313
  end
303
314
 
304
315
  # @see the `==` method
@@ -310,7 +321,7 @@ module Carbon
310
321
  # Calculates hash code according to all attributes.
311
322
  # @return [Integer] Hash code
312
323
  def hash
313
- [source, access_token, refresh_token, workspace_id, tenant_name, site_name, subdomain, access_token_secret, username, zotero_id, organization_name, domain, api_key, access_key, access_key_secret].hash
324
+ [source, access_token, refresh_token, workspace_id, tenant_name, site_name, subdomain, access_token_secret, username, zotero_id, organization_name, domain, api_key, access_key, access_key_secret, endpoint_url].hash
314
325
  end
315
326
 
316
327
  # Builds the object from hash
@@ -11,6 +11,7 @@ require 'time'
11
11
 
12
12
  module Carbon
13
13
  class DataSourceType
14
+ GOOGLE_CLOUD_STORAGE = "GOOGLE_CLOUD_STORAGE".freeze
14
15
  GOOGLE_DRIVE = "GOOGLE_DRIVE".freeze
15
16
  NOTION = "NOTION".freeze
16
17
  NOTION_DATABASE = "NOTION_DATABASE".freeze
@@ -68,7 +69,7 @@ module Carbon
68
69
  EML = "EML".freeze
69
70
 
70
71
  def self.all_vars
71
- @all_vars ||= [GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
72
+ @all_vars ||= [GOOGLE_CLOUD_STORAGE, GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
72
73
  end
73
74
 
74
75
  # Builds the enum from string
@@ -11,6 +11,7 @@ require 'time'
11
11
 
12
12
  module Carbon
13
13
  class DataSourceTypeNullable
14
+ GOOGLE_CLOUD_STORAGE = "GOOGLE_CLOUD_STORAGE".freeze
14
15
  GOOGLE_DRIVE = "GOOGLE_DRIVE".freeze
15
16
  NOTION = "NOTION".freeze
16
17
  NOTION_DATABASE = "NOTION_DATABASE".freeze
@@ -68,7 +69,7 @@ module Carbon
68
69
  EML = "EML".freeze
69
70
 
70
71
  def self.all_vars
71
- @all_vars ||= [GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
72
+ @all_vars ||= [GOOGLE_CLOUD_STORAGE, GOOGLE_DRIVE, NOTION, NOTION_DATABASE, INTERCOM, DROPBOX, ONEDRIVE, SHAREPOINT, CONFLUENCE, BOX, ZENDESK, ZOTERO, S3, GMAIL, OUTLOOK, TEXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, HTML, RAW_TEXT, WEB_SCRAPE, RSS_FEED, FRESHDESK, GITBOOK, SALESFORCE, GITHUB, SLACK, JPG, PNG, JPEG, MP3, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, MPEG, MPG, MP4, WMV, AVI, MOV, MKV, FLV, WEBM, EML].freeze
72
73
  end
73
74
 
74
75
  # Builds the enum from string
@@ -67,7 +67,7 @@ module Carbon
67
67
  # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
68
68
  attr_accessor :sync_source_items
69
69
 
70
- # Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
70
+ # Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
71
71
  attr_accessor :incremental_sync
72
72
 
73
73
  attr_accessor :file_sync_config
@@ -161,6 +161,7 @@ module Carbon
161
161
  :'sync_files_on_connection',
162
162
  :'data_source_id',
163
163
  :'connecting_new_account',
164
+ :'request_id',
164
165
  :'use_ocr',
165
166
  :'parse_pdf_tables_with_ocr',
166
167
  :'file_sync_config'
@@ -278,8 +279,6 @@ module Carbon
278
279
 
279
280
  if attributes.key?(:'request_id')
280
281
  self.request_id = attributes[:'request_id']
281
- else
282
- self.request_id = 'c4055754-ba2d-4f57-a990-6e990abbbd90'
283
282
  end
284
283
 
285
284
  if attributes.key?(:'use_ocr')
@@ -18,12 +18,16 @@ module Carbon
18
18
  # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
19
19
  attr_accessor :sync_source_items
20
20
 
21
+ # You can specify a Digital Ocean endpoint URL to connect a Digital Ocean Space through this endpoint. The URL should be of format <region>.digitaloceanspaces.com. It's not required for S3 buckets.
22
+ attr_accessor :endpoint_url
23
+
21
24
  # Attribute mapping from ruby-style variable name to JSON key.
22
25
  def self.attribute_map
23
26
  {
24
27
  :'access_key' => :'access_key',
25
28
  :'access_key_secret' => :'access_key_secret',
26
- :'sync_source_items' => :'sync_source_items'
29
+ :'sync_source_items' => :'sync_source_items',
30
+ :'endpoint_url' => :'endpoint_url'
27
31
  }
28
32
  end
29
33
 
@@ -37,13 +41,15 @@ module Carbon
37
41
  {
38
42
  :'access_key' => :'String',
39
43
  :'access_key_secret' => :'String',
40
- :'sync_source_items' => :'Boolean'
44
+ :'sync_source_items' => :'Boolean',
45
+ :'endpoint_url' => :'String'
41
46
  }
42
47
  end
43
48
 
44
49
  # List of attributes with nullable: true
45
50
  def self.openapi_nullable
46
51
  Set.new([
52
+ :'endpoint_url'
47
53
  ])
48
54
  end
49
55
 
@@ -75,6 +81,10 @@ module Carbon
75
81
  else
76
82
  self.sync_source_items = true
77
83
  end
84
+
85
+ if attributes.key?(:'endpoint_url')
86
+ self.endpoint_url = attributes[:'endpoint_url']
87
+ end
78
88
  end
79
89
 
80
90
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -107,7 +117,8 @@ module Carbon
107
117
  self.class == o.class &&
108
118
  access_key == o.access_key &&
109
119
  access_key_secret == o.access_key_secret &&
110
- sync_source_items == o.sync_source_items
120
+ sync_source_items == o.sync_source_items &&
121
+ endpoint_url == o.endpoint_url
111
122
  end
112
123
 
113
124
  # @see the `==` method
@@ -119,7 +130,7 @@ module Carbon
119
130
  # Calculates hash code according to all attributes.
120
131
  # @return [Integer] Hash code
121
132
  def hash
122
- [access_key, access_key_secret, sync_source_items].hash
133
+ [access_key, access_key_secret, sync_source_items, endpoint_url].hash
123
134
  end
124
135
 
125
136
  # Builds the object from hash
@@ -17,12 +17,16 @@ module Carbon
17
17
 
18
18
  attr_accessor :access_key_secret
19
19
 
20
+ # You can specify a Digital Ocean endpoint URL to connect a Digital Ocean Space through this endpoint. The URL should be of format <region>.digitaloceanspaces.com. It's not required for S3 buckets.
21
+ attr_accessor :endpoint_url
22
+
20
23
  # Attribute mapping from ruby-style variable name to JSON key.
21
24
  def self.attribute_map
22
25
  {
23
26
  :'source' => :'source',
24
27
  :'access_key' => :'access_key',
25
- :'access_key_secret' => :'access_key_secret'
28
+ :'access_key_secret' => :'access_key_secret',
29
+ :'endpoint_url' => :'endpoint_url'
26
30
  }
27
31
  end
28
32
 
@@ -36,7 +40,8 @@ module Carbon
36
40
  {
37
41
  :'source' => :'Object',
38
42
  :'access_key' => :'String',
39
- :'access_key_secret' => :'String'
43
+ :'access_key_secret' => :'String',
44
+ :'endpoint_url' => :'String'
40
45
  }
41
46
  end
42
47
 
@@ -44,6 +49,7 @@ module Carbon
44
49
  def self.openapi_nullable
45
50
  Set.new([
46
51
  :'source',
52
+ :'endpoint_url'
47
53
  ])
48
54
  end
49
55
 
@@ -73,6 +79,10 @@ module Carbon
73
79
  if attributes.key?(:'access_key_secret')
74
80
  self.access_key_secret = attributes[:'access_key_secret']
75
81
  end
82
+
83
+ if attributes.key?(:'endpoint_url')
84
+ self.endpoint_url = attributes[:'endpoint_url']
85
+ end
76
86
  end
77
87
 
78
88
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -105,7 +115,8 @@ module Carbon
105
115
  self.class == o.class &&
106
116
  source == o.source &&
107
117
  access_key == o.access_key &&
108
- access_key_secret == o.access_key_secret
118
+ access_key_secret == o.access_key_secret &&
119
+ endpoint_url == o.endpoint_url
109
120
  end
110
121
 
111
122
  # @see the `==` method
@@ -117,7 +128,7 @@ module Carbon
117
128
  # Calculates hash code according to all attributes.
118
129
  # @return [Integer] Hash code
119
130
  def hash
120
- [source, access_key, access_key_secret].hash
131
+ [source, access_key, access_key_secret, endpoint_url].hash
121
132
  end
122
133
 
123
134
  # Builds the object from hash
@@ -19,9 +19,10 @@ module Carbon
19
19
  GMAIL = "GMAIL".freeze
20
20
  OUTLOOK = "OUTLOOK".freeze
21
21
  SLACK = "SLACK".freeze
22
+ GOOGLE_CLOUD_STORAGE = "GOOGLE_CLOUD_STORAGE".freeze
22
23
 
23
24
  def self.all_vars
24
- @all_vars ||= [GOOGLE_DRIVE, INTERCOM, DROPBOX, ONEDRIVE, BOX, GMAIL, OUTLOOK, SLACK].freeze
25
+ @all_vars ||= [GOOGLE_DRIVE, INTERCOM, DROPBOX, ONEDRIVE, BOX, GMAIL, OUTLOOK, SLACK, GOOGLE_CLOUD_STORAGE].freeze
25
26
  end
26
27
 
27
28
  # Builds the enum from string
@@ -40,7 +40,7 @@ module Carbon
40
40
 
41
41
  attr_accessor :parse_pdf_tables_with_ocr
42
42
 
43
- # Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
43
+ # Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
44
44
  attr_accessor :incremental_sync
45
45
 
46
46
  attr_accessor :file_sync_config
@@ -105,6 +105,7 @@ module Carbon
105
105
  :'generate_sparse_vectors',
106
106
  :'prepend_filename_to_chunks',
107
107
  :'max_items_per_chunk',
108
+ :'request_id',
108
109
  :'use_ocr',
109
110
  :'parse_pdf_tables_with_ocr',
110
111
  :'file_sync_config'
@@ -186,8 +187,6 @@ module Carbon
186
187
 
187
188
  if attributes.key?(:'request_id')
188
189
  self.request_id = attributes[:'request_id']
189
- else
190
- self.request_id = '991e89b6-1e71-41e1-bdc4-4dd475f21696'
191
190
  end
192
191
 
193
192
  if attributes.key?(:'use_ocr')
@@ -40,7 +40,7 @@ module Carbon
40
40
  # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
41
41
  attr_accessor :sync_source_items
42
42
 
43
- # Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK. It will be ignored for other data sources.
43
+ # Only sync files if they have not already been synced or if the embedding properties have changed. This flag is currently supported by ONEDRIVE, GOOGLE_DRIVE, BOX, DROPBOX, INTERCOM, GMAIL, OUTLOOK, ZENDESK, CONFLUENCE, NOTION, SHAREPOINT. It will be ignored for other data sources.
44
44
  attr_accessor :incremental_sync
45
45
 
46
46
  attr_accessor :file_sync_config
@@ -104,6 +104,7 @@ module Carbon
104
104
  :'prepend_filename_to_chunks',
105
105
  :'max_items_per_chunk',
106
106
  :'sync_files_on_connection',
107
+ :'request_id',
107
108
  :'file_sync_config'
108
109
  ])
109
110
  end
@@ -181,8 +182,6 @@ module Carbon
181
182
 
182
183
  if attributes.key?(:'request_id')
183
184
  self.request_id = attributes[:'request_id']
184
- else
185
- self.request_id = 'f5e8c193-f7e1-4e45-9be5-6aa157dfe3c3'
186
185
  end
187
186
 
188
187
  if attributes.key?(:'enable_file_picker')
@@ -7,5 +7,5 @@ The version of the OpenAPI document: 1.0.0
7
7
  =end
8
8
 
9
9
  module Carbon
10
- VERSION = '0.2.18'
10
+ VERSION = '0.2.20'
11
11
  end
@@ -74,7 +74,7 @@ describe 'IntegrationsApi' do
74
74
 
75
75
  # unit tests for create_aws_iam_user
76
76
  # S3 Auth
77
- # Create a new IAM user with permissions to: &lt;ol&gt; &lt;li&gt;List all buckets.&lt;/li&gt; &lt;li&gt;Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry the same permissions.&lt;/li&gt; &lt;/ol&gt; Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand.
77
+ # This endpoint can be used to connect S3 as well as Digital Ocean Spaces (S3 compatible) For S3, create a new IAM user with permissions to: &lt;ol&gt; &lt;li&gt;List all buckets.&lt;/li&gt; &lt;li&gt;Read from the specific buckets and objects to sync with Carbon. Ensure any future buckets or objects carry the same permissions.&lt;/li&gt; &lt;/ol&gt; Once created, generate an access key for this user and share the credentials with us. We recommend testing this key beforehand. For Digital Ocean Spaces, generate the above credentials in your Applications and API page here https://cloud.digitalocean.com/account/api/spaces. Endpoint URL is required to connect Digital Ocean Spaces.
78
78
  # @param s3_auth_request
79
79
  # @param [Hash] opts the optional parameters
80
80
  # @return [OrganizationUserDataSourceAPI]
@@ -109,4 +109,10 @@ describe Carbon::AuthenticationProperty do
109
109
  end
110
110
  end
111
111
 
112
+ describe 'test attribute "endpoint_url"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
112
118
  end
@@ -37,4 +37,10 @@ describe Carbon::S3AuthRequest do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "endpoint_url"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
40
46
  end
@@ -37,4 +37,10 @@ describe Carbon::S3Authentication do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "endpoint_url"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
40
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carbon_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.18
4
+ version: 0.2.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-01 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -429,7 +429,7 @@ licenses:
429
429
  metadata:
430
430
  documentation_uri: https://github.com/Carbon-for-Developers/carbon-sdks/tree/main/ruby
431
431
  source_code_uri: https://github.com/Carbon-for-Developers/carbon-sdks/tree/main/ruby
432
- post_install_message:
432
+ post_install_message:
433
433
  rdoc_options: []
434
434
  require_paths:
435
435
  - lib
@@ -444,177 +444,177 @@ required_rubygems_version: !ruby/object:Gem::Requirement
444
444
  - !ruby/object:Gem::Version
445
445
  version: '0'
446
446
  requirements: []
447
- rubygems_version: 3.4.10
448
- signing_key:
447
+ rubygems_version: 3.2.5
448
+ signing_key:
449
449
  specification_version: 4
450
450
  summary: Carbon Ruby Gem
451
451
  test_files:
452
- - spec/api/auth_api_spec.rb
453
452
  - spec/api/organizations_api_spec.rb
453
+ - spec/api/utilities_api_spec.rb
454
454
  - spec/api/integrations_api_spec.rb
455
- - spec/api/webhooks_api_spec.rb
456
- - spec/api/files_api_spec.rb
457
- - spec/api/users_api_spec.rb
458
455
  - spec/api/embeddings_api_spec.rb
459
456
  - spec/api/data_sources_api_spec.rb
460
- - spec/api/utilities_api_spec.rb
457
+ - spec/api/webhooks_api_spec.rb
458
+ - spec/api/users_api_spec.rb
459
+ - spec/api/auth_api_spec.rb
460
+ - spec/api/files_api_spec.rb
461
461
  - spec/api_client_spec.rb
462
462
  - spec/configuration_spec.rb
463
463
  - spec/getting_started_spec.rb
464
+ - spec/models/resync_file_query_input_spec.rb
465
+ - spec/models/fresh_desk_connect_request_spec.rb
466
+ - spec/models/data_source_sync_statuses_spec.rb
467
+ - spec/models/organization_user_data_source_order_by_columns_spec.rb
464
468
  - spec/models/organization_user_data_source_api_spec.rb
469
+ - spec/models/list_users_filters_spec.rb
470
+ - spec/models/object_type_spec.rb
471
+ - spec/models/raw_transcript_property_inner_value_spec.rb
472
+ - spec/models/organization_user_data_source_query_input_spec.rb
473
+ - spec/models/ids_property_spec.rb
474
+ - spec/models/salesforce_authentication_spec.rb
475
+ - spec/models/white_labeling_response_spec.rb
476
+ - spec/models/update_users_input_spec.rb
477
+ - spec/models/data_source_type_nullable_spec.rb
478
+ - spec/models/sharepoint_authentication_spec.rb
479
+ - spec/models/connect_data_source_input_spec.rb
480
+ - spec/models/rank_property_spec.rb
481
+ - spec/models/validation_error_spec.rb
482
+ - spec/models/transcription_service_spec.rb
483
+ - spec/models/list_user_response_spec.rb
484
+ - spec/models/user_list_response_spec.rb
485
+ - spec/models/presigned_url_response_spec.rb
465
486
  - spec/models/user_response_spec.rb
487
+ - spec/models/sync_files_request_spec.rb
488
+ - spec/models/zotero_authentication_spec.rb
466
489
  - spec/models/sitemap_scrape_request_spec.rb
467
- - spec/models/organization_user_files_to_sync_order_by_types_spec.rb
468
- - spec/models/order_dir_spec.rb
469
- - spec/models/webhook_status_spec.rb
470
- - spec/models/external_source_item_spec.rb
471
- - spec/models/transcription_service_spec.rb
472
- - spec/models/organization_user_data_source_query_input_spec.rb
473
- - spec/models/organization_user_data_source_filters_spec.rb
474
490
  - spec/models/webhook_spec.rb
475
- - spec/models/data_source_type_spec.rb
476
- - spec/models/sync_files_request_spec.rb
477
- - spec/models/github_connect_request_spec.rb
478
- - spec/models/github_fetch_repos_request_spec.rb
479
- - spec/models/list_data_source_items_response_spec.rb
480
- - spec/models/github_authentication_spec.rb
481
- - spec/models/sent_webhook_request_body_spec.rb
482
- - spec/models/user_web_pages_filters_spec.rb
483
- - spec/models/chunk_properties_nullable_spec.rb
484
- - spec/models/gitbook_connect_request_spec.rb
485
- - spec/models/slack_sync_request_spec.rb
486
- - spec/models/token_response_spec.rb
491
+ - spec/models/webscrape_request_spec.rb
492
+ - spec/models/organization_user_file_tag_create_spec.rb
493
+ - spec/models/confluence_authentication_spec.rb
487
494
  - spec/models/sync_options_spec.rb
488
- - spec/models/file_formats_spec.rb
489
- - spec/models/update_organization_input_spec.rb
490
- - spec/models/rerank_params_nullable_spec.rb
491
- - spec/models/user_request_content_spec.rb
495
+ - spec/models/organization_user_data_source_response_spec.rb
496
+ - spec/models/revoke_access_token_input_spec.rb
497
+ - spec/models/file_statistics_spec.rb
498
+ - spec/models/sent_webhook_payload_object_object_id_spec.rb
492
499
  - spec/models/gmail_sync_input_spec.rb
493
- - spec/models/fetch_urls_request_spec.rb
494
- - spec/models/embedding_model_spec.rb
495
- - spec/models/delete_files_query_input_spec.rb
496
- - spec/models/webhook_query_input_spec.rb
497
- - spec/models/text_embedding_generators_spec.rb
498
- - spec/models/list_response_spec.rb
500
+ - spec/models/gitbook_authetication_spec.rb
501
+ - spec/models/connect_data_source_response_spec.rb
502
+ - spec/models/list_data_source_items_response_spec.rb
503
+ - spec/models/s3_auth_request_spec.rb
504
+ - spec/models/file_statistics_nullable_spec.rb
505
+ - spec/models/delete_users_input_spec.rb
506
+ - spec/models/user_web_page_order_by_types_spec.rb
507
+ - spec/models/transcription_service_nullable_spec.rb
508
+ - spec/models/embeddings_and_chunks_filters_spec.rb
509
+ - spec/models/embeddings_and_chunks_response_spec.rb
499
510
  - spec/models/hybrid_search_tuning_params_nullable_spec.rb
500
- - spec/models/youtube_transcript_response_spec.rb
511
+ - spec/models/single_chunks_and_embeddings_upload_input_spec.rb
512
+ - spec/models/user_files_v2_spec.rb
513
+ - spec/models/data_source_configuration_spec.rb
514
+ - spec/models/outlook_sync_input_spec.rb
515
+ - spec/models/sent_webhook_payload_object_additional_information_spec.rb
516
+ - spec/models/outh_url_response_spec.rb
517
+ - spec/models/slack_sync_request_spec.rb
518
+ - spec/models/organization_user_data_source_filters_spec.rb
519
+ - spec/models/user_file_spec.rb
520
+ - spec/models/get_embedding_documents_body_spec.rb
521
+ - spec/models/tags_spec.rb
522
+ - spec/models/github_authentication_spec.rb
523
+ - spec/models/webhook_status_spec.rb
524
+ - spec/models/rerank_params_spec.rb
525
+ - spec/models/organization_user_files_to_sync_filters_spec.rb
501
526
  - spec/models/o_auth_authentication_spec.rb
502
- - spec/models/file_content_types_nullable_spec.rb
503
- - spec/models/user_configuration_spec.rb
504
- - spec/models/zendesk_authentication_spec.rb
505
- - spec/models/sent_webhook_payload_object_object_id_spec.rb
506
- - spec/models/connect_data_source_response_spec.rb
527
+ - spec/models/modify_user_configuration_input_spec.rb
528
+ - spec/models/organization_response_spec.rb
507
529
  - spec/models/list_users_order_by_types_spec.rb
530
+ - spec/models/file_content_types_nullable_spec.rb
531
+ - spec/models/s3_file_sync_input_spec.rb
532
+ - spec/models/s3_authentication_spec.rb
508
533
  - spec/models/simple_o_auth_data_sources_spec.rb
509
- - spec/models/transcription_service_nullable_spec.rb
510
- - spec/models/add_webhook_props_spec.rb
511
- - spec/models/white_labeling_response_spec.rb
512
- - spec/models/single_chunks_and_embeddings_upload_input_spec.rb
513
- - spec/models/list_items_filters_spec.rb
514
534
  - spec/models/document_response_list_spec.rb
515
- - spec/models/list_data_source_items_request_spec.rb
516
- - spec/models/organization_user_data_source_response_spec.rb
517
- - spec/models/outlook_sync_input_spec.rb
518
- - spec/models/embedding_generators_spec.rb
519
- - spec/models/revoke_access_token_input_spec.rb
520
- - spec/models/o_auth_url_request_spec.rb
521
- - spec/models/authentication_property_spec.rb
522
- - spec/models/validation_error_spec.rb
523
- - spec/models/presigned_url_response_spec.rb
524
- - spec/models/user_web_pages_request_spec.rb
525
535
  - spec/models/webhook_order_by_columns_spec.rb
526
- - spec/models/user_files_v2_spec.rb
527
- - spec/models/embeddings_and_chunks_query_input_v2_spec.rb
528
- - spec/models/organization_user_files_to_sync_filters_spec.rb
529
- - spec/models/sent_webhook_payload_object_additional_information_spec.rb
530
- - spec/models/s3_auth_request_spec.rb
531
- - spec/models/sharepoint_authentication_spec.rb
532
- - spec/models/user_list_response_spec.rb
533
- - spec/models/zotero_authentication_spec.rb
534
- - spec/models/helpdesk_file_types_spec.rb
536
+ - spec/models/chunks_and_embeddings_spec.rb
537
+ - spec/models/sent_webhook_request_body_spec.rb
538
+ - spec/models/hybrid_search_tuning_params_spec.rb
539
+ - spec/models/github_fetch_repos_request_spec.rb
540
+ - spec/models/rerank_params_nullable_spec.rb
541
+ - spec/models/generic_success_response_spec.rb
542
+ - spec/models/data_source_last_sync_actions_spec.rb
535
543
  - spec/models/document_response_spec.rb
536
544
  - spec/models/file_sync_config_spec.rb
537
- - spec/models/data_source_last_sync_actions_spec.rb
538
- - spec/models/organization_user_file_tags_remove_spec.rb
539
- - spec/models/embedding_properties_spec.rb
540
- - spec/models/directory_item_spec.rb
541
- - spec/models/external_file_sync_statuses_spec.rb
542
- - spec/models/list_request_spec.rb
543
- - spec/models/webhook_filters_spec.rb
544
- - spec/models/ids_property_spec.rb
545
- - spec/models/body_create_upload_file_uploadfile_post_spec.rb
546
- - spec/models/gitbook_authetication_spec.rb
547
- - spec/models/location_property_inner_spec.rb
548
- - spec/models/update_users_input_spec.rb
549
- - spec/models/source_property_spec.rb
550
- - spec/models/object_type_spec.rb
551
- - spec/models/chunks_and_embeddings_spec.rb
552
- - spec/models/sync_files_ids_spec.rb
553
- - spec/models/s3_get_file_input_spec.rb
554
- - spec/models/user_web_page_order_by_types_spec.rb
555
- - spec/models/upload_file_from_url_input_spec.rb
556
- - spec/models/gitbook_sync_request_spec.rb
545
+ - spec/models/fetch_urls_request_spec.rb
546
+ - spec/models/add_webhook_props_spec.rb
557
547
  - spec/models/list_items_filters_nullable_spec.rb
558
- - spec/models/data_source_sync_statuses_spec.rb
559
- - spec/models/resync_file_query_input_spec.rb
560
- - spec/models/list_user_response_spec.rb
561
- - spec/models/modify_user_configuration_input_spec.rb
562
- - spec/models/organization_user_files_to_sync_query_input_spec.rb
548
+ - spec/models/list_response_spec.rb
549
+ - spec/models/raw_text_input_spec.rb
550
+ - spec/models/update_organization_input_spec.rb
551
+ - spec/models/list_items_filters_spec.rb
552
+ - spec/models/embedding_model_spec.rb
553
+ - spec/models/list_request_spec.rb
563
554
  - spec/models/chunk_properties_spec.rb
564
- - spec/models/fetch_urls_response_spec.rb
565
- - spec/models/data_source_type_nullable_spec.rb
566
- - spec/models/http_validation_error_spec.rb
567
- - spec/models/sent_webhook_payload_object_spec.rb
568
- - spec/models/embedding_and_chunk_spec.rb
569
- - spec/models/tags_spec.rb
570
- - spec/models/embeddings_and_chunks_query_input_spec.rb
555
+ - spec/models/delete_files_query_input_spec.rb
571
556
  - spec/models/external_source_items_order_by_spec.rb
572
- - spec/models/auto_sync_enabled_sources_property_spec.rb
557
+ - spec/models/slack_filters_spec.rb
558
+ - spec/models/user_web_pages_request_spec.rb
559
+ - spec/models/sent_webhook_payload_object_spec.rb
560
+ - spec/models/organization_user_files_to_sync_order_by_types_spec.rb
561
+ - spec/models/youtube_transcript_response_spec.rb
562
+ - spec/models/user_configuration_spec.rb
563
+ - spec/models/delete_files_v2_query_input_spec.rb
564
+ - spec/models/authentication_property_spec.rb
565
+ - spec/models/webhook_query_input_spec.rb
573
566
  - spec/models/pagination_spec.rb
574
- - spec/models/generic_success_response_spec.rb
575
- - spec/models/hybrid_search_tuning_params_spec.rb
576
- - spec/models/rank_property_spec.rb
577
- - spec/models/organization_response_spec.rb
578
- - spec/models/connect_data_source_input_spec.rb
579
- - spec/models/list_users_filters_spec.rb
567
+ - spec/models/embeddings_and_chunks_order_by_columns_spec.rb
568
+ - spec/models/webhook_query_response_spec.rb
569
+ - spec/models/embedding_generators_spec.rb
570
+ - spec/models/data_source_type_spec.rb
571
+ - spec/models/organization_user_file_tags_remove_spec.rb
572
+ - spec/models/sent_webhook_payload_spec.rb
580
573
  - spec/models/notion_authentication_spec.rb
581
- - spec/models/chunks_and_embeddings_upload_input_spec.rb
582
- - spec/models/organization_user_file_tag_create_spec.rb
583
- - spec/models/organization_user_data_source_order_by_columns_spec.rb
584
- - spec/models/custom_credentials_type_spec.rb
574
+ - spec/models/chunk_properties_nullable_spec.rb
575
+ - spec/models/freskdesk_authentication_spec.rb
576
+ - spec/models/external_source_item_spec.rb
577
+ - spec/models/external_file_sync_statuses_spec.rb
578
+ - spec/models/order_dir_spec.rb
585
579
  - spec/models/file_formats_nullable_spec.rb
586
- - spec/models/rerank_params_spec.rb
587
- - spec/models/s3_authentication_spec.rb
588
- - spec/models/slack_filters_spec.rb
589
- - spec/models/file_statistics_spec.rb
590
- - spec/models/confluence_authentication_spec.rb
591
- - spec/models/get_embedding_documents_body_spec.rb
592
- - spec/models/data_source_configuration_spec.rb
593
- - spec/models/tags1_spec.rb
594
- - spec/models/webscrape_request_spec.rb
595
- - spec/models/embeddings_and_chunks_response_spec.rb
596
- - spec/models/rss_feed_input_spec.rb
597
580
  - spec/models/embedding_generators_nullable_spec.rb
598
- - spec/models/file_content_types_spec.rb
599
- - spec/models/freskdesk_authentication_spec.rb
600
- - spec/models/fresh_desk_connect_request_spec.rb
601
- - spec/models/file_sync_config_nullable_spec.rb
602
- - spec/models/sent_webhook_payload_spec.rb
603
- - spec/models/embeddings_and_chunks_filters_spec.rb
581
+ - spec/models/user_configuration_nullable_spec.rb
582
+ - spec/models/webhook_filters_spec.rb
583
+ - spec/models/tags1_spec.rb
584
+ - spec/models/source_property_spec.rb
585
+ - spec/models/embeddings_and_chunks_query_input_spec.rb
586
+ - spec/models/body_create_upload_file_uploadfile_post_spec.rb
587
+ - spec/models/auto_sync_enabled_sources_property_spec.rb
588
+ - spec/models/file_formats_spec.rb
589
+ - spec/models/organization_user_files_to_sync_query_input_spec.rb
604
590
  - spec/models/list_users_request_spec.rb
605
- - spec/models/raw_transcript_property_inner_value_spec.rb
606
- - spec/models/delete_users_input_spec.rb
591
+ - spec/models/gitbook_sync_request_spec.rb
592
+ - spec/models/http_validation_error_spec.rb
593
+ - spec/models/embedding_and_chunk_spec.rb
594
+ - spec/models/embedding_properties_spec.rb
595
+ - spec/models/file_sync_config_nullable_spec.rb
596
+ - spec/models/fetch_urls_response_spec.rb
607
597
  - spec/models/webhook_no_key_spec.rb
608
- - spec/models/s3_file_sync_input_spec.rb
609
- - spec/models/outh_url_response_spec.rb
598
+ - spec/models/s3_get_file_input_spec.rb
599
+ - spec/models/zendesk_authentication_spec.rb
600
+ - spec/models/user_request_content_spec.rb
601
+ - spec/models/helpdesk_file_types_spec.rb
602
+ - spec/models/upload_file_from_url_input_spec.rb
603
+ - spec/models/file_content_types_spec.rb
610
604
  - spec/models/sync_directory_request_spec.rb
611
- - spec/models/file_statistics_nullable_spec.rb
612
- - spec/models/user_configuration_nullable_spec.rb
613
- - spec/models/embeddings_and_chunks_order_by_columns_spec.rb
614
- - spec/models/webhook_query_response_spec.rb
615
- - spec/models/user_file_spec.rb
616
- - spec/models/delete_files_v2_query_input_spec.rb
605
+ - spec/models/user_web_pages_filters_spec.rb
606
+ - spec/models/embeddings_and_chunks_query_input_v2_spec.rb
607
+ - spec/models/sync_files_ids_spec.rb
608
+ - spec/models/list_data_source_items_request_spec.rb
609
+ - spec/models/custom_credentials_type_spec.rb
610
+ - spec/models/rss_feed_input_spec.rb
611
+ - spec/models/directory_item_spec.rb
612
+ - spec/models/text_embedding_generators_spec.rb
617
613
  - spec/models/order_dir_v2_spec.rb
618
- - spec/models/raw_text_input_spec.rb
619
- - spec/models/salesforce_authentication_spec.rb
614
+ - spec/models/token_response_spec.rb
615
+ - spec/models/location_property_inner_spec.rb
616
+ - spec/models/chunks_and_embeddings_upload_input_spec.rb
617
+ - spec/models/github_connect_request_spec.rb
618
+ - spec/models/o_auth_url_request_spec.rb
619
+ - spec/models/gitbook_connect_request_spec.rb
620
620
  - spec/spec_helper.rb