carbon_ruby_sdk 0.1.23 → 0.1.24
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 +4 -4
 - data/README.md +104 -9
 - data/lib/carbon_ruby_sdk/api/embeddings_api.rb +2 -2
 - data/lib/carbon_ruby_sdk/api/integrations_api.rb +252 -18
 - data/lib/carbon_ruby_sdk/models/chunks_and_embeddings_upload_input.rb +4 -2
 - data/lib/carbon_ruby_sdk/models/custom_credentials_type.rb +39 -0
 - data/lib/carbon_ruby_sdk/models/embedding_generators.rb +2 -1
 - data/lib/carbon_ruby_sdk/models/embedding_generators_nullable.rb +2 -1
 - data/lib/carbon_ruby_sdk/models/external_source_items_order_by.rb +37 -0
 - data/lib/carbon_ruby_sdk/models/fresh_desk_connect_request.rb +17 -5
 - data/lib/carbon_ruby_sdk/models/gitbook_connect_request.rb +17 -5
 - data/lib/carbon_ruby_sdk/models/github_connect_request.rb +16 -4
 - data/lib/carbon_ruby_sdk/models/github_fetch_repos_request.rb +260 -0
 - data/lib/carbon_ruby_sdk/models/list_data_source_items_request.rb +26 -4
 - data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +18 -6
 - data/lib/carbon_ruby_sdk/models/order_dir_v2.rb +36 -0
 - data/lib/carbon_ruby_sdk/models/organization_user_data_source_api.rb +19 -5
 - data/lib/carbon_ruby_sdk/models/s3_auth_request.rb +16 -4
 - data/lib/carbon_ruby_sdk/models/sync_files_request.rb +1 -1
 - data/lib/carbon_ruby_sdk/models/sync_options.rb +17 -5
 - data/lib/carbon_ruby_sdk/models/text_embedding_generators.rb +7 -1
 - data/lib/carbon_ruby_sdk/version.rb +1 -1
 - data/lib/carbon_ruby_sdk.rb +4 -0
 - data/spec/api/integrations_api_spec.rb +26 -0
 - data/spec/models/custom_credentials_type_spec.rb +22 -0
 - data/spec/models/external_source_items_order_by_spec.rb +22 -0
 - data/spec/models/fresh_desk_connect_request_spec.rb +6 -0
 - data/spec/models/gitbook_connect_request_spec.rb +6 -0
 - data/spec/models/github_connect_request_spec.rb +6 -0
 - data/spec/models/github_fetch_repos_request_spec.rb +34 -0
 - data/spec/models/list_data_source_items_request_spec.rb +12 -0
 - data/spec/models/o_auth_url_request_spec.rb +6 -0
 - data/spec/models/order_dir_v2_spec.rb +22 -0
 - data/spec/models/organization_user_data_source_api_spec.rb +6 -0
 - data/spec/models/s3_auth_request_spec.rb +6 -0
 - data/spec/models/sync_options_spec.rb +6 -0
 - metadata +14 -2
 
| 
         @@ -43,6 +43,8 @@ module Carbon 
     | 
|
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
                attr_accessor :files_synced_at
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
      
 46 
     | 
    
         
            +
                attr_accessor :data_source_metadata
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
       46 
48 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       47 
49 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       48 
50 
     | 
    
         
             
                  {
         
     | 
| 
         @@ -61,7 +63,8 @@ module Carbon 
     | 
|
| 
       61 
63 
     | 
    
         
             
                    :'enable_auto_sync' => :'enable_auto_sync',
         
     | 
| 
       62 
64 
     | 
    
         
             
                    :'created_at' => :'created_at',
         
     | 
| 
       63 
65 
     | 
    
         
             
                    :'updated_at' => :'updated_at',
         
     | 
| 
       64 
     | 
    
         
            -
                    :'files_synced_at' => :'files_synced_at'
         
     | 
| 
      
 66 
     | 
    
         
            +
                    :'files_synced_at' => :'files_synced_at',
         
     | 
| 
      
 67 
     | 
    
         
            +
                    :'data_source_metadata' => :'data_source_metadata'
         
     | 
| 
       65 
68 
     | 
    
         
             
                  }
         
     | 
| 
       66 
69 
     | 
    
         
             
                end
         
     | 
| 
       67 
70 
     | 
    
         | 
| 
         @@ -88,7 +91,8 @@ module Carbon 
     | 
|
| 
       88 
91 
     | 
    
         
             
                    :'enable_auto_sync' => :'Boolean',
         
     | 
| 
       89 
92 
     | 
    
         
             
                    :'created_at' => :'Time',
         
     | 
| 
       90 
93 
     | 
    
         
             
                    :'updated_at' => :'Time',
         
     | 
| 
       91 
     | 
    
         
            -
                    :'files_synced_at' => :'Time'
         
     | 
| 
      
 94 
     | 
    
         
            +
                    :'files_synced_at' => :'Time',
         
     | 
| 
      
 95 
     | 
    
         
            +
                    :'data_source_metadata' => :'Object'
         
     | 
| 
       92 
96 
     | 
    
         
             
                  }
         
     | 
| 
       93 
97 
     | 
    
         
             
                end
         
     | 
| 
       94 
98 
     | 
    
         | 
| 
         @@ -99,7 +103,7 @@ module Carbon 
     | 
|
| 
       99 
103 
     | 
    
         
             
                    :'token',
         
     | 
| 
       100 
104 
     | 
    
         
             
                    :'source_items_synced_at',
         
     | 
| 
       101 
105 
     | 
    
         
             
                    :'enable_auto_sync',
         
     | 
| 
       102 
     | 
    
         
            -
                    :'files_synced_at'
         
     | 
| 
      
 106 
     | 
    
         
            +
                    :'files_synced_at',
         
     | 
| 
       103 
107 
     | 
    
         
             
                  ])
         
     | 
| 
       104 
108 
     | 
    
         
             
                end
         
     | 
