carbon_ruby_sdk 0.2.31 → 0.2.33

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1939099e2521b3ce6cd543619658ed58f1faa33ce3a130183c5c974f35a000e4
4
- data.tar.gz: 4573715a75b4ac334b788ff4a2d3750d04ec01a488daa01d5581d36c1d61ae1d
3
+ metadata.gz: 77d46a687aaa46c1584184d14fd6543a88d8dd1712307d0b029797d57b20b8d2
4
+ data.tar.gz: a3984f2b2cc3a0f0c169c3d2fcf28f07c10a4377335a83ea86f9dcc0068f8334
5
5
  SHA512:
6
- metadata.gz: e97681a4f7458e062ac3c13f822d359ddd5096b9f8982ec81d6ceb19374f33ca6c906df6cedcd4794c4e57f91827de14a8b03de4575373e925c632cd3a686505
7
- data.tar.gz: 0d2a1f1704620c3e481c11f7f124dcf4f08df5a40cd59c43890e1f504076376faeec18acd31a7ae508975619d6fcfdf5a70b6521ebb00cf160b5152b8a7f9efa
6
+ metadata.gz: 70b48fcec1456a51a1b8bc3ac5d426ad4b5f641437f6432ad8cc29dcb9f53882f6b225689899684171c15c27d6a6037c6f5cfc504d66c0c7a5bb99c22c0d9a75
7
+ data.tar.gz: d29777938d2828f6c8d74bf1005448b07c7c87c10da5b9dde987f33a8a758dda62fd4d3433a0e1b2b7d075c981fefaee1e26aad5d2b0eacc144f61769cdbac8f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbon_ruby_sdk (0.2.31)
4
+ carbon_ruby_sdk (0.2.33)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -71,7 +71,7 @@ GEM
71
71
  parser (>= 3.3.1.0)
72
72
  ruby-progressbar (1.13.0)
73
73
  ruby2_keywords (0.0.5)
74
- unicode-display_width (2.5.0)
74
+ unicode-display_width (2.6.0)
75
75
 
76
76
  PLATFORMS
77
77
  x86_64-linux
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect external data to LLMs, no matter the source.
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v0.2.31-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.31)
9
+ [![npm](https://img.shields.io/badge/gem-v0.2.33-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.33)
10
10
 
11
11
  </div>
12
12
 
@@ -94,7 +94,7 @@ Connect external data to LLMs, no matter the source.
94
94
  Add to Gemfile:
95
95
 
96
96
  ```ruby
97
- gem 'carbon_ruby_sdk', '~> 0.2.31'
97
+ gem 'carbon_ruby_sdk', '~> 0.2.33'
98
98
  ```
99
99
 
100
100
  ## Getting Started<a id="getting-started"></a>
@@ -13,9 +13,10 @@ module Carbon
13
13
  class HelpdeskFileTypes
14
14
  TICKET = "TICKET".freeze
15
15
  ARTICLE = "ARTICLE".freeze
16
+ CONVERSATION = "CONVERSATION".freeze
16
17
 
17
18
  def self.all_vars
18
- @all_vars ||= [TICKET, ARTICLE].freeze
19
+ @all_vars ||= [TICKET, ARTICLE, CONVERSATION].freeze
19
20
  end
20
21
 
21
22
  # Builds the enum from string
@@ -47,6 +47,8 @@ module Carbon
47
47
 
48
48
  attr_accessor :file_sync_usage
49
49
 
50
+ attr_accessor :logging_settings
51
+
50
52
  attr_accessor :created_at
51
53
 
52
54
  attr_accessor :updated_at
@@ -72,6 +74,7 @@ module Carbon
72
74
  :'connector_settings' => :'connector_settings',
73
75
  :'global_user_config' => :'global_user_config',
74
76
  :'file_sync_usage' => :'file_sync_usage',
77
+ :'logging_settings' => :'logging_settings',
75
78
  :'created_at' => :'created_at',
76
79
  :'updated_at' => :'updated_at'
77
80
  }
@@ -103,6 +106,7 @@ module Carbon
103
106
  :'connector_settings' => :'Object',
104
107
  :'global_user_config' => :'Object',
105
108
  :'file_sync_usage' => :'Object',
109
+ :'logging_settings' => :'Object',
106
110
  :'created_at' => :'Time',
107
111
  :'updated_at' => :'Time'
108
112
  }
@@ -207,6 +211,10 @@ module Carbon
207
211
  self.file_sync_usage = attributes[:'file_sync_usage']
208
212
  end
209
213
 
214
+ if attributes.key?(:'logging_settings')
215
+ self.logging_settings = attributes[:'logging_settings']
216
+ end
217
+
210
218
  if attributes.key?(:'created_at')
211
219
  self.created_at = attributes[:'created_at']
212
220
  end
@@ -268,6 +276,10 @@ module Carbon
268
276
  invalid_properties.push('invalid value for "file_sync_usage", file_sync_usage cannot be nil.')
269
277
  end
270
278
 
279
+ if @logging_settings.nil?
280
+ invalid_properties.push('invalid value for "logging_settings", logging_settings cannot be nil.')
281
+ end
282
+
271
283
  if @created_at.nil?
272
284
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
273
285
  end
@@ -294,6 +306,7 @@ module Carbon
294
306
  return false if @connector_settings.nil?
295
307
  return false if @global_user_config.nil?
296
308
  return false if @file_sync_usage.nil?
309
+ return false if @logging_settings.nil?
297
310
  return false if @created_at.nil?
298
311
  return false if @updated_at.nil?
299
312
  true
@@ -322,6 +335,7 @@ module Carbon
322
335
  connector_settings == o.connector_settings &&
323
336
  global_user_config == o.global_user_config &&
324
337
  file_sync_usage == o.file_sync_usage &&
338
+ logging_settings == o.logging_settings &&
325
339
  created_at == o.created_at &&
326
340
  updated_at == o.updated_at
327
341
  end
@@ -335,7 +349,7 @@ module Carbon
335
349
  # Calculates hash code according to all attributes.
336
350
  # @return [Integer] Hash code
337
351
  def hash
338
- [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, aggregate_num_files_by_source, aggregate_num_files_by_file_format, file_statistics_aggregated_at, period_ends_at, cancel_at_period_end, connector_settings, global_user_config, file_sync_usage, created_at, updated_at].hash
352
+ [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, aggregate_num_files_by_source, aggregate_num_files_by_file_format, file_statistics_aggregated_at, period_ends_at, cancel_at_period_end, connector_settings, global_user_config, file_sync_usage, logging_settings, created_at, updated_at].hash
339
353
  end
340
354
 
341
355
  # 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.31'
10
+ VERSION = '0.2.33'
11
11
  end
@@ -127,6 +127,12 @@ describe Carbon::OrganizationResponse do
127
127
  end
128
128
  end
129
129
 
130
+ describe 'test attribute "logging_settings"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
130
136
  describe 'test attribute "created_at"' do
131
137
  it 'should work' do
132
138
  # 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.31
4
+ version: 0.2.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday