trieve_ruby_client 0.6.7 → 0.7.2

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.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/docs/ChunkData.md +0 -2
  4. data/docs/ClientDatasetConfiguration.md +2 -0
  5. data/docs/CreateDatasetRequest.md +3 -1
  6. data/docs/CreateTopicData.md +3 -1
  7. data/docs/Dataset.md +2 -0
  8. data/docs/DatasetApi.md +1 -1
  9. data/docs/DatasetDTO.md +2 -0
  10. data/docs/FileApi.md +4 -6
  11. data/docs/GetEventsData.md +1 -1
  12. data/docs/RecommendChunksRequest.md +2 -0
  13. data/docs/RecommendGroupChunksRequest.md +2 -0
  14. data/docs/Topic.md +3 -3
  15. data/docs/TopicApi.md +17 -17
  16. data/docs/UpdateDatasetRequest.md +4 -2
  17. data/docs/UpdateUserOrgRoleData.md +22 -0
  18. data/docs/UserApi.md +9 -10
  19. data/lib/trieve_ruby_client/api/auth_api.rb +1 -1
  20. data/lib/trieve_ruby_client/api/chunk_api.rb +1 -1
  21. data/lib/trieve_ruby_client/api/chunk_group_api.rb +1 -1
  22. data/lib/trieve_ruby_client/api/dataset_api.rb +1 -1
  23. data/lib/trieve_ruby_client/api/events_api.rb +1 -1
  24. data/lib/trieve_ruby_client/api/file_api.rb +4 -11
  25. data/lib/trieve_ruby_client/api/health_api.rb +1 -1
  26. data/lib/trieve_ruby_client/api/invitation_api.rb +1 -1
  27. data/lib/trieve_ruby_client/api/message_api.rb +1 -1
  28. data/lib/trieve_ruby_client/api/organization_api.rb +1 -1
  29. data/lib/trieve_ruby_client/api/stripe_api.rb +1 -1
  30. data/lib/trieve_ruby_client/api/topic_api.rb +20 -20
  31. data/lib/trieve_ruby_client/api/user_api.rb +14 -14
  32. data/lib/trieve_ruby_client/api_client.rb +1 -1
  33. data/lib/trieve_ruby_client/api_error.rb +1 -1
  34. data/lib/trieve_ruby_client/configuration.rb +1 -1
  35. data/lib/trieve_ruby_client/models/add_chunk_to_group_data.rb +1 -1
  36. data/lib/trieve_ruby_client/models/api_key_dto.rb +1 -1
  37. data/lib/trieve_ruby_client/models/auth_query.rb +1 -1
  38. data/lib/trieve_ruby_client/models/batch_queued_chunk_response.rb +1 -1
  39. data/lib/trieve_ruby_client/models/bookmark_data.rb +1 -1
  40. data/lib/trieve_ruby_client/models/bookmark_group_result.rb +1 -1
  41. data/lib/trieve_ruby_client/models/chat_message_proxy.rb +1 -1
  42. data/lib/trieve_ruby_client/models/chunk_data.rb +2 -13
  43. data/lib/trieve_ruby_client/models/chunk_filter.rb +1 -1
  44. data/lib/trieve_ruby_client/models/chunk_group.rb +1 -1
  45. data/lib/trieve_ruby_client/models/chunk_group_and_file.rb +1 -1
  46. data/lib/trieve_ruby_client/models/chunk_metadata.rb +1 -1
  47. data/lib/trieve_ruby_client/models/chunk_metadata_with_score.rb +1 -1
  48. data/lib/trieve_ruby_client/models/client_dataset_configuration.rb +18 -2
  49. data/lib/trieve_ruby_client/models/create_chunk_data.rb +1 -1
  50. data/lib/trieve_ruby_client/models/create_chunk_group_data.rb +1 -1
  51. data/lib/trieve_ruby_client/models/create_dataset_request.rb +17 -6
  52. data/lib/trieve_ruby_client/models/create_message_data.rb +1 -1
  53. data/lib/trieve_ruby_client/models/create_organization_data.rb +1 -1
  54. data/lib/trieve_ruby_client/models/create_topic_data.rb +23 -6
  55. data/lib/trieve_ruby_client/models/dataset.rb +12 -2
  56. data/lib/trieve_ruby_client/models/dataset_and_usage.rb +1 -1
  57. data/lib/trieve_ruby_client/models/dataset_dto.rb +12 -2
  58. data/lib/trieve_ruby_client/models/dataset_usage_count.rb +1 -1
  59. data/lib/trieve_ruby_client/models/delete_topic_data.rb +1 -1
  60. data/lib/trieve_ruby_client/models/delete_user_api_key_request.rb +1 -1
  61. data/lib/trieve_ruby_client/models/edit_message_data.rb +1 -1
  62. data/lib/trieve_ruby_client/models/error_response_body.rb +1 -1
  63. data/lib/trieve_ruby_client/models/event.rb +1 -1
  64. data/lib/trieve_ruby_client/models/event_return.rb +1 -1
  65. data/lib/trieve_ruby_client/models/field_condition.rb +1 -1
  66. data/lib/trieve_ruby_client/models/file.rb +1 -1
  67. data/lib/trieve_ruby_client/models/file_dto.rb +1 -1
  68. data/lib/trieve_ruby_client/models/generate_chunks_request.rb +1 -1
  69. data/lib/trieve_ruby_client/models/get_events_data.rb +2 -2
  70. data/lib/trieve_ruby_client/models/get_groups_for_chunks_data.rb +1 -1
  71. data/lib/trieve_ruby_client/models/group_data.rb +1 -1
  72. data/lib/trieve_ruby_client/models/group_score_chunk.rb +1 -1
  73. data/lib/trieve_ruby_client/models/group_score_slim_chunks.rb +1 -1
  74. data/lib/trieve_ruby_client/models/invitation_data.rb +1 -1
  75. data/lib/trieve_ruby_client/models/match_condition.rb +1 -1
  76. data/lib/trieve_ruby_client/models/message.rb +1 -1
  77. data/lib/trieve_ruby_client/models/organization.rb +1 -1
  78. data/lib/trieve_ruby_client/models/organization_usage_count.rb +1 -1
  79. data/lib/trieve_ruby_client/models/range.rb +1 -1
  80. data/lib/trieve_ruby_client/models/range_condition.rb +1 -1
  81. data/lib/trieve_ruby_client/models/recommend_chunks_request.rb +13 -2
  82. data/lib/trieve_ruby_client/models/recommend_group_chunks_request.rb +13 -2
  83. data/lib/trieve_ruby_client/models/regenerate_message_data.rb +1 -1
  84. data/lib/trieve_ruby_client/models/return_queued_chunk.rb +1 -1
  85. data/lib/trieve_ruby_client/models/score_chunk_dto.rb +1 -1
  86. data/lib/trieve_ruby_client/models/score_slim_chunks.rb +1 -1
  87. data/lib/trieve_ruby_client/models/search_chunk_data.rb +1 -1
  88. data/lib/trieve_ruby_client/models/search_chunk_query_response_body.rb +1 -1
  89. data/lib/trieve_ruby_client/models/search_over_groups_data.rb +1 -1
  90. data/lib/trieve_ruby_client/models/search_over_groups_results.rb +1 -1
  91. data/lib/trieve_ruby_client/models/search_over_groups_slim_results.rb +1 -1
  92. data/lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb +1 -1
  93. data/lib/trieve_ruby_client/models/search_within_group_data.rb +1 -1
  94. data/lib/trieve_ruby_client/models/search_within_group_results.rb +1 -1
  95. data/lib/trieve_ruby_client/models/search_within_group_slim_results.rb +1 -1
  96. data/lib/trieve_ruby_client/models/set_user_api_key_request.rb +1 -1
  97. data/lib/trieve_ruby_client/models/set_user_api_key_response.rb +1 -1
  98. data/lib/trieve_ruby_client/models/single_queued_chunk_response.rb +1 -1
  99. data/lib/trieve_ruby_client/models/slim_chunk_metadata.rb +1 -1
  100. data/lib/trieve_ruby_client/models/slim_chunk_metadata_with_score.rb +1 -1
  101. data/lib/trieve_ruby_client/models/slim_group.rb +1 -1
  102. data/lib/trieve_ruby_client/models/slim_user.rb +1 -1
  103. data/lib/trieve_ruby_client/models/stripe_plan.rb +1 -1
  104. data/lib/trieve_ruby_client/models/suggested_queries_request.rb +1 -1
  105. data/lib/trieve_ruby_client/models/suggested_queries_response.rb +1 -1
  106. data/lib/trieve_ruby_client/models/topic.rb +21 -21
  107. data/lib/trieve_ruby_client/models/update_chunk_by_tracking_id_data.rb +1 -1
  108. data/lib/trieve_ruby_client/models/update_chunk_data.rb +1 -1
  109. data/lib/trieve_ruby_client/models/update_chunk_group_data.rb +1 -1
  110. data/lib/trieve_ruby_client/models/update_dataset_request.rb +18 -13
  111. data/lib/trieve_ruby_client/models/update_group_by_tracking_id_data.rb +1 -1
  112. data/lib/trieve_ruby_client/models/update_organization_data.rb +1 -1
  113. data/lib/trieve_ruby_client/models/update_topic_data.rb +1 -1
  114. data/lib/trieve_ruby_client/models/update_user_data.rb +1 -1
  115. data/lib/trieve_ruby_client/models/update_user_org_role_data.rb +250 -0
  116. data/lib/trieve_ruby_client/models/upload_file_data.rb +1 -1
  117. data/lib/trieve_ruby_client/models/upload_file_result.rb +1 -1
  118. data/lib/trieve_ruby_client/models/user_organization.rb +1 -1
  119. data/lib/trieve_ruby_client/version.rb +2 -2
  120. data/lib/trieve_ruby_client.rb +2 -2
  121. data/openapi-generator.yaml +1 -1
  122. data/openapi.json +71 -60
  123. data/spec/models/update_user_org_role_data_spec.rb +48 -0
  124. data/spec/spec_helper.rb +1 -1
  125. data/trieve_ruby_client-0.6.7.gem +0 -0
  126. data/trieve_ruby_client-0.6.9.gem +0 -0
  127. data/trieve_ruby_client.gemspec +1 -1
  128. metadata +8 -2
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -25,9 +25,9 @@ module TrieveRubyClient
25
25
 