| 
       105 
109 
     | 
    
         | 
| 
         @@ -181,6 +185,10 @@ module Carbon 
     | 
|
| 
       181 
185 
     | 
    
         
             
                  if attributes.key?(:'files_synced_at')
         
     | 
| 
       182 
186 
     | 
    
         
             
                    self.files_synced_at = attributes[:'files_synced_at']
         
     | 
| 
       183 
187 
     | 
    
         
             
                  end
         
     | 
| 
      
 188 
     | 
    
         
            +
             
     | 
| 
      
 189 
     | 
    
         
            +
                  if attributes.key?(:'data_source_metadata')
         
     | 
| 
      
 190 
     | 
    
         
            +
                    self.data_source_metadata = attributes[:'data_source_metadata']
         
     | 
| 
      
 191 
     | 
    
         
            +
                  end
         
     | 
| 
       184 
192 
     | 
    
         
             
                end
         
     | 
| 
       185 
193 
     | 
    
         | 
| 
       186 
194 
     | 
    
         
             
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -231,6 +239,10 @@ module Carbon 
     | 
|
| 
       231 
239 
     | 
    
         
             
                    invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
         
     | 
| 
       232 
240 
     | 
    
         
             
                  end
         
     | 
| 
       233 
241 
     | 
    
         | 
| 
      
 242 
     | 
    
         
            +
                  if @data_source_metadata.nil?
         
     | 
| 
      
 243 
     | 
    
         
            +
                    invalid_properties.push('invalid value for "data_source_metadata", data_source_metadata cannot be nil.')
         
     | 
| 
      
 244 
     | 
    
         
            +
                  end
         
     | 
| 
      
 245 
     | 
    
         
            +
             
     | 
| 
       234 
246 
     | 
    
         
             
                  invalid_properties
         
     | 
| 
       235 
247 
     | 
    
         
             
                end
         
     | 
| 
       236 
248 
     | 
    
         | 
| 
         @@ -248,6 +260,7 @@ module Carbon 
     | 
|
| 
       248 
260 
     | 
    
         
             
                  return false if @last_sync_action.nil?
         
     | 
| 
       249 
261 
     | 
    
         
             
                  return false if @created_at.nil?
         
     | 
| 
       250 
262 
     | 
    
         
             
                  return false if @updated_at.nil?
         
     | 
| 
      
 263 
     | 
    
         
            +
                  return false if @data_source_metadata.nil?
         
     | 
| 
       251 
264 
     | 
    
         
             
                  true
         
     | 
| 
       252 
265 
     | 
    
         
             
                end
         
     | 
| 
       253 
266 
     | 
    
         | 
| 
         @@ -271,7 +284,8 @@ module Carbon 
     | 
|
| 
       271 
284 
     | 
    
         
             
                      enable_auto_sync == o.enable_auto_sync &&
         
     | 
| 
       272 
285 
     | 
    
         
             
                      created_at == o.created_at &&
         
     | 
| 
       273 
286 
     | 
    
         
             
                      updated_at == o.updated_at &&
         
     | 
| 
       274 
     | 
    
         
            -
                      files_synced_at == o.files_synced_at
         
     | 
| 
      
 287 
     | 
    
         
            +
                      files_synced_at == o.files_synced_at &&
         
     | 
| 
      
 288 
     | 
    
         
            +
                      data_source_metadata == o.data_source_metadata
         
     | 
| 
       275 
289 
     | 
    
         
             
                end
         
     | 
| 
       276 
290 
     | 
    
         | 
| 
       277 
291 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -283,7 +297,7 @@ module Carbon 
     | 
|
| 
       283 
297 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       284 
298 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       285 
299 
     | 
    
         
             
                def hash
         
     | 
| 
       286 
     | 
    
         
            -
                  [id, data_source_external_id, data_source_type, token, sync_status, source_items_synced_at, organization_user_id, organization_id, organization_supplied_user_id, revoked_access, last_synced_at, last_sync_action, enable_auto_sync, created_at, updated_at, files_synced_at].hash
         
     | 
| 
      
 300 
     | 
    
         
            +
                  [id, data_source_external_id, data_source_type, token, sync_status, source_items_synced_at, organization_user_id, organization_id, organization_supplied_user_id, revoked_access, last_synced_at, last_sync_action, enable_auto_sync, created_at, updated_at, files_synced_at, data_source_metadata].hash
         
     | 
| 
       287 
301 
     | 
    
         
             
                end
         
     | 
| 
       288 
302 
     | 
    
         | 
| 
       289 
303 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -15,11 +15,15 @@ module Carbon 
     | 
|
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
                attr_accessor :access_key_secret
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
      
 18 
     | 
    
         
            +
                # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
         
     | 
| 
      
 19 
     | 
    
         
            +
                attr_accessor :sync_source_items
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
       18 
21 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       19 
22 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       20 
23 
     | 
    
         
             
                  {
         
     | 
| 
       21 
24 
     | 
    
         
             
                    :'access_key' => :'access_key',
         
     | 
| 
       22 
     | 
    
         
            -
                    :'access_key_secret' => :'access_key_secret'
         
     | 
| 
      
 25 
     | 
    
         
            +
                    :'access_key_secret' => :'access_key_secret',
         
     | 
| 
      
 26 
     | 
    
         
            +
                    :'sync_source_items' => :'sync_source_items'
         
     | 
| 
       23 
27 
     | 
    
         
             
                  }
         
     | 
| 
       24 
28 
     | 
    
         
             
                end
         
     | 
| 
       25 
29 
     | 
    
         | 
| 
         @@ -32,7 +36,8 @@ module Carbon 
     | 
|
| 
       32 
