carbon_ruby_sdk 0.2.42 → 0.2.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +135 -3
  4. data/lib/carbon_ruby_sdk/api/data_sources_api.rb +196 -0
  5. data/lib/carbon_ruby_sdk/api/files_api.rb +4 -4
  6. data/lib/carbon_ruby_sdk/api/integrations_api.rb +48 -16
  7. data/lib/carbon_ruby_sdk/api/users_api.rb +71 -0
  8. data/lib/carbon_ruby_sdk/models/add_data_source_tags_input.rb +234 -0
  9. data/lib/carbon_ruby_sdk/models/azure_blob_auth_request.rb +14 -4
  10. data/lib/carbon_ruby_sdk/models/cold_storage_props.rb +1 -1
  11. data/lib/carbon_ruby_sdk/models/external_source_item.rb +11 -1
  12. data/lib/carbon_ruby_sdk/models/fresh_desk_connect_request.rb +15 -5
  13. data/lib/carbon_ruby_sdk/models/gitbook_connect_request.rb +15 -5
  14. data/lib/carbon_ruby_sdk/models/github_connect_request.rb +14 -4
  15. data/lib/carbon_ruby_sdk/models/guru_connect_request.rb +15 -5
  16. data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +15 -5
  17. data/lib/carbon_ruby_sdk/models/organization_user_data_source_api.rb +15 -1
  18. data/lib/carbon_ruby_sdk/models/organization_user_data_source_filters.rb +12 -1
  19. data/lib/carbon_ruby_sdk/models/remove_data_source_tags_input.rb +242 -0
  20. data/lib/carbon_ruby_sdk/models/rss_feed_input.rb +15 -5
  21. data/lib/carbon_ruby_sdk/models/s3_auth_request.rb +15 -5
  22. data/lib/carbon_ruby_sdk/models/sync_options.rb +15 -5
  23. data/lib/carbon_ruby_sdk/models/user_response.rb +18 -4
  24. data/lib/carbon_ruby_sdk/models/white_labeling_response.rb +18 -4
  25. data/lib/carbon_ruby_sdk/version.rb +1 -1
  26. data/lib/carbon_ruby_sdk.rb +2 -0
  27. data/spec/api/data_sources_api_spec.rb +22 -0
  28. data/spec/api/files_api_spec.rb +1 -1
  29. data/spec/api/users_api_spec.rb +10 -0
  30. data/spec/models/add_data_source_tags_input_spec.rb +34 -0
  31. data/spec/models/azure_blob_auth_request_spec.rb +6 -0
  32. data/spec/models/external_source_item_spec.rb +6 -0
  33. data/spec/models/fresh_desk_connect_request_spec.rb +6 -0
  34. data/spec/models/gitbook_connect_request_spec.rb +6 -0
  35. data/spec/models/github_connect_request_spec.rb +6 -0
  36. data/spec/models/guru_connect_request_spec.rb +6 -0
  37. data/spec/models/o_auth_url_request_spec.rb +6 -0
  38. data/spec/models/organization_user_data_source_api_spec.rb +6 -0
  39. data/spec/models/organization_user_data_source_filters_spec.rb +6 -0
  40. data/spec/models/remove_data_source_tags_input_spec.rb +40 -0
  41. data/spec/models/rss_feed_input_spec.rb +6 -0
  42. data/spec/models/s3_auth_request_spec.rb +6 -0
  43. data/spec/models/sync_options_spec.rb +6 -0
  44. data/spec/models/user_response_spec.rb +6 -0
  45. data/spec/models/white_labeling_response_spec.rb +6 -0
  46. metadata +8 -2
@@ -0,0 +1,34 @@
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::AddDataSourceTagsInput
14
+ describe Carbon::AddDataSourceTagsInput do
15
+ let(:instance) { Carbon::AddDataSourceTagsInput.new }
16
+
17
+ describe 'test an instance of AddDataSourceTagsInput' do
18
+ it 'should create an instance of AddDataSourceTagsInput' do
19
+ expect(instance).to be_instance_of(Carbon::AddDataSourceTagsInput)
20
+ end
21
+ end
22
+ describe 'test attribute "tags"' 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 "data_source_id"' 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
@@ -37,4 +37,10 @@ describe Carbon::AzureBlobAuthRequest do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "data_source_tags"' 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
@@ -115,6 +115,12 @@ describe Carbon::ExternalSourceItem do
115
115
  end
116
116
  end
117
117
 
118
+ describe 'test attribute "file_format"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
118
124
  describe 'test attribute "created_at"' do
119
125
  it 'should work' do
120
126
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -97,4 +97,10 @@ describe Carbon::FreshDeskConnectRequest do
97
97
  end
98
98
  end
99
99
 
100
+ describe 'test attribute "data_source_tags"' 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
+
100
106
  end
@@ -97,4 +97,10 @@ describe Carbon::GitbookConnectRequest do
97
97
  end
98
98
  end
99
99
 
100
+ describe 'test attribute "data_source_tags"' 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
+
100
106
  end
@@ -37,4 +37,10 @@ describe Carbon::GithubConnectRequest do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "data_source_tags"' 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
@@ -97,4 +97,10 @@ describe Carbon::GuruConnectRequest do
97
97
  end
98
98
  end
99
99
 
100
+ describe 'test attribute "data_source_tags"' 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
+
100
106
  end
@@ -193,4 +193,10 @@ describe Carbon::OAuthURLRequest do
193
193
  end
194
194
  end
195
195
 
196
+ describe 'test attribute "data_source_tags"' do
197
+ it 'should work' do
198
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
199
+ end
200
+ end
201
+
196
202
  end