26
26
  attr_accessor :name
27
27
 
28
- attr_accessor :updated_at
28
+ attr_accessor :owner_id
29
29
 
30
- attr_accessor :user_id
30
+ attr_accessor :updated_at
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
@@ -37,8 +37,8 @@ module TrieveRubyClient
37
37
  :'deleted' => :'deleted',
38
38
  :'id' => :'id',
39
39
  :'name' => :'name',
40
- :'updated_at' => :'updated_at',
41
- :'user_id' => :'user_id'
40
+ :'owner_id' => :'owner_id',
41
+ :'updated_at' => :'updated_at'
42
42
  }
43
43
  end
44
44
 
@@ -55,8 +55,8 @@ module TrieveRubyClient
55
55
  :'deleted' => :'Boolean',
56
56
  :'id' => :'String',
57
57
  :'name' => :'String',
58
- :'updated_at' => :'Time',
59
- :'user_id' => :'String'
58
+ :'owner_id' => :'String',
59
+ :'updated_at' => :'Time'
60
60
  }
61
61
  end
62
62
 
@@ -111,16 +111,16 @@ module TrieveRubyClient
111
111
  self.name = nil
112
112
  end
113
113
 
114
- if attributes.key?(:'updated_at')
115
- self.updated_at = attributes[:'updated_at']
114
+ if attributes.key?(:'owner_id')
115
+ self.owner_id = attributes[:'owner_id']
116
116
  else
