@sonatype/nexus-repo-api-client 0.0.1 → 0.0.13

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 (563) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/dist/apis/AssetsApi.js +12 -12
  4. package/dist/apis/AzureBlobStoreApi.js +1 -1
  5. package/dist/apis/BlobStoreApi.js +43 -43
  6. package/dist/apis/ComponentsApi.js +104 -104
  7. package/dist/apis/ContentSelectorsApi.js +11 -11
  8. package/dist/apis/EmailApi.js +6 -6
  9. package/dist/apis/FormatsApi.js +3 -3
  10. package/dist/apis/LifecycleApi.js +2 -2
  11. package/dist/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
  12. package/dist/apis/ProductLicensingApi.js +1 -1
  13. package/dist/apis/RepositoryManagementApi.js +346 -346
  14. package/dist/apis/RoutingRulesApi.js +15 -15
  15. package/dist/apis/ScriptApi.js +15 -15
  16. package/dist/apis/SearchApi.js +322 -322
  17. package/dist/apis/SecurityAtlassianCrowdApi.js +2 -2
  18. package/dist/apis/SecurityCertificatesApi.js +12 -12
  19. package/dist/apis/SecurityManagementAnonymousAccessApi.js +1 -1
  20. package/dist/apis/SecurityManagementLDAPApi.js +12 -12
  21. package/dist/apis/SecurityManagementPrivilegesApi.js +36 -36
  22. package/dist/apis/SecurityManagementRealmsApi.js +1 -1
  23. package/dist/apis/SecurityManagementRolesApi.js +19 -19
  24. package/dist/apis/SecurityManagementSAMLApi.js +1 -1
  25. package/dist/apis/SecurityManagementUserTokensApi.js +1 -1
  26. package/dist/apis/SecurityManagementUsersApi.js +21 -21
  27. package/dist/apis/StagingApi.js +203 -203
  28. package/dist/apis/SupportApi.js +2 -2
  29. package/dist/apis/TagsApi.js +221 -221
  30. package/dist/apis/TasksApi.js +11 -11
  31. package/dist/esm/apis/AssetsApi.js +12 -12
  32. package/dist/esm/apis/AzureBlobStoreApi.js +1 -1
  33. package/dist/esm/apis/BlobStoreApi.js +43 -43
  34. package/dist/esm/apis/ComponentsApi.js +104 -104
  35. package/dist/esm/apis/ContentSelectorsApi.js +11 -11
  36. package/dist/esm/apis/EmailApi.js +6 -6
  37. package/dist/esm/apis/FormatsApi.js +3 -3
  38. package/dist/esm/apis/LifecycleApi.js +2 -2
  39. package/dist/esm/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
  40. package/dist/esm/apis/ProductLicensingApi.js +1 -1
  41. package/dist/esm/apis/RepositoryManagementApi.js +346 -346
  42. package/dist/esm/apis/RoutingRulesApi.js +15 -15
  43. package/dist/esm/apis/ScriptApi.js +15 -15
  44. package/dist/esm/apis/SearchApi.js +322 -322
  45. package/dist/esm/apis/SecurityAtlassianCrowdApi.js +2 -2
  46. package/dist/esm/apis/SecurityCertificatesApi.js +12 -12
  47. package/dist/esm/apis/SecurityManagementAnonymousAccessApi.js +1 -1
  48. package/dist/esm/apis/SecurityManagementLDAPApi.js +12 -12
  49. package/dist/esm/apis/SecurityManagementPrivilegesApi.js +36 -36
  50. package/dist/esm/apis/SecurityManagementRealmsApi.js +1 -1
  51. package/dist/esm/apis/SecurityManagementRolesApi.js +19 -19
  52. package/dist/esm/apis/SecurityManagementSAMLApi.js +1 -1
  53. package/dist/esm/apis/SecurityManagementUserTokensApi.js +1 -1
  54. package/dist/esm/apis/SecurityManagementUsersApi.js +21 -21
  55. package/dist/esm/apis/StagingApi.js +203 -203
  56. package/dist/esm/apis/SupportApi.js +2 -2
  57. package/dist/esm/apis/TagsApi.js +221 -221
  58. package/dist/esm/apis/TasksApi.js +11 -11
  59. package/dist/esm/models/AbstractApiRepository.js +19 -15
  60. package/dist/esm/models/AnonymousAccessSettingsXO.js +15 -10
  61. package/dist/esm/models/ApiCertificate.js +33 -28
  62. package/dist/esm/models/ApiCreateUser.js +23 -19
  63. package/dist/esm/models/ApiEmailConfiguration.js +33 -29
  64. package/dist/esm/models/ApiEmailValidation.js +13 -8
  65. package/dist/esm/models/ApiLicenseDetailsXO.js +27 -22
  66. package/dist/esm/models/ApiPrivilege.js +17 -12
  67. package/dist/esm/models/ApiPrivilegeApplicationRequest.js +17 -12
  68. package/dist/esm/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
  69. package/dist/esm/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
  70. package/dist/esm/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
  71. package/dist/esm/models/ApiPrivilegeScriptRequest.js +17 -12
  72. package/dist/esm/models/ApiPrivilegeWildcardRequest.js +15 -10
  73. package/dist/esm/models/ApiUser.js +27 -23
  74. package/dist/esm/models/ApiUserSource.js +13 -8
  75. package/dist/esm/models/AptHostedApiRepository.js +23 -22
  76. package/dist/esm/models/AptHostedRepositoriesAttributes.js +11 -6
  77. package/dist/esm/models/AptHostedRepositoryApiRequest.js +23 -23
  78. package/dist/esm/models/AptProxyApiRepository.js +29 -30
  79. package/dist/esm/models/AptProxyRepositoriesAttributes.js +13 -9
  80. package/dist/esm/models/AptProxyRepositoryApiRequest.js +29 -31
  81. package/dist/esm/models/AptSigningRepositoriesAttributes.js +13 -8
  82. package/dist/esm/models/AssetXO.js +35 -30
  83. package/dist/esm/models/AzureBlobStoreApiAuthentication.js +13 -9
  84. package/dist/esm/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
  85. package/dist/esm/models/AzureBlobStoreApiModel.js +15 -12
  86. package/dist/esm/models/AzureConnectionXO.js +17 -12
  87. package/dist/esm/models/BaseTagXO.js +11 -6
  88. package/dist/esm/models/BlobStoreApiSoftQuota.js +13 -8
  89. package/dist/esm/models/BlobStoreQuotaResultXO.js +15 -10
  90. package/dist/esm/models/BowerAttributes.js +10 -7
  91. package/dist/esm/models/BowerGroupRepositoryApiRequest.js +16 -16
  92. package/dist/esm/models/BowerHostedRepositoryApiRequest.js +19 -17
  93. package/dist/esm/models/BowerProxyApiRepository.js +29 -29
  94. package/dist/esm/models/BowerProxyRepositoryApiRequest.js +29 -30
  95. package/dist/esm/models/CleanupPolicyAttributes.js +11 -6
  96. package/dist/esm/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
  97. package/dist/esm/models/ComponentAttributes.js +11 -6
  98. package/dist/esm/models/ComponentXO.js +23 -18
  99. package/dist/esm/models/ConanProxyRepositoryApiRequest.js +27 -28
  100. package/dist/esm/models/CondaProxyRepositoryApiRequest.js +27 -28
  101. package/dist/esm/models/ContentSelectorApiCreateRequest.js +15 -10
  102. package/dist/esm/models/ContentSelectorApiResponse.js +17 -12
  103. package/dist/esm/models/ContentSelectorApiUpdateRequest.js +13 -8
  104. package/dist/esm/models/CreateLdapServerXo.js +69 -75
  105. package/dist/esm/models/CrowdApiXO.js +23 -20
  106. package/dist/esm/models/DockerAttributes.js +19 -16
  107. package/dist/esm/models/DockerGroupApiRepository.js +19 -18
  108. package/dist/esm/models/DockerGroupRepositoryApiRequest.js +18 -19
  109. package/dist/esm/models/DockerHostedApiRepository.js +21 -19
  110. package/dist/esm/models/DockerHostedRepositoryApiRequest.js +21 -20
  111. package/dist/esm/models/DockerHostedStorageAttributes.js +17 -15
  112. package/dist/esm/models/DockerProxyApiRepository.js +31 -33
  113. package/dist/esm/models/DockerProxyAttributes.js +17 -12
  114. package/dist/esm/models/DockerProxyRepositoryApiRequest.js +31 -34
  115. package/dist/esm/models/FileBlobStoreApiCreateRequest.js +15 -10
  116. package/dist/esm/models/FileBlobStoreApiModel.js +13 -8
  117. package/dist/esm/models/FileBlobStoreApiUpdateRequest.js +13 -8
  118. package/dist/esm/models/GenericBlobStoreApiResponse.js +23 -18
  119. package/dist/esm/models/GitLfsHostedRepositoryApiRequest.js +19 -17
  120. package/dist/esm/models/GolangGroupRepositoryApiRequest.js +16 -16
  121. package/dist/esm/models/GolangProxyRepositoryApiRequest.js +27 -28
  122. package/dist/esm/models/GroupAttributes.js +11 -6
  123. package/dist/esm/models/GroupBlobStoreApiCreateRequest.js +17 -12
  124. package/dist/esm/models/GroupBlobStoreApiModel.js +15 -10
  125. package/dist/esm/models/GroupBlobStoreApiResponse.js +17 -12
  126. package/dist/esm/models/GroupBlobStoreApiUpdateRequest.js +15 -10
  127. package/dist/esm/models/GroupDeployAttributes.js +13 -8
  128. package/dist/esm/models/HelmHostedRepositoryApiRequest.js +19 -17
  129. package/dist/esm/models/HelmProxyRepositoryApiRequest.js +27 -28
  130. package/dist/esm/models/HostedStorageAttributes.js +14 -13
  131. package/dist/esm/models/HttpClientAttributes.js +17 -14
  132. package/dist/esm/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
  133. package/dist/esm/models/HttpClientConnectionAttributes.js +21 -16
  134. package/dist/esm/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
  135. package/dist/esm/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
  136. package/dist/esm/models/IqConnectionVerificationXo.js +13 -8
  137. package/dist/esm/models/IqConnectionXo.js +29 -25
  138. package/dist/esm/models/MavenAttributes.js +15 -10
  139. package/dist/esm/models/MavenGroupRepositoryApiRequest.js +16 -16
  140. package/dist/esm/models/MavenHostedApiRepository.js +27 -25
  141. package/dist/esm/models/MavenHostedRepositoryApiRequest.js +21 -20
  142. package/dist/esm/models/MavenProxyApiRepository.js +35 -36
  143. package/dist/esm/models/MavenProxyRepositoryApiRequest.js +29 -31
  144. package/dist/esm/models/NegativeCacheAttributes.js +12 -10
  145. package/dist/esm/models/NpmAttributes.js +10 -7
  146. package/dist/esm/models/NpmGroupRepositoryApiRequest.js +16 -16
  147. package/dist/esm/models/NpmHostedRepositoryApiRequest.js +19 -17
  148. package/dist/esm/models/NpmProxyApiRepository.js +29 -29
  149. package/dist/esm/models/NpmProxyRepositoryApiRequest.js +29 -30
  150. package/dist/esm/models/NugetAttributes.js +13 -8
  151. package/dist/esm/models/NugetGroupRepositoryApiRequest.js +16 -16
  152. package/dist/esm/models/NugetHostedRepositoryApiRequest.js +19 -17
  153. package/dist/esm/models/NugetProxyApiRepository.js +29 -30
  154. package/dist/esm/models/NugetProxyRepositoryApiRequest.js +29 -31
  155. package/dist/esm/models/P2ProxyRepositoryApiRequest.js +27 -28
  156. package/dist/esm/models/Page.js +13 -8
  157. package/dist/esm/models/PageAssetXO.js +13 -8
  158. package/dist/esm/models/PageComponentXO.js +13 -8
  159. package/dist/esm/models/PageTagXO.js +13 -8
  160. package/dist/esm/models/PageTaskXO.js +13 -8
  161. package/dist/esm/models/ProxyAttributes.js +15 -12
  162. package/dist/esm/models/PyPiProxyAttributes.js +10 -7
  163. package/dist/esm/models/PypiGroupRepositoryApiRequest.js +16 -16
  164. package/dist/esm/models/PypiHostedRepositoryApiRequest.js +19 -17
  165. package/dist/esm/models/PypiProxyRepositoryApiRequest.js +29 -30
  166. package/dist/esm/models/RGroupRepositoryApiRequest.js +16 -16
  167. package/dist/esm/models/RHostedRepositoryApiRequest.js +19 -17
  168. package/dist/esm/models/RProxyRepositoryApiRequest.js +27 -28
  169. package/dist/esm/models/RawAttributes.js +11 -6
  170. package/dist/esm/models/RawGroupRepositoryApiRequest.js +19 -18
  171. package/dist/esm/models/RawHostedRepositoryApiRequest.js +21 -19
  172. package/dist/esm/models/RawProxyRepositoryApiRequest.js +29 -30
  173. package/dist/esm/models/ReadLdapServerXo.js +71 -76
  174. package/dist/esm/models/ReadOnlyState.js +15 -10
  175. package/dist/esm/models/RealmApiXO.js +13 -8
  176. package/dist/esm/models/ReplicationAttributes.js +13 -9
  177. package/dist/esm/models/RepositoryXO.js +19 -14
  178. package/dist/esm/models/Result.js +23 -18
  179. package/dist/esm/models/RoleXORequest.js +19 -14
  180. package/dist/esm/models/RoleXOResponse.js +23 -18
  181. package/dist/esm/models/RoutingRuleXO.js +17 -12
  182. package/dist/esm/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
  183. package/dist/esm/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
  184. package/dist/esm/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
  185. package/dist/esm/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
  186. package/dist/esm/models/S3BlobStoreApiBucket.js +17 -15
  187. package/dist/esm/models/S3BlobStoreApiBucketConfiguration.js +17 -13
  188. package/dist/esm/models/S3BlobStoreApiBucketSecurity.js +17 -12
  189. package/dist/esm/models/S3BlobStoreApiEncryption.js +13 -8
  190. package/dist/esm/models/S3BlobStoreApiModel.js +16 -13
  191. package/dist/esm/models/SamlConfigurationXO.js +27 -24
  192. package/dist/esm/models/ScriptResultXO.js +13 -8
  193. package/dist/esm/models/ScriptXO.js +15 -10
  194. package/dist/esm/models/SimpleApiGroupDeployRepository.js +15 -13
  195. package/dist/esm/models/SimpleApiGroupRepository.js +23 -21
  196. package/dist/esm/models/SimpleApiHostedRepository.js +19 -16
  197. package/dist/esm/models/SimpleApiProxyRepository.js +27 -27
  198. package/dist/esm/models/StackTraceElement.js +19 -14
  199. package/dist/esm/models/StorageAttributes.js +15 -12
  200. package/dist/esm/models/SupportZipGeneratorRequest.js +35 -30
  201. package/dist/esm/models/SupportZipXO.js +17 -12
  202. package/dist/esm/models/TagXO.js +17 -13
  203. package/dist/esm/models/TaskXO.js +25 -20
  204. package/dist/esm/models/Throwable.js +19 -14
  205. package/dist/esm/models/UpdateLdapServerXo.js +71 -77
  206. package/dist/esm/models/UploadComponentRequest.js +97 -92
  207. package/dist/esm/models/UploadDefinitionXO.js +17 -12
  208. package/dist/esm/models/UploadFieldDefinitionXO.js +19 -14
  209. package/dist/esm/models/UserTokensApiModel.js +13 -8
  210. package/dist/esm/models/YumAttributes.js +13 -9
  211. package/dist/esm/models/YumGroupRepositoryApiRequest.js +19 -18
  212. package/dist/esm/models/YumHostedApiRepository.js +21 -19
  213. package/dist/esm/models/YumHostedRepositoryApiRequest.js +21 -20
  214. package/dist/esm/models/YumProxyRepositoryApiRequest.js +29 -30
  215. package/dist/esm/models/YumSigningRepositoriesAttributes.js +13 -8
  216. package/dist/esm/runtime.d.ts +1 -0
  217. package/dist/esm/runtime.js +4 -0
  218. package/dist/models/AbstractApiRepository.js +19 -15
  219. package/dist/models/AnonymousAccessSettingsXO.js +15 -10
  220. package/dist/models/ApiCertificate.js +33 -28
  221. package/dist/models/ApiCreateUser.js +23 -19
  222. package/dist/models/ApiEmailConfiguration.js +33 -29
  223. package/dist/models/ApiEmailValidation.js +13 -8
  224. package/dist/models/ApiLicenseDetailsXO.js +27 -22
  225. package/dist/models/ApiPrivilege.js +17 -12
  226. package/dist/models/ApiPrivilegeApplicationRequest.js +17 -12
  227. package/dist/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
  228. package/dist/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
  229. package/dist/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
  230. package/dist/models/ApiPrivilegeScriptRequest.js +17 -12
  231. package/dist/models/ApiPrivilegeWildcardRequest.js +15 -10
  232. package/dist/models/ApiUser.js +27 -23
  233. package/dist/models/ApiUserSource.js +13 -8
  234. package/dist/models/AptHostedApiRepository.js +23 -22
  235. package/dist/models/AptHostedRepositoriesAttributes.js +11 -6
  236. package/dist/models/AptHostedRepositoryApiRequest.js +23 -23
  237. package/dist/models/AptProxyApiRepository.js +29 -30
  238. package/dist/models/AptProxyRepositoriesAttributes.js +13 -9
  239. package/dist/models/AptProxyRepositoryApiRequest.js +29 -31
  240. package/dist/models/AptSigningRepositoriesAttributes.js +13 -8
  241. package/dist/models/AssetXO.js +35 -30
  242. package/dist/models/AzureBlobStoreApiAuthentication.js +13 -9
  243. package/dist/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
  244. package/dist/models/AzureBlobStoreApiModel.js +15 -12
  245. package/dist/models/AzureConnectionXO.js +17 -12
  246. package/dist/models/BaseTagXO.js +11 -6
  247. package/dist/models/BlobStoreApiSoftQuota.js +13 -8
  248. package/dist/models/BlobStoreQuotaResultXO.js +15 -10
  249. package/dist/models/BowerAttributes.js +10 -7
  250. package/dist/models/BowerGroupRepositoryApiRequest.js +16 -16
  251. package/dist/models/BowerHostedRepositoryApiRequest.js +19 -17
  252. package/dist/models/BowerProxyApiRepository.js +29 -29
  253. package/dist/models/BowerProxyRepositoryApiRequest.js +29 -30
  254. package/dist/models/CleanupPolicyAttributes.js +11 -6
  255. package/dist/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
  256. package/dist/models/ComponentAttributes.js +11 -6
  257. package/dist/models/ComponentXO.js +23 -18
  258. package/dist/models/ConanProxyRepositoryApiRequest.js +27 -28
  259. package/dist/models/CondaProxyRepositoryApiRequest.js +27 -28
  260. package/dist/models/ContentSelectorApiCreateRequest.js +15 -10
  261. package/dist/models/ContentSelectorApiResponse.js +17 -12
  262. package/dist/models/ContentSelectorApiUpdateRequest.js +13 -8
  263. package/dist/models/CreateLdapServerXo.js +69 -75
  264. package/dist/models/CrowdApiXO.js +23 -20
  265. package/dist/models/DockerAttributes.js +19 -16
  266. package/dist/models/DockerGroupApiRepository.js +19 -18
  267. package/dist/models/DockerGroupRepositoryApiRequest.js +18 -19
  268. package/dist/models/DockerHostedApiRepository.js +21 -19
  269. package/dist/models/DockerHostedRepositoryApiRequest.js +21 -20
  270. package/dist/models/DockerHostedStorageAttributes.js +17 -15
  271. package/dist/models/DockerProxyApiRepository.js +31 -33
  272. package/dist/models/DockerProxyAttributes.js +17 -12
  273. package/dist/models/DockerProxyRepositoryApiRequest.js +31 -34
  274. package/dist/models/FileBlobStoreApiCreateRequest.js +15 -10
  275. package/dist/models/FileBlobStoreApiModel.js +13 -8
  276. package/dist/models/FileBlobStoreApiUpdateRequest.js +13 -8
  277. package/dist/models/GenericBlobStoreApiResponse.js +23 -18
  278. package/dist/models/GitLfsHostedRepositoryApiRequest.js +19 -17
  279. package/dist/models/GolangGroupRepositoryApiRequest.js +16 -16
  280. package/dist/models/GolangProxyRepositoryApiRequest.js +27 -28
  281. package/dist/models/GroupAttributes.js +11 -6
  282. package/dist/models/GroupBlobStoreApiCreateRequest.js +17 -12
  283. package/dist/models/GroupBlobStoreApiModel.js +15 -10
  284. package/dist/models/GroupBlobStoreApiResponse.js +17 -12
  285. package/dist/models/GroupBlobStoreApiUpdateRequest.js +15 -10
  286. package/dist/models/GroupDeployAttributes.js +13 -8
  287. package/dist/models/HelmHostedRepositoryApiRequest.js +19 -17
  288. package/dist/models/HelmProxyRepositoryApiRequest.js +27 -28
  289. package/dist/models/HostedStorageAttributes.js +14 -13
  290. package/dist/models/HttpClientAttributes.js +17 -14
  291. package/dist/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
  292. package/dist/models/HttpClientConnectionAttributes.js +21 -16
  293. package/dist/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
  294. package/dist/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
  295. package/dist/models/IqConnectionVerificationXo.js +13 -8
  296. package/dist/models/IqConnectionXo.js +29 -25
  297. package/dist/models/MavenAttributes.js +15 -10
  298. package/dist/models/MavenGroupRepositoryApiRequest.js +16 -16
  299. package/dist/models/MavenHostedApiRepository.js +27 -25
  300. package/dist/models/MavenHostedRepositoryApiRequest.js +21 -20
  301. package/dist/models/MavenProxyApiRepository.js +35 -36
  302. package/dist/models/MavenProxyRepositoryApiRequest.js +29 -31
  303. package/dist/models/NegativeCacheAttributes.js +12 -10
  304. package/dist/models/NpmAttributes.js +10 -7
  305. package/dist/models/NpmGroupRepositoryApiRequest.js +16 -16
  306. package/dist/models/NpmHostedRepositoryApiRequest.js +19 -17
  307. package/dist/models/NpmProxyApiRepository.js +29 -29
  308. package/dist/models/NpmProxyRepositoryApiRequest.js +29 -30
  309. package/dist/models/NugetAttributes.js +13 -8
  310. package/dist/models/NugetGroupRepositoryApiRequest.js +16 -16
  311. package/dist/models/NugetHostedRepositoryApiRequest.js +19 -17
  312. package/dist/models/NugetProxyApiRepository.js +29 -30
  313. package/dist/models/NugetProxyRepositoryApiRequest.js +29 -31
  314. package/dist/models/P2ProxyRepositoryApiRequest.js +27 -28
  315. package/dist/models/Page.js +13 -8
  316. package/dist/models/PageAssetXO.js +13 -8
  317. package/dist/models/PageComponentXO.js +13 -8
  318. package/dist/models/PageTagXO.js +13 -8
  319. package/dist/models/PageTaskXO.js +13 -8
  320. package/dist/models/ProxyAttributes.js +15 -12
  321. package/dist/models/PyPiProxyAttributes.js +10 -7
  322. package/dist/models/PypiGroupRepositoryApiRequest.js +16 -16
  323. package/dist/models/PypiHostedRepositoryApiRequest.js +19 -17
  324. package/dist/models/PypiProxyRepositoryApiRequest.js +29 -30
  325. package/dist/models/RGroupRepositoryApiRequest.js +16 -16
  326. package/dist/models/RHostedRepositoryApiRequest.js +19 -17
  327. package/dist/models/RProxyRepositoryApiRequest.js +27 -28
  328. package/dist/models/RawAttributes.js +11 -6
  329. package/dist/models/RawGroupRepositoryApiRequest.js +19 -18
  330. package/dist/models/RawHostedRepositoryApiRequest.js +21 -19
  331. package/dist/models/RawProxyRepositoryApiRequest.js +29 -30
  332. package/dist/models/ReadLdapServerXo.js +71 -76
  333. package/dist/models/ReadOnlyState.js +15 -10
  334. package/dist/models/RealmApiXO.js +13 -8
  335. package/dist/models/ReplicationAttributes.js +13 -9
  336. package/dist/models/RepositoryXO.js +19 -14
  337. package/dist/models/Result.js +23 -18
  338. package/dist/models/RoleXORequest.js +19 -14
  339. package/dist/models/RoleXOResponse.js +23 -18
  340. package/dist/models/RoutingRuleXO.js +17 -12
  341. package/dist/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
  342. package/dist/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
  343. package/dist/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
  344. package/dist/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
  345. package/dist/models/S3BlobStoreApiBucket.js +17 -15
  346. package/dist/models/S3BlobStoreApiBucketConfiguration.js +17 -13
  347. package/dist/models/S3BlobStoreApiBucketSecurity.js +17 -12
  348. package/dist/models/S3BlobStoreApiEncryption.js +13 -8
  349. package/dist/models/S3BlobStoreApiModel.js +16 -13
  350. package/dist/models/SamlConfigurationXO.js +27 -24
  351. package/dist/models/ScriptResultXO.js +13 -8
  352. package/dist/models/ScriptXO.js +15 -10
  353. package/dist/models/SimpleApiGroupDeployRepository.js +15 -13
  354. package/dist/models/SimpleApiGroupRepository.js +23 -21
  355. package/dist/models/SimpleApiHostedRepository.js +19 -16
  356. package/dist/models/SimpleApiProxyRepository.js +27 -27
  357. package/dist/models/StackTraceElement.js +19 -14
  358. package/dist/models/StorageAttributes.js +15 -12
  359. package/dist/models/SupportZipGeneratorRequest.js +35 -30
  360. package/dist/models/SupportZipXO.js +17 -12
  361. package/dist/models/TagXO.js +17 -13
  362. package/dist/models/TaskXO.js +25 -20
  363. package/dist/models/Throwable.js +19 -14
  364. package/dist/models/UpdateLdapServerXo.js +71 -77
  365. package/dist/models/UploadComponentRequest.js +97 -92
  366. package/dist/models/UploadDefinitionXO.js +17 -12
  367. package/dist/models/UploadFieldDefinitionXO.js +19 -14
  368. package/dist/models/UserTokensApiModel.js +13 -8
  369. package/dist/models/YumAttributes.js +13 -9
  370. package/dist/models/YumGroupRepositoryApiRequest.js +19 -18
  371. package/dist/models/YumHostedApiRepository.js +21 -19
  372. package/dist/models/YumHostedRepositoryApiRequest.js +21 -20
  373. package/dist/models/YumProxyRepositoryApiRequest.js +29 -30
  374. package/dist/models/YumSigningRepositoriesAttributes.js +13 -8
  375. package/dist/runtime.d.ts +1 -0
  376. package/dist/runtime.js +6 -1
  377. package/package.json +1 -1
  378. package/src/apis/AssetsApi.ts +12 -21
  379. package/src/apis/AzureBlobStoreApi.ts +1 -1
  380. package/src/apis/BlobStoreApi.ts +43 -79
  381. package/src/apis/ComponentsApi.ts +104 -116
  382. package/src/apis/ContentSelectorsApi.ts +11 -20
  383. package/src/apis/EmailApi.ts +6 -12
  384. package/src/apis/FormatsApi.ts +3 -6
  385. package/src/apis/LifecycleApi.ts +2 -2
  386. package/src/apis/ManageSonatypeRepositoryFirewallConfigurationApi.ts +1 -1
  387. package/src/apis/ProductLicensingApi.ts +1 -1
  388. package/src/apis/RepositoryManagementApi.ts +346 -610
  389. package/src/apis/RoutingRulesApi.ts +15 -30
  390. package/src/apis/ScriptApi.ts +15 -27
  391. package/src/apis/SearchApi.ts +322 -322
  392. package/src/apis/SecurityAtlassianCrowdApi.ts +2 -2
  393. package/src/apis/SecurityCertificatesApi.ts +12 -18
  394. package/src/apis/SecurityManagementAnonymousAccessApi.ts +1 -1
  395. package/src/apis/SecurityManagementLDAPApi.ts +12 -21
  396. package/src/apis/SecurityManagementPrivilegesApi.ts +36 -60
  397. package/src/apis/SecurityManagementRealmsApi.ts +1 -1
  398. package/src/apis/SecurityManagementRolesApi.ts +19 -34
  399. package/src/apis/SecurityManagementSAMLApi.ts +1 -1
  400. package/src/apis/SecurityManagementUserTokensApi.ts +1 -1
  401. package/src/apis/SecurityManagementUsersApi.ts +21 -36
  402. package/src/apis/StagingApi.ts +203 -206
  403. package/src/apis/SupportApi.ts +2 -2
  404. package/src/apis/TagsApi.ts +221 -236
  405. package/src/apis/TasksApi.ts +11 -20
  406. package/src/models/AbstractApiRepository.ts +20 -15
  407. package/src/models/AnonymousAccessSettingsXO.ts +16 -11
  408. package/src/models/ApiCertificate.ts +34 -29
  409. package/src/models/ApiCreateUser.ts +24 -19
  410. package/src/models/ApiEmailConfiguration.ts +34 -29
  411. package/src/models/ApiEmailValidation.ts +14 -9
  412. package/src/models/ApiLicenseDetailsXO.ts +28 -23
  413. package/src/models/ApiPrivilege.ts +18 -13
  414. package/src/models/ApiPrivilegeApplicationRequest.ts +18 -13
  415. package/src/models/ApiPrivilegeRepositoryAdminRequest.ts +20 -15
  416. package/src/models/ApiPrivilegeRepositoryContentSelectorRequest.ts +22 -17
  417. package/src/models/ApiPrivilegeRepositoryViewRequest.ts +20 -15
  418. package/src/models/ApiPrivilegeScriptRequest.ts +18 -13
  419. package/src/models/ApiPrivilegeWildcardRequest.ts +16 -11
  420. package/src/models/ApiUser.ts +28 -23
  421. package/src/models/ApiUserSource.ts +14 -9
  422. package/src/models/AptHostedApiRepository.ts +24 -19
  423. package/src/models/AptHostedRepositoriesAttributes.ts +12 -7
  424. package/src/models/AptHostedRepositoryApiRequest.ts +24 -19
  425. package/src/models/AptProxyApiRepository.ts +30 -25
  426. package/src/models/AptProxyRepositoriesAttributes.ts +14 -9
  427. package/src/models/AptProxyRepositoryApiRequest.ts +30 -25
  428. package/src/models/AptSigningRepositoriesAttributes.ts +14 -9
  429. package/src/models/AssetXO.ts +36 -31
  430. package/src/models/AzureBlobStoreApiAuthentication.ts +14 -9
  431. package/src/models/AzureBlobStoreApiBucketConfiguration.ts +16 -11
  432. package/src/models/AzureBlobStoreApiModel.ts +16 -11
  433. package/src/models/AzureConnectionXO.ts +18 -13
  434. package/src/models/BaseTagXO.ts +12 -7
  435. package/src/models/BlobStoreApiSoftQuota.ts +14 -9
  436. package/src/models/BlobStoreQuotaResultXO.ts +16 -11
  437. package/src/models/BowerAttributes.ts +12 -7
  438. package/src/models/BowerGroupRepositoryApiRequest.ts +18 -13
  439. package/src/models/BowerHostedRepositoryApiRequest.ts +20 -15
  440. package/src/models/BowerProxyApiRepository.ts +30 -25
  441. package/src/models/BowerProxyRepositoryApiRequest.ts +30 -25
  442. package/src/models/CleanupPolicyAttributes.ts +12 -7
  443. package/src/models/CocoapodsProxyRepositoryApiRequest.ts +28 -23
  444. package/src/models/ComponentAttributes.ts +12 -7
  445. package/src/models/ComponentXO.ts +24 -19
  446. package/src/models/ConanProxyRepositoryApiRequest.ts +28 -23
  447. package/src/models/CondaProxyRepositoryApiRequest.ts +28 -23
  448. package/src/models/ContentSelectorApiCreateRequest.ts +16 -11
  449. package/src/models/ContentSelectorApiResponse.ts +18 -13
  450. package/src/models/ContentSelectorApiUpdateRequest.ts +14 -9
  451. package/src/models/CreateLdapServerXo.ts +70 -65
  452. package/src/models/CrowdApiXO.ts +24 -19
  453. package/src/models/DockerAttributes.ts +20 -15
  454. package/src/models/DockerGroupApiRepository.ts +20 -15
  455. package/src/models/DockerGroupRepositoryApiRequest.ts +20 -15
  456. package/src/models/DockerHostedApiRepository.ts +22 -17
  457. package/src/models/DockerHostedRepositoryApiRequest.ts +22 -17
  458. package/src/models/DockerHostedStorageAttributes.ts +18 -13
  459. package/src/models/DockerProxyApiRepository.ts +32 -27
  460. package/src/models/DockerProxyAttributes.ts +18 -13
  461. package/src/models/DockerProxyRepositoryApiRequest.ts +32 -27
  462. package/src/models/FileBlobStoreApiCreateRequest.ts +16 -11
  463. package/src/models/FileBlobStoreApiModel.ts +14 -9
  464. package/src/models/FileBlobStoreApiUpdateRequest.ts +14 -9
  465. package/src/models/GenericBlobStoreApiResponse.ts +24 -19
  466. package/src/models/GitLfsHostedRepositoryApiRequest.ts +20 -15
  467. package/src/models/GolangGroupRepositoryApiRequest.ts +18 -13
  468. package/src/models/GolangProxyRepositoryApiRequest.ts +28 -23
  469. package/src/models/GroupAttributes.ts +12 -7
  470. package/src/models/GroupBlobStoreApiCreateRequest.ts +18 -13
  471. package/src/models/GroupBlobStoreApiModel.ts +16 -11
  472. package/src/models/GroupBlobStoreApiResponse.ts +18 -13
  473. package/src/models/GroupBlobStoreApiUpdateRequest.ts +16 -11
  474. package/src/models/GroupDeployAttributes.ts +14 -9
  475. package/src/models/HelmHostedRepositoryApiRequest.ts +20 -15
  476. package/src/models/HelmProxyRepositoryApiRequest.ts +28 -23
  477. package/src/models/HostedStorageAttributes.ts +16 -11
  478. package/src/models/HttpClientAttributes.ts +18 -13
  479. package/src/models/HttpClientAttributesWithPreemptiveAuth.ts +18 -13
  480. package/src/models/HttpClientConnectionAttributes.ts +22 -17
  481. package/src/models/HttpClientConnectionAuthenticationAttributes.ts +22 -17
  482. package/src/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.ts +22 -17
  483. package/src/models/IqConnectionVerificationXo.ts +14 -9
  484. package/src/models/IqConnectionXo.ts +30 -25
  485. package/src/models/MavenAttributes.ts +16 -11
  486. package/src/models/MavenGroupRepositoryApiRequest.ts +18 -13
  487. package/src/models/MavenHostedApiRepository.ts +28 -23
  488. package/src/models/MavenHostedRepositoryApiRequest.ts +22 -17
  489. package/src/models/MavenProxyApiRepository.ts +36 -31
  490. package/src/models/MavenProxyRepositoryApiRequest.ts +30 -25
  491. package/src/models/NegativeCacheAttributes.ts +14 -9
  492. package/src/models/NpmAttributes.ts +12 -7
  493. package/src/models/NpmGroupRepositoryApiRequest.ts +18 -13
  494. package/src/models/NpmHostedRepositoryApiRequest.ts +20 -15
  495. package/src/models/NpmProxyApiRepository.ts +30 -25
  496. package/src/models/NpmProxyRepositoryApiRequest.ts +30 -25
  497. package/src/models/NugetAttributes.ts +14 -9
  498. package/src/models/NugetGroupRepositoryApiRequest.ts +18 -13
  499. package/src/models/NugetHostedRepositoryApiRequest.ts +20 -15
  500. package/src/models/NugetProxyApiRepository.ts +30 -25
  501. package/src/models/NugetProxyRepositoryApiRequest.ts +30 -25
  502. package/src/models/P2ProxyRepositoryApiRequest.ts +28 -23
  503. package/src/models/Page.ts +14 -9
  504. package/src/models/PageAssetXO.ts +14 -9
  505. package/src/models/PageComponentXO.ts +14 -9
  506. package/src/models/PageTagXO.ts +14 -9
  507. package/src/models/PageTaskXO.ts +14 -9
  508. package/src/models/ProxyAttributes.ts +16 -11
  509. package/src/models/PyPiProxyAttributes.ts +12 -7
  510. package/src/models/PypiGroupRepositoryApiRequest.ts +18 -13
  511. package/src/models/PypiHostedRepositoryApiRequest.ts +20 -15
  512. package/src/models/PypiProxyRepositoryApiRequest.ts +30 -25
  513. package/src/models/RGroupRepositoryApiRequest.ts +18 -13
  514. package/src/models/RHostedRepositoryApiRequest.ts +20 -15
  515. package/src/models/RProxyRepositoryApiRequest.ts +28 -23
  516. package/src/models/RawAttributes.ts +12 -7
  517. package/src/models/RawGroupRepositoryApiRequest.ts +20 -15
  518. package/src/models/RawHostedRepositoryApiRequest.ts +22 -17
  519. package/src/models/RawProxyRepositoryApiRequest.ts +30 -25
  520. package/src/models/ReadLdapServerXo.ts +72 -67
  521. package/src/models/ReadOnlyState.ts +16 -11
  522. package/src/models/RealmApiXO.ts +14 -9
  523. package/src/models/ReplicationAttributes.ts +14 -9
  524. package/src/models/RepositoryXO.ts +20 -15
  525. package/src/models/Result.ts +24 -19
  526. package/src/models/RoleXORequest.ts +20 -15
  527. package/src/models/RoleXOResponse.ts +24 -19
  528. package/src/models/RoutingRuleXO.ts +18 -13
  529. package/src/models/RubyGemsGroupRepositoryApiRequest.ts +18 -13
  530. package/src/models/RubyGemsHostedRepositoryApiRequest.ts +20 -15
  531. package/src/models/RubyGemsProxyRepositoryApiRequest.ts +28 -23
  532. package/src/models/S3BlobStoreApiAdvancedBucketConnection.ts +18 -13
  533. package/src/models/S3BlobStoreApiBucket.ts +18 -13
  534. package/src/models/S3BlobStoreApiBucketConfiguration.ts +18 -13
  535. package/src/models/S3BlobStoreApiBucketSecurity.ts +18 -13
  536. package/src/models/S3BlobStoreApiEncryption.ts +14 -9
  537. package/src/models/S3BlobStoreApiModel.ts +17 -12
  538. package/src/models/SamlConfigurationXO.ts +28 -23
  539. package/src/models/ScriptResultXO.ts +14 -9
  540. package/src/models/ScriptXO.ts +16 -11
  541. package/src/models/SimpleApiGroupDeployRepository.ts +16 -11
  542. package/src/models/SimpleApiGroupRepository.ts +24 -19
  543. package/src/models/SimpleApiHostedRepository.ts +20 -15
  544. package/src/models/SimpleApiProxyRepository.ts +28 -23
  545. package/src/models/StackTraceElement.ts +20 -15
  546. package/src/models/StorageAttributes.ts +16 -11
  547. package/src/models/SupportZipGeneratorRequest.ts +36 -31
  548. package/src/models/SupportZipXO.ts +18 -13
  549. package/src/models/TagXO.ts +18 -13
  550. package/src/models/TaskXO.ts +26 -21
  551. package/src/models/Throwable.ts +20 -15
  552. package/src/models/UpdateLdapServerXo.ts +72 -67
  553. package/src/models/UploadComponentRequest.ts +98 -93
  554. package/src/models/UploadDefinitionXO.ts +18 -13
  555. package/src/models/UploadFieldDefinitionXO.ts +20 -15
  556. package/src/models/UserTokensApiModel.ts +14 -9
  557. package/src/models/YumAttributes.ts +14 -9
  558. package/src/models/YumGroupRepositoryApiRequest.ts +20 -15
  559. package/src/models/YumHostedApiRepository.ts +22 -17
  560. package/src/models/YumHostedRepositoryApiRequest.ts +22 -17
  561. package/src/models/YumProxyRepositoryApiRequest.ts +30 -25
  562. package/src/models/YumSigningRepositoriesAttributes.ts +14 -9
  563. package/src/runtime.ts +5 -0
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -49,8 +49,10 @@ export type AzureBlobStoreApiAuthenticationAuthenticationMethodEnum = typeof Azu
49
49
  * Check if a given object implements the AzureBlobStoreApiAuthentication interface.