@@ -19,6 +19,12 @@ describe Carbon::OrganizationUserDataSourceAPI do
19
19
  expect(instance).to be_instance_of(Carbon::OrganizationUserDataSourceAPI)
20
20
  end
21
21
  end
22
+ describe 'test attribute "tags"' 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
+
22
28
  describe 'test attribute "id"' do
23
29
  it 'should work' do
24
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -19,6 +19,12 @@ describe Carbon::OrganizationUserDataSourceFilters do
19
19
  expect(instance).to be_instance_of(Carbon::OrganizationUserDataSourceFilters)
20
20
  end
21
21
  end
22
+ describe 'test attribute "tags"' 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
+
22
28
  describe 'test attribute "source"' do
23
29
  it 'should work' do
24
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,40 @@
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::RemoveDataSourceTagsInput
14
+ describe Carbon::RemoveDataSourceTagsInput do
15
+ let(:instance) { Carbon::RemoveDataSourceTagsInput.new }
16
+
17
+ describe 'test an instance of RemoveDataSourceTagsInput' do
18
+ it 'should create an instance of RemoveDataSourceTagsInput' do
19
+ expect(instance).to be_instance_of(Carbon::RemoveDataSourceTagsInput)
20
+ end
21
+ end
22
+ describe 'test attribute "data_source_id"' 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 "tags_to_remove"' 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
+ describe 'test attribute "remove_all_tags"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -73,4 +73,10 @@ describe Carbon::RSSFeedInput do
73
73
  end
74
74
  end
75
75
 
76
+ describe 'test attribute "data_source_tags"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
76
82
  end
@@ -43,4 +43,10 @@ describe Carbon::S3AuthRequest do
43
43
  end
44
44
  end
45
45
 
46
+ describe 'test attribute "data_source_tags"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
46
52
  end
@@ -115,4 +115,10 @@ describe Carbon::SyncOptions do
115
115
  end
116
116
  end
117
117
 
118
+ describe 'test attribute "data_source_tags"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
118
124
  end
@@ -133,4 +133,10 @@ describe Carbon::UserResponse do
133
133
  end
134
134
  end
135
135
 
136
+ describe 'test attribute "connector_settings"' do
137
+ it 'should work' do
138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
139
+ end
140
+ end
141
+
136
142
  end
@@ -37,4 +37,10 @@ describe Carbon::WhiteLabelingResponse do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "connector_settings"' 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.42
4
+ version: 0.2.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -106,6 +106,7 @@ files:
106
106
  - lib/carbon_ruby_sdk/models/accounts_order_by.rb
107
107
  - lib/carbon_ruby_sdk/models/accounts_order_by_nullable.rb
108
108
  - lib/carbon_ruby_sdk/models/accounts_request.rb
109
+ - lib/carbon_ruby_sdk/models/add_data_source_tags_input.rb
109
110
  - lib/carbon_ruby_sdk/models/add_webhook_props.rb
110
111
  - lib/carbon_ruby_sdk/models/address.rb
111
112
  - lib/carbon_ruby_sdk/models/authentication_property.rb
@@ -289,6 +290,7 @@ files:
289
290
  - lib/carbon_ruby_sdk/models/rank_property.rb
290
291
  - lib/carbon_ruby_sdk/models/raw_text_input.rb
291
292
  - lib/carbon_ruby_sdk/models/raw_transcript_property_inner_value.rb
293
+ - lib/carbon_ruby_sdk/models/remove_data_source_tags_input.rb
292
294
  - lib/carbon_ruby_sdk/models/rerank_params.rb
293
295
  - lib/carbon_ruby_sdk/models/rerank_params_nullable.rb
294
296
  - lib/carbon_ruby_sdk/models/resync_file_query_input.rb
@@ -384,6 +386,7 @@ files:
384
386
  - spec/models/accounts_order_by_nullable_spec.rb
385
387
  - spec/models/accounts_order_by_spec.rb
386
388
  - spec/models/accounts_request_spec.rb
389
+ - spec/models/add_data_source_tags_input_spec.rb
387
390
  - spec/models/add_webhook_props_spec.rb
388
391
  - spec/models/address_spec.rb
389
392
  - spec/models/authentication_property_spec.rb
@@ -567,6 +570,7 @@ files:
567
570
  - spec/models/rank_property_spec.rb
568
571
  - spec/models/raw_text_input_spec.rb
569
572
  - spec/models/raw_transcript_property_inner_value_spec.rb
573
+ - spec/models/remove_data_source_tags_input_spec.rb
570
574
  - spec/models/rerank_params_nullable_spec.rb
571
575
  - spec/models/rerank_params_spec.rb
572
576
  - spec/models/resync_file_query_input_spec.rb
@@ -926,6 +930,7 @@ test_files:
926
930
  - spec/models/sent_webhook_request_body_spec.rb
927
931
  - spec/models/transcription_service_spec.rb
928
932
  - spec/models/white_label_input_spec.rb
933
+ - spec/models/remove_data_source_tags_input_spec.rb
929
934
  - spec/models/http_validation_error_spec.rb
930
935
  - spec/models/white_label_create_request_inner_spec.rb
931
936
  - spec/models/validation_error_spec.rb
@@ -933,6 +938,7 @@ test_files:
933
938
  - spec/models/credentials_spec.rb
934
939
  - spec/models/delete_files_v2_query_input_spec.rb
935
940
  - spec/models/list_request_spec.rb
941
+ - spec/models/add_data_source_tags_input_spec.rb
936
942
  - spec/models/guru_connect_request_spec.rb
937
943
  - spec/models/user_configuration_nullable_spec.rb
938
944
  - spec/models/revoke_access_token_input_spec.rb