carbon_ruby_sdk 0.2.20 → 0.2.21
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +107 -2
- data/lib/carbon_ruby_sdk/api/embeddings_api.rb +6 -2
- data/lib/carbon_ruby_sdk/api/files_api.rb +231 -6
- data/lib/carbon_ruby_sdk/api/integrations_api.rb +6 -2
- data/lib/carbon_ruby_sdk/models/cold_storage_props.rb +229 -0
- data/lib/carbon_ruby_sdk/models/embedding_storage_status.rb +38 -0
- data/lib/carbon_ruby_sdk/models/file_sync_config.rb +13 -1
- data/lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb +13 -1
- data/lib/carbon_ruby_sdk/models/get_embedding_documents_body.rb +17 -5
- data/lib/carbon_ruby_sdk/models/modify_cold_storage_parameters_query_input.rb +235 -0
- data/lib/carbon_ruby_sdk/models/move_to_hot_storage_query_input.rb +215 -0
- data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +16 -5
- data/lib/carbon_ruby_sdk/models/raw_text_input.rb +14 -5
- data/lib/carbon_ruby_sdk/models/sent_webhook_payload.rb +2 -2
- data/lib/carbon_ruby_sdk/models/sync_options.rb +16 -5
- data/lib/carbon_ruby_sdk/models/upload_file_from_url_input.rb +24 -4
- data/lib/carbon_ruby_sdk/models/user_file.rb +39 -1
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- data/lib/carbon_ruby_sdk.rb +4 -0
- data/spec/api/files_api_spec.rb +25 -0
- data/spec/models/cold_storage_props_spec.rb +34 -0
- data/spec/models/embedding_storage_status_spec.rb +22 -0
- data/spec/models/file_sync_config_nullable_spec.rb +6 -0
- data/spec/models/file_sync_config_spec.rb +6 -0
- data/spec/models/get_embedding_documents_body_spec.rb +6 -0
- data/spec/models/modify_cold_storage_parameters_query_input_spec.rb +40 -0
- data/spec/models/move_to_hot_storage_query_input_spec.rb +28 -0
- data/spec/models/o_auth_url_request_spec.rb +6 -0
- data/spec/models/raw_text_input_spec.rb +6 -0
- data/spec/models/sent_webhook_payload_spec.rb +1 -1
- data/spec/models/sync_options_spec.rb +6 -0
- data/spec/models/upload_file_from_url_input_spec.rb +12 -0
- data/spec/models/user_file_spec.rb +18 -0
- metadata +14 -2
@@ -175,4 +175,10 @@ describe Carbon::OAuthURLRequest do
|
|
175
175
|
end
|
176
176
|
end
|
177
177
|
|
178
|
+
describe 'test attribute "automatically_open_file_picker"' do
|
179
|
+
it 'should work' do
|
180
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
178
184
|
end
|
@@ -22,7 +22,7 @@ describe Carbon::SentWebhookPayload do
|
|
22
22
|
describe 'test attribute "webhook_type"' do
|
23
23
|
it 'should work' do
|
24
24
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
25
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ADD", "ALL_UPLOADED_FILES_QUEUED", "CANCEL", "CHECKUP", "DATA_SOURCE_READY", "FILES_CREATED", "FILES_SKIPPED", "FILE_DELETED", "FILE_ERROR", "FILE_READY", "FILE_STATISTICS_AGGREGATED", "FILE_SYNC_LIMIT_REACHED", "ORGANIZATION_USER_DELETED", "RATE_LIMIT_ERROR", "REVOKE", "SPARSE_VECTOR_QUEUE_STATUS", "UPDATE", "WEBPAGE_ERROR", "WEBPAGE_READY", "WEBSCRAPE_URLS_READY"])
|
25
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ADD", "ALL_UPLOADED_FILES_QUEUED", "CANCEL", "CHECKUP", "DATA_SOURCE_READY", "EMBEDDING_STORAGE_MODIFIED", "FILES_CREATED", "FILES_SKIPPED", "FILE_DELETED", "FILE_ERROR", "FILE_READY", "FILE_STATISTICS_AGGREGATED", "FILE_SYNC_LIMIT_REACHED", "MOVED_TO_COLD_STORAGE", "MOVED_TO_HOT_STORAGE", "ORGANIZATION_USER_DELETED", "RATE_LIMIT_ERROR", "REVOKE", "SPARSE_VECTOR_QUEUE_STATUS", "UPDATE", "WEBPAGE_ERROR", "WEBPAGE_READY", "WEBSCRAPE_URLS_READY"])
|
26
26
|
# validator.allowable_values.each do |value|
|
27
27
|
# expect { instance.webhook_type = value }.not_to raise_error
|
28
28
|
# end
|
@@ -109,4 +109,10 @@ describe Carbon::SyncOptions do
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
describe 'test attribute "automatically_open_file_picker"' 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
|
end
|
@@ -103,6 +103,12 @@ describe Carbon::UploadFileFromUrlInput do
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
describe 'test attribute "include_speaker_labels"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
106
112
|
describe 'test attribute "media_type"' do
|
107
113
|
it 'should work' do
|
108
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -115,4 +121,10 @@ describe Carbon::UploadFileFromUrlInput do
|
|
115
121
|
end
|
116
122
|
end
|
117
123
|
|
124
|
+
describe 'test attribute "cold_storage_params"' 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
|
+
|
118
130
|
end
|
@@ -211,6 +211,24 @@ describe Carbon::UserFile do
|
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
214
|
+
describe 'test attribute "supports_cold_storage"' do
|
215
|
+
it 'should work' do
|
216
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
describe 'test attribute "hot_storage_time_to_live"' do
|
221
|
+
it 'should work' do
|
222
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
describe 'test attribute "embedding_storage_status"' do
|
227
|
+
it 'should work' do
|
228
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
214
232
|
describe 'test attribute "created_at"' do
|
215
233
|
it 'should work' do
|
216
234
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- lib/carbon_ruby_sdk/models/chunk_properties_nullable.rb
|
106
106
|
- lib/carbon_ruby_sdk/models/chunks_and_embeddings.rb
|
107
107
|
- lib/carbon_ruby_sdk/models/chunks_and_embeddings_upload_input.rb
|
108
|
+
- lib/carbon_ruby_sdk/models/cold_storage_props.rb
|
108
109
|
- lib/carbon_ruby_sdk/models/confluence_authentication.rb
|
109
110
|
- lib/carbon_ruby_sdk/models/connect_data_source_input.rb
|
110
111
|
- lib/carbon_ruby_sdk/models/connect_data_source_response.rb
|
@@ -125,6 +126,7 @@ files:
|
|
125
126
|
- lib/carbon_ruby_sdk/models/embedding_generators_nullable.rb
|
126
127
|
- lib/carbon_ruby_sdk/models/embedding_model.rb
|
127
128
|
- lib/carbon_ruby_sdk/models/embedding_properties.rb
|
129
|
+
- lib/carbon_ruby_sdk/models/embedding_storage_status.rb
|
128
130
|
- lib/carbon_ruby_sdk/models/embeddings_and_chunks_filters.rb
|
129
131
|
- lib/carbon_ruby_sdk/models/embeddings_and_chunks_order_by_columns.rb
|
130
132
|
- lib/carbon_ruby_sdk/models/embeddings_and_chunks_query_input.rb
|
@@ -170,7 +172,9 @@ files:
|
|
170
172
|
- lib/carbon_ruby_sdk/models/list_users_order_by_types.rb
|
171
173
|
- lib/carbon_ruby_sdk/models/list_users_request.rb
|
172
174
|
- lib/carbon_ruby_sdk/models/location_property_inner.rb
|
175
|
+
- lib/carbon_ruby_sdk/models/modify_cold_storage_parameters_query_input.rb
|
173
176
|
- lib/carbon_ruby_sdk/models/modify_user_configuration_input.rb
|
177
|
+
- lib/carbon_ruby_sdk/models/move_to_hot_storage_query_input.rb
|
174
178
|
- lib/carbon_ruby_sdk/models/notion_authentication.rb
|
175
179
|
- lib/carbon_ruby_sdk/models/o_auth_authentication.rb
|
176
180
|
- lib/carbon_ruby_sdk/models/o_auth_url_request.rb
|
@@ -274,6 +278,7 @@ files:
|
|
274
278
|
- spec/models/chunk_properties_spec.rb
|
275
279
|
- spec/models/chunks_and_embeddings_spec.rb
|
276
280
|
- spec/models/chunks_and_embeddings_upload_input_spec.rb
|
281
|
+
- spec/models/cold_storage_props_spec.rb
|
277
282
|
- spec/models/confluence_authentication_spec.rb
|
278
283
|
- spec/models/connect_data_source_input_spec.rb
|
279
284
|
- spec/models/connect_data_source_response_spec.rb
|
@@ -294,6 +299,7 @@ files:
|
|
294
299
|
- spec/models/embedding_generators_spec.rb
|
295
300
|
- spec/models/embedding_model_spec.rb
|
296
301
|
- spec/models/embedding_properties_spec.rb
|
302
|
+
- spec/models/embedding_storage_status_spec.rb
|
297
303
|
- spec/models/embeddings_and_chunks_filters_spec.rb
|
298
304
|
- spec/models/embeddings_and_chunks_order_by_columns_spec.rb
|
299
305
|
- spec/models/embeddings_and_chunks_query_input_spec.rb
|
@@ -339,7 +345,9 @@ files:
|
|
339
345
|
- spec/models/list_users_order_by_types_spec.rb
|
340
346
|
- spec/models/list_users_request_spec.rb
|
341
347
|
- spec/models/location_property_inner_spec.rb
|
348
|
+
- spec/models/modify_cold_storage_parameters_query_input_spec.rb
|
342
349
|
- spec/models/modify_user_configuration_input_spec.rb
|
350
|
+
- spec/models/move_to_hot_storage_query_input_spec.rb
|
343
351
|
- spec/models/notion_authentication_spec.rb
|
344
352
|
- spec/models/o_auth_authentication_spec.rb
|
345
353
|
- spec/models/o_auth_url_request_spec.rb
|
@@ -469,8 +477,10 @@ test_files:
|
|
469
477
|
- spec/models/list_users_filters_spec.rb
|
470
478
|
- spec/models/object_type_spec.rb
|
471
479
|
- spec/models/raw_transcript_property_inner_value_spec.rb
|
480
|
+
- spec/models/embedding_storage_status_spec.rb
|
472
481
|
- spec/models/organization_user_data_source_query_input_spec.rb
|
473
482
|
- spec/models/ids_property_spec.rb
|
483
|
+
- spec/models/cold_storage_props_spec.rb
|
474
484
|
- spec/models/salesforce_authentication_spec.rb
|
475
485
|
- spec/models/white_labeling_response_spec.rb
|
476
486
|
- spec/models/update_users_input_spec.rb
|
@@ -594,12 +604,14 @@ test_files:
|
|
594
604
|
- spec/models/embedding_properties_spec.rb
|
595
605
|
- spec/models/file_sync_config_nullable_spec.rb
|
596
606
|
- spec/models/fetch_urls_response_spec.rb
|
607
|
+
- spec/models/move_to_hot_storage_query_input_spec.rb
|
597
608
|
- spec/models/webhook_no_key_spec.rb
|
598
609
|
- spec/models/s3_get_file_input_spec.rb
|
599
610
|
- spec/models/zendesk_authentication_spec.rb
|
600
611
|
- spec/models/user_request_content_spec.rb
|
601
612
|
- spec/models/helpdesk_file_types_spec.rb
|
602
613
|
- spec/models/upload_file_from_url_input_spec.rb
|
614
|
+
- spec/models/modify_cold_storage_parameters_query_input_spec.rb
|
603
615
|
- spec/models/file_content_types_spec.rb
|
604
616
|
- spec/models/sync_directory_request_spec.rb
|
605
617
|
- spec/models/user_web_pages_filters_spec.rb
|