36 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       33 
37 
     | 
    
         
             
                  {
         
     | 
| 
       34 
38 
     | 
    
         
             
                    :'access_key' => :'String',
         
     | 
| 
       35 
     | 
    
         
            -
                    :'access_key_secret' => :'String'
         
     | 
| 
      
 39 
     | 
    
         
            +
                    :'access_key_secret' => :'String',
         
     | 
| 
      
 40 
     | 
    
         
            +
                    :'sync_source_items' => :'Boolean'
         
     | 
| 
       36 
41 
     | 
    
         
             
                  }
         
     | 
| 
       37 
42 
     | 
    
         
             
                end
         
     | 
| 
       38 
43 
     | 
    
         | 
| 
         @@ -64,6 +69,12 @@ module Carbon 
     | 
|
| 
       64 
69 
     | 
    
         
             
                  if attributes.key?(:'access_key_secret')
         
     | 
| 
       65 
70 
     | 
    
         
             
                    self.access_key_secret = attributes[:'access_key_secret']
         
     | 
| 
       66 
71 
     | 
    
         
             
                  end
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
                  if attributes.key?(:'sync_source_items')
         
     | 
| 
      
 74 
     | 
    
         
            +
                    self.sync_source_items = attributes[:'sync_source_items']
         
     | 
| 
      
 75 
     | 
    
         
            +
                  else
         
     | 
| 
      
 76 
     | 
    
         
            +
                    self.sync_source_items = true
         
     | 
| 
      
 77 
     | 
    
         
            +
                  end
         
     | 
| 
       67 
78 
     | 
    
         
             
                end
         
     | 
| 
       68 
79 
     | 
    
         | 
| 
       69 
80 
     | 
    
         
             
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -95,7 +106,8 @@ module Carbon 
     | 
|
| 
       95 
106 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       96 
107 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       97 
108 
     | 
    
         
             
                      access_key == o.access_key &&
         
     | 
| 
       98 
     | 
    
         
            -
                      access_key_secret == o.access_key_secret
         
     | 
| 
      
 109 
     | 
    
         
            +
                      access_key_secret == o.access_key_secret &&
         
     | 
| 
      
 110 
     | 
    
         
            +
                      sync_source_items == o.sync_source_items
         
     | 
| 
       99 
111 
     | 
    
         
             
                end
         
     | 
| 
       100 
112 
     | 
    
         | 
| 
       101 
113 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -107,7 +119,7 @@ module Carbon 
     | 
|
| 
       107 
119 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       108 
120 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       109 
121 
     | 
    
         
             
                def hash
         
     | 
| 
       110 
     | 
    
         
            -
                  [access_key, access_key_secret].hash
         
     | 
| 
      
 122 
     | 
    
         
            +
                  [access_key, access_key_secret, sync_source_items].hash
         
     | 
| 
       111 
123 
     | 
    
         
             
                end
         
     | 
| 
       112 
124 
     | 
    
         | 
| 
       113 
125 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -177,7 +177,7 @@ module Carbon 
     | 
|
| 
       177 
177 
     | 
    
         
             
                  if attributes.key?(:'request_id')
         
     | 
| 
       178 
178 
     | 
    
         
             
                    self.request_id = attributes[:'request_id']
         
     | 
| 
       179 
179 
     | 
    
         
             
                  else
         
     | 
| 
       180 
     | 
    
         
            -
                    self.request_id = ' 
     | 
| 
      
 180 
     | 
    
         
            +
                    self.request_id = '2da50864-4700-4b70-8098-ddcafcc3267d'
         
     | 
| 
       181 
181 
     | 
    
         
             
                  end
         
     | 
| 
       182 
182 
     | 
    
         | 
| 
       183 
183 
     | 
    
         
             
                  if attributes.key?(:'use_ocr')
         
     | 
| 
         @@ -37,6 +37,9 @@ module Carbon 
     | 
|
| 
       37 
37 
     | 
    
         | 
| 
       38 
38 
     | 
    
         
             
                attr_accessor :enable_file_picker
         
     | 
| 
       39 
39 
     | 
    
         | 
| 
      
 40 
     | 
    
         
            +
                # Enabling this flag will fetch all available content from the source to be listed via list items endpoint
         
     | 
| 
      
 41 
     | 
    
         
            +
                attr_accessor :sync_source_items
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
       40 
43 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       41 
44 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       42 
45 
     | 
    
         
             
                  {
         
     | 
| 
         @@ -51,7 +54,8 @@ module Carbon 
     | 
|
| 
       51 
54 
     | 
    
         
             
                    :'sync_files_on_connection' => :'sync_files_on_connection',
         
     | 
| 
       52 
55 
     | 
    
         
             
                    :'set_page_as_boundary' => :'set_page_as_boundary',
         
     | 
| 
       53 
56 
     | 
    
         
             
                    :'request_id' => :'request_id',
         
     | 
| 
       54 
     | 
    
         
            -
                    :'enable_file_picker' => :'enable_file_picker'
         
     | 
| 
      
 57 
     | 
    
         
            +
                    :'enable_file_picker' => :'enable_file_picker',
         
     | 
| 
      
 58 
     | 
    
         
            +
                    :'sync_source_items' => :'sync_source_items'
         
     | 
| 
       55 
59 
     | 
    
         
             
                  }
         
     | 
| 
       56 
60 
     | 
    
         
             
                end
         
     | 
| 
       57 
61 
     | 
    
         | 
| 
         @@ -74,7 +78,8 @@ module Carbon 
     | 
|
| 
       74 
78 
     | 
    
         
             
                    :'sync_files_on_connection' => :'Boolean',
         
     | 
| 
       75 
79 
     | 
    
         
             
                    :'set_page_as_boundary' => :'Boolean',
         
     | 
| 
       76 
80 
     | 
    
         
             
                    :'request_id' => :'String',
         
     | 
| 
       77 
     | 
    
         
            -
                    :'enable_file_picker' => :'Boolean'
         
     | 
| 
      
 81 
     | 
    
         
            +
                    :'enable_file_picker' => :'Boolean',
         
     | 
| 
      
 82 
     | 
    
         
            +
                    :'sync_source_items' => :'Boolean'
         
     | 
