@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.
Files changed (189) hide show
  1. package/.openapi-generator/VERSION +1 -1
  2. package/dist/esm/runtime.d.ts +4 -1
  3. package/dist/esm/runtime.js +9 -1
  4. package/dist/runtime.d.ts +4 -1
  5. package/dist/runtime.js +10 -1
  6. package/package.json +1 -1
  7. package/src/models/AbstractApiRepository.ts +4 -4
  8. package/src/models/AnonymousAccessSettingsXO.ts +4 -4
  9. package/src/models/ApiCertificate.ts +4 -4
  10. package/src/models/ApiCreateUser.ts +4 -4
  11. package/src/models/ApiEmailConfiguration.ts +4 -4
  12. package/src/models/ApiEmailValidation.ts +4 -4
  13. package/src/models/ApiLicenseDetailsXO.ts +4 -4
  14. package/src/models/ApiPrivilege.ts +4 -4
  15. package/src/models/ApiPrivilegeApplicationRequest.ts +4 -4
  16. package/src/models/ApiPrivilegeRepositoryAdminRequest.ts +4 -4
  17. package/src/models/ApiPrivilegeRepositoryContentSelectorRequest.ts +4 -4
  18. package/src/models/ApiPrivilegeRepositoryViewRequest.ts +4 -4
  19. package/src/models/ApiPrivilegeScriptRequest.ts +4 -4
  20. package/src/models/ApiPrivilegeWildcardRequest.ts +4 -4
  21. package/src/models/ApiUser.ts +4 -4
  22. package/src/models/ApiUserSource.ts +4 -4
  23. package/src/models/AptHostedApiRepository.ts +4 -4
  24. package/src/models/AptHostedRepositoriesAttributes.ts +4 -4
  25. package/src/models/AptHostedRepositoryApiRequest.ts +4 -4
  26. package/src/models/AptProxyApiRepository.ts +4 -4
  27. package/src/models/AptProxyRepositoriesAttributes.ts +4 -4
  28. package/src/models/AptProxyRepositoryApiRequest.ts +4 -4
  29. package/src/models/AptSigningRepositoriesAttributes.ts +4 -4
  30. package/src/models/AssetXO.ts +4 -4
  31. package/src/models/AuthSettingsXo.ts +4 -4
  32. package/src/models/AzureBlobStoreApiAuthentication.ts +4 -4
  33. package/src/models/AzureBlobStoreApiBucketConfiguration.ts +4 -4
  34. package/src/models/AzureBlobStoreApiModel.ts +4 -4
  35. package/src/models/AzureConnectionXO.ts +4 -4
  36. package/src/models/BaseTagXO.ts +4 -4
  37. package/src/models/BlobStoreApiSoftQuota.ts +4 -4
  38. package/src/models/BlobStoreQuotaResultXO.ts +4 -4
  39. package/src/models/CargoAttributes.ts +4 -4
  40. package/src/models/CargoGroupApiRepository.ts +4 -4
  41. package/src/models/CargoGroupRepositoryApiRequest.ts +4 -4
  42. package/src/models/CargoHostedRepositoryApiRequest.ts +4 -4
  43. package/src/models/CargoProxyApiRepository.ts +4 -4
  44. package/src/models/CargoProxyRepositoryApiRequest.ts +4 -4
  45. package/src/models/CleanupPolicyAttributes.ts +4 -4
  46. package/src/models/CleanupPolicyResourceXO.ts +4 -4
  47. package/src/models/CocoapodsProxyRepositoryApiRequest.ts +4 -4
  48. package/src/models/ComponentAttributes.ts +4 -4
  49. package/src/models/ComponentXO.ts +4 -4
  50. package/src/models/ComposerProxyRepositoryApiRequest.ts +4 -4
  51. package/src/models/ConanGroupRepositoryApiRequest.ts +4 -4
  52. package/src/models/ConanHostedRepositoryApiRequest.ts +4 -4
  53. package/src/models/ConanProxyAttributes.ts +4 -4
  54. package/src/models/ConanProxyRepositoryApiRequest.ts +4 -4
  55. package/src/models/CondaProxyRepositoryApiRequest.ts +4 -4
  56. package/src/models/ContentSelectorApiCreateRequest.ts +4 -4
  57. package/src/models/ContentSelectorApiResponse.ts +4 -4
  58. package/src/models/ContentSelectorApiUpdateRequest.ts +4 -4
  59. package/src/models/CreateLdapServerXo.ts +4 -4
  60. package/src/models/CrowdApiXO.ts +4 -4
  61. package/src/models/DockerAttributes.ts +4 -4
  62. package/src/models/DockerGroupApiRepository.ts +4 -4
  63. package/src/models/DockerGroupRepositoryApiRequest.ts +4 -4
  64. package/src/models/DockerHostedApiRepository.ts +4 -4
  65. package/src/models/DockerHostedRepositoryApiRequest.ts +4 -4
  66. package/src/models/DockerHostedStorageAttributes.ts +4 -4
  67. package/src/models/DockerProxyApiRepository.ts +4 -4
  68. package/src/models/DockerProxyAttributes.ts +4 -4
  69. package/src/models/DockerProxyRepositoryApiRequest.ts +4 -4
  70. package/src/models/EulaStatus.ts +4 -4
  71. package/src/models/FileBlobStoreApiCreateRequest.ts +4 -4
  72. package/src/models/FileBlobStoreApiModel.ts +4 -4
  73. package/src/models/FileBlobStoreApiUpdateRequest.ts +4 -4
  74. package/src/models/FrequencyXO.ts +4 -4
  75. package/src/models/GenericBlobStoreApiResponse.ts +4 -4
  76. package/src/models/GitLfsHostedRepositoryApiRequest.ts +4 -4
  77. package/src/models/GolangGroupRepositoryApiRequest.ts +4 -4
  78. package/src/models/GolangProxyRepositoryApiRequest.ts +4 -4
  79. package/src/models/GoogleCloudBlobStoreApiBucket.ts +4 -4
  80. package/src/models/GoogleCloudBlobStoreApiBucketAuthentication.ts +4 -4
  81. package/src/models/GoogleCloudBlobStoreApiBucketConfiguration.ts +4 -4
  82. package/src/models/GoogleCloudBlobStoreApiEncryption.ts +4 -4
  83. package/src/models/GoogleCloudBlobstoreApiModel.ts +4 -4
  84. package/src/models/GroupAttributes.ts +4 -4
  85. package/src/models/GroupBlobStoreApiCreateRequest.ts +4 -4
  86. package/src/models/GroupBlobStoreApiModel.ts +4 -4
  87. package/src/models/GroupBlobStoreApiResponse.ts +4 -4
  88. package/src/models/GroupBlobStoreApiUpdateRequest.ts +4 -4
  89. package/src/models/GroupDeployAttributes.ts +4 -4
  90. package/src/models/HelmHostedRepositoryApiRequest.ts +4 -4
  91. package/src/models/HelmProxyRepositoryApiRequest.ts +4 -4
  92. package/src/models/HostedStorageAttributes.ts +4 -4
  93. package/src/models/HttpClientAttributes.ts +4 -4
  94. package/src/models/HttpClientAttributesWithPreemptiveAuth.ts +4 -4
  95. package/src/models/HttpClientConnectionAttributes.ts +4 -4
  96. package/src/models/HttpClientConnectionAuthenticationAttributes.ts +4 -4
  97. package/src/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.ts +4 -4
  98. package/src/models/HttpSettingsXo.ts +4 -4
  99. package/src/models/HuggingFaceProxyRepositoryApiRequest.ts +4 -4
  100. package/src/models/IqAuditXo.ts +4 -4
  101. package/src/models/IqConnectionVerificationXo.ts +4 -4
  102. package/src/models/IqConnectionXo.ts +4 -4
  103. package/src/models/MaliciousRiskOnDiskCountResponse.ts +4 -4
  104. package/src/models/MavenAttributes.ts +4 -4
  105. package/src/models/MavenGroupRepositoryApiRequest.ts +4 -4
  106. package/src/models/MavenHostedApiRepository.ts +4 -4
  107. package/src/models/MavenHostedRepositoryApiRequest.ts +4 -4
  108. package/src/models/MavenProxyApiRepository.ts +4 -4
  109. package/src/models/MavenProxyRepositoryApiRequest.ts +4 -4
  110. package/src/models/NegativeCacheAttributes.ts +4 -4
  111. package/src/models/NodeInformation.ts +4 -4
  112. package/src/models/NpmAttributes.ts +4 -4
  113. package/src/models/NpmGroupRepositoryApiRequest.ts +4 -4
  114. package/src/models/NpmHostedRepositoryApiRequest.ts +4 -4
  115. package/src/models/NpmProxyApiRepository.ts +4 -4
  116. package/src/models/NpmProxyRepositoryApiRequest.ts +4 -4
  117. package/src/models/NugetAttributes.ts +4 -4
  118. package/src/models/NugetGroupRepositoryApiRequest.ts +4 -4
  119. package/src/models/NugetHostedRepositoryApiRequest.ts +4 -4
  120. package/src/models/NugetProxyApiRepository.ts +4 -4
  121. package/src/models/NugetProxyRepositoryApiRequest.ts +4 -4
  122. package/src/models/P2ProxyRepositoryApiRequest.ts +4 -4
  123. package/src/models/Page.ts +4 -4
  124. package/src/models/PageAssetXO.ts +4 -4
  125. package/src/models/PageComponentXO.ts +4 -4
  126. package/src/models/PageTagXO.ts +4 -4
  127. package/src/models/PageTaskXO.ts +4 -4
  128. package/src/models/ProxyAttributes.ts +4 -4
  129. package/src/models/ProxySettingsXo.ts +4 -4
  130. package/src/models/PyPiProxyAttributes.ts +4 -4
  131. package/src/models/PypiGroupRepositoryApiRequest.ts +4 -4
  132. package/src/models/PypiHostedRepositoryApiRequest.ts +4 -4
  133. package/src/models/PypiProxyRepositoryApiRequest.ts +4 -4
  134. package/src/models/RGroupRepositoryApiRequest.ts +4 -4
  135. package/src/models/RHostedRepositoryApiRequest.ts +4 -4
  136. package/src/models/RProxyRepositoryApiRequest.ts +4 -4
  137. package/src/models/RawAttributes.ts +4 -4
  138. package/src/models/RawGroupRepositoryApiRequest.ts +4 -4
  139. package/src/models/RawHostedRepositoryApiRequest.ts +4 -4
  140. package/src/models/RawProxyRepositoryApiRequest.ts +4 -4
  141. package/src/models/ReEncryptionRequestApiXO.ts +4 -4
  142. package/src/models/ReadLdapServerXo.ts +4 -4
  143. package/src/models/ReadOnlyState.ts +4 -4
  144. package/src/models/RealmApiXO.ts +4 -4
  145. package/src/models/ReplicationAttributes.ts +4 -4
  146. package/src/models/RepositoryXO.ts +4 -4
  147. package/src/models/Result.ts +4 -4
  148. package/src/models/RoleXORequest.ts +4 -4
  149. package/src/models/RoleXOResponse.ts +4 -4
  150. package/src/models/RoutingRuleXO.ts +4 -4
  151. package/src/models/RubyGemsGroupRepositoryApiRequest.ts +4 -4
  152. package/src/models/RubyGemsHostedRepositoryApiRequest.ts +4 -4
  153. package/src/models/RubyGemsProxyRepositoryApiRequest.ts +4 -4
  154. package/src/models/S3BlobStoreApiAdvancedBucketConnection.ts +4 -4
  155. package/src/models/S3BlobStoreApiBucket.ts +4 -4
  156. package/src/models/S3BlobStoreApiBucketConfiguration.ts +4 -4
  157. package/src/models/S3BlobStoreApiBucketSecurity.ts +4 -4
  158. package/src/models/S3BlobStoreApiEncryption.ts +4 -4
  159. package/src/models/S3BlobStoreApiFailoverBucket.ts +4 -4
  160. package/src/models/S3BlobStoreApiModel.ts +4 -4
  161. package/src/models/SamlConfigurationXO.ts +4 -4
  162. package/src/models/ScriptResultXO.ts +4 -4
  163. package/src/models/ScriptXO.ts +4 -4
  164. package/src/models/SimpleApiGroupDeployRepository.ts +4 -4
  165. package/src/models/SimpleApiGroupRepository.ts +4 -4
  166. package/src/models/SimpleApiHostedRepository.ts +4 -4
  167. package/src/models/SimpleApiProxyRepository.ts +4 -4
  168. package/src/models/StackTraceElement.ts +4 -4
  169. package/src/models/StorageAttributes.ts +4 -4
  170. package/src/models/SupportZipGeneratorRequest.ts +4 -4
  171. package/src/models/SupportZipXO.ts +4 -4
  172. package/src/models/SystemCheckResultDTO.ts +4 -4
  173. package/src/models/SystemCheckResultsApiDTO.ts +4 -4
  174. package/src/models/TagXO.ts +4 -4
  175. package/src/models/TaskTemplateXO.ts +4 -4
  176. package/src/models/TaskXO.ts +4 -4
  177. package/src/models/Throwable.ts +4 -4
  178. package/src/models/UpdateLdapServerXo.ts +4 -4
  179. package/src/models/UploadComponentRequest.ts +4 -4
  180. package/src/models/UploadDefinitionXO.ts +4 -4
  181. package/src/models/UploadFieldDefinitionXO.ts +4 -4
  182. package/src/models/UserTokensApiModel.ts +4 -4
  183. package/src/models/YumAttributes.ts +4 -4
  184. package/src/models/YumGroupRepositoryApiRequest.ts +4 -4
  185. package/src/models/YumHostedApiRepository.ts +4 -4
  186. package/src/models/YumHostedRepositoryApiRequest.ts +4 -4
  187. package/src/models/YumProxyRepositoryApiRequest.ts +4 -4
  188. package/src/models/YumSigningRepositoriesAttributes.ts +4 -4
  189. package/src/runtime.ts +10 -4