50
50
  */
51
51
  export function instanceOfAzureBlobStoreApiAuthentication(value: object): boolean {
52
- if (!('authenticationMethod' in value)) return false;
53
- return true;
52
+ let isInstance = true;
53
+ isInstance = isInstance && "authenticationMethod" in value;
54
+
55
+ return isInstance;
54
56
  }
55
57
 
56
58
  export function AzureBlobStoreApiAuthenticationFromJSON(json: any): AzureBlobStoreApiAuthentication {
@@ -58,24 +60,27 @@ export function AzureBlobStoreApiAuthenticationFromJSON(json: any): AzureBlobSto
58
60
  }
59
61
 
60
62
  export function AzureBlobStoreApiAuthenticationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureBlobStoreApiAuthentication {
61
- if (json == null) {
63
+ if ((json === undefined) || (json === null)) {
62
64
  return json;
63
65
  }
64
66
  return {
65
67
 
66
- 'accountKey': json['accountKey'] == null ? undefined : json['accountKey'],
68
+ 'accountKey': !exists(json, 'accountKey') ? undefined : json['accountKey'],
67
69
  'authenticationMethod': json['authenticationMethod'],
68
70
  };
69
71
  }
70
72
 
71
73
  export function AzureBlobStoreApiAuthenticationToJSON(value?: AzureBlobStoreApiAuthentication | null): any {
72
- if (value == null) {
73
- return value;
74
+ if (value === undefined) {
75
+ return undefined;
76
+ }
77
+ if (value === null) {
78
+ return null;
74
79
  }
75
80
  return {
76
81
 
77
- 'accountKey': value['accountKey'],
78
- 'authenticationMethod': value['authenticationMethod'],
82
+ 'accountKey': value.accountKey,
83
+ 'authenticationMethod': value.authenticationMethod,
79
84
  };
80
85
  }
81
86
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  import type { AzureBlobStoreApiAuthentication } from './AzureBlobStoreApiAuthentication';
17
17
  import {
18
18
  AzureBlobStoreApiAuthenticationFromJSON,
@@ -50,10 +50,12 @@ export interface AzureBlobStoreApiBucketConfiguration {
50
50
  * Check if a given object implements the AzureBlobStoreApiBucketConfiguration interface.
51
51
  */
52
52
  export function instanceOfAzureBlobStoreApiBucketConfiguration(value: object): boolean {
53
- if (!('accountName' in value)) return false;
54
- if (!('authentication' in value)) return false;
55
- if (!('containerName' in value)) return false;
56
- return true;
53
+ let isInstance = true;
54
+ isInstance = isInstance && "accountName" in value;
55
+ isInstance = isInstance && "authentication" in value;
56
+ isInstance = isInstance && "containerName" in value;
57
+
58
+ return isInstance;
57
59
  }
58
60
 
59
61
  export function AzureBlobStoreApiBucketConfigurationFromJSON(json: any): AzureBlobStoreApiBucketConfiguration {
@@ -61,7 +63,7 @@ export function AzureBlobStoreApiBucketConfigurationFromJSON(json: any): AzureBl
61
63
  }
62
64
 
63
65
  export function AzureBlobStoreApiBucketConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureBlobStoreApiBucketConfiguration {
64
- if (json == null) {
66
+ if ((json === undefined) || (json === null)) {
65
67
  return json;
66
68
  }
67
69
  return {
@@ -73,14 +75,17 @@ export function AzureBlobStoreApiBucketConfigurationFromJSONTyped(json: any, ign
73
75
  }
74
76
 
75
77
  export function AzureBlobStoreApiBucketConfigurationToJSON(value?: AzureBlobStoreApiBucketConfiguration | null): any {
76
- if (value == null) {
77
- return value;
78
+ if (value === undefined) {
79
+ return undefined;
80
+ }
81
+ if (value === null) {
82
+ return null;
78
83
  }
79
84
  return {
80
85
 
81
- 'accountName': value['accountName'],
82
- 'authentication': AzureBlobStoreApiAuthenticationToJSON(value['authentication']),
83
- 'containerName': value['containerName'],
86
+ 'accountName': value.accountName,
87
+ 'authentication': AzureBlobStoreApiAuthenticationToJSON(value.authentication),
88
+ 'containerName': value.containerName,
84
89
  };
85
90
  }
86
91
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  import type { AzureBlobStoreApiBucketConfiguration } from './AzureBlobStoreApiBucketConfiguration';
17
17
  import {
18
18
  AzureBlobStoreApiBucketConfigurationFromJSON,
@@ -56,9 +56,11 @@ export interface AzureBlobStoreApiModel {
56
56
  * Check if a given object implements the AzureBlobStoreApiModel interface.
57
57
  */
58
58
  export function instanceOfAzureBlobStoreApiModel(value: object): boolean {
59
- if (!('bucketConfiguration' in value)) return false;
60
- if (!('name' in value)) return false;
61
- return true;
59
+ let isInstance = true;
60
+ isInstance = isInstance && "bucketConfiguration" in value;
61
+ isInstance = isInstance && "name" in value;
62
+
63
+ return isInstance;
62
64
  }
63
65
 
64
66
  export function AzureBlobStoreApiModelFromJSON(json: any): AzureBlobStoreApiModel {
@@ -66,26 +68,29 @@ export function AzureBlobStoreApiModelFromJSON(json: any): AzureBlobStoreApiMode
66
68
  }
67
69
 
68
70
  export function AzureBlobStoreApiModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureBlobStoreApiModel {
69
- if (json == null) {
71
+ if ((json === undefined) || (json === null)) {
70
72
  return json;
71
73
  }
72
74
  return {
73
75
 
74
76
  'bucketConfiguration': AzureBlobStoreApiBucketConfigurationFromJSON(json['bucketConfiguration']),
75
77
  'name': json['name'],
76
- 'softQuota': json['softQuota'] == null ? undefined : BlobStoreApiSoftQuotaFromJSON(json['softQuota']),
78
+ 'softQuota': !exists(json, 'softQuota') ? undefined : BlobStoreApiSoftQuotaFromJSON(json['softQuota']),
77
79
  };
78
80
  }
79
81
 
80
82
  export function AzureBlobStoreApiModelToJSON(value?: AzureBlobStoreApiModel | null): any {
81
- if (value == null) {
82
- return value;
83
+ if (value === undefined) {
84
+ return undefined;
85
+ }
86
+ if (value === null) {
87
+ return null;
83
88
  }
84
89
  return {
85
90
 
86
- 'bucketConfiguration': AzureBlobStoreApiBucketConfigurationToJSON(value['bucketConfiguration']),
87
- 'name': value['name'],
88
- 'softQuota': BlobStoreApiSoftQuotaToJSON(value['softQuota']),
91
+ 'bucketConfiguration': AzureBlobStoreApiBucketConfigurationToJSON(value.bucketConfiguration),
92
+ 'name': value.name,
93
+ 'softQuota': BlobStoreApiSoftQuotaToJSON(value.softQuota),
89
94
  };
90
95
  }
91
96
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -49,7 +49,9 @@ export interface AzureConnectionXO {
49
49
  * Check if a given object implements the AzureConnectionXO interface.
50
50
  */
51
51
  export function instanceOfAzureConnectionXO(value: object): boolean {
52
- return true;
52
+ let isInstance = true;
53
+
54
+ return isInstance;
53
55
  }
54
56
 
55
57
  export function AzureConnectionXOFromJSON(json: any): AzureConnectionXO {
@@ -57,28 +59,31 @@ export function AzureConnectionXOFromJSON(json: any): AzureConnectionXO {
57
59
  }
58
60
 
59
61
  export function AzureConnectionXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureConnectionXO {
60
- if (json == null) {
62
+ if ((json === undefined) || (json === null)) {
61
63
  return json;
62
64
  }
63
65
  return {
64
66
 
65
- 'accountKey': json['accountKey'] == null ? undefined : json['accountKey'],
66
- 'accountName': json['accountName'] == null ? undefined : json['accountName'],
67
- 'authenticationMethod': json['authenticationMethod'] == null ? undefined : json['authenticationMethod'],
68
- 'containerName': json['containerName'] == null ? undefined : json['containerName'],
67
+ 'accountKey': !exists(json, 'accountKey') ? undefined : json['accountKey'],
68
+ 'accountName': !exists(json, 'accountName') ? undefined : json['accountName'],
69
+ 'authenticationMethod': !exists(json, 'authenticationMethod') ? undefined : json['authenticationMethod'],
70
+ 'containerName': !exists(json, 'containerName') ? undefined : json['containerName'],
69
71
  };
70
72
  }
71
73
 
72
74
  export function AzureConnectionXOToJSON(value?: AzureConnectionXO | null): any {
73
- if (value == null) {
74
- return value;
75
+ if (value === undefined) {
76
+ return undefined;
77
+ }
78
+ if (value === null) {
79
+ return null;
75
80
  }
76
81
  return {
77
82
 
78
- 'accountKey': value['accountKey'],
79
- 'accountName': value['accountName'],
80
- 'authenticationMethod': value['authenticationMethod'],
81
- 'containerName': value['containerName'],
83
+ 'accountKey': value.accountKey,
84
+ 'accountName': value.accountName,
85
+ 'authenticationMethod': value.authenticationMethod,
86
+ 'containerName': value.containerName,
82
87
  };
83
88
  }
84
89
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -31,7 +31,9 @@ export interface BaseTagXO {
31
31
  * Check if a given object implements the BaseTagXO interface.
32
32
  */
33
33
  export function instanceOfBaseTagXO(value: object): boolean {
34
- return true;
34
+ let isInstance = true;
35
+
36
+ return isInstance;
35
37
  }
36
38
 
37
39
  export function BaseTagXOFromJSON(json: any): BaseTagXO {
@@ -39,22 +41,25 @@ export function BaseTagXOFromJSON(json: any): BaseTagXO {
39
41
  }
40
42
 
41
43
  export function BaseTagXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseTagXO {
42
- if (json == null) {
44
+ if ((json === undefined) || (json === null)) {
43
45
  return json;
44
46
  }
45
47
  return {
46
48
 
47
- 'attributes': json['attributes'] == null ? undefined : json['attributes'],
49
+ 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
48
50
  };
49
51
  }
50
52
 
51
53
  export function BaseTagXOToJSON(value?: BaseTagXO | null): any {
52
- if (value == null) {
53
- return value;
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
54
59
  }
55
60
  return {
56
61
 
57
- 'attributes': value['attributes'],
62
+ 'attributes': value.attributes,
58
63
  };
59
64
  }
60
65
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -48,7 +48,9 @@ export type BlobStoreApiSoftQuotaTypeEnum = typeof BlobStoreApiSoftQuotaTypeEnum
48
48
  * Check if a given object implements the BlobStoreApiSoftQuota interface.
49
49
  */
50
50
  export function instanceOfBlobStoreApiSoftQuota(value: object): boolean {
51
- return true;
51
+ let isInstance = true;
52
+
53
+ return isInstance;
52
54
  }
53
55
 
54
56
  export function BlobStoreApiSoftQuotaFromJSON(json: any): BlobStoreApiSoftQuota {
@@ -56,24 +58,27 @@ export function BlobStoreApiSoftQuotaFromJSON(json: any): BlobStoreApiSoftQuota
56
58
  }
57
59
 
58
60
  export function BlobStoreApiSoftQuotaFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlobStoreApiSoftQuota {
59
- if (json == null) {
61
+ if ((json === undefined) || (json === null)) {
60
62
  return json;
61
63
  }
62
64
  return {
63
65
 
64
- 'limit': json['limit'] == null ? undefined : json['limit'],
65
- 'type': json['type'] == null ? undefined : json['type'],
66
+ 'limit': !exists(json, 'limit') ? undefined : json['limit'],
67
+ 'type': !exists(json, 'type') ? undefined : json['type'],
66
68
  };
67
69
  }
68
70
 
69
71
  export function BlobStoreApiSoftQuotaToJSON(value?: BlobStoreApiSoftQuota | null): any {
70
- if (value == null) {
71
- return value;
72
+ if (value === undefined) {
73
+ return undefined;
74
+ }
75
+ if (value === null) {
76
+ return null;
72
77
  }
73
78
  return {
74
79
 
75
- 'limit': value['limit'],
76
- 'type': value['type'],
80
+ 'limit': value.limit,
81
+ 'type': value.type,
77
82
  };
78
83
  }
79
84
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -43,7 +43,9 @@ export interface BlobStoreQuotaResultXO {
43
43
  * Check if a given object implements the BlobStoreQuotaResultXO interface.
44
44
  */
45
45
  export function instanceOfBlobStoreQuotaResultXO(value: object): boolean {
46
- return true;
46
+ let isInstance = true;
47
+
48
+ return isInstance;
47
49
  }
48
50
 
49
51
  export function BlobStoreQuotaResultXOFromJSON(json: any): BlobStoreQuotaResultXO {
@@ -51,26 +53,29 @@ export function BlobStoreQuotaResultXOFromJSON(json: any): BlobStoreQuotaResultX
51
53
  }
52
54
 
53
55
  export function BlobStoreQuotaResultXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlobStoreQuotaResultXO {
54
- if (json == null) {
56
+ if ((json === undefined) || (json === null)) {
55
57
  return json;
56
58
  }
57
59
  return {
58
60
 
59
- 'blobStoreName': json['blobStoreName'] == null ? undefined : json['blobStoreName'],
60
- 'isViolation': json['isViolation'] == null ? undefined : json['isViolation'],
61
- 'message': json['message'] == null ? undefined : json['message'],
61
+ 'blobStoreName': !exists(json, 'blobStoreName') ? undefined : json['blobStoreName'],
62
+ 'isViolation': !exists(json, 'isViolation') ? undefined : json['isViolation'],
63
+ 'message': !exists(json, 'message') ? undefined : json['message'],
62
64
  };
63
65
  }
64
66
 
65
67
  export function BlobStoreQuotaResultXOToJSON(value?: BlobStoreQuotaResultXO | null): any {
66
- if (value == null) {
67
- return value;
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
68
73
  }
69
74
  return {
70
75
 
71
- 'blobStoreName': value['blobStoreName'],
72
- 'isViolation': value['isViolation'],
73
- 'message': value['message'],
76
+ 'blobStoreName': value.blobStoreName,
77
+ 'isViolation': value.isViolation,
78
+ 'message': value.message,
74
79
  };
75
80
  }
76
81
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -31,8 +31,10 @@ export interface BowerAttributes {
31
31
  * Check if a given object implements the BowerAttributes interface.
32
32
  */
33
33
  export function instanceOfBowerAttributes(value: object): boolean {
34
- if (!('rewritePackageUrls' in value)) return false;
35
- return true;
34
+ let isInstance = true;
35
+ isInstance = isInstance && "rewritePackageUrls" in value;
36
+
37
+ return isInstance;
36
38
  }
37
39
 
38
40
  export function BowerAttributesFromJSON(json: any): BowerAttributes {
@@ -40,7 +42,7 @@ export function BowerAttributesFromJSON(json: any): BowerAttributes {
40
42
  }
41
43
 
42
44
  export function BowerAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): BowerAttributes {
43
- if (json == null) {
45
+ if ((json === undefined) || (json === null)) {
44
46
  return json;
45
47
  }
46
48
  return {
@@ -50,12 +52,15 @@ export function BowerAttributesFromJSONTyped(json: any, ignoreDiscriminator: boo
50
52
  }
51
53
 
52
54
  export function BowerAttributesToJSON(value?: BowerAttributes | null): any {
53
- if (value == null) {
54
- return value;
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
55
60
  }
56
61
  return {
57
62
 
58
- 'rewritePackageUrls': value['rewritePackageUrls'],
63
+ 'rewritePackageUrls': value.rewritePackageUrls,
59
64
  };
60
65
  }
61
66
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  import type { GroupAttributes } from './GroupAttributes';
17
17
  import {
18
18
  GroupAttributesFromJSON,
@@ -62,11 +62,13 @@ export interface BowerGroupRepositoryApiRequest {
62
62
  * Check if a given object implements the BowerGroupRepositoryApiRequest interface.
63
63
  */
64
64
  export function instanceOfBowerGroupRepositoryApiRequest(value: object): boolean {
65
- if (!('group' in value)) return false;
66
- if (!('name' in value)) return false;
67
- if (!('online' in value)) return false;
68
- if (!('storage' in value)) return false;
69
- return true;
65
+ let isInstance = true;
66
+ isInstance = isInstance && "group" in value;
67
+ isInstance = isInstance && "name" in value;
68
+ isInstance = isInstance && "online" in value;
69
+ isInstance = isInstance && "storage" in value;
70
+
71
+ return isInstance;
70
72
  }
71
73
 
72
74
  export function BowerGroupRepositoryApiRequestFromJSON(json: any): BowerGroupRepositoryApiRequest {
@@ -74,7 +76,7 @@ export function BowerGroupRepositoryApiRequestFromJSON(json: any): BowerGroupRep
74
76
  }
75
77
 
76
78
  export function BowerGroupRepositoryApiRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BowerGroupRepositoryApiRequest {
77
- if (json == null) {
79
+ if ((json === undefined) || (json === null)) {
78
80
  return json;
79
81
  }
80
82
  return {
@@ -87,15 +89,18 @@ export function BowerGroupRepositoryApiRequestFromJSONTyped(json: any, ignoreDis
87
89
  }
88
90
 
89
91
  export function BowerGroupRepositoryApiRequestToJSON(value?: BowerGroupRepositoryApiRequest | null): any {
90
- if (value == null) {
91
- return value;
92
+ if (value === undefined) {
93
+ return undefined;
94
+ }
95
+ if (value === null) {
96
+ return null;
92
97
  }
93
98
  return {
94
99
 
95
- 'group': GroupAttributesToJSON(value['group']),
96
- 'name': value['name'],
97
- 'online': value['online'],
98
- 'storage': StorageAttributesToJSON(value['storage']),
100
+ 'group': GroupAttributesToJSON(value.group),
101
+ 'name': value.name,
102
+ 'online': value.online,
103
+ 'storage': StorageAttributesToJSON(value.storage),
99
104
  };
100
105
  }
101
106
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime';
15
+ import { exists, mapValues } from '../runtime';
16
16
  import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
17
17
  import {
18
18
  CleanupPolicyAttributesFromJSON,
@@ -74,10 +74,12 @@ export interface BowerHostedRepositoryApiRequest {
74
74
  * Check if a given object implements the BowerHostedRepositoryApiRequest interface.
75
75
  */
76
76
  export function instanceOfBowerHostedRepositoryApiRequest(value: object): boolean {
77
- if (!('name' in value)) return false;
78
- if (!('online' in value)) return false;
79
- if (!('storage' in value)) return false;
80
- return true;
77
+ let isInstance = true;
78
+ isInstance = isInstance && "name" in value;
79
+ isInstance = isInstance && "online" in value;
80
+ isInstance = isInstance && "storage" in value;
81
+
82
+ return isInstance;
81
83
  }
82
84
 
83
85
  export function BowerHostedRepositoryApiRequestFromJSON(json: any): BowerHostedRepositoryApiRequest {
@@ -85,13 +87,13 @@ export function BowerHostedRepositoryApiRequestFromJSON(json: any): BowerHostedR
85
87
  }
86
88
 
87
89
  export function BowerHostedRepositoryApiRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BowerHostedRepositoryApiRequest {
88
- if (json == null) {
90
+ if ((json === undefined) || (json === null)) {
89
91
  return json;
90
92
  }
91
93
  return {
92
94
 
93
- 'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
94
- 'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
95
+ 'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
96
+ 'component': !exists(json, 'component') ? undefined : ComponentAttributesFromJSON(json['component']),
95
97
  'name': json['name'],
96
98
  'online': json['online'],
97
99
  'storage': HostedStorageAttributesFromJSON(json['storage']),
@@ -99,16 +101,19 @@ export function BowerHostedRepositoryApiRequestFromJSONTyped(json: any, ignoreDi
99
101
  }
100
102
 
101
103
  export function BowerHostedRepositoryApiRequestToJSON(value?: BowerHostedRepositoryApiRequest | null): any {
102
- if (value == null) {
103
- return value;
104
+ if (value === undefined) {
105
+ return undefined;
106
+ }
107
+ if (value === null) {
108
+ return null;
104
109
  }
105
110
  return {
106
111
 
107
- 'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
108
- 'component': ComponentAttributesToJSON(value['component']),
109
- 'name': value['name'],
110
- 'online': value['online'],
111
- 'storage': HostedStorageAttributesToJSON(value['storage']),
112
+ 'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
113
+ 'component': ComponentAttributesToJSON(value.component),
114
+ 'name': value.name,
115
+ 'online': value.online,
116
+ 'storage': HostedStorageAttributesToJSON(value.storage),
112
117
  };
113
118
  }
114
119