@sonatype/nexus-repo-api-client 3.95.0 → 3.95.1

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.
@@ -0,0 +1,195 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sonatype Nexus Repository Manager
5
+ * This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.95.0-07.
6
+ *
7
+ * The version of the OpenAPI document: 3.95.0-07
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface OAuth2OidcConfigurationXO
20
+ */
21
+ export interface OAuth2OidcConfigurationXO {
22
+ /**
23
+ *
24
+ * @type {{ [key: string]: string; }}
25
+ * @memberof OAuth2OidcConfigurationXO
26
+ */
27
+ authorizationCustomParams?: { [key: string]: string; };
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof OAuth2OidcConfigurationXO
32
+ */
33
+ clientId?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof OAuth2OidcConfigurationXO
38
+ */
39
+ clientSecret?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof OAuth2OidcConfigurationXO
44
+ */
45
+ emailClaim?: string;
46
+ /**
47
+ *
48
+ * @type {{ [key: string]: string; }}
49
+ * @memberof OAuth2OidcConfigurationXO
50
+ */
51
+ exactMatchClaims?: { [key: string]: string; };
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof OAuth2OidcConfigurationXO
56
+ */
57
+ firstNameClaim?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof OAuth2OidcConfigurationXO
62
+ */
63
+ groupsClaim?: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof OAuth2OidcConfigurationXO
68
+ */
69
+ idpAuthorizationUrl?: string;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof OAuth2OidcConfigurationXO
74
+ */
75
+ idpJwks?: string;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof OAuth2OidcConfigurationXO
80
+ */
81
+ idpJwksUrl?: string;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof OAuth2OidcConfigurationXO
86
+ */
87
+ idpJwsAlgorithm: string;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof OAuth2OidcConfigurationXO
92
+ */
93
+ idpLogoutUrl?: string;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof OAuth2OidcConfigurationXO
98
+ */
99
+ idpTokenUrl?: string;
100
+ /**
101
+ *
102
+ * @type {string}
103
+ * @memberof OAuth2OidcConfigurationXO
104
+ */
105
+ lastNameClaim?: string;
106
+ /**
107
+ *
108
+ * @type {{ [key: string]: string; }}
109
+ * @memberof OAuth2OidcConfigurationXO
110
+ */
111
+ tokenRequestCustomParams?: { [key: string]: string; };
112
+ /**
113
+ *
114
+ * @type {boolean}
115
+ * @memberof OAuth2OidcConfigurationXO
116
+ */
117
+ useTrustStore?: boolean;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof OAuth2OidcConfigurationXO
122
+ */
123
+ usernameClaim: string;
124
+ }
125
+
126
+ /**
127
+ * Check if a given object implements the OAuth2OidcConfigurationXO interface.
128
+ */
129
+ export function instanceOfOAuth2OidcConfigurationXO(value: object): value is OAuth2OidcConfigurationXO {
130
+ if (!('idpJwsAlgorithm' in value) || value['idpJwsAlgorithm'] === undefined) return false;
131
+ if (!('usernameClaim' in value) || value['usernameClaim'] === undefined) return false;
132
+ return true;
133
+ }
134
+
135
+ export function OAuth2OidcConfigurationXOFromJSON(json: any): OAuth2OidcConfigurationXO {
136
+ return OAuth2OidcConfigurationXOFromJSONTyped(json, false);
137
+ }
138
+
139
+ export function OAuth2OidcConfigurationXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2OidcConfigurationXO {
140
+ if (json == null) {
141
+ return json;
142
+ }
143
+ return {
144
+
145
+ 'authorizationCustomParams': json['authorizationCustomParams'] == null ? undefined : json['authorizationCustomParams'],
146
+ 'clientId': json['clientId'] == null ? undefined : json['clientId'],
147
+ 'clientSecret': json['clientSecret'] == null ? undefined : json['clientSecret'],
148
+ 'emailClaim': json['emailClaim'] == null ? undefined : json['emailClaim'],
149
+ 'exactMatchClaims': json['exactMatchClaims'] == null ? undefined : json['exactMatchClaims'],
150
+ 'firstNameClaim': json['firstNameClaim'] == null ? undefined : json['firstNameClaim'],
151
+ 'groupsClaim': json['groupsClaim'] == null ? undefined : json['groupsClaim'],
152
+ 'idpAuthorizationUrl': json['idpAuthorizationUrl'] == null ? undefined : json['idpAuthorizationUrl'],
153
+ 'idpJwks': json['idpJwks'] == null ? undefined : json['idpJwks'],
154
+ 'idpJwksUrl': json['idpJwksUrl'] == null ? undefined : json['idpJwksUrl'],
155
+ 'idpJwsAlgorithm': json['idpJwsAlgorithm'],
156
+ 'idpLogoutUrl': json['idpLogoutUrl'] == null ? undefined : json['idpLogoutUrl'],
157
+ 'idpTokenUrl': json['idpTokenUrl'] == null ? undefined : json['idpTokenUrl'],
158
+ 'lastNameClaim': json['lastNameClaim'] == null ? undefined : json['lastNameClaim'],
159
+ 'tokenRequestCustomParams': json['tokenRequestCustomParams'] == null ? undefined : json['tokenRequestCustomParams'],
160
+ 'useTrustStore': json['useTrustStore'] == null ? undefined : json['useTrustStore'],
161
+ 'usernameClaim': json['usernameClaim'],
162
+ };
163
+ }
164
+
165
+ export function OAuth2OidcConfigurationXOToJSON(json: any): OAuth2OidcConfigurationXO {
166
+ return OAuth2OidcConfigurationXOToJSONTyped(json, false);
167
+ }
168
+
169
+ export function OAuth2OidcConfigurationXOToJSONTyped(value?: OAuth2OidcConfigurationXO | null, ignoreDiscriminator: boolean = false): any {
170
+ if (value == null) {
171
+ return value;
172
+ }
173
+
174
+ return {
175
+
176
+ 'authorizationCustomParams': value['authorizationCustomParams'],
177
+ 'clientId': value['clientId'],
178
+ 'clientSecret': value['clientSecret'],
179
+ 'emailClaim': value['emailClaim'],
180
+ 'exactMatchClaims': value['exactMatchClaims'],
181
+ 'firstNameClaim': value['firstNameClaim'],
182
+ 'groupsClaim': value['groupsClaim'],
183
+ 'idpAuthorizationUrl': value['idpAuthorizationUrl'],
184
+ 'idpJwks': value['idpJwks'],
185
+ 'idpJwksUrl': value['idpJwksUrl'],
186
+ 'idpJwsAlgorithm': value['idpJwsAlgorithm'],
187
+ 'idpLogoutUrl': value['idpLogoutUrl'],
188
+ 'idpTokenUrl': value['idpTokenUrl'],
189
+ 'lastNameClaim': value['lastNameClaim'],
190
+ 'tokenRequestCustomParams': value['tokenRequestCustomParams'],
191
+ 'useTrustStore': value['useTrustStore'],
192
+ 'usernameClaim': value['usernameClaim'],
193
+ };
194
+ }
195
+
@@ -197,6 +197,7 @@ export * from './NugetHostedApiRepository';
197
197
  export * from './NugetHostedRepositoryApiRequest';
198
198
  export * from './NugetProxyApiRepository';
199
199
  export * from './NugetProxyRepositoryApiRequest';
200
+ export * from './OAuth2OidcConfigurationXO';
200
201
  export * from './OciAttributes';
201
202
  export * from './OciCosignConfiguration';
202
203
  export * from './OciGroupApiRepository';