@@ -1 +1 @@
1
- 7.9.0
1
+ 7.13.0
@@ -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 mapValues(data: any, fn: (item: any) => any): {};
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;
@@ -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
- return Object.keys(data).reduce((acc, key) => (Object.assign(Object.assign({}, acc), { [key]: fn(data[key]) })), {});
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 mapValues(data: any, fn: (item: any) => any): {};
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
- return Object.keys(data).reduce((acc, key) => (Object.assign(Object.assign({}, acc), { [key]: fn(data[key]) })), {});
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonatype/nexus-repo-api-client",
3
- "version": "3.81.1",
3
+ "version": "3.81.2",
4
4
  "description": "OpenAPI client for @sonatype/nexus-repo-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -89,11 +89,11 @@ export function AbstractApiRepositoryFromJSONTyped(json: any, ignoreDiscriminato
89
89
  };
90
90
  }
91
91
 
92
- export function AbstractApiRepositoryToJSON(json: any): AbstractApiRepository {
93
- return AbstractApiRepositoryToJSONTyped(json, false);
94
- }
92
+ export function AbstractApiRepositoryToJSON(json: any): AbstractApiRepository {
93
+ return AbstractApiRepositoryToJSONTyped(json, false);
94
+ }
95
95
 
96
- export function AbstractApiRepositoryToJSONTyped(value?: AbstractApiRepository | null, ignoreDiscriminator: boolean = false): any {
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
- export function AnonymousAccessSettingsXOToJSON(json: any): AnonymousAccessSettingsXO {
66
- return AnonymousAccessSettingsXOToJSONTyped(json, false);
67
- }
65
+ export function AnonymousAccessSettingsXOToJSON(json: any): AnonymousAccessSettingsXO {
66
+ return AnonymousAccessSettingsXOToJSONTyped(json, false);
67
+ }
68
68
 
69
- export function AnonymousAccessSettingsXOToJSONTyped(value?: AnonymousAccessSettingsXO | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiCertificateToJSON(json: any): ApiCertificate {
129
- return ApiCertificateToJSONTyped(json, false);
130
- }
128
+ export function ApiCertificateToJSON(json: any): ApiCertificate {
129
+ return ApiCertificateToJSONTyped(json, false);
130
+ }
131
131
 
132
- export function ApiCertificateToJSONTyped(value?: ApiCertificate | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiCreateUserToJSON(json: any): ApiCreateUser {
108
- return ApiCreateUserToJSONTyped(json, false);
109
- }
107
+ export function ApiCreateUserToJSON(json: any): ApiCreateUser {
108
+ return ApiCreateUserToJSONTyped(json, false);
109
+ }
110
110
 
111
- export function ApiCreateUserToJSONTyped(value?: ApiCreateUser | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiEmailConfigurationToJSON(json: any): ApiEmailConfiguration {
130
- return ApiEmailConfigurationToJSONTyped(json, false);
131
- }
129
+ export function ApiEmailConfigurationToJSON(json: any): ApiEmailConfiguration {
130
+ return ApiEmailConfigurationToJSONTyped(json, false);
131
+ }
132
132
 
133
- export function ApiEmailConfigurationToJSONTyped(value?: ApiEmailConfiguration | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiEmailValidationToJSON(json: any): ApiEmailValidation {
59
- return ApiEmailValidationToJSONTyped(json, false);
60
- }
58
+ export function ApiEmailValidationToJSON(json: any): ApiEmailValidation {
59
+ return ApiEmailValidationToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function ApiEmailValidationToJSONTyped(value?: ApiEmailValidation | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiLicenseDetailsXOToJSON(json: any): ApiLicenseDetailsXO {
122
- return ApiLicenseDetailsXOToJSONTyped(json, false);
123
- }
121
+ export function ApiLicenseDetailsXOToJSON(json: any): ApiLicenseDetailsXO {
122
+ return ApiLicenseDetailsXOToJSONTyped(json, false);
123
+ }
124
124
 
125
- export function ApiLicenseDetailsXOToJSONTyped(value?: ApiLicenseDetailsXO | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiPrivilegeToJSON(json: any): ApiPrivilege {
73
- return ApiPrivilegeToJSONTyped(json, false);
74
- }
72
+ export function ApiPrivilegeToJSON(json: any): ApiPrivilege {
73
+ return ApiPrivilegeToJSONTyped(json, false);
74
+ }
75
75
 
76
- export function ApiPrivilegeToJSONTyped(value?: ApiPrivilege | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiPrivilegeApplicationRequestToJSON(json: any): ApiPrivilegeApplicationRequest {
93
- return ApiPrivilegeApplicationRequestToJSONTyped(json, false);
94
- }
92
+ export function ApiPrivilegeApplicationRequestToJSON(json: any): ApiPrivilegeApplicationRequest {
93
+ return ApiPrivilegeApplicationRequestToJSONTyped(json, false);
94
+ }
95
95
 
96
- export function ApiPrivilegeApplicationRequestToJSONTyped(value?: ApiPrivilegeApplicationRequest | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiPrivilegeRepositoryAdminRequestToJSON(json: any): ApiPrivilegeRepositoryAdminRequest {
100
- return ApiPrivilegeRepositoryAdminRequestToJSONTyped(json, false);
101
- }
99
+ export function ApiPrivilegeRepositoryAdminRequestToJSON(json: any): ApiPrivilegeRepositoryAdminRequest {
100
+ return ApiPrivilegeRepositoryAdminRequestToJSONTyped(json, false);
101
+ }
102
102
 
103
- export function ApiPrivilegeRepositoryAdminRequestToJSONTyped(value?: ApiPrivilegeRepositoryAdminRequest | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiPrivilegeRepositoryContentSelectorRequestToJSON(json: any): ApiPrivilegeRepositoryContentSelectorRequest {
107
- return ApiPrivilegeRepositoryContentSelectorRequestToJSONTyped(json, false);
108
- }
106
+ export function ApiPrivilegeRepositoryContentSelectorRequestToJSON(json: any): ApiPrivilegeRepositoryContentSelectorRequest {
107
+ return ApiPrivilegeRepositoryContentSelectorRequestToJSONTyped(json, false);
108
+ }
109
109
 
110
- export function ApiPrivilegeRepositoryContentSelectorRequestToJSONTyped(value?: ApiPrivilegeRepositoryContentSelectorRequest | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiPrivilegeRepositoryViewRequestToJSON(json: any): ApiPrivilegeRepositoryViewRequest {
100
- return ApiPrivilegeRepositoryViewRequestToJSONTyped(json, false);
101
- }
99
+ export function ApiPrivilegeRepositoryViewRequestToJSON(json: any): ApiPrivilegeRepositoryViewRequest {
100
+ return ApiPrivilegeRepositoryViewRequestToJSONTyped(json, false);
101
+ }
102
102
 
103
- export function ApiPrivilegeRepositoryViewRequestToJSONTyped(value?: ApiPrivilegeRepositoryViewRequest | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiPrivilegeScriptRequestToJSON(json: any): ApiPrivilegeScriptRequest {
93
- return ApiPrivilegeScriptRequestToJSONTyped(json, false);
94
- }
92
+ export function ApiPrivilegeScriptRequestToJSON(json: any): ApiPrivilegeScriptRequest {
93
+ return ApiPrivilegeScriptRequestToJSONTyped(json, false);
94
+ }
95
95
 
96
- export function ApiPrivilegeScriptRequestToJSONTyped(value?: ApiPrivilegeScriptRequest | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiPrivilegeWildcardRequestToJSON(json: any): ApiPrivilegeWildcardRequest {
66
- return ApiPrivilegeWildcardRequestToJSONTyped(json, false);
67
- }
65
+ export function ApiPrivilegeWildcardRequestToJSON(json: any): ApiPrivilegeWildcardRequest {
66
+ return ApiPrivilegeWildcardRequestToJSONTyped(json, false);
67
+ }
68
68
 
69
- export function ApiPrivilegeWildcardRequestToJSONTyped(value?: ApiPrivilegeWildcardRequest | null, ignoreDiscriminator: boolean = false): any {
69
+ export function ApiPrivilegeWildcardRequestToJSONTyped(value?: ApiPrivilegeWildcardRequest | null, ignoreDiscriminator: boolean = false): any {
70
70
  if (value == null) {
71
71
  return value;
72
72
  }
@@ -118,11 +118,11 @@ export function ApiUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
118
118
  };
119
119
  }
120
120
 
121
- export function ApiUserToJSON(json: any): ApiUser {
122
- return ApiUserToJSONTyped(json, false);
123
- }
121
+ export function ApiUserToJSON(json: any): ApiUser {
122
+ return ApiUserToJSONTyped(json, false);
123
+ }
124
124
 
125
- export function ApiUserToJSONTyped(value?: ApiUser | null, ignoreDiscriminator: boolean = false): any {
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
- export function ApiUserSourceToJSON(json: any): ApiUserSource {
59
- return ApiUserSourceToJSONTyped(json, false);
60
- }
58
+ export function ApiUserSourceToJSON(json: any): ApiUserSource {
59
+ return ApiUserSourceToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function ApiUserSourceToJSONTyped(value?: ApiUserSource | null, ignoreDiscriminator: boolean = false): any {
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
- export function AptHostedApiRepositoryToJSON(json: any): AptHostedApiRepository {
134
- return AptHostedApiRepositoryToJSONTyped(json, false);
135
- }
133
+ export function AptHostedApiRepositoryToJSON(json: any): AptHostedApiRepository {
134
+ return AptHostedApiRepositoryToJSONTyped(json, false);
135
+ }
136
136
 
137
- export function AptHostedApiRepositoryToJSONTyped(value?: AptHostedApiRepository | null, ignoreDiscriminator: boolean = false): any {
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
- export function AptHostedRepositoriesAttributesToJSON(json: any): AptHostedRepositoriesAttributes {
52
- return AptHostedRepositoriesAttributesToJSONTyped(json, false);
53
- }
51
+ export function AptHostedRepositoriesAttributesToJSON(json: any): AptHostedRepositoriesAttributes {
52
+ return AptHostedRepositoriesAttributesToJSONTyped(json, false);
53
+ }
54
54
 
55
- export function AptHostedRepositoriesAttributesToJSONTyped(value?: AptHostedRepositoriesAttributes | null, ignoreDiscriminator: boolean = false): any {
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
- export function AptHostedRepositoryApiRequestToJSON(json: any): AptHostedRepositoryApiRequest {
135
- return AptHostedRepositoryApiRequestToJSONTyped(json, false);
136
- }
134
+ export function AptHostedRepositoryApiRequestToJSON(json: any): AptHostedRepositoryApiRequest {
135
+ return AptHostedRepositoryApiRequestToJSONTyped(json, false);
136
+ }
137
137
 
138
- export function AptHostedRepositoryApiRequestToJSONTyped(value?: AptHostedRepositoryApiRequest | null, ignoreDiscriminator: boolean = false): any {
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
- export function AptProxyApiRepositoryToJSON(json: any): AptProxyApiRepository {
171
- return AptProxyApiRepositoryToJSONTyped(json, false);
172
- }
170
+ export function AptProxyApiRepositoryToJSON(json: any): AptProxyApiRepository {
171
+ return AptProxyApiRepositoryToJSONTyped(json, false);
172
+ }
173
173
 
174
- export function AptProxyApiRepositoryToJSONTyped(value?: AptProxyApiRepository | null, ignoreDiscriminator: boolean = false): any {
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
- export function AptProxyRepositoriesAttributesToJSON(json: any): AptProxyRepositoriesAttributes {
59
- return AptProxyRepositoriesAttributesToJSONTyped(json, false);
60
- }
58
+ export function AptProxyRepositoriesAttributesToJSON(json: any): AptProxyRepositoriesAttributes {
59
+ return AptProxyRepositoriesAttributesToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function AptProxyRepositoriesAttributesToJSONTyped(value?: AptProxyRepositoriesAttributes | null, ignoreDiscriminator: boolean = false): any {
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
- export function AptProxyRepositoryApiRequestToJSON(json: any): AptProxyRepositoryApiRequest {
172
- return AptProxyRepositoryApiRequestToJSONTyped(json, false);
173
- }
171
+ export function AptProxyRepositoryApiRequestToJSON(json: any): AptProxyRepositoryApiRequest {
172
+ return AptProxyRepositoryApiRequestToJSONTyped(json, false);
173
+ }
174
174
 
175
- export function AptProxyRepositoryApiRequestToJSONTyped(value?: AptProxyRepositoryApiRequest | null, ignoreDiscriminator: boolean = false): any {
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
- export function AptSigningRepositoriesAttributesToJSON(json: any): AptSigningRepositoriesAttributes {
59
- return AptSigningRepositoriesAttributesToJSONTyped(json, false);
60
- }
58
+ export function AptSigningRepositoriesAttributesToJSON(json: any): AptSigningRepositoriesAttributes {
59
+ return AptSigningRepositoriesAttributesToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function AptSigningRepositoriesAttributesToJSONTyped(value?: AptSigningRepositoriesAttributes | null, ignoreDiscriminator: boolean = false): any {
62
+ export function AptSigningRepositoriesAttributesToJSONTyped(value?: AptSigningRepositoriesAttributes | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
@@ -139,11 +139,11 @@ export function AssetXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
139
139
  };
140
140
  }
141
141
 
142
- export function AssetXOToJSON(json: any): AssetXO {
143
- return AssetXOToJSONTyped(json, false);
144
- }
142
+ export function AssetXOToJSON(json: any): AssetXO {
143
+ return AssetXOToJSONTyped(json, false);
144
+ }
145
145
 
146
- export function AssetXOToJSONTyped(value?: AssetXO | null, ignoreDiscriminator: boolean = false): any {
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
- export function AuthSettingsXoToJSON(json: any): AuthSettingsXo {
85
- return AuthSettingsXoToJSONTyped(json, false);
86
- }
84
+ export function AuthSettingsXoToJSON(json: any): AuthSettingsXo {
85
+ return AuthSettingsXoToJSONTyped(json, false);
86
+ }
87
87
 
88
- export function AuthSettingsXoToJSONTyped(value?: AuthSettingsXo | null, ignoreDiscriminator: boolean = false): any {
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
- export function AzureBlobStoreApiAuthenticationToJSON(json: any): AzureBlobStoreApiAuthentication {
72
- return AzureBlobStoreApiAuthenticationToJSONTyped(json, false);
73
- }
71
+ export function AzureBlobStoreApiAuthenticationToJSON(json: any): AzureBlobStoreApiAuthentication {
72
+ return AzureBlobStoreApiAuthenticationToJSONTyped(json, false);
73
+ }
74
74
 
75
- export function AzureBlobStoreApiAuthenticationToJSONTyped(value?: AzureBlobStoreApiAuthentication | null, ignoreDiscriminator: boolean = false): any {
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
- export function AzureBlobStoreApiBucketConfigurationToJSON(json: any): AzureBlobStoreApiBucketConfiguration {
77
- return AzureBlobStoreApiBucketConfigurationToJSONTyped(json, false);
78
- }
76
+ export function AzureBlobStoreApiBucketConfigurationToJSON(json: any): AzureBlobStoreApiBucketConfiguration {
77
+ return AzureBlobStoreApiBucketConfigurationToJSONTyped(json, false);
78
+ }
79
79
 
80
- export function AzureBlobStoreApiBucketConfigurationToJSONTyped(value?: AzureBlobStoreApiBucketConfiguration | null, ignoreDiscriminator: boolean = false): any {
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
- export function AzureBlobStoreApiModelToJSON(json: any): AzureBlobStoreApiModel {
83
- return AzureBlobStoreApiModelToJSONTyped(json, false);
84
- }
82
+ export function AzureBlobStoreApiModelToJSON(json: any): AzureBlobStoreApiModel {
83
+ return AzureBlobStoreApiModelToJSONTyped(json, false);
84
+ }
85
85
 
86
- export function AzureBlobStoreApiModelToJSONTyped(value?: AzureBlobStoreApiModel | null, ignoreDiscriminator: boolean = false): any {
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
- export function AzureConnectionXOToJSON(json: any): AzureConnectionXO {
73
- return AzureConnectionXOToJSONTyped(json, false);
74
- }
72
+ export function AzureConnectionXOToJSON(json: any): AzureConnectionXO {
73
+ return AzureConnectionXOToJSONTyped(json, false);
74
+ }
75
75
 
76
- export function AzureConnectionXOToJSONTyped(value?: AzureConnectionXO | null, ignoreDiscriminator: boolean = false): any {
76
+ export function AzureConnectionXOToJSONTyped(value?: AzureConnectionXO | null, ignoreDiscriminator: boolean = false): any {
77
77
  if (value == null) {
78
78
  return value;
79
79
  }
@@ -48,11 +48,11 @@ export function BaseTagXOFromJSONTyped(json: any, ignoreDiscriminator: boolean):
48
48
  };
49
49
  }
50
50
 
51
- export function BaseTagXOToJSON(json: any): BaseTagXO {
52
- return BaseTagXOToJSONTyped(json, false);
53
- }
51
+ export function BaseTagXOToJSON(json: any): BaseTagXO {
52
+ return BaseTagXOToJSONTyped(json, false);
53
+ }
54
54
 
55
- export function BaseTagXOToJSONTyped(value?: BaseTagXO | null, ignoreDiscriminator: boolean = false): any {
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
- export function BlobStoreApiSoftQuotaToJSON(json: any): BlobStoreApiSoftQuota {
70
- return BlobStoreApiSoftQuotaToJSONTyped(json, false);
71
- }
69
+ export function BlobStoreApiSoftQuotaToJSON(json: any): BlobStoreApiSoftQuota {
70
+ return BlobStoreApiSoftQuotaToJSONTyped(json, false);
71
+ }
72
72
 
73
- export function BlobStoreApiSoftQuotaToJSONTyped(value?: BlobStoreApiSoftQuota | null, ignoreDiscriminator: boolean = false): any {
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
- export function BlobStoreQuotaResultXOToJSON(json: any): BlobStoreQuotaResultXO {
66
- return BlobStoreQuotaResultXOToJSONTyped(json, false);
67
- }
65
+ export function BlobStoreQuotaResultXOToJSON(json: any): BlobStoreQuotaResultXO {
66
+ return BlobStoreQuotaResultXOToJSONTyped(json, false);
67
+ }
68
68
 
69
- export function BlobStoreQuotaResultXOToJSONTyped(value?: BlobStoreQuotaResultXO | null, ignoreDiscriminator: boolean = false): any {
69
+ export function BlobStoreQuotaResultXOToJSONTyped(value?: BlobStoreQuotaResultXO | null, ignoreDiscriminator: boolean = false): any {
70
70
  if (value == null) {
71
71
  return value;
72
72
  }