carbon_ruby_sdk 0.1.33 → 0.1.34

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -13
  3. data/lib/carbon_ruby_sdk/api/integrations_api.rb +34 -22
  4. data/lib/carbon_ruby_sdk/models/data_source_type.rb +2 -1
  5. data/lib/carbon_ruby_sdk/models/data_source_type_nullable.rb +2 -1
  6. data/lib/carbon_ruby_sdk/models/fetch_urls_response.rb +14 -4
  7. data/lib/carbon_ruby_sdk/models/{helpdesk_file_sync_config.rb → file_sync_config.rb} +28 -14
  8. data/lib/carbon_ruby_sdk/models/{helpdesk_file_sync_config_nullable.rb → file_sync_config_nullable.rb} +28 -14
  9. data/lib/carbon_ruby_sdk/models/fresh_desk_connect_request.rb +1 -1
  10. data/lib/carbon_ruby_sdk/models/gmail_sync_input.rb +11 -1
  11. data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +3 -3
  12. data/lib/carbon_ruby_sdk/models/outlook_sync_input.rb +11 -1
  13. data/lib/carbon_ruby_sdk/models/s3_file_sync_input.rb +15 -5
  14. data/lib/carbon_ruby_sdk/models/sync_files_request.rb +2 -2
  15. data/lib/carbon_ruby_sdk/models/sync_options.rb +2 -2
  16. data/lib/carbon_ruby_sdk/models/user_file.rb +15 -11
  17. data/lib/carbon_ruby_sdk/version.rb +1 -1
  18. data/lib/carbon_ruby_sdk.rb +2 -4
  19. data/spec/models/fetch_urls_response_spec.rb +6 -0
  20. data/spec/models/file_sync_config_nullable_spec.rb +40 -0
  21. data/spec/models/file_sync_config_spec.rb +40 -0
  22. data/spec/models/gmail_sync_input_spec.rb +6 -0
  23. data/spec/models/outlook_sync_input_spec.rb +6 -0
  24. data/spec/models/s3_file_sync_input_spec.rb +6 -0
  25. data/spec/models/user_file_spec.rb +2 -2
  26. metadata +8 -14
  27. data/lib/carbon_ruby_sdk/models/helpdesk_global_file_sync_config.rb +0 -217
  28. data/lib/carbon_ruby_sdk/models/helpdesk_global_file_sync_config_nullable.rb +0 -218
  29. data/spec/models/helpdesk_file_sync_config_nullable_spec.rb +0 -34
  30. data/spec/models/helpdesk_file_sync_config_spec.rb +0 -34
  31. data/spec/models/helpdesk_global_file_sync_config_nullable_spec.rb +0 -28
  32. data/spec/models/helpdesk_global_file_sync_config_spec.rb +0 -28
@@ -11,16 +11,22 @@ require 'time'
11
11
 
12
12
  module Carbon
13
13
  # Used to configure file syncing for certain connectors when sync_files_on_connection is set to true
14
- class HelpdeskFileSyncConfigNullable
15
- attr_accessor :file_types
14
+ class FileSyncConfigNullable
15
+ # File types to automatically sync when the data source connects. Only a subset of file types can be controlled. If not supported, then they will always be synced
16
+ attr_accessor :auto_synced_source_types
16
17
 
18
+ # Automatically sync attachments from files where supported. Currently applies to Helpdesk Tickets
17
19
  attr_accessor :sync_attachments
18
20
 
21
+ # Detect audio language before transcription for audio files
22
+ attr_accessor :detect_audio_language
23
+
19
24
  # Attribute mapping from ruby-style variable name to JSON key.
20
25
  def self.attribute_map
21
26
  {
22
- :'file_types' => :'file_types',
23
- :'sync_attachments' => :'sync_attachments'
27
+ :'auto_synced_source_types' => :'auto_synced_source_types',
28
+ :'sync_attachments' => :'sync_attachments',
29
+ :'detect_audio_language' => :'detect_audio_language'
24
30
  }
25
31
  end
26
32
 
@@ -32,8 +38,9 @@ module Carbon
32
38
  # Attribute type mapping.
33
39
  def self.openapi_types
34
40
  {
35
- :'file_types' => :'Array<HelpdeskFileTypes>',
36
- :'sync_attachments' => :'Boolean'
41
+ :'auto_synced_source_types' => :'Array<HelpdeskFileTypes>',
42
+ :'sync_attachments' => :'Boolean',
43
+ :'detect_audio_language' => :'Boolean'
37
44
  }
