carbon_ruby_sdk 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,9 +64,10 @@ describe 'IntegrationsApi' do
64
64
 
65
65
  # unit tests for get_oauth_url
66
66
  # Get Oauth Url
67
+ # This endpoint can be used to generate the following URLs - An OAuth URL for OAuth based connectors - A file syncing URL which skips the OAuth flow if the user already has a valid access token and takes them to the success state.
67
68
  # @param o_auth_url_request
68
69
  # @param [Hash] opts the optional parameters
69
- # @return [Object]
70
+ # @return [OuthURLResponse]
70
71
  describe 'get_oauth_url test' do
71
72
  it 'should work' do
72
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -100,6 +101,7 @@ describe 'IntegrationsApi' do
100
101
  # Outlook Folders
101
102
  # After connecting your Outlook account, you can use this endpoint to list all of your folders on outlook. This includes both system folders like \"inbox\" and user created folders.
102
103
  # @param [Hash] opts the optional parameters
104
+ # @option opts [Integer] :data_source_id
103
105
  # @return [Object]
104
106
  describe 'list_folders test' do
105
107
  it 'should work' do
@@ -123,6 +125,7 @@ describe 'IntegrationsApi' do
123
125
  # Gmail Labels
124
126
  # After connecting your Gmail account, you can use this endpoint to list all of your labels. User created labels will have the type \"user\" and Gmail's default labels will have the type \"system\"
125
127
  # @param [Hash] opts the optional parameters
128
+ # @option opts [Integer] :data_source_id
126
129
  # @return [Object]
127
130
  describe 'list_labels test' do
128
131
  it 'should work' do
@@ -134,6 +137,7 @@ describe 'IntegrationsApi' do
134
137
  # Outlook Categories
135
138
  # After connecting your Outlook account, you can use this endpoint to list all of your categories on outlook. We currently support listing up to 250 categories.
136
139
  # @param [Hash] opts the optional parameters
140
+ # @option opts [Integer] :data_source_id
137
141
  # @return [Object]
138
142
  describe 'list_outlook_categories test' do
139
143
  it 'should work' do
@@ -37,4 +37,16 @@ describe Carbon::ChunksAndEmbeddingsUploadInput do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "chunks_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
+ describe 'test attribute "custom_credentials"' 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
+
40
52
  end
@@ -67,4 +67,10 @@ describe Carbon::GmailSyncInput do
67
67
  end
68
68
  end
69
69
 
70
+ describe 'test attribute "data_source_id"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
70
76
  end
@@ -121,4 +121,16 @@ describe Carbon::OAuthURLRequest do
121
121
  end
122
122
  end
123
123
 
124
+ describe 'test attribute "data_source_id"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
130
+ describe 'test attribute "connecting_new_account"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
124
136
  end
@@ -0,0 +1,28 @@
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::OuthURLResponse
14
+ describe Carbon::OuthURLResponse do
15
+ let(:instance) { Carbon::OuthURLResponse.new }
16
+
17
+ describe 'test an instance of OuthURLResponse' do
18
+ it 'should create an instance of OuthURLResponse' do
19
+ expect(instance).to be_instance_of(Carbon::OuthURLResponse)
20
+ end
21
+ end
22
+ describe 'test attribute "oauth_url"' 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
@@ -73,4 +73,10 @@ describe Carbon::OutlookSyncInput do
73
73
  end
74
74
  end
75
75
 
76
+ describe 'test attribute "data_source_id"' 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
@@ -37,4 +37,10 @@ describe Carbon::ResyncFileQueryInput do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "force_embedding_generation"' 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
@@ -79,4 +79,10 @@ describe Carbon::S3FileSyncInput do
79
79
  end
80
80
  end
81
81
 
82
+ describe 'test attribute "data_source_id"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
82
88
  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.5
4
+ version: 0.1.6
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-08 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -159,6 +159,7 @@ files:
159
159
  - lib/carbon_ruby_sdk/models/organization_user_files_to_sync_filters.rb
160
160
  - lib/carbon_ruby_sdk/models/organization_user_files_to_sync_order_by_types.rb
161
161
  - lib/carbon_ruby_sdk/models/organization_user_files_to_sync_query_input.rb
162
+ - lib/carbon_ruby_sdk/models/outh_url_response.rb
162
163
  - lib/carbon_ruby_sdk/models/outlook_sync_input.rb
163
164
  - lib/carbon_ruby_sdk/models/pagination.rb
164
165
  - lib/carbon_ruby_sdk/models/presigned_url_response.rb
@@ -271,6 +272,7 @@ files:
271
272
  - spec/models/organization_user_files_to_sync_filters_spec.rb
272
273
  - spec/models/organization_user_files_to_sync_order_by_types_spec.rb
273
274
  - spec/models/organization_user_files_to_sync_query_input_spec.rb
275
+ - spec/models/outh_url_response_spec.rb
274
276
  - spec/models/outlook_sync_input_spec.rb
275
277
  - spec/models/pagination_spec.rb
276
278
  - spec/models/presigned_url_response_spec.rb
@@ -440,6 +442,7 @@ test_files:
440
442
  - spec/models/delete_users_input_spec.rb
441
443
  - spec/models/webhook_no_key_spec.rb
442
444
  - spec/models/s3_file_sync_input_spec.rb
445
+ - spec/models/outh_url_response_spec.rb
443
446
  - spec/models/sync_directory_request_spec.rb
444
447
  - spec/models/file_statistics_nullable_spec.rb
445
448
  - spec/models/embeddings_and_chunks_order_by_columns_spec.rb