carbon_ruby_sdk 0.2.41 → 0.2.42

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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +140 -2
  4. data/lib/carbon_ruby_sdk/api/white_label_api.rb +393 -0
  5. data/lib/carbon_ruby_sdk/models/credentials.rb +244 -0
  6. data/lib/carbon_ruby_sdk/models/delete_white_label_request.rb +222 -0
  7. data/lib/carbon_ruby_sdk/models/google_drive_credentials.rb +254 -0
  8. data/lib/carbon_ruby_sdk/models/google_drive_white_label_input.rb +230 -0
  9. data/lib/carbon_ruby_sdk/models/list_white_label_request.rb +246 -0
  10. data/lib/carbon_ruby_sdk/models/one_drive_sharepoint_credentials.rb +264 -0
  11. data/lib/carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input.rb +234 -0
  12. data/lib/carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input_data_source_type.rb +36 -0
  13. data/lib/carbon_ruby_sdk/models/white_label_create_request_inner.rb +255 -0
  14. data/lib/carbon_ruby_sdk/models/white_label_filters.rb +230 -0
  15. data/lib/carbon_ruby_sdk/models/white_label_input.rb +234 -0
  16. data/lib/carbon_ruby_sdk/models/white_label_input_data_source_type.rb +48 -0
  17. data/lib/carbon_ruby_sdk/models/white_label_order_by_columns.rb +36 -0
  18. data/lib/carbon_ruby_sdk/models/white_label_update_request.rb +255 -0
  19. data/lib/carbon_ruby_sdk/version.rb +1 -1
  20. data/lib/carbon_ruby_sdk.rb +17 -0
  21. data/spec/api/white_label_api_spec.rb +73 -0
  22. data/spec/models/credentials_spec.rb +40 -0
  23. data/spec/models/delete_white_label_request_spec.rb +28 -0
  24. data/spec/models/google_drive_credentials_spec.rb +46 -0
  25. data/spec/models/google_drive_white_label_input_spec.rb +34 -0
  26. data/spec/models/list_white_label_request_spec.rb +46 -0
  27. data/spec/models/one_drive_sharepoint_credentials_spec.rb +52 -0
  28. data/spec/models/one_drive_sharepoint_white_label_input_data_source_type_spec.rb +22 -0
  29. data/spec/models/one_drive_sharepoint_white_label_input_spec.rb +34 -0
  30. data/spec/models/white_label_create_request_inner_spec.rb +34 -0
  31. data/spec/models/white_label_filters_spec.rb +34 -0
  32. data/spec/models/white_label_input_data_source_type_spec.rb +22 -0
  33. data/spec/models/white_label_input_spec.rb +34 -0
  34. data/spec/models/white_label_order_by_columns_spec.rb +22 -0
  35. data/spec/models/white_label_update_request_spec.rb +34 -0
  36. metadata +47 -2