117
- self.updated_at = nil
117
+ self.owner_id = nil
118
118
  end
119
119
 
120
- if attributes.key?(:'user_id')
121
- self.user_id = attributes[:'user_id']
120
+ if attributes.key?(:'updated_at')
121
+ self.updated_at = attributes[:'updated_at']
122
122
  else
123
- self.user_id = nil
123
+ self.updated_at = nil
124
124
  end
125
125
  end
126
126
 
@@ -149,12 +149,12 @@ module TrieveRubyClient
149
149
  invalid_properties.push('invalid value for "name", name cannot be nil.')
150
150
  end
151
151
 
152
- if @updated_at.nil?
153
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
152
+ if @owner_id.nil?
153
+ invalid_properties.push('invalid value for "owner_id", owner_id cannot be nil.')
154
154
  end
155
155
 
156
- if @user_id.nil?
157
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
156
+ if @updated_at.nil?
157
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
158
158
  end
159
159
 
160
160
  invalid_properties
@@ -169,8 +169,8 @@ module TrieveRubyClient
169
169
  return false if @deleted.nil?
170
170
  return false if @id.nil?
171
171
  return false if @name.nil?
172
+ return false if @owner_id.nil?
172
173
  return false if @updated_at.nil?
173
- return false if @user_id.nil?
174
174
  true
175
175
  end
176
176
 
@@ -184,8 +184,8 @@ module TrieveRubyClient
184
184
  deleted == o.deleted &&
185
185
  id == o.id &&
186
186
  name == o.name &&
187
- updated_at == o.updated_at &&
188
- user_id == o.user_id
187
+ owner_id == o.owner_id &&
188
+ updated_at == o.updated_at
189
189
  end
190
190
 
191
191
  # @see the `==` method
