carbon_ruby_sdk 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +55 -7
- data/lib/carbon_ruby_sdk/api/embeddings_api.rb +6 -2
- data/lib/carbon_ruby_sdk/api/integrations_api.rb +8 -8
- data/lib/carbon_ruby_sdk/api/users_api.rb +114 -0
- data/lib/carbon_ruby_sdk/models/get_embedding_documents_body.rb +18 -5
- data/lib/carbon_ruby_sdk/models/list_user_response.rb +326 -0
- data/lib/carbon_ruby_sdk/models/list_users_filters.rb +232 -0
- data/lib/carbon_ruby_sdk/models/list_users_order_by_types.rb +36 -0
- data/lib/carbon_ruby_sdk/models/list_users_request.rb +257 -0
- data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +2 -2
- data/lib/carbon_ruby_sdk/models/sync_files_request.rb +1 -1
- data/lib/carbon_ruby_sdk/models/sync_options.rb +1 -1
- data/lib/carbon_ruby_sdk/models/user_list_response.rb +232 -0
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- data/lib/carbon_ruby_sdk.rb +5 -0
- data/spec/api/users_api_spec.rb +12 -0
- data/spec/models/get_embedding_documents_body_spec.rb +6 -0
- data/spec/models/list_user_response_spec.rb +76 -0
- data/spec/models/list_users_filters_spec.rb +34 -0
- data/spec/models/list_users_order_by_types_spec.rb +22 -0
- data/spec/models/list_users_request_spec.rb +52 -0
- data/spec/models/user_list_response_spec.rb +34 -0
- metadata +17 -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::ListUsersOrderByTypes
|
14
|
+
describe Carbon::ListUsersOrderByTypes do
|
15
|
+
let(:instance) { Carbon::ListUsersOrderByTypes.new }
|
16
|
+
|
17
|
+
describe 'test an instance of ListUsersOrderByTypes' do
|
18
|
+
it 'should create an instance of ListUsersOrderByTypes' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::ListUsersOrderByTypes)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,52 @@
|
|
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::ListUsersRequest
|
14
|
+
describe Carbon::ListUsersRequest do
|
15
|
+
let(:instance) { Carbon::ListUsersRequest.new }
|
16
|
+
|
17
|
+
describe 'test an instance of ListUsersRequest' do
|
18
|
+
it 'should create an instance of ListUsersRequest' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::ListUsersRequest)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
describe 'test attribute "pagination"' 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 "filters"' 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 "order_by"' 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 "order_dir"' 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
|
+
describe 'test attribute "include_count"' 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
|
+
|
52
|
+
end
|
@@ -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::UserListResponse
|
14
|
+
describe Carbon::UserListResponse do
|
15
|
+
let(:instance) { Carbon::UserListResponse.new }
|
16
|
+
|
17
|
+
describe 'test an instance of UserListResponse' do
|
18
|
+
it 'should create an instance of UserListResponse' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::UserListResponse)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
describe 'test attribute "users"' 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 "count"' 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
|
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.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -164,6 +164,10 @@ files:
|
|
164
164
|
- lib/carbon_ruby_sdk/models/list_items_filters_nullable.rb
|
165
165
|
- lib/carbon_ruby_sdk/models/list_request.rb
|
166
166
|
- lib/carbon_ruby_sdk/models/list_response.rb
|
167
|
+
- lib/carbon_ruby_sdk/models/list_user_response.rb
|
168
|
+
- lib/carbon_ruby_sdk/models/list_users_filters.rb
|
169
|
+
- lib/carbon_ruby_sdk/models/list_users_order_by_types.rb
|
170
|
+
- lib/carbon_ruby_sdk/models/list_users_request.rb
|
167
171
|
- lib/carbon_ruby_sdk/models/location_property_inner.rb
|
168
172
|
- lib/carbon_ruby_sdk/models/modify_user_configuration_input.rb
|
169
173
|
- lib/carbon_ruby_sdk/models/notion_authentication.rb
|
@@ -219,6 +223,7 @@ files:
|
|
219
223
|
- lib/carbon_ruby_sdk/models/user_configuration_nullable.rb
|
220
224
|
- lib/carbon_ruby_sdk/models/user_file.rb
|
221
225
|
- lib/carbon_ruby_sdk/models/user_files_v2.rb
|
226
|
+
- lib/carbon_ruby_sdk/models/user_list_response.rb
|
222
227
|
- lib/carbon_ruby_sdk/models/user_request_content.rb
|
223
228
|
- lib/carbon_ruby_sdk/models/user_response.rb
|
224
229
|
- lib/carbon_ruby_sdk/models/user_web_page_order_by_types.rb
|
@@ -317,6 +322,10 @@ files:
|
|
317
322
|
- spec/models/list_items_filters_spec.rb
|
318
323
|
- spec/models/list_request_spec.rb
|
319
324
|
- spec/models/list_response_spec.rb
|
325
|
+
- spec/models/list_user_response_spec.rb
|
326
|
+
- spec/models/list_users_filters_spec.rb
|
327
|
+
- spec/models/list_users_order_by_types_spec.rb
|
328
|
+
- spec/models/list_users_request_spec.rb
|
320
329
|
- spec/models/location_property_inner_spec.rb
|
321
330
|
- spec/models/modify_user_configuration_input_spec.rb
|
322
331
|
- spec/models/notion_authentication_spec.rb
|
@@ -372,6 +381,7 @@ files:
|
|
372
381
|
- spec/models/user_configuration_spec.rb
|
373
382
|
- spec/models/user_file_spec.rb
|
374
383
|
- spec/models/user_files_v2_spec.rb
|
384
|
+
- spec/models/user_list_response_spec.rb
|
375
385
|
- spec/models/user_request_content_spec.rb
|
376
386
|
- spec/models/user_response_spec.rb
|
377
387
|
- spec/models/user_web_page_order_by_types_spec.rb
|
@@ -468,6 +478,7 @@ test_files:
|
|
468
478
|
- spec/models/user_configuration_spec.rb
|
469
479
|
- spec/models/zendesk_authentication_spec.rb
|
470
480
|
- spec/models/connect_data_source_response_spec.rb
|
481
|
+
- spec/models/list_users_order_by_types_spec.rb
|
471
482
|
- spec/models/simple_o_auth_data_sources_spec.rb
|
472
483
|
- spec/models/add_webhook_props_spec.rb
|
473
484
|
- spec/models/white_labeling_response_spec.rb
|
@@ -490,6 +501,7 @@ test_files:
|
|
490
501
|
- spec/models/organization_user_files_to_sync_filters_spec.rb
|
491
502
|
- spec/models/s3_auth_request_spec.rb
|
492
503
|
- spec/models/sharepoint_authentication_spec.rb
|
504
|
+
- spec/models/user_list_response_spec.rb
|
493
505
|
- spec/models/zotero_authentication_spec.rb
|
494
506
|
- spec/models/helpdesk_file_types_spec.rb
|
495
507
|
- spec/models/document_response_spec.rb
|
@@ -516,6 +528,7 @@ test_files:
|
|
516
528
|
- spec/models/list_items_filters_nullable_spec.rb
|
517
529
|
- spec/models/data_source_sync_statuses_spec.rb
|
518
530
|
- spec/models/resync_file_query_input_spec.rb
|
531
|
+
- spec/models/list_user_response_spec.rb
|
519
532
|
- spec/models/modify_user_configuration_input_spec.rb
|
520
533
|
- spec/models/organization_user_files_to_sync_query_input_spec.rb
|
521
534
|
- spec/models/chunk_properties_spec.rb
|
@@ -533,6 +546,7 @@ test_files:
|
|
533
546
|
- spec/models/rank_property_spec.rb
|
534
547
|
- spec/models/organization_response_spec.rb
|
535
548
|
- spec/models/connect_data_source_input_spec.rb
|
549
|
+
- spec/models/list_users_filters_spec.rb
|
536
550
|
- spec/models/notion_authentication_spec.rb
|
537
551
|
- spec/models/chunks_and_embeddings_upload_input_spec.rb
|
538
552
|
- spec/models/organization_user_file_tag_create_spec.rb
|
@@ -554,6 +568,7 @@ test_files:
|
|
554
568
|
- spec/models/fresh_desk_connect_request_spec.rb
|
555
569
|
- spec/models/file_sync_config_nullable_spec.rb
|
556
570
|
- spec/models/embeddings_and_chunks_filters_spec.rb
|
571
|
+
- spec/models/list_users_request_spec.rb
|
557
572
|
- spec/models/raw_transcript_property_inner_value_spec.rb
|
558
573
|
- spec/models/delete_users_input_spec.rb
|
559
574
|
- spec/models/webhook_no_key_spec.rb
|