| 
       78 
83 
     | 
    
         
             
                  }
         
     | 
| 
       79 
84 
     | 
    
         
             
                end
         
     | 
| 
       80 
85 
     | 
    
         | 
| 
         @@ -167,7 +172,7 @@ module Carbon 
     | 
|
| 
       167 
172 
     | 
    
         
             
                  if attributes.key?(:'request_id')
         
     | 
| 
       168 
173 
     | 
    
         
             
                    self.request_id = attributes[:'request_id']
         
     | 
| 
       169 
174 
     | 
    
         
             
                  else
         
     | 
| 
       170 
     | 
    
         
            -
                    self.request_id = ' 
     | 
| 
      
 175 
     | 
    
         
            +
                    self.request_id = '7f46547c-7585-4463-bdd5-a1f8cde14b89'
         
     | 
| 
       171 
176 
     | 
    
         
             
                  end
         
     | 
| 
       172 
177 
     | 
    
         | 
| 
       173 
178 
     | 
    
         
             
                  if attributes.key?(:'enable_file_picker')
         
     | 
| 
         @@ -175,6 +180,12 @@ module Carbon 
     | 
|
| 
       175 
180 
     | 
    
         
             
                  else
         
     | 
| 
       176 
181 
     | 
    
         
             
                    self.enable_file_picker = true
         
     | 
| 
       177 
182 
     | 
    
         
             
                  end
         
     | 
| 
      
 183 
     | 
    
         
            +
             
     | 
| 
      
 184 
     | 
    
         
            +
                  if attributes.key?(:'sync_source_items')
         
     | 
| 
      
 185 
     | 
    
         
            +
                    self.sync_source_items = attributes[:'sync_source_items']
         
     | 
| 
      
 186 
     | 
    
         
            +
                  else
         
     | 
| 
      
 187 
     | 
    
         
            +
                    self.sync_source_items = true
         
     | 
| 
      
 188 
     | 
    
         
            +
                  end
         
     | 
| 
       178 
189 
     | 
    
         
             
                end
         
     | 
| 
       179 
190 
     | 
    
         | 
| 
       180 
191 
     | 
    
         
             
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -206,7 +217,8 @@ module Carbon 
     | 
|
| 
       206 
217 
     | 
    
         
             
                      sync_files_on_connection == o.sync_files_on_connection &&
         
     | 
| 
       207 
218 
     | 
    
         
             
                      set_page_as_boundary == o.set_page_as_boundary &&
         
     | 
| 
       208 
219 
     | 
    
         
             
                      request_id == o.request_id &&
         
     | 
| 
       209 
     | 
    
         
            -
                      enable_file_picker == o.enable_file_picker
         
     | 
| 
      
 220 
     | 
    
         
            +
                      enable_file_picker == o.enable_file_picker &&
         
     | 
| 
      
 221 
     | 
    
         
            +
                      sync_source_items == o.sync_source_items
         
     | 
| 
       210 
222 
     | 
    
         
             
                end
         
     | 
| 
       211 
223 
     | 
    
         | 
| 
       212 
224 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -218,7 +230,7 @@ module Carbon 
     | 
|
| 
       218 
230 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       219 
231 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       220 
232 
     | 
    
         
             
                def hash
         
     | 
| 
       221 
     | 
    
         
            -
                  [tags, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk, sync_files_on_connection, set_page_as_boundary, request_id, enable_file_picker].hash
         
     | 
| 
      
 233 
     | 
    
         
            +
                  [tags, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, max_items_per_chunk, sync_files_on_connection, set_page_as_boundary, request_id, enable_file_picker, sync_source_items].hash
         
     | 
| 
       222 
234 
     | 
    
         
             
                end
         
     | 
| 
       223 
235 
     | 
    
         | 
| 
       224 
236 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -19,9 +19,15 @@ module Carbon 
     | 
|
| 
       19 
19 
     | 
    
         
             
                OPENAI_ADA_LARGE_3072 = "OPENAI_ADA_LARGE_3072".freeze
         
     | 
| 
       20 
20 
     | 
    
         
             
                OPENAI_ADA_SMALL_512 = "OPENAI_ADA_SMALL_512".freeze
         
     | 
| 
       21 
21 
     | 
    
         
             
                OPENAI_ADA_SMALL_1536 = "OPENAI_ADA_SMALL_1536".freeze
         
     | 
| 
      
 22 
     | 
    
         
            +
                AZURE_ADA_LARGE_256 = "AZURE_ADA_LARGE_256".freeze
         
     | 
| 
      
 23 
     | 
    
         
            +
                AZURE_ADA_LARGE_1024 = "AZURE_ADA_LARGE_1024".freeze
         
     | 
| 
      
 24 
     | 
    
         
            +
                AZURE_ADA_LARGE_3072 = "AZURE_ADA_LARGE_3072".freeze
         
     | 
| 
      
 25 
     | 
    
         
            +
                AZURE_ADA_SMALL_512 = "AZURE_ADA_SMALL_512".freeze
         
     | 
| 
      
 26 
     | 
    
         
            +
                AZURE_ADA_SMALL_1536 = "AZURE_ADA_SMALL_1536".freeze
         
     | 
| 
      
 27 
     | 
    
         
            +
                SOLAR_1_MINI = "SOLAR_1_MINI".freeze
         
     | 
| 
       22 
28 
     | 
    
         | 
| 
       23 
29 
     | 
    
         
             
                def self.all_vars
         
     | 
| 
       24 
     | 
    
         
            -
                  @all_vars ||= [OPENAI, AZURE_OPENAI, COHERE_MULTILINGUAL_V3, OPENAI_ADA_LARGE_256, OPENAI_ADA_LARGE_1024, OPENAI_ADA_LARGE_3072, OPENAI_ADA_SMALL_512, OPENAI_ADA_SMALL_1536].freeze
         
     | 
