carbon_ruby_sdk 0.1.32 → 0.1.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +41 -13
  4. data/lib/carbon_ruby_sdk/api/integrations_api.rb +42 -22
  5. data/lib/carbon_ruby_sdk/models/data_source_type.rb +2 -1
  6. data/lib/carbon_ruby_sdk/models/data_source_type_nullable.rb +2 -1
  7. data/lib/carbon_ruby_sdk/models/fetch_urls_response.rb +14 -4
  8. data/lib/carbon_ruby_sdk/models/{helpdesk_file_sync_config.rb → file_sync_config.rb} +28 -14
  9. data/lib/carbon_ruby_sdk/models/{helpdesk_file_sync_config_nullable.rb → file_sync_config_nullable.rb} +28 -14
  10. data/lib/carbon_ruby_sdk/models/fresh_desk_connect_request.rb +1 -1
  11. data/lib/carbon_ruby_sdk/models/gmail_sync_input.rb +26 -5
  12. data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +3 -3
  13. data/lib/carbon_ruby_sdk/models/outlook_sync_input.rb +26 -5
  14. data/lib/carbon_ruby_sdk/models/s3_file_sync_input.rb +15 -5
  15. data/lib/carbon_ruby_sdk/models/sync_files_request.rb +2 -2
  16. data/lib/carbon_ruby_sdk/models/sync_options.rb +2 -2
  17. data/lib/carbon_ruby_sdk/models/user_file.rb +15 -11
  18. data/lib/carbon_ruby_sdk/version.rb +1 -1
  19. data/lib/carbon_ruby_sdk.rb +2 -4
  20. data/spec/models/fetch_urls_response_spec.rb +6 -0
  21. data/spec/models/file_sync_config_nullable_spec.rb +40 -0
  22. data/spec/models/file_sync_config_spec.rb +40 -0
  23. data/spec/models/gmail_sync_input_spec.rb +12 -0
  24. data/spec/models/outlook_sync_input_spec.rb +12 -0
  25. data/spec/models/s3_file_sync_input_spec.rb +6 -0
  26. data/spec/models/user_file_spec.rb +2 -2
  27. metadata +8 -14
  28. data/lib/carbon_ruby_sdk/models/helpdesk_global_file_sync_config.rb +0 -217
  29. data/lib/carbon_ruby_sdk/models/helpdesk_global_file_sync_config_nullable.rb +0 -218
  30. data/spec/models/helpdesk_file_sync_config_nullable_spec.rb +0 -34
  31. data/spec/models/helpdesk_file_sync_config_spec.rb +0 -34
  32. data/spec/models/helpdesk_global_file_sync_config_nullable_spec.rb +0 -28
  33. data/spec/models/helpdesk_global_file_sync_config_spec.rb +0 -28
@@ -1,34 +0,0 @@
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::HelpdeskFileSyncConfigNullable
14
- describe Carbon::HelpdeskFileSyncConfigNullable do
15
- let(:instance) { Carbon::HelpdeskFileSyncConfigNullable.new }
16
-
17
- describe 'test an instance of HelpdeskFileSyncConfigNullable' do
18
- it 'should create an instance of HelpdeskFileSyncConfigNullable' do
19
- expect(instance).to be_instance_of(Carbon::HelpdeskFileSyncConfigNullable)
20
- end
21
- end
22
- describe 'test attribute "file_types"' do
23
- it 'should work' do
24
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
- end
26
- end
27
-
28
- describe 'test attribute "sync_attachments"' do
29
- it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- end
32
- end
33
-
34
- end
@@ -1,34 +0,0 @@
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::HelpdeskFileSyncConfig
14
- describe Carbon::HelpdeskFileSyncConfig do
15
- let(:instance) { Carbon::HelpdeskFileSyncConfig.new }
16
-
17
- describe 'test an instance of HelpdeskFileSyncConfig' do
18
- it 'should create an instance of HelpdeskFileSyncConfig' do
19
- expect(instance).to be_instance_of(Carbon::HelpdeskFileSyncConfig)
20
- end
21
- end
22
- describe 'test attribute "file_types"' do
23
- it 'should work' do
24
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
- end
26
- end
27
-
28
- describe 'test attribute "sync_attachments"' do
29
- it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- end
32
- end
33
-
34
- end
@@ -1,28 +0,0 @@
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::HelpdeskGlobalFileSyncConfigNullable
14
- describe Carbon::HelpdeskGlobalFileSyncConfigNullable do
15
- let(:instance) { Carbon::HelpdeskGlobalFileSyncConfigNullable.new }
16
-
17
- describe 'test an instance of HelpdeskGlobalFileSyncConfigNullable' do
18
- it 'should create an instance of HelpdeskGlobalFileSyncConfigNullable' do
19
- expect(instance).to be_instance_of(Carbon::HelpdeskGlobalFileSyncConfigNullable)
20
- end
21
- end
22
- describe 'test attribute "sync_attachments"' do
23
- it 'should work' do
24
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
- end
26
- end
27
-
28
- end
@@ -1,28 +0,0 @@
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::HelpdeskGlobalFileSyncConfig
14
- describe Carbon::HelpdeskGlobalFileSyncConfig do
15
- let(:instance) { Carbon::HelpdeskGlobalFileSyncConfig.new }
16
-
17
- describe 'test an instance of HelpdeskGlobalFileSyncConfig' do
18
- it 'should create an instance of HelpdeskGlobalFileSyncConfig' do
19
- expect(instance).to be_instance_of(Carbon::HelpdeskGlobalFileSyncConfig)
20
- end
21
- end
22
- describe 'test attribute "sync_attachments"' do
23
- it 'should work' do
24
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
- end
26
- end
27
-
28
- end