@sonatype/nexus-iq-api-client 0.197.0 → 0.197.2
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.
- package/dist/apis/ConfigSAMLApi.d.ts +2 -2
- package/dist/apis/ConfigSAMLApi.js +0 -2
- package/dist/esm/apis/ConfigSAMLApi.d.ts +2 -2
- package/dist/esm/apis/ConfigSAMLApi.js +0 -2
- package/dist/esm/models/InsertOrUpdateSamlConfigurationRequest.d.ts +2 -2
- package/dist/models/InsertOrUpdateSamlConfigurationRequest.d.ts +2 -2
- package/package.json +1 -1
- package/src/apis/ConfigSAMLApi.ts +2 -4
- package/src/models/InsertOrUpdateSamlConfigurationRequest.ts +2 -2
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { ApiSamlConfigurationDTO, ApiSamlConfigurationResponseDTO } from '../models/index';
|
|
14
14
|
export interface ConfigSAMLApiInsertOrUpdateSamlConfigurationRequest {
|
|
15
|
-
identityProviderXml:
|
|
15
|
+
identityProviderXml: string;
|
|
16
16
|
samlConfiguration: ApiSamlConfigurationDTO;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
@@ -57,7 +57,7 @@ export interface ConfigSAMLApiInterface {
|
|
|
57
57
|
getSamlConfiguration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSamlConfigurationResponseDTO>;
|
|
58
58
|
/**
|
|
59
59
|
* Use this method to enable SSO using SAML. This request uses the content type multipart/form-data to transmit the configuration to IQ Server. Permissions required: Edit System Configuration and Users
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {string} identityProviderXml Enter the SAML metadata XML of your IdP. Refer to the IdP documentation to obtain this metadata.
|
|
61
61
|
* @param {ApiSamlConfigurationDTO} samlConfiguration
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
@@ -143,8 +143,6 @@ class ConfigSAMLApi extends runtime.BaseAPI {
|
|
|
143
143
|
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
144
144
|
let formParams;
|
|
145
145
|
let useForm = false;
|
|
146
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
147
|
-
useForm = canConsumeForm;
|
|
148
146
|
if (useForm) {
|
|
149
147
|
formParams = new FormData();
|
|
150
148
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { ApiSamlConfigurationDTO, ApiSamlConfigurationResponseDTO } from '../models/index';
|
|
14
14
|
export interface ConfigSAMLApiInsertOrUpdateSamlConfigurationRequest {
|
|
15
|
-
identityProviderXml:
|
|
15
|
+
identityProviderXml: string;
|
|
16
16
|
samlConfiguration: ApiSamlConfigurationDTO;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
@@ -57,7 +57,7 @@ export interface ConfigSAMLApiInterface {
|
|
|
57
57
|
getSamlConfiguration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSamlConfigurationResponseDTO>;
|
|
58
58
|
/**
|
|
59
59
|
* Use this method to enable SSO using SAML. This request uses the content type multipart/form-data to transmit the configuration to IQ Server. Permissions required: Edit System Configuration and Users
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {string} identityProviderXml Enter the SAML metadata XML of your IdP. Refer to the IdP documentation to obtain this metadata.
|
|
61
61
|
* @param {ApiSamlConfigurationDTO} samlConfiguration
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
@@ -140,8 +140,6 @@ export class ConfigSAMLApi extends runtime.BaseAPI {
|
|
|
140
140
|
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
141
141
|
let formParams;
|
|
142
142
|
let useForm = false;
|
|
143
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
144
|
-
useForm = canConsumeForm;
|
|
145
143
|
if (useForm) {
|
|
146
144
|
formParams = new FormData();
|
|
147
145
|
}
|
|
@@ -18,10 +18,10 @@ import type { ApiSamlConfigurationDTO } from './ApiSamlConfigurationDTO';
|
|
|
18
18
|
export interface InsertOrUpdateSamlConfigurationRequest {
|
|
19
19
|
/**
|
|
20
20
|
* Enter the SAML metadata XML of your IdP. Refer to the IdP documentation to obtain this metadata.
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof InsertOrUpdateSamlConfigurationRequest
|
|
23
23
|
*/
|
|
24
|
-
identityProviderXml:
|
|
24
|
+
identityProviderXml: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {ApiSamlConfigurationDTO}
|
|
@@ -18,10 +18,10 @@ import type { ApiSamlConfigurationDTO } from './ApiSamlConfigurationDTO';
|
|
|
18
18
|
export interface InsertOrUpdateSamlConfigurationRequest {
|
|
19
19
|
/**
|
|
20
20
|
* Enter the SAML metadata XML of your IdP. Refer to the IdP documentation to obtain this metadata.
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof InsertOrUpdateSamlConfigurationRequest
|
|
23
23
|
*/
|
|
24
|
-
identityProviderXml:
|
|
24
|
+
identityProviderXml: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {ApiSamlConfigurationDTO}
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
28
|
export interface ConfigSAMLApiInsertOrUpdateSamlConfigurationRequest {
|
|
29
|
-
identityProviderXml:
|
|
29
|
+
identityProviderXml: string;
|
|
30
30
|
samlConfiguration: ApiSamlConfigurationDTO;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -78,7 +78,7 @@ export interface ConfigSAMLApiInterface {
|
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* Use this method to enable SSO using SAML. This request uses the content type multipart/form-data to transmit the configuration to IQ Server. Permissions required: Edit System Configuration and Users
|
|
81
|
-
* @param {
|
|
81
|
+
* @param {string} identityProviderXml Enter the SAML metadata XML of your IdP. Refer to the IdP documentation to obtain this metadata.
|
|
82
82
|
* @param {ApiSamlConfigurationDTO} samlConfiguration
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
@@ -230,8 +230,6 @@ export class ConfigSAMLApi extends runtime.BaseAPI implements ConfigSAMLApiInter
|
|
|
230
230
|
|
|
231
231
|
let formParams: { append(param: string, value: any): any };
|
|
232
232
|
let useForm = false;
|
|
233
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
234
|
-
useForm = canConsumeForm;
|
|
235
233
|
if (useForm) {
|
|
236
234
|
formParams = new FormData();
|
|
237
235
|
} else {
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
export interface InsertOrUpdateSamlConfigurationRequest {
|
|
30
30
|
/**
|
|
31
31
|
* Enter the SAML metadata XML of your IdP. Refer to the IdP documentation to obtain this metadata.
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof InsertOrUpdateSamlConfigurationRequest
|
|
34
34
|
*/
|
|
35
|
-
identityProviderXml:
|
|
35
|
+
identityProviderXml: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {ApiSamlConfigurationDTO}
|