38
45
  end
39
46
 
@@ -47,20 +54,20 @@ module Carbon
47
54
  # @param [Hash] attributes Model attributes in the form of hash
48
55
  def initialize(attributes = {})
49
56
  if (!attributes.is_a?(Hash))
50
- fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::HelpdeskFileSyncConfigNullable` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::FileSyncConfigNullable` initialize method"
51
58
  end
52
59
 
53
60
  # check to see if the attribute exists and convert string to symbol for hash key
54
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
55
62
  if (!self.class.attribute_map.key?(k.to_sym))
56
- fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::HelpdeskFileSyncConfigNullable`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::FileSyncConfigNullable`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
64
  end
58
65
  h[k.to_sym] = v
59
66
  }
60
67
 
61
- if attributes.key?(:'file_types')
62
- if (value = attributes[:'file_types']).is_a?(Array)
63
- self.file_types = value
68
+ if attributes.key?(:'auto_synced_source_types')
69
+ if (value = attributes[:'auto_synced_source_types']).is_a?(Array)
70
+ self.auto_synced_source_types = value
64
71
  end
65
72
  end
66
73
 
@@ -69,6 +76,12 @@ module Carbon
69
76
  else
70
77
  self.sync_attachments = false
71
78
  end
79
+
80
+ if attributes.key?(:'detect_audio_language')
81
+ self.detect_audio_language = attributes[:'detect_audio_language']
82
+ else
83
+ self.detect_audio_language = false
84
+ end
72
85
  end
73
86
 
74
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -89,8 +102,9 @@ module Carbon
89
102
  def ==(o)
90
103
  return true if self.equal?(o)
91
104
  self.class == o.class &&
92
- file_types == o.file_types &&
93
- sync_attachments == o.sync_attachments
105
+ auto_synced_source_types == o.auto_synced_source_types &&
106
+ sync_attachments == o.sync_attachments &&
107
+ detect_audio_language == o.detect_audio_language
94
108
  end
95
109
 
96
110
  # @see the `==` method
@@ -102,7 +116,7 @@ module Carbon
102
116
  # Calculates hash code according to all attributes.
103
117
  # @return [Integer] Hash code
104
118
  def hash
105
- [file_types, sync_attachments].hash
119
+ [auto_synced_source_types, sync_attachments, detect_audio_language].hash
106
120
  end
107
121
 
108
122
  # Builds the object from hash
@@ -77,7 +77,7 @@ module Carbon
77
77
  :'sync_files_on_connection' => :'Boolean',
78
78
  :'request_id' => :'String',
79
79
  :'sync_source_items' => :'Boolean',
80
- :'file_sync_config' => :'HelpdeskFileSyncConfigNullable'
80
+ :'file_sync_config' => :'FileSyncConfigNullable'
81
81
  }
82
82
  end
83
83
 
@@ -33,6 +33,8 @@ module Carbon
33
33
 
34
34
  attr_accessor :sync_attachments
35
35
 
36
+ attr_accessor :file_sync_config
37
+
36
38
  attr_accessor :incremental_sync
37
39
 
38
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -49,6 +51,7 @@ module Carbon
49
51
  :'data_source_id' => :'data_source_id',
50
52
  :'request_id' => :'request_id',
51
53
  :'sync_attachments' => :'sync_attachments',
54
+ :'file_sync_config' => :'file_sync_config',
52
55
  :'incremental_sync' => :'incremental_sync'
53
56
  }
54
57
  end
@@ -72,6 +75,7 @@ module Carbon
72
75
  :'data_source_id' => :'Integer',
73
76
  :'request_id' => :'String',
74
77
  :'sync_attachments' => :'Boolean',
78
+ :'file_sync_config' => :'FileSyncConfigNullable',
75
79
  :'incremental_sync' => :'Boolean'
76
80
  }
77
81
  end
@@ -88,6 +92,7 @@ module Carbon
88
92
  :'data_source_id',
89
93
  :'request_id',
90
94
  :'sync_attachments',
95
+ :'file_sync_config',
91
96
  ])
92
97
  end
93
98
 
@@ -164,6 +169,10 @@ module Carbon
164
169
  self.sync_attachments = false
165
170
  end
166
171
 
172
+ if attributes.key?(:'file_sync_config')
173
+ self.file_sync_config = attributes[:'file_sync_config']
174
+ end
175
+
167
176
  if attributes.key?(:'incremental_sync')
168
177
  self.incremental_sync = attributes[:'incremental_sync']
169
178
  else