| 
      
 30 
     | 
    
         
            +
                  @all_vars ||= [OPENAI, AZURE_OPENAI, COHERE_MULTILINGUAL_V3, OPENAI_ADA_LARGE_256, OPENAI_ADA_LARGE_1024, OPENAI_ADA_LARGE_3072, OPENAI_ADA_SMALL_512, OPENAI_ADA_SMALL_1536, AZURE_ADA_LARGE_256, AZURE_ADA_LARGE_1024, AZURE_ADA_LARGE_3072, AZURE_ADA_SMALL_512, AZURE_ADA_SMALL_1536, SOLAR_1_MINI].freeze
         
     | 
| 
       25 
31 
     | 
    
         
             
                end
         
     | 
| 
       26 
32 
     | 
    
         | 
| 
       27 
33 
     | 
    
         
             
                # Builds the enum from string
         
     | 
    
        data/lib/carbon_ruby_sdk.rb
    CHANGED
    
    | 
         @@ -26,6 +26,7 @@ require 'carbon_ruby_sdk/models/chunks_and_embeddings_upload_input' 
     | 
|
| 
       26 
26 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/confluence_authentication'
         
     | 
| 
       27 
27 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/connect_data_source_input'
         
     | 
| 
       28 
28 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/connect_data_source_response'
         
     | 
| 
      
 29 
     | 
    
         
            +
            require 'carbon_ruby_sdk/models/custom_credentials_type'
         
     | 
| 
       29 
30 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/data_source_last_sync_actions'
         
     | 
| 
       30 
31 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/data_source_sync_statuses'
         
     | 
| 
       31 
32 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/data_source_type'
         
     | 
| 
         @@ -46,6 +47,7 @@ require 'carbon_ruby_sdk/models/embeddings_and_chunks_query_input' 
     | 
|
| 
       46 
47 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/embeddings_and_chunks_response'
         
     | 
| 
       47 
48 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/external_file_sync_statuses'
         
     | 
| 
       48 
49 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/external_source_item'
         
     | 
| 
      
 50 
     | 
    
         
            +
            require 'carbon_ruby_sdk/models/external_source_items_order_by'
         
     | 
| 
       49 
51 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/fetch_urls_response'
         
     | 
| 
       50 
52 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/file_content_types'
         
     | 
| 
       51 
53 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/file_content_types_nullable'
         
     | 
| 
         @@ -62,6 +64,7 @@ require 'carbon_ruby_sdk/models/gitbook_connect_request' 
     | 
|
| 
       62 
64 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/gitbook_sync_request'
         
     | 
| 
       63 
65 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/github_authentication'
         
     | 
| 
       64 
66 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/github_connect_request'
         
     | 
| 
      
 67 
     | 
    
         
            +
            require 'carbon_ruby_sdk/models/github_fetch_repos_request'
         
     | 
| 
       65 
68 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/gmail_sync_input'
         
     | 
| 
       66 
69 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/http_validation_error'
         
     | 
| 
       67 
70 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/hybrid_search_tuning_params'
         
     | 
| 
         @@ -79,6 +82,7 @@ require 'carbon_ruby_sdk/models/notion_authentication' 
     | 
|
| 
       79 
82 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/o_auth_authentication'
         
     | 
| 
       80 
83 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/o_auth_url_request'
         
     | 
| 
       81 
84 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/order_dir'
         
     | 
| 
      
 85 
     | 
    
         
            +
            require 'carbon_ruby_sdk/models/order_dir_v2'
         
     | 
| 
       82 
86 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/organization_response'
         
     | 
| 
       83 
87 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/organization_user_data_source_api'
         
     | 
| 
       84 
88 
     | 
    
         
             
            require 'carbon_ruby_sdk/models/organization_user_data_source_filters'
         
     | 
| 
         @@ -156,6 +156,20 @@ describe 'IntegrationsApi' do 
     | 
|
| 
       156 
156 
     | 
    
         
             
                end
         
     | 
| 
       157 
157 
     | 
    
         
             
              end
         
     | 
| 
       158 
158 
     | 
    
         | 
| 
      
 159 
     | 
    
         
            +
              # unit tests for list_repos
         
     | 
| 
      
 160 
     | 
    
         
            +
              # Github List Repos
         
     | 
| 
      
 161 
     | 
    
         
            +
              # Once you have connected your GitHub account, you can use this endpoint to list the      repositories your account has access to. You can use a data source ID or username to fetch from a specific account.
         
     | 
| 
      
 162 
     | 
    
         
            +
              # @param [Hash] opts the optional parameters
         
     | 
| 
      
 163 
     | 
    
         
            +
              # @option opts [Integer] :per_page 
         
     | 
| 
      
 164 
     | 
    
         
            +
              # @option opts [Integer] :page 
         
     | 
| 
      
 165 
     | 
    
         
            +
              # @option opts [Integer] :data_source_id 
         
     | 
| 
      
 166 
     | 
    
         
            +
              # @return [Object]
         
     | 
| 
      
 167 
     | 
    
         
            +
              describe 'list_repos test' do
         
     | 
| 
      
 168 
     | 
    
         
            +
                it 'should work' do
         
     | 
| 
      
 169 
     | 
    
         
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
      
 170 
     | 
    
         
            +
                end
         
     | 
| 
      
 171 
     | 
    
         
            +
              end
         
     | 
| 
      
 172 
     | 
    
         
            +
             
     | 
| 
       159 
173 
     | 
    
         
             
              # unit tests for sync_confluence
         
     | 
| 
       160 
174 
     | 
    
         
             
              # Confluence Sync
         
     | 
| 
       161 
175 
     | 
    
         
             
              # After listing pages in a user's Confluence account, the set of selected page `ids` and the connected account's `data_source_id` can be passed into this endpoint to sync them into Carbon. Additional parameters listed below can be used to associate data to the selected pages or alter the behavior of the sync.
         
     | 
| 
         @@ -239,6 +253,18 @@ describe 'IntegrationsApi' do 
     | 
