@alicloud/dataworks-public20200518 4.3.3 → 4.3.6
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 +79 -0
- package/dist/client.js +157 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +197 -0
package/dist/client.d.ts
CHANGED
|
@@ -862,6 +862,8 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
862
862
|
fileName?: string;
|
|
863
863
|
fileType?: number;
|
|
864
864
|
inputList?: string;
|
|
865
|
+
inputParameters?: string;
|
|
866
|
+
outputParameters?: string;
|
|
865
867
|
owner?: string;
|
|
866
868
|
paraValue?: string;
|
|
867
869
|
projectId?: number;
|
|
@@ -9416,7 +9418,9 @@ export declare class UpdateFileRequest extends $tea.Model {
|
|
|
9416
9418
|
fileId?: number;
|
|
9417
9419
|
fileName?: string;
|
|
9418
9420
|
inputList?: string;
|
|
9421
|
+
inputParameters?: string;
|
|
9419
9422
|
outputList?: string;
|
|
9423
|
+
outputParameters?: string;
|
|
9420
9424
|
owner?: string;
|
|
9421
9425
|
paraValue?: string;
|
|
9422
9426
|
projectId?: number;
|
|
@@ -10237,6 +10241,49 @@ export declare class UpdateUdfFileResponse extends $tea.Model {
|
|
|
10237
10241
|
[key: string]: any;
|
|
10238
10242
|
});
|
|
10239
10243
|
}
|
|
10244
|
+
export declare class UpdateWorkbenchEventResultRequest extends $tea.Model {
|
|
10245
|
+
checkResult?: string;
|
|
10246
|
+
checkResultTip?: string;
|
|
10247
|
+
extensionCode?: string;
|
|
10248
|
+
messageId?: string;
|
|
10249
|
+
static names(): {
|
|
10250
|
+
[key: string]: string;
|
|
10251
|
+
};
|
|
10252
|
+
static types(): {
|
|
10253
|
+
[key: string]: any;
|
|
10254
|
+
};
|
|
10255
|
+
constructor(map?: {
|
|
10256
|
+
[key: string]: any;
|
|
10257
|
+
});
|
|
10258
|
+
}
|
|
10259
|
+
export declare class UpdateWorkbenchEventResultResponseBody extends $tea.Model {
|
|
10260
|
+
requestId?: string;
|
|
10261
|
+
success?: boolean;
|
|
10262
|
+
static names(): {
|
|
10263
|
+
[key: string]: string;
|
|
10264
|
+
};
|
|
10265
|
+
static types(): {
|
|
10266
|
+
[key: string]: any;
|
|
10267
|
+
};
|
|
10268
|
+
constructor(map?: {
|
|
10269
|
+
[key: string]: any;
|
|
10270
|
+
});
|
|
10271
|
+
}
|
|
10272
|
+
export declare class UpdateWorkbenchEventResultResponse extends $tea.Model {
|
|
10273
|
+
headers: {
|
|
10274
|
+
[key: string]: string;
|
|
10275
|
+
};
|
|
10276
|
+
body: UpdateWorkbenchEventResultResponseBody;
|
|
10277
|
+
static names(): {
|
|
10278
|
+
[key: string]: string;
|
|
10279
|
+
};
|
|
10280
|
+
static types(): {
|
|
10281
|
+
[key: string]: any;
|
|
10282
|
+
};
|
|
10283
|
+
constructor(map?: {
|
|
10284
|
+
[key: string]: any;
|
|
10285
|
+
});
|
|
10286
|
+
}
|
|
10240
10287
|
export declare class CreateDISyncTaskResponseBodyData extends $tea.Model {
|
|
10241
10288
|
fileId?: number;
|
|
10242
10289
|
message?: string;
|
|
@@ -11366,6 +11413,19 @@ export declare class GetFileResponseBodyDataNodeConfigurationInputList extends $
|
|
|
11366
11413
|
[key: string]: any;
|
|
11367
11414
|
});
|
|
11368
11415
|
}
|
|
11416
|
+
export declare class GetFileResponseBodyDataNodeConfigurationInputParameters extends $tea.Model {
|
|
11417
|
+
parameterName?: string;
|
|
11418
|
+
valueSource?: string;
|
|
11419
|
+
static names(): {
|
|
11420
|
+
[key: string]: string;
|
|
11421
|
+
};
|
|
11422
|
+
static types(): {
|
|
11423
|
+
[key: string]: any;
|
|
11424
|
+
};
|
|
11425
|
+
constructor(map?: {
|
|
11426
|
+
[key: string]: any;
|
|
11427
|
+
});
|
|
11428
|
+
}
|
|
11369
11429
|
export declare class GetFileResponseBodyDataNodeConfigurationOutputList extends $tea.Model {
|
|
11370
11430
|
output?: string;
|
|
11371
11431
|
refTableName?: string;
|
|
@@ -11379,6 +11439,21 @@ export declare class GetFileResponseBodyDataNodeConfigurationOutputList extends
|
|
|
11379
11439
|
[key: string]: any;
|
|
11380
11440
|
});
|
|
11381
11441
|
}
|
|
11442
|
+
export declare class GetFileResponseBodyDataNodeConfigurationOutputParameters extends $tea.Model {
|
|
11443
|
+
description?: string;
|
|
11444
|
+
parameterName?: string;
|
|
11445
|
+
type?: string;
|
|
11446
|
+
value?: string;
|
|
11447
|
+
static names(): {
|
|
11448
|
+
[key: string]: string;
|
|
11449
|
+
};
|
|
11450
|
+
static types(): {
|
|
11451
|
+
[key: string]: any;
|
|
11452
|
+
};
|
|
11453
|
+
constructor(map?: {
|
|
11454
|
+
[key: string]: any;
|
|
11455
|
+
});
|
|
11456
|
+
}
|
|
11382
11457
|
export declare class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
11383
11458
|
autoRerunIntervalMillis?: number;
|
|
11384
11459
|
autoRerunTimes?: number;
|
|
@@ -11388,7 +11463,9 @@ export declare class GetFileResponseBodyDataNodeConfiguration extends $tea.Model
|
|
|
11388
11463
|
dependentType?: string;
|
|
11389
11464
|
endEffectDate?: number;
|
|
11390
11465
|
inputList?: GetFileResponseBodyDataNodeConfigurationInputList[];
|
|
11466
|
+
inputParameters?: GetFileResponseBodyDataNodeConfigurationInputParameters[];
|
|
11391
11467
|
outputList?: GetFileResponseBodyDataNodeConfigurationOutputList[];
|
|
11468
|
+
outputParameters?: GetFileResponseBodyDataNodeConfigurationOutputParameters[];
|
|
11392
11469
|
paraValue?: string;
|
|
11393
11470
|
rerunMode?: string;
|
|
11394
11471
|
resourceGroupId?: number;
|
|
@@ -15821,4 +15898,6 @@ export default class Client extends OpenApi {
|
|
|
15821
15898
|
updateTableTheme(request: UpdateTableThemeRequest): Promise<UpdateTableThemeResponse>;
|
|
15822
15899
|
updateUdfFileWithOptions(request: UpdateUdfFileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUdfFileResponse>;
|
|
15823
15900
|
updateUdfFile(request: UpdateUdfFileRequest): Promise<UpdateUdfFileResponse>;
|
|
15901
|
+
updateWorkbenchEventResultWithOptions(request: UpdateWorkbenchEventResultRequest, runtime: $Util.RuntimeOptions): Promise<UpdateWorkbenchEventResultResponse>;
|
|
15902
|
+
updateWorkbenchEventResult(request: UpdateWorkbenchEventResultRequest): Promise<UpdateWorkbenchEventResultResponse>;
|
|
15824
15903
|
}
|
package/dist/client.js
CHANGED
|
@@ -1220,6 +1220,8 @@ class CreateFileRequest extends $tea.Model {
|
|
|
1220
1220
|
fileName: 'FileName',
|
|
1221
1221
|
fileType: 'FileType',
|
|
1222
1222
|
inputList: 'InputList',
|
|
1223
|
+
inputParameters: 'InputParameters',
|
|
1224
|
+
outputParameters: 'OutputParameters',
|
|
1223
1225
|
owner: 'Owner',
|
|
1224
1226
|
paraValue: 'ParaValue',
|
|
1225
1227
|
projectId: 'ProjectId',
|
|
@@ -1251,6 +1253,8 @@ class CreateFileRequest extends $tea.Model {
|
|
|
1251
1253
|
fileName: 'string',
|
|
1252
1254
|
fileType: 'number',
|
|
1253
1255
|
inputList: 'string',
|
|
1256
|
+
inputParameters: 'string',
|
|
1257
|
+
outputParameters: 'string',
|
|
1254
1258
|
owner: 'string',
|
|
1255
1259
|
paraValue: 'string',
|
|
1256
1260
|
projectId: 'number',
|
|
@@ -13096,7 +13100,9 @@ class UpdateFileRequest extends $tea.Model {
|
|
|
13096
13100
|
fileId: 'FileId',
|
|
13097
13101
|
fileName: 'FileName',
|
|
13098
13102
|
inputList: 'InputList',
|
|
13103
|
+
inputParameters: 'InputParameters',
|
|
13099
13104
|
outputList: 'OutputList',
|
|
13105
|
+
outputParameters: 'OutputParameters',
|
|
13100
13106
|
owner: 'Owner',
|
|
13101
13107
|
paraValue: 'ParaValue',
|
|
13102
13108
|
projectId: 'ProjectId',
|
|
@@ -13127,7 +13133,9 @@ class UpdateFileRequest extends $tea.Model {
|
|
|
13127
13133
|
fileId: 'number',
|
|
13128
13134
|
fileName: 'string',
|
|
13129
13135
|
inputList: 'string',
|
|
13136
|
+
inputParameters: 'string',
|
|
13130
13137
|
outputList: 'string',
|
|
13138
|
+
outputParameters: 'string',
|
|
13131
13139
|
owner: 'string',
|
|
13132
13140
|
paraValue: 'string',
|
|
13133
13141
|
projectId: 'number',
|
|
@@ -14274,6 +14282,64 @@ class UpdateUdfFileResponse extends $tea.Model {
|
|
|
14274
14282
|
}
|
|
14275
14283
|
}
|
|
14276
14284
|
exports.UpdateUdfFileResponse = UpdateUdfFileResponse;
|
|
14285
|
+
class UpdateWorkbenchEventResultRequest extends $tea.Model {
|
|
14286
|
+
constructor(map) {
|
|
14287
|
+
super(map);
|
|
14288
|
+
}
|
|
14289
|
+
static names() {
|
|
14290
|
+
return {
|
|
14291
|
+
checkResult: 'CheckResult',
|
|
14292
|
+
checkResultTip: 'CheckResultTip',
|
|
14293
|
+
extensionCode: 'ExtensionCode',
|
|
14294
|
+
messageId: 'MessageId',
|
|
14295
|
+
};
|
|
14296
|
+
}
|
|
14297
|
+
static types() {
|
|
14298
|
+
return {
|
|
14299
|
+
checkResult: 'string',
|
|
14300
|
+
checkResultTip: 'string',
|
|
14301
|
+
extensionCode: 'string',
|
|
14302
|
+
messageId: 'string',
|
|
14303
|
+
};
|
|
14304
|
+
}
|
|
14305
|
+
}
|
|
14306
|
+
exports.UpdateWorkbenchEventResultRequest = UpdateWorkbenchEventResultRequest;
|
|
14307
|
+
class UpdateWorkbenchEventResultResponseBody extends $tea.Model {
|
|
14308
|
+
constructor(map) {
|
|
14309
|
+
super(map);
|
|
14310
|
+
}
|
|
14311
|
+
static names() {
|
|
14312
|
+
return {
|
|
14313
|
+
requestId: 'RequestId',
|
|
14314
|
+
success: 'Success',
|
|
14315
|
+
};
|
|
14316
|
+
}
|
|
14317
|
+
static types() {
|
|
14318
|
+
return {
|
|
14319
|
+
requestId: 'string',
|
|
14320
|
+
success: 'boolean',
|
|
14321
|
+
};
|
|
14322
|
+
}
|
|
14323
|
+
}
|
|
14324
|
+
exports.UpdateWorkbenchEventResultResponseBody = UpdateWorkbenchEventResultResponseBody;
|
|
14325
|
+
class UpdateWorkbenchEventResultResponse extends $tea.Model {
|
|
14326
|
+
constructor(map) {
|
|
14327
|
+
super(map);
|
|
14328
|
+
}
|
|
14329
|
+
static names() {
|
|
14330
|
+
return {
|
|
14331
|
+
headers: 'headers',
|
|
14332
|
+
body: 'body',
|
|
14333
|
+
};
|
|
14334
|
+
}
|
|
14335
|
+
static types() {
|
|
14336
|
+
return {
|
|
14337
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
14338
|
+
body: UpdateWorkbenchEventResultResponseBody,
|
|
14339
|
+
};
|
|
14340
|
+
}
|
|
14341
|
+
}
|
|
14342
|
+
exports.UpdateWorkbenchEventResultResponse = UpdateWorkbenchEventResultResponse;
|
|
14277
14343
|
class CreateDISyncTaskResponseBodyData extends $tea.Model {
|
|
14278
14344
|
constructor(map) {
|
|
14279
14345
|
super(map);
|
|
@@ -16020,6 +16086,24 @@ class GetFileResponseBodyDataNodeConfigurationInputList extends $tea.Model {
|
|
|
16020
16086
|
}
|
|
16021
16087
|
}
|
|
16022
16088
|
exports.GetFileResponseBodyDataNodeConfigurationInputList = GetFileResponseBodyDataNodeConfigurationInputList;
|
|
16089
|
+
class GetFileResponseBodyDataNodeConfigurationInputParameters extends $tea.Model {
|
|
16090
|
+
constructor(map) {
|
|
16091
|
+
super(map);
|
|
16092
|
+
}
|
|
16093
|
+
static names() {
|
|
16094
|
+
return {
|
|
16095
|
+
parameterName: 'ParameterName',
|
|
16096
|
+
valueSource: 'ValueSource',
|
|
16097
|
+
};
|
|
16098
|
+
}
|
|
16099
|
+
static types() {
|
|
16100
|
+
return {
|
|
16101
|
+
parameterName: 'string',
|
|
16102
|
+
valueSource: 'string',
|
|
16103
|
+
};
|
|
16104
|
+
}
|
|
16105
|
+
}
|
|
16106
|
+
exports.GetFileResponseBodyDataNodeConfigurationInputParameters = GetFileResponseBodyDataNodeConfigurationInputParameters;
|
|
16023
16107
|
class GetFileResponseBodyDataNodeConfigurationOutputList extends $tea.Model {
|
|
16024
16108
|
constructor(map) {
|
|
16025
16109
|
super(map);
|
|
@@ -16038,6 +16122,28 @@ class GetFileResponseBodyDataNodeConfigurationOutputList extends $tea.Model {
|
|
|
16038
16122
|
}
|
|
16039
16123
|
}
|
|
16040
16124
|
exports.GetFileResponseBodyDataNodeConfigurationOutputList = GetFileResponseBodyDataNodeConfigurationOutputList;
|
|
16125
|
+
class GetFileResponseBodyDataNodeConfigurationOutputParameters extends $tea.Model {
|
|
16126
|
+
constructor(map) {
|
|
16127
|
+
super(map);
|
|
16128
|
+
}
|
|
16129
|
+
static names() {
|
|
16130
|
+
return {
|
|
16131
|
+
description: 'Description',
|
|
16132
|
+
parameterName: 'ParameterName',
|
|
16133
|
+
type: 'Type',
|
|
16134
|
+
value: 'Value',
|
|
16135
|
+
};
|
|
16136
|
+
}
|
|
16137
|
+
static types() {
|
|
16138
|
+
return {
|
|
16139
|
+
description: 'string',
|
|
16140
|
+
parameterName: 'string',
|
|
16141
|
+
type: 'string',
|
|
16142
|
+
value: 'string',
|
|
16143
|
+
};
|
|
16144
|
+
}
|
|
16145
|
+
}
|
|
16146
|
+
exports.GetFileResponseBodyDataNodeConfigurationOutputParameters = GetFileResponseBodyDataNodeConfigurationOutputParameters;
|
|
16041
16147
|
class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
16042
16148
|
constructor(map) {
|
|
16043
16149
|
super(map);
|
|
@@ -16052,7 +16158,9 @@ class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
16052
16158
|
dependentType: 'DependentType',
|
|
16053
16159
|
endEffectDate: 'EndEffectDate',
|
|
16054
16160
|
inputList: 'InputList',
|
|
16161
|
+
inputParameters: 'InputParameters',
|
|
16055
16162
|
outputList: 'OutputList',
|
|
16163
|
+
outputParameters: 'OutputParameters',
|
|
16056
16164
|
paraValue: 'ParaValue',
|
|
16057
16165
|
rerunMode: 'RerunMode',
|
|
16058
16166
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -16072,7 +16180,9 @@ class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
16072
16180
|
dependentType: 'string',
|
|
16073
16181
|
endEffectDate: 'number',
|
|
16074
16182
|
inputList: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationInputList },
|
|
16183
|
+
inputParameters: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationInputParameters },
|
|
16075
16184
|
outputList: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationOutputList },
|
|
16185
|
+
outputParameters: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationOutputParameters },
|
|
16076
16186
|
paraValue: 'string',
|
|
16077
16187
|
rerunMode: 'string',
|
|
16078
16188
|
resourceGroupId: 'number',
|
|
@@ -23048,6 +23158,12 @@ class Client extends openapi_client_1.default {
|
|
|
23048
23158
|
if (!tea_util_1.default.isUnset(request.inputList)) {
|
|
23049
23159
|
body["InputList"] = request.inputList;
|
|
23050
23160
|
}
|
|
23161
|
+
if (!tea_util_1.default.isUnset(request.inputParameters)) {
|
|
23162
|
+
body["InputParameters"] = request.inputParameters;
|
|
23163
|
+
}
|
|
23164
|
+
if (!tea_util_1.default.isUnset(request.outputParameters)) {
|
|
23165
|
+
body["OutputParameters"] = request.outputParameters;
|
|
23166
|
+
}
|
|
23051
23167
|
if (!tea_util_1.default.isUnset(request.owner)) {
|
|
23052
23168
|
body["Owner"] = request.owner;
|
|
23053
23169
|
}
|
|
@@ -29604,9 +29720,15 @@ class Client extends openapi_client_1.default {
|
|
|
29604
29720
|
if (!tea_util_1.default.isUnset(request.inputList)) {
|
|
29605
29721
|
body["InputList"] = request.inputList;
|
|
29606
29722
|
}
|
|
29723
|
+
if (!tea_util_1.default.isUnset(request.inputParameters)) {
|
|
29724
|
+
body["InputParameters"] = request.inputParameters;
|
|
29725
|
+
}
|
|
29607
29726
|
if (!tea_util_1.default.isUnset(request.outputList)) {
|
|
29608
29727
|
body["OutputList"] = request.outputList;
|
|
29609
29728
|
}
|
|
29729
|
+
if (!tea_util_1.default.isUnset(request.outputParameters)) {
|
|
29730
|
+
body["OutputParameters"] = request.outputParameters;
|
|
29731
|
+
}
|
|
29610
29732
|
if (!tea_util_1.default.isUnset(request.owner)) {
|
|
29611
29733
|
body["Owner"] = request.owner;
|
|
29612
29734
|
}
|
|
@@ -30381,6 +30503,41 @@ class Client extends openapi_client_1.default {
|
|
|
30381
30503
|
let runtime = new $Util.RuntimeOptions({});
|
|
30382
30504
|
return await this.updateUdfFileWithOptions(request, runtime);
|
|
30383
30505
|
}
|
|
30506
|
+
async updateWorkbenchEventResultWithOptions(request, runtime) {
|
|
30507
|
+
tea_util_1.default.validateModel(request);
|
|
30508
|
+
let query = {};
|
|
30509
|
+
if (!tea_util_1.default.isUnset(request.checkResult)) {
|
|
30510
|
+
query["CheckResult"] = request.checkResult;
|
|
30511
|
+
}
|
|
30512
|
+
if (!tea_util_1.default.isUnset(request.checkResultTip)) {
|
|
30513
|
+
query["CheckResultTip"] = request.checkResultTip;
|
|
30514
|
+
}
|
|
30515
|
+
if (!tea_util_1.default.isUnset(request.extensionCode)) {
|
|
30516
|
+
query["ExtensionCode"] = request.extensionCode;
|
|
30517
|
+
}
|
|
30518
|
+
if (!tea_util_1.default.isUnset(request.messageId)) {
|
|
30519
|
+
query["MessageId"] = request.messageId;
|
|
30520
|
+
}
|
|
30521
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
30522
|
+
query: openapi_util_1.default.query(query),
|
|
30523
|
+
});
|
|
30524
|
+
let params = new $OpenApi.Params({
|
|
30525
|
+
action: "UpdateWorkbenchEventResult",
|
|
30526
|
+
version: "2020-05-18",
|
|
30527
|
+
protocol: "HTTPS",
|
|
30528
|
+
pathname: "/",
|
|
30529
|
+
method: "POST",
|
|
30530
|
+
authType: "AK",
|
|
30531
|
+
style: "RPC",
|
|
30532
|
+
reqBodyType: "formData",
|
|
30533
|
+
bodyType: "json",
|
|
30534
|
+
});
|
|
30535
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateWorkbenchEventResultResponse({}));
|
|
30536
|
+
}
|
|
30537
|
+
async updateWorkbenchEventResult(request) {
|
|
30538
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
30539
|
+
return await this.updateWorkbenchEventResultWithOptions(request, runtime);
|
|
30540
|
+
}
|
|
30384
30541
|
}
|
|
30385
30542
|
exports.default = Client;
|
|
30386
30543
|
//# sourceMappingURL=client.js.map
|