@@ -205,6 +214,7 @@ module Carbon
205
214
  data_source_id == o.data_source_id &&
206
215
  request_id == o.request_id &&
207
216
  sync_attachments == o.sync_attachments &&
217
+ file_sync_config == o.file_sync_config &&
208
218
  incremental_sync == o.incremental_sync
209
219
  end
210
220
 
@@ -217,7 +227,7 @@ module Carbon
217
227
  # Calculates hash code according to all attributes.
218
228
  # @return [Integer] Hash code
219
229
  def hash
220
- [tags, filters, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, data_source_id, request_id, sync_attachments, incremental_sync].hash
230
+ [tags, filters, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, data_source_id, request_id, sync_attachments, file_sync_config, incremental_sync].hash
221
231
  end
222
232
 
223
233
  # Builds the object from hash
@@ -61,7 +61,7 @@ module Carbon
61
61
 
62
62
  attr_accessor :parse_pdf_tables_with_ocr
63
63
 
64
- # Enable integration's file picker for sources that support it. Supported sources: SHAREPOINT, DROPBOX, BOX, GOOGLE_DRIVE, ONEDRIVE
64
+ # Enable integration's file picker for sources that support it. Supported sources: ONEDRIVE, GOOGLE_DRIVE, DROPBOX, SHAREPOINT, BOX
65
65
  attr_accessor :enable_file_picker
66
66
 
67
67
  # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
@@ -137,7 +137,7 @@ module Carbon
137
137
  :'enable_file_picker' => :'Boolean',
138
138
  :'sync_source_items' => :'Boolean',
139
139
  :'incremental_sync' => :'Boolean',
140
- :'file_sync_config' => :'HelpdeskFileSyncConfigNullable'
140
+ :'file_sync_config' => :'FileSyncConfigNullable'
141
141
  }
142
142
  end
143
143
 
@@ -279,7 +279,7 @@ module Carbon
279
279
  if attributes.key?(:'request_id')
280
280
  self.request_id = attributes[:'request_id']
281
281
  else
282
- self.request_id = 'a0b57844-5937-42ef-a161-2515fc4f16df'
282
+ self.request_id = 'eb3e536e-fa3e-4f8e-9a22-25f70393e759'
283
283
  end
284
284
 
285
285
  if attributes.key?(:'use_ocr')
@@ -35,6 +35,8 @@ module Carbon
35
35
 
36
36
  attr_accessor :sync_attachments
37
37
 
38
+ attr_accessor :file_sync_config
39
+
38
40
  attr_accessor :incremental_sync
39
41
 
40
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -52,6 +54,7 @@ module Carbon
52
54
  :'data_source_id' => :'data_source_id',
53
55
  :'request_id' => :'request_id',
54
56
  :'sync_attachments' => :'sync_attachments',
57
+ :'file_sync_config' => :'file_sync_config',
55
58
  :'incremental_sync' => :'incremental_sync'
56
59
  }
57
60
  end
@@ -76,6 +79,7 @@ module Carbon
76
79
  :'data_source_id' => :'Integer',
77
80
  :'request_id' => :'String',
78
81
  :'sync_attachments' => :'Boolean',
82
+ :'file_sync_config' => :'FileSyncConfigNullable',
79
83
  :'incremental_sync' => :'Boolean'
80
84
  }
81
85
  end
@@ -93,6 +97,7 @@ module Carbon
93
97
  :'data_source_id',
94
98
  :'request_id',
95
99
  :'sync_attachments',
100
+ :'file_sync_config',
96
101
  ])
97
102
  end
98
103
 
@@ -175,6 +180,10 @@ module Carbon
175
180
  self.sync_attachments = false
176
181
  end
177
182
 
183
+ if attributes.key?(:'file_sync_config')
184
+ self.file_sync_config = attributes[:'file_sync_config']
185
+ end
186
+
178
187
  if attributes.key?(:'incremental_sync')
179
188
  self.incremental_sync = attributes[:'incremental_sync']
180
189
  else
@@ -217,6 +226,7 @@ module Carbon
217
226
  data_source_id == o.data_source_id &&
218
227
  request_id == o.request_id &&
219
228
  sync_attachments == o.sync_attachments &&
229
+ file_sync_config == o.file_sync_config &&
220
230
  incremental_sync == o.incremental_sync
221
231
  end
222
232
 
@@ -229,7 +239,7 @@ module Carbon
229
239
  # Calculates hash code according to all attributes.
230
240
  # @return [Integer] Hash code
231
241
  def hash
