carbon_ruby_sdk 0.2.5 → 0.2.7

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.
@@ -0,0 +1,321 @@
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 'date'
10
+ require 'time'
11
+
12
+ module Carbon
13
+ class SlackSyncRequest
14
+ attr_accessor :tags
15
+
16
+ attr_accessor :filters
17
+
18
+ attr_accessor :chunk_size
19
+
20
+ attr_accessor :chunk_overlap
21
+
22
+ attr_accessor :skip_embedding_generation
23
+
24
+ attr_accessor :embedding_model
25
+
26
+ attr_accessor :generate_sparse_vectors
27
+
28
+ attr_accessor :prepend_filename_to_chunks
29
+
30
+ attr_accessor :data_source_id
31
+
32
+ attr_accessor :request_id
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'tags' => :'tags',
38
+ :'filters' => :'filters',
39
+ :'chunk_size' => :'chunk_size',
40
+ :'chunk_overlap' => :'chunk_overlap',
41
+ :'skip_embedding_generation' => :'skip_embedding_generation',
42
+ :'embedding_model' => :'embedding_model',
43
+ :'generate_sparse_vectors' => :'generate_sparse_vectors',
44
+ :'prepend_filename_to_chunks' => :'prepend_filename_to_chunks',
45
+ :'data_source_id' => :'data_source_id',
46
+ :'request_id' => :'request_id'
47
+ }
48
+ end
49
+
50
+ # Returns all the JSON keys this model knows about
51
+ def self.acceptable_attributes
52
+ attribute_map.values
53
+ end
54
+
55
+ # Attribute type mapping.
56
+ def self.openapi_types
57
+ {
58
+ :'tags' => :'Object',
59
+ :'filters' => :'SlackFilters',
60
+ :'chunk_size' => :'Integer',
61
+ :'chunk_overlap' => :'Integer',
62
+ :'skip_embedding_generation' => :'Boolean',
63
+ :'embedding_model' => :'EmbeddingGenerators',
64
+ :'generate_sparse_vectors' => :'Boolean',
65
+ :'prepend_filename_to_chunks' => :'Boolean',
66
+ :'data_source_id' => :'Integer',
67
+ :'request_id' => :'String'
68
+ }
69
+ end
70
+
71
+ # List of attributes with nullable: true
72
+ def self.openapi_nullable
73
+ Set.new([
74
+ :'tags',
75
+ :'chunk_size',
76
+ :'chunk_overlap',
77
+ :'skip_embedding_generation',
78
+ :'generate_sparse_vectors',
79
+ :'prepend_filename_to_chunks',
80
+ :'data_source_id',
81
+ :'request_id'
82
+ ])
83
+ end
84
+
85
+ # Initializes the object
86
+ # @param [Hash] attributes Model attributes in the form of hash
87
+ def initialize(attributes = {})
88
+ if (!attributes.is_a?(Hash))
89
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::SlackSyncRequest` initialize method"
90
+ end
91
+
92
+ # check to see if the attribute exists and convert string to symbol for hash key
93
+ attributes = attributes.each_with_object({}) { |(k, v), h|
94
+ if (!self.class.attribute_map.key?(k.to_sym))
95
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::SlackSyncRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
96
+ end
97
+ h[k.to_sym] = v
98
+ }
99
+
100
+ if attributes.key?(:'tags')
101
+ self.tags = attributes[:'tags']
102
+ end
103
+
104
+ if attributes.key?(:'filters')
105
+ self.filters = attributes[:'filters']
106
+ end
107
+
108
+ if attributes.key?(:'chunk_size')
109
+ self.chunk_size = attributes[:'chunk_size']
110
+ else
111
+ self.chunk_size = 1500
112
+ end
113
+
114
+ if attributes.key?(:'chunk_overlap')
115
+ self.chunk_overlap = attributes[:'chunk_overlap']
116
+ else
117
+ self.chunk_overlap = 20
118
+ end
119
+
120
+ if attributes.key?(:'skip_embedding_generation')
121
+ self.skip_embedding_generation = attributes[:'skip_embedding_generation']
122
+ else
123
+ self.skip_embedding_generation = false
124
+ end
125
+
126
+ if attributes.key?(:'embedding_model')
127
+ self.embedding_model = attributes[:'embedding_model']
128
+ else
129
+ self.embedding_model = 'OPENAI'
130
+ end
131
+
132
+ if attributes.key?(:'generate_sparse_vectors')
133
+ self.generate_sparse_vectors = attributes[:'generate_sparse_vectors']
134
+ else
135
+ self.generate_sparse_vectors = false
136
+ end
137
+
138
+ if attributes.key?(:'prepend_filename_to_chunks')
139
+ self.prepend_filename_to_chunks = attributes[:'prepend_filename_to_chunks']
140
+ else
141
+ self.prepend_filename_to_chunks = false
142
+ end
143
+
144
+ if attributes.key?(:'data_source_id')
145
+ self.data_source_id = attributes[:'data_source_id']
146
+ end
147
+
148
+ if attributes.key?(:'request_id')
149
+ self.request_id = attributes[:'request_id']
150
+ end
151
+ end
152
+
153
+ # Show invalid properties with the reasons. Usually used together with valid?
154
+ # @return Array for valid properties with the reasons
155
+ def list_invalid_properties
156
+ invalid_properties = Array.new
157
+ if @filters.nil?
158
+ invalid_properties.push('invalid value for "filters", filters cannot be nil.')
159
+ end
160
+
161
+ invalid_properties
162
+ end
163
+
164
+ # Check to see if the all the properties in the model are valid
165
+ # @return true if the model is valid
166
+ def valid?
167
+ return false if @filters.nil?
168
+ true
169
+ end
170
+
171
+ # Checks equality by comparing each attribute.
172
+ # @param [Object] Object to be compared
173
+ def ==(o)
174
+ return true if self.equal?(o)
175
+ self.class == o.class &&
176
+ tags == o.tags &&
177
+ filters == o.filters &&
178
+ chunk_size == o.chunk_size &&
179
+ chunk_overlap == o.chunk_overlap &&
180
+ skip_embedding_generation == o.skip_embedding_generation &&
181
+ embedding_model == o.embedding_model &&
182
+ generate_sparse_vectors == o.generate_sparse_vectors &&
183
+ prepend_filename_to_chunks == o.prepend_filename_to_chunks &&
184
+ data_source_id == o.data_source_id &&
185
+ request_id == o.request_id
186
+ end
187
+
188
+ # @see the `==` method
189
+ # @param [Object] Object to be compared
190
+ def eql?(o)
191
+ self == o
192
+ end
193
+
194
+ # Calculates hash code according to all attributes.
195
+ # @return [Integer] Hash code
196
+ def hash
197
+ [tags, filters, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, data_source_id, request_id].hash
198
+ end
199
+
200
+ # Builds the object from hash
201
+ # @param [Hash] attributes Model attributes in the form of hash
202
+ # @return [Object] Returns the model itself
203
+ def self.build_from_hash(attributes)
204
+ new.build_from_hash(attributes)
205
+ end
206
+
207
+ # Builds the object from hash
208
+ # @param [Hash] attributes Model attributes in the form of hash
209
+ # @return [Object] Returns the model itself
210
+ def build_from_hash(attributes)
211
+ return nil unless attributes.is_a?(Hash)
212
+ attributes = attributes.transform_keys(&:to_sym)
213
+ self.class.openapi_types.each_pair do |key, type|
214
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
215
+ self.send("#{key}=", nil)
216
+ elsif type =~ /\AArray<(.*)>/i
217
+ # check to ensure the input is an array given that the attribute
218
+ # is documented as an array but the input is not
219
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
220
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
221
+ end
222
+ elsif !attributes[self.class.attribute_map[key]].nil?
223
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
224
+ end
225
+ end
226
+
227
+ self
228
+ end
229
+
230
+ # Deserializes the data based on type
231
+ # @param string type Data type
232
+ # @param string value Value to be deserialized
233
+ # @return [Object] Deserialized data
234
+ def _deserialize(type, value)
235
+ case type.to_sym
236
+ when :Time
237
+ Time.parse(value)
238
+ when :Date
239
+ Date.parse(value)
240
+ when :String
241
+ value.to_s
242
+ when :Integer
243
+ value.to_i
244
+ when :Float
245
+ value.to_f
246
+ when :Boolean
247
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
248
+ true
249
+ else
250
+ false
251
+ end
252
+ when :Object
253
+ # generic object (usually a Hash), return directly
254
+ value
255
+ when /\AArray<(?<inner_type>.+)>\z/
256
+ inner_type = Regexp.last_match[:inner_type]
257
+ value.map { |v| _deserialize(inner_type, v) }
258
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
259
+ k_type = Regexp.last_match[:k_type]
260
+ v_type = Regexp.last_match[:v_type]
261
+ {}.tap do |hash|
262
+ value.each do |k, v|
263
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
264
+ end
265
+ end
266
+ else # model
267
+ # models (e.g. Pet) or oneOf
268
+ klass = Carbon.const_get(type)
269
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
270
+ end
271
+ end
272
+
273
+ # Returns the string representation of the object
274
+ # @return [String] String presentation of the object
275
+ def to_s
276
+ to_hash.to_s
277
+ end
278
+
279
+ # to_body is an alias to to_hash (backward compatibility)
280
+ # @return [Hash] Returns the object in the form of hash
281
+ def to_body
282
+ to_hash
283
+ end
284
+
285
+ # Returns the object in the form of hash
286
+ # @return [Hash] Returns the object in the form of hash
287
+ def to_hash
288
+ hash = {}
289
+ self.class.attribute_map.each_pair do |attr, param|
290
+ value = self.send(attr)
291
+ if value.nil?
292
+ is_nullable = self.class.openapi_nullable.include?(attr)
293
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
294
+ end
295
+
296
+ hash[param] = _to_hash(value)
297
+ end
298
+ hash
299
+ end
300
+
301
+ # Outputs non-array value in the form of hash
302
+ # For object, use to_hash. Otherwise, just return the value
303
+ # @param [Object] value Any valid value
304
+ # @return [Hash] Returns the value in the form of hash
305
+ def _to_hash(value)
306
+ if value.is_a?(Array)
307
+ value.compact.map { |v| _to_hash(v) }
308
+ elsif value.is_a?(Hash)
309
+ {}.tap do |hash|
310
+ value.each { |k, v| hash[k] = _to_hash(v) }
311
+ end
312
+ elsif value.respond_to? :to_hash
313
+ value.to_hash
314
+ else
315
+ value
316
+ end
317
+ end
318
+
319
+ end
320
+
321
+ end
@@ -187,7 +187,7 @@ module Carbon
187
187
  if attributes.key?(:'request_id')
188
188
  self.request_id = attributes[:'request_id']
189
189
  else
190
- self.request_id = '6ae9a1d5-64b6-4ec2-ab39-8869a383e3cf'
190
+ self.request_id = 'bb4d49b0-3837-444a-9b71-f529df5968cb'
191
191
  end
192
192
 
193
193
  if attributes.key?(:'use_ocr')
@@ -182,7 +182,7 @@ module Carbon
182
182
  if attributes.key?(:'request_id')
183
183
  self.request_id = attributes[:'request_id']
184
184
  else
185
- self.request_id = '3faff6b4-cf31-42c5-b652-a4115dfbc64f'
185
+ self.request_id = '2b33f04a-b2ca-473b-b6e2-c89df5e01f94'
186
186
  end
187
187
 
188
188
  if attributes.key?(:'enable_file_picker')
@@ -71,6 +71,8 @@ module Carbon
71
71
 
72
72
  attr_accessor :sync_properties
73
73
 
74
+ attr_accessor :messages_metadata
75
+
74
76
  attr_accessor :created_at
75
77
 
76
78
  attr_accessor :updated_at
@@ -108,6 +110,7 @@ module Carbon
108
110
  :'generate_sparse_vectors' => :'generate_sparse_vectors',
109
111
  :'request_id' => :'request_id',
110
112
  :'sync_properties' => :'sync_properties',
113
+ :'messages_metadata' => :'messages_metadata',
111
114
  :'created_at' => :'created_at',
112
115
  :'updated_at' => :'updated_at'
113
116
  }
@@ -151,6 +154,7 @@ module Carbon
151
154
  :'generate_sparse_vectors' => :'Boolean',
152
155
  :'request_id' => :'String',
153
156
  :'sync_properties' => :'Object',
157
+ :'messages_metadata' => :'Object',
154
158
  :'created_at' => :'Time',
155
159
  :'updated_at' => :'Time'
156
160
  }
@@ -320,6 +324,10 @@ module Carbon
320
324
  self.sync_properties = attributes[:'sync_properties']
321
325
  end
322
326
 
327
+ if attributes.key?(:'messages_metadata')
328
+ self.messages_metadata = attributes[:'messages_metadata']
329
+ end
330
+
323
331
  if attributes.key?(:'created_at')
324
332
  self.created_at = attributes[:'created_at']
325
333
  end
@@ -369,6 +377,10 @@ module Carbon
369
377
  invalid_properties.push('invalid value for "sync_properties", sync_properties cannot be nil.')
370
378
  end
371
379
 
380
+ if @messages_metadata.nil?
381
+ invalid_properties.push('invalid value for "messages_metadata", messages_metadata cannot be nil.')
382
+ end
383
+
372
384
  if @created_at.nil?
373
385
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
374
386
  end
@@ -392,6 +404,7 @@ module Carbon
392
404
  return false if @ocr_properties.nil?
393
405
  return false if @skip_embedding_generation.nil?
394
406
  return false if @sync_properties.nil?
407
+ return false if @messages_metadata.nil?
395
408
  return false if @created_at.nil?
396
409
  return false if @updated_at.nil?
397
410
  true
@@ -432,6 +445,7 @@ module Carbon
432
445
  generate_sparse_vectors == o.generate_sparse_vectors &&
433
446
  request_id == o.request_id &&
434
447
  sync_properties == o.sync_properties &&
448
+ messages_metadata == o.messages_metadata &&
435
449
  created_at == o.created_at &&
436
450
  updated_at == o.updated_at
437
451
  end
@@ -445,7 +459,7 @@ module Carbon
445
459
  # Calculates hash code according to all attributes.
446
460
  # @return [Integer] Hash code
447
461
  def hash
448
- [tags, id, source, organization_id, organization_supplied_user_id, organization_user_data_source_id, external_file_id, external_url, sync_status, sync_error_message, last_sync, file_statistics, file_metadata, embedding_properties, chunk_size, chunk_overlap, chunk_properties, ocr_properties, ocr_job_started_at, name, parent_id, enable_auto_sync, presigned_url, parsed_text_url, additional_presigned_urls, skip_embedding_generation, source_created_at, generate_sparse_vectors, request_id, sync_properties, created_at, updated_at].hash
462
+ [tags, id, source, organization_id, organization_supplied_user_id, organization_user_data_source_id, external_file_id, external_url, sync_status, sync_error_message, last_sync, file_statistics, file_metadata, embedding_properties, chunk_size, chunk_overlap, chunk_properties, ocr_properties, ocr_job_started_at, name, parent_id, enable_auto_sync, presigned_url, parsed_text_url, additional_presigned_urls, skip_embedding_generation, source_created_at, generate_sparse_vectors, request_id, sync_properties, messages_metadata, created_at, updated_at].hash
449
463
  end
450
464
 
451
465
  # Builds the object from hash
@@ -7,5 +7,5 @@ The version of the OpenAPI document: 1.0.0
7
7
  =end
8
8
 
9
9
  module Carbon
10
- VERSION = '0.2.5'
10
+ VERSION = '0.2.7'
11
11
  end
@@ -117,6 +117,8 @@ require 'carbon_ruby_sdk/models/sharepoint_authentication'
117
117
  require 'carbon_ruby_sdk/models/simple_o_auth_data_sources'
118
118
  require 'carbon_ruby_sdk/models/single_chunks_and_embeddings_upload_input'
119
119
  require 'carbon_ruby_sdk/models/sitemap_scrape_request'
120
+ require 'carbon_ruby_sdk/models/slack_filters'
121
+ require 'carbon_ruby_sdk/models/slack_sync_request'
120
122
  require 'carbon_ruby_sdk/models/source_property'
121
123
  require 'carbon_ruby_sdk/models/sync_directory_request'
122
124
  require 'carbon_ruby_sdk/models/sync_files_ids'
@@ -108,6 +108,21 @@ describe 'IntegrationsApi' do
108
108
  end
109
109
  end
110
110
 
111
+ # unit tests for list_conversations
112
+ # Slack List Conversations
113
+ # List all of your public and private channels, DMs, and Group DMs. The ID from response can be used as a filter to sync messages to Carbon types: Comma separated list of types. Available types are im (DMs), mpim (group DMs), public_channel, and private_channel. Defaults to public_channel. cursor: Used for pagination. If next_cursor is returned in response, you need to pass it as the cursor in the next request data_source_id: Data source needs to be specified if you have linked multiple slack accounts exclude_archived: Should archived conversations be excluded, defaults to true
114
+ # @param [Hash] opts the optional parameters
115
+ # @option opts [String] :types
116
+ # @option opts [String] :cursor
117
+ # @option opts [Integer] :data_source_id
118
+ # @option opts [Boolean] :exclude_archived
119
+ # @return [Object]
120
+ describe 'list_conversations test' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
+ end
124
+ end
125
+
111
126
  # unit tests for list_data_source_items
112
127
  # List Data Source Items
113
128
  # @param list_data_source_items_request
@@ -299,4 +314,16 @@ describe 'IntegrationsApi' do
299
314
  end
300
315
  end
301
316
 
317
+ # unit tests for sync_slack
318
+ # Slack Sync
319
+ # You can list all conversations using the endpoint /integrations/slack/conversations. The ID of conversation will be used as an input for this endpoint with timestamps as optional filters.
320
+ # @param slack_sync_request
321
+ # @param [Hash] opts the optional parameters
322
+ # @return [Object]
323
+ describe 'sync_slack test' do
324
+ it 'should work' do
325
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
326
+ end
327
+ end
328
+
302
329
  end
@@ -37,4 +37,10 @@ describe Carbon::FileSyncConfigNullable do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "split_rows"' 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
@@ -37,4 +37,10 @@ describe Carbon::FileSyncConfig do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "split_rows"' 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
@@ -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::SlackFilters
14
+ describe Carbon::SlackFilters do
15
+ let(:instance) { Carbon::SlackFilters.new }
16
+
17
+ describe 'test an instance of SlackFilters' do
18
+ it 'should create an instance of SlackFilters' do
19
+ expect(instance).to be_instance_of(Carbon::SlackFilters)
20
+ end
21
+ end
22
+ describe 'test attribute "conversation_id"' 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 "after"' 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
@@ -0,0 +1,82 @@
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::SlackSyncRequest
14
+ describe Carbon::SlackSyncRequest do
15
+ let(:instance) { Carbon::SlackSyncRequest.new }
16
+
17
+ describe 'test an instance of SlackSyncRequest' do
18
+ it 'should create an instance of SlackSyncRequest' do
19
+ expect(instance).to be_instance_of(Carbon::SlackSyncRequest)
20
+ end
21
+ end
22
+ describe 'test attribute "tags"' 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 "chunk_size"' 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 "chunk_overlap"' 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 "skip_embedding_generation"' 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
+ describe 'test attribute "embedding_model"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "generate_sparse_vectors"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "prepend_filename_to_chunks"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
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
+
76
+ describe 'test attribute "request_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
+
82
+ end
@@ -199,6 +199,12 @@ describe Carbon::UserFile do
199
199
  end
200
200
  end
201
201
 
202
+ describe 'test attribute "messages_metadata"' do
203
+ it 'should work' do
204
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
205
+ end
206
+ end
207
+
202
208
  describe 'test attribute "created_at"' do
203
209
  it 'should work' do
204
210
  # 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.5
4
+ version: 0.2.7
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-14 00:00:00.000000000 Z
11
+ date: 2024-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -200,6 +200,8 @@ files:
200
200
  - lib/carbon_ruby_sdk/models/simple_o_auth_data_sources.rb
201
201
  - lib/carbon_ruby_sdk/models/single_chunks_and_embeddings_upload_input.rb
202
202
  - lib/carbon_ruby_sdk/models/sitemap_scrape_request.rb
203
+ - lib/carbon_ruby_sdk/models/slack_filters.rb
204
+ - lib/carbon_ruby_sdk/models/slack_sync_request.rb
203
205
  - lib/carbon_ruby_sdk/models/source_property.rb
204
206
  - lib/carbon_ruby_sdk/models/sync_directory_request.rb
205
207
  - lib/carbon_ruby_sdk/models/sync_files_ids.rb
@@ -347,6 +349,8 @@ files:
347
349
  - spec/models/simple_o_auth_data_sources_spec.rb
348
350
  - spec/models/single_chunks_and_embeddings_upload_input_spec.rb
349
351
  - spec/models/sitemap_scrape_request_spec.rb
352
+ - spec/models/slack_filters_spec.rb
353
+ - spec/models/slack_sync_request_spec.rb
350
354
  - spec/models/source_property_spec.rb
351
355
  - spec/models/sync_directory_request_spec.rb
352
356
  - spec/models/sync_files_ids_spec.rb
@@ -436,6 +440,7 @@ test_files:
436
440
  - spec/models/github_authentication_spec.rb
437
441
  - spec/models/chunk_properties_nullable_spec.rb
438
442
  - spec/models/gitbook_connect_request_spec.rb
443
+ - spec/models/slack_sync_request_spec.rb
439
444
  - spec/models/token_response_spec.rb
440
445
  - spec/models/sync_options_spec.rb
441
446
  - spec/models/file_formats_spec.rb
@@ -523,6 +528,7 @@ test_files:
523
528
  - spec/models/custom_credentials_type_spec.rb
524
529
  - spec/models/file_formats_nullable_spec.rb
525
530
  - spec/models/s3_authentication_spec.rb
531
+ - spec/models/slack_filters_spec.rb
526
532
  - spec/models/file_statistics_spec.rb
527
533
  - spec/models/confluence_authentication_spec.rb
528
534
  - spec/models/get_embedding_documents_body_spec.rb