@sonatype/nexus-repo-api-client 3.81.1 → 3.81.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/.openapi-generator/VERSION +1 -1
- package/dist/esm/runtime.d.ts +4 -1
- package/dist/esm/runtime.js +9 -1
- package/dist/runtime.d.ts +4 -1
- package/dist/runtime.js +10 -1
- package/package.json +1 -1
- package/src/models/AbstractApiRepository.ts +4 -4
- package/src/models/AnonymousAccessSettingsXO.ts +4 -4
- package/src/models/ApiCertificate.ts +4 -4
- package/src/models/ApiCreateUser.ts +4 -4
- package/src/models/ApiEmailConfiguration.ts +4 -4
- package/src/models/ApiEmailValidation.ts +4 -4
- package/src/models/ApiLicenseDetailsXO.ts +4 -4
- package/src/models/ApiPrivilege.ts +4 -4
- package/src/models/ApiPrivilegeApplicationRequest.ts +4 -4
- package/src/models/ApiPrivilegeRepositoryAdminRequest.ts +4 -4
- package/src/models/ApiPrivilegeRepositoryContentSelectorRequest.ts +4 -4
- package/src/models/ApiPrivilegeRepositoryViewRequest.ts +4 -4
- package/src/models/ApiPrivilegeScriptRequest.ts +4 -4
- package/src/models/ApiPrivilegeWildcardRequest.ts +4 -4
- package/src/models/ApiUser.ts +4 -4
- package/src/models/ApiUserSource.ts +4 -4
- package/src/models/AptHostedApiRepository.ts +4 -4
- package/src/models/AptHostedRepositoriesAttributes.ts +4 -4
- package/src/models/AptHostedRepositoryApiRequest.ts +4 -4
- package/src/models/AptProxyApiRepository.ts +4 -4
- package/src/models/AptProxyRepositoriesAttributes.ts +4 -4
- package/src/models/AptProxyRepositoryApiRequest.ts +4 -4
- package/src/models/AptSigningRepositoriesAttributes.ts +4 -4
- package/src/models/AssetXO.ts +4 -4
- package/src/models/AuthSettingsXo.ts +4 -4
- package/src/models/AzureBlobStoreApiAuthentication.ts +4 -4
- package/src/models/AzureBlobStoreApiBucketConfiguration.ts +4 -4
- package/src/models/AzureBlobStoreApiModel.ts +4 -4
- package/src/models/AzureConnectionXO.ts +4 -4
- package/src/models/BaseTagXO.ts +4 -4
- package/src/models/BlobStoreApiSoftQuota.ts +4 -4
- package/src/models/BlobStoreQuotaResultXO.ts +4 -4
- package/src/models/CargoAttributes.ts +4 -4
- package/src/models/CargoGroupApiRepository.ts +4 -4
- package/src/models/CargoGroupRepositoryApiRequest.ts +4 -4
- package/src/models/CargoHostedRepositoryApiRequest.ts +4 -4
- package/src/models/CargoProxyApiRepository.ts +4 -4
- package/src/models/CargoProxyRepositoryApiRequest.ts +4 -4
- package/src/models/CleanupPolicyAttributes.ts +4 -4
- package/src/models/CleanupPolicyResourceXO.ts +4 -4
- package/src/models/CocoapodsProxyRepositoryApiRequest.ts +4 -4
- package/src/models/ComponentAttributes.ts +4 -4
- package/src/models/ComponentXO.ts +4 -4
- package/src/models/ComposerProxyRepositoryApiRequest.ts +4 -4
- package/src/models/ConanGroupRepositoryApiRequest.ts +4 -4
- package/src/models/ConanHostedRepositoryApiRequest.ts +4 -4
- package/src/models/ConanProxyAttributes.ts +4 -4
- package/src/models/ConanProxyRepositoryApiRequest.ts +4 -4
- package/src/models/CondaProxyRepositoryApiRequest.ts +4 -4
- package/src/models/ContentSelectorApiCreateRequest.ts +4 -4
- package/src/models/ContentSelectorApiResponse.ts +4 -4
- package/src/models/ContentSelectorApiUpdateRequest.ts +4 -4
- package/src/models/CreateLdapServerXo.ts +4 -4
- package/src/models/CrowdApiXO.ts +4 -4
- package/src/models/DockerAttributes.ts +4 -4
- package/src/models/DockerGroupApiRepository.ts +4 -4
- package/src/models/DockerGroupRepositoryApiRequest.ts +4 -4
- package/src/models/DockerHostedApiRepository.ts +4 -4
- package/src/models/DockerHostedRepositoryApiRequest.ts +4 -4
- package/src/models/DockerHostedStorageAttributes.ts +4 -4
- package/src/models/DockerProxyApiRepository.ts +4 -4
- package/src/models/DockerProxyAttributes.ts +4 -4
- package/src/models/DockerProxyRepositoryApiRequest.ts +4 -4
- package/src/models/EulaStatus.ts +4 -4
- package/src/models/FileBlobStoreApiCreateRequest.ts +4 -4
- package/src/models/FileBlobStoreApiModel.ts +4 -4
- package/src/models/FileBlobStoreApiUpdateRequest.ts +4 -4
- package/src/models/FrequencyXO.ts +4 -4
- package/src/models/GenericBlobStoreApiResponse.ts +4 -4
- package/src/models/GitLfsHostedRepositoryApiRequest.ts +4 -4
- package/src/models/GolangGroupRepositoryApiRequest.ts +4 -4
- package/src/models/GolangProxyRepositoryApiRequest.ts +4 -4
- package/src/models/GoogleCloudBlobStoreApiBucket.ts +4 -4
- package/src/models/GoogleCloudBlobStoreApiBucketAuthentication.ts +4 -4
- package/src/models/GoogleCloudBlobStoreApiBucketConfiguration.ts +4 -4
- package/src/models/GoogleCloudBlobStoreApiEncryption.ts +4 -4
- package/src/models/GoogleCloudBlobstoreApiModel.ts +4 -4
- package/src/models/GroupAttributes.ts +4 -4
- package/src/models/GroupBlobStoreApiCreateRequest.ts +4 -4
- package/src/models/GroupBlobStoreApiModel.ts +4 -4
- package/src/models/GroupBlobStoreApiResponse.ts +4 -4
- package/src/models/GroupBlobStoreApiUpdateRequest.ts +4 -4
- package/src/models/GroupDeployAttributes.ts +4 -4
- package/src/models/HelmHostedRepositoryApiRequest.ts +4 -4
- package/src/models/HelmProxyRepositoryApiRequest.ts +4 -4
- package/src/models/HostedStorageAttributes.ts +4 -4
- package/src/models/HttpClientAttributes.ts +4 -4
- package/src/models/HttpClientAttributesWithPreemptiveAuth.ts +4 -4
- package/src/models/HttpClientConnectionAttributes.ts +4 -4
- package/src/models/HttpClientConnectionAuthenticationAttributes.ts +4 -4
- package/src/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.ts +4 -4
- package/src/models/HttpSettingsXo.ts +4 -4
- package/src/models/HuggingFaceProxyRepositoryApiRequest.ts +4 -4
- package/src/models/IqAuditXo.ts +4 -4
- package/src/models/IqConnectionVerificationXo.ts +4 -4
- package/src/models/IqConnectionXo.ts +4 -4
- package/src/models/MaliciousRiskOnDiskCountResponse.ts +4 -4
- package/src/models/MavenAttributes.ts +4 -4
- package/src/models/MavenGroupRepositoryApiRequest.ts +4 -4
- package/src/models/MavenHostedApiRepository.ts +4 -4
- package/src/models/MavenHostedRepositoryApiRequest.ts +4 -4
- package/src/models/MavenProxyApiRepository.ts +4 -4
- package/src/models/MavenProxyRepositoryApiRequest.ts +4 -4
- package/src/models/NegativeCacheAttributes.ts +4 -4
- package/src/models/NodeInformation.ts +4 -4
- package/src/models/NpmAttributes.ts +4 -4
- package/src/models/NpmGroupRepositoryApiRequest.ts +4 -4
- package/src/models/NpmHostedRepositoryApiRequest.ts +4 -4
- package/src/models/NpmProxyApiRepository.ts +4 -4
- package/src/models/NpmProxyRepositoryApiRequest.ts +4 -4
- package/src/models/NugetAttributes.ts +4 -4
- package/src/models/NugetGroupRepositoryApiRequest.ts +4 -4
- package/src/models/NugetHostedRepositoryApiRequest.ts +4 -4
- package/src/models/NugetProxyApiRepository.ts +4 -4
- package/src/models/NugetProxyRepositoryApiRequest.ts +4 -4
- package/src/models/P2ProxyRepositoryApiRequest.ts +4 -4
- package/src/models/Page.ts +4 -4
- package/src/models/PageAssetXO.ts +4 -4
- package/src/models/PageComponentXO.ts +4 -4
- package/src/models/PageTagXO.ts +4 -4
- package/src/models/PageTaskXO.ts +4 -4
- package/src/models/ProxyAttributes.ts +4 -4
- package/src/models/ProxySettingsXo.ts +4 -4
- package/src/models/PyPiProxyAttributes.ts +4 -4
- package/src/models/PypiGroupRepositoryApiRequest.ts +4 -4
- package/src/models/PypiHostedRepositoryApiRequest.ts +4 -4
- package/src/models/PypiProxyRepositoryApiRequest.ts +4 -4
- package/src/models/RGroupRepositoryApiRequest.ts +4 -4
- package/src/models/RHostedRepositoryApiRequest.ts +4 -4
- package/src/models/RProxyRepositoryApiRequest.ts +4 -4
- package/src/models/RawAttributes.ts +4 -4
- package/src/models/RawGroupRepositoryApiRequest.ts +4 -4
- package/src/models/RawHostedRepositoryApiRequest.ts +4 -4
- package/src/models/RawProxyRepositoryApiRequest.ts +4 -4
- package/src/models/ReEncryptionRequestApiXO.ts +4 -4
- package/src/models/ReadLdapServerXo.ts +4 -4
- package/src/models/ReadOnlyState.ts +4 -4
- package/src/models/RealmApiXO.ts +4 -4
- package/src/models/ReplicationAttributes.ts +4 -4
- package/src/models/RepositoryXO.ts +4 -4
- package/src/models/Result.ts +4 -4
- package/src/models/RoleXORequest.ts +4 -4
- package/src/models/RoleXOResponse.ts +4 -4
- package/src/models/RoutingRuleXO.ts +4 -4
- package/src/models/RubyGemsGroupRepositoryApiRequest.ts +4 -4
- package/src/models/RubyGemsHostedRepositoryApiRequest.ts +4 -4
- package/src/models/RubyGemsProxyRepositoryApiRequest.ts +4 -4
- package/src/models/S3BlobStoreApiAdvancedBucketConnection.ts +4 -4
- package/src/models/S3BlobStoreApiBucket.ts +4 -4
- package/src/models/S3BlobStoreApiBucketConfiguration.ts +4 -4
- package/src/models/S3BlobStoreApiBucketSecurity.ts +4 -4
- package/src/models/S3BlobStoreApiEncryption.ts +4 -4
- package/src/models/S3BlobStoreApiFailoverBucket.ts +4 -4
- package/src/models/S3BlobStoreApiModel.ts +4 -4
- package/src/models/SamlConfigurationXO.ts +4 -4
- package/src/models/ScriptResultXO.ts +4 -4
- package/src/models/ScriptXO.ts +4 -4
- package/src/models/SimpleApiGroupDeployRepository.ts +4 -4
- package/src/models/SimpleApiGroupRepository.ts +4 -4
- package/src/models/SimpleApiHostedRepository.ts +4 -4
- package/src/models/SimpleApiProxyRepository.ts +4 -4
- package/src/models/StackTraceElement.ts +4 -4
- package/src/models/StorageAttributes.ts +4 -4
- package/src/models/SupportZipGeneratorRequest.ts +4 -4
- package/src/models/SupportZipXO.ts +4 -4
- package/src/models/SystemCheckResultDTO.ts +4 -4
- package/src/models/SystemCheckResultsApiDTO.ts +4 -4
- package/src/models/TagXO.ts +4 -4
- package/src/models/TaskTemplateXO.ts +4 -4
- package/src/models/TaskXO.ts +4 -4
- package/src/models/Throwable.ts +4 -4
- package/src/models/UpdateLdapServerXo.ts +4 -4
- package/src/models/UploadComponentRequest.ts +4 -4
- package/src/models/UploadDefinitionXO.ts +4 -4
- package/src/models/UploadFieldDefinitionXO.ts +4 -4
- package/src/models/UserTokensApiModel.ts +4 -4
- package/src/models/YumAttributes.ts +4 -4
- package/src/models/YumGroupRepositoryApiRequest.ts +4 -4
- package/src/models/YumHostedApiRepository.ts +4 -4
- package/src/models/YumHostedRepositoryApiRequest.ts +4 -4
- package/src/models/YumProxyRepositoryApiRequest.ts +4 -4
- package/src/models/YumSigningRepositoriesAttributes.ts +4 -4
- package/src/runtime.ts +10 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.13.0
|
package/dist/esm/runtime.d.ts
CHANGED
|
@@ -123,7 +123,10 @@ export interface RequestOpts {
|
|
|
123
123
|
body?: HTTPBody;
|
|
124
124
|
}
|
|
125
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
-
export declare function
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
127
130
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
128
131
|
export interface Consume {
|
|
129
132
|
contentType: string;
|
package/dist/esm/runtime.js
CHANGED
|
@@ -270,8 +270,16 @@ function querystringSingleKey(key, value, keyPrefix = '') {
|
|
|
270
270
|
}
|
|
271
271
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
272
272
|
}
|
|
273
|
+
export function exists(json, key) {
|
|
274
|
+
const value = json[key];
|
|
275
|
+
return value !== null && value !== undefined;
|
|
276
|
+
}
|
|
273
277
|
export function mapValues(data, fn) {
|
|
274
|
-
|
|
278
|
+
const result = {};
|
|
279
|
+
for (const key of Object.keys(data)) {
|
|
280
|
+
result[key] = fn(data[key]);
|
|
281
|
+
}
|
|
282
|
+
return result;
|
|
275
283
|
}
|
|
276
284
|
export function canConsumeForm(consumes) {
|
|
277
285
|
for (const consume of consumes) {
|
package/dist/runtime.d.ts
CHANGED
|
@@ -123,7 +123,10 @@ export interface RequestOpts {
|
|
|
123
123
|
body?: HTTPBody;
|
|
124
124
|
}
|
|
125
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
-
export declare function
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
127
130
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
128
131
|
export interface Consume {
|
|
129
132
|
contentType: string;
|
package/dist/runtime.js
CHANGED
|
@@ -24,6 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
|
|
26
26
|
exports.querystring = querystring;
|
|
27
|
+
exports.exists = exists;
|
|
27
28
|
exports.mapValues = mapValues;
|
|
28
29
|
exports.canConsumeForm = canConsumeForm;
|
|
29
30
|
exports.BASE_PATH = "http://localhost/service/rest".replace(/\/+$/, "");
|
|
@@ -281,8 +282,16 @@ function querystringSingleKey(key, value, keyPrefix = '') {
|
|
|
281
282
|
}
|
|
282
283
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
283
284
|
}
|
|
285
|
+
function exists(json, key) {
|
|
286
|
+
const value = json[key];
|
|
287
|
+
return value !== null && value !== undefined;
|
|
288
|
+
}
|
|
284
289
|
function mapValues(data, fn) {
|
|
285
|
-
|
|
290
|
+
const result = {};
|
|
291
|
+
for (const key of Object.keys(data)) {
|
|
292
|
+
result[key] = fn(data[key]);
|
|
293
|
+
}
|
|
294
|
+
return result;
|
|
286
295
|
}
|
|
287
296
|
function canConsumeForm(consumes) {
|
|
288
297
|
for (const consume of consumes) {
|
package/package.json
CHANGED
|
@@ -89,11 +89,11 @@ export function AbstractApiRepositoryFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
export function AbstractApiRepositoryToJSON(json: any): AbstractApiRepository {
|
|
93
|
+
return AbstractApiRepositoryToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
export function AbstractApiRepositoryToJSONTyped(value?: AbstractApiRepository | null, ignoreDiscriminator: boolean = false): any {
|
|
97
97
|
if (value == null) {
|
|
98
98
|
return value;
|
|
99
99
|
}
|
|
@@ -62,11 +62,11 @@ export function AnonymousAccessSettingsXOFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
export function AnonymousAccessSettingsXOToJSON(json: any): AnonymousAccessSettingsXO {
|
|
66
|
+
return AnonymousAccessSettingsXOToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
export function AnonymousAccessSettingsXOToJSONTyped(value?: AnonymousAccessSettingsXO | null, ignoreDiscriminator: boolean = false): any {
|
|
70
70
|
if (value == null) {
|
|
71
71
|
return value;
|
|
72
72
|
}
|
|
@@ -125,11 +125,11 @@ export function ApiCertificateFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
export function ApiCertificateToJSON(json: any): ApiCertificate {
|
|
129
|
+
return ApiCertificateToJSONTyped(json, false);
|
|
130
|
+
}
|
|
131
131
|
|
|
132
|
-
|
|
132
|
+
export function ApiCertificateToJSONTyped(value?: ApiCertificate | null, ignoreDiscriminator: boolean = false): any {
|
|
133
133
|
if (value == null) {
|
|
134
134
|
return value;
|
|
135
135
|
}
|
|
@@ -104,11 +104,11 @@ export function ApiCreateUserFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
export function ApiCreateUserToJSON(json: any): ApiCreateUser {
|
|
108
|
+
return ApiCreateUserToJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
export function ApiCreateUserToJSONTyped(value?: ApiCreateUser | null, ignoreDiscriminator: boolean = false): any {
|
|
112
112
|
if (value == null) {
|
|
113
113
|
return value;
|
|
114
114
|
}
|
|
@@ -126,11 +126,11 @@ export function ApiEmailConfigurationFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
export function ApiEmailConfigurationToJSON(json: any): ApiEmailConfiguration {
|
|
130
|
+
return ApiEmailConfigurationToJSONTyped(json, false);
|
|
131
|
+
}
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
export function ApiEmailConfigurationToJSONTyped(value?: ApiEmailConfiguration | null, ignoreDiscriminator: boolean = false): any {
|
|
134
134
|
if (value == null) {
|
|
135
135
|
return value;
|
|
136
136
|
}
|
|
@@ -55,11 +55,11 @@ export function ApiEmailValidationFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
export function ApiEmailValidationToJSON(json: any): ApiEmailValidation {
|
|
59
|
+
return ApiEmailValidationToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
export function ApiEmailValidationToJSONTyped(value?: ApiEmailValidation | null, ignoreDiscriminator: boolean = false): any {
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
65
65
|
}
|
|
@@ -118,11 +118,11 @@ export function ApiLicenseDetailsXOFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
export function ApiLicenseDetailsXOToJSON(json: any): ApiLicenseDetailsXO {
|
|
122
|
+
return ApiLicenseDetailsXOToJSONTyped(json, false);
|
|
123
|
+
}
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
export function ApiLicenseDetailsXOToJSONTyped(value?: ApiLicenseDetailsXO | null, ignoreDiscriminator: boolean = false): any {
|
|
126
126
|
if (value == null) {
|
|
127
127
|
return value;
|
|
128
128
|
}
|
|
@@ -69,11 +69,11 @@ export function ApiPrivilegeFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
export function ApiPrivilegeToJSON(json: any): ApiPrivilege {
|
|
73
|
+
return ApiPrivilegeToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
export function ApiPrivilegeToJSONTyped(value?: ApiPrivilege | null, ignoreDiscriminator: boolean = false): any {
|
|
77
77
|
if (value == null) {
|
|
78
78
|
return value;
|
|
79
79
|
}
|
|
@@ -89,11 +89,11 @@ export function ApiPrivilegeApplicationRequestFromJSONTyped(json: any, ignoreDis
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
export function ApiPrivilegeApplicationRequestToJSON(json: any): ApiPrivilegeApplicationRequest {
|
|
93
|
+
return ApiPrivilegeApplicationRequestToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
export function ApiPrivilegeApplicationRequestToJSONTyped(value?: ApiPrivilegeApplicationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
97
97
|
if (value == null) {
|
|
98
98
|
return value;
|
|
99
99
|
}
|
|
@@ -96,11 +96,11 @@ export function ApiPrivilegeRepositoryAdminRequestFromJSONTyped(json: any, ignor
|
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
export function ApiPrivilegeRepositoryAdminRequestToJSON(json: any): ApiPrivilegeRepositoryAdminRequest {
|
|
100
|
+
return ApiPrivilegeRepositoryAdminRequestToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
export function ApiPrivilegeRepositoryAdminRequestToJSONTyped(value?: ApiPrivilegeRepositoryAdminRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
104
104
|
if (value == null) {
|
|
105
105
|
return value;
|
|
106
106
|
}
|
|
@@ -103,11 +103,11 @@ export function ApiPrivilegeRepositoryContentSelectorRequestFromJSONTyped(json:
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
export function ApiPrivilegeRepositoryContentSelectorRequestToJSON(json: any): ApiPrivilegeRepositoryContentSelectorRequest {
|
|
107
|
+
return ApiPrivilegeRepositoryContentSelectorRequestToJSONTyped(json, false);
|
|
108
|
+
}
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
export function ApiPrivilegeRepositoryContentSelectorRequestToJSONTyped(value?: ApiPrivilegeRepositoryContentSelectorRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
111
111
|
if (value == null) {
|
|
112
112
|
return value;
|
|
113
113
|
}
|
|
@@ -96,11 +96,11 @@ export function ApiPrivilegeRepositoryViewRequestFromJSONTyped(json: any, ignore
|
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
export function ApiPrivilegeRepositoryViewRequestToJSON(json: any): ApiPrivilegeRepositoryViewRequest {
|
|
100
|
+
return ApiPrivilegeRepositoryViewRequestToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
export function ApiPrivilegeRepositoryViewRequestToJSONTyped(value?: ApiPrivilegeRepositoryViewRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
104
104
|
if (value == null) {
|
|
105
105
|
return value;
|
|
106
106
|
}
|
|
@@ -89,11 +89,11 @@ export function ApiPrivilegeScriptRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
export function ApiPrivilegeScriptRequestToJSON(json: any): ApiPrivilegeScriptRequest {
|
|
93
|
+
return ApiPrivilegeScriptRequestToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
export function ApiPrivilegeScriptRequestToJSONTyped(value?: ApiPrivilegeScriptRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
97
97
|
if (value == null) {
|
|
98
98
|
return value;
|
|
99
99
|
}
|
|
@@ -62,11 +62,11 @@ export function ApiPrivilegeWildcardRequestFromJSONTyped(json: any, ignoreDiscri
|
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
export function ApiPrivilegeWildcardRequestToJSON(json: any): ApiPrivilegeWildcardRequest {
|
|
66
|
+
return ApiPrivilegeWildcardRequestToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
export function ApiPrivilegeWildcardRequestToJSONTyped(value?: ApiPrivilegeWildcardRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
70
70
|
if (value == null) {
|
|
71
71
|
return value;
|
|
72
72
|
}
|
package/src/models/ApiUser.ts
CHANGED
|
@@ -118,11 +118,11 @@ export function ApiUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
|
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
export function ApiUserToJSON(json: any): ApiUser {
|
|
122
|
+
return ApiUserToJSONTyped(json, false);
|
|
123
|
+
}
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
export function ApiUserToJSONTyped(value?: ApiUser | null, ignoreDiscriminator: boolean = false): any {
|
|
126
126
|
if (value == null) {
|
|
127
127
|
return value;
|
|
128
128
|
}
|
|
@@ -55,11 +55,11 @@ export function ApiUserSourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
export function ApiUserSourceToJSON(json: any): ApiUserSource {
|
|
59
|
+
return ApiUserSourceToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
export function ApiUserSourceToJSONTyped(value?: ApiUserSource | null, ignoreDiscriminator: boolean = false): any {
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
65
65
|
}
|
|
@@ -130,11 +130,11 @@ export function AptHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
export function AptHostedApiRepositoryToJSON(json: any): AptHostedApiRepository {
|
|
134
|
+
return AptHostedApiRepositoryToJSONTyped(json, false);
|
|
135
|
+
}
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
export function AptHostedApiRepositoryToJSONTyped(value?: AptHostedApiRepository | null, ignoreDiscriminator: boolean = false): any {
|
|
138
138
|
if (value == null) {
|
|
139
139
|
return value;
|
|
140
140
|
}
|
|
@@ -48,11 +48,11 @@ export function AptHostedRepositoriesAttributesFromJSONTyped(json: any, ignoreDi
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
export function AptHostedRepositoriesAttributesToJSON(json: any): AptHostedRepositoriesAttributes {
|
|
52
|
+
return AptHostedRepositoriesAttributesToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
export function AptHostedRepositoriesAttributesToJSONTyped(value?: AptHostedRepositoriesAttributes | null, ignoreDiscriminator: boolean = false): any {
|
|
56
56
|
if (value == null) {
|
|
57
57
|
return value;
|
|
58
58
|
}
|
|
@@ -131,11 +131,11 @@ export function AptHostedRepositoryApiRequestFromJSONTyped(json: any, ignoreDisc
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
export function AptHostedRepositoryApiRequestToJSON(json: any): AptHostedRepositoryApiRequest {
|
|
135
|
+
return AptHostedRepositoryApiRequestToJSONTyped(json, false);
|
|
136
|
+
}
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
export function AptHostedRepositoryApiRequestToJSONTyped(value?: AptHostedRepositoryApiRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
139
139
|
if (value == null) {
|
|
140
140
|
return value;
|
|
141
141
|
}
|
|
@@ -167,11 +167,11 @@ export function AptProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
export function AptProxyApiRepositoryToJSON(json: any): AptProxyApiRepository {
|
|
171
|
+
return AptProxyApiRepositoryToJSONTyped(json, false);
|
|
172
|
+
}
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
export function AptProxyApiRepositoryToJSONTyped(value?: AptProxyApiRepository | null, ignoreDiscriminator: boolean = false): any {
|
|
175
175
|
if (value == null) {
|
|
176
176
|
return value;
|
|
177
177
|
}
|
|
@@ -55,11 +55,11 @@ export function AptProxyRepositoriesAttributesFromJSONTyped(json: any, ignoreDis
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
export function AptProxyRepositoriesAttributesToJSON(json: any): AptProxyRepositoriesAttributes {
|
|
59
|
+
return AptProxyRepositoriesAttributesToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
export function AptProxyRepositoriesAttributesToJSONTyped(value?: AptProxyRepositoriesAttributes | null, ignoreDiscriminator: boolean = false): any {
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
65
65
|
}
|
|
@@ -168,11 +168,11 @@ export function AptProxyRepositoryApiRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
export function AptProxyRepositoryApiRequestToJSON(json: any): AptProxyRepositoryApiRequest {
|
|
172
|
+
return AptProxyRepositoryApiRequestToJSONTyped(json, false);
|
|
173
|
+
}
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
export function AptProxyRepositoryApiRequestToJSONTyped(value?: AptProxyRepositoryApiRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
176
176
|
if (value == null) {
|
|
177
177
|
return value;
|
|
178
178
|
}
|
|
@@ -55,11 +55,11 @@ export function AptSigningRepositoriesAttributesFromJSONTyped(json: any, ignoreD
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
export function AptSigningRepositoriesAttributesToJSON(json: any): AptSigningRepositoriesAttributes {
|
|
59
|
+
return AptSigningRepositoriesAttributesToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
export function AptSigningRepositoriesAttributesToJSONTyped(value?: AptSigningRepositoriesAttributes | null, ignoreDiscriminator: boolean = false): any {
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
65
65
|
}
|
package/src/models/AssetXO.ts
CHANGED
|
@@ -139,11 +139,11 @@ export function AssetXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
|
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
export function AssetXOToJSON(json: any): AssetXO {
|
|
143
|
+
return AssetXOToJSONTyped(json, false);
|
|
144
|
+
}
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
export function AssetXOToJSONTyped(value?: AssetXO | null, ignoreDiscriminator: boolean = false): any {
|
|
147
147
|
if (value == null) {
|
|
148
148
|
return value;
|
|
149
149
|
}
|
|
@@ -81,11 +81,11 @@ export function AuthSettingsXoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
export function AuthSettingsXoToJSON(json: any): AuthSettingsXo {
|
|
85
|
+
return AuthSettingsXoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
export function AuthSettingsXoToJSONTyped(value?: AuthSettingsXo | null, ignoreDiscriminator: boolean = false): any {
|
|
89
89
|
if (value == null) {
|
|
90
90
|
return value;
|
|
91
91
|
}
|
|
@@ -68,11 +68,11 @@ export function AzureBlobStoreApiAuthenticationFromJSONTyped(json: any, ignoreDi
|
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
export function AzureBlobStoreApiAuthenticationToJSON(json: any): AzureBlobStoreApiAuthentication {
|
|
72
|
+
return AzureBlobStoreApiAuthenticationToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
export function AzureBlobStoreApiAuthenticationToJSONTyped(value?: AzureBlobStoreApiAuthentication | null, ignoreDiscriminator: boolean = false): any {
|
|
76
76
|
if (value == null) {
|
|
77
77
|
return value;
|
|
78
78
|
}
|
|
@@ -73,11 +73,11 @@ export function AzureBlobStoreApiBucketConfigurationFromJSONTyped(json: any, ign
|
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
export function AzureBlobStoreApiBucketConfigurationToJSON(json: any): AzureBlobStoreApiBucketConfiguration {
|
|
77
|
+
return AzureBlobStoreApiBucketConfigurationToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
export function AzureBlobStoreApiBucketConfigurationToJSONTyped(value?: AzureBlobStoreApiBucketConfiguration | null, ignoreDiscriminator: boolean = false): any {
|
|
81
81
|
if (value == null) {
|
|
82
82
|
return value;
|
|
83
83
|
}
|
|
@@ -79,11 +79,11 @@ export function AzureBlobStoreApiModelFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
export function AzureBlobStoreApiModelToJSON(json: any): AzureBlobStoreApiModel {
|
|
83
|
+
return AzureBlobStoreApiModelToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
export function AzureBlobStoreApiModelToJSONTyped(value?: AzureBlobStoreApiModel | null, ignoreDiscriminator: boolean = false): any {
|
|
87
87
|
if (value == null) {
|
|
88
88
|
return value;
|
|
89
89
|
}
|
|
@@ -69,11 +69,11 @@ export function AzureConnectionXOFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
export function AzureConnectionXOToJSON(json: any): AzureConnectionXO {
|
|
73
|
+
return AzureConnectionXOToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
export function AzureConnectionXOToJSONTyped(value?: AzureConnectionXO | null, ignoreDiscriminator: boolean = false): any {
|
|
77
77
|
if (value == null) {
|
|
78
78
|
return value;
|
|
79
79
|
}
|
package/src/models/BaseTagXO.ts
CHANGED
|
@@ -48,11 +48,11 @@ export function BaseTagXOFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
export function BaseTagXOToJSON(json: any): BaseTagXO {
|
|
52
|
+
return BaseTagXOToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
export function BaseTagXOToJSONTyped(value?: BaseTagXO | null, ignoreDiscriminator: boolean = false): any {
|
|
56
56
|
if (value == null) {
|
|
57
57
|
return value;
|
|
58
58
|
}
|
|
@@ -66,11 +66,11 @@ export function BlobStoreApiSoftQuotaFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
export function BlobStoreApiSoftQuotaToJSON(json: any): BlobStoreApiSoftQuota {
|
|
70
|
+
return BlobStoreApiSoftQuotaToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
export function BlobStoreApiSoftQuotaToJSONTyped(value?: BlobStoreApiSoftQuota | null, ignoreDiscriminator: boolean = false): any {
|
|
74
74
|
if (value == null) {
|
|
75
75
|
return value;
|
|
76
76
|
}
|
|
@@ -62,11 +62,11 @@ export function BlobStoreQuotaResultXOFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
export function BlobStoreQuotaResultXOToJSON(json: any): BlobStoreQuotaResultXO {
|
|
66
|
+
return BlobStoreQuotaResultXOToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
export function BlobStoreQuotaResultXOToJSONTyped(value?: BlobStoreQuotaResultXO | null, ignoreDiscriminator: boolean = false): any {
|
|
70
70
|
if (value == null) {
|
|
71
71
|
return value;
|
|
72
72
|
}
|