cloudsmith-api 2.0.38 → 2.0.40

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +14 -4
  4. data/build.json +1 -1
  5. data/docs/OrganizationApiKeyRule.md +1 -1
  6. data/docs/ReposApi.md +401 -0
  7. data/docs/Service.md +1 -1
  8. data/docs/SkillsUpstream.md +34 -0
  9. data/docs/SkillsUpstreamRequest.md +22 -0
  10. data/docs/SkillsUpstreamRequestPatch.md +22 -0
  11. data/docs/SkillsUpstreamSelection.md +10 -0
  12. data/lib/cloudsmith-api/api/repos_api.rb +395 -0
  13. data/lib/cloudsmith-api/models/huggingface_upstream.rb +2 -2
  14. data/lib/cloudsmith-api/models/huggingface_upstream_request.rb +2 -2
  15. data/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb +2 -2
  16. data/lib/cloudsmith-api/models/organization_api_key_rule.rb +1 -1
  17. data/lib/cloudsmith-api/models/service.rb +1 -1
  18. data/lib/cloudsmith-api/models/skills_upstream.rb +532 -0
  19. data/lib/cloudsmith-api/models/skills_upstream_request.rb +401 -0
  20. data/lib/cloudsmith-api/models/skills_upstream_request_patch.rb +391 -0
  21. data/lib/cloudsmith-api/models/skills_upstream_selection.rb +220 -0
  22. data/lib/cloudsmith-api/version.rb +1 -1
  23. data/lib/cloudsmith-api.rb +4 -0
  24. data/spec/api/repos_api_spec.rb +87 -0
  25. data/spec/models/huggingface_upstream_request_patch_spec.rb +1 -1
  26. data/spec/models/huggingface_upstream_request_spec.rb +1 -1
  27. data/spec/models/huggingface_upstream_spec.rb +1 -1
  28. data/spec/models/skills_upstream_request_patch_spec.rb +137 -0
  29. data/spec/models/skills_upstream_request_spec.rb +137 -0
  30. data/spec/models/skills_upstream_selection_spec.rb +53 -0
  31. data/spec/models/skills_upstream_spec.rb +213 -0
  32. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
  33. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.3/gem_make.out +2 -2
  34. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.3/mkmf.log +4 -4
  35. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
  36. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
  37. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  38. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  39. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/ext/bigdecimal/Makefile +2 -2
  40. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
  41. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  42. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  43. metadata +18 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d923c12e6085d6b16a265c4e0e9024c0508cf0bca2376fd17157476f6cd6a174
4
- data.tar.gz: c2c89f3b856bc78a300122b98504653da9da07b646fde06685c01510f503aafe
3
+ metadata.gz: 1e2cb5eee666c38f65aad97d3735385abbb011230ba5ca9be501e023f9492267
4
+ data.tar.gz: 595514fb112c75ef922517d10976a811f3ab0e152a43e0cab5f1db50c106ce75
5
5
  SHA512:
6
- metadata.gz: dc12e1443819e2233f7fbbdc89e47a944e740315ff8a85799897d6a1bae41226c31b0c8576f8bbdd21d4aaa9036b7e55b3fe389b893650e07e1888a066e8f963
7
- data.tar.gz: fa639f596754ce95c4a04f79739f37b3a4f24abf974e7f8fcbdbc295904b3e7cef1b0d8e41efd5c9c5af9ffcf2fd462e97ab3254107dcc3c72eba5683168db99
6
+ metadata.gz: 0e624de58eee44dacfce61b46ed59f14438297f40fc381aa044c39510cc5acc997323645c7d16276160a2dac32930a3713764430d0248723cfeb949340f00df1
7
+ data.tar.gz: 11982a2912621dd6b2dbadff6b5c79158cf2f7299b18de314d4137975f1b7eb12bbed282c2944e1bc0b6512962eb1da502b326bbacde22edbb349605bde195bb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudsmith-api (2.0.38)
4
+ cloudsmith-api (2.0.40)
5
5
  addressable (~> 2.3, >= 2.3.0)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