232
- [tags, folder, filters, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, data_source_id, request_id, sync_attachments, incremental_sync].hash
242
+ [tags, folder, filters, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, data_source_id, request_id, sync_attachments, file_sync_config, incremental_sync].hash
233
243
  end
234
244
 
235
245
  # Builds the object from hash
@@ -40,6 +40,8 @@ module Carbon
40
40
 
41
41
  attr_accessor :parse_pdf_tables_with_ocr
42
42
 
43
+ attr_accessor :file_sync_config
44
+
43
45
  # Attribute mapping from ruby-style variable name to JSON key.
44
46
  def self.attribute_map
45
47
  {
@@ -56,7 +58,8 @@ module Carbon
56
58
  :'data_source_id' => :'data_source_id',
57
59
  :'request_id' => :'request_id',
58
60
  :'use_ocr' => :'use_ocr',
59
- :'parse_pdf_tables_with_ocr' => :'parse_pdf_tables_with_ocr'
61
+ :'parse_pdf_tables_with_ocr' => :'parse_pdf_tables_with_ocr',
62
+ :'file_sync_config' => :'file_sync_config'
60
63
  }
61
64
  end
62
65
 
@@ -81,7 +84,8 @@ module Carbon
81
84
  :'data_source_id' => :'Integer',
82
85
  :'request_id' => :'String',
83
86
  :'use_ocr' => :'Boolean',
84
- :'parse_pdf_tables_with_ocr' => :'Boolean'
87
+ :'parse_pdf_tables_with_ocr' => :'Boolean',
88
+ :'file_sync_config' => :'FileSyncConfigNullable'
85
89
  }
86
90
  end
87
91
 
@@ -98,7 +102,8 @@ module Carbon
98
102
  :'data_source_id',
99
103
  :'request_id',
100
104
  :'use_ocr',
101
- :'parse_pdf_tables_with_ocr'
105
+ :'parse_pdf_tables_with_ocr',
106
+ :'file_sync_config'
102
107
  ])
103
108
  end
104
109
 
@@ -192,6 +197,10 @@ module Carbon
192
197
  else
193
198
  self.parse_pdf_tables_with_ocr = false
194
199
  end
200
+
201
+ if attributes.key?(:'file_sync_config')
202
+ self.file_sync_config = attributes[:'file_sync_config']
203
+ end
195
204
  end
196
205
 
197
206
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -230,7 +239,8 @@ module Carbon
230
239
  data_source_id == o.data_source_id &&
231
240
  request_id == o.request_id &&
232
241
  use_ocr == o.use_ocr &&
233
- parse_pdf_tables_with_ocr == o.parse_pdf_tables_with_ocr
242
+ parse_pdf_tables_with_ocr == o.parse_pdf_tables_with_ocr &&
243
+ file_sync_config == o.file_sync_config
234
244
  end
235
245
 
236
246
  # @see the `==` method
@@ -242,7 +252,7 @@ module Carbon
242
252
  # Calculates hash code according to all attributes.
243
253
  # @return [Integer] Hash code
244
254
  def hash
245
- [tags, ids, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk, set_page_as_boundary, data_source_id, request_id, use_ocr, parse_pdf_tables_with_ocr].hash
255
+ [tags, ids, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk, set_page_as_boundary, data_source_id, request_id, use_ocr, parse_pdf_tables_with_ocr, file_sync_config].hash
246
256
  end
247
257
 
248
258
  # Builds the object from hash
@@ -90,7 +90,7 @@ module Carbon
90
90
  :'use_ocr' => :'Boolean',
91
91
  :'parse_pdf_tables_with_ocr' => :'Boolean',
92
92
  :'incremental_sync' => :'Boolean',
93
- :'file_sync_config' => :'HelpdeskGlobalFileSyncConfigNullable'
93
+ :'file_sync_config' => :'FileSyncConfigNullable'
94
94
  }
95
95
  end
96
96
 
@@ -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 = '5cb51bcc-08e9-4e31-9784-0005b5390cb6'
190
+ self.request_id = '27036d05-9737-4197-b0c6-e9fb9f60f976'
191
191
  end
192
192
 
193
193
  if attributes.key?(:'use_ocr')
@@ -88,7 +88,7 @@ module Carbon
88
88
  :'enable_file_picker' => :'Boolean',
89
89
  :'sync_source_items' => :'Boolean',
90
90
  :'incremental_sync' => :'Boolean',
