carbon_ruby_sdk 0.2.18 → 0.2.19

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: 95f581b191a1ac4df7f158fa8ab692fe1056150fc2de70657f5dfd3562f1b77b
4
+ data.tar.gz: 652b517db6dbe9e474f2a2e76b77205fbd67176daea3afa3b28ec32186727c88
5
5
  SHA512:
6
- metadata.gz: 610cc7b260e629e544ae15e90b0120276403d5beb06936613b6cc7956272a3761c596ad8d8cb34ad2d91b66b1ba55ebdf25fcf2606139ea3976eae842bb98823
7
- data.tar.gz: 8d082ccc3c69fe4b64f47462f3b97cfab0ea508b2cba1cac9db5efc4975461f823d40c39a5ce9e610d09a3ab37a20397770fd6d634c7bb54c32d24587ab2b32a
6
+ metadata.gz: 8de8c90a61acc9f1a4d85341ae9e2dcae84ba5879a675e96e39ef2f3da4cb5b4e8d4b7f04ab172f2dc38a8a460ecd22da17f4de14befafa7a6621c50dd56350e
7
+ data.tar.gz: de9de5613a5f71f9a4fd2c0145be4332cf038ede8acb0c997ffb3b9fe38ee360edd5407db509e11afd07d261824f8507dc1f4ea392010e62a7a30810e2158a94
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.19)
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.0)
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.19-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.19)
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.19'
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,
@@ -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,
@@ -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,
@@ -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
@@ -659,7 +669,7 @@ module Carbon
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
@@ -727,7 +737,7 @@ module Carbon
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
@@ -1646,7 +1656,7 @@ module Carbon
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
@@ -1696,7 +1706,7 @@ module Carbon
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
@@ -1904,7 +1914,7 @@ module Carbon
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
@@ -1952,7 +1962,7 @@ module Carbon
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
@@ -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
@@ -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')
@@ -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.19'
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.19
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-07 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/utilities_api_spec.rb
453
+ - spec/api/users_api_spec.rb
452
454
  - spec/api/auth_api_spec.rb
455
+ - spec/api/webhooks_api_spec.rb
453
456
  - spec/api/organizations_api_spec.rb
454
457
  - spec/api/integrations_api_spec.rb
455
- - spec/api/webhooks_api_spec.rb
456
458
  - spec/api/files_api_spec.rb
457
- - spec/api/users_api_spec.rb
458
- - spec/api/embeddings_api_spec.rb
459
459
  - spec/api/data_sources_api_spec.rb
460
- - spec/api/utilities_api_spec.rb
460
+ - spec/api/embeddings_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/organization_user_data_source_api_spec.rb
465
- - spec/models/user_response_spec.rb
466
- - 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
- - 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
464
  - spec/models/token_response_spec.rb
487
- - 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
492
- - spec/models/gmail_sync_input_spec.rb
465
+ - spec/models/s3_authentication_spec.rb
466
+ - spec/models/confluence_authentication_spec.rb
467
+ - spec/models/delete_users_input_spec.rb
468
+ - spec/models/user_configuration_spec.rb
469
+ - spec/models/notion_authentication_spec.rb
470
+ - spec/models/sync_files_ids_spec.rb
471
+ - spec/models/update_users_input_spec.rb
472
+ - spec/models/user_configuration_nullable_spec.rb
473
+ - spec/models/webhook_filters_spec.rb
474
+ - spec/models/list_users_request_spec.rb
475
+ - spec/models/s3_get_file_input_spec.rb
493
476
  - spec/models/fetch_urls_request_spec.rb
494
- - spec/models/embedding_model_spec.rb
495
- - spec/models/delete_files_query_input_spec.rb
477
+ - spec/models/o_auth_url_request_spec.rb
496
478
  - spec/models/webhook_query_input_spec.rb
497
- - spec/models/text_embedding_generators_spec.rb
498
- - spec/models/list_response_spec.rb
479
+ - spec/models/presigned_url_response_spec.rb
480
+ - spec/models/upload_file_from_url_input_spec.rb
499
481
  - spec/models/hybrid_search_tuning_params_nullable_spec.rb
500
- - spec/models/youtube_transcript_response_spec.rb
501
- - spec/models/o_auth_authentication_spec.rb
502
- - spec/models/file_content_types_nullable_spec.rb
503
- - spec/models/user_configuration_spec.rb
504
482
  - 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
507
- - spec/models/list_users_order_by_types_spec.rb
508
- - 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
- - 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
483
+ - spec/models/embeddings_and_chunks_response_spec.rb
484
+ - spec/models/source_property_spec.rb
485
+ - spec/models/external_source_item_spec.rb
486
+ - spec/models/list_request_spec.rb
525
487
  - 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