@@ -0,0 +1,48 @@
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 WhiteLabelInputDataSourceType
14
+ INTERCOM = "INTERCOM".freeze
15
+ NOTION = "NOTION".freeze
16
+ SLACK = "SLACK".freeze
17
+ ZENDESK = "ZENDESK".freeze
18
+ OUTLOOK = "OUTLOOK".freeze
19
+ GMAIL = "GMAIL".freeze
20
+ SERVICENOW = "SERVICENOW".freeze
21
+ SALESFORCE = "SALESFORCE".freeze
22
+ ZOTERO = "ZOTERO".freeze
23
+ BOX = "BOX".freeze
24
+ CONFLUENCE = "CONFLUENCE".freeze
25
+ DROPBOX = "DROPBOX".freeze
26
+ GOOGLE_CLOUD_STORAGE = "GOOGLE_CLOUD_STORAGE".freeze
27
+ GONG = "GONG".freeze
28
+
29
+ def self.all_vars
30
+ @all_vars ||= [INTERCOM, NOTION, SLACK, ZENDESK, OUTLOOK, GMAIL, SERVICENOW, SALESFORCE, ZOTERO, BOX, CONFLUENCE, DROPBOX, GOOGLE_CLOUD_STORAGE, GONG].freeze
31
+ end
32
+
33
+ # Builds the enum from string
34
+ # @param [String] The enum value in the form of the string
35
+ # @return [String] The enum value
36
+ def self.build_from_hash(value)
37
+ new.build_from_hash(value)
38
+ end
39
+
40
+ # Builds the enum from string
41
+ # @param [String] The enum value in the form of the string
42
+ # @return [String] The enum value
43
+ def build_from_hash(value)
44
+ return value if WhiteLabelInputDataSourceType.all_vars.include?(value)
45
+ raise "Invalid ENUM value #{value} for class #WhiteLabelInputDataSourceType"
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,36 @@
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 WhiteLabelOrderByColumns
14
+ CREATED_AT = "created_at".freeze
15
+ DATA_SOURCE_TYPE = "data_source_type".freeze
16
+
17
+ def self.all_vars
18
+ @all_vars ||= [CREATED_AT, DATA_SOURCE_TYPE].freeze
19
+ end
20
+
21
+ # Builds the enum from string
22
+ # @param [String] The enum value in the form of the string
23
+ # @return [String] The enum value
24
+ def self.build_from_hash(value)
25
+ new.build_from_hash(value)
26
+ end
27
+
28
+ # Builds the enum from string
29
+ # @param [String] The enum value in the form of the string
30
+ # @return [String] The enum value
31
+ def build_from_hash(value)
32
+ return value if WhiteLabelOrderByColumns.all_vars.include?(value)
33
+ raise "Invalid ENUM value #{value} for class #WhiteLabelOrderByColumns"
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,255 @@
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 WhiteLabelUpdateRequest
14
+ attr_accessor :data_source_type
15
+
16
+ attr_accessor :credentials
17
+
18
+ # Attribute mapping from ruby-style variable name to JSON key.
19
+ def self.attribute_map
20
+ {
21
+ :'data_source_type' => :'data_source_type',
22
+ :'credentials' => :'credentials'
23
+ }
24
+ end
25
+
26
+ # Returns all the JSON keys this model knows about
27
+ def self.acceptable_attributes
28
+ attribute_map.values
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.openapi_types
33
+ {
34
+ :'data_source_type' => :'WhiteLabelInputDataSourceType',
35
+ :'credentials' => :'Credentials'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # List of class defined in anyOf (OpenAPI v3)
46
+ def self.openapi_any_of
47
+ [
48
+ :'GoogleDriveWhiteLabelInput',
49
+ :'OneDriveSharepointWhiteLabelInput',
50
+ :'WhiteLabelInput'
51
+ ]
52
+ end
53
+
54
+ # Initializes the object
55
+ # @param [Hash] attributes Model attributes in the form of hash
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Carbon::WhiteLabelUpdateRequest` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}) { |(k, v), h|
63
+ if (!self.class.attribute_map.key?(k.to_sym))
64
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Carbon::WhiteLabelUpdateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ end
66
+ h[k.to_sym] = v
67
+ }
68
+
69
+ if attributes.key?(:'data_source_type')
70
+ self.data_source_type = attributes[:'data_source_type']
71
+ end
72
+
73
+ if attributes.key?(:'credentials')
74
+ self.credentials = attributes[:'credentials']
75
+ end
76
+ end
77
+
78
+ # Show invalid properties with the reasons. Usually used together with valid?
79
+ # @return Array for valid properties with the reasons
80
+ def list_invalid_properties
81
+ invalid_properties = Array.new
82
+ if @data_source_type.nil?
83
+ invalid_properties.push('invalid value for "data_source_type", data_source_type cannot be nil.')
84
+ end
85
+
86
+ if @credentials.nil?
87
+ invalid_properties.push('invalid value for "credentials", credentials cannot be nil.')
88
+ end
89
+
90
+ invalid_properties
91
+ end
92
+
93
+ # Check to see if the all the properties in the model are valid
94
+ # @return true if the model is valid
95
+ def valid?
96
+ return false if @data_source_type.nil?
97
+ return false if @credentials.nil?
98
+ _any_of_found = false
99
+ self.class.openapi_any_of.each do |_class|
100
+ _any_of = Carbon.const_get(_class).build_from_hash(self.to_hash)
101
+ if _any_of.valid?
102
+ _any_of_found = true
103
+ end
104
+ end
105
+
106
+ if !_any_of_found
107
+ return false
108
+ end
109
+
110
+ true
111
+ end
112
+
113
+ # Checks equality by comparing each attribute.
114
+ # @param [Object] Object to be compared
115
+ def ==(o)
116
+ return true if self.equal?(o)
117
+ self.class == o.class &&
118
+ data_source_type == o.data_source_type &&
119
+ credentials == o.credentials
120
+ end
121
+
122
+ # @see the `==` method
123
+ # @param [Object] Object to be compared
124
+ def eql?(o)
125
+ self == o
126
+ end
127
+
128
+ # Calculates hash code according to all attributes.
129
+ # @return [Integer] Hash code
130
+ def hash
131
+ [data_source_type, credentials].hash
132
+ end
133
+
134
+ # Builds the object from hash
135
+ # @param [Hash] attributes Model attributes in the form of hash
136
+ # @return [Object] Returns the model itself
137
+ def self.build_from_hash(attributes)
138
+ new.build_from_hash(attributes)
139
+ end
140
+
141
+ # Builds the object from hash
142
+ # @param [Hash] attributes Model attributes in the form of hash
143
+ # @return [Object] Returns the model itself
144
+ def build_from_hash(attributes)
145
+ return nil unless attributes.is_a?(Hash)
146
+ attributes = attributes.transform_keys(&:to_sym)
147
+ self.class.openapi_types.each_pair do |key, type|
148
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
149
+ self.send("#{key}=", nil)
150
+ elsif type =~ /\AArray<(.*)>/i
151
+ # check to ensure the input is an array given that the attribute
152
+ # is documented as an array but the input is not
153
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
154
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
155
+ end
156
+ elsif !attributes[self.class.attribute_map[key]].nil?
157
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
158
+ end
159
+ end
160
+
161
+ self
162
+ end
163
+
164
+ # Deserializes the data based on type
165
+ # @param string type Data type
166
+ # @param string value Value to be deserialized
167
+ # @return [Object] Deserialized data
168
+ def _deserialize(type, value)
169
+ case type.to_sym
170
+ when :Time
171
+ Time.parse(value)
172
+ when :Date
173
+ Date.parse(value)
174
+ when :String
175
+ value.to_s
176
+ when :Integer
177
+ value.to_i
178
+ when :Float
179
+ value.to_f
180
+ when :Boolean
181
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
182
+ true
183
+ else
184
+ false
185
+ end
186
+ when :Object
187
+ # generic object (usually a Hash), return directly
188
+ value
189
+ when /\AArray<(?<inner_type>.+)>\z/
190
+ inner_type = Regexp.last_match[:inner_type]
191
+ value.map { |v| _deserialize(inner_type, v) }
192
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
193
+ k_type = Regexp.last_match[:k_type]
194
+ v_type = Regexp.last_match[:v_type]
195
+ {}.tap do |hash|
196
+ value.each do |k, v|
197
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
198
+ end
199
+ end
200
+ else # model
201
+ # models (e.g. Pet) or oneOf
202
+ klass = Carbon.const_get(type)
203
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
204
+ end
205
+ end
206
+
207
+ # Returns the string representation of the object
208
+ # @return [String] String presentation of the object
209
+ def to_s
210
+ to_hash.to_s
211
+ end
212
+
213
+ # to_body is an alias to to_hash (backward compatibility)
214
+ # @return [Hash] Returns the object in the form of hash
215
+ def to_body
216
+ to_hash
217
+ end
218
+
219
+ # Returns the object in the form of hash
220
+ # @return [Hash] Returns the object in the form of hash
221
+ def to_hash
222
+ hash = {}
223
+ self.class.attribute_map.each_pair do |attr, param|
224
+ value = self.send(attr)
225
+ if value.nil?
226
+ is_nullable = self.class.openapi_nullable.include?(attr)
227
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
228
+ end
229
+
230
+ hash[param] = _to_hash(value)
231
+ end
232
+ hash
233
+ end
234
+
235
+ # Outputs non-array value in the form of hash
236
+ # For object, use to_hash. Otherwise, just return the value
237
+ # @param [Object] value Any valid value
238
+ # @return [Hash] Returns the value in the form of hash
239
+ def _to_hash(value)
240
+ if value.is_a?(Array)
241
+ value.compact.map { |v| _to_hash(v) }
242
+ elsif value.is_a?(Hash)
243
+ {}.tap do |hash|
244
+ value.each { |k, v| hash[k] = _to_hash(v) }
245
+ end
246
+ elsif value.respond_to? :to_hash
247
+ value.to_hash
248
+ else
249
+ value
250
+ end
251
+ end
252
+
253
+ end
254
+
255
+ end
@@ -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.41'
10
+ VERSION = '0.2.42'
11
11
  end
@@ -54,6 +54,7 @@ require 'carbon_ruby_sdk/models/contacts_order_by'
54
54
  require 'carbon_ruby_sdk/models/contacts_order_by_nullable'
55
55
  require 'carbon_ruby_sdk/models/contacts_request'
56
56
  require 'carbon_ruby_sdk/models/contacts_response'
57
+ require 'carbon_ruby_sdk/models/credentials'
57
58
  require 'carbon_ruby_sdk/models/custom_credentials_type'
58
59
  require 'carbon_ruby_sdk/models/data_source_configuration'
59
60
  require 'carbon_ruby_sdk/models/data_source_last_sync_actions'
@@ -63,6 +64,7 @@ require 'carbon_ruby_sdk/models/data_source_type_nullable'
63
64
  require 'carbon_ruby_sdk/models/delete_files_query_input'
64
65
  require 'carbon_ruby_sdk/models/delete_files_v2_query_input'
65
66
  require 'carbon_ruby_sdk/models/delete_users_input'
67
+ require 'carbon_ruby_sdk/models/delete_white_label_request'
66
68
  require 'carbon_ruby_sdk/models/directory_item'
67
69
  require 'carbon_ruby_sdk/models/document_response'
68
70
  require 'carbon_ruby_sdk/models/document_response_list'
@@ -107,6 +109,8 @@ require 'carbon_ruby_sdk/models/github_connect_request'
107
109
  require 'carbon_ruby_sdk/models/github_fetch_repos_request'
108
110
  require 'carbon_ruby_sdk/models/gmail_sync_input'
109
111
  require 'carbon_ruby_sdk/models/gong_authentication'
112
+ require 'carbon_ruby_sdk/models/google_drive_credentials'
113
+ require 'carbon_ruby_sdk/models/google_drive_white_label_input'
110
114
  require 'carbon_ruby_sdk/models/guru_authentication'
111
115
  require 'carbon_ruby_sdk/models/guru_connect_request'
112
116
  require 'carbon_ruby_sdk/models/http_validation_error'
@@ -139,6 +143,7 @@ require 'carbon_ruby_sdk/models/list_user_response'
139
143
  require 'carbon_ruby_sdk/models/list_users_filters'
140
144
  require 'carbon_ruby_sdk/models/list_users_order_by_types'
141
145
  require 'carbon_ruby_sdk/models/list_users_request'
146
+ require 'carbon_ruby_sdk/models/list_white_label_request'
142
147
  require 'carbon_ruby_sdk/models/location_property_inner'
143
148
  require 'carbon_ruby_sdk/models/modify_cold_storage_parameters_query_input'
144
149
  require 'carbon_ruby_sdk/models/modify_user_configuration_input'
@@ -149,6 +154,9 @@ require 'carbon_ruby_sdk/models/o_auth_url_request'
149
154
  require 'carbon_ruby_sdk/models/oauth_based_connectors'
150
155
  require 'carbon_ruby_sdk/models/object_type'
151
156
  require 'carbon_ruby_sdk/models/one_drive_authentication'
157
+ require 'carbon_ruby_sdk/models/one_drive_sharepoint_credentials'
158
+ require 'carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input'
159
+ require 'carbon_ruby_sdk/models/one_drive_sharepoint_white_label_input_data_source_type'
152
160
  require 'carbon_ruby_sdk/models/opportunities_order_by'
153
161
  require 'carbon_ruby_sdk/models/opportunities_order_by_nullable'
154
162
  require 'carbon_ruby_sdk/models/opportunities_request'
@@ -259,6 +267,12 @@ require 'carbon_ruby_sdk/models/webhook_query_input'
259
267
  require 'carbon_ruby_sdk/models/webhook_query_response'
260
268
  require 'carbon_ruby_sdk/models/webhook_status'
261
269
  require 'carbon_ruby_sdk/models/webscrape_request'
270
+ require 'carbon_ruby_sdk/models/white_label_create_request_inner'
271
+ require 'carbon_ruby_sdk/models/white_label_filters'
272
+ require 'carbon_ruby_sdk/models/white_label_input'
273
+ require 'carbon_ruby_sdk/models/white_label_input_data_source_type'
274
+ require 'carbon_ruby_sdk/models/white_label_order_by_columns'
275
+ require 'carbon_ruby_sdk/models/white_label_update_request'
262
276
  require 'carbon_ruby_sdk/models/white_labeling_response'
263
277
  require 'carbon_ruby_sdk/models/youtube_transcript_response'
264
278
  require 'carbon_ruby_sdk/models/zendesk_authentication'
@@ -276,6 +290,7 @@ require 'carbon_ruby_sdk/api/organizations_api'
276
290
  require 'carbon_ruby_sdk/api/users_api'
277
291
  require 'carbon_ruby_sdk/api/utilities_api'
278
292
  require 'carbon_ruby_sdk/api/webhooks_api'
293
+ require 'carbon_ruby_sdk/api/white_label_api'
279
294
 
280
295
  module Carbon
281
296
  @config = Configuration.default
@@ -344,6 +359,7 @@ module Carbon
344
359
  attr_reader :users
345
360
  attr_reader :utilities
346
361
  attr_reader :webhooks
362
+ attr_reader :white_label
347
363
 
348
364
  def initialize(config = Configuration.default)
349
365
  @api_client = ApiClient::new(config)
@@ -358,6 +374,7 @@ module Carbon
358
374
  @users = Carbon::UsersApi.new(@api_client)
359
375
  @utilities = Carbon::UtilitiesApi.new(@api_client)
360
376
  @webhooks = Carbon::WebhooksApi.new(@api_client)
377
+ @white_label = Carbon::WhiteLabelApi.new(@api_client)
361
378
  end
362
379
  end
363
380
  end
@@ -0,0 +1,73 @@
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
+
12
+ # Unit tests for Carbon::WhiteLabelApi
13
+ describe 'WhiteLabelApi' do
14
+ before do
15
+ # run before each test
16
+ @api_instance = Carbon::WhiteLabelApi.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of WhiteLabelApi' do
24
+ it 'should create an instance of WhiteLabelApi' do
25
+ expect(@api_instance).to be_instance_of(Carbon::WhiteLabelApi)
26
+ end
27
+ end
28
+
29
+ # unit tests for create
30
+ # Create White Labels
31
+ # @param white_label_create_request_inner
32
+ # @param [Hash] opts the optional parameters
33
+ # @return [Object]
34
+ describe 'create test' 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
+ # unit tests for delete
41
+ # Delete White Labels
42
+ # @param delete_white_label_request
43
+ # @param [Hash] opts the optional parameters
44
+ # @return [Object]
45
+ describe 'delete test' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ # unit tests for list
52
+ # List White Labels
53
+ # @param list_white_label_request
54
+ # @param [Hash] opts the optional parameters
55
+ # @return [Object]
56
+ describe 'list test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ # unit tests for update
63
+ # Update White Label
64
+ # @param white_label_update_request
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [Object]
67
+ describe 'update test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ 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::Credentials
14
+ describe Carbon::Credentials do
15
+ let(:instance) { Carbon::Credentials.new }
16
+
17
+ describe 'test an instance of Credentials' do
18
+ it 'should create an instance of Credentials' do
19
+ expect(instance).to be_instance_of(Carbon::Credentials)
20
+ end
21
+ end
22
+ describe 'test attribute "client_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 "redirect_uri"' 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 "client_secret"' 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,28 @@
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::DeleteWhiteLabelRequest
14
+ describe Carbon::DeleteWhiteLabelRequest do
15
+ let(:instance) { Carbon::DeleteWhiteLabelRequest.new }
16
+
17
+ describe 'test an instance of DeleteWhiteLabelRequest' do
18
+ it 'should create an instance of DeleteWhiteLabelRequest' do
19
+ expect(instance).to be_instance_of(Carbon::DeleteWhiteLabelRequest)
20
+ end
21
+ end
22
+ describe 'test attribute "ids"' 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
+ end
@@ -0,0 +1,46 @@
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::GoogleDriveCredentials
14
+ describe Carbon::GoogleDriveCredentials do
15
+ let(:instance) { Carbon::GoogleDriveCredentials.new }
16
+
17
+ describe 'test an instance of GoogleDriveCredentials' do
18
+ it 'should create an instance of GoogleDriveCredentials' do
19
+ expect(instance).to be_instance_of(Carbon::GoogleDriveCredentials)
20
+ end
21
+ end
22
+ describe 'test attribute "client_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 "redirect_uri"' 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 "client_secret"' 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 "api_key"' 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
+ 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::GoogleDriveWhiteLabelInput
14
+ describe Carbon::GoogleDriveWhiteLabelInput do
15
+ let(:instance) { Carbon::GoogleDriveWhiteLabelInput.new }
16
+
17
+ describe 'test an instance of GoogleDriveWhiteLabelInput' do
18
+ it 'should create an instance of GoogleDriveWhiteLabelInput' do
19
+ expect(instance).to be_instance_of(Carbon::GoogleDriveWhiteLabelInput)
20
+ end
21
+ end
22
+ describe 'test attribute "data_source_type"' 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 "credentials"' 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