91
- :'file_sync_config' => :'HelpdeskFileSyncConfigNullable'
91
+ :'file_sync_config' => :'FileSyncConfigNullable'
92
92
  }
93
93
  end
94
94
 
@@ -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 = 'ca195b1c-0656-4db7-96fc-211554e9827b'
185
+ self.request_id = '18ef9025-4c76-443c-a115-ba77b17afd8b'
186
186
  end
187
187
 
188
188
  if attributes.key?(:'enable_file_picker')
@@ -67,10 +67,10 @@ module Carbon
67
67
 
68
68
  attr_accessor :generate_sparse_vectors
69
69
 
70
- attr_accessor :audio_properties
71
-
72
70
  attr_accessor :request_id
73
71
 
72
+ attr_accessor :sync_properties
73
+
74
74
  attr_accessor :created_at
75
75
 
76
76
  attr_accessor :updated_at
@@ -106,8 +106,8 @@ module Carbon
106
106
  :'skip_embedding_generation' => :'skip_embedding_generation',
107
107
  :'source_created_at' => :'source_created_at',
108
108
  :'generate_sparse_vectors' => :'generate_sparse_vectors',
109
- :'audio_properties' => :'audio_properties',
110
109
  :'request_id' => :'request_id',
110
+ :'sync_properties' => :'sync_properties',
111
111
  :'created_at' => :'created_at',
112
112
  :'updated_at' => :'updated_at'
113
113
  }
@@ -149,8 +149,8 @@ module Carbon
149
149
  :'skip_embedding_generation' => :'Boolean',
150
150
  :'source_created_at' => :'Time',
151
151
  :'generate_sparse_vectors' => :'Boolean',
152
- :'audio_properties' => :'Object',
153
152
  :'request_id' => :'String',
153
+ :'sync_properties' => :'Object',
154
154
  :'created_at' => :'Time',
155
155
  :'updated_at' => :'Time'
156
156
  }
@@ -179,7 +179,6 @@ module Carbon
179
179
  :'additional_presigned_urls',
180
180
  :'source_created_at',
181
181
  :'generate_sparse_vectors',
182
- :'audio_properties',
183
182
  :'request_id',
184
183
  ])
185
184
  end
@@ -313,14 +312,14 @@ module Carbon
313
312
  self.generate_sparse_vectors = attributes[:'generate_sparse_vectors']
314
313
  end
315
314
 
316
- if attributes.key?(:'audio_properties')
317
- self.audio_properties = attributes[:'audio_properties']
318
- end
319
-
320
315
  if attributes.key?(:'request_id')
321
316
  self.request_id = attributes[:'request_id']
322
317
  end
323
318
 
319
+ if attributes.key?(:'sync_properties')
320
+ self.sync_properties = attributes[:'sync_properties']
321
+ end
322
+
324
323
  if attributes.key?(:'created_at')
325
324
  self.created_at = attributes[:'created_at']
326
325
  end
@@ -366,6 +365,10 @@ module Carbon
366
365
  invalid_properties.push('invalid value for "skip_embedding_generation", skip_embedding_generation cannot be nil.')
367
366
  end
368
367
 
368
+ if @sync_properties.nil?
369
+ invalid_properties.push('invalid value for "sync_properties", sync_properties cannot be nil.')
370
+ end
371
+
369
372
  if @created_at.nil?
370
373
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
371
374
  end
@@ -388,6 +391,7 @@ module Carbon
388
391
  return false if @sync_status.nil?
389
392
  return false if @ocr_properties.nil?
390
393
  return false if @skip_embedding_generation.nil?
394
+ return false if @sync_properties.nil?
391
395
  return false if @created_at.nil?
392
396
  return false if @updated_at.nil?
393
397
  true
@@ -426,8 +430,8 @@ module Carbon
426
430
  skip_embedding_generation == o.skip_embedding_generation &&
427
431
  source_created_at == o.source_created_at &&
428
432
  generate_sparse_vectors == o.generate_sparse_vectors &&
429
- audio_properties == o.audio_properties &&
430
433
  request_id == o.request_id &&
434
+ sync_properties == o.sync_properties &&
431
435
  created_at == o.created_at &&
432
436
  updated_at == o.updated_at
433
437
  end
@@ -441,7 +445,7 @@ module Carbon
441
445
  # Calculates hash code according to all attributes.
442
446
  # @return [Integer] Hash code
443
447
  def hash
444
- [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, audio_properties, request_id, created_at, updated_at].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
445
449
  end
446
450
 
447
451
  # 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.1.33'
10
+ VERSION = '0.1.34'
11
11
  end