488
+ - spec/models/chunks_and_embeddings_spec.rb
489
+ - spec/models/webhook_status_spec.rb
490
+ - spec/models/list_users_order_by_types_spec.rb
491
+ - spec/models/gitbook_sync_request_spec.rb
534
492
  - spec/models/helpdesk_file_types_spec.rb
535
- - spec/models/document_response_spec.rb
536
- - spec/models/file_sync_config_spec.rb
537
- - spec/models/data_source_last_sync_actions_spec.rb
493
+ - spec/models/raw_transcript_property_inner_value_spec.rb
494
+ - spec/models/outh_url_response_spec.rb
495
+ - spec/models/github_connect_request_spec.rb
538
496
  - 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
497
+ - spec/models/embedding_generators_nullable_spec.rb
498
+ - spec/models/webscrape_request_spec.rb
499
+ - spec/models/file_formats_spec.rb
500
+ - spec/models/rerank_params_nullable_spec.rb
501
+ - spec/models/chunk_properties_spec.rb
502
+ - spec/models/outlook_sync_input_spec.rb
503
+ - spec/models/single_chunks_and_embeddings_upload_input_spec.rb
504
+ - spec/models/embedding_generators_spec.rb
505
+ - spec/models/sent_webhook_payload_spec.rb
506
+ - spec/models/embeddings_and_chunks_filters_spec.rb
547
507
  - 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
508
  - 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
557
- - 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
509
+ - spec/models/data_source_type_nullable_spec.rb
560
510
  - spec/models/list_user_response_spec.rb
511
+ - spec/models/transcription_service_nullable_spec.rb
512
+ - spec/models/data_source_type_spec.rb
513
+ - spec/models/chunk_properties_nullable_spec.rb
514
+ - spec/models/youtube_transcript_response_spec.rb
515
+ - spec/models/github_authentication_spec.rb
516
+ - spec/models/gmail_sync_input_spec.rb
517
+ - spec/models/list_response_spec.rb
518
+ - spec/models/generic_success_response_spec.rb
519
+ - spec/models/sent_webhook_request_body_spec.rb
520
+ - spec/models/delete_files_v2_query_input_spec.rb
521
+ - spec/models/text_embedding_generators_spec.rb
522
+ - spec/models/auto_sync_enabled_sources_property_spec.rb
523
+ - spec/models/pagination_spec.rb
561
524
  - spec/models/modify_user_configuration_input_spec.rb
562
- - spec/models/organization_user_files_to_sync_query_input_spec.rb
563
- - spec/models/chunk_properties_spec.rb
525
+ - spec/models/embeddings_and_chunks_query_input_v2_spec.rb
526
+ - spec/models/authentication_property_spec.rb
527
+ - spec/models/sync_options_spec.rb
528
+ - spec/models/user_list_response_spec.rb
529
+ - spec/models/slack_sync_request_spec.rb
530
+ - spec/models/transcription_service_spec.rb
531
+ - spec/models/user_web_pages_request_spec.rb
532
+ - spec/models/data_source_last_sync_actions_spec.rb
533
+ - spec/models/ids_property_spec.rb
534
+ - spec/models/file_content_types_spec.rb
564
535
  - spec/models/fetch_urls_response_spec.rb
565
- - spec/models/data_source_type_nullable_spec.rb
536
+ - spec/models/list_data_source_items_request_spec.rb
537
+ - spec/models/external_source_items_order_by_spec.rb
538
+ - spec/models/sync_directory_request_spec.rb
539
+ - spec/models/s3_auth_request_spec.rb
540
+ - spec/models/validation_error_spec.rb
541
+ - spec/models/rank_property_spec.rb
542
+ - spec/models/document_response_list_spec.rb
543
+ - spec/models/gitbook_authetication_spec.rb
544
+ - spec/models/file_sync_config_nullable_spec.rb
545
+ - spec/models/file_formats_nullable_spec.rb
546
+ - spec/models/sitemap_scrape_request_spec.rb
566
547
  - spec/models/http_validation_error_spec.rb