data/README.md CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 2.0.38
10
+ - Package version: 2.0.40
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
13
13
 
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./cloudsmith-api-2.0.38.gem
27
+ gem install ./cloudsmith-api-2.0.40.gem
28
28
  ```
29
- (for development, run `gem install --dev ./cloudsmith-api-2.0.38.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./cloudsmith-api-2.0.40.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'cloudsmith-api', '~> 2.0.38'
35
+ gem 'cloudsmith-api', '~> 2.0.40'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -444,6 +444,12 @@ Class | Method | HTTP request | Description
444
444
  *CloudsmithApi::ReposApi* | [**repos_upstream_ruby_partial_update**](docs/ReposApi.md#repos_upstream_ruby_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository.
445
445
  *CloudsmithApi::ReposApi* | [**repos_upstream_ruby_read**](docs/ReposApi.md#repos_upstream_ruby_read) | **GET** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository.
446
446
  *CloudsmithApi::ReposApi* | [**repos_upstream_ruby_update**](docs/ReposApi.md#repos_upstream_ruby_update) | **PUT** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository.
447
+ *CloudsmithApi::ReposApi* | [**repos_upstream_skills_create**](docs/ReposApi.md#repos_upstream_skills_create) | **POST** /repos/{owner}/{identifier}/upstream/skills/ | Create an AI Skills upstream config for this repository.
448
+ *CloudsmithApi::ReposApi* | [**repos_upstream_skills_delete**](docs/ReposApi.md#repos_upstream_skills_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Delete an AI Skills upstream config for this repository.
449
+ *CloudsmithApi::ReposApi* | [**repos_upstream_skills_list**](docs/ReposApi.md#repos_upstream_skills_list) | **GET** /repos/{owner}/{identifier}/upstream/skills/ | List AI Skills upstream configs for this repository.
450
+ *CloudsmithApi::ReposApi* | [**repos_upstream_skills_partial_update**](docs/ReposApi.md#repos_upstream_skills_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Partially update an AI Skills upstream config for this repository.
451
+ *CloudsmithApi::ReposApi* | [**repos_upstream_skills_read**](docs/ReposApi.md#repos_upstream_skills_read) | **GET** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Retrieve an AI Skills upstream config for this repository.
452
+ *CloudsmithApi::ReposApi* | [**repos_upstream_skills_update**](docs/ReposApi.md#repos_upstream_skills_update) | **PUT** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Update an AI Skills upstream config for this repository.
447
453
  *CloudsmithApi::ReposApi* | [**repos_upstream_swift_create**](docs/ReposApi.md#repos_upstream_swift_create) | **POST** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository.
448
454
  *CloudsmithApi::ReposApi* | [**repos_upstream_swift_delete**](docs/ReposApi.md#repos_upstream_swift_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository.
449
455
  *CloudsmithApi::ReposApi* | [**repos_upstream_swift_list**](docs/ReposApi.md#repos_upstream_swift_list) | **GET** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository.
@@ -767,6 +773,10 @@ Class | Method | HTTP request | Description
767
773
  - [CloudsmithApi::ServiceTeams](docs/ServiceTeams.md)
768
774
  - [CloudsmithApi::SkillsPackageUpload](docs/SkillsPackageUpload.md)
769
775
  - [CloudsmithApi::SkillsPackageUploadRequest](docs/SkillsPackageUploadRequest.md)
776
+ - [CloudsmithApi::SkillsUpstream](docs/SkillsUpstream.md)
777
+ - [CloudsmithApi::SkillsUpstreamRequest](docs/SkillsUpstreamRequest.md)
778
+ - [CloudsmithApi::SkillsUpstreamRequestPatch](docs/SkillsUpstreamRequestPatch.md)
779
+ - [CloudsmithApi::SkillsUpstreamSelection](docs/SkillsUpstreamSelection.md)
770
780
  - [CloudsmithApi::StatusBasic](docs/StatusBasic.md)
771
781
  - [CloudsmithApi::StorageAllocatedLimit](docs/StorageAllocatedLimit.md)
772
782
  - [CloudsmithApi::StorageAllocatedLimitRaw](docs/StorageAllocatedLimitRaw.md)
data/build.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "gemName": "cloudsmith-api",
9
9
  "gemRequiredRubyVersion": ">= 1.9",
10
10
  "gemSummary": "Cloudsmith API",
11
- "gemVersion": "2.0.38",
11
+ "gemVersion": "2.0.40",
12
12
  "hideGenerationTimestamp": true,
13
13
  "moduleName": "CloudsmithApi",
14
14
  "sortParamsByRequiredFlag": true
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **max_age_hours** | **Integer** | The maximum permitted age of an API key for use in the organization. API keys older than this will no longer have access until they are refreshed. To disable the rule unset this value. | [optional]
11
11
  **rule_type** | **String** | Specify which account types this rule applies to: all accounts (deprecated — prefer separate service/user rules), service accounts only, or user accounts only. |
12
12
  **slug** | **String** | Human-readable identifier for the rule type. Automatically generated based on the rule type. | [optional]
13
- **slug_perm** | **String** | An auto-generated id that uniquely identifies the API key policy. | [optional]
13
+ **slug_perm** | **String** | An auto-generated id that uniquely identifies the rule. | [optional]
14
14
  **updated_at** | **DateTime** | | [optional]
15
15
 
16
16
 
data/docs/ReposApi.md CHANGED
@@ -160,6 +160,12 @@ Method | HTTP request | Description
160
160
  [**repos_upstream_ruby_partial_update**](ReposApi.md#repos_upstream_ruby_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository.
161
161
  [**repos_upstream_ruby_read**](ReposApi.md#repos_upstream_ruby_read) | **GET** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository.
162
162
  [**repos_upstream_ruby_update**](ReposApi.md#repos_upstream_ruby_update) | **PUT** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository.
163
+ [**repos_upstream_skills_create**](ReposApi.md#repos_upstream_skills_create) | **POST** /repos/{owner}/{identifier}/upstream/skills/ | Create an AI Skills upstream config for this repository.
164
+ [**repos_upstream_skills_delete**](ReposApi.md#repos_upstream_skills_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Delete an AI Skills upstream config for this repository.
165
+ [**repos_upstream_skills_list**](ReposApi.md#repos_upstream_skills_list) | **GET** /repos/{owner}/{identifier}/upstream/skills/ | List AI Skills upstream configs for this repository.
166
+ [**repos_upstream_skills_partial_update**](ReposApi.md#repos_upstream_skills_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Partially update an AI Skills upstream config for this repository.
167
+ [**repos_upstream_skills_read**](ReposApi.md#repos_upstream_skills_read) | **GET** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Retrieve an AI Skills upstream config for this repository.
168
+ [**repos_upstream_skills_update**](ReposApi.md#repos_upstream_skills_update) | **PUT** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Update an AI Skills upstream config for this repository.
163
169
  [**repos_upstream_swift_create**](ReposApi.md#repos_upstream_swift_create) | **POST** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository.
164
170
  [**repos_upstream_swift_delete**](ReposApi.md#repos_upstream_swift_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository.
165
171
  [**repos_upstream_swift_list**](ReposApi.md#repos_upstream_swift_list) | **GET** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository.
@@ -10359,6 +10365,401 @@ Name | Type | Description | Notes
10359
10365
 
10360
10366
 
10361
10367
 
10368
+ # **repos_upstream_skills_create**
10369
+ > SkillsUpstream repos_upstream_skills_create(owner, identifier, opts)
10370
+
10371
+ Create an AI Skills upstream config for this repository.
10372
+
10373
+ Create an AI Skills upstream config for this repository.
10374
+
10375
+ ### Example
10376
+ ```ruby
10377
+ # load the gem
10378
+ require 'cloudsmith-api'
10379
+ # setup authorization
10380
+ CloudsmithApi.configure do |config|
10381
+ # Configure API key authorization: apikey
10382
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
10383
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
10384
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
10385
+
10386
+ # Configure HTTP basic authorization: basic
10387
+ config.username = 'YOUR USERNAME'
10388
+ config.password = 'YOUR PASSWORD'
10389
+ end
10390
+
10391
+ api_instance = CloudsmithApi::ReposApi.new
10392
+
10393
+ owner = 'owner_example' # String |
10394
+
10395
+ identifier = 'identifier_example' # String |
10396
+
10397
+ opts = {
10398
+ data: CloudsmithApi::SkillsUpstreamRequest.new # SkillsUpstreamRequest |
10399
+ }
10400
+
10401
+ begin
10402
+ #Create an AI Skills upstream config for this repository.
10403
+ result = api_instance.repos_upstream_skills_create(owner, identifier, opts)
10404
+ p result
10405
+ rescue CloudsmithApi::ApiError => e
10406
+ puts "Exception when calling ReposApi->repos_upstream_skills_create: #{e}"
10407
+ end
10408
+ ```
10409
+
10410
+ ### Parameters
10411
+
10412
+ Name | Type | Description | Notes
10413
+ ------------- | ------------- | ------------- | -------------
10414
+ **owner** | **String**| |
10415
+ **identifier** | **String**| |
10416
+ **data** | [**SkillsUpstreamRequest**](SkillsUpstreamRequest.md)| | [optional]
10417
+
10418
+ ### Return type
10419
+
10420
+ [**SkillsUpstream**](SkillsUpstream.md)
10421
+
10422
+ ### Authorization
10423
+
10424
+ [apikey](../README.md#apikey), [basic](../README.md#basic)
10425
+
10426
+ ### HTTP request headers
10427
+
10428
+ - **Content-Type**: application/json
10429
+ - **Accept**: application/json
10430
+
10431
+
10432
+
10433
+ # **repos_upstream_skills_delete**
10434
+ > repos_upstream_skills_delete(owner, identifier, slug_perm)
10435
+
10436
+ Delete an AI Skills upstream config for this repository.
10437
+
10438
+ Delete an AI Skills upstream config for this repository.
10439
+
10440
+ ### Example
10441
+ ```ruby
10442
+ # load the gem
10443
+ require 'cloudsmith-api'
10444
+ # setup authorization
10445
+ CloudsmithApi.configure do |config|
10446
+ # Configure API key authorization: apikey
10447
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
10448
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
10449
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
10450
+
10451
+ # Configure HTTP basic authorization: basic
10452
+ config.username = 'YOUR USERNAME'
10453
+ config.password = 'YOUR PASSWORD'
10454
+ end
10455
+
10456
+ api_instance = CloudsmithApi::ReposApi.new
10457
+
10458
+ owner = 'owner_example' # String |
10459
+
10460
+ identifier = 'identifier_example' # String |
10461
+
10462
+ slug_perm = 'slug_perm_example' # String |
10463
+
10464
+
10465
+ begin
10466
+ #Delete an AI Skills upstream config for this repository.
10467
+ api_instance.repos_upstream_skills_delete(owner, identifier, slug_perm)
10468
+ rescue CloudsmithApi::ApiError => e
10469
+ puts "Exception when calling ReposApi->repos_upstream_skills_delete: #{e}"
10470
+ end
10471
+ ```
10472
+
10473
+ ### Parameters
10474
+
10475
+ Name | Type | Description | Notes
10476
+ ------------- | ------------- | ------------- | -------------
10477
+ **owner** | **String**| |
10478
+ **identifier** | **String**| |
10479
+ **slug_perm** | **String**| |
10480
+
10481
+ ### Return type
10482
+
10483
+ nil (empty response body)
10484
+
10485
+ ### Authorization
10486
+
10487
+ [apikey](../README.md#apikey), [basic](../README.md#basic)
10488
+
10489
+ ### HTTP request headers
10490
+
10491
+ - **Content-Type**: application/json
10492
+ - **Accept**: application/json
10493
+
10494
+
10495
+
10496
+ # **repos_upstream_skills_list**
10497
+ > Array<SkillsUpstream> repos_upstream_skills_list(owner, identifier, opts)
10498
+
10499
+ List AI Skills upstream configs for this repository.
10500
+
10501
+ List AI Skills upstream configs for this repository.
10502
+
10503
+ ### Example
10504
+ ```ruby
10505
+ # load the gem
10506
+ require 'cloudsmith-api'
10507
+ # setup authorization
10508
+ CloudsmithApi.configure do |config|
10509
+ # Configure API key authorization: apikey
10510
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
10511
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
10512
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
10513
+
10514
+ # Configure HTTP basic authorization: basic
10515
+ config.username = 'YOUR USERNAME'
10516
+ config.password = 'YOUR PASSWORD'
10517
+ end
10518
+
10519
+ api_instance = CloudsmithApi::ReposApi.new
10520
+
10521
+ owner = 'owner_example' # String |
10522
+
10523
+ identifier = 'identifier_example' # String |
10524
+
10525
+ opts = {
10526
+ page: 56, # Integer | A page number within the paginated result set.
10527
+ page_size: 56 # Integer | Number of results to return per page.
10528
+ }
10529
+
10530
+ begin
10531
+ #List AI Skills upstream configs for this repository.
10532
+ result = api_instance.repos_upstream_skills_list(owner, identifier, opts)
10533
+ p result
10534
+ rescue CloudsmithApi::ApiError => e
10535
+ puts "Exception when calling ReposApi->repos_upstream_skills_list: #{e}"
10536
+ end
10537
+ ```
10538
+
10539
+ ### Parameters
10540
+
10541
+ Name | Type | Description | Notes
10542
+ ------------- | ------------- | ------------- | -------------
10543
+ **owner** | **String**| |
10544
+ **identifier** | **String**| |
10545
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
10546
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
10547
+
10548
+ ### Return type
10549
+
10550
+ [**Array<SkillsUpstream>**](SkillsUpstream.md)
10551
+
10552
+ ### Authorization
10553
+
10554
+ [apikey](../README.md#apikey), [basic](../README.md#basic)
10555
+
10556
+ ### HTTP request headers
10557
+
10558
+ - **Content-Type**: application/json
10559
+ - **Accept**: application/json
10560
+
10561
+
10562
+
10563
+ # **repos_upstream_skills_partial_update**
10564
+ > SkillsUpstream repos_upstream_skills_partial_update(owner, identifier, slug_perm, opts)
10565
+
10566
+ Partially update an AI Skills upstream config for this repository.
10567
+
10568
+ Partially update an AI Skills upstream config for this repository.
10569
+
10570
+ ### Example
10571
+ ```ruby
10572
+ # load the gem
10573
+ require 'cloudsmith-api'
10574
+ # setup authorization
10575
+ CloudsmithApi.configure do |config|
10576
+ # Configure API key authorization: apikey
10577
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
10578
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
10579
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
10580
+
10581
+ # Configure HTTP basic authorization: basic
10582
+ config.username = 'YOUR USERNAME'
10583
+ config.password = 'YOUR PASSWORD'
10584
+ end
10585
+
10586
+ api_instance = CloudsmithApi::ReposApi.new
10587
+
10588
+ owner = 'owner_example' # String |
10589
+
10590
+ identifier = 'identifier_example' # String |
10591
+
10592
+ slug_perm = 'slug_perm_example' # String |
10593
+
10594
+ opts = {
10595
+ data: CloudsmithApi::SkillsUpstreamRequestPatch.new # SkillsUpstreamRequestPatch |
10596
+ }
10597
+
10598
+ begin
10599
+ #Partially update an AI Skills upstream config for this repository.
10600
+ result = api_instance.repos_upstream_skills_partial_update(owner, identifier, slug_perm, opts)
10601
+ p result
10602
+ rescue CloudsmithApi::ApiError => e
10603
+ puts "Exception when calling ReposApi->repos_upstream_skills_partial_update: #{e}"
10604
+ end
10605
+ ```
10606
+
10607
+ ### Parameters
10608
+
10609
+ Name | Type | Description | Notes
10610
+ ------------- | ------------- | ------------- | -------------
10611
+ **owner** | **String**| |
10612
+ **identifier** | **String**| |
10613
+ **slug_perm** | **String**| |
10614
+ **data** | [**SkillsUpstreamRequestPatch**](SkillsUpstreamRequestPatch.md)| | [optional]
10615
+
10616
+ ### Return type
10617
+
10618
+ [**SkillsUpstream**](SkillsUpstream.md)
10619
+
10620
+ ### Authorization
10621
+
10622
+ [apikey](../README.md#apikey), [basic](../README.md#basic)
10623
+
10624
+ ### HTTP request headers
10625
+
10626
+ - **Content-Type**: application/json
10627
+ - **Accept**: application/json
10628
+
10629
+
10630
+
10631
+ # **repos_upstream_skills_read**
10632
+ > SkillsUpstream repos_upstream_skills_read(owner, identifier, slug_perm)
10633
+
10634
+ Retrieve an AI Skills upstream config for this repository.
10635
+
10636
+ Retrieve an AI Skills upstream config for this repository.
10637
+
10638
+ ### Example
10639
+ ```ruby
10640
+ # load the gem
10641
+ require 'cloudsmith-api'
10642
+ # setup authorization
10643
+ CloudsmithApi.configure do |config|
10644
+ # Configure API key authorization: apikey
10645
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
10646
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
10647
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
10648
+
10649
+ # Configure HTTP basic authorization: basic
10650
+ config.username = 'YOUR USERNAME'
10651
+ config.password = 'YOUR PASSWORD'
10652
+ end
10653
+
10654
+ api_instance = CloudsmithApi::ReposApi.new
10655
+
10656
+ owner = 'owner_example' # String |
10657
+
10658
+ identifier = 'identifier_example' # String |
10659
+
10660
+ slug_perm = 'slug_perm_example' # String |
10661
+
10662
+
10663
+ begin
10664
+ #Retrieve an AI Skills upstream config for this repository.
10665
+ result = api_instance.repos_upstream_skills_read(owner, identifier, slug_perm)
10666
+ p result
10667
+ rescue CloudsmithApi::ApiError => e
10668
+ puts "Exception when calling ReposApi->repos_upstream_skills_read: #{e}"
10669
+ end
10670
+ ```
10671
+
10672
+ ### Parameters
10673
+
10674
+ Name | Type | Description | Notes
10675
+ ------------- | ------------- | ------------- | -------------
10676
+ **owner** | **String**| |
10677
+ **identifier** | **String**| |
10678
+ **slug_perm** | **String**| |
10679
+
10680
+ ### Return type
10681
+
10682
+ [**SkillsUpstream**](SkillsUpstream.md)
10683
+
10684
+ ### Authorization
10685
+
10686
+ [apikey](../README.md#apikey), [basic](../README.md#basic)
10687
+
10688
+ ### HTTP request headers
10689
+
10690
+ - **Content-Type**: application/json
10691
+ - **Accept**: application/json
10692
+
10693
+
10694
+
10695
+ # **repos_upstream_skills_update**
10696
+ > SkillsUpstream repos_upstream_skills_update(owner, identifier, slug_perm, opts)
10697
+
10698
+ Update an AI Skills upstream config for this repository.
10699
+
10700
+ Update an AI Skills upstream config for this repository.
10701
+
10702
+ ### Example
10703
+ ```ruby
10704
+ # load the gem
10705
+ require 'cloudsmith-api'
10706
+ # setup authorization
10707
+ CloudsmithApi.configure do |config|
10708
+ # Configure API key authorization: apikey
10709
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
10710
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
10711
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
10712
+
10713
+ # Configure HTTP basic authorization: basic
10714
+ config.username = 'YOUR USERNAME'
10715
+ config.password = 'YOUR PASSWORD'
10716
+ end
10717
+
10718
+ api_instance = CloudsmithApi::ReposApi.new
10719
+
10720
+ owner = 'owner_example' # String |
10721
+
10722
+ identifier = 'identifier_example' # String |
10723
+
10724
+ slug_perm = 'slug_perm_example' # String |
10725
+
10726
+ opts = {
10727
+ data: CloudsmithApi::SkillsUpstreamRequest.new # SkillsUpstreamRequest |
10728
+ }
10729
+
10730
+ begin
10731
+ #Update an AI Skills upstream config for this repository.
10732
+ result = api_instance.repos_upstream_skills_update(owner, identifier, slug_perm, opts)
10733
+ p result
10734
+ rescue CloudsmithApi::ApiError => e
10735
+ puts "Exception when calling ReposApi->repos_upstream_skills_update: #{e}"
10736
+ end
10737
+ ```
10738
+
10739
+ ### Parameters
10740
+
10741
+ Name | Type | Description | Notes
10742
+ ------------- | ------------- | ------------- | -------------
10743
+ **owner** | **String**| |
10744
+ **identifier** | **String**| |
10745
+ **slug_perm** | **String**| |
10746
+ **data** | [**SkillsUpstreamRequest**](SkillsUpstreamRequest.md)| | [optional]
10747
+
10748
+ ### Return type
10749
+
10750
+ [**SkillsUpstream**](SkillsUpstream.md)
10751
+
10752
+ ### Authorization
10753
+
10754
+ [apikey](../README.md#apikey), [basic](../README.md#basic)
10755
+
10756
+ ### HTTP request headers
10757
+
10758
+ - **Content-Type**: application/json
10759
+ - **Accept**: application/json
10760
+
10761
+
10762
+
10362
10763
  # **repos_upstream_swift_create**
10363
10764
  > SwiftUpstream repos_upstream_swift_create(owner, identifier, opts)
10364
10765
 
data/docs/Service.md CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **created_by_url** | **String** | | [optional]
9
9
  **description** | **String** | The description of the service | [optional]
10
10
  **key** | **String** | The API key of the service | [optional]
11
- **key_expires_at** | **DateTime** | The time at which the API key will expire. This will only be populated if the Organization has an active API Key Policy. | [optional]
11
+ **key_expires_at** | **DateTime** | The time at which the API key will expire. This will only be populated if the Organization has an active API key rule. | [optional]
12
12
  **name** | **String** | The name of the service |
13
13
  **role** | **String** | The role of the service. | [optional] [default to 'Member']
14
14
  **slug** | **String** | The slug of the service | [optional]
@@ -0,0 +1,34 @@
1
+ # CloudsmithApi::SkillsUpstream
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **available** | **BOOLEAN** | Whether the upstream is available for use. | [optional]
10
+ **can_reindex** | **BOOLEAN** | Whether the upstream can be reindexed. | [optional]
11
+ **contents** | **String** | The package types to serve from the upstream: skills, plugins, or both. | [optional] [default to 'Skills']
12
+ **created_at** | **DateTime** | The datetime the upstream source was created. | [optional]
13
+ **disable_reason** | **String** | | [optional] [default to 'N/A']
14
+ **disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional]
15
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
16
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
17
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
18
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
19
+ **has_failed_signature_verification** | **BOOLEAN** | Whether the upstream has failed signature verification. | [optional]
20
+ **index_package_count** | **Integer** | The number of packages available in this upstream source | [optional]
21
+ **index_status** | **String** | The current indexing status of this upstream source | [optional]
22
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
23
+ **last_indexed** | **String** | The last time this upstream source was indexed | [optional]
24
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
25
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
26
+ **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional]
27
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
28
+ **selections** | [**Array<SkillsUpstreamSelection>**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional]
29
+ **slug_perm** | **String** | | [optional]
30
+ **updated_at** | **DateTime** | | [optional]
31
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
32
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
33
+
34
+
@@ -0,0 +1,22 @@
1
+ # CloudsmithApi::SkillsUpstreamRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **contents** | **String** | The package types to serve from the upstream: skills, plugins, or both. | [optional] [default to 'Skills']
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
15
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
16
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
17
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18
+ **selections** | [**Array<SkillsUpstreamSelection>**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional]
19
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
20
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
21
+
22
+
@@ -0,0 +1,22 @@
1
+ # CloudsmithApi::SkillsUpstreamRequestPatch
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **contents** | **String** | The package types to serve from the upstream: skills, plugins, or both. | [optional] [default to 'Skills']
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
15
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
16
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
17
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18
+ **selections** | [**Array<SkillsUpstreamSelection>**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional]
19
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
20
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
21
+
22
+
@@ -0,0 +1,10 @@
1
+ # CloudsmithApi::SkillsUpstreamSelection
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | The skill's ClawHub slug. |
7
+ **publisher** | **String** | The ClawHub owner handle that publishes the skill. |
8
+ **version** | **String** | The exact semantic version of the release. |
9
+
10
+