@@ -55,6 +55,8 @@ require 'carbon_ruby_sdk/models/file_formats'
55
55
  require 'carbon_ruby_sdk/models/file_formats_nullable'
56
56
  require 'carbon_ruby_sdk/models/file_statistics'
57
57
  require 'carbon_ruby_sdk/models/file_statistics_nullable'
58
+ require 'carbon_ruby_sdk/models/file_sync_config'
59
+ require 'carbon_ruby_sdk/models/file_sync_config_nullable'
58
60
  require 'carbon_ruby_sdk/models/fresh_desk_connect_request'
59
61
  require 'carbon_ruby_sdk/models/freskdesk_authentication'
60
62
  require 'carbon_ruby_sdk/models/generic_success_response'
@@ -67,11 +69,7 @@ require 'carbon_ruby_sdk/models/github_connect_request'
67
69
  require 'carbon_ruby_sdk/models/github_fetch_repos_request'
68
70
  require 'carbon_ruby_sdk/models/gmail_sync_input'
69
71
  require 'carbon_ruby_sdk/models/http_validation_error'
70
- require 'carbon_ruby_sdk/models/helpdesk_file_sync_config'
71
- require 'carbon_ruby_sdk/models/helpdesk_file_sync_config_nullable'
72
72
  require 'carbon_ruby_sdk/models/helpdesk_file_types'
73
- require 'carbon_ruby_sdk/models/helpdesk_global_file_sync_config'
74
- require 'carbon_ruby_sdk/models/helpdesk_global_file_sync_config_nullable'
75
73
  require 'carbon_ruby_sdk/models/hybrid_search_tuning_params'
76
74
  require 'carbon_ruby_sdk/models/hybrid_search_tuning_params_nullable'
77
75
  require 'carbon_ruby_sdk/models/ids_property'
@@ -31,4 +31,10 @@ describe Carbon::FetchURLsResponse do
31
31
  end
32
32
  end
33
33
 
34
+ describe 'test attribute "error_message"' 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
+
34
40
  end
@@ -0,0 +1,40 @@
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::FileSyncConfigNullable
14
+ describe Carbon::FileSyncConfigNullable do
15
+ let(:instance) { Carbon::FileSyncConfigNullable.new }
16
+
17
+ describe 'test an instance of FileSyncConfigNullable' do
18
+ it 'should create an instance of FileSyncConfigNullable' do
19
+ expect(instance).to be_instance_of(Carbon::FileSyncConfigNullable)
20
+ end
21
+ end
22
+ describe 'test attribute "auto_synced_source_types"' 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 "sync_attachments"' 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 "detect_audio_language"' 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
+ end
@@ -0,0 +1,40 @@
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::FileSyncConfig
14
+ describe Carbon::FileSyncConfig do
15
+ let(:instance) { Carbon::FileSyncConfig.new }
16
+
17
+ describe 'test an instance of FileSyncConfig' do
18
+ it 'should create an instance of FileSyncConfig' do
19
+ expect(instance).to be_instance_of(Carbon::FileSyncConfig)
20
+ end
21
+ end
22
+ describe 'test attribute "auto_synced_source_types"' 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 "sync_attachments"' 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 "detect_audio_language"' 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
+ end
@@ -85,6 +85,12 @@ describe Carbon::GmailSyncInput do
85
85
  end
86
86
  end
87
87
 
88
+ describe 'test attribute "file_sync_config"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
88
94
  describe 'test attribute "incremental_sync"' do
89
95
  it 'should work' do
90
96
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -91,6 +91,12 @@ describe Carbon::OutlookSyncInput do
91
91
  end
92
92
  end
93
93
 
94
+ describe 'test attribute "file_sync_config"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
94
100
  describe 'test attribute "incremental_sync"' do
95
101
  it 'should work' do
96
102
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -103,4 +103,10 @@ describe Carbon::S3FileSyncInput do
103
103
  end
104
104
  end
105
105
 
106
+ describe 'test attribute "file_sync_config"' 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
  end
@@ -187,13 +187,13 @@ describe Carbon::UserFile do
187
187
  end
188
188
  end
189
189
 
190
- describe 'test attribute "audio_properties"' do
190
+ describe 'test attribute "request_id"' do
191
191
  it 'should work' do
192
192
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
193
193
  end
194
194
  end
195
195
 
196
- describe 'test attribute "request_id"' do
196
+ describe 'test attribute "sync_properties"' do
197
197
  it 'should work' do
198
198
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
199
199
  end