548
+ - spec/models/body_create_upload_file_uploadfile_post_spec.rb
549
+ - spec/models/webhook_no_key_spec.rb
550
+ - spec/models/data_source_configuration_spec.rb
551
+ - spec/models/update_organization_input_spec.rb
552
+ - spec/models/resync_file_query_input_spec.rb
553
+ - spec/models/fresh_desk_connect_request_spec.rb
554
+ - spec/models/external_file_sync_statuses_spec.rb
555
+ - spec/models/order_dir_v2_spec.rb
556
+ - spec/models/organization_user_files_to_sync_order_by_types_spec.rb
557
+ - spec/models/user_request_content_spec.rb
558
+ - spec/models/list_users_filters_spec.rb
559
+ - spec/models/slack_filters_spec.rb
560
+ - spec/models/order_dir_spec.rb
561
+ - spec/models/file_sync_config_spec.rb
562
+ - spec/models/add_webhook_props_spec.rb
563
+ - spec/models/organization_user_files_to_sync_filters_spec.rb
564
+ - spec/models/organization_user_data_source_api_spec.rb
565
+ - spec/models/organization_user_data_source_query_input_spec.rb
566
+ - spec/models/rss_feed_input_spec.rb
567
+ - spec/models/custom_credentials_type_spec.rb
568
+ - spec/models/webhook_query_response_spec.rb
567
569
  - spec/models/sent_webhook_payload_object_spec.rb
570
+ - spec/models/file_statistics_spec.rb
571
+ - spec/models/user_file_spec.rb
572
+ - spec/models/object_type_spec.rb
568
573
  - spec/models/embedding_and_chunk_spec.rb
569
- - spec/models/tags_spec.rb
574
+ - spec/models/raw_text_input_spec.rb
575
+ - spec/models/sent_webhook_payload_object_object_id_spec.rb
576
+ - spec/models/o_auth_authentication_spec.rb
577
+ - spec/models/organization_user_data_source_response_spec.rb
578
+ - spec/models/delete_files_query_input_spec.rb
579
+ - spec/models/white_labeling_response_spec.rb
580
+ - spec/models/list_data_source_items_response_spec.rb
581
+ - spec/models/github_fetch_repos_request_spec.rb
570
582
  - spec/models/embeddings_and_chunks_query_input_spec.rb
571
- - spec/models/external_source_items_order_by_spec.rb
572
- - spec/models/auto_sync_enabled_sources_property_spec.rb
573
- - spec/models/pagination_spec.rb
574
- - spec/models/generic_success_response_spec.rb
583
+ - spec/models/file_content_types_nullable_spec.rb
584
+ - spec/models/zotero_authentication_spec.rb
585
+ - spec/models/sharepoint_authentication_spec.rb
575
586
  - 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
580
- - 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
587
+ - spec/models/tags_spec.rb
588
+ - spec/models/webhook_spec.rb
589
+ - spec/models/sent_webhook_payload_object_additional_information_spec.rb
590
+ - spec/models/tags1_spec.rb
583
591
  - spec/models/organization_user_data_source_order_by_columns_spec.rb
584
- - spec/models/custom_credentials_type_spec.rb
585
- - spec/models/file_formats_nullable_spec.rb
592
+ - spec/models/data_source_sync_statuses_spec.rb
593
+ - spec/models/embedding_properties_spec.rb
594
+ - spec/models/salesforce_authentication_spec.rb
586
595
  - 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
596
+ - spec/models/chunks_and_embeddings_upload_input_spec.rb
597
+ - spec/models/user_files_v2_spec.rb
598
+ - spec/models/list_items_filters_nullable_spec.rb
599
+ - spec/models/document_response_spec.rb
600
+ - spec/models/list_items_filters_spec.rb
601
+ - spec/models/embeddings_and_chunks_order_by_columns_spec.rb
591
602
  - 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
- - spec/models/embedding_generators_nullable_spec.rb
598
- - spec/models/file_content_types_spec.rb
603
+ - spec/models/embedding_model_spec.rb
604
+ - spec/models/simple_o_auth_data_sources_spec.rb
599
605
  - 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
604
- - 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
607
- - spec/models/webhook_no_key_spec.rb
606
+ - spec/models/organization_user_files_to_sync_query_input_spec.rb
607
+ - spec/models/user_response_spec.rb
608
+ - spec/models/directory_item_spec.rb
609
+ - spec/models/revoke_access_token_input_spec.rb
610
+ - spec/models/user_web_pages_filters_spec.rb
608
611
  - spec/models/s3_file_sync_input_spec.rb
609
- - spec/models/outh_url_response_spec.rb
610
- - spec/models/sync_directory_request_spec.rb
612
+ - spec/models/organization_user_data_source_filters_spec.rb
613
+ - spec/models/organization_user_file_tag_create_spec.rb
614
+ - spec/models/organization_response_spec.rb
615
+ - spec/models/connect_data_source_response_spec.rb
616
+ - spec/models/connect_data_source_input_spec.rb
617
+ - spec/models/gitbook_connect_request_spec.rb
611
618
  - 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
617
- - spec/models/order_dir_v2_spec.rb
618
- - spec/models/raw_text_input_spec.rb
619
- - spec/models/salesforce_authentication_spec.rb
619
+ - spec/models/sync_files_request_spec.rb
620
620
  - spec/spec_helper.rb