@alicloud/websitebuild20250429 2.3.0 → 2.5.0
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/dist/client.d.ts +135 -0
- package/dist/client.js +420 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BindAppDomainRequest.d.ts +29 -0
- package/dist/models/BindAppDomainRequest.js +64 -0
- package/dist/models/BindAppDomainRequest.js.map +1 -0
- package/dist/models/BindAppDomainResponse.d.ts +19 -0
- package/dist/models/BindAppDomainResponse.js +69 -0
- package/dist/models/BindAppDomainResponse.js.map +1 -0
- package/dist/models/BindAppDomainResponseBody.d.ts +78 -0
- package/dist/models/BindAppDomainResponseBody.js +105 -0
- package/dist/models/BindAppDomainResponseBody.js.map +1 -0
- package/dist/models/DeleteAppDomainCertificateRequest.d.ts +23 -0
- package/dist/models/DeleteAppDomainCertificateRequest.js +60 -0
- package/dist/models/DeleteAppDomainCertificateRequest.js.map +1 -0
- package/dist/models/DeleteAppDomainCertificateResponse.d.ts +19 -0
- package/dist/models/DeleteAppDomainCertificateResponse.js +69 -0
- package/dist/models/DeleteAppDomainCertificateResponse.js.map +1 -0
- package/dist/models/DeleteAppDomainCertificateResponseBody.d.ts +76 -0
- package/dist/models/DeleteAppDomainCertificateResponseBody.js +103 -0
- package/dist/models/DeleteAppDomainCertificateResponseBody.js.map +1 -0
- package/dist/models/DeleteAppDomainRedirectRequest.d.ts +23 -0
- package/dist/models/DeleteAppDomainRedirectRequest.js +60 -0
- package/dist/models/DeleteAppDomainRedirectRequest.js.map +1 -0
- package/dist/models/DeleteAppDomainRedirectResponse.d.ts +19 -0
- package/dist/models/DeleteAppDomainRedirectResponse.js +69 -0
- package/dist/models/DeleteAppDomainRedirectResponse.js.map +1 -0
- package/dist/models/DeleteAppDomainRedirectResponseBody.d.ts +76 -0
- package/dist/models/DeleteAppDomainRedirectResponseBody.js +103 -0
- package/dist/models/DeleteAppDomainRedirectResponseBody.js.map +1 -0
- package/dist/models/DescribeAppDomainDnsRecordRequest.d.ts +28 -0
- package/dist/models/DescribeAppDomainDnsRecordRequest.js +62 -0
- package/dist/models/DescribeAppDomainDnsRecordRequest.js.map +1 -0
- package/dist/models/DescribeAppDomainDnsRecordResponse.d.ts +19 -0
- package/dist/models/DescribeAppDomainDnsRecordResponse.js +69 -0
- package/dist/models/DescribeAppDomainDnsRecordResponse.js.map +1 -0
- package/dist/models/DescribeAppDomainDnsRecordResponseBody.d.ts +86 -0
- package/dist/models/DescribeAppDomainDnsRecordResponseBody.js +107 -0
- package/dist/models/DescribeAppDomainDnsRecordResponseBody.js.map +1 -0
- package/dist/models/GetCreateLogoTaskResponseBody.d.ts +0 -2
- package/dist/models/GetCreateLogoTaskResponseBody.js +0 -2
- package/dist/models/GetCreateLogoTaskResponseBody.js.map +1 -1
- package/dist/models/GetDomainInfoForPartnerRequest.d.ts +37 -0
- package/dist/models/GetDomainInfoForPartnerRequest.js +62 -0
- package/dist/models/GetDomainInfoForPartnerRequest.js.map +1 -0
- package/dist/models/GetDomainInfoForPartnerResponse.d.ts +19 -0
- package/dist/models/GetDomainInfoForPartnerResponse.js +69 -0
- package/dist/models/GetDomainInfoForPartnerResponse.js.map +1 -0
- package/dist/models/GetDomainInfoForPartnerResponseBody.d.ts +72 -0
- package/dist/models/GetDomainInfoForPartnerResponseBody.js +112 -0
- package/dist/models/GetDomainInfoForPartnerResponseBody.js.map +1 -0
- package/dist/models/ListAppDomainRedirectRecordsRequest.d.ts +28 -0
- package/dist/models/ListAppDomainRedirectRecordsRequest.js +62 -0
- package/dist/models/ListAppDomainRedirectRecordsRequest.js.map +1 -0
- package/dist/models/ListAppDomainRedirectRecordsResponse.d.ts +19 -0
- package/dist/models/ListAppDomainRedirectRecordsResponse.js +69 -0
- package/dist/models/ListAppDomainRedirectRecordsResponse.js.map +1 -0
- package/dist/models/ListAppDomainRedirectRecordsResponseBody.d.ts +160 -0
- package/dist/models/ListAppDomainRedirectRecordsResponseBody.js +175 -0
- package/dist/models/ListAppDomainRedirectRecordsResponseBody.js.map +1 -0
- package/dist/models/ListAppInstanceDomainsRequest.d.ts +48 -0
- package/dist/models/ListAppInstanceDomainsRequest.js +70 -0
- package/dist/models/ListAppInstanceDomainsRequest.js.map +1 -0
- package/dist/models/ListAppInstanceDomainsResponse.d.ts +19 -0
- package/dist/models/ListAppInstanceDomainsResponse.js +69 -0
- package/dist/models/ListAppInstanceDomainsResponse.js.map +1 -0
- package/dist/models/ListAppInstanceDomainsResponseBody.d.ts +482 -0
- package/dist/models/ListAppInstanceDomainsResponseBody.js +507 -0
- package/dist/models/ListAppInstanceDomainsResponseBody.js.map +1 -0
- package/dist/models/SetAppDomainCertificateRequest.d.ts +43 -0
- package/dist/models/SetAppDomainCertificateRequest.js +68 -0
- package/dist/models/SetAppDomainCertificateRequest.js.map +1 -0
- package/dist/models/SetAppDomainCertificateResponse.d.ts +19 -0
- package/dist/models/SetAppDomainCertificateResponse.js +69 -0
- package/dist/models/SetAppDomainCertificateResponse.js.map +1 -0
- package/dist/models/SetAppDomainCertificateResponseBody.d.ts +76 -0
- package/dist/models/SetAppDomainCertificateResponseBody.js +103 -0
- package/dist/models/SetAppDomainCertificateResponseBody.js.map +1 -0
- package/dist/models/UnbindAppDomainRequest.d.ts +23 -0
- package/dist/models/UnbindAppDomainRequest.js +60 -0
- package/dist/models/UnbindAppDomainRequest.js.map +1 -0
- package/dist/models/UnbindAppDomainResponse.d.ts +19 -0
- package/dist/models/UnbindAppDomainResponse.js +69 -0
- package/dist/models/UnbindAppDomainResponse.js.map +1 -0
- package/dist/models/UnbindAppDomainResponseBody.d.ts +76 -0
- package/dist/models/UnbindAppDomainResponseBody.js +103 -0
- package/dist/models/UnbindAppDomainResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +53 -0
- package/dist/models/model.js +108 -1
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +470 -0
- package/src/models/BindAppDomainRequest.ts +48 -0
- package/src/models/BindAppDomainResponse.ts +40 -0
- package/src/models/BindAppDomainResponseBody.ts +127 -0
- package/src/models/DeleteAppDomainCertificateRequest.ts +38 -0
- package/src/models/DeleteAppDomainCertificateResponse.ts +40 -0
- package/src/models/DeleteAppDomainCertificateResponseBody.ts +125 -0
- package/src/models/DeleteAppDomainRedirectRequest.ts +38 -0
- package/src/models/DeleteAppDomainRedirectResponse.ts +40 -0
- package/src/models/DeleteAppDomainRedirectResponseBody.ts +125 -0
- package/src/models/DescribeAppDomainDnsRecordRequest.ts +45 -0
- package/src/models/DescribeAppDomainDnsRecordResponse.ts +40 -0
- package/src/models/DescribeAppDomainDnsRecordResponseBody.ts +139 -0
- package/src/models/GetCreateLogoTaskResponseBody.ts +0 -2
- package/src/models/GetDomainInfoForPartnerRequest.ts +54 -0
- package/src/models/GetDomainInfoForPartnerResponse.ts +40 -0
- package/src/models/GetDomainInfoForPartnerResponseBody.ts +121 -0
- package/src/models/ListAppDomainRedirectRecordsRequest.ts +45 -0
- package/src/models/ListAppDomainRedirectRecordsResponse.ts +40 -0
- package/src/models/ListAppDomainRedirectRecordsResponseBody.ts +263 -0
- package/src/models/ListAppInstanceDomainsRequest.ts +73 -0
- package/src/models/ListAppInstanceDomainsResponse.ts +40 -0
- package/src/models/ListAppInstanceDomainsResponseBody.ts +809 -0
- package/src/models/SetAppDomainCertificateRequest.ts +66 -0
- package/src/models/SetAppDomainCertificateResponse.ts +40 -0
- package/src/models/SetAppDomainCertificateResponseBody.ts +125 -0
- package/src/models/UnbindAppDomainRequest.ts +38 -0
- package/src/models/UnbindAppDomainResponse.ts +40 -0
- package/src/models/UnbindAppDomainResponseBody.ts +125 -0
- package/src/models/model.ts +53 -0
package/dist/client.d.ts
CHANGED
|
@@ -8,6 +8,21 @@ export default class Client extends OpenApi {
|
|
|
8
8
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* 绑定应用域名
|
|
13
|
+
*
|
|
14
|
+
* @param request - BindAppDomainRequest
|
|
15
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16
|
+
* @returns BindAppDomainResponse
|
|
17
|
+
*/
|
|
18
|
+
bindAppDomainWithOptions(request: $_model.BindAppDomainRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BindAppDomainResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* 绑定应用域名
|
|
21
|
+
*
|
|
22
|
+
* @param request - BindAppDomainRequest
|
|
23
|
+
* @returns BindAppDomainResponse
|
|
24
|
+
*/
|
|
25
|
+
bindAppDomain(request: $_model.BindAppDomainRequest): Promise<$_model.BindAppDomainResponse>;
|
|
11
26
|
/**
|
|
12
27
|
* 提交创建Logo任务
|
|
13
28
|
*
|
|
@@ -23,6 +38,51 @@ export default class Client extends OpenApi {
|
|
|
23
38
|
* @returns CreateLogoTaskResponse
|
|
24
39
|
*/
|
|
25
40
|
createLogoTask(request: $_model.CreateLogoTaskRequest): Promise<$_model.CreateLogoTaskResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* 删除域名的SSL证书
|
|
43
|
+
*
|
|
44
|
+
* @param request - DeleteAppDomainCertificateRequest
|
|
45
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
46
|
+
* @returns DeleteAppDomainCertificateResponse
|
|
47
|
+
*/
|
|
48
|
+
deleteAppDomainCertificateWithOptions(request: $_model.DeleteAppDomainCertificateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAppDomainCertificateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* 删除域名的SSL证书
|
|
51
|
+
*
|
|
52
|
+
* @param request - DeleteAppDomainCertificateRequest
|
|
53
|
+
* @returns DeleteAppDomainCertificateResponse
|
|
54
|
+
*/
|
|
55
|
+
deleteAppDomainCertificate(request: $_model.DeleteAppDomainCertificateRequest): Promise<$_model.DeleteAppDomainCertificateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* 删除域名的跳转规则
|
|
58
|
+
*
|
|
59
|
+
* @param request - DeleteAppDomainRedirectRequest
|
|
60
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
61
|
+
* @returns DeleteAppDomainRedirectResponse
|
|
62
|
+
*/
|
|
63
|
+
deleteAppDomainRedirectWithOptions(request: $_model.DeleteAppDomainRedirectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAppDomainRedirectResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* 删除域名的跳转规则
|
|
66
|
+
*
|
|
67
|
+
* @param request - DeleteAppDomainRedirectRequest
|
|
68
|
+
* @returns DeleteAppDomainRedirectResponse
|
|
69
|
+
*/
|
|
70
|
+
deleteAppDomainRedirect(request: $_model.DeleteAppDomainRedirectRequest): Promise<$_model.DeleteAppDomainRedirectResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* 查询域名的DNS解析记录
|
|
73
|
+
*
|
|
74
|
+
* @param request - DescribeAppDomainDnsRecordRequest
|
|
75
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
76
|
+
* @returns DescribeAppDomainDnsRecordResponse
|
|
77
|
+
*/
|
|
78
|
+
describeAppDomainDnsRecordWithOptions(request: $_model.DescribeAppDomainDnsRecordRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAppDomainDnsRecordResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* 查询域名的DNS解析记录
|
|
81
|
+
*
|
|
82
|
+
* @param request - DescribeAppDomainDnsRecordRequest
|
|
83
|
+
* @returns DescribeAppDomainDnsRecordResponse
|
|
84
|
+
*/
|
|
85
|
+
describeAppDomainDnsRecord(request: $_model.DescribeAppDomainDnsRecordRequest): Promise<$_model.DescribeAppDomainDnsRecordResponse>;
|
|
26
86
|
/**
|
|
27
87
|
* 查询Logo创建任务
|
|
28
88
|
*
|
|
@@ -38,6 +98,21 @@ export default class Client extends OpenApi {
|
|
|
38
98
|
* @returns GetCreateLogoTaskResponse
|
|
39
99
|
*/
|
|
40
100
|
getCreateLogoTask(request: $_model.GetCreateLogoTaskRequest): Promise<$_model.GetCreateLogoTaskResponse>;
|
|
101
|
+
/**
|
|
102
|
+
* 提供给服务商的域名查询接口
|
|
103
|
+
*
|
|
104
|
+
* @param request - GetDomainInfoForPartnerRequest
|
|
105
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
106
|
+
* @returns GetDomainInfoForPartnerResponse
|
|
107
|
+
*/
|
|
108
|
+
getDomainInfoForPartnerWithOptions(request: $_model.GetDomainInfoForPartnerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDomainInfoForPartnerResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* 提供给服务商的域名查询接口
|
|
111
|
+
*
|
|
112
|
+
* @param request - GetDomainInfoForPartnerRequest
|
|
113
|
+
* @returns GetDomainInfoForPartnerResponse
|
|
114
|
+
*/
|
|
115
|
+
getDomainInfoForPartner(request: $_model.GetDomainInfoForPartnerRequest): Promise<$_model.GetDomainInfoForPartnerResponse>;
|
|
41
116
|
/**
|
|
42
117
|
* 查询域名备案信息
|
|
43
118
|
*
|
|
@@ -68,6 +143,36 @@ export default class Client extends OpenApi {
|
|
|
68
143
|
* @returns GetUserTmpIdentityForPartnerResponse
|
|
69
144
|
*/
|
|
70
145
|
getUserTmpIdentityForPartner(request: $_model.GetUserTmpIdentityForPartnerRequest): Promise<$_model.GetUserTmpIdentityForPartnerResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* 查询域名的跳转规则列表
|
|
148
|
+
*
|
|
149
|
+
* @param request - ListAppDomainRedirectRecordsRequest
|
|
150
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
151
|
+
* @returns ListAppDomainRedirectRecordsResponse
|
|
152
|
+
*/
|
|
153
|
+
listAppDomainRedirectRecordsWithOptions(request: $_model.ListAppDomainRedirectRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAppDomainRedirectRecordsResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* 查询域名的跳转规则列表
|
|
156
|
+
*
|
|
157
|
+
* @param request - ListAppDomainRedirectRecordsRequest
|
|
158
|
+
* @returns ListAppDomainRedirectRecordsResponse
|
|
159
|
+
*/
|
|
160
|
+
listAppDomainRedirectRecords(request: $_model.ListAppDomainRedirectRecordsRequest): Promise<$_model.ListAppDomainRedirectRecordsResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* 查询应用实例下的所有域名列表
|
|
163
|
+
*
|
|
164
|
+
* @param request - ListAppInstanceDomainsRequest
|
|
165
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
166
|
+
* @returns ListAppInstanceDomainsResponse
|
|
167
|
+
*/
|
|
168
|
+
listAppInstanceDomainsWithOptions(request: $_model.ListAppInstanceDomainsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAppInstanceDomainsResponse>;
|
|
169
|
+
/**
|
|
170
|
+
* 查询应用实例下的所有域名列表
|
|
171
|
+
*
|
|
172
|
+
* @param request - ListAppInstanceDomainsRequest
|
|
173
|
+
* @returns ListAppInstanceDomainsResponse
|
|
174
|
+
*/
|
|
175
|
+
listAppInstanceDomains(request: $_model.ListAppInstanceDomainsRequest): Promise<$_model.ListAppInstanceDomainsResponse>;
|
|
71
176
|
/**
|
|
72
177
|
* 合作伙伴操作应用
|
|
73
178
|
*
|
|
@@ -113,6 +218,21 @@ export default class Client extends OpenApi {
|
|
|
113
218
|
* @returns SearchImageResponse
|
|
114
219
|
*/
|
|
115
220
|
searchImage(request: $_model.SearchImageRequest): Promise<$_model.SearchImageResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* 设置域名的SSL证书
|
|
223
|
+
*
|
|
224
|
+
* @param request - SetAppDomainCertificateRequest
|
|
225
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
226
|
+
* @returns SetAppDomainCertificateResponse
|
|
227
|
+
*/
|
|
228
|
+
setAppDomainCertificateWithOptions(request: $_model.SetAppDomainCertificateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetAppDomainCertificateResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* 设置域名的SSL证书
|
|
231
|
+
*
|
|
232
|
+
* @param request - SetAppDomainCertificateRequest
|
|
233
|
+
* @returns SetAppDomainCertificateResponse
|
|
234
|
+
*/
|
|
235
|
+
setAppDomainCertificate(request: $_model.SetAppDomainCertificateRequest): Promise<$_model.SetAppDomainCertificateResponse>;
|
|
116
236
|
/**
|
|
117
237
|
* 合作伙伴同步应用实例
|
|
118
238
|
*
|
|
@@ -128,4 +248,19 @@ export default class Client extends OpenApi {
|
|
|
128
248
|
* @returns SyncAppInstanceForPartnerResponse
|
|
129
249
|
*/
|
|
130
250
|
syncAppInstanceForPartner(request: $_model.SyncAppInstanceForPartnerRequest): Promise<$_model.SyncAppInstanceForPartnerResponse>;
|
|
251
|
+
/**
|
|
252
|
+
* 解绑应用域名
|
|
253
|
+
*
|
|
254
|
+
* @param request - UnbindAppDomainRequest
|
|
255
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
256
|
+
* @returns UnbindAppDomainResponse
|
|
257
|
+
*/
|
|
258
|
+
unbindAppDomainWithOptions(request: $_model.UnbindAppDomainRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UnbindAppDomainResponse>;
|
|
259
|
+
/**
|
|
260
|
+
* 解绑应用域名
|
|
261
|
+
*
|
|
262
|
+
* @param request - UnbindAppDomainRequest
|
|
263
|
+
* @returns UnbindAppDomainResponse
|
|
264
|
+
*/
|
|
265
|
+
unbindAppDomain(request: $_model.UnbindAppDomainRequest): Promise<$_model.UnbindAppDomainResponse>;
|
|
131
266
|
}
|
package/dist/client.js
CHANGED
|
@@ -61,6 +61,54 @@ class Client extends openapi_core_1.default {
|
|
|
61
61
|
}
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* 绑定应用域名
|
|
66
|
+
*
|
|
67
|
+
* @param request - BindAppDomainRequest
|
|
68
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
69
|
+
* @returns BindAppDomainResponse
|
|
70
|
+
*/
|
|
71
|
+
async bindAppDomainWithOptions(request, runtime) {
|
|
72
|
+
request.validate();
|
|
73
|
+
let query = {};
|
|
74
|
+
if (!$dara.isNull(request.bizId)) {
|
|
75
|
+
query["BizId"] = request.bizId;
|
|
76
|
+
}
|
|
77
|
+
if (!$dara.isNull(request.domainName)) {
|
|
78
|
+
query["DomainName"] = request.domainName;
|
|
79
|
+
}
|
|
80
|
+
if (!$dara.isNull(request.extend)) {
|
|
81
|
+
query["Extend"] = request.extend;
|
|
82
|
+
}
|
|
83
|
+
if (!$dara.isNull(request.operateType)) {
|
|
84
|
+
query["OperateType"] = request.operateType;
|
|
85
|
+
}
|
|
86
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
87
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
88
|
+
});
|
|
89
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
90
|
+
action: "BindAppDomain",
|
|
91
|
+
version: "2025-04-29",
|
|
92
|
+
protocol: "HTTPS",
|
|
93
|
+
pathname: "/",
|
|
94
|
+
method: "POST",
|
|
95
|
+
authType: "AK",
|
|
96
|
+
style: "RPC",
|
|
97
|
+
reqBodyType: "formData",
|
|
98
|
+
bodyType: "json",
|
|
99
|
+
});
|
|
100
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindAppDomainResponse({}));
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* 绑定应用域名
|
|
104
|
+
*
|
|
105
|
+
* @param request - BindAppDomainRequest
|
|
106
|
+
* @returns BindAppDomainResponse
|
|
107
|
+
*/
|
|
108
|
+
async bindAppDomain(request) {
|
|
109
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
110
|
+
return await this.bindAppDomainWithOptions(request, runtime);
|
|
111
|
+
}
|
|
64
112
|
/**
|
|
65
113
|
* 提交创建Logo任务
|
|
66
114
|
*
|
|
@@ -109,6 +157,135 @@ class Client extends openapi_core_1.default {
|
|
|
109
157
|
let runtime = new $dara.RuntimeOptions({});
|
|
110
158
|
return await this.createLogoTaskWithOptions(request, runtime);
|
|
111
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* 删除域名的SSL证书
|
|
162
|
+
*
|
|
163
|
+
* @param request - DeleteAppDomainCertificateRequest
|
|
164
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
165
|
+
* @returns DeleteAppDomainCertificateResponse
|
|
166
|
+
*/
|
|
167
|
+
async deleteAppDomainCertificateWithOptions(request, runtime) {
|
|
168
|
+
request.validate();
|
|
169
|
+
let query = {};
|
|
170
|
+
if (!$dara.isNull(request.bizId)) {
|
|
171
|
+
query["BizId"] = request.bizId;
|
|
172
|
+
}
|
|
173
|
+
if (!$dara.isNull(request.domainName)) {
|
|
174
|
+
query["DomainName"] = request.domainName;
|
|
175
|
+
}
|
|
176
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
177
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
178
|
+
});
|
|
179
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
180
|
+
action: "DeleteAppDomainCertificate",
|
|
181
|
+
version: "2025-04-29",
|
|
182
|
+
protocol: "HTTPS",
|
|
183
|
+
pathname: "/",
|
|
184
|
+
method: "POST",
|
|
185
|
+
authType: "AK",
|
|
186
|
+
style: "RPC",
|
|
187
|
+
reqBodyType: "formData",
|
|
188
|
+
bodyType: "json",
|
|
189
|
+
});
|
|
190
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAppDomainCertificateResponse({}));
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* 删除域名的SSL证书
|
|
194
|
+
*
|
|
195
|
+
* @param request - DeleteAppDomainCertificateRequest
|
|
196
|
+
* @returns DeleteAppDomainCertificateResponse
|
|
197
|
+
*/
|
|
198
|
+
async deleteAppDomainCertificate(request) {
|
|
199
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
200
|
+
return await this.deleteAppDomainCertificateWithOptions(request, runtime);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* 删除域名的跳转规则
|
|
204
|
+
*
|
|
205
|
+
* @param request - DeleteAppDomainRedirectRequest
|
|
206
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
207
|
+
* @returns DeleteAppDomainRedirectResponse
|
|
208
|
+
*/
|
|
209
|
+
async deleteAppDomainRedirectWithOptions(request, runtime) {
|
|
210
|
+
request.validate();
|
|
211
|
+
let query = {};
|
|
212
|
+
if (!$dara.isNull(request.bizId)) {
|
|
213
|
+
query["BizId"] = request.bizId;
|
|
214
|
+
}
|
|
215
|
+
if (!$dara.isNull(request.recordId)) {
|
|
216
|
+
query["RecordId"] = request.recordId;
|
|
217
|
+
}
|
|
218
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
219
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
220
|
+
});
|
|
221
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
222
|
+
action: "DeleteAppDomainRedirect",
|
|
223
|
+
version: "2025-04-29",
|
|
224
|
+
protocol: "HTTPS",
|
|
225
|
+
pathname: "/",
|
|
226
|
+
method: "POST",
|
|
227
|
+
authType: "AK",
|
|
228
|
+
style: "RPC",
|
|
229
|
+
reqBodyType: "formData",
|
|
230
|
+
bodyType: "json",
|
|
231
|
+
});
|
|
232
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAppDomainRedirectResponse({}));
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* 删除域名的跳转规则
|
|
236
|
+
*
|
|
237
|
+
* @param request - DeleteAppDomainRedirectRequest
|
|
238
|
+
* @returns DeleteAppDomainRedirectResponse
|
|
239
|
+
*/
|
|
240
|
+
async deleteAppDomainRedirect(request) {
|
|
241
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
242
|
+
return await this.deleteAppDomainRedirectWithOptions(request, runtime);
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* 查询域名的DNS解析记录
|
|
246
|
+
*
|
|
247
|
+
* @param request - DescribeAppDomainDnsRecordRequest
|
|
248
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
249
|
+
* @returns DescribeAppDomainDnsRecordResponse
|
|
250
|
+
*/
|
|
251
|
+
async describeAppDomainDnsRecordWithOptions(request, runtime) {
|
|
252
|
+
request.validate();
|
|
253
|
+
let query = {};
|
|
254
|
+
if (!$dara.isNull(request.bizId)) {
|
|
255
|
+
query["BizId"] = request.bizId;
|
|
256
|
+
}
|
|
257
|
+
if (!$dara.isNull(request.domainName)) {
|
|
258
|
+
query["DomainName"] = request.domainName;
|
|
259
|
+
}
|
|
260
|
+
if (!$dara.isNull(request.purpose)) {
|
|
261
|
+
query["Purpose"] = request.purpose;
|
|
262
|
+
}
|
|
263
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
264
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
265
|
+
});
|
|
266
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
267
|
+
action: "DescribeAppDomainDnsRecord",
|
|
268
|
+
version: "2025-04-29",
|
|
269
|
+
protocol: "HTTPS",
|
|
270
|
+
pathname: "/",
|
|
271
|
+
method: "POST",
|
|
272
|
+
authType: "AK",
|
|
273
|
+
style: "RPC",
|
|
274
|
+
reqBodyType: "formData",
|
|
275
|
+
bodyType: "json",
|
|
276
|
+
});
|
|
277
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAppDomainDnsRecordResponse({}));
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* 查询域名的DNS解析记录
|
|
281
|
+
*
|
|
282
|
+
* @param request - DescribeAppDomainDnsRecordRequest
|
|
283
|
+
* @returns DescribeAppDomainDnsRecordResponse
|
|
284
|
+
*/
|
|
285
|
+
async describeAppDomainDnsRecord(request) {
|
|
286
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
287
|
+
return await this.describeAppDomainDnsRecordWithOptions(request, runtime);
|
|
288
|
+
}
|
|
112
289
|
/**
|
|
113
290
|
* 查询Logo创建任务
|
|
114
291
|
*
|
|
@@ -148,6 +325,51 @@ class Client extends openapi_core_1.default {
|
|
|
148
325
|
let runtime = new $dara.RuntimeOptions({});
|
|
149
326
|
return await this.getCreateLogoTaskWithOptions(request, runtime);
|
|
150
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* 提供给服务商的域名查询接口
|
|
330
|
+
*
|
|
331
|
+
* @param request - GetDomainInfoForPartnerRequest
|
|
332
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
333
|
+
* @returns GetDomainInfoForPartnerResponse
|
|
334
|
+
*/
|
|
335
|
+
async getDomainInfoForPartnerWithOptions(request, runtime) {
|
|
336
|
+
request.validate();
|
|
337
|
+
let query = {};
|
|
338
|
+
if (!$dara.isNull(request.bizId)) {
|
|
339
|
+
query["BizId"] = request.bizId;
|
|
340
|
+
}
|
|
341
|
+
if (!$dara.isNull(request.domainName)) {
|
|
342
|
+
query["DomainName"] = request.domainName;
|
|
343
|
+
}
|
|
344
|
+
if (!$dara.isNull(request.userId)) {
|
|
345
|
+
query["UserId"] = request.userId;
|
|
346
|
+
}
|
|
347
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
348
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
349
|
+
});
|
|
350
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
351
|
+
action: "GetDomainInfoForPartner",
|
|
352
|
+
version: "2025-04-29",
|
|
353
|
+
protocol: "HTTPS",
|
|
354
|
+
pathname: "/",
|
|
355
|
+
method: "POST",
|
|
356
|
+
authType: "AK",
|
|
357
|
+
style: "RPC",
|
|
358
|
+
reqBodyType: "formData",
|
|
359
|
+
bodyType: "json",
|
|
360
|
+
});
|
|
361
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDomainInfoForPartnerResponse({}));
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* 提供给服务商的域名查询接口
|
|
365
|
+
*
|
|
366
|
+
* @param request - GetDomainInfoForPartnerRequest
|
|
367
|
+
* @returns GetDomainInfoForPartnerResponse
|
|
368
|
+
*/
|
|
369
|
+
async getDomainInfoForPartner(request) {
|
|
370
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
371
|
+
return await this.getDomainInfoForPartnerWithOptions(request, runtime);
|
|
372
|
+
}
|
|
151
373
|
/**
|
|
152
374
|
* 查询域名备案信息
|
|
153
375
|
*
|
|
@@ -241,6 +463,108 @@ class Client extends openapi_core_1.default {
|
|
|
241
463
|
let runtime = new $dara.RuntimeOptions({});
|
|
242
464
|
return await this.getUserTmpIdentityForPartnerWithOptions(request, runtime);
|
|
243
465
|
}
|
|
466
|
+
/**
|
|
467
|
+
* 查询域名的跳转规则列表
|
|
468
|
+
*
|
|
469
|
+
* @param request - ListAppDomainRedirectRecordsRequest
|
|
470
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
471
|
+
* @returns ListAppDomainRedirectRecordsResponse
|
|
472
|
+
*/
|
|
473
|
+
async listAppDomainRedirectRecordsWithOptions(request, runtime) {
|
|
474
|
+
request.validate();
|
|
475
|
+
let query = {};
|
|
476
|
+
if (!$dara.isNull(request.bizId)) {
|
|
477
|
+
query["BizId"] = request.bizId;
|
|
478
|
+
}
|
|
479
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
480
|
+
query["MaxResults"] = request.maxResults;
|
|
481
|
+
}
|
|
482
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
483
|
+
query["NextToken"] = request.nextToken;
|
|
484
|
+
}
|
|
485
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
486
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
487
|
+
});
|
|
488
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
489
|
+
action: "ListAppDomainRedirectRecords",
|
|
490
|
+
version: "2025-04-29",
|
|
491
|
+
protocol: "HTTPS",
|
|
492
|
+
pathname: "/",
|
|
493
|
+
method: "POST",
|
|
494
|
+
authType: "AK",
|
|
495
|
+
style: "RPC",
|
|
496
|
+
reqBodyType: "formData",
|
|
497
|
+
bodyType: "json",
|
|
498
|
+
});
|
|
499
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppDomainRedirectRecordsResponse({}));
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* 查询域名的跳转规则列表
|
|
503
|
+
*
|
|
504
|
+
* @param request - ListAppDomainRedirectRecordsRequest
|
|
505
|
+
* @returns ListAppDomainRedirectRecordsResponse
|
|
506
|
+
*/
|
|
507
|
+
async listAppDomainRedirectRecords(request) {
|
|
508
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
509
|
+
return await this.listAppDomainRedirectRecordsWithOptions(request, runtime);
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* 查询应用实例下的所有域名列表
|
|
513
|
+
*
|
|
514
|
+
* @param request - ListAppInstanceDomainsRequest
|
|
515
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
516
|
+
* @returns ListAppInstanceDomainsResponse
|
|
517
|
+
*/
|
|
518
|
+
async listAppInstanceDomainsWithOptions(request, runtime) {
|
|
519
|
+
request.validate();
|
|
520
|
+
let query = {};
|
|
521
|
+
if (!$dara.isNull(request.bizId)) {
|
|
522
|
+
query["BizId"] = request.bizId;
|
|
523
|
+
}
|
|
524
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
525
|
+
query["MaxResults"] = request.maxResults;
|
|
526
|
+
}
|
|
527
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
528
|
+
query["NextToken"] = request.nextToken;
|
|
529
|
+
}
|
|
530
|
+
if (!$dara.isNull(request.orderColumn)) {
|
|
531
|
+
query["OrderColumn"] = request.orderColumn;
|
|
532
|
+
}
|
|
533
|
+
if (!$dara.isNull(request.orderType)) {
|
|
534
|
+
query["OrderType"] = request.orderType;
|
|
535
|
+
}
|
|
536
|
+
if (!$dara.isNull(request.pageNum)) {
|
|
537
|
+
query["PageNum"] = request.pageNum;
|
|
538
|
+
}
|
|
539
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
540
|
+
query["PageSize"] = request.pageSize;
|
|
541
|
+
}
|
|
542
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
543
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
544
|
+
});
|
|
545
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
546
|
+
action: "ListAppInstanceDomains",
|
|
547
|
+
version: "2025-04-29",
|
|
548
|
+
protocol: "HTTPS",
|
|
549
|
+
pathname: "/",
|
|
550
|
+
method: "POST",
|
|
551
|
+
authType: "AK",
|
|
552
|
+
style: "RPC",
|
|
553
|
+
reqBodyType: "formData",
|
|
554
|
+
bodyType: "json",
|
|
555
|
+
});
|
|
556
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppInstanceDomainsResponse({}));
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* 查询应用实例下的所有域名列表
|
|
560
|
+
*
|
|
561
|
+
* @param request - ListAppInstanceDomainsRequest
|
|
562
|
+
* @returns ListAppInstanceDomainsResponse
|
|
563
|
+
*/
|
|
564
|
+
async listAppInstanceDomains(request) {
|
|
565
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
566
|
+
return await this.listAppInstanceDomainsWithOptions(request, runtime);
|
|
567
|
+
}
|
|
244
568
|
/**
|
|
245
569
|
* 合作伙伴操作应用
|
|
246
570
|
*
|
|
@@ -417,6 +741,60 @@ class Client extends openapi_core_1.default {
|
|
|
417
741
|
let runtime = new $dara.RuntimeOptions({});
|
|
418
742
|
return await this.searchImageWithOptions(request, runtime);
|
|
419
743
|
}
|
|
744
|
+
/**
|
|
745
|
+
* 设置域名的SSL证书
|
|
746
|
+
*
|
|
747
|
+
* @param request - SetAppDomainCertificateRequest
|
|
748
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
749
|
+
* @returns SetAppDomainCertificateResponse
|
|
750
|
+
*/
|
|
751
|
+
async setAppDomainCertificateWithOptions(request, runtime) {
|
|
752
|
+
request.validate();
|
|
753
|
+
let query = {};
|
|
754
|
+
if (!$dara.isNull(request.bizId)) {
|
|
755
|
+
query["BizId"] = request.bizId;
|
|
756
|
+
}
|
|
757
|
+
if (!$dara.isNull(request.certificateName)) {
|
|
758
|
+
query["CertificateName"] = request.certificateName;
|
|
759
|
+
}
|
|
760
|
+
if (!$dara.isNull(request.certificateType)) {
|
|
761
|
+
query["CertificateType"] = request.certificateType;
|
|
762
|
+
}
|
|
763
|
+
if (!$dara.isNull(request.domainName)) {
|
|
764
|
+
query["DomainName"] = request.domainName;
|
|
765
|
+
}
|
|
766
|
+
if (!$dara.isNull(request.privateKey)) {
|
|
767
|
+
query["PrivateKey"] = request.privateKey;
|
|
768
|
+
}
|
|
769
|
+
if (!$dara.isNull(request.publicKey)) {
|
|
770
|
+
query["PublicKey"] = request.publicKey;
|
|
771
|
+
}
|
|
772
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
773
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
774
|
+
});
|
|
775
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
776
|
+
action: "SetAppDomainCertificate",
|
|
777
|
+
version: "2025-04-29",
|
|
778
|
+
protocol: "HTTPS",
|
|
779
|
+
pathname: "/",
|
|
780
|
+
method: "POST",
|
|
781
|
+
authType: "AK",
|
|
782
|
+
style: "RPC",
|
|
783
|
+
reqBodyType: "formData",
|
|
784
|
+
bodyType: "json",
|
|
785
|
+
});
|
|
786
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetAppDomainCertificateResponse({}));
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* 设置域名的SSL证书
|
|
790
|
+
*
|
|
791
|
+
* @param request - SetAppDomainCertificateRequest
|
|
792
|
+
* @returns SetAppDomainCertificateResponse
|
|
793
|
+
*/
|
|
794
|
+
async setAppDomainCertificate(request) {
|
|
795
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
796
|
+
return await this.setAppDomainCertificateWithOptions(request, runtime);
|
|
797
|
+
}
|
|
420
798
|
/**
|
|
421
799
|
* 合作伙伴同步应用实例
|
|
422
800
|
*
|
|
@@ -473,6 +851,48 @@ class Client extends openapi_core_1.default {
|
|
|
473
851
|
let runtime = new $dara.RuntimeOptions({});
|
|
474
852
|
return await this.syncAppInstanceForPartnerWithOptions(request, runtime);
|
|
475
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
* 解绑应用域名
|
|
856
|
+
*
|
|
857
|
+
* @param request - UnbindAppDomainRequest
|
|
858
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
859
|
+
* @returns UnbindAppDomainResponse
|
|
860
|
+
*/
|
|
861
|
+
async unbindAppDomainWithOptions(request, runtime) {
|
|
862
|
+
request.validate();
|
|
863
|
+
let query = {};
|
|
864
|
+
if (!$dara.isNull(request.bizId)) {
|
|
865
|
+
query["BizId"] = request.bizId;
|
|
866
|
+
}
|
|
867
|
+
if (!$dara.isNull(request.domainName)) {
|
|
868
|
+
query["DomainName"] = request.domainName;
|
|
869
|
+
}
|
|
870
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
871
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
872
|
+
});
|
|
873
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
874
|
+
action: "UnbindAppDomain",
|
|
875
|
+
version: "2025-04-29",
|
|
876
|
+
protocol: "HTTPS",
|
|
877
|
+
pathname: "/",
|
|
878
|
+
method: "POST",
|
|
879
|
+
authType: "AK",
|
|
880
|
+
style: "RPC",
|
|
881
|
+
reqBodyType: "formData",
|
|
882
|
+
bodyType: "json",
|
|
883
|
+
});
|
|
884
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindAppDomainResponse({}));
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* 解绑应用域名
|
|
888
|
+
*
|
|
889
|
+
* @param request - UnbindAppDomainRequest
|
|
890
|
+
* @returns UnbindAppDomainResponse
|
|
891
|
+
*/
|
|
892
|
+
async unbindAppDomain(request) {
|
|
893
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
894
|
+
return await this.unbindAppDomainWithOptions(request, runtime);
|
|
895
|
+
}
|
|
476
896
|
}
|
|
477
897
|
exports.default = Client;
|
|
478
898
|
//# sourceMappingURL=client.js.map
|