@huaweicloud/huaweicloud-sdk-swr 3.1.44 → 3.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/huaweicloud-sdk-swr.ts +4 -0
- package/package.json +4 -4
- package/v2/{SwrClient.js → SwrClient.ts} +1513 -949
- package/v2/SwrRegion.ts +62 -0
- package/v2/model/AuthInfo.ts +12 -0
- package/v2/model/CreateImageSyncRepoRequest.ts +45 -0
- package/v2/model/CreateImageSyncRepoRequestBody.ts +28 -0
- package/v2/model/CreateImageSyncRepoResponse.ts +8 -0
- package/v2/model/CreateManualImageSyncRepoRequest.ts +45 -0
- package/v2/model/CreateManualImageSyncRepoRequestBody.ts +29 -0
- package/v2/model/CreateManualImageSyncRepoResponse.ts +13 -0
- package/v2/model/CreateNamespaceAuthRequest.ts +39 -0
- package/v2/model/CreateNamespaceAuthResponse.ts +8 -0
- package/v2/model/CreateNamespaceRequest.ts +33 -0
- package/v2/model/CreateNamespaceRequestBody.ts +12 -0
- package/v2/model/CreateNamespaceResponse.ts +8 -0
- package/v2/model/CreateRepoDomainsRequest.ts +45 -0
- package/v2/model/CreateRepoDomainsRequestBody.ts +35 -0
- package/v2/model/CreateRepoDomainsResponse.ts +8 -0
- package/v2/model/CreateRepoRequest.ts +39 -0
- package/v2/model/CreateRepoRequestBody.ts +49 -0
- package/v2/model/CreateRepoResponse.ts +8 -0
- package/v2/model/CreateRetentionRequest.ts +45 -0
- package/v2/model/CreateRetentionRequestBody.ts +19 -0
- package/v2/model/CreateRetentionResponse.ts +13 -0
- package/v2/model/CreateSecretRequest.ts +32 -0
- package/v2/model/CreateSecretResponse.ts +25 -0
- package/v2/model/CreateTriggerRequest.ts +45 -0
- package/v2/model/CreateTriggerRequestBody.ts +110 -0
- package/v2/model/CreateTriggerResponse.ts +8 -0
- package/v2/model/CreateUserRepositoryAuthRequest.ts +45 -0
- package/v2/model/CreateUserRepositoryAuthResponse.ts +8 -0
- package/v2/model/DeleteImageSyncRepoRequest.ts +45 -0
- package/v2/model/DeleteImageSyncRepoRequestBody.ts +18 -0
- package/v2/model/DeleteImageSyncRepoResponse.ts +8 -0
- package/v2/model/DeleteNamespaceAuthRequest.ts +38 -0
- package/v2/model/DeleteNamespaceAuthResponse.ts +8 -0
- package/v2/model/DeleteNamespacesRequest.ts +33 -0
- package/v2/model/DeleteNamespacesResponse.ts +8 -0
- package/v2/model/DeleteRepoDomainsRequest.ts +51 -0
- package/v2/model/DeleteRepoDomainsResponse.ts +8 -0
- package/v2/model/DeleteRepoRequest.ts +39 -0
- package/v2/model/DeleteRepoResponse.ts +8 -0
- package/v2/model/DeleteRepoTagRequest.ts +45 -0
- package/v2/model/DeleteRepoTagResponse.ts +8 -0
- package/v2/model/DeleteRetentionRequest.ts +51 -0
- package/v2/model/DeleteRetentionResponse.ts +8 -0
- package/v2/model/DeleteTriggerRequest.ts +45 -0
- package/v2/model/DeleteTriggerResponse.ts +8 -0
- package/v2/model/DeleteUserRepositoryAuthRequest.ts +44 -0
- package/v2/model/DeleteUserRepositoryAuthResponse.ts +8 -0
- package/v2/model/ImageTag.ts +6 -0
- package/v2/model/Link.ts +18 -0
- package/v2/model/ListApiVersionsRequest.ts +27 -0
- package/v2/model/ListApiVersionsResponse.ts +14 -0
- package/v2/model/ListImageAutoSyncReposDetailsRequest.ts +39 -0
- package/v2/model/ListImageAutoSyncReposDetailsResponse.ts +14 -0
- package/v2/model/ListNamespacesRequest.ts +37 -0
- package/v2/model/ListNamespacesResponse.ts +14 -0
- package/v2/model/ListQuotasRequest.ts +27 -0
- package/v2/model/ListQuotasResponse.ts +14 -0
- package/v2/model/ListRepoDomainsRequest.ts +39 -0
- package/v2/model/ListRepoDomainsResponse.ts +14 -0
- package/v2/model/ListReposDetailsRequest.ts +79 -0
- package/v2/model/ListReposDetailsResponse.ts +25 -0
- package/v2/model/ListRepositoryTagsRequest.ts +81 -0
- package/v2/model/ListRepositoryTagsResponse.ts +25 -0
- package/v2/model/ListRetentionHistoriesRequest.ts +44 -0
- package/v2/model/ListRetentionHistoriesResponse.ts +36 -0
- package/v2/model/ListRetentionsRequest.ts +39 -0
- package/v2/model/ListRetentionsResponse.ts +14 -0
- package/v2/model/ListSharedReposDetailsRequest.ts +79 -0
- package/v2/model/ListSharedReposDetailsResponse.ts +25 -0
- package/v2/model/ListTriggersDetailsRequest.ts +39 -0
- package/v2/model/ListTriggersDetailsResponse.ts +14 -0
- package/v2/model/Retention.ts +31 -0
- package/v2/model/RetentionLog.ts +66 -0
- package/v2/model/Rule.ts +40 -0
- package/v2/model/ShowAccessDomainRequest.ts +51 -0
- package/v2/model/ShowAccessDomainResponse.ts +86 -0
- package/v2/model/ShowApiVersionRequest.ts +39 -0
- package/v2/model/ShowApiVersionResponse.ts +14 -0
- package/v2/model/ShowNamespace.ts +46 -0
- package/v2/model/ShowNamespaceAuthRequest.ts +33 -0
- package/v2/model/ShowNamespaceAuthResponse.ts +52 -0
- package/v2/model/ShowNamespaceRequest.ts +33 -0
- package/v2/model/ShowNamespaceResponse.ts +44 -0
- package/v2/model/ShowQuota.ts +42 -0
- package/v2/model/ShowRepoDomainsResponse.ts +90 -0
- package/v2/model/ShowReposResp.ts +162 -0
- package/v2/model/ShowReposTagResp.ts +150 -0
- package/v2/model/ShowRepositoryRequest.ts +39 -0
- package/v2/model/ShowRepositoryResponse.ts +146 -0
- package/v2/model/ShowRetentionRequest.ts +51 -0
- package/v2/model/ShowRetentionResponse.ts +29 -0
- package/v2/model/ShowSyncJobRequest.ts +45 -0
- package/v2/model/ShowSyncJobResponse.ts +25 -0
- package/v2/model/ShowTriggerRequest.ts +45 -0
- package/v2/model/ShowTriggerResponse.ts +138 -0
- package/v2/model/ShowUserRepositoryAuthRequest.ts +39 -0
- package/v2/model/ShowUserRepositoryAuthResponse.ts +41 -0
- package/v2/model/SyncJob.ts +90 -0
- package/v2/model/SyncRepo.ts +72 -0
- package/v2/model/TagSelector.ts +18 -0
- package/v2/model/Trigger.ts +151 -0
- package/v2/model/TriggerHistories.ts +120 -0
- package/v2/model/UpdateNamespaceAuthRequest.ts +39 -0
- package/v2/model/UpdateNamespaceAuthResponse.ts +8 -0
- package/v2/model/UpdateRepoDomainsRequest.ts +57 -0
- package/v2/model/UpdateRepoDomainsRequestBody.ts +23 -0
- package/v2/model/UpdateRepoDomainsResponse.ts +8 -0
- package/v2/model/UpdateRepoRequest.ts +45 -0
- package/v2/model/UpdateRepoRequestBody.ts +43 -0
- package/v2/model/UpdateRepoResponse.ts +8 -0
- package/v2/model/UpdateRetentionRequest.ts +57 -0
- package/v2/model/UpdateRetentionRequestBody.ts +19 -0
- package/v2/model/UpdateRetentionResponse.ts +8 -0
- package/v2/model/UpdateTriggerRequest.ts +51 -0
- package/v2/model/UpdateTriggerRequestBody.ts +12 -0
- package/v2/model/UpdateTriggerResponse.ts +8 -0
- package/v2/model/UpdateUserRepositoryAuthRequest.ts +45 -0
- package/v2/model/UpdateUserRepositoryAuthResponse.ts +8 -0
- package/v2/model/UserAuth.ts +46 -0
- package/v2/model/VersionDetail.ts +49 -0
- package/v2/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-swr.d.ts +0 -2
- package/huaweicloud-sdk-swr.js +0 -31
- package/v2/SwrClient.d.ts +0 -1332
- package/v2/SwrRegion.d.ts +0 -23
- package/v2/SwrRegion.js +0 -59
- package/v2/model/AuthInfo.d.ts +0 -5
- package/v2/model/AuthInfo.js +0 -14
- package/v2/model/CreateImageSyncRepoRequest.d.ts +0 -22
- package/v2/model/CreateImageSyncRepoRequest.js +0 -47
- package/v2/model/CreateImageSyncRepoRequestBody.d.ts +0 -11
- package/v2/model/CreateImageSyncRepoRequestBody.js +0 -27
- package/v2/model/CreateImageSyncRepoResponse.d.ts +0 -4
- package/v2/model/CreateImageSyncRepoResponse.js +0 -27
- package/v2/model/CreateManualImageSyncRepoRequest.d.ts +0 -22
- package/v2/model/CreateManualImageSyncRepoRequest.js +0 -47
- package/v2/model/CreateManualImageSyncRepoRequestBody.d.ts +0 -11
- package/v2/model/CreateManualImageSyncRepoRequestBody.js +0 -28
- package/v2/model/CreateManualImageSyncRepoResponse.d.ts +0 -6
- package/v2/model/CreateManualImageSyncRepoResponse.js +0 -31
- package/v2/model/CreateNamespaceAuthRequest.d.ts +0 -20
- package/v2/model/CreateNamespaceAuthRequest.js +0 -42
- package/v2/model/CreateNamespaceAuthResponse.d.ts +0 -4
- package/v2/model/CreateNamespaceAuthResponse.js +0 -27
- package/v2/model/CreateNamespaceRequest.d.ts +0 -18
- package/v2/model/CreateNamespaceRequest.js +0 -37
- package/v2/model/CreateNamespaceRequestBody.d.ts +0 -5
- package/v2/model/CreateNamespaceRequestBody.js +0 -14
- package/v2/model/CreateNamespaceResponse.d.ts +0 -4
- package/v2/model/CreateNamespaceResponse.js +0 -27
- package/v2/model/CreateRepoDomainsRequest.d.ts +0 -22
- package/v2/model/CreateRepoDomainsRequest.js +0 -47
- package/v2/model/CreateRepoDomainsRequestBody.d.ts +0 -13
- package/v2/model/CreateRepoDomainsRequestBody.js +0 -38
- package/v2/model/CreateRepoDomainsResponse.d.ts +0 -4
- package/v2/model/CreateRepoDomainsResponse.js +0 -27
- package/v2/model/CreateRepoRequest.d.ts +0 -20
- package/v2/model/CreateRepoRequest.js +0 -42
- package/v2/model/CreateRepoRequestBody.d.ts +0 -27
- package/v2/model/CreateRepoRequestBody.js +0 -52
- package/v2/model/CreateRepoResponse.d.ts +0 -4
- package/v2/model/CreateRepoResponse.js +0 -27
- package/v2/model/CreateRetentionRequest.d.ts +0 -22
- package/v2/model/CreateRetentionRequest.js +0 -47
- package/v2/model/CreateRetentionRequestBody.d.ts +0 -8
- package/v2/model/CreateRetentionRequestBody.js +0 -19
- package/v2/model/CreateRetentionResponse.d.ts +0 -6
- package/v2/model/CreateRetentionResponse.js +0 -31
- package/v2/model/CreateSecretRequest.d.ts +0 -17
- package/v2/model/CreateSecretRequest.js +0 -37
- package/v2/model/CreateSecretResponse.d.ts +0 -15
- package/v2/model/CreateSecretResponse.js +0 -45
- package/v2/model/CreateTriggerRequest.d.ts +0 -22
- package/v2/model/CreateTriggerRequest.js +0 -47
- package/v2/model/CreateTriggerRequestBody.d.ts +0 -39
- package/v2/model/CreateTriggerRequestBody.js +0 -125
- package/v2/model/CreateTriggerResponse.d.ts +0 -4
- package/v2/model/CreateTriggerResponse.js +0 -27
- package/v2/model/CreateUserRepositoryAuthRequest.d.ts +0 -22
- package/v2/model/CreateUserRepositoryAuthRequest.js +0 -47
- package/v2/model/CreateUserRepositoryAuthResponse.d.ts +0 -4
- package/v2/model/CreateUserRepositoryAuthResponse.js +0 -27
- package/v2/model/DeleteImageSyncRepoRequest.d.ts +0 -22
- package/v2/model/DeleteImageSyncRepoRequest.js +0 -47
- package/v2/model/DeleteImageSyncRepoRequestBody.d.ts +0 -7
- package/v2/model/DeleteImageSyncRepoRequestBody.js +0 -19
- package/v2/model/DeleteImageSyncRepoResponse.d.ts +0 -4
- package/v2/model/DeleteImageSyncRepoResponse.js +0 -27
- package/v2/model/DeleteNamespaceAuthRequest.d.ts +0 -19
- package/v2/model/DeleteNamespaceAuthRequest.js +0 -42
- package/v2/model/DeleteNamespaceAuthResponse.d.ts +0 -4
- package/v2/model/DeleteNamespaceAuthResponse.js +0 -27
- package/v2/model/DeleteNamespacesRequest.d.ts +0 -17
- package/v2/model/DeleteNamespacesRequest.js +0 -38
- package/v2/model/DeleteNamespacesResponse.d.ts +0 -4
- package/v2/model/DeleteNamespacesResponse.js +0 -27
- package/v2/model/DeleteRepoDomainsRequest.d.ts +0 -23
- package/v2/model/DeleteRepoDomainsRequest.js +0 -58
- package/v2/model/DeleteRepoDomainsResponse.d.ts +0 -4
- package/v2/model/DeleteRepoDomainsResponse.js +0 -27
- package/v2/model/DeleteRepoRequest.d.ts +0 -19
- package/v2/model/DeleteRepoRequest.js +0 -43
- package/v2/model/DeleteRepoResponse.d.ts +0 -4
- package/v2/model/DeleteRepoResponse.js +0 -27
- package/v2/model/DeleteRepoTagRequest.d.ts +0 -21
- package/v2/model/DeleteRepoTagRequest.js +0 -48
- package/v2/model/DeleteRepoTagResponse.d.ts +0 -4
- package/v2/model/DeleteRepoTagResponse.js +0 -27
- package/v2/model/DeleteRetentionRequest.d.ts +0 -23
- package/v2/model/DeleteRetentionRequest.js +0 -58
- package/v2/model/DeleteRetentionResponse.d.ts +0 -4
- package/v2/model/DeleteRetentionResponse.js +0 -27
- package/v2/model/DeleteTriggerRequest.d.ts +0 -21
- package/v2/model/DeleteTriggerRequest.js +0 -48
- package/v2/model/DeleteTriggerResponse.d.ts +0 -4
- package/v2/model/DeleteTriggerResponse.js +0 -27
- package/v2/model/DeleteUserRepositoryAuthRequest.d.ts +0 -21
- package/v2/model/DeleteUserRepositoryAuthRequest.js +0 -47
- package/v2/model/DeleteUserRepositoryAuthResponse.d.ts +0 -4
- package/v2/model/DeleteUserRepositoryAuthResponse.js +0 -27
- package/v2/model/ImageTag.d.ts +0 -3
- package/v2/model/ImageTag.js +0 -9
- package/v2/model/Link.d.ts +0 -7
- package/v2/model/Link.js +0 -19
- package/v2/model/ListApiVersionsRequest.d.ts +0 -15
- package/v2/model/ListApiVersionsRequest.js +0 -33
- package/v2/model/ListApiVersionsResponse.d.ts +0 -7
- package/v2/model/ListApiVersionsResponse.js +0 -31
- package/v2/model/ListImageAutoSyncReposDetailsRequest.d.ts +0 -19
- package/v2/model/ListImageAutoSyncReposDetailsRequest.js +0 -43
- package/v2/model/ListImageAutoSyncReposDetailsResponse.d.ts +0 -7
- package/v2/model/ListImageAutoSyncReposDetailsResponse.js +0 -31
- package/v2/model/ListNamespacesRequest.d.ts +0 -19
- package/v2/model/ListNamespacesRequest.js +0 -41
- package/v2/model/ListNamespacesResponse.d.ts +0 -7
- package/v2/model/ListNamespacesResponse.js +0 -31
- package/v2/model/ListQuotasRequest.d.ts +0 -15
- package/v2/model/ListQuotasRequest.js +0 -33
- package/v2/model/ListQuotasResponse.d.ts +0 -7
- package/v2/model/ListQuotasResponse.js +0 -31
- package/v2/model/ListRepoDomainsRequest.d.ts +0 -19
- package/v2/model/ListRepoDomainsRequest.js +0 -43
- package/v2/model/ListRepoDomainsResponse.d.ts +0 -7
- package/v2/model/ListRepoDomainsResponse.js +0 -31
- package/v2/model/ListReposDetailsRequest.d.ts +0 -35
- package/v2/model/ListReposDetailsRequest.js +0 -85
- package/v2/model/ListReposDetailsResponse.d.ts +0 -11
- package/v2/model/ListReposDetailsResponse.js +0 -45
- package/v2/model/ListRepositoryTagsRequest.d.ts +0 -35
- package/v2/model/ListRepositoryTagsRequest.js +0 -87
- package/v2/model/ListRepositoryTagsResponse.d.ts +0 -11
- package/v2/model/ListRepositoryTagsResponse.js +0 -45
- package/v2/model/ListRetentionHistoriesRequest.d.ts +0 -21
- package/v2/model/ListRetentionHistoriesRequest.js +0 -47
- package/v2/model/ListRetentionHistoriesResponse.d.ts +0 -15
- package/v2/model/ListRetentionHistoriesResponse.js +0 -59
- package/v2/model/ListRetentionsRequest.d.ts +0 -19
- package/v2/model/ListRetentionsRequest.js +0 -43
- package/v2/model/ListRetentionsResponse.d.ts +0 -7
- package/v2/model/ListRetentionsResponse.js +0 -31
- package/v2/model/ListSharedReposDetailsRequest.d.ts +0 -35
- package/v2/model/ListSharedReposDetailsRequest.js +0 -85
- package/v2/model/ListSharedReposDetailsResponse.d.ts +0 -11
- package/v2/model/ListSharedReposDetailsResponse.js +0 -45
- package/v2/model/ListTriggersDetailsRequest.d.ts +0 -19
- package/v2/model/ListTriggersDetailsRequest.js +0 -43
- package/v2/model/ListTriggersDetailsResponse.d.ts +0 -7
- package/v2/model/ListTriggersDetailsResponse.js +0 -31
- package/v2/model/Retention.d.ts +0 -12
- package/v2/model/Retention.js +0 -29
- package/v2/model/RetentionLog.d.ts +0 -23
- package/v2/model/RetentionLog.js +0 -74
- package/v2/model/Rule.d.ts +0 -20
- package/v2/model/Rule.js +0 -43
- package/v2/model/ShowAccessDomainRequest.d.ts +0 -23
- package/v2/model/ShowAccessDomainRequest.js +0 -58
- package/v2/model/ShowAccessDomainResponse.d.ts +0 -34
- package/v2/model/ShowAccessDomainResponse.js +0 -105
- package/v2/model/ShowApiVersionRequest.d.ts +0 -19
- package/v2/model/ShowApiVersionRequest.js +0 -48
- package/v2/model/ShowApiVersionResponse.d.ts +0 -7
- package/v2/model/ShowApiVersionResponse.js +0 -31
- package/v2/model/ShowNamespace.d.ts +0 -22
- package/v2/model/ShowNamespace.js +0 -49
- package/v2/model/ShowNamespaceAuthRequest.d.ts +0 -17
- package/v2/model/ShowNamespaceAuthRequest.js +0 -38
- package/v2/model/ShowNamespaceAuthResponse.d.ts +0 -21
- package/v2/model/ShowNamespaceAuthResponse.js +0 -77
- package/v2/model/ShowNamespaceRequest.d.ts +0 -17
- package/v2/model/ShowNamespaceRequest.js +0 -38
- package/v2/model/ShowNamespaceResponse.d.ts +0 -23
- package/v2/model/ShowNamespaceResponse.js +0 -63
- package/v2/model/ShowQuota.d.ts +0 -15
- package/v2/model/ShowQuota.js +0 -49
- package/v2/model/ShowRepoDomainsResponse.d.ts +0 -31
- package/v2/model/ShowRepoDomainsResponse.js +0 -94
- package/v2/model/ShowReposResp.d.ts +0 -55
- package/v2/model/ShowReposResp.js +0 -179
- package/v2/model/ShowReposTagResp.d.ts +0 -51
- package/v2/model/ShowReposTagResp.js +0 -164
- package/v2/model/ShowRepositoryRequest.d.ts +0 -19
- package/v2/model/ShowRepositoryRequest.js +0 -43
- package/v2/model/ShowRepositoryResponse.d.ts +0 -56
- package/v2/model/ShowRepositoryResponse.js +0 -179
- package/v2/model/ShowRetentionRequest.d.ts +0 -23
- package/v2/model/ShowRetentionRequest.js +0 -58
- package/v2/model/ShowRetentionResponse.d.ts +0 -13
- package/v2/model/ShowRetentionResponse.js +0 -43
- package/v2/model/ShowSyncJobRequest.d.ts +0 -21
- package/v2/model/ShowSyncJobRequest.js +0 -48
- package/v2/model/ShowSyncJobResponse.d.ts +0 -11
- package/v2/model/ShowSyncJobResponse.js +0 -45
- package/v2/model/ShowTriggerRequest.d.ts +0 -21
- package/v2/model/ShowTriggerRequest.js +0 -48
- package/v2/model/ShowTriggerResponse.d.ts +0 -53
- package/v2/model/ShowTriggerResponse.js +0 -177
- package/v2/model/ShowUserRepositoryAuthRequest.d.ts +0 -19
- package/v2/model/ShowUserRepositoryAuthRequest.js +0 -43
- package/v2/model/ShowUserRepositoryAuthResponse.d.ts +0 -17
- package/v2/model/ShowUserRepositoryAuthResponse.js +0 -63
- package/v2/model/SyncJob.d.ts +0 -31
- package/v2/model/SyncJob.js +0 -79
- package/v2/model/SyncRepo.d.ts +0 -25
- package/v2/model/SyncRepo.js +0 -64
- package/v2/model/TagSelector.d.ts +0 -7
- package/v2/model/TagSelector.js +0 -19
- package/v2/model/Trigger.d.ts +0 -52
- package/v2/model/Trigger.js +0 -174
- package/v2/model/TriggerHistories.d.ts +0 -41
- package/v2/model/TriggerHistories.js +0 -134
- package/v2/model/UpdateNamespaceAuthRequest.d.ts +0 -20
- package/v2/model/UpdateNamespaceAuthRequest.js +0 -42
- package/v2/model/UpdateNamespaceAuthResponse.d.ts +0 -4
- package/v2/model/UpdateNamespaceAuthResponse.js +0 -27
- package/v2/model/UpdateRepoDomainsRequest.d.ts +0 -26
- package/v2/model/UpdateRepoDomainsRequest.js +0 -62
- package/v2/model/UpdateRepoDomainsRequestBody.d.ts +0 -9
- package/v2/model/UpdateRepoDomainsRequestBody.js +0 -23
- package/v2/model/UpdateRepoDomainsResponse.d.ts +0 -4
- package/v2/model/UpdateRepoDomainsResponse.js +0 -27
- package/v2/model/UpdateRepoRequest.d.ts +0 -22
- package/v2/model/UpdateRepoRequest.js +0 -47
- package/v2/model/UpdateRepoRequestBody.d.ts +0 -25
- package/v2/model/UpdateRepoRequestBody.js +0 -47
- package/v2/model/UpdateRepoResponse.d.ts +0 -4
- package/v2/model/UpdateRepoResponse.js +0 -27
- package/v2/model/UpdateRetentionRequest.d.ts +0 -26
- package/v2/model/UpdateRetentionRequest.js +0 -62
- package/v2/model/UpdateRetentionRequestBody.d.ts +0 -8
- package/v2/model/UpdateRetentionRequestBody.js +0 -19
- package/v2/model/UpdateRetentionResponse.d.ts +0 -4
- package/v2/model/UpdateRetentionResponse.js +0 -27
- package/v2/model/UpdateTriggerRequest.d.ts +0 -24
- package/v2/model/UpdateTriggerRequest.js +0 -52
- package/v2/model/UpdateTriggerRequestBody.d.ts +0 -5
- package/v2/model/UpdateTriggerRequestBody.js +0 -14
- package/v2/model/UpdateTriggerResponse.d.ts +0 -4
- package/v2/model/UpdateTriggerResponse.js +0 -27
- package/v2/model/UpdateUserRepositoryAuthRequest.d.ts +0 -22
- package/v2/model/UpdateUserRepositoryAuthRequest.js +0 -47
- package/v2/model/UpdateUserRepositoryAuthResponse.d.ts +0 -4
- package/v2/model/UpdateUserRepositoryAuthResponse.js +0 -27
- package/v2/model/UserAuth.d.ts +0 -22
- package/v2/model/UserAuth.js +0 -54
- package/v2/model/VersionDetail.d.ts +0 -18
- package/v2/model/VersionDetail.js +0 -49
- package/v2/public-api.js +0 -138
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TriggerHistories = void 0;
|
|
4
|
-
var TriggerHistories = /** @class */ (function () {
|
|
5
|
-
function TriggerHistories(action, appType, application, clusterId, clusterName, clusterNs, condition, container, createdAt, creatorName, detail, result, tag) {
|
|
6
|
-
this['action'] = action;
|
|
7
|
-
this['app_type'] = appType;
|
|
8
|
-
this['application'] = application;
|
|
9
|
-
this['cluster_id'] = clusterId;
|
|
10
|
-
this['cluster_name'] = clusterName;
|
|
11
|
-
this['cluster_ns'] = clusterNs;
|
|
12
|
-
this['condition'] = condition;
|
|
13
|
-
this['container'] = container;
|
|
14
|
-
this['created_at'] = createdAt;
|
|
15
|
-
this['creator_name'] = creatorName;
|
|
16
|
-
this['detail'] = detail;
|
|
17
|
-
this['result'] = result;
|
|
18
|
-
this['tag'] = tag;
|
|
19
|
-
}
|
|
20
|
-
TriggerHistories.prototype.withAction = function (action) {
|
|
21
|
-
this['action'] = action;
|
|
22
|
-
return this;
|
|
23
|
-
};
|
|
24
|
-
TriggerHistories.prototype.withAppType = function (appType) {
|
|
25
|
-
this['app_type'] = appType;
|
|
26
|
-
return this;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(TriggerHistories.prototype, "appType", {
|
|
29
|
-
get: function () {
|
|
30
|
-
return this['app_type'];
|
|
31
|
-
},
|
|
32
|
-
set: function (appType) {
|
|
33
|
-
this['app_type'] = appType;
|
|
34
|
-
},
|
|
35
|
-
enumerable: false,
|
|
36
|
-
configurable: true
|
|
37
|
-
});
|
|
38
|
-
TriggerHistories.prototype.withApplication = function (application) {
|
|
39
|
-
this['application'] = application;
|
|
40
|
-
return this;
|
|
41
|
-
};
|
|
42
|
-
TriggerHistories.prototype.withClusterId = function (clusterId) {
|
|
43
|
-
this['cluster_id'] = clusterId;
|
|
44
|
-
return this;
|
|
45
|
-
};
|
|
46
|
-
Object.defineProperty(TriggerHistories.prototype, "clusterId", {
|
|
47
|
-
get: function () {
|
|
48
|
-
return this['cluster_id'];
|
|
49
|
-
},
|
|
50
|
-
set: function (clusterId) {
|
|
51
|
-
this['cluster_id'] = clusterId;
|
|
52
|
-
},
|
|
53
|
-
enumerable: false,
|
|
54
|
-
configurable: true
|
|
55
|
-
});
|
|
56
|
-
TriggerHistories.prototype.withClusterName = function (clusterName) {
|
|
57
|
-
this['cluster_name'] = clusterName;
|
|
58
|
-
return this;
|
|
59
|
-
};
|
|
60
|
-
Object.defineProperty(TriggerHistories.prototype, "clusterName", {
|
|
61
|
-
get: function () {
|
|
62
|
-
return this['cluster_name'];
|
|
63
|
-
},
|
|
64
|
-
set: function (clusterName) {
|
|
65
|
-
this['cluster_name'] = clusterName;
|
|
66
|
-
},
|
|
67
|
-
enumerable: false,
|
|
68
|
-
configurable: true
|
|
69
|
-
});
|
|
70
|
-
TriggerHistories.prototype.withClusterNs = function (clusterNs) {
|
|
71
|
-
this['cluster_ns'] = clusterNs;
|
|
72
|
-
return this;
|
|
73
|
-
};
|
|
74
|
-
Object.defineProperty(TriggerHistories.prototype, "clusterNs", {
|
|
75
|
-
get: function () {
|
|
76
|
-
return this['cluster_ns'];
|
|
77
|
-
},
|
|
78
|
-
set: function (clusterNs) {
|
|
79
|
-
this['cluster_ns'] = clusterNs;
|
|
80
|
-
},
|
|
81
|
-
enumerable: false,
|
|
82
|
-
configurable: true
|
|
83
|
-
});
|
|
84
|
-
TriggerHistories.prototype.withCondition = function (condition) {
|
|
85
|
-
this['condition'] = condition;
|
|
86
|
-
return this;
|
|
87
|
-
};
|
|
88
|
-
TriggerHistories.prototype.withContainer = function (container) {
|
|
89
|
-
this['container'] = container;
|
|
90
|
-
return this;
|
|
91
|
-
};
|
|
92
|
-
TriggerHistories.prototype.withCreatedAt = function (createdAt) {
|
|
93
|
-
this['created_at'] = createdAt;
|
|
94
|
-
return this;
|
|
95
|
-
};
|
|
96
|
-
Object.defineProperty(TriggerHistories.prototype, "createdAt", {
|
|
97
|
-
get: function () {
|
|
98
|
-
return this['created_at'];
|
|
99
|
-
},
|
|
100
|
-
set: function (createdAt) {
|
|
101
|
-
this['created_at'] = createdAt;
|
|
102
|
-
},
|
|
103
|
-
enumerable: false,
|
|
104
|
-
configurable: true
|
|
105
|
-
});
|
|
106
|
-
TriggerHistories.prototype.withCreatorName = function (creatorName) {
|
|
107
|
-
this['creator_name'] = creatorName;
|
|
108
|
-
return this;
|
|
109
|
-
};
|
|
110
|
-
Object.defineProperty(TriggerHistories.prototype, "creatorName", {
|
|
111
|
-
get: function () {
|
|
112
|
-
return this['creator_name'];
|
|
113
|
-
},
|
|
114
|
-
set: function (creatorName) {
|
|
115
|
-
this['creator_name'] = creatorName;
|
|
116
|
-
},
|
|
117
|
-
enumerable: false,
|
|
118
|
-
configurable: true
|
|
119
|
-
});
|
|
120
|
-
TriggerHistories.prototype.withDetail = function (detail) {
|
|
121
|
-
this['detail'] = detail;
|
|
122
|
-
return this;
|
|
123
|
-
};
|
|
124
|
-
TriggerHistories.prototype.withResult = function (result) {
|
|
125
|
-
this['result'] = result;
|
|
126
|
-
return this;
|
|
127
|
-
};
|
|
128
|
-
TriggerHistories.prototype.withTag = function (tag) {
|
|
129
|
-
this['tag'] = tag;
|
|
130
|
-
return this;
|
|
131
|
-
};
|
|
132
|
-
return TriggerHistories;
|
|
133
|
-
}());
|
|
134
|
-
exports.TriggerHistories = TriggerHistories;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { UserAuth } from './UserAuth';
|
|
2
|
-
export declare class UpdateNamespaceAuthRequest {
|
|
3
|
-
private 'Content-Type';
|
|
4
|
-
namespace: string;
|
|
5
|
-
body?: Array<UserAuth>;
|
|
6
|
-
constructor(contentType?: any, namespace?: any);
|
|
7
|
-
withContentType(contentType: UpdateNamespaceAuthRequestContentTypeEnum): UpdateNamespaceAuthRequest;
|
|
8
|
-
set contentType(contentType: UpdateNamespaceAuthRequestContentTypeEnum | undefined);
|
|
9
|
-
get contentType(): UpdateNamespaceAuthRequestContentTypeEnum | undefined;
|
|
10
|
-
withNamespace(namespace: string): UpdateNamespaceAuthRequest;
|
|
11
|
-
withBody(body: Array<UserAuth>): UpdateNamespaceAuthRequest;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum UpdateNamespaceAuthRequestContentTypeEnum {
|
|
18
|
-
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
19
|
-
APPLICATION_JSON = "application/json"
|
|
20
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateNamespaceAuthRequestContentTypeEnum = exports.UpdateNamespaceAuthRequest = void 0;
|
|
4
|
-
var UpdateNamespaceAuthRequest = /** @class */ (function () {
|
|
5
|
-
function UpdateNamespaceAuthRequest(contentType, namespace) {
|
|
6
|
-
this['Content-Type'] = contentType;
|
|
7
|
-
this['namespace'] = namespace;
|
|
8
|
-
}
|
|
9
|
-
UpdateNamespaceAuthRequest.prototype.withContentType = function (contentType) {
|
|
10
|
-
this['Content-Type'] = contentType;
|
|
11
|
-
return this;
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(UpdateNamespaceAuthRequest.prototype, "contentType", {
|
|
14
|
-
get: function () {
|
|
15
|
-
return this['Content-Type'];
|
|
16
|
-
},
|
|
17
|
-
set: function (contentType) {
|
|
18
|
-
this['Content-Type'] = contentType;
|
|
19
|
-
},
|
|
20
|
-
enumerable: false,
|
|
21
|
-
configurable: true
|
|
22
|
-
});
|
|
23
|
-
UpdateNamespaceAuthRequest.prototype.withNamespace = function (namespace) {
|
|
24
|
-
this['namespace'] = namespace;
|
|
25
|
-
return this;
|
|
26
|
-
};
|
|
27
|
-
UpdateNamespaceAuthRequest.prototype.withBody = function (body) {
|
|
28
|
-
this['body'] = body;
|
|
29
|
-
return this;
|
|
30
|
-
};
|
|
31
|
-
return UpdateNamespaceAuthRequest;
|
|
32
|
-
}());
|
|
33
|
-
exports.UpdateNamespaceAuthRequest = UpdateNamespaceAuthRequest;
|
|
34
|
-
/**
|
|
35
|
-
* @export
|
|
36
|
-
* @enum {string}
|
|
37
|
-
*/
|
|
38
|
-
var UpdateNamespaceAuthRequestContentTypeEnum;
|
|
39
|
-
(function (UpdateNamespaceAuthRequestContentTypeEnum) {
|
|
40
|
-
UpdateNamespaceAuthRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
41
|
-
UpdateNamespaceAuthRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
42
|
-
})(UpdateNamespaceAuthRequestContentTypeEnum || (exports.UpdateNamespaceAuthRequestContentTypeEnum = UpdateNamespaceAuthRequestContentTypeEnum = {}));
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.UpdateNamespaceAuthResponse = void 0;
|
|
19
|
-
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
-
var UpdateNamespaceAuthResponse = /** @class */ (function (_super) {
|
|
21
|
-
__extends(UpdateNamespaceAuthResponse, _super);
|
|
22
|
-
function UpdateNamespaceAuthResponse() {
|
|
23
|
-
return _super.call(this) || this;
|
|
24
|
-
}
|
|
25
|
-
return UpdateNamespaceAuthResponse;
|
|
26
|
-
}(SdkResponse_1.SdkResponse));
|
|
27
|
-
exports.UpdateNamespaceAuthResponse = UpdateNamespaceAuthResponse;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { UpdateRepoDomainsRequestBody } from './UpdateRepoDomainsRequestBody';
|
|
2
|
-
export declare class UpdateRepoDomainsRequest {
|
|
3
|
-
private 'Content-Type';
|
|
4
|
-
namespace: string;
|
|
5
|
-
repository: string;
|
|
6
|
-
private 'access_domain';
|
|
7
|
-
body?: UpdateRepoDomainsRequestBody;
|
|
8
|
-
constructor(contentType?: any, namespace?: any, repository?: any, accessDomain?: any);
|
|
9
|
-
withContentType(contentType: UpdateRepoDomainsRequestContentTypeEnum): UpdateRepoDomainsRequest;
|
|
10
|
-
set contentType(contentType: UpdateRepoDomainsRequestContentTypeEnum | undefined);
|
|
11
|
-
get contentType(): UpdateRepoDomainsRequestContentTypeEnum | undefined;
|
|
12
|
-
withNamespace(namespace: string): UpdateRepoDomainsRequest;
|
|
13
|
-
withRepository(repository: string): UpdateRepoDomainsRequest;
|
|
14
|
-
withAccessDomain(accessDomain: string): UpdateRepoDomainsRequest;
|
|
15
|
-
set accessDomain(accessDomain: string | undefined);
|
|
16
|
-
get accessDomain(): string | undefined;
|
|
17
|
-
withBody(body: UpdateRepoDomainsRequestBody): UpdateRepoDomainsRequest;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @export
|
|
21
|
-
* @enum {string}
|
|
22
|
-
*/
|
|
23
|
-
export declare enum UpdateRepoDomainsRequestContentTypeEnum {
|
|
24
|
-
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
25
|
-
APPLICATION_JSON = "application/json"
|
|
26
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateRepoDomainsRequestContentTypeEnum = exports.UpdateRepoDomainsRequest = void 0;
|
|
4
|
-
var UpdateRepoDomainsRequest = /** @class */ (function () {
|
|
5
|
-
function UpdateRepoDomainsRequest(contentType, namespace, repository, accessDomain) {
|
|
6
|
-
this['Content-Type'] = contentType;
|
|
7
|
-
this['namespace'] = namespace;
|
|
8
|
-
this['repository'] = repository;
|
|
9
|
-
this['access_domain'] = accessDomain;
|
|
10
|
-
}
|
|
11
|
-
UpdateRepoDomainsRequest.prototype.withContentType = function (contentType) {
|
|
12
|
-
this['Content-Type'] = contentType;
|
|
13
|
-
return this;
|
|
14
|
-
};
|
|
15
|
-
Object.defineProperty(UpdateRepoDomainsRequest.prototype, "contentType", {
|
|
16
|
-
get: function () {
|
|
17
|
-
return this['Content-Type'];
|
|
18
|
-
},
|
|
19
|
-
set: function (contentType) {
|
|
20
|
-
this['Content-Type'] = contentType;
|
|
21
|
-
},
|
|
22
|
-
enumerable: false,
|
|
23
|
-
configurable: true
|
|
24
|
-
});
|
|
25
|
-
UpdateRepoDomainsRequest.prototype.withNamespace = function (namespace) {
|
|
26
|
-
this['namespace'] = namespace;
|
|
27
|
-
return this;
|
|
28
|
-
};
|
|
29
|
-
UpdateRepoDomainsRequest.prototype.withRepository = function (repository) {
|
|
30
|
-
this['repository'] = repository;
|
|
31
|
-
return this;
|
|
32
|
-
};
|
|
33
|
-
UpdateRepoDomainsRequest.prototype.withAccessDomain = function (accessDomain) {
|
|
34
|
-
this['access_domain'] = accessDomain;
|
|
35
|
-
return this;
|
|
36
|
-
};
|
|
37
|
-
Object.defineProperty(UpdateRepoDomainsRequest.prototype, "accessDomain", {
|
|
38
|
-
get: function () {
|
|
39
|
-
return this['access_domain'];
|
|
40
|
-
},
|
|
41
|
-
set: function (accessDomain) {
|
|
42
|
-
this['access_domain'] = accessDomain;
|
|
43
|
-
},
|
|
44
|
-
enumerable: false,
|
|
45
|
-
configurable: true
|
|
46
|
-
});
|
|
47
|
-
UpdateRepoDomainsRequest.prototype.withBody = function (body) {
|
|
48
|
-
this['body'] = body;
|
|
49
|
-
return this;
|
|
50
|
-
};
|
|
51
|
-
return UpdateRepoDomainsRequest;
|
|
52
|
-
}());
|
|
53
|
-
exports.UpdateRepoDomainsRequest = UpdateRepoDomainsRequest;
|
|
54
|
-
/**
|
|
55
|
-
* @export
|
|
56
|
-
* @enum {string}
|
|
57
|
-
*/
|
|
58
|
-
var UpdateRepoDomainsRequestContentTypeEnum;
|
|
59
|
-
(function (UpdateRepoDomainsRequestContentTypeEnum) {
|
|
60
|
-
UpdateRepoDomainsRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
61
|
-
UpdateRepoDomainsRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
62
|
-
})(UpdateRepoDomainsRequestContentTypeEnum || (exports.UpdateRepoDomainsRequestContentTypeEnum = UpdateRepoDomainsRequestContentTypeEnum = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class UpdateRepoDomainsRequestBody {
|
|
2
|
-
permit: string;
|
|
3
|
-
deadline: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
constructor(permit?: any, deadline?: any);
|
|
6
|
-
withPermit(permit: string): UpdateRepoDomainsRequestBody;
|
|
7
|
-
withDeadline(deadline: string): UpdateRepoDomainsRequestBody;
|
|
8
|
-
withDescription(description: string): UpdateRepoDomainsRequestBody;
|
|
9
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateRepoDomainsRequestBody = void 0;
|
|
4
|
-
var UpdateRepoDomainsRequestBody = /** @class */ (function () {
|
|
5
|
-
function UpdateRepoDomainsRequestBody(permit, deadline) {
|
|
6
|
-
this['permit'] = permit;
|
|
7
|
-
this['deadline'] = deadline;
|
|
8
|
-
}
|
|
9
|
-
UpdateRepoDomainsRequestBody.prototype.withPermit = function (permit) {
|
|
10
|
-
this['permit'] = permit;
|
|
11
|
-
return this;
|
|
12
|
-
};
|
|
13
|
-
UpdateRepoDomainsRequestBody.prototype.withDeadline = function (deadline) {
|
|
14
|
-
this['deadline'] = deadline;
|
|
15
|
-
return this;
|
|
16
|
-
};
|
|
17
|
-
UpdateRepoDomainsRequestBody.prototype.withDescription = function (description) {
|
|
18
|
-
this['description'] = description;
|
|
19
|
-
return this;
|
|
20
|
-
};
|
|
21
|
-
return UpdateRepoDomainsRequestBody;
|
|
22
|
-
}());
|
|
23
|
-
exports.UpdateRepoDomainsRequestBody = UpdateRepoDomainsRequestBody;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.UpdateRepoDomainsResponse = void 0;
|
|
19
|
-
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
-
var UpdateRepoDomainsResponse = /** @class */ (function (_super) {
|
|
21
|
-
__extends(UpdateRepoDomainsResponse, _super);
|
|
22
|
-
function UpdateRepoDomainsResponse() {
|
|
23
|
-
return _super.call(this) || this;
|
|
24
|
-
}
|
|
25
|
-
return UpdateRepoDomainsResponse;
|
|
26
|
-
}(SdkResponse_1.SdkResponse));
|
|
27
|
-
exports.UpdateRepoDomainsResponse = UpdateRepoDomainsResponse;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { UpdateRepoRequestBody } from './UpdateRepoRequestBody';
|
|
2
|
-
export declare class UpdateRepoRequest {
|
|
3
|
-
private 'Content-Type';
|
|
4
|
-
namespace: string;
|
|
5
|
-
repository: string;
|
|
6
|
-
body?: UpdateRepoRequestBody;
|
|
7
|
-
constructor(contentType?: any, namespace?: any, repository?: any);
|
|
8
|
-
withContentType(contentType: UpdateRepoRequestContentTypeEnum): UpdateRepoRequest;
|
|
9
|
-
set contentType(contentType: UpdateRepoRequestContentTypeEnum | undefined);
|
|
10
|
-
get contentType(): UpdateRepoRequestContentTypeEnum | undefined;
|
|
11
|
-
withNamespace(namespace: string): UpdateRepoRequest;
|
|
12
|
-
withRepository(repository: string): UpdateRepoRequest;
|
|
13
|
-
withBody(body: UpdateRepoRequestBody): UpdateRepoRequest;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
* @enum {string}
|
|
18
|
-
*/
|
|
19
|
-
export declare enum UpdateRepoRequestContentTypeEnum {
|
|
20
|
-
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
21
|
-
APPLICATION_JSON = "application/json"
|
|
22
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateRepoRequestContentTypeEnum = exports.UpdateRepoRequest = void 0;
|
|
4
|
-
var UpdateRepoRequest = /** @class */ (function () {
|
|
5
|
-
function UpdateRepoRequest(contentType, namespace, repository) {
|
|
6
|
-
this['Content-Type'] = contentType;
|
|
7
|
-
this['namespace'] = namespace;
|
|
8
|
-
this['repository'] = repository;
|
|
9
|
-
}
|
|
10
|
-
UpdateRepoRequest.prototype.withContentType = function (contentType) {
|
|
11
|
-
this['Content-Type'] = contentType;
|
|
12
|
-
return this;
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(UpdateRepoRequest.prototype, "contentType", {
|
|
15
|
-
get: function () {
|
|
16
|
-
return this['Content-Type'];
|
|
17
|
-
},
|
|
18
|
-
set: function (contentType) {
|
|
19
|
-
this['Content-Type'] = contentType;
|
|
20
|
-
},
|
|
21
|
-
enumerable: false,
|
|
22
|
-
configurable: true
|
|
23
|
-
});
|
|
24
|
-
UpdateRepoRequest.prototype.withNamespace = function (namespace) {
|
|
25
|
-
this['namespace'] = namespace;
|
|
26
|
-
return this;
|
|
27
|
-
};
|
|
28
|
-
UpdateRepoRequest.prototype.withRepository = function (repository) {
|
|
29
|
-
this['repository'] = repository;
|
|
30
|
-
return this;
|
|
31
|
-
};
|
|
32
|
-
UpdateRepoRequest.prototype.withBody = function (body) {
|
|
33
|
-
this['body'] = body;
|
|
34
|
-
return this;
|
|
35
|
-
};
|
|
36
|
-
return UpdateRepoRequest;
|
|
37
|
-
}());
|
|
38
|
-
exports.UpdateRepoRequest = UpdateRepoRequest;
|
|
39
|
-
/**
|
|
40
|
-
* @export
|
|
41
|
-
* @enum {string}
|
|
42
|
-
*/
|
|
43
|
-
var UpdateRepoRequestContentTypeEnum;
|
|
44
|
-
(function (UpdateRepoRequestContentTypeEnum) {
|
|
45
|
-
UpdateRepoRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
46
|
-
UpdateRepoRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
47
|
-
})(UpdateRepoRequestContentTypeEnum || (exports.UpdateRepoRequestContentTypeEnum = UpdateRepoRequestContentTypeEnum = {}));
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare class UpdateRepoRequestBody {
|
|
2
|
-
private 'is_public';
|
|
3
|
-
category?: UpdateRepoRequestBodyCategoryEnum;
|
|
4
|
-
description?: string;
|
|
5
|
-
constructor(isPublic?: any);
|
|
6
|
-
withIsPublic(isPublic: boolean): UpdateRepoRequestBody;
|
|
7
|
-
set isPublic(isPublic: boolean | undefined);
|
|
8
|
-
get isPublic(): boolean | undefined;
|
|
9
|
-
withCategory(category: UpdateRepoRequestBodyCategoryEnum): UpdateRepoRequestBody;
|
|
10
|
-
withDescription(description: string): UpdateRepoRequestBody;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @export
|
|
14
|
-
* @enum {string}
|
|
15
|
-
*/
|
|
16
|
-
export declare enum UpdateRepoRequestBodyCategoryEnum {
|
|
17
|
-
APP_SERVER = "app_server",
|
|
18
|
-
LINUX = "linux",
|
|
19
|
-
FRAMEWORK_APP = "framework_app",
|
|
20
|
-
DATABASE = "database",
|
|
21
|
-
LANG = "lang",
|
|
22
|
-
WINDOWS = "windows",
|
|
23
|
-
ARMS = "arms",
|
|
24
|
-
OTHER = "other"
|
|
25
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateRepoRequestBodyCategoryEnum = exports.UpdateRepoRequestBody = void 0;
|
|
4
|
-
var UpdateRepoRequestBody = /** @class */ (function () {
|
|
5
|
-
function UpdateRepoRequestBody(isPublic) {
|
|
6
|
-
this['is_public'] = isPublic;
|
|
7
|
-
}
|
|
8
|
-
UpdateRepoRequestBody.prototype.withIsPublic = function (isPublic) {
|
|
9
|
-
this['is_public'] = isPublic;
|
|
10
|
-
return this;
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(UpdateRepoRequestBody.prototype, "isPublic", {
|
|
13
|
-
get: function () {
|
|
14
|
-
return this['is_public'];
|
|
15
|
-
},
|
|
16
|
-
set: function (isPublic) {
|
|
17
|
-
this['is_public'] = isPublic;
|
|
18
|
-
},
|
|
19
|
-
enumerable: false,
|
|
20
|
-
configurable: true
|
|
21
|
-
});
|
|
22
|
-
UpdateRepoRequestBody.prototype.withCategory = function (category) {
|
|
23
|
-
this['category'] = category;
|
|
24
|
-
return this;
|
|
25
|
-
};
|
|
26
|
-
UpdateRepoRequestBody.prototype.withDescription = function (description) {
|
|
27
|
-
this['description'] = description;
|
|
28
|
-
return this;
|
|
29
|
-
};
|
|
30
|
-
return UpdateRepoRequestBody;
|
|
31
|
-
}());
|
|
32
|
-
exports.UpdateRepoRequestBody = UpdateRepoRequestBody;
|
|
33
|
-
/**
|
|
34
|
-
* @export
|
|
35
|
-
* @enum {string}
|
|
36
|
-
*/
|
|
37
|
-
var UpdateRepoRequestBodyCategoryEnum;
|
|
38
|
-
(function (UpdateRepoRequestBodyCategoryEnum) {
|
|
39
|
-
UpdateRepoRequestBodyCategoryEnum["APP_SERVER"] = "app_server";
|
|
40
|
-
UpdateRepoRequestBodyCategoryEnum["LINUX"] = "linux";
|
|
41
|
-
UpdateRepoRequestBodyCategoryEnum["FRAMEWORK_APP"] = "framework_app";
|
|
42
|
-
UpdateRepoRequestBodyCategoryEnum["DATABASE"] = "database";
|
|
43
|
-
UpdateRepoRequestBodyCategoryEnum["LANG"] = "lang";
|
|
44
|
-
UpdateRepoRequestBodyCategoryEnum["WINDOWS"] = "windows";
|
|
45
|
-
UpdateRepoRequestBodyCategoryEnum["ARMS"] = "arms";
|
|
46
|
-
UpdateRepoRequestBodyCategoryEnum["OTHER"] = "other";
|
|
47
|
-
})(UpdateRepoRequestBodyCategoryEnum || (exports.UpdateRepoRequestBodyCategoryEnum = UpdateRepoRequestBodyCategoryEnum = {}));
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.UpdateRepoResponse = void 0;
|
|
19
|
-
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
-
var UpdateRepoResponse = /** @class */ (function (_super) {
|
|
21
|
-
__extends(UpdateRepoResponse, _super);
|
|
22
|
-
function UpdateRepoResponse() {
|
|
23
|
-
return _super.call(this) || this;
|
|
24
|
-
}
|
|
25
|
-
return UpdateRepoResponse;
|
|
26
|
-
}(SdkResponse_1.SdkResponse));
|
|
27
|
-
exports.UpdateRepoResponse = UpdateRepoResponse;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { UpdateRetentionRequestBody } from './UpdateRetentionRequestBody';
|
|
2
|
-
export declare class UpdateRetentionRequest {
|
|
3
|
-
private 'Content-Type';
|
|
4
|
-
namespace: string;
|
|
5
|
-
repository: string;
|
|
6
|
-
private 'retention_id';
|
|
7
|
-
body?: UpdateRetentionRequestBody;
|
|
8
|
-
constructor(contentType?: any, namespace?: any, repository?: any, retentionId?: any);
|
|
9
|
-
withContentType(contentType: UpdateRetentionRequestContentTypeEnum): UpdateRetentionRequest;
|
|
10
|
-
set contentType(contentType: UpdateRetentionRequestContentTypeEnum | undefined);
|
|
11
|
-
get contentType(): UpdateRetentionRequestContentTypeEnum | undefined;
|
|
12
|
-
withNamespace(namespace: string): UpdateRetentionRequest;
|
|
13
|
-
withRepository(repository: string): UpdateRetentionRequest;
|
|
14
|
-
withRetentionId(retentionId: number): UpdateRetentionRequest;
|
|
15
|
-
set retentionId(retentionId: number | undefined);
|
|
16
|
-
get retentionId(): number | undefined;
|
|
17
|
-
withBody(body: UpdateRetentionRequestBody): UpdateRetentionRequest;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @export
|
|
21
|
-
* @enum {string}
|
|
22
|
-
*/
|
|
23
|
-
export declare enum UpdateRetentionRequestContentTypeEnum {
|
|
24
|
-
APPLICATION_JSONCHARSETUTF_8 = "application/json;charset=utf-8",
|
|
25
|
-
APPLICATION_JSON = "application/json"
|
|
26
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateRetentionRequestContentTypeEnum = exports.UpdateRetentionRequest = void 0;
|
|
4
|
-
var UpdateRetentionRequest = /** @class */ (function () {
|
|
5
|
-
function UpdateRetentionRequest(contentType, namespace, repository, retentionId) {
|
|
6
|
-
this['Content-Type'] = contentType;
|
|
7
|
-
this['namespace'] = namespace;
|
|
8
|
-
this['repository'] = repository;
|
|
9
|
-
this['retention_id'] = retentionId;
|
|
10
|
-
}
|
|
11
|
-
UpdateRetentionRequest.prototype.withContentType = function (contentType) {
|
|
12
|
-
this['Content-Type'] = contentType;
|
|
13
|
-
return this;
|
|
14
|
-
};
|
|
15
|
-
Object.defineProperty(UpdateRetentionRequest.prototype, "contentType", {
|
|
16
|
-
get: function () {
|
|
17
|
-
return this['Content-Type'];
|
|
18
|
-
},
|
|
19
|
-
set: function (contentType) {
|
|
20
|
-
this['Content-Type'] = contentType;
|
|
21
|
-
},
|
|
22
|
-
enumerable: false,
|
|
23
|
-
configurable: true
|
|
24
|
-
});
|
|
25
|
-
UpdateRetentionRequest.prototype.withNamespace = function (namespace) {
|
|
26
|
-
this['namespace'] = namespace;
|
|
27
|
-
return this;
|
|
28
|
-
};
|
|
29
|
-
UpdateRetentionRequest.prototype.withRepository = function (repository) {
|
|
30
|
-
this['repository'] = repository;
|
|
31
|
-
return this;
|
|
32
|
-
};
|
|
33
|
-
UpdateRetentionRequest.prototype.withRetentionId = function (retentionId) {
|
|
34
|
-
this['retention_id'] = retentionId;
|
|
35
|
-
return this;
|
|
36
|
-
};
|
|
37
|
-
Object.defineProperty(UpdateRetentionRequest.prototype, "retentionId", {
|
|
38
|
-
get: function () {
|
|
39
|
-
return this['retention_id'];
|
|
40
|
-
},
|
|
41
|
-
set: function (retentionId) {
|
|
42
|
-
this['retention_id'] = retentionId;
|
|
43
|
-
},
|
|
44
|
-
enumerable: false,
|
|
45
|
-
configurable: true
|
|
46
|
-
});
|
|
47
|
-
UpdateRetentionRequest.prototype.withBody = function (body) {
|
|
48
|
-
this['body'] = body;
|
|
49
|
-
return this;
|
|
50
|
-
};
|
|
51
|
-
return UpdateRetentionRequest;
|
|
52
|
-
}());
|
|
53
|
-
exports.UpdateRetentionRequest = UpdateRetentionRequest;
|
|
54
|
-
/**
|
|
55
|
-
* @export
|
|
56
|
-
* @enum {string}
|
|
57
|
-
*/
|
|
58
|
-
var UpdateRetentionRequestContentTypeEnum;
|
|
59
|
-
(function (UpdateRetentionRequestContentTypeEnum) {
|
|
60
|
-
UpdateRetentionRequestContentTypeEnum["APPLICATION_JSONCHARSETUTF_8"] = "application/json;charset=utf-8";
|
|
61
|
-
UpdateRetentionRequestContentTypeEnum["APPLICATION_JSON"] = "application/json";
|
|
62
|
-
})(UpdateRetentionRequestContentTypeEnum || (exports.UpdateRetentionRequestContentTypeEnum = UpdateRetentionRequestContentTypeEnum = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Rule } from './Rule';
|
|
2
|
-
export declare class UpdateRetentionRequestBody {
|
|
3
|
-
algorithm: string;
|
|
4
|
-
rules: Array<Rule>;
|
|
5
|
-
constructor(algorithm?: any, rules?: any);
|
|
6
|
-
withAlgorithm(algorithm: string): UpdateRetentionRequestBody;
|
|
7
|
-
withRules(rules: Array<Rule>): UpdateRetentionRequestBody;
|
|
8
|
-
}
|