|
| 
       239 
253 
     | 
    
         
             
                end
         
     | 
| 
       240 
254 
     | 
    
         
             
              end
         
     | 
| 
       241 
255 
     | 
    
         | 
| 
      
 256 
     | 
    
         
            +
              # unit tests for sync_repos
         
     | 
| 
      
 257 
     | 
    
         
            +
              # Github Sync Repos
         
     | 
| 
      
 258 
     | 
    
         
            +
              # You can retreive repos your token has access to using /integrations/github/repos and sync their content.  You can also pass full name of any public repository (username/repo-name). This will store the repo content with  carbon which can be accessed through /integrations/items/list endpoint. Maximum of 25 repositories are accepted per request.
         
     | 
| 
      
 259 
     | 
    
         
            +
              # @param github_fetch_repos_request 
         
     | 
| 
      
 260 
     | 
    
         
            +
              # @param [Hash] opts the optional parameters
         
     | 
| 
      
 261 
     | 
    
         
            +
              # @return [Object]
         
     | 
| 
      
 262 
     | 
    
         
            +
              describe 'sync_repos test' do
         
     | 
| 
      
 263 
     | 
    
         
            +
                it 'should work' do
         
     | 
| 
      
 264 
     | 
    
         
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
      
 265 
     | 
    
         
            +
                end
         
     | 
| 
      
 266 
     | 
    
         
            +
              end
         
     | 
| 
      
 267 
     | 
    
         
            +
             
     | 
| 
       242 
268 
     | 
    
         
             
              # unit tests for sync_rss_feed
         
     | 
| 
       243 
269 
     | 
    
         
             
              # Rss Feed
         
     | 
| 
       244 
270 
     | 
    
         
             
              # @param rss_feed_input 
         
     | 
| 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 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::CustomCredentialsType
         
     | 
| 
      
 14 
     | 
    
         
            +
            describe Carbon::CustomCredentialsType do
         
     | 
| 
      
 15 
     | 
    
         
            +
              let(:instance) { Carbon::CustomCredentialsType.new }
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
              describe 'test an instance of CustomCredentialsType' do
         
     | 
| 
      
 18 
     | 
    
         
            +
                it 'should create an instance of CustomCredentialsType' do
         
     | 
| 
      
 19 
     | 
    
         
            +
                  expect(instance).to be_instance_of(Carbon::CustomCredentialsType)
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
              end
         
     | 
| 
      
 22 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 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::ExternalSourceItemsOrderBy
         
     | 
| 
      
 14 
     | 
    
         
            +
            describe Carbon::ExternalSourceItemsOrderBy do
         
     | 
| 
      
 15 
     | 
    
         
            +
              let(:instance) { Carbon::ExternalSourceItemsOrderBy.new }
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
              describe 'test an instance of ExternalSourceItemsOrderBy' do
         
     | 
| 
      
 18 
     | 
    
         
            +
                it 'should create an instance of ExternalSourceItemsOrderBy' do
         
     | 
| 
      
 19 
     | 
    
         
            +
                  expect(instance).to be_instance_of(Carbon::ExternalSourceItemsOrderBy)
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
              end
         
     | 
| 
      
 22 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -85,4 +85,10 @@ describe Carbon::FreshDeskConnectRequest do 
     | 
|
| 
       85 
85 
     | 
    
         
             
                end
         
     | 
| 
       86 
86 
     | 
    
         
             
              end
         
     | 
| 
       87 
87 
     | 
    
         | 
| 
      
 88 
     | 
    
         
            +
              describe 'test attribute "sync_source_items"' 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 
     | 
    
         
             
            end
         
     | 
| 
         @@ -85,4 +85,10 @@ describe Carbon::GitbookConnectRequest do 
     | 
|
| 
       85 
85 
     | 
    
         
             
                end
         
     | 
| 
       86 
86 
     | 
    
         
             
              end
         
     | 
| 
       87 
87 
     | 
    
         | 
| 
      
 88 
     | 
    
         
            +
              describe 'test attribute "sync_source_items"' 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 
     | 
    
         
             
            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::GithubFetchReposRequest
         
     | 
| 
      
 14 
     | 
    
         
            +
            describe Carbon::GithubFetchReposRequest do
         
     | 
| 
      
 15 
     | 
    
         
            +
              let(:instance) { Carbon::GithubFetchReposRequest.new }
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
              describe 'test an instance of GithubFetchReposRequest' do
         
     | 
| 
      
 18 
     | 
    
         
            +
                it 'should create an instance of GithubFetchReposRequest' do
         
     | 
| 
      
 19 
     | 
    
         
            +
                  expect(instance).to be_instance_of(Carbon::GithubFetchReposRequest)
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
              end
         
     | 
| 
      
 22 
     | 
    
         
            +
              describe 'test attribute "repos"' 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 "data_source_id"' 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
         
     | 
| 
         @@ -43,4 +43,16 @@ describe Carbon::ListDataSourceItemsRequest do 
     | 
|
| 
       43 
43 
     | 
    
         
             
                end
         
     | 
| 
       44 
44 
     | 
    
         
             
              end
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
      
 46 
     | 
    
         
            +
              describe 'test attribute "order_by"' 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 "order_dir"' 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 
     | 
    
         
            +
             
     | 
| 
       46 
58 
     | 
    
         
             
            end
         
     | 
| 
         @@ -157,4 +157,10 @@ describe Carbon::OAuthURLRequest do 
     | 
|
| 
       157 
157 
     | 
    
         
             
                end
         
     | 
| 
       158 
158 
     | 
    
         
             
              end
         
     | 
| 
       159 
159 
     | 
    
         | 
| 
      
 160 
     | 
    
         
            +
              describe 'test attribute "sync_source_items"' do
         
     | 
| 
      
 161 
     | 
    
         
            +
                it 'should work' do
         
     | 
| 
      
 162 
     | 
    
         
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
      
 163 
     | 
    
         
            +
                end
         
     | 
