trieve_ruby_client 0.6.9 → 0.7.6
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/README.md +17 -8
- data/docs/ChunkApi.md +158 -10
- data/docs/ChunkData.md +2 -2
- data/docs/ChunkMetadata.md +2 -0
- data/docs/ClientDatasetConfiguration.md +2 -0
- data/docs/CreateMessageData.md +0 -2
- data/docs/CreateTopicData.md +3 -3
- data/docs/EditMessageData.md +0 -2
- data/docs/FieldCondition.md +6 -0
- data/docs/FileApi.md +4 -6
- data/docs/GenerateChunksRequest.md +0 -2
- data/docs/GeoInfo.md +20 -0
- data/docs/GeoTypes.md +49 -0
- data/docs/GetChunksData.md +18 -0
- data/docs/GetEventsData.md +1 -1
- data/docs/GetTrackingChunksData.md +18 -0
- data/docs/LocationBoundingBox.md +20 -0
- data/docs/LocationPolygon.md +20 -0
- data/docs/LocationRadius.md +20 -0
- data/docs/RangeCondition.md +2 -0
- data/docs/RegenerateMessageData.md +0 -2
- data/docs/SlimChunkMetadata.md +4 -0
- data/docs/Topic.md +3 -3
- data/docs/TopicApi.md +17 -17
- data/docs/UpdateChunkData.md +2 -0
- data/docs/UpdateUserOrgRoleData.md +22 -0
- data/docs/UserApi.md +9 -10
- data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
- data/lib/trieve_ruby_client/api/chunk_api.rb +161 -11
- data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
- data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
- data/lib/trieve_ruby_client/api/events_api.rb +1 -1
- data/lib/trieve_ruby_client/api/file_api.rb +4 -11
- data/lib/trieve_ruby_client/api/health_api.rb +1 -1
- data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
- data/lib/trieve_ruby_client/api/message_api.rb +1 -1
- data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
- data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
- data/lib/trieve_ruby_client/api/topic_api.rb +20 -20
- data/lib/trieve_ruby_client/api/user_api.rb +14 -14
- data/lib/trieve_ruby_client/api_client.rb +1 -1
- data/lib/trieve_ruby_client/api_error.rb +1 -1
- data/lib/trieve_ruby_client/configuration.rb +1 -1
- data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
- data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
- data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
- data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
- data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_data.rb +12 -13
- data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
- data/lib/trieve_ruby_client/models/chunk_metadata.rb +12 -2
- data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
- data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +18 -2
- data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/create_message_data.rb +2 -13
- data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
- data/lib/trieve_ruby_client/models/create_topic_data.rb +23 -17
- data/lib/trieve_ruby_client/models/dataset.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
- data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
- data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
- data/lib/trieve_ruby_client/models/edit_message_data.rb +2 -13
- data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/event.rb +1 -1
- data/lib/trieve_ruby_client/models/event_return.rb +1 -1
- data/lib/trieve_ruby_client/models/field_condition.rb +32 -2
- data/lib/trieve_ruby_client/models/file.rb +1 -1
- data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/generate_chunks_request.rb +2 -13
- data/lib/trieve_ruby_client/models/geo_info.rb +237 -0
- data/lib/trieve_ruby_client/models/geo_types.rb +105 -0
- data/lib/trieve_ruby_client/models/get_chunks_data.rb +223 -0
- data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
- data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
- data/lib/trieve_ruby_client/models/get_tracking_chunks_data.rb +223 -0
- data/lib/trieve_ruby_client/models/group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
- data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +1 -1
- data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
- data/lib/trieve_ruby_client/models/location_bounding_box.rb +237 -0
- data/lib/trieve_ruby_client/models/location_polygon.rb +235 -0
- data/lib/trieve_ruby_client/models/location_radius.rb +237 -0
- data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
- data/lib/trieve_ruby_client/models/message.rb +1 -1
- data/lib/trieve_ruby_client/models/organization.rb +1 -1
- data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
- data/lib/trieve_ruby_client/models/range.rb +1 -1
- data/lib/trieve_ruby_client/models/range_condition.rb +2 -1
- data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +1 -1
- data/lib/trieve_ruby_client/models/regenerate_message_data.rb +2 -13
- data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
- data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
- data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
- data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
- data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
- data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
- data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
- data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
- data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
- data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +28 -2
- data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
- data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
- data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
- data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
- data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
- data/lib/trieve_ruby_client/models/topic.rb +21 -21
- data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_chunk_data.rb +12 -2
- data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_dataset_request.rb +1 -1
- data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
- data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +250 -0
- data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
- data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
- data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
- data/lib/trieve_ruby_client/version.rb +2 -2
- data/lib/trieve_ruby_client.rb +9 -2
- data/openapi-generator.yaml +1 -1
- data/openapi.json +360 -83
- data/spec/models/geo_info_spec.rb +42 -0
- data/spec/models/geo_types_spec.rb +32 -0
- data/spec/models/get_chunks_data_spec.rb +36 -0
- data/spec/models/get_tracking_chunks_data_spec.rb +36 -0
- data/spec/models/location_bounding_box_spec.rb +42 -0
- data/spec/models/location_polygon_spec.rb +42 -0
- data/spec/models/location_radius_spec.rb +42 -0
- data/spec/models/update_user_org_role_data_spec.rb +48 -0
- data/spec/spec_helper.rb +1 -1
- data/trieve_ruby_client-0.6.9.gem +0 -0
- data/trieve_ruby_client-0.7.2.gem +0 -0
- data/trieve_ruby_client.gemspec +1 -1
- metadata +36 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.5
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::GeoInfo
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::GeoInfo do
|
|
21
|
+
let(:instance) { TrieveRubyClient::GeoInfo.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GeoInfo' do
|
|
24
|
+
it 'should create an instance of GeoInfo' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::GeoInfo)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "lat"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "lon"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.5
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::GeoTypes
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::GeoTypes do
|
|
21
|
+
describe '.openapi_one_of' do
|
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '.build' do
|
|
28
|
+
it 'returns the correct model' do
|
|
29
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.5
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::GetChunksData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::GetChunksData do
|
|
21
|
+
let(:instance) { TrieveRubyClient::GetChunksData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetChunksData' do
|
|
24
|
+
it 'should create an instance of GetChunksData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::GetChunksData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "ids"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.5
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::GetTrackingChunksData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::GetTrackingChunksData do
|
|
21
|
+
let(:instance) { TrieveRubyClient::GetTrackingChunksData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetTrackingChunksData' do
|
|
24
|
+
it 'should create an instance of GetTrackingChunksData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::GetTrackingChunksData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "tracking_ids"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.5
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::LocationBoundingBox
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::LocationBoundingBox do
|
|
21
|
+
let(:instance) { TrieveRubyClient::LocationBoundingBox.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LocationBoundingBox' do
|
|
24
|
+
it 'should create an instance of LocationBoundingBox' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::LocationBoundingBox)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "bottom_right"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "top_left"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.5
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::LocationPolygon
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::LocationPolygon do
|
|
21
|
+
let(:instance) { TrieveRubyClient::LocationPolygon.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LocationPolygon' do
|
|
24
|
+
it 'should create an instance of LocationPolygon' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::LocationPolygon)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "exterior"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "interior"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.5
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::LocationRadius
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::LocationRadius do
|
|
21
|
+
let(:instance) { TrieveRubyClient::LocationRadius.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LocationRadius' do
|
|
24
|
+
it 'should create an instance of LocationRadius' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::LocationRadius)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "center"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "radius"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trieve API
|
|
3
|
+
|
|
4
|
+
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.7.2
|
|
7
|
+
Contact: developers@trieve.ai
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TrieveRubyClient::UpdateUserOrgRoleData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe TrieveRubyClient::UpdateUserOrgRoleData do
|
|
21
|
+
let(:instance) { TrieveRubyClient::UpdateUserOrgRoleData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UpdateUserOrgRoleData' do
|
|
24
|
+
it 'should create an instance of UpdateUserOrgRoleData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(TrieveRubyClient::UpdateUserOrgRoleData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "organization_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "role"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "user_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.6
|
|
6
|
+
The version of the OpenAPI document: 0.7.6
|
|
7
7
|
Contact: developers@trieve.ai
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.4.0
|
|
Binary file
|
|
Binary file
|
data/trieve_ruby_client.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
#Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 0.6
|
|
8
|
+
The version of the OpenAPI document: 0.7.6
|
|
9
9
|
Contact: developers@trieve.ai
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
11
|
Generator version: 7.4.0
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trieve_ruby_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6
|
|
4
|
+
version: 0.7.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Trieve
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-05-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -105,8 +105,12 @@ files:
|
|
|
105
105
|
- docs/FileApi.md
|
|
106
106
|
- docs/FileDTO.md
|
|
107
107
|
- docs/GenerateChunksRequest.md
|
|
108
|
+
- docs/GeoInfo.md
|
|
109
|
+
- docs/GeoTypes.md
|
|
110
|
+
- docs/GetChunksData.md
|
|
108
111
|
- docs/GetEventsData.md
|
|
109
112
|
- docs/GetGroupsForChunksData.md
|
|
113
|
+
- docs/GetTrackingChunksData.md
|
|
110
114
|
- docs/GroupData.md
|
|
111
115
|
- docs/GroupScoreChunk.md
|
|
112
116
|
- docs/GroupScoreChunkDTO.md
|
|
@@ -115,6 +119,9 @@ files:
|
|
|
115
119
|
- docs/HealthApi.md
|
|
116
120
|
- docs/InvitationApi.md
|
|
117
121
|
- docs/InvitationData.md
|
|
122
|
+
- docs/LocationBoundingBox.md
|
|
123
|
+
- docs/LocationPolygon.md
|
|
124
|
+
- docs/LocationRadius.md
|
|
118
125
|
- docs/MatchCondition.md
|
|
119
126
|
- docs/Message.md
|
|
120
127
|
- docs/MessageApi.md
|
|
@@ -169,6 +176,7 @@ files:
|
|
|
169
176
|
- docs/UpdateOrganizationData.md
|
|
170
177
|
- docs/UpdateTopicData.md
|
|
171
178
|
- docs/UpdateUserData.md
|
|
179
|
+
- docs/UpdateUserOrgRoleData.md
|
|
172
180
|
- docs/UploadFileData.md
|
|
173
181
|
- docs/UploadFileResult.md
|
|
174
182
|
- docs/UserApi.md
|
|
@@ -227,14 +235,21 @@ files:
|
|
|
227
235
|
- lib/trieve_ruby_client/models/file.rb
|
|
228
236
|
- lib/trieve_ruby_client/models/file_dto.rb
|
|
229
237
|
- lib/trieve_ruby_client/models/generate_chunks_request.rb
|
|
238
|
+
- lib/trieve_ruby_client/models/geo_info.rb
|
|
239
|
+
- lib/trieve_ruby_client/models/geo_types.rb
|
|
240
|
+
- lib/trieve_ruby_client/models/get_chunks_data.rb
|
|
230
241
|
- lib/trieve_ruby_client/models/get_events_data.rb
|
|
231
242
|
- lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb
|
|
243
|
+
- lib/trieve_ruby_client/models/get_tracking_chunks_data.rb
|
|
232
244
|
- lib/trieve_ruby_client/models/group_data.rb
|
|
233
245
|
- lib/trieve_ruby_client/models/group_score_chunk.rb
|
|
234
246
|
- lib/trieve_ruby_client/models/group_score_chunk_dto.rb
|
|
235
247
|
- lib/trieve_ruby_client/models/group_score_slim_chunks.rb
|
|
236
248
|
- lib/trieve_ruby_client/models/group_slim_chunks_dto.rb
|
|
237
249
|
- lib/trieve_ruby_client/models/invitation_data.rb
|
|
250
|
+
- lib/trieve_ruby_client/models/location_bounding_box.rb
|
|
251
|
+
- lib/trieve_ruby_client/models/location_polygon.rb
|
|
252
|
+
- lib/trieve_ruby_client/models/location_radius.rb
|
|
238
253
|
- lib/trieve_ruby_client/models/match_condition.rb
|
|
239
254
|
- lib/trieve_ruby_client/models/message.rb
|
|
240
255
|
- lib/trieve_ruby_client/models/organization.rb
|
|
@@ -285,6 +300,7 @@ files:
|
|
|
285
300
|
- lib/trieve_ruby_client/models/update_organization_data.rb
|
|
286
301
|
- lib/trieve_ruby_client/models/update_topic_data.rb
|
|
287
302
|
- lib/trieve_ruby_client/models/update_user_data.rb
|
|
303
|
+
- lib/trieve_ruby_client/models/update_user_org_role_data.rb
|
|
288
304
|
- lib/trieve_ruby_client/models/upload_file_data.rb
|
|
289
305
|
- lib/trieve_ruby_client/models/upload_file_result.rb
|
|
290
306
|
- lib/trieve_ruby_client/models/user_organization.rb
|
|
@@ -341,14 +357,21 @@ files:
|
|
|
341
357
|
- spec/models/file_dto_spec.rb
|
|
342
358
|
- spec/models/file_spec.rb
|
|
343
359
|
- spec/models/generate_chunks_request_spec.rb
|
|
360
|
+
- spec/models/geo_info_spec.rb
|
|
361
|
+
- spec/models/geo_types_spec.rb
|
|
362
|
+
- spec/models/get_chunks_data_spec.rb
|
|
344
363
|
- spec/models/get_events_data_spec.rb
|
|
345
364
|
- spec/models/get_groups_for_chunks_data_spec.rb
|
|
365
|
+
- spec/models/get_tracking_chunks_data_spec.rb
|
|
346
366
|
- spec/models/group_data_spec.rb
|
|
347
367
|
- spec/models/group_score_chunk_dto_spec.rb
|
|
348
368
|
- spec/models/group_score_chunk_spec.rb
|
|
349
369
|
- spec/models/group_score_slim_chunks_spec.rb
|
|
350
370
|
- spec/models/group_slim_chunks_dto_spec.rb
|
|
351
371
|
- spec/models/invitation_data_spec.rb
|
|
372
|
+
- spec/models/location_bounding_box_spec.rb
|
|
373
|
+
- spec/models/location_polygon_spec.rb
|
|
374
|
+
- spec/models/location_radius_spec.rb
|
|
352
375
|
- spec/models/match_condition_spec.rb
|
|
353
376
|
- spec/models/message_spec.rb
|
|
354
377
|
- spec/models/organization_spec.rb
|
|
@@ -399,6 +422,7 @@ files:
|
|
|
399
422
|
- spec/models/update_organization_data_spec.rb
|
|
400
423
|
- spec/models/update_topic_data_spec.rb
|
|
401
424
|
- spec/models/update_user_data_spec.rb
|
|
425
|
+
- spec/models/update_user_org_role_data_spec.rb
|
|
402
426
|
- spec/models/upload_file_data_spec.rb
|
|
403
427
|
- spec/models/upload_file_result_spec.rb
|
|
404
428
|
- spec/models/user_organization_spec.rb
|
|
@@ -408,6 +432,8 @@ files:
|
|
|
408
432
|
- trieve_ruby_client-0.6.0.gem
|
|
409
433
|
- trieve_ruby_client-0.6.2.gem
|
|
410
434
|
- trieve_ruby_client-0.6.7.gem
|
|
435
|
+
- trieve_ruby_client-0.6.9.gem
|
|
436
|
+
- trieve_ruby_client-0.7.2.gem
|
|
411
437
|
- trieve_ruby_client.gemspec
|
|
412
438
|
homepage: https://trieve.ai
|
|
413
439
|
licenses:
|
|
@@ -459,6 +485,7 @@ test_files:
|
|
|
459
485
|
- spec/models/edit_message_data_spec.rb
|
|
460
486
|
- spec/models/range_condition_spec.rb
|
|
461
487
|
- spec/models/bookmark_data_spec.rb
|
|
488
|
+
- spec/models/update_user_org_role_data_spec.rb
|
|
462
489
|
- spec/models/search_over_groups_slim_chunks_response_body_spec.rb
|
|
463
490
|
- spec/models/search_groups_result_spec.rb
|
|
464
491
|
- spec/models/slim_user_spec.rb
|
|
@@ -468,8 +495,10 @@ test_files:
|
|
|
468
495
|
- spec/models/chunk_group_spec.rb
|
|
469
496
|
- spec/models/dataset_usage_count_spec.rb
|
|
470
497
|
- spec/models/generate_chunks_request_spec.rb
|
|
498
|
+
- spec/models/geo_info_spec.rb
|
|
471
499
|
- spec/models/delete_dataset_request_spec.rb
|
|
472
500
|
- spec/models/add_chunk_to_group_data_spec.rb
|
|
501
|
+
- spec/models/location_polygon_spec.rb
|
|
473
502
|
- spec/models/recommend_group_chunk_response_types_spec.rb
|
|
474
503
|
- spec/models/event_spec.rb
|
|
475
504
|
- spec/models/chunk_data_spec.rb
|
|
@@ -479,6 +508,8 @@ test_files:
|
|
|
479
508
|
- spec/models/single_queued_chunk_response_spec.rb
|
|
480
509
|
- spec/models/update_topic_data_spec.rb
|
|
481
510
|
- spec/models/search_over_groups_data_spec.rb
|
|
511
|
+
- spec/models/geo_types_spec.rb
|
|
512
|
+
- spec/models/location_radius_spec.rb
|
|
482
513
|
- spec/models/organization_usage_count_spec.rb
|
|
483
514
|
- spec/models/search_within_group_results_spec.rb
|
|
484
515
|
- spec/models/search_over_groups_slim_results_spec.rb
|
|
@@ -495,6 +526,7 @@ test_files:
|
|
|
495
526
|
- spec/models/dataset_spec.rb
|
|
496
527
|
- spec/models/delete_user_api_key_request_spec.rb
|
|
497
528
|
- spec/models/file_spec.rb
|
|
529
|
+
- spec/models/get_tracking_chunks_data_spec.rb
|
|
498
530
|
- spec/models/slim_group_spec.rb
|
|
499
531
|
- spec/models/set_user_api_key_request_spec.rb
|
|
500
532
|
- spec/models/group_slim_chunks_dto_spec.rb
|
|
@@ -513,6 +545,7 @@ test_files:
|
|
|
513
545
|
- spec/models/chunk_metadata_with_file_data_spec.rb
|
|
514
546
|
- spec/models/create_message_data_spec.rb
|
|
515
547
|
- spec/models/suggested_queries_request_spec.rb
|
|
548
|
+
- spec/models/get_chunks_data_spec.rb
|
|
516
549
|
- spec/models/create_organization_data_spec.rb
|
|
517
550
|
- spec/models/slim_chunk_metadata_with_score_spec.rb
|
|
518
551
|
- spec/models/delete_topic_data_spec.rb
|
|
@@ -540,6 +573,7 @@ test_files:
|
|
|
540
573
|
- spec/models/chunk_filter_spec.rb
|
|
541
574
|
- spec/models/create_chunk_group_data_spec.rb
|
|
542
575
|
- spec/models/set_user_api_key_response_spec.rb
|
|
576
|
+
- spec/models/location_bounding_box_spec.rb
|
|
543
577
|
- spec/models/dataset_and_usage_spec.rb
|
|
544
578
|
- spec/models/get_groups_for_chunks_data_spec.rb
|
|
545
579
|
- spec/models/upload_file_result_spec.rb
|