@alicloud/websitebuild20250429 2.6.0 → 2.7.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 +105 -0
- package/dist/client.js +380 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AppAiStaff.d.ts +21 -0
- package/dist/models/AppAiStaff.js +64 -0
- package/dist/models/AppAiStaff.js.map +1 -0
- package/dist/models/AppInstance.d.ts +44 -0
- package/dist/models/AppInstance.js +112 -0
- package/dist/models/AppInstance.js.map +1 -0
- package/dist/models/AppInstanceAggregate.d.ts +50 -0
- package/dist/models/AppInstanceAggregate.js +130 -0
- package/dist/models/AppInstanceAggregate.js.map +1 -0
- package/dist/models/AppInstanceProfile.d.ts +29 -0
- package/dist/models/AppInstanceProfile.js +88 -0
- package/dist/models/AppInstanceProfile.js.map +1 -0
- package/dist/models/AppOperateAction.d.ts +33 -0
- package/dist/models/AppOperateAction.js +64 -0
- package/dist/models/AppOperateAction.js.map +1 -0
- package/dist/models/AppOperationAddress.d.ts +15 -0
- package/dist/models/AppOperationAddress.js +62 -0
- package/dist/models/AppOperationAddress.js.map +1 -0
- package/dist/models/AppService.d.ts +29 -0
- package/dist/models/AppService.js +90 -0
- package/dist/models/AppService.js.map +1 -0
- package/dist/models/AppServiceAggregate.d.ts +31 -0
- package/dist/models/AppServiceAggregate.js +96 -0
- package/dist/models/AppServiceAggregate.js.map +1 -0
- package/dist/models/AppServiceGroup.d.ts +21 -0
- package/dist/models/AppServiceGroup.js +64 -0
- package/dist/models/AppServiceGroup.js.map +1 -0
- package/dist/models/AppServiceProfile.d.ts +20 -0
- package/dist/models/AppServiceProfile.js +70 -0
- package/dist/models/AppServiceProfile.js.map +1 -0
- package/dist/models/CreateAppInstanceRequest.d.ts +63 -0
- package/dist/models/CreateAppInstanceRequest.js +76 -0
- package/dist/models/CreateAppInstanceRequest.js.map +1 -0
- package/dist/models/CreateAppInstanceResponse.d.ts +19 -0
- package/dist/models/CreateAppInstanceResponse.js +69 -0
- package/dist/models/CreateAppInstanceResponse.js.map +1 -0
- package/dist/models/CreateAppInstanceResponseBody.d.ts +86 -0
- package/dist/models/CreateAppInstanceResponseBody.js +107 -0
- package/dist/models/CreateAppInstanceResponseBody.js.map +1 -0
- package/dist/models/CreateAppInstanceTicketRequest.d.ts +23 -0
- package/dist/models/CreateAppInstanceTicketRequest.js +60 -0
- package/dist/models/CreateAppInstanceTicketRequest.js.map +1 -0
- package/dist/models/CreateAppInstanceTicketResponse.d.ts +19 -0
- package/dist/models/CreateAppInstanceTicketResponse.js +69 -0
- package/dist/models/CreateAppInstanceTicketResponse.js.map +1 -0
- package/dist/models/CreateAppInstanceTicketResponseBody.d.ts +134 -0
- package/dist/models/CreateAppInstanceTicketResponseBody.js +125 -0
- package/dist/models/CreateAppInstanceTicketResponseBody.js.map +1 -0
- package/dist/models/GetAppInstanceRequest.d.ts +18 -0
- package/dist/models/GetAppInstanceRequest.js +58 -0
- package/dist/models/GetAppInstanceRequest.js.map +1 -0
- package/dist/models/GetAppInstanceResponse.d.ts +19 -0
- package/dist/models/GetAppInstanceResponse.js +69 -0
- package/dist/models/GetAppInstanceResponse.js.map +1 -0
- package/dist/models/GetAppInstanceResponseBody.d.ts +64 -0
- package/dist/models/GetAppInstanceResponseBody.js +85 -0
- package/dist/models/GetAppInstanceResponseBody.js.map +1 -0
- package/dist/models/ListAppInstancesRequest.d.ts +69 -0
- package/dist/models/ListAppInstancesRequest.js +83 -0
- package/dist/models/ListAppInstancesRequest.js.map +1 -0
- package/dist/models/ListAppInstancesResponse.d.ts +19 -0
- package/dist/models/ListAppInstancesResponse.js +69 -0
- package/dist/models/ListAppInstancesResponse.js.map +1 -0
- package/dist/models/ListAppInstancesResponseBody.d.ts +96 -0
- package/dist/models/ListAppInstancesResponseBody.js +101 -0
- package/dist/models/ListAppInstancesResponseBody.js.map +1 -0
- package/dist/models/ListAppInstancesShrinkRequest.d.ts +69 -0
- package/dist/models/ListAppInstancesShrinkRequest.js +80 -0
- package/dist/models/ListAppInstancesShrinkRequest.js.map +1 -0
- package/dist/models/ModifyAppInstanceSpecRequest.d.ts +44 -0
- package/dist/models/ModifyAppInstanceSpecRequest.js +70 -0
- package/dist/models/ModifyAppInstanceSpecRequest.js.map +1 -0
- package/dist/models/ModifyAppInstanceSpecResponse.d.ts +19 -0
- package/dist/models/ModifyAppInstanceSpecResponse.js +69 -0
- package/dist/models/ModifyAppInstanceSpecResponse.js.map +1 -0
- package/dist/models/ModifyAppInstanceSpecResponseBody.d.ts +76 -0
- package/dist/models/ModifyAppInstanceSpecResponseBody.js +103 -0
- package/dist/models/ModifyAppInstanceSpecResponseBody.js.map +1 -0
- package/dist/models/RefreshAppInstanceTicketRequest.d.ts +28 -0
- package/dist/models/RefreshAppInstanceTicketRequest.js +62 -0
- package/dist/models/RefreshAppInstanceTicketRequest.js.map +1 -0
- package/dist/models/RefreshAppInstanceTicketResponse.d.ts +19 -0
- package/dist/models/RefreshAppInstanceTicketResponse.js +69 -0
- package/dist/models/RefreshAppInstanceTicketResponse.js.map +1 -0
- package/dist/models/RefreshAppInstanceTicketResponseBody.d.ts +134 -0
- package/dist/models/RefreshAppInstanceTicketResponseBody.js +125 -0
- package/dist/models/RefreshAppInstanceTicketResponseBody.js.map +1 -0
- package/dist/models/RenewAppInstanceRequest.d.ts +39 -0
- package/dist/models/RenewAppInstanceRequest.js +68 -0
- package/dist/models/RenewAppInstanceRequest.js.map +1 -0
- package/dist/models/RenewAppInstanceResponse.d.ts +19 -0
- package/dist/models/RenewAppInstanceResponse.js +69 -0
- package/dist/models/RenewAppInstanceResponse.js.map +1 -0
- package/dist/models/RenewAppInstanceResponseBody.d.ts +76 -0
- package/dist/models/RenewAppInstanceResponseBody.js +103 -0
- package/dist/models/RenewAppInstanceResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +37 -0
- package/dist/models/model.js +77 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +436 -0
- package/src/models/AppAiStaff.ts +40 -0
- package/src/models/AppInstance.ts +110 -0
- package/src/models/AppInstanceAggregate.ts +131 -0
- package/src/models/AppInstanceProfile.ts +72 -0
- package/src/models/AppOperateAction.ts +52 -0
- package/src/models/AppOperationAddress.ts +31 -0
- package/src/models/AppService.ts +73 -0
- package/src/models/AppServiceAggregate.ts +80 -0
- package/src/models/AppServiceGroup.ts +40 -0
- package/src/models/AppServiceProfile.ts +45 -0
- package/src/models/CreateAppInstanceRequest.ts +94 -0
- package/src/models/CreateAppInstanceResponse.ts +40 -0
- package/src/models/CreateAppInstanceResponseBody.ts +139 -0
- package/src/models/CreateAppInstanceTicketRequest.ts +38 -0
- package/src/models/CreateAppInstanceTicketResponse.ts +40 -0
- package/src/models/CreateAppInstanceTicketResponseBody.ts +205 -0
- package/src/models/GetAppInstanceRequest.ts +31 -0
- package/src/models/GetAppInstanceResponse.ts +40 -0
- package/src/models/GetAppInstanceResponseBody.ts +103 -0
- package/src/models/ListAppInstancesRequest.ts +107 -0
- package/src/models/ListAppInstancesResponse.ts +40 -0
- package/src/models/ListAppInstancesResponseBody.ts +151 -0
- package/src/models/ListAppInstancesShrinkRequest.ts +104 -0
- package/src/models/ModifyAppInstanceSpecRequest.ts +69 -0
- package/src/models/ModifyAppInstanceSpecResponse.ts +40 -0
- package/src/models/ModifyAppInstanceSpecResponseBody.ts +125 -0
- package/src/models/RefreshAppInstanceTicketRequest.ts +45 -0
- package/src/models/RefreshAppInstanceTicketResponse.ts +40 -0
- package/src/models/RefreshAppInstanceTicketResponseBody.ts +205 -0
- package/src/models/RenewAppInstanceRequest.ts +62 -0
- package/src/models/RenewAppInstanceResponse.ts +40 -0
- package/src/models/RenewAppInstanceResponseBody.ts +125 -0
- package/src/models/model.ts +37 -0
package/dist/client.d.ts
CHANGED
|
@@ -23,6 +23,36 @@ export default class Client extends OpenApi {
|
|
|
23
23
|
* @returns BindAppDomainResponse
|
|
24
24
|
*/
|
|
25
25
|
bindAppDomain(request: $_model.BindAppDomainRequest): Promise<$_model.BindAppDomainResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 创建建站实例
|
|
28
|
+
*
|
|
29
|
+
* @param request - CreateAppInstanceRequest
|
|
30
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
31
|
+
* @returns CreateAppInstanceResponse
|
|
32
|
+
*/
|
|
33
|
+
createAppInstanceWithOptions(request: $_model.CreateAppInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAppInstanceResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 创建建站实例
|
|
36
|
+
*
|
|
37
|
+
* @param request - CreateAppInstanceRequest
|
|
38
|
+
* @returns CreateAppInstanceResponse
|
|
39
|
+
*/
|
|
40
|
+
createAppInstance(request: $_model.CreateAppInstanceRequest): Promise<$_model.CreateAppInstanceResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* 免登ticket
|
|
43
|
+
*
|
|
44
|
+
* @param request - CreateAppInstanceTicketRequest
|
|
45
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
46
|
+
* @returns CreateAppInstanceTicketResponse
|
|
47
|
+
*/
|
|
48
|
+
createAppInstanceTicketWithOptions(request: $_model.CreateAppInstanceTicketRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAppInstanceTicketResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* 免登ticket
|
|
51
|
+
*
|
|
52
|
+
* @param request - CreateAppInstanceTicketRequest
|
|
53
|
+
* @returns CreateAppInstanceTicketResponse
|
|
54
|
+
*/
|
|
55
|
+
createAppInstanceTicket(request: $_model.CreateAppInstanceTicketRequest): Promise<$_model.CreateAppInstanceTicketResponse>;
|
|
26
56
|
/**
|
|
27
57
|
* 提交创建Logo任务
|
|
28
58
|
*
|
|
@@ -98,6 +128,21 @@ export default class Client extends OpenApi {
|
|
|
98
128
|
* @returns DispatchConsoleAPIForPartnerResponse
|
|
99
129
|
*/
|
|
100
130
|
dispatchConsoleAPIForPartner(request: $_model.DispatchConsoleAPIForPartnerRequest): Promise<$_model.DispatchConsoleAPIForPartnerResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* 查询应用实例详情
|
|
133
|
+
*
|
|
134
|
+
* @param request - GetAppInstanceRequest
|
|
135
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
136
|
+
* @returns GetAppInstanceResponse
|
|
137
|
+
*/
|
|
138
|
+
getAppInstanceWithOptions(request: $_model.GetAppInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAppInstanceResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* 查询应用实例详情
|
|
141
|
+
*
|
|
142
|
+
* @param request - GetAppInstanceRequest
|
|
143
|
+
* @returns GetAppInstanceResponse
|
|
144
|
+
*/
|
|
145
|
+
getAppInstance(request: $_model.GetAppInstanceRequest): Promise<$_model.GetAppInstanceResponse>;
|
|
101
146
|
/**
|
|
102
147
|
* 查询Logo创建任务
|
|
103
148
|
*
|
|
@@ -203,6 +248,36 @@ export default class Client extends OpenApi {
|
|
|
203
248
|
* @returns ListAppInstanceDomainsResponse
|
|
204
249
|
*/
|
|
205
250
|
listAppInstanceDomains(request: $_model.ListAppInstanceDomainsRequest): Promise<$_model.ListAppInstanceDomainsResponse>;
|
|
251
|
+
/**
|
|
252
|
+
* 建站实例列表查询
|
|
253
|
+
*
|
|
254
|
+
* @param tmpReq - ListAppInstancesRequest
|
|
255
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
256
|
+
* @returns ListAppInstancesResponse
|
|
257
|
+
*/
|
|
258
|
+
listAppInstancesWithOptions(tmpReq: $_model.ListAppInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAppInstancesResponse>;
|
|
259
|
+
/**
|
|
260
|
+
* 建站实例列表查询
|
|
261
|
+
*
|
|
262
|
+
* @param request - ListAppInstancesRequest
|
|
263
|
+
* @returns ListAppInstancesResponse
|
|
264
|
+
*/
|
|
265
|
+
listAppInstances(request: $_model.ListAppInstancesRequest): Promise<$_model.ListAppInstancesResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* 建站实例变配
|
|
268
|
+
*
|
|
269
|
+
* @param request - ModifyAppInstanceSpecRequest
|
|
270
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
271
|
+
* @returns ModifyAppInstanceSpecResponse
|
|
272
|
+
*/
|
|
273
|
+
modifyAppInstanceSpecWithOptions(request: $_model.ModifyAppInstanceSpecRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAppInstanceSpecResponse>;
|
|
274
|
+
/**
|
|
275
|
+
* 建站实例变配
|
|
276
|
+
*
|
|
277
|
+
* @param request - ModifyAppInstanceSpecRequest
|
|
278
|
+
* @returns ModifyAppInstanceSpecResponse
|
|
279
|
+
*/
|
|
280
|
+
modifyAppInstanceSpec(request: $_model.ModifyAppInstanceSpecRequest): Promise<$_model.ModifyAppInstanceSpecResponse>;
|
|
206
281
|
/**
|
|
207
282
|
* 合作伙伴操作应用
|
|
208
283
|
*
|
|
@@ -233,6 +308,36 @@ export default class Client extends OpenApi {
|
|
|
233
308
|
* @returns OperateAppServiceForPartnerResponse
|
|
234
309
|
*/
|
|
235
310
|
operateAppServiceForPartner(request: $_model.OperateAppServiceForPartnerRequest): Promise<$_model.OperateAppServiceForPartnerResponse>;
|
|
311
|
+
/**
|
|
312
|
+
* 刷新ticket
|
|
313
|
+
*
|
|
314
|
+
* @param request - RefreshAppInstanceTicketRequest
|
|
315
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
316
|
+
* @returns RefreshAppInstanceTicketResponse
|
|
317
|
+
*/
|
|
318
|
+
refreshAppInstanceTicketWithOptions(request: $_model.RefreshAppInstanceTicketRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RefreshAppInstanceTicketResponse>;
|
|
319
|
+
/**
|
|
320
|
+
* 刷新ticket
|
|
321
|
+
*
|
|
322
|
+
* @param request - RefreshAppInstanceTicketRequest
|
|
323
|
+
* @returns RefreshAppInstanceTicketResponse
|
|
324
|
+
*/
|
|
325
|
+
refreshAppInstanceTicket(request: $_model.RefreshAppInstanceTicketRequest): Promise<$_model.RefreshAppInstanceTicketResponse>;
|
|
326
|
+
/**
|
|
327
|
+
* 建站实例续费
|
|
328
|
+
*
|
|
329
|
+
* @param request - RenewAppInstanceRequest
|
|
330
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
331
|
+
* @returns RenewAppInstanceResponse
|
|
332
|
+
*/
|
|
333
|
+
renewAppInstanceWithOptions(request: $_model.RenewAppInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RenewAppInstanceResponse>;
|
|
334
|
+
/**
|
|
335
|
+
* 建站实例续费
|
|
336
|
+
*
|
|
337
|
+
* @param request - RenewAppInstanceRequest
|
|
338
|
+
* @returns RenewAppInstanceResponse
|
|
339
|
+
*/
|
|
340
|
+
renewAppInstance(request: $_model.RenewAppInstanceRequest): Promise<$_model.RenewAppInstanceResponse>;
|
|
236
341
|
/**
|
|
237
342
|
* 图片检索
|
|
238
343
|
*
|
package/dist/client.js
CHANGED
|
@@ -109,6 +109,114 @@ class Client extends openapi_core_1.default {
|
|
|
109
109
|
let runtime = new $dara.RuntimeOptions({});
|
|
110
110
|
return await this.bindAppDomainWithOptions(request, runtime);
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* 创建建站实例
|
|
114
|
+
*
|
|
115
|
+
* @param request - CreateAppInstanceRequest
|
|
116
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
117
|
+
* @returns CreateAppInstanceResponse
|
|
118
|
+
*/
|
|
119
|
+
async createAppInstanceWithOptions(request, runtime) {
|
|
120
|
+
request.validate();
|
|
121
|
+
let query = {};
|
|
122
|
+
if (!$dara.isNull(request.applicationType)) {
|
|
123
|
+
query["ApplicationType"] = request.applicationType;
|
|
124
|
+
}
|
|
125
|
+
if (!$dara.isNull(request.autoRenew)) {
|
|
126
|
+
query["AutoRenew"] = request.autoRenew;
|
|
127
|
+
}
|
|
128
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
129
|
+
query["ClientToken"] = request.clientToken;
|
|
130
|
+
}
|
|
131
|
+
if (!$dara.isNull(request.deployArea)) {
|
|
132
|
+
query["DeployArea"] = request.deployArea;
|
|
133
|
+
}
|
|
134
|
+
if (!$dara.isNull(request.duration)) {
|
|
135
|
+
query["Duration"] = request.duration;
|
|
136
|
+
}
|
|
137
|
+
if (!$dara.isNull(request.extend)) {
|
|
138
|
+
query["Extend"] = request.extend;
|
|
139
|
+
}
|
|
140
|
+
if (!$dara.isNull(request.paymentType)) {
|
|
141
|
+
query["PaymentType"] = request.paymentType;
|
|
142
|
+
}
|
|
143
|
+
if (!$dara.isNull(request.pricingCycle)) {
|
|
144
|
+
query["PricingCycle"] = request.pricingCycle;
|
|
145
|
+
}
|
|
146
|
+
if (!$dara.isNull(request.quantity)) {
|
|
147
|
+
query["Quantity"] = request.quantity;
|
|
148
|
+
}
|
|
149
|
+
if (!$dara.isNull(request.siteVersion)) {
|
|
150
|
+
query["SiteVersion"] = request.siteVersion;
|
|
151
|
+
}
|
|
152
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
153
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
154
|
+
});
|
|
155
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
156
|
+
action: "CreateAppInstance",
|
|
157
|
+
version: "2025-04-29",
|
|
158
|
+
protocol: "HTTPS",
|
|
159
|
+
pathname: "/",
|
|
160
|
+
method: "POST",
|
|
161
|
+
authType: "AK",
|
|
162
|
+
style: "RPC",
|
|
163
|
+
reqBodyType: "formData",
|
|
164
|
+
bodyType: "json",
|
|
165
|
+
});
|
|
166
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAppInstanceResponse({}));
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* 创建建站实例
|
|
170
|
+
*
|
|
171
|
+
* @param request - CreateAppInstanceRequest
|
|
172
|
+
* @returns CreateAppInstanceResponse
|
|
173
|
+
*/
|
|
174
|
+
async createAppInstance(request) {
|
|
175
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
176
|
+
return await this.createAppInstanceWithOptions(request, runtime);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* 免登ticket
|
|
180
|
+
*
|
|
181
|
+
* @param request - CreateAppInstanceTicketRequest
|
|
182
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
183
|
+
* @returns CreateAppInstanceTicketResponse
|
|
184
|
+
*/
|
|
185
|
+
async createAppInstanceTicketWithOptions(request, runtime) {
|
|
186
|
+
request.validate();
|
|
187
|
+
let query = {};
|
|
188
|
+
if (!$dara.isNull(request.bizId)) {
|
|
189
|
+
query["BizId"] = request.bizId;
|
|
190
|
+
}
|
|
191
|
+
if (!$dara.isNull(request.clientId)) {
|
|
192
|
+
query["ClientId"] = request.clientId;
|
|
193
|
+
}
|
|
194
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
195
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
196
|
+
});
|
|
197
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
198
|
+
action: "CreateAppInstanceTicket",
|
|
199
|
+
version: "2025-04-29",
|
|
200
|
+
protocol: "HTTPS",
|
|
201
|
+
pathname: "/",
|
|
202
|
+
method: "POST",
|
|
203
|
+
authType: "AK",
|
|
204
|
+
style: "RPC",
|
|
205
|
+
reqBodyType: "formData",
|
|
206
|
+
bodyType: "json",
|
|
207
|
+
});
|
|
208
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAppInstanceTicketResponse({}));
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* 免登ticket
|
|
212
|
+
*
|
|
213
|
+
* @param request - CreateAppInstanceTicketRequest
|
|
214
|
+
* @returns CreateAppInstanceTicketResponse
|
|
215
|
+
*/
|
|
216
|
+
async createAppInstanceTicket(request) {
|
|
217
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
218
|
+
return await this.createAppInstanceTicketWithOptions(request, runtime);
|
|
219
|
+
}
|
|
112
220
|
/**
|
|
113
221
|
* 提交创建Logo任务
|
|
114
222
|
*
|
|
@@ -337,6 +445,45 @@ class Client extends openapi_core_1.default {
|
|
|
337
445
|
let runtime = new $dara.RuntimeOptions({});
|
|
338
446
|
return await this.dispatchConsoleAPIForPartnerWithOptions(request, runtime);
|
|
339
447
|
}
|
|
448
|
+
/**
|
|
449
|
+
* 查询应用实例详情
|
|
450
|
+
*
|
|
451
|
+
* @param request - GetAppInstanceRequest
|
|
452
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
453
|
+
* @returns GetAppInstanceResponse
|
|
454
|
+
*/
|
|
455
|
+
async getAppInstanceWithOptions(request, runtime) {
|
|
456
|
+
request.validate();
|
|
457
|
+
let query = {};
|
|
458
|
+
if (!$dara.isNull(request.bizId)) {
|
|
459
|
+
query["BizId"] = request.bizId;
|
|
460
|
+
}
|
|
461
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
462
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
463
|
+
});
|
|
464
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
465
|
+
action: "GetAppInstance",
|
|
466
|
+
version: "2025-04-29",
|
|
467
|
+
protocol: "HTTPS",
|
|
468
|
+
pathname: "/",
|
|
469
|
+
method: "POST",
|
|
470
|
+
authType: "AK",
|
|
471
|
+
style: "RPC",
|
|
472
|
+
reqBodyType: "formData",
|
|
473
|
+
bodyType: "json",
|
|
474
|
+
});
|
|
475
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAppInstanceResponse({}));
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* 查询应用实例详情
|
|
479
|
+
*
|
|
480
|
+
* @param request - GetAppInstanceRequest
|
|
481
|
+
* @returns GetAppInstanceResponse
|
|
482
|
+
*/
|
|
483
|
+
async getAppInstance(request) {
|
|
484
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
485
|
+
return await this.getAppInstanceWithOptions(request, runtime);
|
|
486
|
+
}
|
|
340
487
|
/**
|
|
341
488
|
* 查询Logo创建任务
|
|
342
489
|
*
|
|
@@ -658,6 +805,140 @@ class Client extends openapi_core_1.default {
|
|
|
658
805
|
let runtime = new $dara.RuntimeOptions({});
|
|
659
806
|
return await this.listAppInstanceDomainsWithOptions(request, runtime);
|
|
660
807
|
}
|
|
808
|
+
/**
|
|
809
|
+
* 建站实例列表查询
|
|
810
|
+
*
|
|
811
|
+
* @param tmpReq - ListAppInstancesRequest
|
|
812
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
813
|
+
* @returns ListAppInstancesResponse
|
|
814
|
+
*/
|
|
815
|
+
async listAppInstancesWithOptions(tmpReq, runtime) {
|
|
816
|
+
tmpReq.validate();
|
|
817
|
+
let request = new $_model.ListAppInstancesShrinkRequest({});
|
|
818
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
819
|
+
if (!$dara.isNull(tmpReq.statusList)) {
|
|
820
|
+
request.statusListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.statusList, "StatusList", "json");
|
|
821
|
+
}
|
|
822
|
+
let query = {};
|
|
823
|
+
if (!$dara.isNull(request.bizId)) {
|
|
824
|
+
query["BizId"] = request.bizId;
|
|
825
|
+
}
|
|
826
|
+
if (!$dara.isNull(request.endTimeBegin)) {
|
|
827
|
+
query["EndTimeBegin"] = request.endTimeBegin;
|
|
828
|
+
}
|
|
829
|
+
if (!$dara.isNull(request.endTimeEnd)) {
|
|
830
|
+
query["EndTimeEnd"] = request.endTimeEnd;
|
|
831
|
+
}
|
|
832
|
+
if (!$dara.isNull(request.extend)) {
|
|
833
|
+
query["Extend"] = request.extend;
|
|
834
|
+
}
|
|
835
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
836
|
+
query["MaxResults"] = request.maxResults;
|
|
837
|
+
}
|
|
838
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
839
|
+
query["NextToken"] = request.nextToken;
|
|
840
|
+
}
|
|
841
|
+
if (!$dara.isNull(request.orderColumn)) {
|
|
842
|
+
query["OrderColumn"] = request.orderColumn;
|
|
843
|
+
}
|
|
844
|
+
if (!$dara.isNull(request.orderType)) {
|
|
845
|
+
query["OrderType"] = request.orderType;
|
|
846
|
+
}
|
|
847
|
+
if (!$dara.isNull(request.pageNum)) {
|
|
848
|
+
query["PageNum"] = request.pageNum;
|
|
849
|
+
}
|
|
850
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
851
|
+
query["PageSize"] = request.pageSize;
|
|
852
|
+
}
|
|
853
|
+
if (!$dara.isNull(request.query)) {
|
|
854
|
+
query["Query"] = request.query;
|
|
855
|
+
}
|
|
856
|
+
if (!$dara.isNull(request.statusListShrink)) {
|
|
857
|
+
query["StatusList"] = request.statusListShrink;
|
|
858
|
+
}
|
|
859
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
860
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
861
|
+
});
|
|
862
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
863
|
+
action: "ListAppInstances",
|
|
864
|
+
version: "2025-04-29",
|
|
865
|
+
protocol: "HTTPS",
|
|
866
|
+
pathname: "/",
|
|
867
|
+
method: "POST",
|
|
868
|
+
authType: "AK",
|
|
869
|
+
style: "RPC",
|
|
870
|
+
reqBodyType: "formData",
|
|
871
|
+
bodyType: "json",
|
|
872
|
+
});
|
|
873
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppInstancesResponse({}));
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* 建站实例列表查询
|
|
877
|
+
*
|
|
878
|
+
* @param request - ListAppInstancesRequest
|
|
879
|
+
* @returns ListAppInstancesResponse
|
|
880
|
+
*/
|
|
881
|
+
async listAppInstances(request) {
|
|
882
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
883
|
+
return await this.listAppInstancesWithOptions(request, runtime);
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* 建站实例变配
|
|
887
|
+
*
|
|
888
|
+
* @param request - ModifyAppInstanceSpecRequest
|
|
889
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
890
|
+
* @returns ModifyAppInstanceSpecResponse
|
|
891
|
+
*/
|
|
892
|
+
async modifyAppInstanceSpecWithOptions(request, runtime) {
|
|
893
|
+
request.validate();
|
|
894
|
+
let query = {};
|
|
895
|
+
if (!$dara.isNull(request.applicationType)) {
|
|
896
|
+
query["ApplicationType"] = request.applicationType;
|
|
897
|
+
}
|
|
898
|
+
if (!$dara.isNull(request.bizId)) {
|
|
899
|
+
query["BizId"] = request.bizId;
|
|
900
|
+
}
|
|
901
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
902
|
+
query["ClientToken"] = request.clientToken;
|
|
903
|
+
}
|
|
904
|
+
if (!$dara.isNull(request.deployArea)) {
|
|
905
|
+
query["DeployArea"] = request.deployArea;
|
|
906
|
+
}
|
|
907
|
+
if (!$dara.isNull(request.extend)) {
|
|
908
|
+
query["Extend"] = request.extend;
|
|
909
|
+
}
|
|
910
|
+
if (!$dara.isNull(request.paymentType)) {
|
|
911
|
+
query["PaymentType"] = request.paymentType;
|
|
912
|
+
}
|
|
913
|
+
if (!$dara.isNull(request.siteVersion)) {
|
|
914
|
+
query["SiteVersion"] = request.siteVersion;
|
|
915
|
+
}
|
|
916
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
917
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
918
|
+
});
|
|
919
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
920
|
+
action: "ModifyAppInstanceSpec",
|
|
921
|
+
version: "2025-04-29",
|
|
922
|
+
protocol: "HTTPS",
|
|
923
|
+
pathname: "/",
|
|
924
|
+
method: "POST",
|
|
925
|
+
authType: "AK",
|
|
926
|
+
style: "RPC",
|
|
927
|
+
reqBodyType: "formData",
|
|
928
|
+
bodyType: "json",
|
|
929
|
+
});
|
|
930
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAppInstanceSpecResponse({}));
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* 建站实例变配
|
|
934
|
+
*
|
|
935
|
+
* @param request - ModifyAppInstanceSpecRequest
|
|
936
|
+
* @returns ModifyAppInstanceSpecResponse
|
|
937
|
+
*/
|
|
938
|
+
async modifyAppInstanceSpec(request) {
|
|
939
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
940
|
+
return await this.modifyAppInstanceSpecWithOptions(request, runtime);
|
|
941
|
+
}
|
|
661
942
|
/**
|
|
662
943
|
* 合作伙伴操作应用
|
|
663
944
|
*
|
|
@@ -748,6 +1029,105 @@ class Client extends openapi_core_1.default {
|
|
|
748
1029
|
let runtime = new $dara.RuntimeOptions({});
|
|
749
1030
|
return await this.operateAppServiceForPartnerWithOptions(request, runtime);
|
|
750
1031
|
}
|
|
1032
|
+
/**
|
|
1033
|
+
* 刷新ticket
|
|
1034
|
+
*
|
|
1035
|
+
* @param request - RefreshAppInstanceTicketRequest
|
|
1036
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1037
|
+
* @returns RefreshAppInstanceTicketResponse
|
|
1038
|
+
*/
|
|
1039
|
+
async refreshAppInstanceTicketWithOptions(request, runtime) {
|
|
1040
|
+
request.validate();
|
|
1041
|
+
let query = {};
|
|
1042
|
+
if (!$dara.isNull(request.bizId)) {
|
|
1043
|
+
query["BizId"] = request.bizId;
|
|
1044
|
+
}
|
|
1045
|
+
if (!$dara.isNull(request.token)) {
|
|
1046
|
+
query["Token"] = request.token;
|
|
1047
|
+
}
|
|
1048
|
+
if (!$dara.isNull(request.uuid)) {
|
|
1049
|
+
query["Uuid"] = request.uuid;
|
|
1050
|
+
}
|
|
1051
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1052
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1053
|
+
});
|
|
1054
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1055
|
+
action: "RefreshAppInstanceTicket",
|
|
1056
|
+
version: "2025-04-29",
|
|
1057
|
+
protocol: "HTTPS",
|
|
1058
|
+
pathname: "/",
|
|
1059
|
+
method: "POST",
|
|
1060
|
+
authType: "AK",
|
|
1061
|
+
style: "RPC",
|
|
1062
|
+
reqBodyType: "formData",
|
|
1063
|
+
bodyType: "json",
|
|
1064
|
+
});
|
|
1065
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RefreshAppInstanceTicketResponse({}));
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
* 刷新ticket
|
|
1069
|
+
*
|
|
1070
|
+
* @param request - RefreshAppInstanceTicketRequest
|
|
1071
|
+
* @returns RefreshAppInstanceTicketResponse
|
|
1072
|
+
*/
|
|
1073
|
+
async refreshAppInstanceTicket(request) {
|
|
1074
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1075
|
+
return await this.refreshAppInstanceTicketWithOptions(request, runtime);
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* 建站实例续费
|
|
1079
|
+
*
|
|
1080
|
+
* @param request - RenewAppInstanceRequest
|
|
1081
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1082
|
+
* @returns RenewAppInstanceResponse
|
|
1083
|
+
*/
|
|
1084
|
+
async renewAppInstanceWithOptions(request, runtime) {
|
|
1085
|
+
request.validate();
|
|
1086
|
+
let query = {};
|
|
1087
|
+
if (!$dara.isNull(request.bizId)) {
|
|
1088
|
+
query["BizId"] = request.bizId;
|
|
1089
|
+
}
|
|
1090
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1091
|
+
query["ClientToken"] = request.clientToken;
|
|
1092
|
+
}
|
|
1093
|
+
if (!$dara.isNull(request.duration)) {
|
|
1094
|
+
query["Duration"] = request.duration;
|
|
1095
|
+
}
|
|
1096
|
+
if (!$dara.isNull(request.extend)) {
|
|
1097
|
+
query["Extend"] = request.extend;
|
|
1098
|
+
}
|
|
1099
|
+
if (!$dara.isNull(request.paymentType)) {
|
|
1100
|
+
query["PaymentType"] = request.paymentType;
|
|
1101
|
+
}
|
|
1102
|
+
if (!$dara.isNull(request.pricingCycle)) {
|
|
1103
|
+
query["PricingCycle"] = request.pricingCycle;
|
|
1104
|
+
}
|
|
1105
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1106
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1107
|
+
});
|
|
1108
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1109
|
+
action: "RenewAppInstance",
|
|
1110
|
+
version: "2025-04-29",
|
|
1111
|
+
protocol: "HTTPS",
|
|
1112
|
+
pathname: "/",
|
|
1113
|
+
method: "POST",
|
|
1114
|
+
authType: "AK",
|
|
1115
|
+
style: "RPC",
|
|
1116
|
+
reqBodyType: "formData",
|
|
1117
|
+
bodyType: "json",
|
|
1118
|
+
});
|
|
1119
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RenewAppInstanceResponse({}));
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* 建站实例续费
|
|
1123
|
+
*
|
|
1124
|
+
* @param request - RenewAppInstanceRequest
|
|
1125
|
+
* @returns RenewAppInstanceResponse
|
|
1126
|
+
*/
|
|
1127
|
+
async renewAppInstance(request) {
|
|
1128
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1129
|
+
return await this.renewAppInstanceWithOptions(request, runtime);
|
|
1130
|
+
}
|
|
751
1131
|
/**
|
|
752
1132
|
* 图片检索
|
|
753
1133
|
*
|