| 
      
 164 
     | 
    
         
            +
              end
         
     | 
| 
      
 165 
     | 
    
         
            +
             
     | 
| 
       160 
166 
     | 
    
         
             
            end
         
     | 
| 
         @@ -0,0 +1,22 @@ 
     | 
|
| 
      
 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::OrderDirV2
         
     | 
| 
      
 14 
     | 
    
         
            +
            describe Carbon::OrderDirV2 do
         
     | 
| 
      
 15 
     | 
    
         
            +
              let(:instance) { Carbon::OrderDirV2.new }
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
              describe 'test an instance of OrderDirV2' do
         
     | 
| 
      
 18 
     | 
    
         
            +
                it 'should create an instance of OrderDirV2' do
         
     | 
| 
      
 19 
     | 
    
         
            +
                  expect(instance).to be_instance_of(Carbon::OrderDirV2)
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
              end
         
     | 
| 
      
 22 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -115,4 +115,10 @@ describe Carbon::OrganizationUserDataSourceAPI do 
     | 
|
| 
       115 
115 
     | 
    
         
             
                end
         
     | 
| 
       116 
116 
     | 
    
         
             
              end
         
     | 
| 
       117 
117 
     | 
    
         | 
| 
      
 118 
     | 
    
         
            +
              describe 'test attribute "data_source_metadata"' do
         
     | 
| 
      
 119 
     | 
    
         
            +
                it 'should work' do
         
     | 
| 
      
 120 
     | 
    
         
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
      
 121 
     | 
    
         
            +
                end
         
     | 
| 
      
 122 
     | 
    
         
            +
              end
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
       118 
124 
     | 
    
         
             
            end
         
     | 
    
        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.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.24
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Konfig
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2024- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-05-02 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: faraday
         
     | 
| 
         @@ -109,6 +109,7 @@ files: 
     | 
|
| 
       109 
109 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/confluence_authentication.rb
         
     | 
| 
       110 
110 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/connect_data_source_input.rb
         
     | 
| 
       111 
111 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/connect_data_source_response.rb
         
     | 
| 
      
 112 
     | 
    
         
            +
            - lib/carbon_ruby_sdk/models/custom_credentials_type.rb
         
     | 
| 
       112 
113 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/data_source_last_sync_actions.rb
         
     | 
| 
       113 
114 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/data_source_sync_statuses.rb
         
     | 
| 
       114 
115 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/data_source_type.rb
         
     | 
| 
         @@ -129,6 +130,7 @@ files: 
     | 
|
| 
       129 
130 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/embeddings_and_chunks_response.rb
         
     | 
| 
       130 
131 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/external_file_sync_statuses.rb
         
     | 
| 
       131 
132 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/external_source_item.rb
         
     | 
| 
      
 133 
     | 
    
         
            +
            - lib/carbon_ruby_sdk/models/external_source_items_order_by.rb
         
     | 
| 
       132 
134 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/fetch_urls_response.rb
         
     | 
| 
       133 
135 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/file_content_types.rb
         
     | 
| 
       134 
136 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/file_content_types_nullable.rb
         
     | 
| 
         @@ -145,6 +147,7 @@ files: 
     | 
|
| 
       145 
147 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/gitbook_sync_request.rb
         
     | 
| 
       146 
148 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/github_authentication.rb
         
     | 
| 
       147 
149 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/github_connect_request.rb
         
     | 
| 
      
 150 
     | 
    
         
            +
            - lib/carbon_ruby_sdk/models/github_fetch_repos_request.rb
         
     | 
| 
       148 
151 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/gmail_sync_input.rb
         
     | 
| 
       149 
152 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/http_validation_error.rb
         
     | 
| 
       150 
153 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/hybrid_search_tuning_params.rb
         
     | 
| 
         @@ -162,6 +165,7 @@ files: 
     | 
|
| 
       162 
165 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/o_auth_authentication.rb
         
     | 
| 
       163 
166 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/o_auth_url_request.rb
         
     | 
| 
       164 
167 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/order_dir.rb
         
     | 
| 
      
 168 
     | 
    
         
            +
            - lib/carbon_ruby_sdk/models/order_dir_v2.rb
         
     | 
| 
       165 
169 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/organization_response.rb
         
     | 
| 
       166 
170 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/organization_user_data_source_api.rb
         
     | 
| 
       167 
171 
     | 
    
         
             
            - lib/carbon_ruby_sdk/models/organization_user_data_source_filters.rb
         
     | 
| 
         @@ -244,6 +248,7 @@ files: 
     | 
|
| 
       244 
248 
     | 
    
         
             
            - spec/models/confluence_authentication_spec.rb
         
     | 
| 
       245 
249 
     | 
    
         
             
            - spec/models/connect_data_source_input_spec.rb
         
     | 
| 
       246 
250 
     | 
    
         
             
            - spec/models/connect_data_source_response_spec.rb
         
     | 
| 
      
 251 
     | 
    
         
            +
            - spec/models/custom_credentials_type_spec.rb
         
     | 
| 
       247 
252 
     | 
    
         
             
            - spec/models/data_source_last_sync_actions_spec.rb
         
     | 
| 
       248 
253 
     | 
    
         
             
            - spec/models/data_source_sync_statuses_spec.rb
         
     | 
| 
       249 
254 
     | 
    
         
             
            - spec/models/data_source_type_nullable_spec.rb
         
     | 
| 
         @@ -264,6 +269,7 @@ files: 
     | 
|
| 
       264 
269 
     | 
    
         
             
            - spec/models/embeddings_and_chunks_response_spec.rb
         
     | 
| 
       265 
270 
     | 
    
         
             
            - spec/models/external_file_sync_statuses_spec.rb
         
     | 
| 
       266 
271 
     | 
    
         
             
            - spec/models/external_source_item_spec.rb
         
     | 
| 
      
 272 
     | 
    
         
            +
            - spec/models/external_source_items_order_by_spec.rb
         
     | 
