carbon_ruby_sdk 0.1.25 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +31 -7
- data/lib/carbon_ruby_sdk/api/embeddings_api.rb +1 -1
- data/lib/carbon_ruby_sdk/api/integrations_api.rb +24 -8
- data/lib/carbon_ruby_sdk/models/file_formats.rb +2 -1
- data/lib/carbon_ruby_sdk/models/file_formats_nullable.rb +2 -1
- data/lib/carbon_ruby_sdk/models/helpdesk_file_sync_config.rb +228 -0
- data/lib/carbon_ruby_sdk/models/helpdesk_file_sync_config_nullable.rb +229 -0
- data/lib/carbon_ruby_sdk/models/helpdesk_file_types.rb +36 -0
- data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +28 -6
- data/lib/carbon_ruby_sdk/models/organization_user_files_to_sync_filters.rb +16 -5
- data/lib/carbon_ruby_sdk/models/sync_files_request.rb +18 -6
- data/lib/carbon_ruby_sdk/models/sync_options.rb +27 -5
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- data/lib/carbon_ruby_sdk.rb +3 -0
- data/spec/models/helpdesk_file_sync_config_nullable_spec.rb +34 -0
- data/spec/models/helpdesk_file_sync_config_spec.rb +34 -0
- data/spec/models/helpdesk_file_types_spec.rb +22 -0
- data/spec/models/o_auth_url_request_spec.rb +12 -0
- data/spec/models/organization_user_files_to_sync_filters_spec.rb +6 -0
- data/spec/models/sync_files_request_spec.rb +6 -0
- data/spec/models/sync_options_spec.rb +12 -0
- metadata +11 -2
@@ -0,0 +1,22 @@
|
|
1
|
+
=begin
|
2
|
+
#Carbon
|
3
|
+
|
4
|
+
#Connect external data to LLMs, no matter the source.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
=end
|
8
|
+
|
9
|
+
require 'spec_helper'
|
10
|
+
require 'json'
|
11
|
+
require 'date'
|
12
|
+
|
13
|
+
# Unit tests for Carbon::HelpdeskFileTypes
|
14
|
+
describe Carbon::HelpdeskFileTypes do
|
15
|
+
let(:instance) { Carbon::HelpdeskFileTypes.new }
|
16
|
+
|
17
|
+
describe 'test an instance of HelpdeskFileTypes' do
|
18
|
+
it 'should create an instance of HelpdeskFileTypes' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::HelpdeskFileTypes)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -163,4 +163,16 @@ describe Carbon::OAuthURLRequest do
|
|
163
163
|
end
|
164
164
|
end
|
165
165
|
|
166
|
+
describe 'test attribute "incremental_sync"' do
|
167
|
+
it 'should work' do
|
168
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
describe 'test attribute "file_sync_config"' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
166
178
|
end
|
@@ -109,4 +109,10 @@ describe Carbon::OrganizationUserFilesToSyncFilters do
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
describe 'test attribute "include_containers"' 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
|
@@ -103,4 +103,10 @@ describe Carbon::SyncFilesRequest do
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
describe 'test attribute "incremental_sync"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
106
112
|
end
|
@@ -97,4 +97,16 @@ describe Carbon::SyncOptions do
|
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
100
|
+
describe 'test attribute "incremental_sync"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "file_sync_config"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
100
112
|
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.1.
|
4
|
+
version: 0.1.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -149,6 +149,9 @@ files:
|
|
149
149
|
- lib/carbon_ruby_sdk/models/github_connect_request.rb
|
150
150
|
- lib/carbon_ruby_sdk/models/github_fetch_repos_request.rb
|
151
151
|
- lib/carbon_ruby_sdk/models/gmail_sync_input.rb
|
152
|
+
- lib/carbon_ruby_sdk/models/helpdesk_file_sync_config.rb
|
153
|
+
- lib/carbon_ruby_sdk/models/helpdesk_file_sync_config_nullable.rb
|
154
|
+
- lib/carbon_ruby_sdk/models/helpdesk_file_types.rb
|
152
155
|
- lib/carbon_ruby_sdk/models/http_validation_error.rb
|
153
156
|
- lib/carbon_ruby_sdk/models/hybrid_search_tuning_params.rb
|
154
157
|
- lib/carbon_ruby_sdk/models/hybrid_search_tuning_params_nullable.rb
|
@@ -291,6 +294,9 @@ files:
|
|
291
294
|
- spec/models/github_connect_request_spec.rb
|
292
295
|
- spec/models/github_fetch_repos_request_spec.rb
|
293
296
|
- spec/models/gmail_sync_input_spec.rb
|
297
|
+
- spec/models/helpdesk_file_sync_config_nullable_spec.rb
|
298
|
+
- spec/models/helpdesk_file_sync_config_spec.rb
|
299
|
+
- spec/models/helpdesk_file_types_spec.rb
|
294
300
|
- spec/models/http_validation_error_spec.rb
|
295
301
|
- spec/models/hybrid_search_tuning_params_nullable_spec.rb
|
296
302
|
- spec/models/hybrid_search_tuning_params_spec.rb
|
@@ -463,6 +469,7 @@ test_files:
|
|
463
469
|
- spec/models/s3_auth_request_spec.rb
|
464
470
|
- spec/models/sharepoint_authentication_spec.rb
|
465
471
|
- spec/models/zotero_authentication_spec.rb
|
472
|
+
- spec/models/helpdesk_file_types_spec.rb
|
466
473
|
- spec/models/document_response_spec.rb
|
467
474
|
- spec/models/data_source_last_sync_actions_spec.rb
|
468
475
|
- spec/models/organization_user_file_tags_remove_spec.rb
|
@@ -490,6 +497,7 @@ test_files:
|
|
490
497
|
- spec/models/chunk_properties_spec.rb
|
491
498
|
- spec/models/fetch_urls_response_spec.rb
|
492
499
|
- spec/models/data_source_type_nullable_spec.rb
|
500
|
+
- spec/models/helpdesk_file_sync_config_spec.rb
|
493
501
|
- spec/models/http_validation_error_spec.rb
|
494
502
|
- spec/models/embedding_and_chunk_spec.rb
|
495
503
|
- spec/models/tags_spec.rb
|
@@ -522,6 +530,7 @@ test_files:
|
|
522
530
|
- spec/models/fresh_desk_connect_request_spec.rb
|
523
531
|
- spec/models/embeddings_and_chunks_filters_spec.rb
|
524
532
|
- spec/models/raw_transcript_property_inner_value_spec.rb
|
533
|
+
- spec/models/helpdesk_file_sync_config_nullable_spec.rb
|
525
534
|
- spec/models/delete_users_input_spec.rb
|
526
535
|
- spec/models/webhook_no_key_spec.rb
|
527
536
|
- spec/models/s3_file_sync_input_spec.rb
|