@sonatype/nexus-repo-api-client 3.81.29 → 3.81.30

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.
@@ -149,8 +149,11 @@ __exportStar(require("./RGroupRepositoryApiRequest"), exports);
149
149
  __exportStar(require("./RHostedRepositoryApiRequest"), exports);
150
150
  __exportStar(require("./RProxyRepositoryApiRequest"), exports);
151
151
  __exportStar(require("./RawAttributes"), exports);
152
+ __exportStar(require("./RawGroupApiRepository"), exports);
152
153
  __exportStar(require("./RawGroupRepositoryApiRequest"), exports);
154
+ __exportStar(require("./RawHostedApiRepository"), exports);
153
155
  __exportStar(require("./RawHostedRepositoryApiRequest"), exports);
156
+ __exportStar(require("./RawProxyApiRepository"), exports);
154
157
  __exportStar(require("./RawProxyRepositoryApiRequest"), exports);
155
158
  __exportStar(require("./ReEncryptionRequestApiXO"), exports);
156
159
  __exportStar(require("./ReadLdapServerXo"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonatype/nexus-repo-api-client",
3
- "version": "3.81.29",
3
+ "version": "3.81.30",
4
4
  "description": "OpenAPI client for @sonatype/nexus-repo-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -64,8 +64,11 @@ import type {
64
64
  RGroupRepositoryApiRequest,
65
65
  RHostedRepositoryApiRequest,
66
66
  RProxyRepositoryApiRequest,
67
+ RawGroupApiRepository,
67
68
  RawGroupRepositoryApiRequest,
69
+ RawHostedApiRepository,
68
70
  RawHostedRepositoryApiRequest,
71
+ RawProxyApiRepository,
69
72
  RawProxyRepositoryApiRequest,
70
73
  RepositoryXO,
71
74
  RubyGemsGroupRepositoryApiRequest,
@@ -179,10 +182,16 @@ import {
179
182
  RHostedRepositoryApiRequestToJSON,
180
183
  RProxyRepositoryApiRequestFromJSON,
181
184
  RProxyRepositoryApiRequestToJSON,
185
+ RawGroupApiRepositoryFromJSON,
186
+ RawGroupApiRepositoryToJSON,
182
187
  RawGroupRepositoryApiRequestFromJSON,
183
188
  RawGroupRepositoryApiRequestToJSON,
189
+ RawHostedApiRepositoryFromJSON,
190
+ RawHostedApiRepositoryToJSON,
184
191
  RawHostedRepositoryApiRequestFromJSON,
185
192
  RawHostedRepositoryApiRequestToJSON,
193
+ RawProxyApiRepositoryFromJSON,
194
+ RawProxyApiRepositoryToJSON,
186
195
  RawProxyRepositoryApiRequestFromJSON,
187
196
  RawProxyRepositoryApiRequestToJSON,
188
197
  RepositoryXOFromJSON,
@@ -3723,7 +3732,7 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
3723
3732
  /**
3724
3733
  * Get repository
3725
3734
  */
3726
- async getRawGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetRawGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiGroupRepository>> {
3735
+ async getRawGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetRawGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RawGroupApiRepository>> {
3727
3736
  if (requestParameters['repositoryName'] == null) {
3728
3737
  throw new runtime.RequiredError(
3729
3738
  'repositoryName',
@@ -3745,13 +3754,13 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
3745
3754
  query: queryParameters,
3746
3755
  }, initOverrides);
3747
3756
 
3748
- return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
3757
+ return new runtime.JSONApiResponse(response, (jsonValue) => RawGroupApiRepositoryFromJSON(jsonValue));
3749
3758
  }
3750
3759
 
3751
3760
  /**
3752
3761
  * Get repository
3753
3762
  */
3754
- async getRawGroupRepository(requestParameters: RepositoryManagementApiGetRawGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiGroupRepository> {
3763
+ async getRawGroupRepository(requestParameters: RepositoryManagementApiGetRawGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RawGroupApiRepository> {
3755
3764
  const response = await this.getRawGroupRepositoryRaw(requestParameters, initOverrides);
3756
3765
  return await response.value();
3757
3766
  }
@@ -3759,7 +3768,7 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
3759
3768
  /**
3760
3769
  * Get repository
3761
3770
  */
3762
- async getRawHostedRepositoryRaw(requestParameters: RepositoryManagementApiGetRawHostedRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiHostedRepository>> {
3771
+ async getRawHostedRepositoryRaw(requestParameters: RepositoryManagementApiGetRawHostedRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RawHostedApiRepository>> {
3763
3772
  if (requestParameters['repositoryName'] == null) {
3764
3773
  throw new runtime.RequiredError(
3765
3774
  'repositoryName',
@@ -3781,13 +3790,13 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
3781
3790
  query: queryParameters,
3782
3791
  }, initOverrides);
3783
3792
 
3784
- return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
3793
+ return new runtime.JSONApiResponse(response, (jsonValue) => RawHostedApiRepositoryFromJSON(jsonValue));
3785
3794
  }
3786
3795
 
3787
3796
  /**
3788
3797
  * Get repository
3789
3798
  */
3790
- async getRawHostedRepository(requestParameters: RepositoryManagementApiGetRawHostedRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiHostedRepository> {
3799
+ async getRawHostedRepository(requestParameters: RepositoryManagementApiGetRawHostedRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RawHostedApiRepository> {
3791
3800
  const response = await this.getRawHostedRepositoryRaw(requestParameters, initOverrides);
3792
3801
  return await response.value();
3793
3802
  }
@@ -3795,7 +3804,7 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
3795
3804
  /**
3796
3805
  * Get repository
3797
3806
  */
3798
- async getRawProxyRepositoryRaw(requestParameters: RepositoryManagementApiGetRawProxyRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiProxyRepository>> {
3807
+ async getRawProxyRepositoryRaw(requestParameters: RepositoryManagementApiGetRawProxyRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RawProxyApiRepository>> {
3799
3808
  if (requestParameters['repositoryName'] == null) {
3800
3809
  throw new runtime.RequiredError(
3801
3810
  'repositoryName',
@@ -3817,13 +3826,13 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
3817
3826
  query: queryParameters,
3818
3827
  }, initOverrides);
3819
3828
 
3820
- return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
3829
+ return new runtime.JSONApiResponse(response, (jsonValue) => RawProxyApiRepositoryFromJSON(jsonValue));
3821
3830
  }
3822
3831
 
3823
3832
  /**
3824
3833
  * Get repository
3825
3834
  */
3826
- async getRawProxyRepository(requestParameters: RepositoryManagementApiGetRawProxyRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiProxyRepository> {
3835
+ async getRawProxyRepository(requestParameters: RepositoryManagementApiGetRawProxyRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RawProxyApiRepository> {
3827
3836
  const response = await this.getRawProxyRepositoryRaw(requestParameters, initOverrides);
3828
3837
  return await response.value();
3829
3838
  }
@@ -0,0 +1,151 @@
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.81.1-01.
6
+ *
7
+ * The version of the OpenAPI document: 3.81.1-01
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
+ import type { RawAttributes } from './RawAttributes';
17
+ import {
18
+ RawAttributesFromJSON,
19
+ RawAttributesFromJSONTyped,
20
+ RawAttributesToJSON,
21
+ RawAttributesToJSONTyped,
22
+ } from './RawAttributes';
23
+ import type { StorageAttributes } from './StorageAttributes';
24
+ import {
25
+ StorageAttributesFromJSON,
26
+ StorageAttributesFromJSONTyped,
27
+ StorageAttributesToJSON,
28
+ StorageAttributesToJSONTyped,
29
+ } from './StorageAttributes';
30
+ import type { GroupAttributes } from './GroupAttributes';
31
+ import {
32
+ GroupAttributesFromJSON,
33
+ GroupAttributesFromJSONTyped,
34
+ GroupAttributesToJSON,
35
+ GroupAttributesToJSONTyped,
36
+ } from './GroupAttributes';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface RawGroupApiRepository
42
+ */
43
+ export interface RawGroupApiRepository {
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof RawGroupApiRepository
48
+ */
49
+ format: string;
50
+ /**
51
+ *
52
+ * @type {GroupAttributes}
53
+ * @memberof RawGroupApiRepository
54
+ */
55
+ group: GroupAttributes;
56
+ /**
57
+ * A unique identifier for this repository
58
+ * @type {string}
59
+ * @memberof RawGroupApiRepository
60
+ */
61
+ name: string;
62
+ /**
63
+ * Whether this repository accepts incoming requests
64
+ * @type {boolean}
65
+ * @memberof RawGroupApiRepository
66
+ */
67
+ online: boolean;
68
+ /**
69
+ *
70
+ * @type {RawAttributes}
71
+ * @memberof RawGroupApiRepository
72
+ */
73
+ raw: RawAttributes;
74
+ /**
75
+ *
76
+ * @type {StorageAttributes}
77
+ * @memberof RawGroupApiRepository
78
+ */
79
+ storage: StorageAttributes;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof RawGroupApiRepository
84
+ */
85
+ type: string;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof RawGroupApiRepository
90
+ */
91
+ url: string;
92
+ }
93
+
94
+ /**
95
+ * Check if a given object implements the RawGroupApiRepository interface.
96
+ */
97
+ export function instanceOfRawGroupApiRepository(value: object): value is RawGroupApiRepository {
98
+ if (!('format' in value) || value['format'] === undefined) return false;
99
+ if (!('group' in value) || value['group'] === undefined) return false;
100
+ if (!('name' in value) || value['name'] === undefined) return false;
101
+ if (!('online' in value) || value['online'] === undefined) return false;
102
+ if (!('raw' in value) || value['raw'] === undefined) return false;
103
+ if (!('storage' in value) || value['storage'] === undefined) return false;
104
+ if (!('type' in value) || value['type'] === undefined) return false;
105
+ if (!('url' in value) || value['url'] === undefined) return false;
106
+ return true;
107
+ }
108
+
109
+ export function RawGroupApiRepositoryFromJSON(json: any): RawGroupApiRepository {
110
+ return RawGroupApiRepositoryFromJSONTyped(json, false);
111
+ }
112
+
113
+ export function RawGroupApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RawGroupApiRepository {
114
+ if (json == null) {
115
+ return json;
116
+ }
117
+ return {
118
+
119
+ 'format': json['format'],
120
+ 'group': GroupAttributesFromJSON(json['group']),
121
+ 'name': json['name'],
122
+ 'online': json['online'],
123
+ 'raw': RawAttributesFromJSON(json['raw']),
124
+ 'storage': StorageAttributesFromJSON(json['storage']),
125
+ 'type': json['type'],
126
+ 'url': json['url'],
127
+ };
128
+ }
129
+
130
+ export function RawGroupApiRepositoryToJSON(json: any): RawGroupApiRepository {
131
+ return RawGroupApiRepositoryToJSONTyped(json, false);
132
+ }
133
+
134
+ export function RawGroupApiRepositoryToJSONTyped(value?: RawGroupApiRepository | null, ignoreDiscriminator: boolean = false): any {
135
+ if (value == null) {
136
+ return value;
137
+ }
138
+
139
+ return {
140
+
141
+ 'format': value['format'],
142
+ 'group': GroupAttributesToJSON(value['group']),
143
+ 'name': value['name'],
144
+ 'online': value['online'],
145
+ 'raw': RawAttributesToJSON(value['raw']),
146
+ 'storage': StorageAttributesToJSON(value['storage']),
147
+ 'type': value['type'],
148
+ 'url': value['url'],
149
+ };
150
+ }
151
+
@@ -0,0 +1,165 @@
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.81.1-01.
6
+ *
7
+ * The version of the OpenAPI document: 3.81.1-01
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
+ import type { ComponentAttributes } from './ComponentAttributes';
17
+ import {
18
+ ComponentAttributesFromJSON,
19
+ ComponentAttributesFromJSONTyped,
20
+ ComponentAttributesToJSON,
21
+ ComponentAttributesToJSONTyped,
22
+ } from './ComponentAttributes';
23
+ import type { RawAttributes } from './RawAttributes';
24
+ import {
25
+ RawAttributesFromJSON,
26
+ RawAttributesFromJSONTyped,
27
+ RawAttributesToJSON,
28
+ RawAttributesToJSONTyped,
29
+ } from './RawAttributes';
30
+ import type { StorageAttributes } from './StorageAttributes';
31
+ import {
32
+ StorageAttributesFromJSON,
33
+ StorageAttributesFromJSONTyped,
34
+ StorageAttributesToJSON,
35
+ StorageAttributesToJSONTyped,
36
+ } from './StorageAttributes';
37
+ import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
38
+ import {
39
+ CleanupPolicyAttributesFromJSON,
40
+ CleanupPolicyAttributesFromJSONTyped,
41
+ CleanupPolicyAttributesToJSON,
42
+ CleanupPolicyAttributesToJSONTyped,
43
+ } from './CleanupPolicyAttributes';
44
+
45
+ /**
46
+ *
47
+ * @export
48
+ * @interface RawHostedApiRepository
49
+ */
50
+ export interface RawHostedApiRepository {
51
+ /**
52
+ *
53
+ * @type {CleanupPolicyAttributes}
54
+ * @memberof RawHostedApiRepository
55
+ */
56
+ cleanup?: CleanupPolicyAttributes;
57
+ /**
58
+ *
59
+ * @type {ComponentAttributes}
60
+ * @memberof RawHostedApiRepository
61
+ */
62
+ component?: ComponentAttributes;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof RawHostedApiRepository
67
+ */
68
+ format: string;
69
+ /**
70
+ * A unique identifier for this repository
71
+ * @type {string}
72
+ * @memberof RawHostedApiRepository
73
+ */
74
+ name: string;
75
+ /**
76
+ * Whether this repository accepts incoming requests
77
+ * @type {boolean}
78
+ * @memberof RawHostedApiRepository
79
+ */
80
+ online: boolean;
81
+ /**
82
+ *
83
+ * @type {RawAttributes}
84
+ * @memberof RawHostedApiRepository
85
+ */
86
+ raw: RawAttributes;
87
+ /**
88
+ *
89
+ * @type {StorageAttributes}
90
+ * @memberof RawHostedApiRepository
91
+ */
92
+ storage: StorageAttributes;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof RawHostedApiRepository
97
+ */
98
+ type: string;
99
+ /**
100
+ *
101
+ * @type {string}
102
+ * @memberof RawHostedApiRepository
103
+ */
104
+ url: string;
105
+ }
106
+
107
+ /**
108
+ * Check if a given object implements the RawHostedApiRepository interface.
109
+ */
110
+ export function instanceOfRawHostedApiRepository(value: object): value is RawHostedApiRepository {
111
+ if (!('format' in value) || value['format'] === undefined) return false;
112
+ if (!('name' in value) || value['name'] === undefined) return false;
113
+ if (!('online' in value) || value['online'] === undefined) return false;
114
+ if (!('raw' in value) || value['raw'] === undefined) return false;
115
+ if (!('storage' in value) || value['storage'] === undefined) return false;
116
+ if (!('type' in value) || value['type'] === undefined) return false;
117
+ if (!('url' in value) || value['url'] === undefined) return false;
118
+ return true;
119
+ }
120
+
121
+ export function RawHostedApiRepositoryFromJSON(json: any): RawHostedApiRepository {
122
+ return RawHostedApiRepositoryFromJSONTyped(json, false);
123
+ }
124
+
125
+ export function RawHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RawHostedApiRepository {
126
+ if (json == null) {
127
+ return json;
128
+ }
129
+ return {
130
+
131
+ 'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
132
+ 'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
133
+ 'format': json['format'],
134
+ 'name': json['name'],
135
+ 'online': json['online'],
136
+ 'raw': RawAttributesFromJSON(json['raw']),
137
+ 'storage': StorageAttributesFromJSON(json['storage']),
138
+ 'type': json['type'],
139
+ 'url': json['url'],
140
+ };
141
+ }
142
+
143
+ export function RawHostedApiRepositoryToJSON(json: any): RawHostedApiRepository {
144
+ return RawHostedApiRepositoryToJSONTyped(json, false);
145
+ }
146
+
147
+ export function RawHostedApiRepositoryToJSONTyped(value?: RawHostedApiRepository | null, ignoreDiscriminator: boolean = false): any {
148
+ if (value == null) {
149
+ return value;
150
+ }
151
+
152
+ return {
153
+
154
+ 'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
155
+ 'component': ComponentAttributesToJSON(value['component']),
156
+ 'format': value['format'],
157
+ 'name': value['name'],
158
+ 'online': value['online'],
159
+ 'raw': RawAttributesToJSON(value['raw']),
160
+ 'storage': StorageAttributesToJSON(value['storage']),
161
+ 'type': value['type'],
162
+ 'url': value['url'],
163
+ };
164
+ }
165
+
@@ -0,0 +1,221 @@
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.81.1-01.
6
+ *
7
+ * The version of the OpenAPI document: 3.81.1-01
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
+ import type { NegativeCacheAttributes } from './NegativeCacheAttributes';
17
+ import {
18
+ NegativeCacheAttributesFromJSON,
19
+ NegativeCacheAttributesFromJSONTyped,
20
+ NegativeCacheAttributesToJSON,
21
+ NegativeCacheAttributesToJSONTyped,
22
+ } from './NegativeCacheAttributes';
23
+ import type { ProxyAttributes } from './ProxyAttributes';
24
+ import {
25
+ ProxyAttributesFromJSON,
26
+ ProxyAttributesFromJSONTyped,
27
+ ProxyAttributesToJSON,
28
+ ProxyAttributesToJSONTyped,
29
+ } from './ProxyAttributes';
30
+ import type { RawAttributes } from './RawAttributes';
31
+ import {
32
+ RawAttributesFromJSON,
33
+ RawAttributesFromJSONTyped,
34
+ RawAttributesToJSON,
35
+ RawAttributesToJSONTyped,
36
+ } from './RawAttributes';
37
+ import type { StorageAttributes } from './StorageAttributes';
38
+ import {
39
+ StorageAttributesFromJSON,
40
+ StorageAttributesFromJSONTyped,
41
+ StorageAttributesToJSON,
42
+ StorageAttributesToJSONTyped,
43
+ } from './StorageAttributes';
44
+ import type { HttpClientAttributes } from './HttpClientAttributes';
45
+ import {
46
+ HttpClientAttributesFromJSON,
47
+ HttpClientAttributesFromJSONTyped,
48
+ HttpClientAttributesToJSON,
49
+ HttpClientAttributesToJSONTyped,
50
+ } from './HttpClientAttributes';
51
+ import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
52
+ import {
53
+ CleanupPolicyAttributesFromJSON,
54
+ CleanupPolicyAttributesFromJSONTyped,
55
+ CleanupPolicyAttributesToJSON,
56
+ CleanupPolicyAttributesToJSONTyped,
57
+ } from './CleanupPolicyAttributes';
58
+ import type { ReplicationAttributes } from './ReplicationAttributes';
59
+ import {
60
+ ReplicationAttributesFromJSON,
61
+ ReplicationAttributesFromJSONTyped,
62
+ ReplicationAttributesToJSON,
63
+ ReplicationAttributesToJSONTyped,
64
+ } from './ReplicationAttributes';
65
+
66
+ /**
67
+ *
68
+ * @export
69
+ * @interface RawProxyApiRepository
70
+ */
71
+ export interface RawProxyApiRepository {
72
+ /**
73
+ *
74
+ * @type {CleanupPolicyAttributes}
75
+ * @memberof RawProxyApiRepository
76
+ */
77
+ cleanup?: CleanupPolicyAttributes;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof RawProxyApiRepository
82
+ */
83
+ format: string;
84
+ /**
85
+ *
86
+ * @type {HttpClientAttributes}
87
+ * @memberof RawProxyApiRepository
88
+ */
89
+ httpClient: HttpClientAttributes;
90
+ /**
91
+ * A unique identifier for this repository
92
+ * @type {string}
93
+ * @memberof RawProxyApiRepository
94
+ */
95
+ name: string;
96
+ /**
97
+ *
98
+ * @type {NegativeCacheAttributes}
99
+ * @memberof RawProxyApiRepository
100
+ */
101
+ negativeCache: NegativeCacheAttributes;
102
+ /**
103
+ * Whether this repository accepts incoming requests
104
+ * @type {boolean}
105
+ * @memberof RawProxyApiRepository
106
+ */
107
+ online: boolean;
108
+ /**
109
+ *
110
+ * @type {ProxyAttributes}
111
+ * @memberof RawProxyApiRepository
112
+ */
113
+ proxy: ProxyAttributes;
114
+ /**
115
+ *
116
+ * @type {RawAttributes}
117
+ * @memberof RawProxyApiRepository
118
+ */
119
+ raw: RawAttributes;
120
+ /**
121
+ *
122
+ * @type {ReplicationAttributes}
123
+ * @memberof RawProxyApiRepository
124
+ */
125
+ replication?: ReplicationAttributes;
126
+ /**
127
+ *
128
+ * @type {string}
129
+ * @memberof RawProxyApiRepository
130
+ */
131
+ routingRuleName?: string;
132
+ /**
133
+ *
134
+ * @type {StorageAttributes}
135
+ * @memberof RawProxyApiRepository
136
+ */
137
+ storage: StorageAttributes;
138
+ /**
139
+ *
140
+ * @type {string}
141
+ * @memberof RawProxyApiRepository
142
+ */
143
+ type: string;
144
+ /**
145
+ *
146
+ * @type {string}
147
+ * @memberof RawProxyApiRepository
148
+ */
149
+ url: string;
150
+ }
151
+
152
+ /**
153
+ * Check if a given object implements the RawProxyApiRepository interface.
154
+ */
155
+ export function instanceOfRawProxyApiRepository(value: object): value is RawProxyApiRepository {
156
+ if (!('format' in value) || value['format'] === undefined) return false;
157
+ if (!('httpClient' in value) || value['httpClient'] === undefined) return false;
158
+ if (!('name' in value) || value['name'] === undefined) return false;
159
+ if (!('negativeCache' in value) || value['negativeCache'] === undefined) return false;
160
+ if (!('online' in value) || value['online'] === undefined) return false;
161
+ if (!('proxy' in value) || value['proxy'] === undefined) return false;
162
+ if (!('raw' in value) || value['raw'] === undefined) return false;
163
+ if (!('storage' in value) || value['storage'] === undefined) return false;
164
+ if (!('type' in value) || value['type'] === undefined) return false;
165
+ if (!('url' in value) || value['url'] === undefined) return false;
166
+ return true;
167
+ }
168
+
169
+ export function RawProxyApiRepositoryFromJSON(json: any): RawProxyApiRepository {
170
+ return RawProxyApiRepositoryFromJSONTyped(json, false);
171
+ }
172
+
173
+ export function RawProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RawProxyApiRepository {
174
+ if (json == null) {
175
+ return json;
176
+ }
177
+ return {
178
+
179
+ 'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
180
+ 'format': json['format'],
181
+ 'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
182
+ 'name': json['name'],
183
+ 'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
184
+ 'online': json['online'],
185
+ 'proxy': ProxyAttributesFromJSON(json['proxy']),
186
+ 'raw': RawAttributesFromJSON(json['raw']),
187
+ 'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
188
+ 'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
189
+ 'storage': StorageAttributesFromJSON(json['storage']),
190
+ 'type': json['type'],
191
+ 'url': json['url'],
192
+ };
193
+ }
194
+
195
+ export function RawProxyApiRepositoryToJSON(json: any): RawProxyApiRepository {
196
+ return RawProxyApiRepositoryToJSONTyped(json, false);
197
+ }
198
+
199
+ export function RawProxyApiRepositoryToJSONTyped(value?: RawProxyApiRepository | null, ignoreDiscriminator: boolean = false): any {
200
+ if (value == null) {
201
+ return value;
202
+ }
203
+
204
+ return {
205
+
206
+ 'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
207
+ 'format': value['format'],
208
+ 'httpClient': HttpClientAttributesToJSON(value['httpClient']),
209
+ 'name': value['name'],
210
+ 'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
211
+ 'online': value['online'],
212
+ 'proxy': ProxyAttributesToJSON(value['proxy']),
213
+ 'raw': RawAttributesToJSON(value['raw']),
214
+ 'replication': ReplicationAttributesToJSON(value['replication']),
215
+ 'routingRuleName': value['routingRuleName'],
216
+ 'storage': StorageAttributesToJSON(value['storage']),
217
+ 'type': value['type'],
218
+ 'url': value['url'],
219
+ };
220
+ }
221
+
@@ -133,8 +133,11 @@ export * from './RGroupRepositoryApiRequest';
133
133
  export * from './RHostedRepositoryApiRequest';
134
134
  export * from './RProxyRepositoryApiRequest';
135
135
  export * from './RawAttributes';
136
+ export * from './RawGroupApiRepository';
136
137
  export * from './RawGroupRepositoryApiRequest';
138
+ export * from './RawHostedApiRepository';
137
139
  export * from './RawHostedRepositoryApiRequest';
140
+ export * from './RawProxyApiRepository';
138
141
  export * from './RawProxyRepositoryApiRequest';
139
142
  export * from './ReEncryptionRequestApiXO';
140
143
  export * from './ReadLdapServerXo';