| 
       267 
273 
     | 
    
         
             
            - spec/models/fetch_urls_response_spec.rb
         
     | 
| 
       268 
274 
     | 
    
         
             
            - spec/models/file_content_types_nullable_spec.rb
         
     | 
| 
       269 
275 
     | 
    
         
             
            - spec/models/file_content_types_spec.rb
         
     | 
| 
         @@ -280,6 +286,7 @@ files: 
     | 
|
| 
       280 
286 
     | 
    
         
             
            - spec/models/gitbook_sync_request_spec.rb
         
     | 
| 
       281 
287 
     | 
    
         
             
            - spec/models/github_authentication_spec.rb
         
     | 
| 
       282 
288 
     | 
    
         
             
            - spec/models/github_connect_request_spec.rb
         
     | 
| 
      
 289 
     | 
    
         
            +
            - spec/models/github_fetch_repos_request_spec.rb
         
     | 
| 
       283 
290 
     | 
    
         
             
            - spec/models/gmail_sync_input_spec.rb
         
     | 
| 
       284 
291 
     | 
    
         
             
            - spec/models/http_validation_error_spec.rb
         
     | 
| 
       285 
292 
     | 
    
         
             
            - spec/models/hybrid_search_tuning_params_nullable_spec.rb
         
     | 
| 
         @@ -297,6 +304,7 @@ files: 
     | 
|
| 
       297 
304 
     | 
    
         
             
            - spec/models/o_auth_authentication_spec.rb
         
     | 
| 
       298 
305 
     | 
    
         
             
            - spec/models/o_auth_url_request_spec.rb
         
     | 
| 
       299 
306 
     | 
    
         
             
            - spec/models/order_dir_spec.rb
         
     | 
| 
      
 307 
     | 
    
         
            +
            - spec/models/order_dir_v2_spec.rb
         
     | 
| 
       300 
308 
     | 
    
         
             
            - spec/models/organization_response_spec.rb
         
     | 
| 
       301 
309 
     | 
    
         
             
            - spec/models/organization_user_data_source_api_spec.rb
         
     | 
| 
       302 
310 
     | 
    
         
             
            - spec/models/organization_user_data_source_filters_spec.rb
         
     | 
| 
         @@ -406,6 +414,7 @@ test_files: 
     | 
|
| 
       406 
414 
     | 
    
         
             
            - spec/models/data_source_type_spec.rb
         
     | 
| 
       407 
415 
     | 
    
         
             
            - spec/models/sync_files_request_spec.rb
         
     | 
| 
       408 
416 
     | 
    
         
             
            - spec/models/github_connect_request_spec.rb
         
     | 
| 
      
 417 
     | 
    
         
            +
            - spec/models/github_fetch_repos_request_spec.rb
         
     | 
| 
       409 
418 
     | 
    
         
             
            - spec/models/list_data_source_items_response_spec.rb
         
     | 
| 
       410 
419 
     | 
    
         
             
            - spec/models/github_authentication_spec.rb
         
     | 
| 
       411 
420 
     | 
    
         
             
            - spec/models/chunk_properties_nullable_spec.rb
         
     | 
| 
         @@ -477,6 +486,7 @@ test_files: 
     | 
|
| 
       477 
486 
     | 
    
         
             
            - spec/models/embedding_and_chunk_spec.rb
         
     | 
| 
       478 
487 
     | 
    
         
             
            - spec/models/tags_spec.rb
         
     | 
| 
       479 
488 
     | 
    
         
             
            - spec/models/embeddings_and_chunks_query_input_spec.rb
         
     | 
| 
      
 489 
     | 
    
         
            +
            - spec/models/external_source_items_order_by_spec.rb
         
     | 
| 
       480 
490 
     | 
    
         
             
            - spec/models/auto_sync_enabled_sources_property_spec.rb
         
     | 
| 
       481 
491 
     | 
    
         
             
            - spec/models/pagination_spec.rb
         
     | 
| 
       482 
492 
     | 
    
         
             
            - spec/models/generic_success_response_spec.rb
         
     | 
| 
         @@ -488,6 +498,7 @@ test_files: 
     | 
|
| 
       488 
498 
     | 
    
         
             
            - spec/models/chunks_and_embeddings_upload_input_spec.rb
         
     | 
| 
       489 
499 
     | 
    
         
             
            - spec/models/organization_user_file_tag_create_spec.rb
         
     | 
| 
       490 
500 
     | 
    
         
             
            - spec/models/organization_user_data_source_order_by_columns_spec.rb
         
     | 
| 
      
 501 
     | 
    
         
            +
            - spec/models/custom_credentials_type_spec.rb
         
     | 
| 
       491 
502 
     | 
    
         
             
            - spec/models/file_formats_nullable_spec.rb
         
     | 
| 
       492 
503 
     | 
    
         
             
            - spec/models/s3_authentication_spec.rb
         
     | 
| 
       493 
504 
     | 
    
         
             
            - spec/models/file_statistics_spec.rb
         
     | 
| 
         @@ -513,6 +524,7 @@ test_files: 
     | 
|
| 
       513 
524 
     | 
    
         
             
            - spec/models/webhook_query_response_spec.rb
         
     | 
| 
       514 
525 
     | 
    
         
             
            - spec/models/user_file_spec.rb
         
     | 
| 
       515 
526 
     | 
    
         
             
            - spec/models/delete_files_v2_query_input_spec.rb
         
     | 
| 
      
 527 
     | 
    
         
            +
            - spec/models/order_dir_v2_spec.rb
         
     | 
| 
       516 
528 
     | 
    
         
             
            - spec/models/raw_text_input_spec.rb
         
     | 
| 
       517 
529 
     | 
    
         
             
            - spec/models/salesforce_authentication_spec.rb
         
     | 
| 
       518 
530 
     | 
    
         
             
            - spec/spec_helper.rb
         
     |