@@ -197,7 +197,7 @@ module TrieveRubyClient
197
197
  # Calculates hash code according to all attributes.
198
198
  # @return [Integer] Hash code
199
199
  def hash
200
- [created_at, dataset_id, deleted, id, name, updated_at, user_id].hash
200
+ [created_at, dataset_id, deleted, id, name, owner_id, updated_at].hash
201
201
  end
202
202
 
203
203
  # Builds the object from hash
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -27,13 +27,17 @@ module TrieveRubyClient
27
27
  # The new server configuration of the dataset, can be arbitrary JSON. See docs.trieve.ai for more information. If not provided, the server configuration will not be updated.
28
28
  attr_accessor :server_configuration
29
29
 
30
+ # tracking ID for the dataset. Can be used to track the dataset in external systems.
31
+ attr_accessor :tracking_id
32
+
30
33
  # Attribute mapping from ruby-style variable name to JSON key.
31
34
  def self.attribute_map
32
35
  {
33
36
  :'client_configuration' => :'client_configuration',
34
37
  :'dataset_id' => :'dataset_id',
35
38
  :'dataset_name' => :'dataset_name',
36
- :'server_configuration' => :'server_configuration'
39
+ :'server_configuration' => :'server_configuration',
40
+ :'tracking_id' => :'tracking_id'
37
41
  }
38
42
  end
39
43
 
@@ -48,7 +52,8 @@ module TrieveRubyClient
48
52
  :'client_configuration' => :'Object',
49
53
  :'dataset_id' => :'String',
50
54
  :'dataset_name' => :'String',
51
- :'server_configuration' => :'Object'
55
+ :'server_configuration' => :'Object',
56
+ :'tracking_id' => :'String'
52
57
  }
53
58
  end
54
59
 
@@ -56,8 +61,10 @@ module TrieveRubyClient
56
61
  def self.openapi_nullable
57
62
  Set.new([
58
63
  :'client_configuration',
64
+ :'dataset_id',
59
65
  :'dataset_name',
60
- :'server_configuration'
66
+ :'server_configuration',
67
+ :'tracking_id'
61
68
  ])
62
69
  end
63
70
 
@@ -82,8 +89,6 @@ module TrieveRubyClient
82
89
 
83
90
  if attributes.key?(:'dataset_id')
84
91
  self.dataset_id = attributes[:'dataset_id']
85
- else
86
- self.dataset_id = nil
87
92
  end
88
93
 
89
94
  if attributes.key?(:'dataset_name')
@@ -93,6 +98,10 @@ module TrieveRubyClient
93
98
  if attributes.key?(:'server_configuration')
94
99
  self.server_configuration = attributes[:'server_configuration']
95
100
  end
101
+
102
+ if attributes.key?(:'tracking_id')
103
+ self.tracking_id = attributes[:'tracking_id']
104
+ end
96
105
  end
97
106
 
98
107
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -100,10 +109,6 @@ module TrieveRubyClient
100
109
  def list_invalid_properties
101
110
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
102
111
  invalid_properties = Array.new
103
- if @dataset_id.nil?
104
- invalid_properties.push('invalid value for "dataset_id", dataset_id cannot be nil.')
105
- end
106
-
107
112
  invalid_properties
108
113
  end
109
114
 
@@ -111,7 +116,6 @@ module TrieveRubyClient
111
116
  # @return true if the model is valid
112
117
  def valid?
113
118
  warn '[DEPRECATED] the `valid?` method is obsolete'
114
- return false if @dataset_id.nil?
115
119
  true
116
120
  end
117
121
 
@@ -123,7 +127,8 @@ module TrieveRubyClient
123
127
  client_configuration == o.client_configuration &&
124
128
  dataset_id == o.dataset_id &&
125
129
  dataset_name == o.dataset_name &&
126
- server_configuration == o.server_configuration
130
+ server_configuration == o.server_configuration &&
131
+ tracking_id == o.tracking_id
127
132
  end
128
133
 
129
134
  # @see the `==` method
@@ -135,7 +140,7 @@ module TrieveRubyClient
135
140
  # Calculates hash code according to all attributes.
136
141
  # @return [Integer] Hash code
137
142
  def hash
138
- [client_configuration, dataset_id, dataset_name, server_configuration].hash
143
+ [client_configuration, dataset_id, dataset_name, server_configuration, tracking_id].hash
139
144
  end
140
145
 
141
146
  # Builds the object from hash
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.7.2
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0
@@ -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.7
6
+ The version of the OpenAPI document: 0.6.9
7
7
  Contact: developers@trieve.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.4.0