carbon_ruby_sdk 0.1.10 → 0.1.12
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 +44 -2
- data/lib/carbon_ruby_sdk/api/files_api.rb +96 -0
- data/lib/carbon_ruby_sdk/api/integrations_api.rb +6 -2
- data/lib/carbon_ruby_sdk/models/delete_files_v2_query_input.rb +226 -0
- data/lib/carbon_ruby_sdk/models/external_source_item.rb +11 -1
- data/lib/carbon_ruby_sdk/models/list_data_source_items_request.rb +11 -1
- data/lib/carbon_ruby_sdk/models/list_items_filters.rb +250 -0
- data/lib/carbon_ruby_sdk/models/list_items_filters_nullable.rb +250 -0
- data/lib/carbon_ruby_sdk/models/organization_user_files_to_sync_filters.rb +37 -5
- data/lib/carbon_ruby_sdk/models/organization_user_files_to_sync_order_by_types.rb +2 -1
- data/lib/carbon_ruby_sdk/models/source_property.rb +1 -0
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- data/lib/carbon_ruby_sdk.rb +3 -0
- data/spec/api/files_api_spec.rb +11 -0
- data/spec/models/delete_files_v2_query_input_spec.rb +34 -0
- data/spec/models/external_source_item_spec.rb +6 -0
- data/spec/models/list_data_source_items_request_spec.rb +6 -0
- data/spec/models/list_items_filters_nullable_spec.rb +46 -0
- data/spec/models/list_items_filters_spec.rb +46 -0
- data/spec/models/organization_user_files_to_sync_filters_spec.rb +12 -0
- metadata +11 -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::DeleteFilesV2QueryInput
|
14
|
+
describe Carbon::DeleteFilesV2QueryInput do
|
15
|
+
let(:instance) { Carbon::DeleteFilesV2QueryInput.new }
|
16
|
+
|
17
|
+
describe 'test an instance of DeleteFilesV2QueryInput' do
|
18
|
+
it 'should create an instance of DeleteFilesV2QueryInput' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::DeleteFilesV2QueryInput)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
describe 'test attribute "filters"' 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 "send_webhook"' 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
|
@@ -109,6 +109,12 @@ describe Carbon::ExternalSourceItem do
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
describe 'test attribute "external_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
|
describe 'test attribute "created_at"' do
|
113
119
|
it 'should work' do
|
114
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -31,6 +31,12 @@ describe Carbon::ListDataSourceItemsRequest do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'test attribute "filters"' 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
|
+
|
34
40
|
describe 'test attribute "pagination"' do
|
35
41
|
it 'should work' do
|
36
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,46 @@
|
|
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::ListItemsFiltersNullable
|
14
|
+
describe Carbon::ListItemsFiltersNullable do
|
15
|
+
let(:instance) { Carbon::ListItemsFiltersNullable.new }
|
16
|
+
|
17
|
+
describe 'test an instance of ListItemsFiltersNullable' do
|
18
|
+
it 'should create an instance of ListItemsFiltersNullable' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::ListItemsFiltersNullable)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
describe 'test attribute "external_ids"' 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 "ids"' 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 "name"' 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
|
+
describe 'test attribute "root_files_only"' 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
|
+
|
46
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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::ListItemsFilters
|
14
|
+
describe Carbon::ListItemsFilters do
|
15
|
+
let(:instance) { Carbon::ListItemsFilters.new }
|
16
|
+
|
17
|
+
describe 'test an instance of ListItemsFilters' do
|
18
|
+
it 'should create an instance of ListItemsFilters' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::ListItemsFilters)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
describe 'test attribute "external_ids"' 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 "ids"' 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 "name"' 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
|
+
describe 'test attribute "root_files_only"' 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
|
+
|
46
|
+
end
|
@@ -85,4 +85,16 @@ describe Carbon::OrganizationUserFilesToSyncFilters do
|
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
|
+
describe 'test attribute "include_all_children"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "non_synced_only"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
88
100
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- lib/carbon_ruby_sdk/models/data_source_type.rb
|
115
115
|
- lib/carbon_ruby_sdk/models/data_source_type_nullable.rb
|
116
116
|
- lib/carbon_ruby_sdk/models/delete_files_query_input.rb
|
117
|
+
- lib/carbon_ruby_sdk/models/delete_files_v2_query_input.rb
|
117
118
|
- lib/carbon_ruby_sdk/models/delete_users_input.rb
|
118
119
|
- lib/carbon_ruby_sdk/models/directory_item.rb
|
119
120
|
- lib/carbon_ruby_sdk/models/document_response.rb
|
@@ -149,6 +150,8 @@ files:
|
|
149
150
|
- lib/carbon_ruby_sdk/models/ids_property.rb
|
150
151
|
- lib/carbon_ruby_sdk/models/list_data_source_items_request.rb
|
151
152
|
- lib/carbon_ruby_sdk/models/list_data_source_items_response.rb
|
153
|
+
- lib/carbon_ruby_sdk/models/list_items_filters.rb
|
154
|
+
- lib/carbon_ruby_sdk/models/list_items_filters_nullable.rb
|
152
155
|
- lib/carbon_ruby_sdk/models/list_request.rb
|
153
156
|
- lib/carbon_ruby_sdk/models/list_response.rb
|
154
157
|
- lib/carbon_ruby_sdk/models/location_property_inner.rb
|
@@ -244,6 +247,7 @@ files:
|
|
244
247
|
- spec/models/data_source_type_nullable_spec.rb
|
245
248
|
- spec/models/data_source_type_spec.rb
|
246
249
|
- spec/models/delete_files_query_input_spec.rb
|
250
|
+
- spec/models/delete_files_v2_query_input_spec.rb
|
247
251
|
- spec/models/delete_users_input_spec.rb
|
248
252
|
- spec/models/directory_item_spec.rb
|
249
253
|
- spec/models/document_response_list_spec.rb
|
@@ -279,6 +283,8 @@ files:
|
|
279
283
|
- spec/models/ids_property_spec.rb
|
280
284
|
- spec/models/list_data_source_items_request_spec.rb
|
281
285
|
- spec/models/list_data_source_items_response_spec.rb
|
286
|
+
- spec/models/list_items_filters_nullable_spec.rb
|
287
|
+
- spec/models/list_items_filters_spec.rb
|
282
288
|
- spec/models/list_request_spec.rb
|
283
289
|
- spec/models/list_response_spec.rb
|
284
290
|
- spec/models/location_property_inner_spec.rb
|
@@ -417,6 +423,7 @@ test_files:
|
|
417
423
|
- spec/models/add_webhook_props_spec.rb
|
418
424
|
- spec/models/white_labeling_response_spec.rb
|
419
425
|
- spec/models/single_chunks_and_embeddings_upload_input_spec.rb
|
426
|
+
- spec/models/list_items_filters_spec.rb
|
420
427
|
- spec/models/document_response_list_spec.rb
|
421
428
|
- spec/models/list_data_source_items_request_spec.rb
|
422
429
|
- spec/models/organization_user_data_source_response_spec.rb
|
@@ -452,6 +459,7 @@ test_files:
|
|
452
459
|
- spec/models/s3_get_file_input_spec.rb
|
453
460
|
- spec/models/upload_file_from_url_input_spec.rb
|
454
461
|
- spec/models/gitbook_sync_request_spec.rb
|
462
|
+
- spec/models/list_items_filters_nullable_spec.rb
|
455
463
|
- spec/models/data_source_sync_statuses_spec.rb
|
456
464
|
- spec/models/resync_file_query_input_spec.rb
|
457
465
|
- spec/models/modify_user_configuration_input_spec.rb
|
@@ -498,6 +506,7 @@ test_files:
|
|
498
506
|
- spec/models/embeddings_and_chunks_order_by_columns_spec.rb
|
499
507
|
- spec/models/webhook_query_response_spec.rb
|
500
508
|
- spec/models/user_file_spec.rb
|
509
|
+
- spec/models/delete_files_v2_query_input_spec.rb
|
501
510
|
- spec/models/raw_text_input_spec.rb
|
502
511
|
- spec/models/salesforce_authentication_spec.rb
|
503
512
|
- spec/spec_helper.rb
|