pulp_npm_client 0.7.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ab99f06c97c7117c22d111dd88452cbe762547a858d3b15b019e302e7b3e801
4
- data.tar.gz: 2ac12ad64399a8f379b76eb680b4eef7fb82369bda19207068fa5ddadf31c499
3
+ metadata.gz: 89f88d57de19039309728aa796d324aec9e768f65fce35b10287d8ea48d33514
4
+ data.tar.gz: 827fbbd404efbf3ccd63f6e35cba94251cdad2e7bcb07562fea6b2cbdabbe1ea
5
5
  SHA512:
6
- metadata.gz: '09b561b5e26e0070f352a97103e59dc8a257e1084760c2cc15f8131f142de43898aa9ed24aa1a948191a9fbc68989d6f79ab90ef8c18b1d642fffa2748f172e9'
7
- data.tar.gz: 947b31e53ef978bcf5a9838bf15f4e8922315d22390459fadcb20b756a9d4a02e938f3ba7994d4dd0e56a74da9e739072abe15d8e8f398153d0713303ad46074
6
+ metadata.gz: 265e9dc18fd7b0cef556ec67c2803a0d3c8438c88e5fb8830ba0ba2a28e1e23d70ab0a2f842274d18add20287a95b92d24477e948385a38029168dac34dc2dc0
7
+ data.tar.gz: 198c9139ff3af43bf7f4648e5230185a5e6148b4e6e6bd98ff8dec03250cc628ecb5a15324e072ae9db13611762f9dfa7755f8f9327e7956782ed310d1bbf0f6
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.7.2
10
+ - Package version: 0.9.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_npm_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_npm_client-0.7.2.gem
28
+ gem install ./pulp_npm_client-0.9.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_npm_client-0.7.2.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_npm_client-0.9.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_npm_client', '~> 0.7.2'
37
+ gem 'pulp_npm_client', '~> 0.9.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -71,6 +71,7 @@ api_instance = PulpNpmClient::ContentPackagesApi.new
71
71
  opts = {
72
72
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
73
73
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
74
+ overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
74
75
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
75
76
  artifact: 'artifact_example', # String | Artifact file representing the physical content
76
77
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -112,6 +113,9 @@ Class | Method | HTTP request | Description
112
113
  *PulpNpmClient::DistributionsNpmApi* | [**set_label**](docs/DistributionsNpmApi.md#set_label) | **POST** {npm_npm_distribution_href}set_label/ | Set a label
113
114
  *PulpNpmClient::DistributionsNpmApi* | [**unset_label**](docs/DistributionsNpmApi.md#unset_label) | **POST** {npm_npm_distribution_href}unset_label/ | Unset a label
114
115
  *PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
116
+ *PulpNpmClient::NpmApi* | [**put**](docs/NpmApi.md#put) | **PUT** /npm/{path}/{package_name} |
117
+ *PulpNpmClient::NpmPingApi* | [**get**](docs/NpmPingApi.md#get) | **GET** /npm/{path}/-/ping |
118
+ *PulpNpmClient::NpmWhoamiApi* | [**get**](docs/NpmWhoamiApi.md#get) | **GET** /npm/{path}/-/whoami |
115
119
  *PulpNpmClient::RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
116
120
  *PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
117
121
  *PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
@@ -36,6 +36,7 @@ api_instance = PulpNpmClient::ContentPackagesApi.new
36
36
  opts = {
37
37
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
38
38
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
+ overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
39
40
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
40
41
  artifact: 'artifact_example', # String | Artifact file representing the physical content
41
42
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -80,6 +81,7 @@ end
80
81
  | ---- | ---- | ----------- | ----- |
81
82
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
82
83
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
84
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true. | [optional] |
83
85
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
84
86
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
85
87
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version. | [optional] |
@@ -461,6 +463,7 @@ end
461
463
  api_instance = PulpNpmClient::ContentPackagesApi.new
462
464
  opts = {
463
465
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
466
+ overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
464
467
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
465
468
  artifact: 'artifact_example', # String | Artifact file representing the physical content
466
469
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -504,6 +507,7 @@ end
504
507
  | Name | Type | Description | Notes |
505
508
  | ---- | ---- | ----------- | ----- |
506
509
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
510
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true. | [optional] |
507
511
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
508
512
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
509
513
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version. | [optional] |
data/docs/NpmApi.md ADDED
@@ -0,0 +1,83 @@
1
+ # PulpNpmClient::NpmApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**put**](NpmApi.md#put) | **PUT** /npm/{path}/{package_name} | |
8
+
9
+
10
+ ## put
11
+
12
+ > put(package_name, path, opts)
13
+
14
+
15
+
16
+ Handle npm/yarn publish requests (``PUT /``).
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'pulp_npm_client'
23
+ # setup authorization
24
+ PulpNpmClient.configure do |config|
25
+ # Configure HTTP basic authorization: basicAuth
26
+ config.username = 'YOUR USERNAME'
27
+ config.password = 'YOUR PASSWORD'
28
+ end
29
+
30
+ api_instance = PulpNpmClient::NpmApi.new
31
+ package_name = 'package_name_example' # String |
32
+ path = 'path_example' # String |
33
+ opts = {
34
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
35
+ }
36
+
37
+ begin
38
+
39
+ api_instance.put(package_name, path, opts)
40
+ rescue PulpNpmClient::ApiError => e
41
+ puts "Error when calling NpmApi->put: #{e}"
42
+ end
43
+ ```
44
+
45
+ #### Using the put_with_http_info variant
46
+
47
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
48
+
49
+ > <Array(nil, Integer, Hash)> put_with_http_info(package_name, path, opts)
50
+
51
+ ```ruby
52
+ begin
53
+
54
+ data, status_code, headers = api_instance.put_with_http_info(package_name, path, opts)
55
+ p status_code # => 2xx
56
+ p headers # => { ... }
57
+ p data # => nil
58
+ rescue PulpNpmClient::ApiError => e
59
+ puts "Error when calling NpmApi->put_with_http_info: #{e}"
60
+ end
61
+ ```
62
+
63
+ ### Parameters
64
+
65
+ | Name | Type | Description | Notes |
66
+ | ---- | ---- | ----------- | ----- |
67
+ | **package_name** | **String** | | |
68
+ | **path** | **String** | | |
69
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
70
+
71
+ ### Return type
72
+
73
+ nil (empty response body)
74
+
75
+ ### Authorization
76
+
77
+ [basicAuth](../README.md#basicAuth)
78
+
79
+ ### HTTP request headers
80
+
81
+ - **Content-Type**: Not defined
82
+ - **Accept**: Not defined
83
+
@@ -0,0 +1,85 @@
1
+ # PulpNpmClient::NpmPingApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get**](NpmPingApi.md#get) | **GET** /npm/{path}/-/ping | |
8
+
9
+
10
+ ## get
11
+
12
+ > get(path, opts)
13
+
14
+
15
+
16
+ Handle ``GET /-/ping`` -- registry health check.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'pulp_npm_client'
23
+ # setup authorization
24
+ PulpNpmClient.configure do |config|
25
+ # Configure HTTP basic authorization: basicAuth
26
+ config.username = 'YOUR USERNAME'
27
+ config.password = 'YOUR PASSWORD'
28
+ end
29
+
30
+ api_instance = PulpNpmClient::NpmPingApi.new
31
+ path = 'path_example' # String |
32
+ opts = {
33
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
34
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
35
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
36
+ }
37
+
38
+ begin
39
+
40
+ api_instance.get(path, opts)
41
+ rescue PulpNpmClient::ApiError => e
42
+ puts "Error when calling NpmPingApi->get: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the get_with_http_info variant
47
+
48
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
49
+
50
+ > <Array(nil, Integer, Hash)> get_with_http_info(path, opts)
51
+
52
+ ```ruby
53
+ begin
54
+
55
+ data, status_code, headers = api_instance.get_with_http_info(path, opts)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => nil
59
+ rescue PulpNpmClient::ApiError => e
60
+ puts "Error when calling NpmPingApi->get_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **path** | **String** | | |
69
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
70
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
71
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
72
+
73
+ ### Return type
74
+
75
+ nil (empty response body)
76
+
77
+ ### Authorization
78
+
79
+ [basicAuth](../README.md#basicAuth)
80
+
81
+ ### HTTP request headers
82
+
83
+ - **Content-Type**: Not defined
84
+ - **Accept**: Not defined
85
+
@@ -0,0 +1,85 @@
1
+ # PulpNpmClient::NpmWhoamiApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get**](NpmWhoamiApi.md#get) | **GET** /npm/{path}/-/whoami | |
8
+
9
+
10
+ ## get
11
+
12
+ > get(path, opts)
13
+
14
+
15
+
16
+ Handle ``GET /-/whoami`` -- return the authenticated user.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'pulp_npm_client'
23
+ # setup authorization
24
+ PulpNpmClient.configure do |config|
25
+ # Configure HTTP basic authorization: basicAuth
26
+ config.username = 'YOUR USERNAME'
27
+ config.password = 'YOUR PASSWORD'
28
+ end
29
+
30
+ api_instance = PulpNpmClient::NpmWhoamiApi.new
31
+ path = 'path_example' # String |
32
+ opts = {
33
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
34
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
35
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
36
+ }
37
+
38
+ begin
39
+
40
+ api_instance.get(path, opts)
41
+ rescue PulpNpmClient::ApiError => e
42
+ puts "Error when calling NpmWhoamiApi->get: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the get_with_http_info variant
47
+
48
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
49
+
50
+ > <Array(nil, Integer, Hash)> get_with_http_info(path, opts)
51
+
52
+ ```ruby
53
+ begin
54
+
55
+ data, status_code, headers = api_instance.get_with_http_info(path, opts)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => nil
59
+ rescue PulpNpmClient::ApiError => e
60
+ puts "Error when calling NpmWhoamiApi->get_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **path** | **String** | | |
69
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
70
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
71
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
72
+
73
+ ### Return type
74
+
75
+ nil (empty response body)
76
+
77
+ ### Authorization
78
+
79
+ [basicAuth](../README.md#basicAuth)
80
+
81
+ ### HTTP request headers
82
+
83
+ - **Content-Type**: Not defined
84
+ - **Accept**: Not defined
85
+
@@ -7,6 +7,7 @@
7
7
  | **add_content_units** | **Array&lt;String&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
8
8
  | **remove_content_units** | **Array&lt;String&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
9
9
  | **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
10
+ | **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
10
11
 
11
12
  ## Example
12
13
 
@@ -16,7 +17,8 @@ require 'pulp_npm_client'
16
17
  instance = PulpNpmClient::RepositoryAddRemoveContent.new(
17
18
  add_content_units: null,
18
19
  remove_content_units: null,
19
- base_version: null
20
+ base_version: null,
21
+ overwrite: null
20
22
  )
21
23
  ```
22
24
 
@@ -24,6 +24,7 @@ module PulpNpmClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
27
28
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
29
  # @option opts [String] :artifact Artifact file representing the physical content
29
30
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -44,6 +45,7 @@ module PulpNpmClient
44
45
  # @param [Hash] opts the optional parameters
45
46
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
46
47
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
48
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
47
49
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
48
50
  # @option opts [String] :artifact Artifact file representing the physical content
49
51
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -94,6 +96,7 @@ module PulpNpmClient
94
96
  # form parameters
95
97
  form_params = opts[:form_params] || {}
96
98
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
99
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
97
100
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
98
101
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
99
102
  form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
@@ -472,6 +475,7 @@ module PulpNpmClient
472
475
  # Create an npm package content unit synchronously.
473
476
  # @param [Hash] opts the optional parameters
474
477
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
478
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
475
479
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
476
480
  # @option opts [String] :artifact Artifact file representing the physical content
477
481
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -491,6 +495,7 @@ module PulpNpmClient
491
495
  # Create an npm package content unit synchronously.
492
496
  # @param [Hash] opts the optional parameters
493
497
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
498
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
494
499
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
495
500
  # @option opts [String] :artifact Artifact file representing the physical content
496
501
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -540,6 +545,7 @@ module PulpNpmClient
540
545
 
541
546
  # form parameters
542
547
  form_params = opts[:form_params] || {}
548
+ form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
543
549
  form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
544
550
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
545
551
  form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
@@ -0,0 +1,100 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpNpmClient
16
+ class NpmApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Handle npm/yarn publish requests (``PUT /``).
23
+ # @param package_name [String]
24
+ # @param path [String]
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
+ # @return [nil]
28
+ def put(package_name, path, opts = {})
29
+ put_with_http_info(package_name, path, opts)
30
+ nil
31
+ end
32
+
33
+ # Handle npm/yarn publish requests (&#x60;&#x60;PUT /&#x60;&#x60;).
34
+ # @param package_name [String]
35
+ # @param path [String]
36
+ # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
39
+ def put_with_http_info(package_name, path, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: NpmApi.put ...'
42
+ end
43
+ # verify the required parameter 'package_name' is set
44
+ if @api_client.config.client_side_validation && package_name.nil?
45
+ fail ArgumentError, "Missing the required parameter 'package_name' when calling NpmApi.put"
46
+ end
47
+ pattern = Regexp.new(/^@[^\/]+%2[Ff][^\/]+|@[^\/]+\/[^\/]+|[^\/@][^\/]*$/)
48
+ if @api_client.config.client_side_validation && package_name !~ pattern
49
+ fail ArgumentError, "invalid value for 'package_name' when calling NpmApi.put, must conform to the pattern #{pattern}."
50
+ end
51
+
52
+ # verify the required parameter 'path' is set
53
+ if @api_client.config.client_side_validation && path.nil?
54
+ fail ArgumentError, "Missing the required parameter 'path' when calling NpmApi.put"
55
+ end
56
+ pattern = Regexp.new(/^.+?$/)
57
+ if @api_client.config.client_side_validation && path !~ pattern
58
+ fail ArgumentError, "invalid value for 'path' when calling NpmApi.put, must conform to the pattern #{pattern}."
59
+ end
60
+
61
+ # resource path
62
+ local_var_path = '/npm/{path}/{package_name}'.sub('{' + 'package_name' + '}', CGI.escape(package_name.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
63
+
64
+ # query parameters
65
+ query_params = opts[:query_params] || {}
66
+
67
+ # header parameters
68
+ header_params = opts[:header_params] || {}
69
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
70
+
71
+ # form parameters
72
+ form_params = opts[:form_params] || {}
73
+
74
+ # http body (model)
75
+ post_body = opts[:debug_body]
76
+
77
+ # return_type
78
+ return_type = opts[:debug_return_type]
79
+
80
+ # auth_names
81
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
82
+
83
+ new_options = opts.merge(
84
+ :operation => :"NpmApi.put",
85
+ :header_params => header_params,
86
+ :query_params => query_params,
87
+ :form_params => form_params,
88
+ :body => post_body,
89
+ :auth_names => auth_names,
90
+ :return_type => return_type
91
+ )
92
+
93
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
94
+ if @api_client.config.debugging
95
+ @api_client.config.logger.debug "API called: NpmApi#put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
96
+ end
97
+ return data, status_code, headers
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,95 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpNpmClient
16
+ class NpmPingApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Handle ``GET /-/ping`` -- registry health check.
23
+ # @param path [String]
24
+ # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
27
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
28
+ # @return [nil]
29
+ def get(path, opts = {})
30
+ get_with_http_info(path, opts)
31
+ nil
32
+ end
33
+
34
+ # Handle &#x60;&#x60;GET /-/ping&#x60;&#x60; -- registry health check.
35
+ # @param path [String]
36
+ # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
39
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
41
+ def get_with_http_info(path, opts = {})
42
+ if @api_client.config.debugging
43
+ @api_client.config.logger.debug 'Calling API: NpmPingApi.get ...'
44
+ end
45
+ # verify the required parameter 'path' is set
46
+ if @api_client.config.client_side_validation && path.nil?
47
+ fail ArgumentError, "Missing the required parameter 'path' when calling NpmPingApi.get"
48
+ end
49
+ pattern = Regexp.new(/^.+?$/)
50
+ if @api_client.config.client_side_validation && path !~ pattern
51
+ fail ArgumentError, "invalid value for 'path' when calling NpmPingApi.get, must conform to the pattern #{pattern}."
52
+ end
53
+
54
+ # resource path
55
+ local_var_path = '/npm/{path}/-/ping'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
56
+
57
+ # query parameters
58
+ query_params = opts[:query_params] || {}
59
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
60
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
61
+
62
+ # header parameters
63
+ header_params = opts[:header_params] || {}
64
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
65
+
66
+ # form parameters
67
+ form_params = opts[:form_params] || {}
68
+
69
+ # http body (model)
70
+ post_body = opts[:debug_body]
71
+
72
+ # return_type
73
+ return_type = opts[:debug_return_type]
74
+
75
+ # auth_names
76
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
77
+
78
+ new_options = opts.merge(
79
+ :operation => :"NpmPingApi.get",
80
+ :header_params => header_params,
81
+ :query_params => query_params,
82
+ :form_params => form_params,
83
+ :body => post_body,
84
+ :auth_names => auth_names,
85
+ :return_type => return_type
86
+ )
87
+
88
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
89
+ if @api_client.config.debugging
90
+ @api_client.config.logger.debug "API called: NpmPingApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
91
+ end
92
+ return data, status_code, headers
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,95 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpNpmClient
16
+ class NpmWhoamiApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Handle ``GET /-/whoami`` -- return the authenticated user.
23
+ # @param path [String]
24
+ # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
27
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
28
+ # @return [nil]
29
+ def get(path, opts = {})
30
+ get_with_http_info(path, opts)
31
+ nil
32
+ end
33
+
34
+ # Handle &#x60;&#x60;GET /-/whoami&#x60;&#x60; -- return the authenticated user.
35
+ # @param path [String]
36
+ # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
39
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
41
+ def get_with_http_info(path, opts = {})
42
+ if @api_client.config.debugging
43
+ @api_client.config.logger.debug 'Calling API: NpmWhoamiApi.get ...'
44
+ end
45
+ # verify the required parameter 'path' is set
46
+ if @api_client.config.client_side_validation && path.nil?
47
+ fail ArgumentError, "Missing the required parameter 'path' when calling NpmWhoamiApi.get"
48
+ end
49
+ pattern = Regexp.new(/^.+?$/)
50
+ if @api_client.config.client_side_validation && path !~ pattern
51
+ fail ArgumentError, "invalid value for 'path' when calling NpmWhoamiApi.get, must conform to the pattern #{pattern}."
52
+ end
53
+
54
+ # resource path
55
+ local_var_path = '/npm/{path}/-/whoami'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
56
+
57
+ # query parameters
58
+ query_params = opts[:query_params] || {}
59
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
60
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
61
+
62
+ # header parameters
63
+ header_params = opts[:header_params] || {}
64
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
65
+
66
+ # form parameters
67
+ form_params = opts[:form_params] || {}
68
+
69
+ # http body (model)
70
+ post_body = opts[:debug_body]
71
+
72
+ # return_type
73
+ return_type = opts[:debug_return_type]
74
+
75
+ # auth_names
76
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
77
+
78
+ new_options = opts.merge(
79
+ :operation => :"NpmWhoamiApi.get",
80
+ :header_params => header_params,
81
+ :query_params => query_params,
82
+ :form_params => form_params,
83
+ :body => post_body,
84
+ :auth_names => auth_names,
85
+ :return_type => return_type
86
+ )
87
+
88
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
89
+ if @api_client.config.debugging
90
+ @api_client.config.logger.debug "API called: NpmWhoamiApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
91
+ end
92
+ return data, status_code, headers
93
+ end
94
+ end
95
+ end
@@ -25,12 +25,16 @@ module PulpNpmClient
25
25
  # A repository version whose content will be used as the initial set of content for the new repository version
26
26
  attr_accessor :base_version
27
27
 
28
+ # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true.
29
+ attr_accessor :overwrite
30
+
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
29
32
  def self.attribute_map
30
33
  {
31
34
  :'add_content_units' => :'add_content_units',
32
35
  :'remove_content_units' => :'remove_content_units',
33
- :'base_version' => :'base_version'
36
+ :'base_version' => :'base_version',
37
+ :'overwrite' => :'overwrite'
34
38
  }
35
39
  end
36
40
 
@@ -44,7 +48,8 @@ module PulpNpmClient
44
48
  {
45
49
  :'add_content_units' => :'Array<String>',
46
50
  :'remove_content_units' => :'Array<String>',
47
- :'base_version' => :'String'
51
+ :'base_version' => :'String',
52
+ :'overwrite' => :'Boolean'
48
53
  }
49
54
  end
50
55
 
@@ -84,6 +89,12 @@ module PulpNpmClient
84
89
  if attributes.key?(:'base_version')
85
90
  self.base_version = attributes[:'base_version']
86
91
  end
92
+
93
+ if attributes.key?(:'overwrite')
94
+ self.overwrite = attributes[:'overwrite']
95
+ else
96
+ self.overwrite = true
97
+ end
87
98
  end
88
99
 
89
100
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -108,7 +119,8 @@ module PulpNpmClient
108
119
  self.class == o.class &&
109
120
  add_content_units == o.add_content_units &&
110
121
  remove_content_units == o.remove_content_units &&
111
- base_version == o.base_version
122
+ base_version == o.base_version &&
123
+ overwrite == o.overwrite
112
124
  end
113
125
 
114
126
  # @see the `==` method
@@ -120,7 +132,7 @@ module PulpNpmClient
120
132
  # Calculates hash code according to all attributes.
121
133
  # @return [Integer] Hash code
122
134
  def hash
123
- [add_content_units, remove_content_units, base_version].hash
135
+ [add_content_units, remove_content_units, base_version, overwrite].hash
124
136
  end
125
137
 
126
138
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpNpmClient
14
- VERSION = '0.7.2'
14
+ VERSION = '0.9.0'
15
15
  end
@@ -50,6 +50,9 @@ require 'pulp_npm_client/models/unset_label_response'
50
50
  # APIs
51
51
  require 'pulp_npm_client/api/content_packages_api'
52
52
  require 'pulp_npm_client/api/distributions_npm_api'
53
+ require 'pulp_npm_client/api/npm_api'
54
+ require 'pulp_npm_client/api/npm_ping_api'
55
+ require 'pulp_npm_client/api/npm_whoami_api'
53
56
  require 'pulp_npm_client/api/remotes_npm_api'
54
57
  require 'pulp_npm_client/api/repositories_npm_api'
55
58
  require 'pulp_npm_client/api/repositories_npm_versions_api'
@@ -38,6 +38,7 @@ describe 'ContentPackagesApi' do
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
41
42
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
42
43
  # @option opts [String] :artifact Artifact file representing the physical content
43
44
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -130,6 +131,7 @@ describe 'ContentPackagesApi' do
130
131
  # Create an npm package content unit synchronously.
131
132
  # @param [Hash] opts the optional parameters
132
133
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
134
+ # @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when &#39;repository&#39; is specified. Defaults to true.
133
135
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
134
136
  # @option opts [String] :artifact Artifact file representing the physical content
135
137
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path. If not provided, it will be computed from name and version.
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpNpmClient::NpmApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'NpmApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpNpmClient::NpmApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of NpmApi' do
30
+ it 'should create an instance of NpmApi' do
31
+ expect(@api_instance).to be_instance_of(PulpNpmClient::NpmApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for put
36
+ # Handle npm/yarn publish requests (&#x60;&#x60;PUT /&#x60;&#x60;).
37
+ # @param package_name
38
+ # @param path
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
+ # @return [nil]
42
+ describe 'put test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpNpmClient::NpmPingApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'NpmPingApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpNpmClient::NpmPingApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of NpmPingApi' do
30
+ it 'should create an instance of NpmPingApi' do
31
+ expect(@api_instance).to be_instance_of(PulpNpmClient::NpmPingApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get
36
+ # Handle &#x60;&#x60;GET /-/ping&#x60;&#x60; -- registry health check.
37
+ # @param path
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
41
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
+ # @return [nil]
43
+ describe 'get test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpNpmClient::NpmWhoamiApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'NpmWhoamiApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpNpmClient::NpmWhoamiApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of NpmWhoamiApi' do
30
+ it 'should create an instance of NpmWhoamiApi' do
31
+ expect(@api_instance).to be_instance_of(PulpNpmClient::NpmWhoamiApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get
36
+ # Handle &#x60;&#x60;GET /-/whoami&#x60;&#x60; -- return the authenticated user.
37
+ # @param path
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
41
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
+ # @return [nil]
43
+ describe 'get test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ end
@@ -45,4 +45,10 @@ describe PulpNpmClient::RepositoryAddRemoveContent do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "overwrite"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
48
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_npm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-12 00:00:00.000000000 Z
11
+ date: 2026-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -92,6 +92,7 @@ files:
92
92
  - docs/ContentPackagesApi.md
93
93
  - docs/ContentSummaryResponse.md
94
94
  - docs/DistributionsNpmApi.md
95
+ - docs/NpmApi.md
95
96
  - docs/NpmNpmDistribution.md
96
97
  - docs/NpmNpmDistributionResponse.md
97
98
  - docs/NpmNpmRemote.md
@@ -100,6 +101,8 @@ files:
100
101
  - docs/NpmNpmRepository.md
101
102
  - docs/NpmNpmRepositoryResponse.md
102
103
  - docs/NpmPackageResponse.md
104
+ - docs/NpmPingApi.md
105
+ - docs/NpmWhoamiApi.md
103
106
  - docs/PaginatedRepositoryVersionResponseList.md
104
107
  - docs/PaginatednpmNpmDistributionResponseList.md
105
108
  - docs/PaginatednpmNpmRemoteResponseList.md
@@ -125,6 +128,9 @@ files:
125
128
  - lib/pulp_npm_client.rb
126
129
  - lib/pulp_npm_client/api/content_packages_api.rb
127
130
  - lib/pulp_npm_client/api/distributions_npm_api.rb
131
+ - lib/pulp_npm_client/api/npm_api.rb
132
+ - lib/pulp_npm_client/api/npm_ping_api.rb
133
+ - lib/pulp_npm_client/api/npm_whoami_api.rb
128
134
  - lib/pulp_npm_client/api/remotes_npm_api.rb
129
135
  - lib/pulp_npm_client/api/repositories_npm_api.rb
130
136
  - lib/pulp_npm_client/api/repositories_npm_versions_api.rb
@@ -164,6 +170,9 @@ files:
164
170
  - pulp_npm_client.gemspec
165
171
  - spec/api/content_packages_api_spec.rb
166
172
  - spec/api/distributions_npm_api_spec.rb
173
+ - spec/api/npm_api_spec.rb
174
+ - spec/api/npm_ping_api_spec.rb
175
+ - spec/api/npm_whoami_api_spec.rb
167
176
  - spec/api/remotes_npm_api_spec.rb
168
177
  - spec/api/repositories_npm_api_spec.rb
169
178
  - spec/api/repositories_npm_versions_api_spec.rb
@@ -222,37 +231,40 @@ specification_version: 4
222
231
  summary: Pulp 3 API Ruby Gem
223
232
  test_files:
224
233
  - spec/api/repositories_npm_versions_api_spec.rb
225
- - spec/api/remotes_npm_api_spec.rb
226
- - spec/api/distributions_npm_api_spec.rb
227
234
  - spec/api/content_packages_api_spec.rb
235
+ - spec/api/npm_whoami_api_spec.rb
236
+ - spec/api/npm_api_spec.rb
237
+ - spec/api/npm_ping_api_spec.rb
228
238
  - spec/api/repositories_npm_api_spec.rb
239
+ - spec/api/distributions_npm_api_spec.rb
240
+ - spec/api/remotes_npm_api_spec.rb
241
+ - spec/models/patchednpm_npm_repository_spec.rb
242
+ - spec/models/npm_npm_remote_spec.rb
243
+ - spec/models/npm_npm_repository_spec.rb
244
+ - spec/models/paginatednpm_npm_remote_response_list_spec.rb
245
+ - spec/models/repair_spec.rb
246
+ - spec/models/unset_label_spec.rb
229
247
  - spec/models/paginatednpm_npm_distribution_response_list_spec.rb
230
- - spec/models/unset_label_response_spec.rb
248
+ - spec/models/policy_enum_spec.rb
231
249
  - spec/models/npm_package_response_spec.rb
232
- - spec/models/paginatednpm_npm_repository_response_list_spec.rb
233
- - spec/models/repository_add_remove_content_spec.rb
234
- - spec/models/patchednpm_npm_repository_spec.rb
235
250
  - spec/models/async_operation_response_spec.rb
236
- - spec/models/policy_enum_spec.rb
237
- - spec/models/repository_sync_url_spec.rb
238
- - spec/models/remote_network_config_spec.rb
239
- - spec/models/npm_npm_repository_spec.rb
251
+ - spec/models/paginated_repository_version_response_list_spec.rb
252
+ - spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
240
253
  - spec/models/patchednpm_npm_remote_spec.rb
241
- - spec/models/remote_network_config_response_spec.rb
242
254
  - spec/models/npm_npm_distribution_response_spec.rb
243
- - spec/models/paginatednpm_npm_remote_response_list_spec.rb
244
- - spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
245
- - spec/models/unset_label_spec.rb
255
+ - spec/models/npm_npm_distribution_spec.rb
256
+ - spec/models/npm_npm_repository_response_spec.rb
257
+ - spec/models/remote_network_config_spec.rb
258
+ - spec/models/unset_label_response_spec.rb
259
+ - spec/models/remote_network_config_response_spec.rb
260
+ - spec/models/paginatednpm_npm_repository_response_list_spec.rb
246
261
  - spec/models/paginatednpm_package_response_list_spec.rb
247
- - spec/models/content_summary_response_spec.rb
248
- - spec/models/patchednpm_npm_distribution_spec.rb
249
262
  - spec/models/repository_version_response_spec.rb
250
- - spec/models/npm_npm_remote_spec.rb
251
- - spec/models/npm_npm_remote_response_spec.rb
252
263
  - spec/models/set_label_response_spec.rb
253
- - spec/models/paginated_repository_version_response_list_spec.rb
254
- - spec/models/npm_npm_repository_response_spec.rb
255
- - spec/models/npm_npm_distribution_spec.rb
256
- - spec/models/repair_spec.rb
264
+ - spec/models/repository_sync_url_spec.rb
265
+ - spec/models/npm_npm_remote_response_spec.rb
266
+ - spec/models/repository_add_remove_content_spec.rb
267
+ - spec/models/content_summary_response_spec.rb
268
+ - spec/models/patchednpm_npm_distribution_spec.rb
257
269
  - spec/models/set_label_spec.rb
258
270
  - spec/spec_helper.rb