@alicloud/dataworks-public20200518 4.5.0 → 4.6.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 +48 -0
- package/dist/client.js +102 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +126 -0
package/dist/client.d.ts
CHANGED
|
@@ -323,6 +323,50 @@ export declare class ApprovePermissionApplyOrderResponse extends $tea.Model {
|
|
|
323
323
|
[key: string]: any;
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
|
+
export declare class CallbackExtensionRequest extends $tea.Model {
|
|
327
|
+
checkMessage?: string;
|
|
328
|
+
checkResult?: string;
|
|
329
|
+
extensionCode?: string;
|
|
330
|
+
messageId?: string;
|
|
331
|
+
static names(): {
|
|
332
|
+
[key: string]: string;
|
|
333
|
+
};
|
|
334
|
+
static types(): {
|
|
335
|
+
[key: string]: any;
|
|
336
|
+
};
|
|
337
|
+
constructor(map?: {
|
|
338
|
+
[key: string]: any;
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
export declare class CallbackExtensionResponseBody extends $tea.Model {
|
|
342
|
+
requestId?: string;
|
|
343
|
+
success?: string;
|
|
344
|
+
static names(): {
|
|
345
|
+
[key: string]: string;
|
|
346
|
+
};
|
|
347
|
+
static types(): {
|
|
348
|
+
[key: string]: any;
|
|
349
|
+
};
|
|
350
|
+
constructor(map?: {
|
|
351
|
+
[key: string]: any;
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
export declare class CallbackExtensionResponse extends $tea.Model {
|
|
355
|
+
headers: {
|
|
356
|
+
[key: string]: string;
|
|
357
|
+
};
|
|
358
|
+
statusCode: number;
|
|
359
|
+
body: CallbackExtensionResponseBody;
|
|
360
|
+
static names(): {
|
|
361
|
+
[key: string]: string;
|
|
362
|
+
};
|
|
363
|
+
static types(): {
|
|
364
|
+
[key: string]: any;
|
|
365
|
+
};
|
|
366
|
+
constructor(map?: {
|
|
367
|
+
[key: string]: any;
|
|
368
|
+
});
|
|
369
|
+
}
|
|
326
370
|
export declare class ChangeResourceManagerResourceGroupRequest extends $tea.Model {
|
|
327
371
|
resourceId?: string;
|
|
328
372
|
resourceManagerResourceGroupId?: string;
|
|
@@ -6189,6 +6233,7 @@ export declare class GetPermissionApplyOrderDetailResponse extends $tea.Model {
|
|
|
6189
6233
|
}
|
|
6190
6234
|
export declare class GetProjectRequest extends $tea.Model {
|
|
6191
6235
|
projectId?: number;
|
|
6236
|
+
projectIdentifier?: string;
|
|
6192
6237
|
static names(): {
|
|
6193
6238
|
[key: string]: string;
|
|
6194
6239
|
};
|
|
@@ -13842,6 +13887,7 @@ export declare class GetFileResponseBodyDataFile extends $tea.Model {
|
|
|
13842
13887
|
deletedStatus?: string;
|
|
13843
13888
|
fileDescription?: string;
|
|
13844
13889
|
fileFolderId?: string;
|
|
13890
|
+
fileId?: number;
|
|
13845
13891
|
fileName?: string;
|
|
13846
13892
|
fileType?: number;
|
|
13847
13893
|
isMaxCompute?: boolean;
|
|
@@ -18588,6 +18634,8 @@ export default class Client extends OpenApi {
|
|
|
18588
18634
|
addToMetaCategory(request: AddToMetaCategoryRequest): Promise<AddToMetaCategoryResponse>;
|
|
18589
18635
|
approvePermissionApplyOrderWithOptions(request: ApprovePermissionApplyOrderRequest, runtime: $Util.RuntimeOptions): Promise<ApprovePermissionApplyOrderResponse>;
|
|
18590
18636
|
approvePermissionApplyOrder(request: ApprovePermissionApplyOrderRequest): Promise<ApprovePermissionApplyOrderResponse>;
|
|
18637
|
+
callbackExtensionWithOptions(request: CallbackExtensionRequest, runtime: $Util.RuntimeOptions): Promise<CallbackExtensionResponse>;
|
|
18638
|
+
callbackExtension(request: CallbackExtensionRequest): Promise<CallbackExtensionResponse>;
|
|
18591
18639
|
changeResourceManagerResourceGroupWithOptions(request: ChangeResourceManagerResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceManagerResourceGroupResponse>;
|
|
18592
18640
|
changeResourceManagerResourceGroup(request: ChangeResourceManagerResourceGroupRequest): Promise<ChangeResourceManagerResourceGroupResponse>;
|
|
18593
18641
|
checkFileDeploymentWithOptions(request: CheckFileDeploymentRequest, runtime: $Util.RuntimeOptions): Promise<CheckFileDeploymentResponse>;
|
package/dist/client.js
CHANGED
|
@@ -465,6 +465,66 @@ class ApprovePermissionApplyOrderResponse extends $tea.Model {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
exports.ApprovePermissionApplyOrderResponse = ApprovePermissionApplyOrderResponse;
|
|
468
|
+
class CallbackExtensionRequest extends $tea.Model {
|
|
469
|
+
constructor(map) {
|
|
470
|
+
super(map);
|
|
471
|
+
}
|
|
472
|
+
static names() {
|
|
473
|
+
return {
|
|
474
|
+
checkMessage: 'CheckMessage',
|
|
475
|
+
checkResult: 'CheckResult',
|
|
476
|
+
extensionCode: 'ExtensionCode',
|
|
477
|
+
messageId: 'MessageId',
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
static types() {
|
|
481
|
+
return {
|
|
482
|
+
checkMessage: 'string',
|
|
483
|
+
checkResult: 'string',
|
|
484
|
+
extensionCode: 'string',
|
|
485
|
+
messageId: 'string',
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
exports.CallbackExtensionRequest = CallbackExtensionRequest;
|
|
490
|
+
class CallbackExtensionResponseBody extends $tea.Model {
|
|
491
|
+
constructor(map) {
|
|
492
|
+
super(map);
|
|
493
|
+
}
|
|
494
|
+
static names() {
|
|
495
|
+
return {
|
|
496
|
+
requestId: 'RequestId',
|
|
497
|
+
success: 'Success',
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
static types() {
|
|
501
|
+
return {
|
|
502
|
+
requestId: 'string',
|
|
503
|
+
success: 'string',
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
exports.CallbackExtensionResponseBody = CallbackExtensionResponseBody;
|
|
508
|
+
class CallbackExtensionResponse extends $tea.Model {
|
|
509
|
+
constructor(map) {
|
|
510
|
+
super(map);
|
|
511
|
+
}
|
|
512
|
+
static names() {
|
|
513
|
+
return {
|
|
514
|
+
headers: 'headers',
|
|
515
|
+
statusCode: 'statusCode',
|
|
516
|
+
body: 'body',
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
static types() {
|
|
520
|
+
return {
|
|
521
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
522
|
+
statusCode: 'number',
|
|
523
|
+
body: CallbackExtensionResponseBody,
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
exports.CallbackExtensionResponse = CallbackExtensionResponse;
|
|
468
528
|
class ChangeResourceManagerResourceGroupRequest extends $tea.Model {
|
|
469
529
|
constructor(map) {
|
|
470
530
|
super(map);
|
|
@@ -8732,11 +8792,13 @@ class GetProjectRequest extends $tea.Model {
|
|
|
8732
8792
|
static names() {
|
|
8733
8793
|
return {
|
|
8734
8794
|
projectId: 'ProjectId',
|
|
8795
|
+
projectIdentifier: 'ProjectIdentifier',
|
|
8735
8796
|
};
|
|
8736
8797
|
}
|
|
8737
8798
|
static types() {
|
|
8738
8799
|
return {
|
|
8739
8800
|
projectId: 'number',
|
|
8801
|
+
projectIdentifier: 'string',
|
|
8740
8802
|
};
|
|
8741
8803
|
}
|
|
8742
8804
|
}
|
|
@@ -19662,6 +19724,7 @@ class GetFileResponseBodyDataFile extends $tea.Model {
|
|
|
19662
19724
|
deletedStatus: 'DeletedStatus',
|
|
19663
19725
|
fileDescription: 'FileDescription',
|
|
19664
19726
|
fileFolderId: 'FileFolderId',
|
|
19727
|
+
fileId: 'FileId',
|
|
19665
19728
|
fileName: 'FileName',
|
|
19666
19729
|
fileType: 'FileType',
|
|
19667
19730
|
isMaxCompute: 'IsMaxCompute',
|
|
@@ -19688,6 +19751,7 @@ class GetFileResponseBodyDataFile extends $tea.Model {
|
|
|
19688
19751
|
deletedStatus: 'string',
|
|
19689
19752
|
fileDescription: 'string',
|
|
19690
19753
|
fileFolderId: 'string',
|
|
19754
|
+
fileId: 'number',
|
|
19691
19755
|
fileName: 'string',
|
|
19692
19756
|
fileType: 'number',
|
|
19693
19757
|
isMaxCompute: 'boolean',
|
|
@@ -27162,6 +27226,41 @@ class Client extends openapi_client_1.default {
|
|
|
27162
27226
|
let runtime = new $Util.RuntimeOptions({});
|
|
27163
27227
|
return await this.approvePermissionApplyOrderWithOptions(request, runtime);
|
|
27164
27228
|
}
|
|
27229
|
+
async callbackExtensionWithOptions(request, runtime) {
|
|
27230
|
+
tea_util_1.default.validateModel(request);
|
|
27231
|
+
let body = {};
|
|
27232
|
+
if (!tea_util_1.default.isUnset(request.checkMessage)) {
|
|
27233
|
+
body["CheckMessage"] = request.checkMessage;
|
|
27234
|
+
}
|
|
27235
|
+
if (!tea_util_1.default.isUnset(request.checkResult)) {
|
|
27236
|
+
body["CheckResult"] = request.checkResult;
|
|
27237
|
+
}
|
|
27238
|
+
if (!tea_util_1.default.isUnset(request.extensionCode)) {
|
|
27239
|
+
body["ExtensionCode"] = request.extensionCode;
|
|
27240
|
+
}
|
|
27241
|
+
if (!tea_util_1.default.isUnset(request.messageId)) {
|
|
27242
|
+
body["MessageId"] = request.messageId;
|
|
27243
|
+
}
|
|
27244
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
27245
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
27246
|
+
});
|
|
27247
|
+
let params = new $OpenApi.Params({
|
|
27248
|
+
action: "CallbackExtension",
|
|
27249
|
+
version: "2020-05-18",
|
|
27250
|
+
protocol: "HTTPS",
|
|
27251
|
+
pathname: "/",
|
|
27252
|
+
method: "POST",
|
|
27253
|
+
authType: "AK",
|
|
27254
|
+
style: "RPC",
|
|
27255
|
+
reqBodyType: "formData",
|
|
27256
|
+
bodyType: "json",
|
|
27257
|
+
});
|
|
27258
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CallbackExtensionResponse({}));
|
|
27259
|
+
}
|
|
27260
|
+
async callbackExtension(request) {
|
|
27261
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
27262
|
+
return await this.callbackExtensionWithOptions(request, runtime);
|
|
27263
|
+
}
|
|
27165
27264
|
async changeResourceManagerResourceGroupWithOptions(request, runtime) {
|
|
27166
27265
|
tea_util_1.default.validateModel(request);
|
|
27167
27266
|
let query = {};
|
|
@@ -32098,6 +32197,9 @@ class Client extends openapi_client_1.default {
|
|
|
32098
32197
|
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
32099
32198
|
query["ProjectId"] = request.projectId;
|
|
32100
32199
|
}
|
|
32200
|
+
if (!tea_util_1.default.isUnset(request.projectIdentifier)) {
|
|
32201
|
+
query["ProjectIdentifier"] = request.projectIdentifier;
|
|
32202
|
+
}
|
|
32101
32203
|
let req = new $OpenApi.OpenApiRequest({
|
|
32102
32204
|
query: openapi_util_1.default.query(query),
|
|
32103
32205
|
});
|