@alicloud/dataworks-public20240518 1.0.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.js ADDED
@@ -0,0 +1,4909 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ListDeploymentsRequest = exports.GetWorkflowDefinitionResponse = exports.GetWorkflowDefinitionResponseBody = exports.GetWorkflowDefinitionRequest = exports.GetResourceResponse = exports.GetResourceResponseBody = exports.GetResourceRequest = exports.GetNodeResponse = exports.GetNodeResponseBody = exports.GetNodeRequest = exports.GetFunctionResponse = exports.GetFunctionResponseBody = exports.GetFunctionRequest = exports.GetDeploymentResponse = exports.GetDeploymentResponseBody = exports.GetDeploymentRequest = exports.ExecDeploymentStageResponse = exports.ExecDeploymentStageResponseBody = exports.ExecDeploymentStageRequest = exports.DeleteWorkflowDefinitionResponse = exports.DeleteWorkflowDefinitionResponseBody = exports.DeleteWorkflowDefinitionRequest = exports.DeleteResourceResponse = exports.DeleteResourceResponseBody = exports.DeleteResourceRequest = exports.DeleteNodeResponse = exports.DeleteNodeResponseBody = exports.DeleteNodeRequest = exports.DeleteFunctionResponse = exports.DeleteFunctionResponseBody = exports.DeleteFunctionRequest = exports.CreateWorkflowDefinitionResponse = exports.CreateWorkflowDefinitionResponseBody = exports.CreateWorkflowDefinitionRequest = exports.CreateResourceResponse = exports.CreateResourceResponseBody = exports.CreateResourceRequest = exports.CreateNodeResponse = exports.CreateNodeResponseBody = exports.CreateNodeRequest = exports.CreateFunctionResponse = exports.CreateFunctionResponseBody = exports.CreateFunctionRequest = exports.CreateDeploymentResponse = exports.CreateDeploymentResponseBody = exports.CreateDeploymentShrinkRequest = exports.CreateDeploymentRequest = exports.AbolishDeploymentResponse = exports.AbolishDeploymentResponseBody = exports.AbolishDeploymentRequest = void 0;
30
+ exports.UpdateResourceResponse = exports.UpdateResourceResponseBody = exports.UpdateResourceRequest = exports.UpdateNodeResponse = exports.UpdateNodeResponseBody = exports.UpdateNodeRequest = exports.UpdateFunctionResponse = exports.UpdateFunctionResponseBody = exports.UpdateFunctionRequest = exports.RenameWorkflowDefinitionResponse = exports.RenameWorkflowDefinitionResponseBody = exports.RenameWorkflowDefinitionRequest = exports.RenameResourceResponse = exports.RenameResourceResponseBody = exports.RenameResourceRequest = exports.RenameNodeResponse = exports.RenameNodeResponseBody = exports.RenameNodeRequest = exports.RenameFunctionResponse = exports.RenameFunctionResponseBody = exports.RenameFunctionRequest = exports.MoveWorkflowDefinitionResponse = exports.MoveWorkflowDefinitionResponseBody = exports.MoveWorkflowDefinitionRequest = exports.MoveResourceResponse = exports.MoveResourceResponseBody = exports.MoveResourceRequest = exports.MoveNodeResponse = exports.MoveNodeResponseBody = exports.MoveNodeRequest = exports.MoveFunctionResponse = exports.MoveFunctionResponseBody = exports.MoveFunctionRequest = exports.ListWorkflowDefinitionsResponse = exports.ListWorkflowDefinitionsResponseBody = exports.ListWorkflowDefinitionsRequest = exports.ListResourcesResponse = exports.ListResourcesResponseBody = exports.ListResourcesRequest = exports.ListNodesResponse = exports.ListNodesResponseBody = exports.ListNodesRequest = exports.ListNodeDependenciesResponse = exports.ListNodeDependenciesResponseBody = exports.ListNodeDependenciesRequest = exports.ListFunctionsResponse = exports.ListFunctionsResponseBody = exports.ListFunctionsRequest = exports.ListDeploymentsResponse = exports.ListDeploymentsResponseBody = void 0;
31
+ exports.ListNodesResponseBodyPagingInfoNodesScriptRuntime = exports.ListNodesResponseBodyPagingInfoNodesRuntimeResource = exports.ListNodesResponseBodyPagingInfoNodesOutputs = exports.ListNodesResponseBodyPagingInfoNodesOutputsVariables = exports.ListNodesResponseBodyPagingInfoNodesOutputsVariablesNode = exports.ListNodesResponseBodyPagingInfoNodesOutputsTables = exports.ListNodesResponseBodyPagingInfoNodesOutputsNodeOutputs = exports.ListNodesResponseBodyPagingInfoNodesInputs = exports.ListNodesResponseBodyPagingInfoNodesInputsVariables = exports.ListNodesResponseBodyPagingInfoNodesInputsVariablesNode = exports.ListNodesResponseBodyPagingInfoNodesInputsTables = exports.ListNodesResponseBodyPagingInfoNodesInputsNodeOutputs = exports.ListNodesResponseBodyPagingInfoNodesDataSource = exports.ListNodeDependenciesResponseBodyPagingInfo = exports.ListNodeDependenciesResponseBodyPagingInfoNodes = exports.ListNodeDependenciesResponseBodyPagingInfoNodesTrigger = exports.ListNodeDependenciesResponseBodyPagingInfoNodesTags = exports.ListNodeDependenciesResponseBodyPagingInfoNodesStrategy = exports.ListNodeDependenciesResponseBodyPagingInfoNodesScript = exports.ListNodeDependenciesResponseBodyPagingInfoNodesScriptRuntime = exports.ListNodeDependenciesResponseBodyPagingInfoNodesRuntimeResource = exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputs = exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariables = exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariablesNode = exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsTables = exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsNodeOutputs = exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputs = exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariables = exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariablesNode = exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsTables = exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsNodeOutputs = exports.ListNodeDependenciesResponseBodyPagingInfoNodesDataSource = exports.ListFunctionsResponseBodyPagingInfo = exports.ListFunctionsResponseBodyPagingInfoFunctions = exports.ListFunctionsResponseBodyPagingInfoFunctionsScript = exports.ListFunctionsResponseBodyPagingInfoFunctionsScriptRuntime = exports.ListFunctionsResponseBodyPagingInfoFunctionsRuntimeResource = exports.ListFunctionsResponseBodyPagingInfoFunctionsDataSource = exports.ListDeploymentsResponseBodyPagingInfo = exports.ListDeploymentsResponseBodyPagingInfoDeployments = exports.ListDeploymentsResponseBodyPagingInfoDeploymentsStages = exports.GetWorkflowDefinitionResponseBodyWorkflowDefinition = exports.GetResourceResponseBodyResource = exports.GetNodeResponseBodyNode = exports.GetFunctionResponseBodyFunction = exports.GetDeploymentResponseBodyPipeline = exports.GetDeploymentResponseBodyPipelineStages = exports.UpdateWorkflowDefinitionResponse = exports.UpdateWorkflowDefinitionResponseBody = exports.UpdateWorkflowDefinitionRequest = void 0;
32
+ exports.ListWorkflowDefinitionsResponseBodyPagingInfo = exports.ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitions = exports.ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScript = exports.ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScriptRuntime = exports.ListResourcesResponseBodyPagingInfo = exports.ListResourcesResponseBodyPagingInfoResources = exports.ListResourcesResponseBodyPagingInfoResourcesScript = exports.ListResourcesResponseBodyPagingInfoResourcesScriptRuntime = exports.ListResourcesResponseBodyPagingInfoResourcesDataSource = exports.ListNodesResponseBodyPagingInfo = exports.ListNodesResponseBodyPagingInfoNodes = exports.ListNodesResponseBodyPagingInfoNodesTrigger = exports.ListNodesResponseBodyPagingInfoNodesTags = exports.ListNodesResponseBodyPagingInfoNodesStrategy = exports.ListNodesResponseBodyPagingInfoNodesScript = void 0;
33
+ // This file is auto-generated, don't edit it
34
+ /**
35
+ */
36
+ const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
37
+ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
38
+ const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
39
+ const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
40
+ const $tea = __importStar(require("@alicloud/tea-typescript"));
41
+ class AbolishDeploymentRequest extends $tea.Model {
42
+ static names() {
43
+ return {
44
+ id: 'Id',
45
+ projectId: 'ProjectId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ id: 'string',
51
+ projectId: 'string',
52
+ };
53
+ }
54
+ constructor(map) {
55
+ super(map);
56
+ }
57
+ }
58
+ exports.AbolishDeploymentRequest = AbolishDeploymentRequest;
59
+ class AbolishDeploymentResponseBody extends $tea.Model {
60
+ static names() {
61
+ return {
62
+ requestId: 'RequestId',
63
+ success: 'Success',
64
+ };
65
+ }
66
+ static types() {
67
+ return {
68
+ requestId: 'string',
69
+ success: 'boolean',
70
+ };
71
+ }
72
+ constructor(map) {
73
+ super(map);
74
+ }
75
+ }
76
+ exports.AbolishDeploymentResponseBody = AbolishDeploymentResponseBody;
77
+ class AbolishDeploymentResponse extends $tea.Model {
78
+ static names() {
79
+ return {
80
+ headers: 'headers',
81
+ statusCode: 'statusCode',
82
+ body: 'body',
83
+ };
84
+ }
85
+ static types() {
86
+ return {
87
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
88
+ statusCode: 'number',
89
+ body: AbolishDeploymentResponseBody,
90
+ };
91
+ }
92
+ constructor(map) {
93
+ super(map);
94
+ }
95
+ }
96
+ exports.AbolishDeploymentResponse = AbolishDeploymentResponse;
97
+ class CreateDeploymentRequest extends $tea.Model {
98
+ static names() {
99
+ return {
100
+ description: 'Description',
101
+ objectIds: 'ObjectIds',
102
+ projectId: 'ProjectId',
103
+ type: 'Type',
104
+ };
105
+ }
106
+ static types() {
107
+ return {
108
+ description: 'string',
109
+ objectIds: { 'type': 'array', 'itemType': 'string' },
110
+ projectId: 'string',
111
+ type: 'string',
112
+ };
113
+ }
114
+ constructor(map) {
115
+ super(map);
116
+ }
117
+ }
118
+ exports.CreateDeploymentRequest = CreateDeploymentRequest;
119
+ class CreateDeploymentShrinkRequest extends $tea.Model {
120
+ static names() {
121
+ return {
122
+ description: 'Description',
123
+ objectIdsShrink: 'ObjectIds',
124
+ projectId: 'ProjectId',
125
+ type: 'Type',
126
+ };
127
+ }
128
+ static types() {
129
+ return {
130
+ description: 'string',
131
+ objectIdsShrink: 'string',
132
+ projectId: 'string',
133
+ type: 'string',
134
+ };
135
+ }
136
+ constructor(map) {
137
+ super(map);
138
+ }
139
+ }
140
+ exports.CreateDeploymentShrinkRequest = CreateDeploymentShrinkRequest;
141
+ class CreateDeploymentResponseBody extends $tea.Model {
142
+ static names() {
143
+ return {
144
+ id: 'Id',
145
+ requestId: 'RequestId',
146
+ };
147
+ }
148
+ static types() {
149
+ return {
150
+ id: 'string',
151
+ requestId: 'string',
152
+ };
153
+ }
154
+ constructor(map) {
155
+ super(map);
156
+ }
157
+ }
158
+ exports.CreateDeploymentResponseBody = CreateDeploymentResponseBody;
159
+ class CreateDeploymentResponse extends $tea.Model {
160
+ static names() {
161
+ return {
162
+ headers: 'headers',
163
+ statusCode: 'statusCode',
164
+ body: 'body',
165
+ };
166
+ }
167
+ static types() {
168
+ return {
169
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
170
+ statusCode: 'number',
171
+ body: CreateDeploymentResponseBody,
172
+ };
173
+ }
174
+ constructor(map) {
175
+ super(map);
176
+ }
177
+ }
178
+ exports.CreateDeploymentResponse = CreateDeploymentResponse;
179
+ class CreateFunctionRequest extends $tea.Model {
180
+ static names() {
181
+ return {
182
+ projectId: 'ProjectId',
183
+ spec: 'Spec',
184
+ };
185
+ }
186
+ static types() {
187
+ return {
188
+ projectId: 'string',
189
+ spec: 'string',
190
+ };
191
+ }
192
+ constructor(map) {
193
+ super(map);
194
+ }
195
+ }
196
+ exports.CreateFunctionRequest = CreateFunctionRequest;
197
+ class CreateFunctionResponseBody extends $tea.Model {
198
+ static names() {
199
+ return {
200
+ id: 'Id',
201
+ requestId: 'RequestId',
202
+ };
203
+ }
204
+ static types() {
205
+ return {
206
+ id: 'string',
207
+ requestId: 'string',
208
+ };
209
+ }
210
+ constructor(map) {
211
+ super(map);
212
+ }
213
+ }
214
+ exports.CreateFunctionResponseBody = CreateFunctionResponseBody;
215
+ class CreateFunctionResponse extends $tea.Model {
216
+ static names() {
217
+ return {
218
+ headers: 'headers',
219
+ statusCode: 'statusCode',
220
+ body: 'body',
221
+ };
222
+ }
223
+ static types() {
224
+ return {
225
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
226
+ statusCode: 'number',
227
+ body: CreateFunctionResponseBody,
228
+ };
229
+ }
230
+ constructor(map) {
231
+ super(map);
232
+ }
233
+ }
234
+ exports.CreateFunctionResponse = CreateFunctionResponse;
235
+ class CreateNodeRequest extends $tea.Model {
236
+ static names() {
237
+ return {
238
+ containerId: 'ContainerId',
239
+ projectId: 'ProjectId',
240
+ scene: 'Scene',
241
+ spec: 'Spec',
242
+ };
243
+ }
244
+ static types() {
245
+ return {
246
+ containerId: 'string',
247
+ projectId: 'string',
248
+ scene: 'string',
249
+ spec: 'string',
250
+ };
251
+ }
252
+ constructor(map) {
253
+ super(map);
254
+ }
255
+ }
256
+ exports.CreateNodeRequest = CreateNodeRequest;
257
+ class CreateNodeResponseBody extends $tea.Model {
258
+ static names() {
259
+ return {
260
+ id: 'Id',
261
+ requestId: 'RequestId',
262
+ };
263
+ }
264
+ static types() {
265
+ return {
266
+ id: 'string',
267
+ requestId: 'string',
268
+ };
269
+ }
270
+ constructor(map) {
271
+ super(map);
272
+ }
273
+ }
274
+ exports.CreateNodeResponseBody = CreateNodeResponseBody;
275
+ class CreateNodeResponse extends $tea.Model {
276
+ static names() {
277
+ return {
278
+ headers: 'headers',
279
+ statusCode: 'statusCode',
280
+ body: 'body',
281
+ };
282
+ }
283
+ static types() {
284
+ return {
285
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
286
+ statusCode: 'number',
287
+ body: CreateNodeResponseBody,
288
+ };
289
+ }
290
+ constructor(map) {
291
+ super(map);
292
+ }
293
+ }
294
+ exports.CreateNodeResponse = CreateNodeResponse;
295
+ class CreateResourceRequest extends $tea.Model {
296
+ static names() {
297
+ return {
298
+ projectId: 'ProjectId',
299
+ spec: 'Spec',
300
+ };
301
+ }
302
+ static types() {
303
+ return {
304
+ projectId: 'string',
305
+ spec: 'string',
306
+ };
307
+ }
308
+ constructor(map) {
309
+ super(map);
310
+ }
311
+ }
312
+ exports.CreateResourceRequest = CreateResourceRequest;
313
+ class CreateResourceResponseBody extends $tea.Model {
314
+ static names() {
315
+ return {
316
+ id: 'Id',
317
+ requestId: 'RequestId',
318
+ };
319
+ }
320
+ static types() {
321
+ return {
322
+ id: 'string',
323
+ requestId: 'string',
324
+ };
325
+ }
326
+ constructor(map) {
327
+ super(map);
328
+ }
329
+ }
330
+ exports.CreateResourceResponseBody = CreateResourceResponseBody;
331
+ class CreateResourceResponse extends $tea.Model {
332
+ static names() {
333
+ return {
334
+ headers: 'headers',
335
+ statusCode: 'statusCode',
336
+ body: 'body',
337
+ };
338
+ }
339
+ static types() {
340
+ return {
341
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
342
+ statusCode: 'number',
343
+ body: CreateResourceResponseBody,
344
+ };
345
+ }
346
+ constructor(map) {
347
+ super(map);
348
+ }
349
+ }
350
+ exports.CreateResourceResponse = CreateResourceResponse;
351
+ class CreateWorkflowDefinitionRequest extends $tea.Model {
352
+ static names() {
353
+ return {
354
+ projectId: 'ProjectId',
355
+ spec: 'Spec',
356
+ };
357
+ }
358
+ static types() {
359
+ return {
360
+ projectId: 'string',
361
+ spec: 'string',
362
+ };
363
+ }
364
+ constructor(map) {
365
+ super(map);
366
+ }
367
+ }
368
+ exports.CreateWorkflowDefinitionRequest = CreateWorkflowDefinitionRequest;
369
+ class CreateWorkflowDefinitionResponseBody extends $tea.Model {
370
+ static names() {
371
+ return {
372
+ id: 'Id',
373
+ requestId: 'RequestId',
374
+ };
375
+ }
376
+ static types() {
377
+ return {
378
+ id: 'string',
379
+ requestId: 'string',
380
+ };
381
+ }
382
+ constructor(map) {
383
+ super(map);
384
+ }
385
+ }
386
+ exports.CreateWorkflowDefinitionResponseBody = CreateWorkflowDefinitionResponseBody;
387
+ class CreateWorkflowDefinitionResponse extends $tea.Model {
388
+ static names() {
389
+ return {
390
+ headers: 'headers',
391
+ statusCode: 'statusCode',
392
+ body: 'body',
393
+ };
394
+ }
395
+ static types() {
396
+ return {
397
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
398
+ statusCode: 'number',
399
+ body: CreateWorkflowDefinitionResponseBody,
400
+ };
401
+ }
402
+ constructor(map) {
403
+ super(map);
404
+ }
405
+ }
406
+ exports.CreateWorkflowDefinitionResponse = CreateWorkflowDefinitionResponse;
407
+ class DeleteFunctionRequest extends $tea.Model {
408
+ static names() {
409
+ return {
410
+ id: 'Id',
411
+ projectId: 'ProjectId',
412
+ };
413
+ }
414
+ static types() {
415
+ return {
416
+ id: 'string',
417
+ projectId: 'string',
418
+ };
419
+ }
420
+ constructor(map) {
421
+ super(map);
422
+ }
423
+ }
424
+ exports.DeleteFunctionRequest = DeleteFunctionRequest;
425
+ class DeleteFunctionResponseBody extends $tea.Model {
426
+ static names() {
427
+ return {
428
+ requestId: 'RequestId',
429
+ success: 'Success',
430
+ };
431
+ }
432
+ static types() {
433
+ return {
434
+ requestId: 'string',
435
+ success: 'boolean',
436
+ };
437
+ }
438
+ constructor(map) {
439
+ super(map);
440
+ }
441
+ }
442
+ exports.DeleteFunctionResponseBody = DeleteFunctionResponseBody;
443
+ class DeleteFunctionResponse extends $tea.Model {
444
+ static names() {
445
+ return {
446
+ headers: 'headers',
447
+ statusCode: 'statusCode',
448
+ body: 'body',
449
+ };
450
+ }
451
+ static types() {
452
+ return {
453
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
454
+ statusCode: 'number',
455
+ body: DeleteFunctionResponseBody,
456
+ };
457
+ }
458
+ constructor(map) {
459
+ super(map);
460
+ }
461
+ }
462
+ exports.DeleteFunctionResponse = DeleteFunctionResponse;
463
+ class DeleteNodeRequest extends $tea.Model {
464
+ static names() {
465
+ return {
466
+ id: 'Id',
467
+ projectId: 'ProjectId',
468
+ };
469
+ }
470
+ static types() {
471
+ return {
472
+ id: 'string',
473
+ projectId: 'string',
474
+ };
475
+ }
476
+ constructor(map) {
477
+ super(map);
478
+ }
479
+ }
480
+ exports.DeleteNodeRequest = DeleteNodeRequest;
481
+ class DeleteNodeResponseBody extends $tea.Model {
482
+ static names() {
483
+ return {
484
+ requestId: 'RequestId',
485
+ success: 'Success',
486
+ };
487
+ }
488
+ static types() {
489
+ return {
490
+ requestId: 'string',
491
+ success: 'boolean',
492
+ };
493
+ }
494
+ constructor(map) {
495
+ super(map);
496
+ }
497
+ }
498
+ exports.DeleteNodeResponseBody = DeleteNodeResponseBody;
499
+ class DeleteNodeResponse extends $tea.Model {
500
+ static names() {
501
+ return {
502
+ headers: 'headers',
503
+ statusCode: 'statusCode',
504
+ body: 'body',
505
+ };
506
+ }
507
+ static types() {
508
+ return {
509
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
510
+ statusCode: 'number',
511
+ body: DeleteNodeResponseBody,
512
+ };
513
+ }
514
+ constructor(map) {
515
+ super(map);
516
+ }
517
+ }
518
+ exports.DeleteNodeResponse = DeleteNodeResponse;
519
+ class DeleteResourceRequest extends $tea.Model {
520
+ static names() {
521
+ return {
522
+ id: 'Id',
523
+ projectId: 'ProjectId',
524
+ };
525
+ }
526
+ static types() {
527
+ return {
528
+ id: 'string',
529
+ projectId: 'string',
530
+ };
531
+ }
532
+ constructor(map) {
533
+ super(map);
534
+ }
535
+ }
536
+ exports.DeleteResourceRequest = DeleteResourceRequest;
537
+ class DeleteResourceResponseBody extends $tea.Model {
538
+ static names() {
539
+ return {
540
+ requestId: 'RequestId',
541
+ success: 'Success',
542
+ };
543
+ }
544
+ static types() {
545
+ return {
546
+ requestId: 'string',
547
+ success: 'boolean',
548
+ };
549
+ }
550
+ constructor(map) {
551
+ super(map);
552
+ }
553
+ }
554
+ exports.DeleteResourceResponseBody = DeleteResourceResponseBody;
555
+ class DeleteResourceResponse extends $tea.Model {
556
+ static names() {
557
+ return {
558
+ headers: 'headers',
559
+ statusCode: 'statusCode',
560
+ body: 'body',
561
+ };
562
+ }
563
+ static types() {
564
+ return {
565
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
566
+ statusCode: 'number',
567
+ body: DeleteResourceResponseBody,
568
+ };
569
+ }
570
+ constructor(map) {
571
+ super(map);
572
+ }
573
+ }
574
+ exports.DeleteResourceResponse = DeleteResourceResponse;
575
+ class DeleteWorkflowDefinitionRequest extends $tea.Model {
576
+ static names() {
577
+ return {
578
+ id: 'Id',
579
+ projectId: 'ProjectId',
580
+ };
581
+ }
582
+ static types() {
583
+ return {
584
+ id: 'string',
585
+ projectId: 'string',
586
+ };
587
+ }
588
+ constructor(map) {
589
+ super(map);
590
+ }
591
+ }
592
+ exports.DeleteWorkflowDefinitionRequest = DeleteWorkflowDefinitionRequest;
593
+ class DeleteWorkflowDefinitionResponseBody extends $tea.Model {
594
+ static names() {
595
+ return {
596
+ requestId: 'RequestId',
597
+ success: 'Success',
598
+ };
599
+ }
600
+ static types() {
601
+ return {
602
+ requestId: 'string',
603
+ success: 'boolean',
604
+ };
605
+ }
606
+ constructor(map) {
607
+ super(map);
608
+ }
609
+ }
610
+ exports.DeleteWorkflowDefinitionResponseBody = DeleteWorkflowDefinitionResponseBody;
611
+ class DeleteWorkflowDefinitionResponse extends $tea.Model {
612
+ static names() {
613
+ return {
614
+ headers: 'headers',
615
+ statusCode: 'statusCode',
616
+ body: 'body',
617
+ };
618
+ }
619
+ static types() {
620
+ return {
621
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
622
+ statusCode: 'number',
623
+ body: DeleteWorkflowDefinitionResponseBody,
624
+ };
625
+ }
626
+ constructor(map) {
627
+ super(map);
628
+ }
629
+ }
630
+ exports.DeleteWorkflowDefinitionResponse = DeleteWorkflowDefinitionResponse;
631
+ class ExecDeploymentStageRequest extends $tea.Model {
632
+ static names() {
633
+ return {
634
+ code: 'Code',
635
+ id: 'Id',
636
+ projectId: 'ProjectId',
637
+ };
638
+ }
639
+ static types() {
640
+ return {
641
+ code: 'string',
642
+ id: 'string',
643
+ projectId: 'string',
644
+ };
645
+ }
646
+ constructor(map) {
647
+ super(map);
648
+ }
649
+ }
650
+ exports.ExecDeploymentStageRequest = ExecDeploymentStageRequest;
651
+ class ExecDeploymentStageResponseBody extends $tea.Model {
652
+ static names() {
653
+ return {
654
+ requestId: 'RequestId',
655
+ success: 'Success',
656
+ };
657
+ }
658
+ static types() {
659
+ return {
660
+ requestId: 'string',
661
+ success: 'boolean',
662
+ };
663
+ }
664
+ constructor(map) {
665
+ super(map);
666
+ }
667
+ }
668
+ exports.ExecDeploymentStageResponseBody = ExecDeploymentStageResponseBody;
669
+ class ExecDeploymentStageResponse extends $tea.Model {
670
+ static names() {
671
+ return {
672
+ headers: 'headers',
673
+ statusCode: 'statusCode',
674
+ body: 'body',
675
+ };
676
+ }
677
+ static types() {
678
+ return {
679
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
680
+ statusCode: 'number',
681
+ body: ExecDeploymentStageResponseBody,
682
+ };
683
+ }
684
+ constructor(map) {
685
+ super(map);
686
+ }
687
+ }
688
+ exports.ExecDeploymentStageResponse = ExecDeploymentStageResponse;
689
+ class GetDeploymentRequest extends $tea.Model {
690
+ static names() {
691
+ return {
692
+ id: 'Id',
693
+ projectId: 'ProjectId',
694
+ };
695
+ }
696
+ static types() {
697
+ return {
698
+ id: 'string',
699
+ projectId: 'string',
700
+ };
701
+ }
702
+ constructor(map) {
703
+ super(map);
704
+ }
705
+ }
706
+ exports.GetDeploymentRequest = GetDeploymentRequest;
707
+ class GetDeploymentResponseBody extends $tea.Model {
708
+ static names() {
709
+ return {
710
+ pipeline: 'Pipeline',
711
+ requestId: 'RequestId',
712
+ };
713
+ }
714
+ static types() {
715
+ return {
716
+ pipeline: GetDeploymentResponseBodyPipeline,
717
+ requestId: 'string',
718
+ };
719
+ }
720
+ constructor(map) {
721
+ super(map);
722
+ }
723
+ }
724
+ exports.GetDeploymentResponseBody = GetDeploymentResponseBody;
725
+ class GetDeploymentResponse extends $tea.Model {
726
+ static names() {
727
+ return {
728
+ headers: 'headers',
729
+ statusCode: 'statusCode',
730
+ body: 'body',
731
+ };
732
+ }
733
+ static types() {
734
+ return {
735
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
736
+ statusCode: 'number',
737
+ body: GetDeploymentResponseBody,
738
+ };
739
+ }
740
+ constructor(map) {
741
+ super(map);
742
+ }
743
+ }
744
+ exports.GetDeploymentResponse = GetDeploymentResponse;
745
+ class GetFunctionRequest extends $tea.Model {
746
+ static names() {
747
+ return {
748
+ id: 'Id',
749
+ projectId: 'ProjectId',
750
+ };
751
+ }
752
+ static types() {
753
+ return {
754
+ id: 'string',
755
+ projectId: 'string',
756
+ };
757
+ }
758
+ constructor(map) {
759
+ super(map);
760
+ }
761
+ }
762
+ exports.GetFunctionRequest = GetFunctionRequest;
763
+ class GetFunctionResponseBody extends $tea.Model {
764
+ static names() {
765
+ return {
766
+ function: 'Function',
767
+ requestId: 'RequestId',
768
+ };
769
+ }
770
+ static types() {
771
+ return {
772
+ function: GetFunctionResponseBodyFunction,
773
+ requestId: 'string',
774
+ };
775
+ }
776
+ constructor(map) {
777
+ super(map);
778
+ }
779
+ }
780
+ exports.GetFunctionResponseBody = GetFunctionResponseBody;
781
+ class GetFunctionResponse extends $tea.Model {
782
+ static names() {
783
+ return {
784
+ headers: 'headers',
785
+ statusCode: 'statusCode',
786
+ body: 'body',
787
+ };
788
+ }
789
+ static types() {
790
+ return {
791
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
792
+ statusCode: 'number',
793
+ body: GetFunctionResponseBody,
794
+ };
795
+ }
796
+ constructor(map) {
797
+ super(map);
798
+ }
799
+ }
800
+ exports.GetFunctionResponse = GetFunctionResponse;
801
+ class GetNodeRequest extends $tea.Model {
802
+ static names() {
803
+ return {
804
+ id: 'Id',
805
+ projectId: 'ProjectId',
806
+ };
807
+ }
808
+ static types() {
809
+ return {
810
+ id: 'string',
811
+ projectId: 'string',
812
+ };
813
+ }
814
+ constructor(map) {
815
+ super(map);
816
+ }
817
+ }
818
+ exports.GetNodeRequest = GetNodeRequest;
819
+ class GetNodeResponseBody extends $tea.Model {
820
+ static names() {
821
+ return {
822
+ node: 'Node',
823
+ requestId: 'RequestId',
824
+ };
825
+ }
826
+ static types() {
827
+ return {
828
+ node: GetNodeResponseBodyNode,
829
+ requestId: 'string',
830
+ };
831
+ }
832
+ constructor(map) {
833
+ super(map);
834
+ }
835
+ }
836
+ exports.GetNodeResponseBody = GetNodeResponseBody;
837
+ class GetNodeResponse extends $tea.Model {
838
+ static names() {
839
+ return {
840
+ headers: 'headers',
841
+ statusCode: 'statusCode',
842
+ body: 'body',
843
+ };
844
+ }
845
+ static types() {
846
+ return {
847
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
848
+ statusCode: 'number',
849
+ body: GetNodeResponseBody,
850
+ };
851
+ }
852
+ constructor(map) {
853
+ super(map);
854
+ }
855
+ }
856
+ exports.GetNodeResponse = GetNodeResponse;
857
+ class GetResourceRequest extends $tea.Model {
858
+ static names() {
859
+ return {
860
+ id: 'Id',
861
+ projectId: 'ProjectId',
862
+ };
863
+ }
864
+ static types() {
865
+ return {
866
+ id: 'string',
867
+ projectId: 'string',
868
+ };
869
+ }
870
+ constructor(map) {
871
+ super(map);
872
+ }
873
+ }
874
+ exports.GetResourceRequest = GetResourceRequest;
875
+ class GetResourceResponseBody extends $tea.Model {
876
+ static names() {
877
+ return {
878
+ requestId: 'RequestId',
879
+ resource: 'Resource',
880
+ };
881
+ }
882
+ static types() {
883
+ return {
884
+ requestId: 'string',
885
+ resource: GetResourceResponseBodyResource,
886
+ };
887
+ }
888
+ constructor(map) {
889
+ super(map);
890
+ }
891
+ }
892
+ exports.GetResourceResponseBody = GetResourceResponseBody;
893
+ class GetResourceResponse extends $tea.Model {
894
+ static names() {
895
+ return {
896
+ headers: 'headers',
897
+ statusCode: 'statusCode',
898
+ body: 'body',
899
+ };
900
+ }
901
+ static types() {
902
+ return {
903
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
904
+ statusCode: 'number',
905
+ body: GetResourceResponseBody,
906
+ };
907
+ }
908
+ constructor(map) {
909
+ super(map);
910
+ }
911
+ }
912
+ exports.GetResourceResponse = GetResourceResponse;
913
+ class GetWorkflowDefinitionRequest extends $tea.Model {
914
+ static names() {
915
+ return {
916
+ id: 'Id',
917
+ projectId: 'ProjectId',
918
+ };
919
+ }
920
+ static types() {
921
+ return {
922
+ id: 'string',
923
+ projectId: 'string',
924
+ };
925
+ }
926
+ constructor(map) {
927
+ super(map);
928
+ }
929
+ }
930
+ exports.GetWorkflowDefinitionRequest = GetWorkflowDefinitionRequest;
931
+ class GetWorkflowDefinitionResponseBody extends $tea.Model {
932
+ static names() {
933
+ return {
934
+ requestId: 'RequestId',
935
+ workflowDefinition: 'WorkflowDefinition',
936
+ };
937
+ }
938
+ static types() {
939
+ return {
940
+ requestId: 'string',
941
+ workflowDefinition: GetWorkflowDefinitionResponseBodyWorkflowDefinition,
942
+ };
943
+ }
944
+ constructor(map) {
945
+ super(map);
946
+ }
947
+ }
948
+ exports.GetWorkflowDefinitionResponseBody = GetWorkflowDefinitionResponseBody;
949
+ class GetWorkflowDefinitionResponse extends $tea.Model {
950
+ static names() {
951
+ return {
952
+ headers: 'headers',
953
+ statusCode: 'statusCode',
954
+ body: 'body',
955
+ };
956
+ }
957
+ static types() {
958
+ return {
959
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
960
+ statusCode: 'number',
961
+ body: GetWorkflowDefinitionResponseBody,
962
+ };
963
+ }
964
+ constructor(map) {
965
+ super(map);
966
+ }
967
+ }
968
+ exports.GetWorkflowDefinitionResponse = GetWorkflowDefinitionResponse;
969
+ class ListDeploymentsRequest extends $tea.Model {
970
+ static names() {
971
+ return {
972
+ creator: 'Creator',
973
+ pageNumber: 'PageNumber',
974
+ pageSize: 'PageSize',
975
+ projectId: 'ProjectId',
976
+ status: 'Status',
977
+ };
978
+ }
979
+ static types() {
980
+ return {
981
+ creator: 'string',
982
+ pageNumber: 'number',
983
+ pageSize: 'number',
984
+ projectId: 'string',
985
+ status: 'string',
986
+ };
987
+ }
988
+ constructor(map) {
989
+ super(map);
990
+ }
991
+ }
992
+ exports.ListDeploymentsRequest = ListDeploymentsRequest;
993
+ class ListDeploymentsResponseBody extends $tea.Model {
994
+ static names() {
995
+ return {
996
+ pagingInfo: 'PagingInfo',
997
+ requestId: 'RequestId',
998
+ };
999
+ }
1000
+ static types() {
1001
+ return {
1002
+ pagingInfo: ListDeploymentsResponseBodyPagingInfo,
1003
+ requestId: 'string',
1004
+ };
1005
+ }
1006
+ constructor(map) {
1007
+ super(map);
1008
+ }
1009
+ }
1010
+ exports.ListDeploymentsResponseBody = ListDeploymentsResponseBody;
1011
+ class ListDeploymentsResponse extends $tea.Model {
1012
+ static names() {
1013
+ return {
1014
+ headers: 'headers',
1015
+ statusCode: 'statusCode',
1016
+ body: 'body',
1017
+ };
1018
+ }
1019
+ static types() {
1020
+ return {
1021
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1022
+ statusCode: 'number',
1023
+ body: ListDeploymentsResponseBody,
1024
+ };
1025
+ }
1026
+ constructor(map) {
1027
+ super(map);
1028
+ }
1029
+ }
1030
+ exports.ListDeploymentsResponse = ListDeploymentsResponse;
1031
+ class ListFunctionsRequest extends $tea.Model {
1032
+ static names() {
1033
+ return {
1034
+ owner: 'Owner',
1035
+ pageNumber: 'PageNumber',
1036
+ pageSize: 'PageSize',
1037
+ projectId: 'ProjectId',
1038
+ type: 'Type',
1039
+ };
1040
+ }
1041
+ static types() {
1042
+ return {
1043
+ owner: 'string',
1044
+ pageNumber: 'number',
1045
+ pageSize: 'number',
1046
+ projectId: 'string',
1047
+ type: 'string',
1048
+ };
1049
+ }
1050
+ constructor(map) {
1051
+ super(map);
1052
+ }
1053
+ }
1054
+ exports.ListFunctionsRequest = ListFunctionsRequest;
1055
+ class ListFunctionsResponseBody extends $tea.Model {
1056
+ static names() {
1057
+ return {
1058
+ pagingInfo: 'PagingInfo',
1059
+ requestId: 'RequestId',
1060
+ };
1061
+ }
1062
+ static types() {
1063
+ return {
1064
+ pagingInfo: ListFunctionsResponseBodyPagingInfo,
1065
+ requestId: 'string',
1066
+ };
1067
+ }
1068
+ constructor(map) {
1069
+ super(map);
1070
+ }
1071
+ }
1072
+ exports.ListFunctionsResponseBody = ListFunctionsResponseBody;
1073
+ class ListFunctionsResponse extends $tea.Model {
1074
+ static names() {
1075
+ return {
1076
+ headers: 'headers',
1077
+ statusCode: 'statusCode',
1078
+ body: 'body',
1079
+ };
1080
+ }
1081
+ static types() {
1082
+ return {
1083
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1084
+ statusCode: 'number',
1085
+ body: ListFunctionsResponseBody,
1086
+ };
1087
+ }
1088
+ constructor(map) {
1089
+ super(map);
1090
+ }
1091
+ }
1092
+ exports.ListFunctionsResponse = ListFunctionsResponse;
1093
+ class ListNodeDependenciesRequest extends $tea.Model {
1094
+ static names() {
1095
+ return {
1096
+ id: 'Id',
1097
+ pageNumber: 'PageNumber',
1098
+ pageSize: 'PageSize',
1099
+ projectId: 'ProjectId',
1100
+ };
1101
+ }
1102
+ static types() {
1103
+ return {
1104
+ id: 'string',
1105
+ pageNumber: 'number',
1106
+ pageSize: 'number',
1107
+ projectId: 'string',
1108
+ };
1109
+ }
1110
+ constructor(map) {
1111
+ super(map);
1112
+ }
1113
+ }
1114
+ exports.ListNodeDependenciesRequest = ListNodeDependenciesRequest;
1115
+ class ListNodeDependenciesResponseBody extends $tea.Model {
1116
+ static names() {
1117
+ return {
1118
+ pagingInfo: 'PagingInfo',
1119
+ requestId: 'RequestId',
1120
+ };
1121
+ }
1122
+ static types() {
1123
+ return {
1124
+ pagingInfo: ListNodeDependenciesResponseBodyPagingInfo,
1125
+ requestId: 'string',
1126
+ };
1127
+ }
1128
+ constructor(map) {
1129
+ super(map);
1130
+ }
1131
+ }
1132
+ exports.ListNodeDependenciesResponseBody = ListNodeDependenciesResponseBody;
1133
+ class ListNodeDependenciesResponse extends $tea.Model {
1134
+ static names() {
1135
+ return {
1136
+ headers: 'headers',
1137
+ statusCode: 'statusCode',
1138
+ body: 'body',
1139
+ };
1140
+ }
1141
+ static types() {
1142
+ return {
1143
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1144
+ statusCode: 'number',
1145
+ body: ListNodeDependenciesResponseBody,
1146
+ };
1147
+ }
1148
+ constructor(map) {
1149
+ super(map);
1150
+ }
1151
+ }
1152
+ exports.ListNodeDependenciesResponse = ListNodeDependenciesResponse;
1153
+ class ListNodesRequest extends $tea.Model {
1154
+ static names() {
1155
+ return {
1156
+ containerId: 'ContainerId',
1157
+ pageNumber: 'PageNumber',
1158
+ pageSize: 'PageSize',
1159
+ projectId: 'ProjectId',
1160
+ rerunMode: 'RerunMode',
1161
+ rerurrence: 'Rerurrence',
1162
+ scene: 'Scene',
1163
+ };
1164
+ }
1165
+ static types() {
1166
+ return {
1167
+ containerId: 'string',
1168
+ pageNumber: 'number',
1169
+ pageSize: 'number',
1170
+ projectId: 'string',
1171
+ rerunMode: 'string',
1172
+ rerurrence: 'string',
1173
+ scene: 'string',
1174
+ };
1175
+ }
1176
+ constructor(map) {
1177
+ super(map);
1178
+ }
1179
+ }
1180
+ exports.ListNodesRequest = ListNodesRequest;
1181
+ class ListNodesResponseBody extends $tea.Model {
1182
+ static names() {
1183
+ return {
1184
+ pagingInfo: 'PagingInfo',
1185
+ requestId: 'RequestId',
1186
+ };
1187
+ }
1188
+ static types() {
1189
+ return {
1190
+ pagingInfo: ListNodesResponseBodyPagingInfo,
1191
+ requestId: 'string',
1192
+ };
1193
+ }
1194
+ constructor(map) {
1195
+ super(map);
1196
+ }
1197
+ }
1198
+ exports.ListNodesResponseBody = ListNodesResponseBody;
1199
+ class ListNodesResponse extends $tea.Model {
1200
+ static names() {
1201
+ return {
1202
+ headers: 'headers',
1203
+ statusCode: 'statusCode',
1204
+ body: 'body',
1205
+ };
1206
+ }
1207
+ static types() {
1208
+ return {
1209
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1210
+ statusCode: 'number',
1211
+ body: ListNodesResponseBody,
1212
+ };
1213
+ }
1214
+ constructor(map) {
1215
+ super(map);
1216
+ }
1217
+ }
1218
+ exports.ListNodesResponse = ListNodesResponse;
1219
+ class ListResourcesRequest extends $tea.Model {
1220
+ static names() {
1221
+ return {
1222
+ owner: 'Owner',
1223
+ pageNumber: 'PageNumber',
1224
+ pageSize: 'PageSize',
1225
+ projectId: 'ProjectId',
1226
+ type: 'Type',
1227
+ };
1228
+ }
1229
+ static types() {
1230
+ return {
1231
+ owner: 'string',
1232
+ pageNumber: 'number',
1233
+ pageSize: 'number',
1234
+ projectId: 'string',
1235
+ type: 'string',
1236
+ };
1237
+ }
1238
+ constructor(map) {
1239
+ super(map);
1240
+ }
1241
+ }
1242
+ exports.ListResourcesRequest = ListResourcesRequest;
1243
+ class ListResourcesResponseBody extends $tea.Model {
1244
+ static names() {
1245
+ return {
1246
+ pagingInfo: 'PagingInfo',
1247
+ requestId: 'RequestId',
1248
+ };
1249
+ }
1250
+ static types() {
1251
+ return {
1252
+ pagingInfo: ListResourcesResponseBodyPagingInfo,
1253
+ requestId: 'string',
1254
+ };
1255
+ }
1256
+ constructor(map) {
1257
+ super(map);
1258
+ }
1259
+ }
1260
+ exports.ListResourcesResponseBody = ListResourcesResponseBody;
1261
+ class ListResourcesResponse extends $tea.Model {
1262
+ static names() {
1263
+ return {
1264
+ headers: 'headers',
1265
+ statusCode: 'statusCode',
1266
+ body: 'body',
1267
+ };
1268
+ }
1269
+ static types() {
1270
+ return {
1271
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1272
+ statusCode: 'number',
1273
+ body: ListResourcesResponseBody,
1274
+ };
1275
+ }
1276
+ constructor(map) {
1277
+ super(map);
1278
+ }
1279
+ }
1280
+ exports.ListResourcesResponse = ListResourcesResponse;
1281
+ class ListWorkflowDefinitionsRequest extends $tea.Model {
1282
+ static names() {
1283
+ return {
1284
+ owner: 'Owner',
1285
+ pageNumber: 'PageNumber',
1286
+ pageSize: 'PageSize',
1287
+ projectId: 'ProjectId',
1288
+ type: 'Type',
1289
+ };
1290
+ }
1291
+ static types() {
1292
+ return {
1293
+ owner: 'string',
1294
+ pageNumber: 'number',
1295
+ pageSize: 'number',
1296
+ projectId: 'string',
1297
+ type: 'string',
1298
+ };
1299
+ }
1300
+ constructor(map) {
1301
+ super(map);
1302
+ }
1303
+ }
1304
+ exports.ListWorkflowDefinitionsRequest = ListWorkflowDefinitionsRequest;
1305
+ class ListWorkflowDefinitionsResponseBody extends $tea.Model {
1306
+ static names() {
1307
+ return {
1308
+ pagingInfo: 'PagingInfo',
1309
+ requestId: 'RequestId',
1310
+ };
1311
+ }
1312
+ static types() {
1313
+ return {
1314
+ pagingInfo: ListWorkflowDefinitionsResponseBodyPagingInfo,
1315
+ requestId: 'string',
1316
+ };
1317
+ }
1318
+ constructor(map) {
1319
+ super(map);
1320
+ }
1321
+ }
1322
+ exports.ListWorkflowDefinitionsResponseBody = ListWorkflowDefinitionsResponseBody;
1323
+ class ListWorkflowDefinitionsResponse extends $tea.Model {
1324
+ static names() {
1325
+ return {
1326
+ headers: 'headers',
1327
+ statusCode: 'statusCode',
1328
+ body: 'body',
1329
+ };
1330
+ }
1331
+ static types() {
1332
+ return {
1333
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1334
+ statusCode: 'number',
1335
+ body: ListWorkflowDefinitionsResponseBody,
1336
+ };
1337
+ }
1338
+ constructor(map) {
1339
+ super(map);
1340
+ }
1341
+ }
1342
+ exports.ListWorkflowDefinitionsResponse = ListWorkflowDefinitionsResponse;
1343
+ class MoveFunctionRequest extends $tea.Model {
1344
+ static names() {
1345
+ return {
1346
+ id: 'Id',
1347
+ path: 'Path',
1348
+ projectId: 'ProjectId',
1349
+ };
1350
+ }
1351
+ static types() {
1352
+ return {
1353
+ id: 'string',
1354
+ path: 'string',
1355
+ projectId: 'string',
1356
+ };
1357
+ }
1358
+ constructor(map) {
1359
+ super(map);
1360
+ }
1361
+ }
1362
+ exports.MoveFunctionRequest = MoveFunctionRequest;
1363
+ class MoveFunctionResponseBody extends $tea.Model {
1364
+ static names() {
1365
+ return {
1366
+ requestId: 'RequestId',
1367
+ success: 'Success',
1368
+ };
1369
+ }
1370
+ static types() {
1371
+ return {
1372
+ requestId: 'string',
1373
+ success: 'boolean',
1374
+ };
1375
+ }
1376
+ constructor(map) {
1377
+ super(map);
1378
+ }
1379
+ }
1380
+ exports.MoveFunctionResponseBody = MoveFunctionResponseBody;
1381
+ class MoveFunctionResponse extends $tea.Model {
1382
+ static names() {
1383
+ return {
1384
+ headers: 'headers',
1385
+ statusCode: 'statusCode',
1386
+ body: 'body',
1387
+ };
1388
+ }
1389
+ static types() {
1390
+ return {
1391
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1392
+ statusCode: 'number',
1393
+ body: MoveFunctionResponseBody,
1394
+ };
1395
+ }
1396
+ constructor(map) {
1397
+ super(map);
1398
+ }
1399
+ }
1400
+ exports.MoveFunctionResponse = MoveFunctionResponse;
1401
+ class MoveNodeRequest extends $tea.Model {
1402
+ static names() {
1403
+ return {
1404
+ id: 'Id',
1405
+ path: 'Path',
1406
+ projectId: 'ProjectId',
1407
+ };
1408
+ }
1409
+ static types() {
1410
+ return {
1411
+ id: 'string',
1412
+ path: 'string',
1413
+ projectId: 'string',
1414
+ };
1415
+ }
1416
+ constructor(map) {
1417
+ super(map);
1418
+ }
1419
+ }
1420
+ exports.MoveNodeRequest = MoveNodeRequest;
1421
+ class MoveNodeResponseBody extends $tea.Model {
1422
+ static names() {
1423
+ return {
1424
+ requestId: 'RequestId',
1425
+ success: 'Success',
1426
+ };
1427
+ }
1428
+ static types() {
1429
+ return {
1430
+ requestId: 'string',
1431
+ success: 'boolean',
1432
+ };
1433
+ }
1434
+ constructor(map) {
1435
+ super(map);
1436
+ }
1437
+ }
1438
+ exports.MoveNodeResponseBody = MoveNodeResponseBody;
1439
+ class MoveNodeResponse extends $tea.Model {
1440
+ static names() {
1441
+ return {
1442
+ headers: 'headers',
1443
+ statusCode: 'statusCode',
1444
+ body: 'body',
1445
+ };
1446
+ }
1447
+ static types() {
1448
+ return {
1449
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1450
+ statusCode: 'number',
1451
+ body: MoveNodeResponseBody,
1452
+ };
1453
+ }
1454
+ constructor(map) {
1455
+ super(map);
1456
+ }
1457
+ }
1458
+ exports.MoveNodeResponse = MoveNodeResponse;
1459
+ class MoveResourceRequest extends $tea.Model {
1460
+ static names() {
1461
+ return {
1462
+ id: 'Id',
1463
+ path: 'Path',
1464
+ projectId: 'ProjectId',
1465
+ };
1466
+ }
1467
+ static types() {
1468
+ return {
1469
+ id: 'string',
1470
+ path: 'string',
1471
+ projectId: 'string',
1472
+ };
1473
+ }
1474
+ constructor(map) {
1475
+ super(map);
1476
+ }
1477
+ }
1478
+ exports.MoveResourceRequest = MoveResourceRequest;
1479
+ class MoveResourceResponseBody extends $tea.Model {
1480
+ static names() {
1481
+ return {
1482
+ requestId: 'RequestId',
1483
+ success: 'Success',
1484
+ };
1485
+ }
1486
+ static types() {
1487
+ return {
1488
+ requestId: 'string',
1489
+ success: 'boolean',
1490
+ };
1491
+ }
1492
+ constructor(map) {
1493
+ super(map);
1494
+ }
1495
+ }
1496
+ exports.MoveResourceResponseBody = MoveResourceResponseBody;
1497
+ class MoveResourceResponse extends $tea.Model {
1498
+ static names() {
1499
+ return {
1500
+ headers: 'headers',
1501
+ statusCode: 'statusCode',
1502
+ body: 'body',
1503
+ };
1504
+ }
1505
+ static types() {
1506
+ return {
1507
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1508
+ statusCode: 'number',
1509
+ body: MoveResourceResponseBody,
1510
+ };
1511
+ }
1512
+ constructor(map) {
1513
+ super(map);
1514
+ }
1515
+ }
1516
+ exports.MoveResourceResponse = MoveResourceResponse;
1517
+ class MoveWorkflowDefinitionRequest extends $tea.Model {
1518
+ static names() {
1519
+ return {
1520
+ id: 'Id',
1521
+ path: 'Path',
1522
+ projectId: 'ProjectId',
1523
+ };
1524
+ }
1525
+ static types() {
1526
+ return {
1527
+ id: 'string',
1528
+ path: 'string',
1529
+ projectId: 'string',
1530
+ };
1531
+ }
1532
+ constructor(map) {
1533
+ super(map);
1534
+ }
1535
+ }
1536
+ exports.MoveWorkflowDefinitionRequest = MoveWorkflowDefinitionRequest;
1537
+ class MoveWorkflowDefinitionResponseBody extends $tea.Model {
1538
+ static names() {
1539
+ return {
1540
+ requestId: 'RequestId',
1541
+ success: 'Success',
1542
+ };
1543
+ }
1544
+ static types() {
1545
+ return {
1546
+ requestId: 'string',
1547
+ success: 'boolean',
1548
+ };
1549
+ }
1550
+ constructor(map) {
1551
+ super(map);
1552
+ }
1553
+ }
1554
+ exports.MoveWorkflowDefinitionResponseBody = MoveWorkflowDefinitionResponseBody;
1555
+ class MoveWorkflowDefinitionResponse extends $tea.Model {
1556
+ static names() {
1557
+ return {
1558
+ headers: 'headers',
1559
+ statusCode: 'statusCode',
1560
+ body: 'body',
1561
+ };
1562
+ }
1563
+ static types() {
1564
+ return {
1565
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1566
+ statusCode: 'number',
1567
+ body: MoveWorkflowDefinitionResponseBody,
1568
+ };
1569
+ }
1570
+ constructor(map) {
1571
+ super(map);
1572
+ }
1573
+ }
1574
+ exports.MoveWorkflowDefinitionResponse = MoveWorkflowDefinitionResponse;
1575
+ class RenameFunctionRequest extends $tea.Model {
1576
+ static names() {
1577
+ return {
1578
+ id: 'Id',
1579
+ name: 'Name',
1580
+ projectId: 'ProjectId',
1581
+ };
1582
+ }
1583
+ static types() {
1584
+ return {
1585
+ id: 'string',
1586
+ name: 'string',
1587
+ projectId: 'string',
1588
+ };
1589
+ }
1590
+ constructor(map) {
1591
+ super(map);
1592
+ }
1593
+ }
1594
+ exports.RenameFunctionRequest = RenameFunctionRequest;
1595
+ class RenameFunctionResponseBody extends $tea.Model {
1596
+ static names() {
1597
+ return {
1598
+ requestId: 'RequestId',
1599
+ success: 'Success',
1600
+ };
1601
+ }
1602
+ static types() {
1603
+ return {
1604
+ requestId: 'string',
1605
+ success: 'string',
1606
+ };
1607
+ }
1608
+ constructor(map) {
1609
+ super(map);
1610
+ }
1611
+ }
1612
+ exports.RenameFunctionResponseBody = RenameFunctionResponseBody;
1613
+ class RenameFunctionResponse extends $tea.Model {
1614
+ static names() {
1615
+ return {
1616
+ headers: 'headers',
1617
+ statusCode: 'statusCode',
1618
+ body: 'body',
1619
+ };
1620
+ }
1621
+ static types() {
1622
+ return {
1623
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1624
+ statusCode: 'number',
1625
+ body: RenameFunctionResponseBody,
1626
+ };
1627
+ }
1628
+ constructor(map) {
1629
+ super(map);
1630
+ }
1631
+ }
1632
+ exports.RenameFunctionResponse = RenameFunctionResponse;
1633
+ class RenameNodeRequest extends $tea.Model {
1634
+ static names() {
1635
+ return {
1636
+ id: 'Id',
1637
+ name: 'Name',
1638
+ projectId: 'ProjectId',
1639
+ };
1640
+ }
1641
+ static types() {
1642
+ return {
1643
+ id: 'string',
1644
+ name: 'string',
1645
+ projectId: 'string',
1646
+ };
1647
+ }
1648
+ constructor(map) {
1649
+ super(map);
1650
+ }
1651
+ }
1652
+ exports.RenameNodeRequest = RenameNodeRequest;
1653
+ class RenameNodeResponseBody extends $tea.Model {
1654
+ static names() {
1655
+ return {
1656
+ requestId: 'RequestId',
1657
+ success: 'Success',
1658
+ };
1659
+ }
1660
+ static types() {
1661
+ return {
1662
+ requestId: 'string',
1663
+ success: 'boolean',
1664
+ };
1665
+ }
1666
+ constructor(map) {
1667
+ super(map);
1668
+ }
1669
+ }
1670
+ exports.RenameNodeResponseBody = RenameNodeResponseBody;
1671
+ class RenameNodeResponse extends $tea.Model {
1672
+ static names() {
1673
+ return {
1674
+ headers: 'headers',
1675
+ statusCode: 'statusCode',
1676
+ body: 'body',
1677
+ };
1678
+ }
1679
+ static types() {
1680
+ return {
1681
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1682
+ statusCode: 'number',
1683
+ body: RenameNodeResponseBody,
1684
+ };
1685
+ }
1686
+ constructor(map) {
1687
+ super(map);
1688
+ }
1689
+ }
1690
+ exports.RenameNodeResponse = RenameNodeResponse;
1691
+ class RenameResourceRequest extends $tea.Model {
1692
+ static names() {
1693
+ return {
1694
+ id: 'Id',
1695
+ name: 'Name',
1696
+ projectId: 'ProjectId',
1697
+ };
1698
+ }
1699
+ static types() {
1700
+ return {
1701
+ id: 'string',
1702
+ name: 'string',
1703
+ projectId: 'string',
1704
+ };
1705
+ }
1706
+ constructor(map) {
1707
+ super(map);
1708
+ }
1709
+ }
1710
+ exports.RenameResourceRequest = RenameResourceRequest;
1711
+ class RenameResourceResponseBody extends $tea.Model {
1712
+ static names() {
1713
+ return {
1714
+ requestId: 'RequestId',
1715
+ success: 'Success',
1716
+ };
1717
+ }
1718
+ static types() {
1719
+ return {
1720
+ requestId: 'string',
1721
+ success: 'boolean',
1722
+ };
1723
+ }
1724
+ constructor(map) {
1725
+ super(map);
1726
+ }
1727
+ }
1728
+ exports.RenameResourceResponseBody = RenameResourceResponseBody;
1729
+ class RenameResourceResponse extends $tea.Model {
1730
+ static names() {
1731
+ return {
1732
+ headers: 'headers',
1733
+ statusCode: 'statusCode',
1734
+ body: 'body',
1735
+ };
1736
+ }
1737
+ static types() {
1738
+ return {
1739
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1740
+ statusCode: 'number',
1741
+ body: RenameResourceResponseBody,
1742
+ };
1743
+ }
1744
+ constructor(map) {
1745
+ super(map);
1746
+ }
1747
+ }
1748
+ exports.RenameResourceResponse = RenameResourceResponse;
1749
+ class RenameWorkflowDefinitionRequest extends $tea.Model {
1750
+ static names() {
1751
+ return {
1752
+ id: 'Id',
1753
+ name: 'Name',
1754
+ projectId: 'ProjectId',
1755
+ };
1756
+ }
1757
+ static types() {
1758
+ return {
1759
+ id: 'string',
1760
+ name: 'string',
1761
+ projectId: 'string',
1762
+ };
1763
+ }
1764
+ constructor(map) {
1765
+ super(map);
1766
+ }
1767
+ }
1768
+ exports.RenameWorkflowDefinitionRequest = RenameWorkflowDefinitionRequest;
1769
+ class RenameWorkflowDefinitionResponseBody extends $tea.Model {
1770
+ static names() {
1771
+ return {
1772
+ requestId: 'RequestId',
1773
+ success: 'Success',
1774
+ };
1775
+ }
1776
+ static types() {
1777
+ return {
1778
+ requestId: 'string',
1779
+ success: 'boolean',
1780
+ };
1781
+ }
1782
+ constructor(map) {
1783
+ super(map);
1784
+ }
1785
+ }
1786
+ exports.RenameWorkflowDefinitionResponseBody = RenameWorkflowDefinitionResponseBody;
1787
+ class RenameWorkflowDefinitionResponse extends $tea.Model {
1788
+ static names() {
1789
+ return {
1790
+ headers: 'headers',
1791
+ statusCode: 'statusCode',
1792
+ body: 'body',
1793
+ };
1794
+ }
1795
+ static types() {
1796
+ return {
1797
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1798
+ statusCode: 'number',
1799
+ body: RenameWorkflowDefinitionResponseBody,
1800
+ };
1801
+ }
1802
+ constructor(map) {
1803
+ super(map);
1804
+ }
1805
+ }
1806
+ exports.RenameWorkflowDefinitionResponse = RenameWorkflowDefinitionResponse;
1807
+ class UpdateFunctionRequest extends $tea.Model {
1808
+ static names() {
1809
+ return {
1810
+ id: 'Id',
1811
+ projectId: 'ProjectId',
1812
+ spec: 'Spec',
1813
+ };
1814
+ }
1815
+ static types() {
1816
+ return {
1817
+ id: 'string',
1818
+ projectId: 'string',
1819
+ spec: 'string',
1820
+ };
1821
+ }
1822
+ constructor(map) {
1823
+ super(map);
1824
+ }
1825
+ }
1826
+ exports.UpdateFunctionRequest = UpdateFunctionRequest;
1827
+ class UpdateFunctionResponseBody extends $tea.Model {
1828
+ static names() {
1829
+ return {
1830
+ requestId: 'RequestId',
1831
+ success: 'Success',
1832
+ };
1833
+ }
1834
+ static types() {
1835
+ return {
1836
+ requestId: 'string',
1837
+ success: 'boolean',
1838
+ };
1839
+ }
1840
+ constructor(map) {
1841
+ super(map);
1842
+ }
1843
+ }
1844
+ exports.UpdateFunctionResponseBody = UpdateFunctionResponseBody;
1845
+ class UpdateFunctionResponse extends $tea.Model {
1846
+ static names() {
1847
+ return {
1848
+ headers: 'headers',
1849
+ statusCode: 'statusCode',
1850
+ body: 'body',
1851
+ };
1852
+ }
1853
+ static types() {
1854
+ return {
1855
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1856
+ statusCode: 'number',
1857
+ body: UpdateFunctionResponseBody,
1858
+ };
1859
+ }
1860
+ constructor(map) {
1861
+ super(map);
1862
+ }
1863
+ }
1864
+ exports.UpdateFunctionResponse = UpdateFunctionResponse;
1865
+ class UpdateNodeRequest extends $tea.Model {
1866
+ static names() {
1867
+ return {
1868
+ id: 'Id',
1869
+ projectId: 'ProjectId',
1870
+ spec: 'Spec',
1871
+ };
1872
+ }
1873
+ static types() {
1874
+ return {
1875
+ id: 'string',
1876
+ projectId: 'string',
1877
+ spec: 'string',
1878
+ };
1879
+ }
1880
+ constructor(map) {
1881
+ super(map);
1882
+ }
1883
+ }
1884
+ exports.UpdateNodeRequest = UpdateNodeRequest;
1885
+ class UpdateNodeResponseBody extends $tea.Model {
1886
+ static names() {
1887
+ return {
1888
+ requestId: 'RequestId',
1889
+ success: 'Success',
1890
+ };
1891
+ }
1892
+ static types() {
1893
+ return {
1894
+ requestId: 'string',
1895
+ success: 'boolean',
1896
+ };
1897
+ }
1898
+ constructor(map) {
1899
+ super(map);
1900
+ }
1901
+ }
1902
+ exports.UpdateNodeResponseBody = UpdateNodeResponseBody;
1903
+ class UpdateNodeResponse extends $tea.Model {
1904
+ static names() {
1905
+ return {
1906
+ headers: 'headers',
1907
+ statusCode: 'statusCode',
1908
+ body: 'body',
1909
+ };
1910
+ }
1911
+ static types() {
1912
+ return {
1913
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1914
+ statusCode: 'number',
1915
+ body: UpdateNodeResponseBody,
1916
+ };
1917
+ }
1918
+ constructor(map) {
1919
+ super(map);
1920
+ }
1921
+ }
1922
+ exports.UpdateNodeResponse = UpdateNodeResponse;
1923
+ class UpdateResourceRequest extends $tea.Model {
1924
+ static names() {
1925
+ return {
1926
+ id: 'Id',
1927
+ projectId: 'ProjectId',
1928
+ spec: 'Spec',
1929
+ };
1930
+ }
1931
+ static types() {
1932
+ return {
1933
+ id: 'string',
1934
+ projectId: 'string',
1935
+ spec: 'string',
1936
+ };
1937
+ }
1938
+ constructor(map) {
1939
+ super(map);
1940
+ }
1941
+ }
1942
+ exports.UpdateResourceRequest = UpdateResourceRequest;
1943
+ class UpdateResourceResponseBody extends $tea.Model {
1944
+ static names() {
1945
+ return {
1946
+ requestId: 'RequestId',
1947
+ success: 'Success',
1948
+ };
1949
+ }
1950
+ static types() {
1951
+ return {
1952
+ requestId: 'string',
1953
+ success: 'boolean',
1954
+ };
1955
+ }
1956
+ constructor(map) {
1957
+ super(map);
1958
+ }
1959
+ }
1960
+ exports.UpdateResourceResponseBody = UpdateResourceResponseBody;
1961
+ class UpdateResourceResponse extends $tea.Model {
1962
+ static names() {
1963
+ return {
1964
+ headers: 'headers',
1965
+ statusCode: 'statusCode',
1966
+ body: 'body',
1967
+ };
1968
+ }
1969
+ static types() {
1970
+ return {
1971
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1972
+ statusCode: 'number',
1973
+ body: UpdateResourceResponseBody,
1974
+ };
1975
+ }
1976
+ constructor(map) {
1977
+ super(map);
1978
+ }
1979
+ }
1980
+ exports.UpdateResourceResponse = UpdateResourceResponse;
1981
+ class UpdateWorkflowDefinitionRequest extends $tea.Model {
1982
+ static names() {
1983
+ return {
1984
+ id: 'Id',
1985
+ projectId: 'ProjectId',
1986
+ spec: 'Spec',
1987
+ };
1988
+ }
1989
+ static types() {
1990
+ return {
1991
+ id: 'string',
1992
+ projectId: 'string',
1993
+ spec: 'string',
1994
+ };
1995
+ }
1996
+ constructor(map) {
1997
+ super(map);
1998
+ }
1999
+ }
2000
+ exports.UpdateWorkflowDefinitionRequest = UpdateWorkflowDefinitionRequest;
2001
+ class UpdateWorkflowDefinitionResponseBody extends $tea.Model {
2002
+ static names() {
2003
+ return {
2004
+ requestId: 'RequestId',
2005
+ success: 'Success',
2006
+ };
2007
+ }
2008
+ static types() {
2009
+ return {
2010
+ requestId: 'string',
2011
+ success: 'boolean',
2012
+ };
2013
+ }
2014
+ constructor(map) {
2015
+ super(map);
2016
+ }
2017
+ }
2018
+ exports.UpdateWorkflowDefinitionResponseBody = UpdateWorkflowDefinitionResponseBody;
2019
+ class UpdateWorkflowDefinitionResponse extends $tea.Model {
2020
+ static names() {
2021
+ return {
2022
+ headers: 'headers',
2023
+ statusCode: 'statusCode',
2024
+ body: 'body',
2025
+ };
2026
+ }
2027
+ static types() {
2028
+ return {
2029
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2030
+ statusCode: 'number',
2031
+ body: UpdateWorkflowDefinitionResponseBody,
2032
+ };
2033
+ }
2034
+ constructor(map) {
2035
+ super(map);
2036
+ }
2037
+ }
2038
+ exports.UpdateWorkflowDefinitionResponse = UpdateWorkflowDefinitionResponse;
2039
+ class GetDeploymentResponseBodyPipelineStages extends $tea.Model {
2040
+ static names() {
2041
+ return {
2042
+ code: 'Code',
2043
+ description: 'Description',
2044
+ detail: 'Detail',
2045
+ message: 'Message',
2046
+ name: 'Name',
2047
+ status: 'Status',
2048
+ step: 'Step',
2049
+ type: 'Type',
2050
+ };
2051
+ }
2052
+ static types() {
2053
+ return {
2054
+ code: 'string',
2055
+ description: 'string',
2056
+ detail: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2057
+ message: 'string',
2058
+ name: 'string',
2059
+ status: 'string',
2060
+ step: 'number',
2061
+ type: 'string',
2062
+ };
2063
+ }
2064
+ constructor(map) {
2065
+ super(map);
2066
+ }
2067
+ }
2068
+ exports.GetDeploymentResponseBodyPipelineStages = GetDeploymentResponseBodyPipelineStages;
2069
+ class GetDeploymentResponseBodyPipeline extends $tea.Model {
2070
+ static names() {
2071
+ return {
2072
+ createTime: 'CreateTime',
2073
+ creator: 'Creator',
2074
+ id: 'Id',
2075
+ message: 'Message',
2076
+ modifyTime: 'ModifyTime',
2077
+ projectId: 'ProjectId',
2078
+ stages: 'Stages',
2079
+ status: 'Status',
2080
+ };
2081
+ }
2082
+ static types() {
2083
+ return {
2084
+ createTime: 'number',
2085
+ creator: 'string',
2086
+ id: 'string',
2087
+ message: 'string',
2088
+ modifyTime: 'number',
2089
+ projectId: 'string',
2090
+ stages: { 'type': 'array', 'itemType': GetDeploymentResponseBodyPipelineStages },
2091
+ status: 'string',
2092
+ };
2093
+ }
2094
+ constructor(map) {
2095
+ super(map);
2096
+ }
2097
+ }
2098
+ exports.GetDeploymentResponseBodyPipeline = GetDeploymentResponseBodyPipeline;
2099
+ class GetFunctionResponseBodyFunction extends $tea.Model {
2100
+ static names() {
2101
+ return {
2102
+ createTime: 'CreateTime',
2103
+ id: 'Id',
2104
+ modifyTime: 'ModifyTime',
2105
+ name: 'Name',
2106
+ owner: 'Owner',
2107
+ projectId: 'ProjectId',
2108
+ spec: 'Spec',
2109
+ };
2110
+ }
2111
+ static types() {
2112
+ return {
2113
+ createTime: 'number',
2114
+ id: 'string',
2115
+ modifyTime: 'number',
2116
+ name: 'string',
2117
+ owner: 'string',
2118
+ projectId: 'string',
2119
+ spec: 'string',
2120
+ };
2121
+ }
2122
+ constructor(map) {
2123
+ super(map);
2124
+ }
2125
+ }
2126
+ exports.GetFunctionResponseBodyFunction = GetFunctionResponseBodyFunction;
2127
+ class GetNodeResponseBodyNode extends $tea.Model {
2128
+ static names() {
2129
+ return {
2130
+ createTime: 'CreateTime',
2131
+ id: 'Id',
2132
+ modifyTime: 'ModifyTime',
2133
+ name: 'Name',
2134
+ owner: 'Owner',
2135
+ projectId: 'ProjectId',
2136
+ spec: 'Spec',
2137
+ };
2138
+ }
2139
+ static types() {
2140
+ return {
2141
+ createTime: 'number',
2142
+ id: 'string',
2143
+ modifyTime: 'number',
2144
+ name: 'string',
2145
+ owner: 'string',
2146
+ projectId: 'string',
2147
+ spec: 'string',
2148
+ };
2149
+ }
2150
+ constructor(map) {
2151
+ super(map);
2152
+ }
2153
+ }
2154
+ exports.GetNodeResponseBodyNode = GetNodeResponseBodyNode;
2155
+ class GetResourceResponseBodyResource extends $tea.Model {
2156
+ static names() {
2157
+ return {
2158
+ createTime: 'CreateTime',
2159
+ id: 'Id',
2160
+ modifyTime: 'ModifyTime',
2161
+ name: 'Name',
2162
+ owner: 'Owner',
2163
+ projectId: 'ProjectId',
2164
+ spec: 'Spec',
2165
+ };
2166
+ }
2167
+ static types() {
2168
+ return {
2169
+ createTime: 'number',
2170
+ id: 'string',
2171
+ modifyTime: 'number',
2172
+ name: 'string',
2173
+ owner: 'string',
2174
+ projectId: 'string',
2175
+ spec: 'string',
2176
+ };
2177
+ }
2178
+ constructor(map) {
2179
+ super(map);
2180
+ }
2181
+ }
2182
+ exports.GetResourceResponseBodyResource = GetResourceResponseBodyResource;
2183
+ class GetWorkflowDefinitionResponseBodyWorkflowDefinition extends $tea.Model {
2184
+ static names() {
2185
+ return {
2186
+ createTime: 'CreateTime',
2187
+ id: 'Id',
2188
+ modifyTime: 'ModifyTime',
2189
+ name: 'Name',
2190
+ owner: 'Owner',
2191
+ projectId: 'ProjectId',
2192
+ spec: 'Spec',
2193
+ };
2194
+ }
2195
+ static types() {
2196
+ return {
2197
+ createTime: 'number',
2198
+ id: 'string',
2199
+ modifyTime: 'number',
2200
+ name: 'string',
2201
+ owner: 'string',
2202
+ projectId: 'string',
2203
+ spec: 'string',
2204
+ };
2205
+ }
2206
+ constructor(map) {
2207
+ super(map);
2208
+ }
2209
+ }
2210
+ exports.GetWorkflowDefinitionResponseBodyWorkflowDefinition = GetWorkflowDefinitionResponseBodyWorkflowDefinition;
2211
+ class ListDeploymentsResponseBodyPagingInfoDeploymentsStages extends $tea.Model {
2212
+ static names() {
2213
+ return {
2214
+ code: 'Code',
2215
+ description: 'Description',
2216
+ detail: 'Detail',
2217
+ message: 'Message',
2218
+ name: 'Name',
2219
+ status: 'Status',
2220
+ step: 'Step',
2221
+ type: 'Type',
2222
+ };
2223
+ }
2224
+ static types() {
2225
+ return {
2226
+ code: 'string',
2227
+ description: 'string',
2228
+ detail: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2229
+ message: 'string',
2230
+ name: 'string',
2231
+ status: 'string',
2232
+ step: 'number',
2233
+ type: 'string',
2234
+ };
2235
+ }
2236
+ constructor(map) {
2237
+ super(map);
2238
+ }
2239
+ }
2240
+ exports.ListDeploymentsResponseBodyPagingInfoDeploymentsStages = ListDeploymentsResponseBodyPagingInfoDeploymentsStages;
2241
+ class ListDeploymentsResponseBodyPagingInfoDeployments extends $tea.Model {
2242
+ static names() {
2243
+ return {
2244
+ createTime: 'CreateTime',
2245
+ creator: 'Creator',
2246
+ id: 'Id',
2247
+ message: 'Message',
2248
+ modifyTime: 'ModifyTime',
2249
+ projectId: 'ProjectId',
2250
+ stages: 'Stages',
2251
+ status: 'Status',
2252
+ };
2253
+ }
2254
+ static types() {
2255
+ return {
2256
+ createTime: 'number',
2257
+ creator: 'string',
2258
+ id: 'string',
2259
+ message: 'string',
2260
+ modifyTime: 'number',
2261
+ projectId: 'string',
2262
+ stages: { 'type': 'array', 'itemType': ListDeploymentsResponseBodyPagingInfoDeploymentsStages },
2263
+ status: 'string',
2264
+ };
2265
+ }
2266
+ constructor(map) {
2267
+ super(map);
2268
+ }
2269
+ }
2270
+ exports.ListDeploymentsResponseBodyPagingInfoDeployments = ListDeploymentsResponseBodyPagingInfoDeployments;
2271
+ class ListDeploymentsResponseBodyPagingInfo extends $tea.Model {
2272
+ static names() {
2273
+ return {
2274
+ deployments: 'Deployments',
2275
+ pageNumber: 'PageNumber',
2276
+ pageSize: 'PageSize',
2277
+ totalCount: 'TotalCount',
2278
+ };
2279
+ }
2280
+ static types() {
2281
+ return {
2282
+ deployments: { 'type': 'array', 'itemType': ListDeploymentsResponseBodyPagingInfoDeployments },
2283
+ pageNumber: 'string',
2284
+ pageSize: 'string',
2285
+ totalCount: 'string',
2286
+ };
2287
+ }
2288
+ constructor(map) {
2289
+ super(map);
2290
+ }
2291
+ }
2292
+ exports.ListDeploymentsResponseBodyPagingInfo = ListDeploymentsResponseBodyPagingInfo;
2293
+ class ListFunctionsResponseBodyPagingInfoFunctionsDataSource extends $tea.Model {
2294
+ static names() {
2295
+ return {
2296
+ name: 'Name',
2297
+ type: 'Type',
2298
+ };
2299
+ }
2300
+ static types() {
2301
+ return {
2302
+ name: 'string',
2303
+ type: 'string',
2304
+ };
2305
+ }
2306
+ constructor(map) {
2307
+ super(map);
2308
+ }
2309
+ }
2310
+ exports.ListFunctionsResponseBodyPagingInfoFunctionsDataSource = ListFunctionsResponseBodyPagingInfoFunctionsDataSource;
2311
+ class ListFunctionsResponseBodyPagingInfoFunctionsRuntimeResource extends $tea.Model {
2312
+ static names() {
2313
+ return {
2314
+ resourceGroupId: 'ResourceGroupId',
2315
+ };
2316
+ }
2317
+ static types() {
2318
+ return {
2319
+ resourceGroupId: 'string',
2320
+ };
2321
+ }
2322
+ constructor(map) {
2323
+ super(map);
2324
+ }
2325
+ }
2326
+ exports.ListFunctionsResponseBodyPagingInfoFunctionsRuntimeResource = ListFunctionsResponseBodyPagingInfoFunctionsRuntimeResource;
2327
+ class ListFunctionsResponseBodyPagingInfoFunctionsScriptRuntime extends $tea.Model {
2328
+ static names() {
2329
+ return {
2330
+ command: 'Command',
2331
+ };
2332
+ }
2333
+ static types() {
2334
+ return {
2335
+ command: 'string',
2336
+ };
2337
+ }
2338
+ constructor(map) {
2339
+ super(map);
2340
+ }
2341
+ }
2342
+ exports.ListFunctionsResponseBodyPagingInfoFunctionsScriptRuntime = ListFunctionsResponseBodyPagingInfoFunctionsScriptRuntime;
2343
+ class ListFunctionsResponseBodyPagingInfoFunctionsScript extends $tea.Model {
2344
+ static names() {
2345
+ return {
2346
+ id: 'Id',
2347
+ path: 'Path',
2348
+ runtime: 'Runtime',
2349
+ };
2350
+ }
2351
+ static types() {
2352
+ return {
2353
+ id: 'string',
2354
+ path: 'string',
2355
+ runtime: ListFunctionsResponseBodyPagingInfoFunctionsScriptRuntime,
2356
+ };
2357
+ }
2358
+ constructor(map) {
2359
+ super(map);
2360
+ }
2361
+ }
2362
+ exports.ListFunctionsResponseBodyPagingInfoFunctionsScript = ListFunctionsResponseBodyPagingInfoFunctionsScript;
2363
+ class ListFunctionsResponseBodyPagingInfoFunctions extends $tea.Model {
2364
+ static names() {
2365
+ return {
2366
+ armResource: 'ArmResource',
2367
+ className: 'ClassName',
2368
+ commandDescription: 'CommandDescription',
2369
+ createTime: 'CreateTime',
2370
+ dataSource: 'DataSource',
2371
+ databaseName: 'DatabaseName',
2372
+ description: 'Description',
2373
+ embeddedCode: 'EmbeddedCode',
2374
+ embeddedCodeType: 'EmbeddedCodeType',
2375
+ embeddedResourceType: 'EmbeddedResourceType',
2376
+ exampleDescription: 'ExampleDescription',
2377
+ fileResource: 'FileResource',
2378
+ id: 'Id',
2379
+ modifyTime: 'ModifyTime',
2380
+ name: 'Name',
2381
+ owner: 'Owner',
2382
+ parameterDescription: 'ParameterDescription',
2383
+ projectId: 'ProjectId',
2384
+ returnValueDescription: 'ReturnValueDescription',
2385
+ runtimeResource: 'RuntimeResource',
2386
+ script: 'Script',
2387
+ type: 'Type',
2388
+ };
2389
+ }
2390
+ static types() {
2391
+ return {
2392
+ armResource: 'string',
2393
+ className: 'string',
2394
+ commandDescription: 'string',
2395
+ createTime: 'number',
2396
+ dataSource: ListFunctionsResponseBodyPagingInfoFunctionsDataSource,
2397
+ databaseName: 'string',
2398
+ description: 'string',
2399
+ embeddedCode: 'string',
2400
+ embeddedCodeType: 'string',
2401
+ embeddedResourceType: 'string',
2402
+ exampleDescription: 'string',
2403
+ fileResource: 'string',
2404
+ id: 'string',
2405
+ modifyTime: 'number',
2406
+ name: 'string',
2407
+ owner: 'string',
2408
+ parameterDescription: 'string',
2409
+ projectId: 'string',
2410
+ returnValueDescription: 'string',
2411
+ runtimeResource: ListFunctionsResponseBodyPagingInfoFunctionsRuntimeResource,
2412
+ script: ListFunctionsResponseBodyPagingInfoFunctionsScript,
2413
+ type: 'string',
2414
+ };
2415
+ }
2416
+ constructor(map) {
2417
+ super(map);
2418
+ }
2419
+ }
2420
+ exports.ListFunctionsResponseBodyPagingInfoFunctions = ListFunctionsResponseBodyPagingInfoFunctions;
2421
+ class ListFunctionsResponseBodyPagingInfo extends $tea.Model {
2422
+ static names() {
2423
+ return {
2424
+ functions: 'Functions',
2425
+ pageNumber: 'PageNumber',
2426
+ pageSize: 'PageSize',
2427
+ totalCount: 'TotalCount',
2428
+ };
2429
+ }
2430
+ static types() {
2431
+ return {
2432
+ functions: { 'type': 'array', 'itemType': ListFunctionsResponseBodyPagingInfoFunctions },
2433
+ pageNumber: 'number',
2434
+ pageSize: 'number',
2435
+ totalCount: 'number',
2436
+ };
2437
+ }
2438
+ constructor(map) {
2439
+ super(map);
2440
+ }
2441
+ }
2442
+ exports.ListFunctionsResponseBodyPagingInfo = ListFunctionsResponseBodyPagingInfo;
2443
+ class ListNodeDependenciesResponseBodyPagingInfoNodesDataSource extends $tea.Model {
2444
+ static names() {
2445
+ return {
2446
+ name: 'Name',
2447
+ type: 'Type',
2448
+ };
2449
+ }
2450
+ static types() {
2451
+ return {
2452
+ name: 'string',
2453
+ type: 'string',
2454
+ };
2455
+ }
2456
+ constructor(map) {
2457
+ super(map);
2458
+ }
2459
+ }
2460
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesDataSource = ListNodeDependenciesResponseBodyPagingInfoNodesDataSource;
2461
+ class ListNodeDependenciesResponseBodyPagingInfoNodesInputsNodeOutputs extends $tea.Model {
2462
+ static names() {
2463
+ return {
2464
+ data: 'Data',
2465
+ };
2466
+ }
2467
+ static types() {
2468
+ return {
2469
+ data: 'string',
2470
+ };
2471
+ }
2472
+ constructor(map) {
2473
+ super(map);
2474
+ }
2475
+ }
2476
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsNodeOutputs = ListNodeDependenciesResponseBodyPagingInfoNodesInputsNodeOutputs;
2477
+ class ListNodeDependenciesResponseBodyPagingInfoNodesInputsTables extends $tea.Model {
2478
+ static names() {
2479
+ return {
2480
+ guid: 'Guid',
2481
+ };
2482
+ }
2483
+ static types() {
2484
+ return {
2485
+ guid: 'string',
2486
+ };
2487
+ }
2488
+ constructor(map) {
2489
+ super(map);
2490
+ }
2491
+ }
2492
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsTables = ListNodeDependenciesResponseBodyPagingInfoNodesInputsTables;
2493
+ class ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariablesNode extends $tea.Model {
2494
+ static names() {
2495
+ return {
2496
+ output: 'Output',
2497
+ };
2498
+ }
2499
+ static types() {
2500
+ return {
2501
+ output: 'string',
2502
+ };
2503
+ }
2504
+ constructor(map) {
2505
+ super(map);
2506
+ }
2507
+ }
2508
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariablesNode = ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariablesNode;
2509
+ class ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariables extends $tea.Model {
2510
+ static names() {
2511
+ return {
2512
+ artifactType: 'ArtifactType',
2513
+ id: 'Id',
2514
+ name: 'Name',
2515
+ node: 'Node',
2516
+ scope: 'Scope',
2517
+ type: 'Type',
2518
+ value: 'Value',
2519
+ };
2520
+ }
2521
+ static types() {
2522
+ return {
2523
+ artifactType: 'string',
2524
+ id: 'string',
2525
+ name: 'string',
2526
+ node: ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariablesNode,
2527
+ scope: 'string',
2528
+ type: 'string',
2529
+ value: 'string',
2530
+ };
2531
+ }
2532
+ constructor(map) {
2533
+ super(map);
2534
+ }
2535
+ }
2536
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariables = ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariables;
2537
+ class ListNodeDependenciesResponseBodyPagingInfoNodesInputs extends $tea.Model {
2538
+ static names() {
2539
+ return {
2540
+ nodeOutputs: 'NodeOutputs',
2541
+ tables: 'Tables',
2542
+ variables: 'Variables',
2543
+ };
2544
+ }
2545
+ static types() {
2546
+ return {
2547
+ nodeOutputs: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodesInputsNodeOutputs },
2548
+ tables: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodesInputsTables },
2549
+ variables: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodesInputsVariables },
2550
+ };
2551
+ }
2552
+ constructor(map) {
2553
+ super(map);
2554
+ }
2555
+ }
2556
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesInputs = ListNodeDependenciesResponseBodyPagingInfoNodesInputs;
2557
+ class ListNodeDependenciesResponseBodyPagingInfoNodesOutputsNodeOutputs extends $tea.Model {
2558
+ static names() {
2559
+ return {
2560
+ data: 'Data',
2561
+ };
2562
+ }
2563
+ static types() {
2564
+ return {
2565
+ data: 'string',
2566
+ };
2567
+ }
2568
+ constructor(map) {
2569
+ super(map);
2570
+ }
2571
+ }
2572
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsNodeOutputs = ListNodeDependenciesResponseBodyPagingInfoNodesOutputsNodeOutputs;
2573
+ class ListNodeDependenciesResponseBodyPagingInfoNodesOutputsTables extends $tea.Model {
2574
+ static names() {
2575
+ return {
2576
+ guid: 'Guid',
2577
+ };
2578
+ }
2579
+ static types() {
2580
+ return {
2581
+ guid: 'string',
2582
+ };
2583
+ }
2584
+ constructor(map) {
2585
+ super(map);
2586
+ }
2587
+ }
2588
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsTables = ListNodeDependenciesResponseBodyPagingInfoNodesOutputsTables;
2589
+ class ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariablesNode extends $tea.Model {
2590
+ static names() {
2591
+ return {
2592
+ output: 'Output',
2593
+ };
2594
+ }
2595
+ static types() {
2596
+ return {
2597
+ output: 'string',
2598
+ };
2599
+ }
2600
+ constructor(map) {
2601
+ super(map);
2602
+ }
2603
+ }
2604
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariablesNode = ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariablesNode;
2605
+ class ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariables extends $tea.Model {
2606
+ static names() {
2607
+ return {
2608
+ artifactType: 'ArtifactType',
2609
+ id: 'Id',
2610
+ name: 'Name',
2611
+ node: 'Node',
2612
+ scope: 'Scope',
2613
+ type: 'Type',
2614
+ value: 'Value',
2615
+ };
2616
+ }
2617
+ static types() {
2618
+ return {
2619
+ artifactType: 'string',
2620
+ id: 'string',
2621
+ name: 'string',
2622
+ node: ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariablesNode,
2623
+ scope: 'string',
2624
+ type: 'string',
2625
+ value: 'string',
2626
+ };
2627
+ }
2628
+ constructor(map) {
2629
+ super(map);
2630
+ }
2631
+ }
2632
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariables = ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariables;
2633
+ class ListNodeDependenciesResponseBodyPagingInfoNodesOutputs extends $tea.Model {
2634
+ static names() {
2635
+ return {
2636
+ nodeOutputs: 'NodeOutputs',
2637
+ tables: 'Tables',
2638
+ variables: 'Variables',
2639
+ };
2640
+ }
2641
+ static types() {
2642
+ return {
2643
+ nodeOutputs: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodesOutputsNodeOutputs },
2644
+ tables: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodesOutputsTables },
2645
+ variables: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodesOutputsVariables },
2646
+ };
2647
+ }
2648
+ constructor(map) {
2649
+ super(map);
2650
+ }
2651
+ }
2652
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesOutputs = ListNodeDependenciesResponseBodyPagingInfoNodesOutputs;
2653
+ class ListNodeDependenciesResponseBodyPagingInfoNodesRuntimeResource extends $tea.Model {
2654
+ static names() {
2655
+ return {
2656
+ resourceGroupId: 'ResourceGroupId',
2657
+ };
2658
+ }
2659
+ static types() {
2660
+ return {
2661
+ resourceGroupId: 'string',
2662
+ };
2663
+ }
2664
+ constructor(map) {
2665
+ super(map);
2666
+ }
2667
+ }
2668
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesRuntimeResource = ListNodeDependenciesResponseBodyPagingInfoNodesRuntimeResource;
2669
+ class ListNodeDependenciesResponseBodyPagingInfoNodesScriptRuntime extends $tea.Model {
2670
+ static names() {
2671
+ return {
2672
+ command: 'Command',
2673
+ };
2674
+ }
2675
+ static types() {
2676
+ return {
2677
+ command: 'string',
2678
+ };
2679
+ }
2680
+ constructor(map) {
2681
+ super(map);
2682
+ }
2683
+ }
2684
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesScriptRuntime = ListNodeDependenciesResponseBodyPagingInfoNodesScriptRuntime;
2685
+ class ListNodeDependenciesResponseBodyPagingInfoNodesScript extends $tea.Model {
2686
+ static names() {
2687
+ return {
2688
+ id: 'Id',
2689
+ path: 'Path',
2690
+ runtime: 'Runtime',
2691
+ };
2692
+ }
2693
+ static types() {
2694
+ return {
2695
+ id: 'string',
2696
+ path: 'string',
2697
+ runtime: ListNodeDependenciesResponseBodyPagingInfoNodesScriptRuntime,
2698
+ };
2699
+ }
2700
+ constructor(map) {
2701
+ super(map);
2702
+ }
2703
+ }
2704
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesScript = ListNodeDependenciesResponseBodyPagingInfoNodesScript;
2705
+ class ListNodeDependenciesResponseBodyPagingInfoNodesStrategy extends $tea.Model {
2706
+ static names() {
2707
+ return {
2708
+ instanceMode: 'InstanceMode',
2709
+ rerunInterval: 'RerunInterval',
2710
+ rerunMode: 'RerunMode',
2711
+ rerunTimes: 'RerunTimes',
2712
+ timeout: 'Timeout',
2713
+ };
2714
+ }
2715
+ static types() {
2716
+ return {
2717
+ instanceMode: 'string',
2718
+ rerunInterval: 'number',
2719
+ rerunMode: 'string',
2720
+ rerunTimes: 'number',
2721
+ timeout: 'number',
2722
+ };
2723
+ }
2724
+ constructor(map) {
2725
+ super(map);
2726
+ }
2727
+ }
2728
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesStrategy = ListNodeDependenciesResponseBodyPagingInfoNodesStrategy;
2729
+ class ListNodeDependenciesResponseBodyPagingInfoNodesTags extends $tea.Model {
2730
+ static names() {
2731
+ return {
2732
+ key: 'Key',
2733
+ value: 'Value',
2734
+ };
2735
+ }
2736
+ static types() {
2737
+ return {
2738
+ key: 'string',
2739
+ value: 'string',
2740
+ };
2741
+ }
2742
+ constructor(map) {
2743
+ super(map);
2744
+ }
2745
+ }
2746
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesTags = ListNodeDependenciesResponseBodyPagingInfoNodesTags;
2747
+ class ListNodeDependenciesResponseBodyPagingInfoNodesTrigger extends $tea.Model {
2748
+ static names() {
2749
+ return {
2750
+ cron: 'Cron',
2751
+ endTime: 'EndTime',
2752
+ id: 'Id',
2753
+ startTime: 'StartTime',
2754
+ timezone: 'Timezone',
2755
+ type: 'Type',
2756
+ };
2757
+ }
2758
+ static types() {
2759
+ return {
2760
+ cron: 'string',
2761
+ endTime: 'string',
2762
+ id: 'string',
2763
+ startTime: 'string',
2764
+ timezone: 'string',
2765
+ type: 'string',
2766
+ };
2767
+ }
2768
+ constructor(map) {
2769
+ super(map);
2770
+ }
2771
+ }
2772
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodesTrigger = ListNodeDependenciesResponseBodyPagingInfoNodesTrigger;
2773
+ class ListNodeDependenciesResponseBodyPagingInfoNodes extends $tea.Model {
2774
+ static names() {
2775
+ return {
2776
+ createTime: 'CreateTime',
2777
+ dataSource: 'DataSource',
2778
+ description: 'Description',
2779
+ id: 'Id',
2780
+ inputs: 'Inputs',
2781
+ modifyTime: 'ModifyTime',
2782
+ name: 'Name',
2783
+ outputs: 'Outputs',
2784
+ owner: 'Owner',
2785
+ projectId: 'ProjectId',
2786
+ recurrence: 'Recurrence',
2787
+ runtimeResource: 'RuntimeResource',
2788
+ script: 'Script',
2789
+ strategy: 'Strategy',
2790
+ tags: 'Tags',
2791
+ taskId: 'TaskId',
2792
+ trigger: 'Trigger',
2793
+ };
2794
+ }
2795
+ static types() {
2796
+ return {
2797
+ createTime: 'number',
2798
+ dataSource: ListNodeDependenciesResponseBodyPagingInfoNodesDataSource,
2799
+ description: 'string',
2800
+ id: 'string',
2801
+ inputs: ListNodeDependenciesResponseBodyPagingInfoNodesInputs,
2802
+ modifyTime: 'number',
2803
+ name: 'string',
2804
+ outputs: ListNodeDependenciesResponseBodyPagingInfoNodesOutputs,
2805
+ owner: 'string',
2806
+ projectId: 'string',
2807
+ recurrence: 'string',
2808
+ runtimeResource: ListNodeDependenciesResponseBodyPagingInfoNodesRuntimeResource,
2809
+ script: ListNodeDependenciesResponseBodyPagingInfoNodesScript,
2810
+ strategy: ListNodeDependenciesResponseBodyPagingInfoNodesStrategy,
2811
+ tags: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodesTags },
2812
+ taskId: 'string',
2813
+ trigger: ListNodeDependenciesResponseBodyPagingInfoNodesTrigger,
2814
+ };
2815
+ }
2816
+ constructor(map) {
2817
+ super(map);
2818
+ }
2819
+ }
2820
+ exports.ListNodeDependenciesResponseBodyPagingInfoNodes = ListNodeDependenciesResponseBodyPagingInfoNodes;
2821
+ class ListNodeDependenciesResponseBodyPagingInfo extends $tea.Model {
2822
+ static names() {
2823
+ return {
2824
+ nodes: 'Nodes',
2825
+ pageNumber: 'PageNumber',
2826
+ pageSize: 'PageSize',
2827
+ totalCount: 'TotalCount',
2828
+ };
2829
+ }
2830
+ static types() {
2831
+ return {
2832
+ nodes: { 'type': 'array', 'itemType': ListNodeDependenciesResponseBodyPagingInfoNodes },
2833
+ pageNumber: 'string',
2834
+ pageSize: 'string',
2835
+ totalCount: 'string',
2836
+ };
2837
+ }
2838
+ constructor(map) {
2839
+ super(map);
2840
+ }
2841
+ }
2842
+ exports.ListNodeDependenciesResponseBodyPagingInfo = ListNodeDependenciesResponseBodyPagingInfo;
2843
+ class ListNodesResponseBodyPagingInfoNodesDataSource extends $tea.Model {
2844
+ static names() {
2845
+ return {
2846
+ name: 'Name',
2847
+ type: 'Type',
2848
+ };
2849
+ }
2850
+ static types() {
2851
+ return {
2852
+ name: 'string',
2853
+ type: 'string',
2854
+ };
2855
+ }
2856
+ constructor(map) {
2857
+ super(map);
2858
+ }
2859
+ }
2860
+ exports.ListNodesResponseBodyPagingInfoNodesDataSource = ListNodesResponseBodyPagingInfoNodesDataSource;
2861
+ class ListNodesResponseBodyPagingInfoNodesInputsNodeOutputs extends $tea.Model {
2862
+ static names() {
2863
+ return {
2864
+ data: 'Data',
2865
+ };
2866
+ }
2867
+ static types() {
2868
+ return {
2869
+ data: 'string',
2870
+ };
2871
+ }
2872
+ constructor(map) {
2873
+ super(map);
2874
+ }
2875
+ }
2876
+ exports.ListNodesResponseBodyPagingInfoNodesInputsNodeOutputs = ListNodesResponseBodyPagingInfoNodesInputsNodeOutputs;
2877
+ class ListNodesResponseBodyPagingInfoNodesInputsTables extends $tea.Model {
2878
+ static names() {
2879
+ return {
2880
+ guid: 'Guid',
2881
+ };
2882
+ }
2883
+ static types() {
2884
+ return {
2885
+ guid: 'string',
2886
+ };
2887
+ }
2888
+ constructor(map) {
2889
+ super(map);
2890
+ }
2891
+ }
2892
+ exports.ListNodesResponseBodyPagingInfoNodesInputsTables = ListNodesResponseBodyPagingInfoNodesInputsTables;
2893
+ class ListNodesResponseBodyPagingInfoNodesInputsVariablesNode extends $tea.Model {
2894
+ static names() {
2895
+ return {
2896
+ output: 'Output',
2897
+ };
2898
+ }
2899
+ static types() {
2900
+ return {
2901
+ output: 'string',
2902
+ };
2903
+ }
2904
+ constructor(map) {
2905
+ super(map);
2906
+ }
2907
+ }
2908
+ exports.ListNodesResponseBodyPagingInfoNodesInputsVariablesNode = ListNodesResponseBodyPagingInfoNodesInputsVariablesNode;
2909
+ class ListNodesResponseBodyPagingInfoNodesInputsVariables extends $tea.Model {
2910
+ static names() {
2911
+ return {
2912
+ artifactType: 'ArtifactType',
2913
+ id: 'Id',
2914
+ name: 'Name',
2915
+ node: 'Node',
2916
+ scope: 'Scope',
2917
+ type: 'Type',
2918
+ value: 'Value',
2919
+ };
2920
+ }
2921
+ static types() {
2922
+ return {
2923
+ artifactType: 'string',
2924
+ id: 'string',
2925
+ name: 'string',
2926
+ node: ListNodesResponseBodyPagingInfoNodesInputsVariablesNode,
2927
+ scope: 'string',
2928
+ type: 'string',
2929
+ value: 'string',
2930
+ };
2931
+ }
2932
+ constructor(map) {
2933
+ super(map);
2934
+ }
2935
+ }
2936
+ exports.ListNodesResponseBodyPagingInfoNodesInputsVariables = ListNodesResponseBodyPagingInfoNodesInputsVariables;
2937
+ class ListNodesResponseBodyPagingInfoNodesInputs extends $tea.Model {
2938
+ static names() {
2939
+ return {
2940
+ nodeOutputs: 'NodeOutputs',
2941
+ tables: 'Tables',
2942
+ variables: 'Variables',
2943
+ };
2944
+ }
2945
+ static types() {
2946
+ return {
2947
+ nodeOutputs: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodesInputsNodeOutputs },
2948
+ tables: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodesInputsTables },
2949
+ variables: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodesInputsVariables },
2950
+ };
2951
+ }
2952
+ constructor(map) {
2953
+ super(map);
2954
+ }
2955
+ }
2956
+ exports.ListNodesResponseBodyPagingInfoNodesInputs = ListNodesResponseBodyPagingInfoNodesInputs;
2957
+ class ListNodesResponseBodyPagingInfoNodesOutputsNodeOutputs extends $tea.Model {
2958
+ static names() {
2959
+ return {
2960
+ data: 'Data',
2961
+ };
2962
+ }
2963
+ static types() {
2964
+ return {
2965
+ data: 'string',
2966
+ };
2967
+ }
2968
+ constructor(map) {
2969
+ super(map);
2970
+ }
2971
+ }
2972
+ exports.ListNodesResponseBodyPagingInfoNodesOutputsNodeOutputs = ListNodesResponseBodyPagingInfoNodesOutputsNodeOutputs;
2973
+ class ListNodesResponseBodyPagingInfoNodesOutputsTables extends $tea.Model {
2974
+ static names() {
2975
+ return {
2976
+ guid: 'Guid',
2977
+ };
2978
+ }
2979
+ static types() {
2980
+ return {
2981
+ guid: 'string',
2982
+ };
2983
+ }
2984
+ constructor(map) {
2985
+ super(map);
2986
+ }
2987
+ }
2988
+ exports.ListNodesResponseBodyPagingInfoNodesOutputsTables = ListNodesResponseBodyPagingInfoNodesOutputsTables;
2989
+ class ListNodesResponseBodyPagingInfoNodesOutputsVariablesNode extends $tea.Model {
2990
+ static names() {
2991
+ return {
2992
+ output: 'Output',
2993
+ };
2994
+ }
2995
+ static types() {
2996
+ return {
2997
+ output: 'string',
2998
+ };
2999
+ }
3000
+ constructor(map) {
3001
+ super(map);
3002
+ }
3003
+ }
3004
+ exports.ListNodesResponseBodyPagingInfoNodesOutputsVariablesNode = ListNodesResponseBodyPagingInfoNodesOutputsVariablesNode;
3005
+ class ListNodesResponseBodyPagingInfoNodesOutputsVariables extends $tea.Model {
3006
+ static names() {
3007
+ return {
3008
+ artifactType: 'ArtifactType',
3009
+ id: 'Id',
3010
+ name: 'Name',
3011
+ node: 'Node',
3012
+ scope: 'Scope',
3013
+ type: 'Type',
3014
+ value: 'Value',
3015
+ };
3016
+ }
3017
+ static types() {
3018
+ return {
3019
+ artifactType: 'string',
3020
+ id: 'string',
3021
+ name: 'string',
3022
+ node: ListNodesResponseBodyPagingInfoNodesOutputsVariablesNode,
3023
+ scope: 'string',
3024
+ type: 'string',
3025
+ value: 'string',
3026
+ };
3027
+ }
3028
+ constructor(map) {
3029
+ super(map);
3030
+ }
3031
+ }
3032
+ exports.ListNodesResponseBodyPagingInfoNodesOutputsVariables = ListNodesResponseBodyPagingInfoNodesOutputsVariables;
3033
+ class ListNodesResponseBodyPagingInfoNodesOutputs extends $tea.Model {
3034
+ static names() {
3035
+ return {
3036
+ nodeOutputs: 'NodeOutputs',
3037
+ tables: 'Tables',
3038
+ variables: 'Variables',
3039
+ };
3040
+ }
3041
+ static types() {
3042
+ return {
3043
+ nodeOutputs: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodesOutputsNodeOutputs },
3044
+ tables: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodesOutputsTables },
3045
+ variables: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodesOutputsVariables },
3046
+ };
3047
+ }
3048
+ constructor(map) {
3049
+ super(map);
3050
+ }
3051
+ }
3052
+ exports.ListNodesResponseBodyPagingInfoNodesOutputs = ListNodesResponseBodyPagingInfoNodesOutputs;
3053
+ class ListNodesResponseBodyPagingInfoNodesRuntimeResource extends $tea.Model {
3054
+ static names() {
3055
+ return {
3056
+ resourceGroupId: 'ResourceGroupId',
3057
+ };
3058
+ }
3059
+ static types() {
3060
+ return {
3061
+ resourceGroupId: 'string',
3062
+ };
3063
+ }
3064
+ constructor(map) {
3065
+ super(map);
3066
+ }
3067
+ }
3068
+ exports.ListNodesResponseBodyPagingInfoNodesRuntimeResource = ListNodesResponseBodyPagingInfoNodesRuntimeResource;
3069
+ class ListNodesResponseBodyPagingInfoNodesScriptRuntime extends $tea.Model {
3070
+ static names() {
3071
+ return {
3072
+ command: 'Command',
3073
+ };
3074
+ }
3075
+ static types() {
3076
+ return {
3077
+ command: 'string',
3078
+ };
3079
+ }
3080
+ constructor(map) {
3081
+ super(map);
3082
+ }
3083
+ }
3084
+ exports.ListNodesResponseBodyPagingInfoNodesScriptRuntime = ListNodesResponseBodyPagingInfoNodesScriptRuntime;
3085
+ class ListNodesResponseBodyPagingInfoNodesScript extends $tea.Model {
3086
+ static names() {
3087
+ return {
3088
+ id: 'Id',
3089
+ path: 'Path',
3090
+ runtime: 'Runtime',
3091
+ };
3092
+ }
3093
+ static types() {
3094
+ return {
3095
+ id: 'string',
3096
+ path: 'string',
3097
+ runtime: ListNodesResponseBodyPagingInfoNodesScriptRuntime,
3098
+ };
3099
+ }
3100
+ constructor(map) {
3101
+ super(map);
3102
+ }
3103
+ }
3104
+ exports.ListNodesResponseBodyPagingInfoNodesScript = ListNodesResponseBodyPagingInfoNodesScript;
3105
+ class ListNodesResponseBodyPagingInfoNodesStrategy extends $tea.Model {
3106
+ static names() {
3107
+ return {
3108
+ instanceMode: 'InstanceMode',
3109
+ rerunInterval: 'RerunInterval',
3110
+ rerunMode: 'RerunMode',
3111
+ rerunTimes: 'RerunTimes',
3112
+ timeout: 'Timeout',
3113
+ };
3114
+ }
3115
+ static types() {
3116
+ return {
3117
+ instanceMode: 'string',
3118
+ rerunInterval: 'number',
3119
+ rerunMode: 'string',
3120
+ rerunTimes: 'number',
3121
+ timeout: 'number',
3122
+ };
3123
+ }
3124
+ constructor(map) {
3125
+ super(map);
3126
+ }
3127
+ }
3128
+ exports.ListNodesResponseBodyPagingInfoNodesStrategy = ListNodesResponseBodyPagingInfoNodesStrategy;
3129
+ class ListNodesResponseBodyPagingInfoNodesTags extends $tea.Model {
3130
+ static names() {
3131
+ return {
3132
+ key: 'Key',
3133
+ value: 'Value',
3134
+ };
3135
+ }
3136
+ static types() {
3137
+ return {
3138
+ key: 'string',
3139
+ value: 'string',
3140
+ };
3141
+ }
3142
+ constructor(map) {
3143
+ super(map);
3144
+ }
3145
+ }
3146
+ exports.ListNodesResponseBodyPagingInfoNodesTags = ListNodesResponseBodyPagingInfoNodesTags;
3147
+ class ListNodesResponseBodyPagingInfoNodesTrigger extends $tea.Model {
3148
+ static names() {
3149
+ return {
3150
+ cron: 'Cron',
3151
+ endTime: 'EndTime',
3152
+ id: 'Id',
3153
+ startTime: 'StartTime',
3154
+ timezone: 'Timezone',
3155
+ type: 'Type',
3156
+ };
3157
+ }
3158
+ static types() {
3159
+ return {
3160
+ cron: 'string',
3161
+ endTime: 'string',
3162
+ id: 'string',
3163
+ startTime: 'string',
3164
+ timezone: 'string',
3165
+ type: 'string',
3166
+ };
3167
+ }
3168
+ constructor(map) {
3169
+ super(map);
3170
+ }
3171
+ }
3172
+ exports.ListNodesResponseBodyPagingInfoNodesTrigger = ListNodesResponseBodyPagingInfoNodesTrigger;
3173
+ class ListNodesResponseBodyPagingInfoNodes extends $tea.Model {
3174
+ static names() {
3175
+ return {
3176
+ createTime: 'CreateTime',
3177
+ dataSource: 'DataSource',
3178
+ description: 'Description',
3179
+ id: 'Id',
3180
+ inputs: 'Inputs',
3181
+ modifyTime: 'ModifyTime',
3182
+ name: 'Name',
3183
+ outputs: 'Outputs',
3184
+ owner: 'Owner',
3185
+ projectId: 'ProjectId',
3186
+ recurrence: 'Recurrence',
3187
+ runtimeResource: 'RuntimeResource',
3188
+ script: 'Script',
3189
+ strategy: 'Strategy',
3190
+ tags: 'Tags',
3191
+ taskId: 'TaskId',
3192
+ trigger: 'Trigger',
3193
+ };
3194
+ }
3195
+ static types() {
3196
+ return {
3197
+ createTime: 'number',
3198
+ dataSource: ListNodesResponseBodyPagingInfoNodesDataSource,
3199
+ description: 'string',
3200
+ id: 'string',
3201
+ inputs: ListNodesResponseBodyPagingInfoNodesInputs,
3202
+ modifyTime: 'number',
3203
+ name: 'string',
3204
+ outputs: ListNodesResponseBodyPagingInfoNodesOutputs,
3205
+ owner: 'string',
3206
+ projectId: 'string',
3207
+ recurrence: 'string',
3208
+ runtimeResource: ListNodesResponseBodyPagingInfoNodesRuntimeResource,
3209
+ script: ListNodesResponseBodyPagingInfoNodesScript,
3210
+ strategy: ListNodesResponseBodyPagingInfoNodesStrategy,
3211
+ tags: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodesTags },
3212
+ taskId: 'string',
3213
+ trigger: ListNodesResponseBodyPagingInfoNodesTrigger,
3214
+ };
3215
+ }
3216
+ constructor(map) {
3217
+ super(map);
3218
+ }
3219
+ }
3220
+ exports.ListNodesResponseBodyPagingInfoNodes = ListNodesResponseBodyPagingInfoNodes;
3221
+ class ListNodesResponseBodyPagingInfo extends $tea.Model {
3222
+ static names() {
3223
+ return {
3224
+ nodes: 'Nodes',
3225
+ pageNumber: 'PageNumber',
3226
+ pageSize: 'PageSize',
3227
+ totalCount: 'TotalCount',
3228
+ };
3229
+ }
3230
+ static types() {
3231
+ return {
3232
+ nodes: { 'type': 'array', 'itemType': ListNodesResponseBodyPagingInfoNodes },
3233
+ pageNumber: 'string',
3234
+ pageSize: 'string',
3235
+ totalCount: 'string',
3236
+ };
3237
+ }
3238
+ constructor(map) {
3239
+ super(map);
3240
+ }
3241
+ }
3242
+ exports.ListNodesResponseBodyPagingInfo = ListNodesResponseBodyPagingInfo;
3243
+ class ListResourcesResponseBodyPagingInfoResourcesDataSource extends $tea.Model {
3244
+ static names() {
3245
+ return {
3246
+ name: 'Name',
3247
+ type: 'Type',
3248
+ };
3249
+ }
3250
+ static types() {
3251
+ return {
3252
+ name: 'string',
3253
+ type: 'string',
3254
+ };
3255
+ }
3256
+ constructor(map) {
3257
+ super(map);
3258
+ }
3259
+ }
3260
+ exports.ListResourcesResponseBodyPagingInfoResourcesDataSource = ListResourcesResponseBodyPagingInfoResourcesDataSource;
3261
+ class ListResourcesResponseBodyPagingInfoResourcesScriptRuntime extends $tea.Model {
3262
+ static names() {
3263
+ return {
3264
+ command: 'Command',
3265
+ };
3266
+ }
3267
+ static types() {
3268
+ return {
3269
+ command: 'string',
3270
+ };
3271
+ }
3272
+ constructor(map) {
3273
+ super(map);
3274
+ }
3275
+ }
3276
+ exports.ListResourcesResponseBodyPagingInfoResourcesScriptRuntime = ListResourcesResponseBodyPagingInfoResourcesScriptRuntime;
3277
+ class ListResourcesResponseBodyPagingInfoResourcesScript extends $tea.Model {
3278
+ static names() {
3279
+ return {
3280
+ id: 'Id',
3281
+ path: 'Path',
3282
+ runtime: 'Runtime',
3283
+ };
3284
+ }
3285
+ static types() {
3286
+ return {
3287
+ id: 'string',
3288
+ path: 'string',
3289
+ runtime: ListResourcesResponseBodyPagingInfoResourcesScriptRuntime,
3290
+ };
3291
+ }
3292
+ constructor(map) {
3293
+ super(map);
3294
+ }
3295
+ }
3296
+ exports.ListResourcesResponseBodyPagingInfoResourcesScript = ListResourcesResponseBodyPagingInfoResourcesScript;
3297
+ class ListResourcesResponseBodyPagingInfoResources extends $tea.Model {
3298
+ static names() {
3299
+ return {
3300
+ createTime: 'CreateTime',
3301
+ dataSource: 'DataSource',
3302
+ id: 'Id',
3303
+ modifyTime: 'ModifyTime',
3304
+ name: 'Name',
3305
+ owner: 'Owner',
3306
+ projectId: 'ProjectId',
3307
+ script: 'Script',
3308
+ sourcePath: 'SourcePath',
3309
+ sourceType: 'SourceType',
3310
+ targetPath: 'TargetPath',
3311
+ targetType: 'TargetType',
3312
+ type: 'Type',
3313
+ };
3314
+ }
3315
+ static types() {
3316
+ return {
3317
+ createTime: 'number',
3318
+ dataSource: ListResourcesResponseBodyPagingInfoResourcesDataSource,
3319
+ id: 'string',
3320
+ modifyTime: 'number',
3321
+ name: 'string',
3322
+ owner: 'string',
3323
+ projectId: 'string',
3324
+ script: ListResourcesResponseBodyPagingInfoResourcesScript,
3325
+ sourcePath: 'string',
3326
+ sourceType: 'string',
3327
+ targetPath: 'string',
3328
+ targetType: 'string',
3329
+ type: 'string',
3330
+ };
3331
+ }
3332
+ constructor(map) {
3333
+ super(map);
3334
+ }
3335
+ }
3336
+ exports.ListResourcesResponseBodyPagingInfoResources = ListResourcesResponseBodyPagingInfoResources;
3337
+ class ListResourcesResponseBodyPagingInfo extends $tea.Model {
3338
+ static names() {
3339
+ return {
3340
+ pageNumber: 'PageNumber',
3341
+ pageSize: 'PageSize',
3342
+ resources: 'Resources',
3343
+ totalCount: 'TotalCount',
3344
+ };
3345
+ }
3346
+ static types() {
3347
+ return {
3348
+ pageNumber: 'number',
3349
+ pageSize: 'number',
3350
+ resources: { 'type': 'array', 'itemType': ListResourcesResponseBodyPagingInfoResources },
3351
+ totalCount: 'number',
3352
+ };
3353
+ }
3354
+ constructor(map) {
3355
+ super(map);
3356
+ }
3357
+ }
3358
+ exports.ListResourcesResponseBodyPagingInfo = ListResourcesResponseBodyPagingInfo;
3359
+ class ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScriptRuntime extends $tea.Model {
3360
+ static names() {
3361
+ return {
3362
+ command: 'Command',
3363
+ };
3364
+ }
3365
+ static types() {
3366
+ return {
3367
+ command: 'string',
3368
+ };
3369
+ }
3370
+ constructor(map) {
3371
+ super(map);
3372
+ }
3373
+ }
3374
+ exports.ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScriptRuntime = ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScriptRuntime;
3375
+ class ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScript extends $tea.Model {
3376
+ static names() {
3377
+ return {
3378
+ id: 'Id',
3379
+ path: 'Path',
3380
+ runtime: 'Runtime',
3381
+ };
3382
+ }
3383
+ static types() {
3384
+ return {
3385
+ id: 'string',
3386
+ path: 'string',
3387
+ runtime: ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScriptRuntime,
3388
+ };
3389
+ }
3390
+ constructor(map) {
3391
+ super(map);
3392
+ }
3393
+ }
3394
+ exports.ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScript = ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScript;
3395
+ class ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitions extends $tea.Model {
3396
+ static names() {
3397
+ return {
3398
+ createTime: 'CreateTime',
3399
+ description: 'Description',
3400
+ id: 'Id',
3401
+ modifyTime: 'ModifyTime',
3402
+ name: 'Name',
3403
+ owner: 'Owner',
3404
+ projectId: 'ProjectId',
3405
+ script: 'Script',
3406
+ type: 'Type',
3407
+ };
3408
+ }
3409
+ static types() {
3410
+ return {
3411
+ createTime: 'number',
3412
+ description: 'string',
3413
+ id: 'string',
3414
+ modifyTime: 'number',
3415
+ name: 'string',
3416
+ owner: 'string',
3417
+ projectId: 'string',
3418
+ script: ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitionsScript,
3419
+ type: 'string',
3420
+ };
3421
+ }
3422
+ constructor(map) {
3423
+ super(map);
3424
+ }
3425
+ }
3426
+ exports.ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitions = ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitions;
3427
+ class ListWorkflowDefinitionsResponseBodyPagingInfo extends $tea.Model {
3428
+ static names() {
3429
+ return {
3430
+ pageNumber: 'PageNumber',
3431
+ pageSize: 'PageSize',
3432
+ totalCount: 'TotalCount',
3433
+ workflowDefinitions: 'WorkflowDefinitions',
3434
+ };
3435
+ }
3436
+ static types() {
3437
+ return {
3438
+ pageNumber: 'number',
3439
+ pageSize: 'number',
3440
+ totalCount: 'number',
3441
+ workflowDefinitions: { 'type': 'array', 'itemType': ListWorkflowDefinitionsResponseBodyPagingInfoWorkflowDefinitions },
3442
+ };
3443
+ }
3444
+ constructor(map) {
3445
+ super(map);
3446
+ }
3447
+ }
3448
+ exports.ListWorkflowDefinitionsResponseBodyPagingInfo = ListWorkflowDefinitionsResponseBodyPagingInfo;
3449
+ class Client extends openapi_client_1.default {
3450
+ constructor(config) {
3451
+ super(config);
3452
+ this._endpointRule = "regional";
3453
+ this._endpointMap = {
3454
+ 'ap-northeast-1': "dataworks.ap-northeast-1.aliyuncs.com",
3455
+ 'ap-south-1': "dataworks.ap-south-1.aliyuncs.com",
3456
+ 'ap-southeast-1': "dataworks.ap-southeast-1.aliyuncs.com",
3457
+ 'ap-southeast-2': "dataworks.ap-southeast-2.aliyuncs.com",
3458
+ 'ap-southeast-3': "dataworks.ap-southeast-3.aliyuncs.com",
3459
+ 'ap-southeast-5': "dataworks.ap-southeast-5.aliyuncs.com",
3460
+ 'cn-beijing': "dataworks.cn-beijing.aliyuncs.com",
3461
+ 'cn-chengdu': "dataworks.cn-chengdu.aliyuncs.com",
3462
+ 'cn-hangzhou': "dataworks.cn-hangzhou.aliyuncs.com",
3463
+ 'cn-hongkong': "dataworks.cn-hongkong.aliyuncs.com",
3464
+ 'cn-huhehaote': "dataworks.aliyuncs.com",
3465
+ 'cn-qingdao': "dataworks.aliyuncs.com",
3466
+ 'cn-shanghai': "dataworks.cn-shanghai.aliyuncs.com",
3467
+ 'cn-shenzhen': "dataworks.cn-shenzhen.aliyuncs.com",
3468
+ 'cn-zhangjiakou': "dataworks.aliyuncs.com",
3469
+ 'eu-central-1': "dataworks.eu-central-1.aliyuncs.com",
3470
+ 'eu-west-1': "dataworks.eu-west-1.aliyuncs.com",
3471
+ 'me-east-1': "dataworks.me-east-1.aliyuncs.com",
3472
+ 'us-east-1': "dataworks.us-east-1.aliyuncs.com",
3473
+ 'us-west-1': "dataworks.us-west-1.aliyuncs.com",
3474
+ 'cn-hangzhou-finance': "dataworks.aliyuncs.com",
3475
+ 'cn-shenzhen-finance-1': "dataworks.aliyuncs.com",
3476
+ 'cn-shanghai-finance-1': "dataworks.aliyuncs.com",
3477
+ 'cn-north-2-gov-1': "dataworks.aliyuncs.com",
3478
+ };
3479
+ this.checkConfig(config);
3480
+ this._endpoint = this.getEndpoint("dataworks-public", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
3481
+ }
3482
+ getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
3483
+ if (!tea_util_1.default.empty(endpoint)) {
3484
+ return endpoint;
3485
+ }
3486
+ if (!tea_util_1.default.isUnset(endpointMap) && !tea_util_1.default.empty(endpointMap[regionId])) {
3487
+ return endpointMap[regionId];
3488
+ }
3489
+ return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
3490
+ }
3491
+ /**
3492
+ * 终止发布流程
3493
+ *
3494
+ * @param request - AbolishDeploymentRequest
3495
+ * @param runtime - runtime options for this request RuntimeOptions
3496
+ * @returns AbolishDeploymentResponse
3497
+ */
3498
+ async abolishDeploymentWithOptions(request, runtime) {
3499
+ tea_util_1.default.validateModel(request);
3500
+ let body = {};
3501
+ if (!tea_util_1.default.isUnset(request.id)) {
3502
+ body["Id"] = request.id;
3503
+ }
3504
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3505
+ body["ProjectId"] = request.projectId;
3506
+ }
3507
+ let req = new $OpenApi.OpenApiRequest({
3508
+ body: openapi_util_1.default.parseToMap(body),
3509
+ });
3510
+ let params = new $OpenApi.Params({
3511
+ action: "AbolishDeployment",
3512
+ version: "2024-05-18",
3513
+ protocol: "HTTPS",
3514
+ pathname: "/",
3515
+ method: "POST",
3516
+ authType: "AK",
3517
+ style: "RPC",
3518
+ reqBodyType: "formData",
3519
+ bodyType: "json",
3520
+ });
3521
+ return $tea.cast(await this.callApi(params, req, runtime), new AbolishDeploymentResponse({}));
3522
+ }
3523
+ /**
3524
+ * 终止发布流程
3525
+ *
3526
+ * @param request - AbolishDeploymentRequest
3527
+ * @returns AbolishDeploymentResponse
3528
+ */
3529
+ async abolishDeployment(request) {
3530
+ let runtime = new $Util.RuntimeOptions({});
3531
+ return await this.abolishDeploymentWithOptions(request, runtime);
3532
+ }
3533
+ /**
3534
+ * 创建发布流程
3535
+ *
3536
+ * @param tmpReq - CreateDeploymentRequest
3537
+ * @param runtime - runtime options for this request RuntimeOptions
3538
+ * @returns CreateDeploymentResponse
3539
+ */
3540
+ async createDeploymentWithOptions(tmpReq, runtime) {
3541
+ tea_util_1.default.validateModel(tmpReq);
3542
+ let request = new CreateDeploymentShrinkRequest({});
3543
+ openapi_util_1.default.convert(tmpReq, request);
3544
+ if (!tea_util_1.default.isUnset(tmpReq.objectIds)) {
3545
+ request.objectIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.objectIds, "ObjectIds", "json");
3546
+ }
3547
+ let body = {};
3548
+ if (!tea_util_1.default.isUnset(request.description)) {
3549
+ body["Description"] = request.description;
3550
+ }
3551
+ if (!tea_util_1.default.isUnset(request.objectIdsShrink)) {
3552
+ body["ObjectIds"] = request.objectIdsShrink;
3553
+ }
3554
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3555
+ body["ProjectId"] = request.projectId;
3556
+ }
3557
+ if (!tea_util_1.default.isUnset(request.type)) {
3558
+ body["Type"] = request.type;
3559
+ }
3560
+ let req = new $OpenApi.OpenApiRequest({
3561
+ body: openapi_util_1.default.parseToMap(body),
3562
+ });
3563
+ let params = new $OpenApi.Params({
3564
+ action: "CreateDeployment",
3565
+ version: "2024-05-18",
3566
+ protocol: "HTTPS",
3567
+ pathname: "/",
3568
+ method: "POST",
3569
+ authType: "AK",
3570
+ style: "RPC",
3571
+ reqBodyType: "formData",
3572
+ bodyType: "json",
3573
+ });
3574
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateDeploymentResponse({}));
3575
+ }
3576
+ /**
3577
+ * 创建发布流程
3578
+ *
3579
+ * @param request - CreateDeploymentRequest
3580
+ * @returns CreateDeploymentResponse
3581
+ */
3582
+ async createDeployment(request) {
3583
+ let runtime = new $Util.RuntimeOptions({});
3584
+ return await this.createDeploymentWithOptions(request, runtime);
3585
+ }
3586
+ /**
3587
+ * 创建udf函数
3588
+ *
3589
+ * @param request - CreateFunctionRequest
3590
+ * @param runtime - runtime options for this request RuntimeOptions
3591
+ * @returns CreateFunctionResponse
3592
+ */
3593
+ async createFunctionWithOptions(request, runtime) {
3594
+ tea_util_1.default.validateModel(request);
3595
+ let body = {};
3596
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3597
+ body["ProjectId"] = request.projectId;
3598
+ }
3599
+ if (!tea_util_1.default.isUnset(request.spec)) {
3600
+ body["Spec"] = request.spec;
3601
+ }
3602
+ let req = new $OpenApi.OpenApiRequest({
3603
+ body: openapi_util_1.default.parseToMap(body),
3604
+ });
3605
+ let params = new $OpenApi.Params({
3606
+ action: "CreateFunction",
3607
+ version: "2024-05-18",
3608
+ protocol: "HTTPS",
3609
+ pathname: "/",
3610
+ method: "POST",
3611
+ authType: "AK",
3612
+ style: "RPC",
3613
+ reqBodyType: "formData",
3614
+ bodyType: "json",
3615
+ });
3616
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateFunctionResponse({}));
3617
+ }
3618
+ /**
3619
+ * 创建udf函数
3620
+ *
3621
+ * @param request - CreateFunctionRequest
3622
+ * @returns CreateFunctionResponse
3623
+ */
3624
+ async createFunction(request) {
3625
+ let runtime = new $Util.RuntimeOptions({});
3626
+ return await this.createFunctionWithOptions(request, runtime);
3627
+ }
3628
+ /**
3629
+ * 创建节点
3630
+ *
3631
+ * @param request - CreateNodeRequest
3632
+ * @param runtime - runtime options for this request RuntimeOptions
3633
+ * @returns CreateNodeResponse
3634
+ */
3635
+ async createNodeWithOptions(request, runtime) {
3636
+ tea_util_1.default.validateModel(request);
3637
+ let body = {};
3638
+ if (!tea_util_1.default.isUnset(request.containerId)) {
3639
+ body["ContainerId"] = request.containerId;
3640
+ }
3641
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3642
+ body["ProjectId"] = request.projectId;
3643
+ }
3644
+ if (!tea_util_1.default.isUnset(request.scene)) {
3645
+ body["Scene"] = request.scene;
3646
+ }
3647
+ if (!tea_util_1.default.isUnset(request.spec)) {
3648
+ body["Spec"] = request.spec;
3649
+ }
3650
+ let req = new $OpenApi.OpenApiRequest({
3651
+ body: openapi_util_1.default.parseToMap(body),
3652
+ });
3653
+ let params = new $OpenApi.Params({
3654
+ action: "CreateNode",
3655
+ version: "2024-05-18",
3656
+ protocol: "HTTPS",
3657
+ pathname: "/",
3658
+ method: "POST",
3659
+ authType: "AK",
3660
+ style: "RPC",
3661
+ reqBodyType: "formData",
3662
+ bodyType: "json",
3663
+ });
3664
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateNodeResponse({}));
3665
+ }
3666
+ /**
3667
+ * 创建节点
3668
+ *
3669
+ * @param request - CreateNodeRequest
3670
+ * @returns CreateNodeResponse
3671
+ */
3672
+ async createNode(request) {
3673
+ let runtime = new $Util.RuntimeOptions({});
3674
+ return await this.createNodeWithOptions(request, runtime);
3675
+ }
3676
+ /**
3677
+ * 创建资源文件
3678
+ *
3679
+ * @param request - CreateResourceRequest
3680
+ * @param runtime - runtime options for this request RuntimeOptions
3681
+ * @returns CreateResourceResponse
3682
+ */
3683
+ async createResourceWithOptions(request, runtime) {
3684
+ tea_util_1.default.validateModel(request);
3685
+ let body = {};
3686
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3687
+ body["ProjectId"] = request.projectId;
3688
+ }
3689
+ if (!tea_util_1.default.isUnset(request.spec)) {
3690
+ body["Spec"] = request.spec;
3691
+ }
3692
+ let req = new $OpenApi.OpenApiRequest({
3693
+ body: openapi_util_1.default.parseToMap(body),
3694
+ });
3695
+ let params = new $OpenApi.Params({
3696
+ action: "CreateResource",
3697
+ version: "2024-05-18",
3698
+ protocol: "HTTPS",
3699
+ pathname: "/",
3700
+ method: "POST",
3701
+ authType: "AK",
3702
+ style: "RPC",
3703
+ reqBodyType: "formData",
3704
+ bodyType: "json",
3705
+ });
3706
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateResourceResponse({}));
3707
+ }
3708
+ /**
3709
+ * 创建资源文件
3710
+ *
3711
+ * @param request - CreateResourceRequest
3712
+ * @returns CreateResourceResponse
3713
+ */
3714
+ async createResource(request) {
3715
+ let runtime = new $Util.RuntimeOptions({});
3716
+ return await this.createResourceWithOptions(request, runtime);
3717
+ }
3718
+ /**
3719
+ * 创建工作流
3720
+ *
3721
+ * @param request - CreateWorkflowDefinitionRequest
3722
+ * @param runtime - runtime options for this request RuntimeOptions
3723
+ * @returns CreateWorkflowDefinitionResponse
3724
+ */
3725
+ async createWorkflowDefinitionWithOptions(request, runtime) {
3726
+ tea_util_1.default.validateModel(request);
3727
+ let body = {};
3728
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3729
+ body["ProjectId"] = request.projectId;
3730
+ }
3731
+ if (!tea_util_1.default.isUnset(request.spec)) {
3732
+ body["Spec"] = request.spec;
3733
+ }
3734
+ let req = new $OpenApi.OpenApiRequest({
3735
+ body: openapi_util_1.default.parseToMap(body),
3736
+ });
3737
+ let params = new $OpenApi.Params({
3738
+ action: "CreateWorkflowDefinition",
3739
+ version: "2024-05-18",
3740
+ protocol: "HTTPS",
3741
+ pathname: "/",
3742
+ method: "POST",
3743
+ authType: "AK",
3744
+ style: "RPC",
3745
+ reqBodyType: "formData",
3746
+ bodyType: "json",
3747
+ });
3748
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateWorkflowDefinitionResponse({}));
3749
+ }
3750
+ /**
3751
+ * 创建工作流
3752
+ *
3753
+ * @param request - CreateWorkflowDefinitionRequest
3754
+ * @returns CreateWorkflowDefinitionResponse
3755
+ */
3756
+ async createWorkflowDefinition(request) {
3757
+ let runtime = new $Util.RuntimeOptions({});
3758
+ return await this.createWorkflowDefinitionWithOptions(request, runtime);
3759
+ }
3760
+ /**
3761
+ * 删除udf函数
3762
+ *
3763
+ * @param request - DeleteFunctionRequest
3764
+ * @param runtime - runtime options for this request RuntimeOptions
3765
+ * @returns DeleteFunctionResponse
3766
+ */
3767
+ async deleteFunctionWithOptions(request, runtime) {
3768
+ tea_util_1.default.validateModel(request);
3769
+ let body = {};
3770
+ if (!tea_util_1.default.isUnset(request.id)) {
3771
+ body["Id"] = request.id;
3772
+ }
3773
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3774
+ body["ProjectId"] = request.projectId;
3775
+ }
3776
+ let req = new $OpenApi.OpenApiRequest({
3777
+ body: openapi_util_1.default.parseToMap(body),
3778
+ });
3779
+ let params = new $OpenApi.Params({
3780
+ action: "DeleteFunction",
3781
+ version: "2024-05-18",
3782
+ protocol: "HTTPS",
3783
+ pathname: "/",
3784
+ method: "POST",
3785
+ authType: "AK",
3786
+ style: "RPC",
3787
+ reqBodyType: "formData",
3788
+ bodyType: "json",
3789
+ });
3790
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteFunctionResponse({}));
3791
+ }
3792
+ /**
3793
+ * 删除udf函数
3794
+ *
3795
+ * @param request - DeleteFunctionRequest
3796
+ * @returns DeleteFunctionResponse
3797
+ */
3798
+ async deleteFunction(request) {
3799
+ let runtime = new $Util.RuntimeOptions({});
3800
+ return await this.deleteFunctionWithOptions(request, runtime);
3801
+ }
3802
+ /**
3803
+ * 删除节点
3804
+ *
3805
+ * @param request - DeleteNodeRequest
3806
+ * @param runtime - runtime options for this request RuntimeOptions
3807
+ * @returns DeleteNodeResponse
3808
+ */
3809
+ async deleteNodeWithOptions(request, runtime) {
3810
+ tea_util_1.default.validateModel(request);
3811
+ let body = {};
3812
+ if (!tea_util_1.default.isUnset(request.id)) {
3813
+ body["Id"] = request.id;
3814
+ }
3815
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3816
+ body["ProjectId"] = request.projectId;
3817
+ }
3818
+ let req = new $OpenApi.OpenApiRequest({
3819
+ body: openapi_util_1.default.parseToMap(body),
3820
+ });
3821
+ let params = new $OpenApi.Params({
3822
+ action: "DeleteNode",
3823
+ version: "2024-05-18",
3824
+ protocol: "HTTPS",
3825
+ pathname: "/",
3826
+ method: "POST",
3827
+ authType: "AK",
3828
+ style: "RPC",
3829
+ reqBodyType: "formData",
3830
+ bodyType: "json",
3831
+ });
3832
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteNodeResponse({}));
3833
+ }
3834
+ /**
3835
+ * 删除节点
3836
+ *
3837
+ * @param request - DeleteNodeRequest
3838
+ * @returns DeleteNodeResponse
3839
+ */
3840
+ async deleteNode(request) {
3841
+ let runtime = new $Util.RuntimeOptions({});
3842
+ return await this.deleteNodeWithOptions(request, runtime);
3843
+ }
3844
+ /**
3845
+ * 删除资源文件
3846
+ *
3847
+ * @param request - DeleteResourceRequest
3848
+ * @param runtime - runtime options for this request RuntimeOptions
3849
+ * @returns DeleteResourceResponse
3850
+ */
3851
+ async deleteResourceWithOptions(request, runtime) {
3852
+ tea_util_1.default.validateModel(request);
3853
+ let body = {};
3854
+ if (!tea_util_1.default.isUnset(request.id)) {
3855
+ body["Id"] = request.id;
3856
+ }
3857
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3858
+ body["ProjectId"] = request.projectId;
3859
+ }
3860
+ let req = new $OpenApi.OpenApiRequest({
3861
+ body: openapi_util_1.default.parseToMap(body),
3862
+ });
3863
+ let params = new $OpenApi.Params({
3864
+ action: "DeleteResource",
3865
+ version: "2024-05-18",
3866
+ protocol: "HTTPS",
3867
+ pathname: "/",
3868
+ method: "POST",
3869
+ authType: "AK",
3870
+ style: "RPC",
3871
+ reqBodyType: "formData",
3872
+ bodyType: "json",
3873
+ });
3874
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteResourceResponse({}));
3875
+ }
3876
+ /**
3877
+ * 删除资源文件
3878
+ *
3879
+ * @param request - DeleteResourceRequest
3880
+ * @returns DeleteResourceResponse
3881
+ */
3882
+ async deleteResource(request) {
3883
+ let runtime = new $Util.RuntimeOptions({});
3884
+ return await this.deleteResourceWithOptions(request, runtime);
3885
+ }
3886
+ /**
3887
+ * 删除工作流
3888
+ *
3889
+ * @param request - DeleteWorkflowDefinitionRequest
3890
+ * @param runtime - runtime options for this request RuntimeOptions
3891
+ * @returns DeleteWorkflowDefinitionResponse
3892
+ */
3893
+ async deleteWorkflowDefinitionWithOptions(request, runtime) {
3894
+ tea_util_1.default.validateModel(request);
3895
+ let body = {};
3896
+ if (!tea_util_1.default.isUnset(request.id)) {
3897
+ body["Id"] = request.id;
3898
+ }
3899
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3900
+ body["ProjectId"] = request.projectId;
3901
+ }
3902
+ let req = new $OpenApi.OpenApiRequest({
3903
+ body: openapi_util_1.default.parseToMap(body),
3904
+ });
3905
+ let params = new $OpenApi.Params({
3906
+ action: "DeleteWorkflowDefinition",
3907
+ version: "2024-05-18",
3908
+ protocol: "HTTPS",
3909
+ pathname: "/",
3910
+ method: "POST",
3911
+ authType: "AK",
3912
+ style: "RPC",
3913
+ reqBodyType: "formData",
3914
+ bodyType: "json",
3915
+ });
3916
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteWorkflowDefinitionResponse({}));
3917
+ }
3918
+ /**
3919
+ * 删除工作流
3920
+ *
3921
+ * @param request - DeleteWorkflowDefinitionRequest
3922
+ * @returns DeleteWorkflowDefinitionResponse
3923
+ */
3924
+ async deleteWorkflowDefinition(request) {
3925
+ let runtime = new $Util.RuntimeOptions({});
3926
+ return await this.deleteWorkflowDefinitionWithOptions(request, runtime);
3927
+ }
3928
+ /**
3929
+ * 执行Deployment一个阶段
3930
+ *
3931
+ * @param request - ExecDeploymentStageRequest
3932
+ * @param runtime - runtime options for this request RuntimeOptions
3933
+ * @returns ExecDeploymentStageResponse
3934
+ */
3935
+ async execDeploymentStageWithOptions(request, runtime) {
3936
+ tea_util_1.default.validateModel(request);
3937
+ let query = {};
3938
+ if (!tea_util_1.default.isUnset(request.projectId)) {
3939
+ query["ProjectId"] = request.projectId;
3940
+ }
3941
+ let body = {};
3942
+ if (!tea_util_1.default.isUnset(request.code)) {
3943
+ body["Code"] = request.code;
3944
+ }
3945
+ if (!tea_util_1.default.isUnset(request.id)) {
3946
+ body["Id"] = request.id;
3947
+ }
3948
+ let req = new $OpenApi.OpenApiRequest({
3949
+ query: openapi_util_1.default.query(query),
3950
+ body: openapi_util_1.default.parseToMap(body),
3951
+ });
3952
+ let params = new $OpenApi.Params({
3953
+ action: "ExecDeploymentStage",
3954
+ version: "2024-05-18",
3955
+ protocol: "HTTPS",
3956
+ pathname: "/",
3957
+ method: "POST",
3958
+ authType: "AK",
3959
+ style: "RPC",
3960
+ reqBodyType: "formData",
3961
+ bodyType: "json",
3962
+ });
3963
+ return $tea.cast(await this.callApi(params, req, runtime), new ExecDeploymentStageResponse({}));
3964
+ }
3965
+ /**
3966
+ * 执行Deployment一个阶段
3967
+ *
3968
+ * @param request - ExecDeploymentStageRequest
3969
+ * @returns ExecDeploymentStageResponse
3970
+ */
3971
+ async execDeploymentStage(request) {
3972
+ let runtime = new $Util.RuntimeOptions({});
3973
+ return await this.execDeploymentStageWithOptions(request, runtime);
3974
+ }
3975
+ /**
3976
+ * 获取发布流程详情
3977
+ *
3978
+ * @param request - GetDeploymentRequest
3979
+ * @param runtime - runtime options for this request RuntimeOptions
3980
+ * @returns GetDeploymentResponse
3981
+ */
3982
+ async getDeploymentWithOptions(request, runtime) {
3983
+ tea_util_1.default.validateModel(request);
3984
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
3985
+ let req = new $OpenApi.OpenApiRequest({
3986
+ query: openapi_util_1.default.query(query),
3987
+ });
3988
+ let params = new $OpenApi.Params({
3989
+ action: "GetDeployment",
3990
+ version: "2024-05-18",
3991
+ protocol: "HTTPS",
3992
+ pathname: "/",
3993
+ method: "GET",
3994
+ authType: "AK",
3995
+ style: "RPC",
3996
+ reqBodyType: "formData",
3997
+ bodyType: "json",
3998
+ });
3999
+ return $tea.cast(await this.callApi(params, req, runtime), new GetDeploymentResponse({}));
4000
+ }
4001
+ /**
4002
+ * 获取发布流程详情
4003
+ *
4004
+ * @param request - GetDeploymentRequest
4005
+ * @returns GetDeploymentResponse
4006
+ */
4007
+ async getDeployment(request) {
4008
+ let runtime = new $Util.RuntimeOptions({});
4009
+ return await this.getDeploymentWithOptions(request, runtime);
4010
+ }
4011
+ /**
4012
+ * 获取函数信息
4013
+ *
4014
+ * @param request - GetFunctionRequest
4015
+ * @param runtime - runtime options for this request RuntimeOptions
4016
+ * @returns GetFunctionResponse
4017
+ */
4018
+ async getFunctionWithOptions(request, runtime) {
4019
+ tea_util_1.default.validateModel(request);
4020
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4021
+ let req = new $OpenApi.OpenApiRequest({
4022
+ query: openapi_util_1.default.query(query),
4023
+ });
4024
+ let params = new $OpenApi.Params({
4025
+ action: "GetFunction",
4026
+ version: "2024-05-18",
4027
+ protocol: "HTTPS",
4028
+ pathname: "/",
4029
+ method: "GET",
4030
+ authType: "AK",
4031
+ style: "RPC",
4032
+ reqBodyType: "formData",
4033
+ bodyType: "json",
4034
+ });
4035
+ return $tea.cast(await this.callApi(params, req, runtime), new GetFunctionResponse({}));
4036
+ }
4037
+ /**
4038
+ * 获取函数信息
4039
+ *
4040
+ * @param request - GetFunctionRequest
4041
+ * @returns GetFunctionResponse
4042
+ */
4043
+ async getFunction(request) {
4044
+ let runtime = new $Util.RuntimeOptions({});
4045
+ return await this.getFunctionWithOptions(request, runtime);
4046
+ }
4047
+ /**
4048
+ * @param request - GetNodeRequest
4049
+ * @param runtime - runtime options for this request RuntimeOptions
4050
+ * @returns GetNodeResponse
4051
+ */
4052
+ async getNodeWithOptions(request, runtime) {
4053
+ tea_util_1.default.validateModel(request);
4054
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4055
+ let req = new $OpenApi.OpenApiRequest({
4056
+ query: openapi_util_1.default.query(query),
4057
+ });
4058
+ let params = new $OpenApi.Params({
4059
+ action: "GetNode",
4060
+ version: "2024-05-18",
4061
+ protocol: "HTTPS",
4062
+ pathname: "/",
4063
+ method: "GET",
4064
+ authType: "AK",
4065
+ style: "RPC",
4066
+ reqBodyType: "formData",
4067
+ bodyType: "json",
4068
+ });
4069
+ return $tea.cast(await this.callApi(params, req, runtime), new GetNodeResponse({}));
4070
+ }
4071
+ /**
4072
+ * @param request - GetNodeRequest
4073
+ * @returns GetNodeResponse
4074
+ */
4075
+ async getNode(request) {
4076
+ let runtime = new $Util.RuntimeOptions({});
4077
+ return await this.getNodeWithOptions(request, runtime);
4078
+ }
4079
+ /**
4080
+ * 获取资源文件
4081
+ *
4082
+ * @param request - GetResourceRequest
4083
+ * @param runtime - runtime options for this request RuntimeOptions
4084
+ * @returns GetResourceResponse
4085
+ */
4086
+ async getResourceWithOptions(request, runtime) {
4087
+ tea_util_1.default.validateModel(request);
4088
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4089
+ let req = new $OpenApi.OpenApiRequest({
4090
+ query: openapi_util_1.default.query(query),
4091
+ });
4092
+ let params = new $OpenApi.Params({
4093
+ action: "GetResource",
4094
+ version: "2024-05-18",
4095
+ protocol: "HTTPS",
4096
+ pathname: "/",
4097
+ method: "GET",
4098
+ authType: "AK",
4099
+ style: "RPC",
4100
+ reqBodyType: "formData",
4101
+ bodyType: "json",
4102
+ });
4103
+ return $tea.cast(await this.callApi(params, req, runtime), new GetResourceResponse({}));
4104
+ }
4105
+ /**
4106
+ * 获取资源文件
4107
+ *
4108
+ * @param request - GetResourceRequest
4109
+ * @returns GetResourceResponse
4110
+ */
4111
+ async getResource(request) {
4112
+ let runtime = new $Util.RuntimeOptions({});
4113
+ return await this.getResourceWithOptions(request, runtime);
4114
+ }
4115
+ /**
4116
+ * 获取工作流详情
4117
+ *
4118
+ * @param request - GetWorkflowDefinitionRequest
4119
+ * @param runtime - runtime options for this request RuntimeOptions
4120
+ * @returns GetWorkflowDefinitionResponse
4121
+ */
4122
+ async getWorkflowDefinitionWithOptions(request, runtime) {
4123
+ tea_util_1.default.validateModel(request);
4124
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4125
+ let req = new $OpenApi.OpenApiRequest({
4126
+ query: openapi_util_1.default.query(query),
4127
+ });
4128
+ let params = new $OpenApi.Params({
4129
+ action: "GetWorkflowDefinition",
4130
+ version: "2024-05-18",
4131
+ protocol: "HTTPS",
4132
+ pathname: "/",
4133
+ method: "GET",
4134
+ authType: "AK",
4135
+ style: "RPC",
4136
+ reqBodyType: "formData",
4137
+ bodyType: "json",
4138
+ });
4139
+ return $tea.cast(await this.callApi(params, req, runtime), new GetWorkflowDefinitionResponse({}));
4140
+ }
4141
+ /**
4142
+ * 获取工作流详情
4143
+ *
4144
+ * @param request - GetWorkflowDefinitionRequest
4145
+ * @returns GetWorkflowDefinitionResponse
4146
+ */
4147
+ async getWorkflowDefinition(request) {
4148
+ let runtime = new $Util.RuntimeOptions({});
4149
+ return await this.getWorkflowDefinitionWithOptions(request, runtime);
4150
+ }
4151
+ /**
4152
+ * 分页获取发布流程
4153
+ *
4154
+ * @param request - ListDeploymentsRequest
4155
+ * @param runtime - runtime options for this request RuntimeOptions
4156
+ * @returns ListDeploymentsResponse
4157
+ */
4158
+ async listDeploymentsWithOptions(request, runtime) {
4159
+ tea_util_1.default.validateModel(request);
4160
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4161
+ let req = new $OpenApi.OpenApiRequest({
4162
+ query: openapi_util_1.default.query(query),
4163
+ });
4164
+ let params = new $OpenApi.Params({
4165
+ action: "ListDeployments",
4166
+ version: "2024-05-18",
4167
+ protocol: "HTTPS",
4168
+ pathname: "/",
4169
+ method: "GET",
4170
+ authType: "AK",
4171
+ style: "RPC",
4172
+ reqBodyType: "formData",
4173
+ bodyType: "json",
4174
+ });
4175
+ return $tea.cast(await this.callApi(params, req, runtime), new ListDeploymentsResponse({}));
4176
+ }
4177
+ /**
4178
+ * 分页获取发布流程
4179
+ *
4180
+ * @param request - ListDeploymentsRequest
4181
+ * @returns ListDeploymentsResponse
4182
+ */
4183
+ async listDeployments(request) {
4184
+ let runtime = new $Util.RuntimeOptions({});
4185
+ return await this.listDeploymentsWithOptions(request, runtime);
4186
+ }
4187
+ /**
4188
+ * 获取udf函数列表
4189
+ *
4190
+ * @param request - ListFunctionsRequest
4191
+ * @param runtime - runtime options for this request RuntimeOptions
4192
+ * @returns ListFunctionsResponse
4193
+ */
4194
+ async listFunctionsWithOptions(request, runtime) {
4195
+ tea_util_1.default.validateModel(request);
4196
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4197
+ let req = new $OpenApi.OpenApiRequest({
4198
+ query: openapi_util_1.default.query(query),
4199
+ });
4200
+ let params = new $OpenApi.Params({
4201
+ action: "ListFunctions",
4202
+ version: "2024-05-18",
4203
+ protocol: "HTTPS",
4204
+ pathname: "/",
4205
+ method: "GET",
4206
+ authType: "AK",
4207
+ style: "RPC",
4208
+ reqBodyType: "formData",
4209
+ bodyType: "json",
4210
+ });
4211
+ return $tea.cast(await this.callApi(params, req, runtime), new ListFunctionsResponse({}));
4212
+ }
4213
+ /**
4214
+ * 获取udf函数列表
4215
+ *
4216
+ * @param request - ListFunctionsRequest
4217
+ * @returns ListFunctionsResponse
4218
+ */
4219
+ async listFunctions(request) {
4220
+ let runtime = new $Util.RuntimeOptions({});
4221
+ return await this.listFunctionsWithOptions(request, runtime);
4222
+ }
4223
+ /**
4224
+ * 获取节点依赖列表
4225
+ *
4226
+ * @param request - ListNodeDependenciesRequest
4227
+ * @param runtime - runtime options for this request RuntimeOptions
4228
+ * @returns ListNodeDependenciesResponse
4229
+ */
4230
+ async listNodeDependenciesWithOptions(request, runtime) {
4231
+ tea_util_1.default.validateModel(request);
4232
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4233
+ let req = new $OpenApi.OpenApiRequest({
4234
+ query: openapi_util_1.default.query(query),
4235
+ });
4236
+ let params = new $OpenApi.Params({
4237
+ action: "ListNodeDependencies",
4238
+ version: "2024-05-18",
4239
+ protocol: "HTTPS",
4240
+ pathname: "/",
4241
+ method: "GET",
4242
+ authType: "AK",
4243
+ style: "RPC",
4244
+ reqBodyType: "formData",
4245
+ bodyType: "json",
4246
+ });
4247
+ return $tea.cast(await this.callApi(params, req, runtime), new ListNodeDependenciesResponse({}));
4248
+ }
4249
+ /**
4250
+ * 获取节点依赖列表
4251
+ *
4252
+ * @param request - ListNodeDependenciesRequest
4253
+ * @returns ListNodeDependenciesResponse
4254
+ */
4255
+ async listNodeDependencies(request) {
4256
+ let runtime = new $Util.RuntimeOptions({});
4257
+ return await this.listNodeDependenciesWithOptions(request, runtime);
4258
+ }
4259
+ /**
4260
+ * 获取节点列表
4261
+ *
4262
+ * @param request - ListNodesRequest
4263
+ * @param runtime - runtime options for this request RuntimeOptions
4264
+ * @returns ListNodesResponse
4265
+ */
4266
+ async listNodesWithOptions(request, runtime) {
4267
+ tea_util_1.default.validateModel(request);
4268
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4269
+ let req = new $OpenApi.OpenApiRequest({
4270
+ query: openapi_util_1.default.query(query),
4271
+ });
4272
+ let params = new $OpenApi.Params({
4273
+ action: "ListNodes",
4274
+ version: "2024-05-18",
4275
+ protocol: "HTTPS",
4276
+ pathname: "/",
4277
+ method: "GET",
4278
+ authType: "AK",
4279
+ style: "RPC",
4280
+ reqBodyType: "formData",
4281
+ bodyType: "json",
4282
+ });
4283
+ return $tea.cast(await this.callApi(params, req, runtime), new ListNodesResponse({}));
4284
+ }
4285
+ /**
4286
+ * 获取节点列表
4287
+ *
4288
+ * @param request - ListNodesRequest
4289
+ * @returns ListNodesResponse
4290
+ */
4291
+ async listNodes(request) {
4292
+ let runtime = new $Util.RuntimeOptions({});
4293
+ return await this.listNodesWithOptions(request, runtime);
4294
+ }
4295
+ /**
4296
+ * 分页获取资源文件
4297
+ *
4298
+ * @param request - ListResourcesRequest
4299
+ * @param runtime - runtime options for this request RuntimeOptions
4300
+ * @returns ListResourcesResponse
4301
+ */
4302
+ async listResourcesWithOptions(request, runtime) {
4303
+ tea_util_1.default.validateModel(request);
4304
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4305
+ let req = new $OpenApi.OpenApiRequest({
4306
+ query: openapi_util_1.default.query(query),
4307
+ });
4308
+ let params = new $OpenApi.Params({
4309
+ action: "ListResources",
4310
+ version: "2024-05-18",
4311
+ protocol: "HTTPS",
4312
+ pathname: "/",
4313
+ method: "GET",
4314
+ authType: "AK",
4315
+ style: "RPC",
4316
+ reqBodyType: "formData",
4317
+ bodyType: "json",
4318
+ });
4319
+ return $tea.cast(await this.callApi(params, req, runtime), new ListResourcesResponse({}));
4320
+ }
4321
+ /**
4322
+ * 分页获取资源文件
4323
+ *
4324
+ * @param request - ListResourcesRequest
4325
+ * @returns ListResourcesResponse
4326
+ */
4327
+ async listResources(request) {
4328
+ let runtime = new $Util.RuntimeOptions({});
4329
+ return await this.listResourcesWithOptions(request, runtime);
4330
+ }
4331
+ /**
4332
+ * 获取workflowDefinition的列表
4333
+ *
4334
+ * @param request - ListWorkflowDefinitionsRequest
4335
+ * @param runtime - runtime options for this request RuntimeOptions
4336
+ * @returns ListWorkflowDefinitionsResponse
4337
+ */
4338
+ async listWorkflowDefinitionsWithOptions(request, runtime) {
4339
+ tea_util_1.default.validateModel(request);
4340
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
4341
+ let req = new $OpenApi.OpenApiRequest({
4342
+ query: openapi_util_1.default.query(query),
4343
+ });
4344
+ let params = new $OpenApi.Params({
4345
+ action: "ListWorkflowDefinitions",
4346
+ version: "2024-05-18",
4347
+ protocol: "HTTPS",
4348
+ pathname: "/",
4349
+ method: "GET",
4350
+ authType: "AK",
4351
+ style: "RPC",
4352
+ reqBodyType: "formData",
4353
+ bodyType: "json",
4354
+ });
4355
+ return $tea.cast(await this.callApi(params, req, runtime), new ListWorkflowDefinitionsResponse({}));
4356
+ }
4357
+ /**
4358
+ * 获取workflowDefinition的列表
4359
+ *
4360
+ * @param request - ListWorkflowDefinitionsRequest
4361
+ * @returns ListWorkflowDefinitionsResponse
4362
+ */
4363
+ async listWorkflowDefinitions(request) {
4364
+ let runtime = new $Util.RuntimeOptions({});
4365
+ return await this.listWorkflowDefinitionsWithOptions(request, runtime);
4366
+ }
4367
+ /**
4368
+ * 移动funciton的路径
4369
+ *
4370
+ * @param request - MoveFunctionRequest
4371
+ * @param runtime - runtime options for this request RuntimeOptions
4372
+ * @returns MoveFunctionResponse
4373
+ */
4374
+ async moveFunctionWithOptions(request, runtime) {
4375
+ tea_util_1.default.validateModel(request);
4376
+ let body = {};
4377
+ if (!tea_util_1.default.isUnset(request.id)) {
4378
+ body["Id"] = request.id;
4379
+ }
4380
+ if (!tea_util_1.default.isUnset(request.path)) {
4381
+ body["Path"] = request.path;
4382
+ }
4383
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4384
+ body["ProjectId"] = request.projectId;
4385
+ }
4386
+ let req = new $OpenApi.OpenApiRequest({
4387
+ body: openapi_util_1.default.parseToMap(body),
4388
+ });
4389
+ let params = new $OpenApi.Params({
4390
+ action: "MoveFunction",
4391
+ version: "2024-05-18",
4392
+ protocol: "HTTPS",
4393
+ pathname: "/",
4394
+ method: "POST",
4395
+ authType: "AK",
4396
+ style: "RPC",
4397
+ reqBodyType: "formData",
4398
+ bodyType: "json",
4399
+ });
4400
+ return $tea.cast(await this.callApi(params, req, runtime), new MoveFunctionResponse({}));
4401
+ }
4402
+ /**
4403
+ * 移动funciton的路径
4404
+ *
4405
+ * @param request - MoveFunctionRequest
4406
+ * @returns MoveFunctionResponse
4407
+ */
4408
+ async moveFunction(request) {
4409
+ let runtime = new $Util.RuntimeOptions({});
4410
+ return await this.moveFunctionWithOptions(request, runtime);
4411
+ }
4412
+ /**
4413
+ * 移动节点路径
4414
+ *
4415
+ * @param request - MoveNodeRequest
4416
+ * @param runtime - runtime options for this request RuntimeOptions
4417
+ * @returns MoveNodeResponse
4418
+ */
4419
+ async moveNodeWithOptions(request, runtime) {
4420
+ tea_util_1.default.validateModel(request);
4421
+ let body = {};
4422
+ if (!tea_util_1.default.isUnset(request.id)) {
4423
+ body["Id"] = request.id;
4424
+ }
4425
+ if (!tea_util_1.default.isUnset(request.path)) {
4426
+ body["Path"] = request.path;
4427
+ }
4428
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4429
+ body["ProjectId"] = request.projectId;
4430
+ }
4431
+ let req = new $OpenApi.OpenApiRequest({
4432
+ body: openapi_util_1.default.parseToMap(body),
4433
+ });
4434
+ let params = new $OpenApi.Params({
4435
+ action: "MoveNode",
4436
+ version: "2024-05-18",
4437
+ protocol: "HTTPS",
4438
+ pathname: "/",
4439
+ method: "POST",
4440
+ authType: "AK",
4441
+ style: "RPC",
4442
+ reqBodyType: "formData",
4443
+ bodyType: "json",
4444
+ });
4445
+ return $tea.cast(await this.callApi(params, req, runtime), new MoveNodeResponse({}));
4446
+ }
4447
+ /**
4448
+ * 移动节点路径
4449
+ *
4450
+ * @param request - MoveNodeRequest
4451
+ * @returns MoveNodeResponse
4452
+ */
4453
+ async moveNode(request) {
4454
+ let runtime = new $Util.RuntimeOptions({});
4455
+ return await this.moveNodeWithOptions(request, runtime);
4456
+ }
4457
+ /**
4458
+ * 移动资源文件路径
4459
+ *
4460
+ * @param request - MoveResourceRequest
4461
+ * @param runtime - runtime options for this request RuntimeOptions
4462
+ * @returns MoveResourceResponse
4463
+ */
4464
+ async moveResourceWithOptions(request, runtime) {
4465
+ tea_util_1.default.validateModel(request);
4466
+ let body = {};
4467
+ if (!tea_util_1.default.isUnset(request.id)) {
4468
+ body["Id"] = request.id;
4469
+ }
4470
+ if (!tea_util_1.default.isUnset(request.path)) {
4471
+ body["Path"] = request.path;
4472
+ }
4473
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4474
+ body["ProjectId"] = request.projectId;
4475
+ }
4476
+ let req = new $OpenApi.OpenApiRequest({
4477
+ body: openapi_util_1.default.parseToMap(body),
4478
+ });
4479
+ let params = new $OpenApi.Params({
4480
+ action: "MoveResource",
4481
+ version: "2024-05-18",
4482
+ protocol: "HTTPS",
4483
+ pathname: "/",
4484
+ method: "POST",
4485
+ authType: "AK",
4486
+ style: "RPC",
4487
+ reqBodyType: "formData",
4488
+ bodyType: "json",
4489
+ });
4490
+ return $tea.cast(await this.callApi(params, req, runtime), new MoveResourceResponse({}));
4491
+ }
4492
+ /**
4493
+ * 移动资源文件路径
4494
+ *
4495
+ * @param request - MoveResourceRequest
4496
+ * @returns MoveResourceResponse
4497
+ */
4498
+ async moveResource(request) {
4499
+ let runtime = new $Util.RuntimeOptions({});
4500
+ return await this.moveResourceWithOptions(request, runtime);
4501
+ }
4502
+ /**
4503
+ * 移动工作流的路径
4504
+ *
4505
+ * @param request - MoveWorkflowDefinitionRequest
4506
+ * @param runtime - runtime options for this request RuntimeOptions
4507
+ * @returns MoveWorkflowDefinitionResponse
4508
+ */
4509
+ async moveWorkflowDefinitionWithOptions(request, runtime) {
4510
+ tea_util_1.default.validateModel(request);
4511
+ let body = {};
4512
+ if (!tea_util_1.default.isUnset(request.id)) {
4513
+ body["Id"] = request.id;
4514
+ }
4515
+ if (!tea_util_1.default.isUnset(request.path)) {
4516
+ body["Path"] = request.path;
4517
+ }
4518
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4519
+ body["ProjectId"] = request.projectId;
4520
+ }
4521
+ let req = new $OpenApi.OpenApiRequest({
4522
+ body: openapi_util_1.default.parseToMap(body),
4523
+ });
4524
+ let params = new $OpenApi.Params({
4525
+ action: "MoveWorkflowDefinition",
4526
+ version: "2024-05-18",
4527
+ protocol: "HTTPS",
4528
+ pathname: "/",
4529
+ method: "POST",
4530
+ authType: "AK",
4531
+ style: "RPC",
4532
+ reqBodyType: "formData",
4533
+ bodyType: "json",
4534
+ });
4535
+ return $tea.cast(await this.callApi(params, req, runtime), new MoveWorkflowDefinitionResponse({}));
4536
+ }
4537
+ /**
4538
+ * 移动工作流的路径
4539
+ *
4540
+ * @param request - MoveWorkflowDefinitionRequest
4541
+ * @returns MoveWorkflowDefinitionResponse
4542
+ */
4543
+ async moveWorkflowDefinition(request) {
4544
+ let runtime = new $Util.RuntimeOptions({});
4545
+ return await this.moveWorkflowDefinitionWithOptions(request, runtime);
4546
+ }
4547
+ /**
4548
+ * 对function重命名
4549
+ *
4550
+ * @param request - RenameFunctionRequest
4551
+ * @param runtime - runtime options for this request RuntimeOptions
4552
+ * @returns RenameFunctionResponse
4553
+ */
4554
+ async renameFunctionWithOptions(request, runtime) {
4555
+ tea_util_1.default.validateModel(request);
4556
+ let body = {};
4557
+ if (!tea_util_1.default.isUnset(request.id)) {
4558
+ body["Id"] = request.id;
4559
+ }
4560
+ if (!tea_util_1.default.isUnset(request.name)) {
4561
+ body["Name"] = request.name;
4562
+ }
4563
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4564
+ body["ProjectId"] = request.projectId;
4565
+ }
4566
+ let req = new $OpenApi.OpenApiRequest({
4567
+ body: openapi_util_1.default.parseToMap(body),
4568
+ });
4569
+ let params = new $OpenApi.Params({
4570
+ action: "RenameFunction",
4571
+ version: "2024-05-18",
4572
+ protocol: "HTTPS",
4573
+ pathname: "/",
4574
+ method: "POST",
4575
+ authType: "AK",
4576
+ style: "RPC",
4577
+ reqBodyType: "formData",
4578
+ bodyType: "json",
4579
+ });
4580
+ return $tea.cast(await this.callApi(params, req, runtime), new RenameFunctionResponse({}));
4581
+ }
4582
+ /**
4583
+ * 对function重命名
4584
+ *
4585
+ * @param request - RenameFunctionRequest
4586
+ * @returns RenameFunctionResponse
4587
+ */
4588
+ async renameFunction(request) {
4589
+ let runtime = new $Util.RuntimeOptions({});
4590
+ return await this.renameFunctionWithOptions(request, runtime);
4591
+ }
4592
+ /**
4593
+ * 重命名节点
4594
+ *
4595
+ * @param request - RenameNodeRequest
4596
+ * @param runtime - runtime options for this request RuntimeOptions
4597
+ * @returns RenameNodeResponse
4598
+ */
4599
+ async renameNodeWithOptions(request, runtime) {
4600
+ tea_util_1.default.validateModel(request);
4601
+ let body = {};
4602
+ if (!tea_util_1.default.isUnset(request.id)) {
4603
+ body["Id"] = request.id;
4604
+ }
4605
+ if (!tea_util_1.default.isUnset(request.name)) {
4606
+ body["Name"] = request.name;
4607
+ }
4608
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4609
+ body["ProjectId"] = request.projectId;
4610
+ }
4611
+ let req = new $OpenApi.OpenApiRequest({
4612
+ body: openapi_util_1.default.parseToMap(body),
4613
+ });
4614
+ let params = new $OpenApi.Params({
4615
+ action: "RenameNode",
4616
+ version: "2024-05-18",
4617
+ protocol: "HTTPS",
4618
+ pathname: "/",
4619
+ method: "POST",
4620
+ authType: "AK",
4621
+ style: "RPC",
4622
+ reqBodyType: "formData",
4623
+ bodyType: "json",
4624
+ });
4625
+ return $tea.cast(await this.callApi(params, req, runtime), new RenameNodeResponse({}));
4626
+ }
4627
+ /**
4628
+ * 重命名节点
4629
+ *
4630
+ * @param request - RenameNodeRequest
4631
+ * @returns RenameNodeResponse
4632
+ */
4633
+ async renameNode(request) {
4634
+ let runtime = new $Util.RuntimeOptions({});
4635
+ return await this.renameNodeWithOptions(request, runtime);
4636
+ }
4637
+ /**
4638
+ * 对资源文件重命名
4639
+ *
4640
+ * @param request - RenameResourceRequest
4641
+ * @param runtime - runtime options for this request RuntimeOptions
4642
+ * @returns RenameResourceResponse
4643
+ */
4644
+ async renameResourceWithOptions(request, runtime) {
4645
+ tea_util_1.default.validateModel(request);
4646
+ let body = {};
4647
+ if (!tea_util_1.default.isUnset(request.id)) {
4648
+ body["Id"] = request.id;
4649
+ }
4650
+ if (!tea_util_1.default.isUnset(request.name)) {
4651
+ body["Name"] = request.name;
4652
+ }
4653
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4654
+ body["ProjectId"] = request.projectId;
4655
+ }
4656
+ let req = new $OpenApi.OpenApiRequest({
4657
+ body: openapi_util_1.default.parseToMap(body),
4658
+ });
4659
+ let params = new $OpenApi.Params({
4660
+ action: "RenameResource",
4661
+ version: "2024-05-18",
4662
+ protocol: "HTTPS",
4663
+ pathname: "/",
4664
+ method: "POST",
4665
+ authType: "AK",
4666
+ style: "RPC",
4667
+ reqBodyType: "formData",
4668
+ bodyType: "json",
4669
+ });
4670
+ return $tea.cast(await this.callApi(params, req, runtime), new RenameResourceResponse({}));
4671
+ }
4672
+ /**
4673
+ * 对资源文件重命名
4674
+ *
4675
+ * @param request - RenameResourceRequest
4676
+ * @returns RenameResourceResponse
4677
+ */
4678
+ async renameResource(request) {
4679
+ let runtime = new $Util.RuntimeOptions({});
4680
+ return await this.renameResourceWithOptions(request, runtime);
4681
+ }
4682
+ /**
4683
+ * 重命名工作流
4684
+ *
4685
+ * @param request - RenameWorkflowDefinitionRequest
4686
+ * @param runtime - runtime options for this request RuntimeOptions
4687
+ * @returns RenameWorkflowDefinitionResponse
4688
+ */
4689
+ async renameWorkflowDefinitionWithOptions(request, runtime) {
4690
+ tea_util_1.default.validateModel(request);
4691
+ let query = {};
4692
+ if (!tea_util_1.default.isUnset(request.id)) {
4693
+ query["Id"] = request.id;
4694
+ }
4695
+ if (!tea_util_1.default.isUnset(request.name)) {
4696
+ query["Name"] = request.name;
4697
+ }
4698
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4699
+ query["ProjectId"] = request.projectId;
4700
+ }
4701
+ let req = new $OpenApi.OpenApiRequest({
4702
+ query: openapi_util_1.default.query(query),
4703
+ });
4704
+ let params = new $OpenApi.Params({
4705
+ action: "RenameWorkflowDefinition",
4706
+ version: "2024-05-18",
4707
+ protocol: "HTTPS",
4708
+ pathname: "/",
4709
+ method: "POST",
4710
+ authType: "AK",
4711
+ style: "RPC",
4712
+ reqBodyType: "formData",
4713
+ bodyType: "json",
4714
+ });
4715
+ return $tea.cast(await this.callApi(params, req, runtime), new RenameWorkflowDefinitionResponse({}));
4716
+ }
4717
+ /**
4718
+ * 重命名工作流
4719
+ *
4720
+ * @param request - RenameWorkflowDefinitionRequest
4721
+ * @returns RenameWorkflowDefinitionResponse
4722
+ */
4723
+ async renameWorkflowDefinition(request) {
4724
+ let runtime = new $Util.RuntimeOptions({});
4725
+ return await this.renameWorkflowDefinitionWithOptions(request, runtime);
4726
+ }
4727
+ /**
4728
+ * 更新udf函数
4729
+ *
4730
+ * @param request - UpdateFunctionRequest
4731
+ * @param runtime - runtime options for this request RuntimeOptions
4732
+ * @returns UpdateFunctionResponse
4733
+ */
4734
+ async updateFunctionWithOptions(request, runtime) {
4735
+ tea_util_1.default.validateModel(request);
4736
+ let body = {};
4737
+ if (!tea_util_1.default.isUnset(request.id)) {
4738
+ body["Id"] = request.id;
4739
+ }
4740
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4741
+ body["ProjectId"] = request.projectId;
4742
+ }
4743
+ if (!tea_util_1.default.isUnset(request.spec)) {
4744
+ body["Spec"] = request.spec;
4745
+ }
4746
+ let req = new $OpenApi.OpenApiRequest({
4747
+ body: openapi_util_1.default.parseToMap(body),
4748
+ });
4749
+ let params = new $OpenApi.Params({
4750
+ action: "UpdateFunction",
4751
+ version: "2024-05-18",
4752
+ protocol: "HTTPS",
4753
+ pathname: "/",
4754
+ method: "POST",
4755
+ authType: "AK",
4756
+ style: "RPC",
4757
+ reqBodyType: "formData",
4758
+ bodyType: "json",
4759
+ });
4760
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateFunctionResponse({}));
4761
+ }
4762
+ /**
4763
+ * 更新udf函数
4764
+ *
4765
+ * @param request - UpdateFunctionRequest
4766
+ * @returns UpdateFunctionResponse
4767
+ */
4768
+ async updateFunction(request) {
4769
+ let runtime = new $Util.RuntimeOptions({});
4770
+ return await this.updateFunctionWithOptions(request, runtime);
4771
+ }
4772
+ /**
4773
+ * 更新节点
4774
+ *
4775
+ * @param request - UpdateNodeRequest
4776
+ * @param runtime - runtime options for this request RuntimeOptions
4777
+ * @returns UpdateNodeResponse
4778
+ */
4779
+ async updateNodeWithOptions(request, runtime) {
4780
+ tea_util_1.default.validateModel(request);
4781
+ let body = {};
4782
+ if (!tea_util_1.default.isUnset(request.id)) {
4783
+ body["Id"] = request.id;
4784
+ }
4785
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4786
+ body["ProjectId"] = request.projectId;
4787
+ }
4788
+ if (!tea_util_1.default.isUnset(request.spec)) {
4789
+ body["Spec"] = request.spec;
4790
+ }
4791
+ let req = new $OpenApi.OpenApiRequest({
4792
+ body: openapi_util_1.default.parseToMap(body),
4793
+ });
4794
+ let params = new $OpenApi.Params({
4795
+ action: "UpdateNode",
4796
+ version: "2024-05-18",
4797
+ protocol: "HTTPS",
4798
+ pathname: "/",
4799
+ method: "POST",
4800
+ authType: "AK",
4801
+ style: "RPC",
4802
+ reqBodyType: "formData",
4803
+ bodyType: "json",
4804
+ });
4805
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateNodeResponse({}));
4806
+ }
4807
+ /**
4808
+ * 更新节点
4809
+ *
4810
+ * @param request - UpdateNodeRequest
4811
+ * @returns UpdateNodeResponse
4812
+ */
4813
+ async updateNode(request) {
4814
+ let runtime = new $Util.RuntimeOptions({});
4815
+ return await this.updateNodeWithOptions(request, runtime);
4816
+ }
4817
+ /**
4818
+ * 更新资源文件
4819
+ *
4820
+ * @param request - UpdateResourceRequest
4821
+ * @param runtime - runtime options for this request RuntimeOptions
4822
+ * @returns UpdateResourceResponse
4823
+ */
4824
+ async updateResourceWithOptions(request, runtime) {
4825
+ tea_util_1.default.validateModel(request);
4826
+ let body = {};
4827
+ if (!tea_util_1.default.isUnset(request.id)) {
4828
+ body["Id"] = request.id;
4829
+ }
4830
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4831
+ body["ProjectId"] = request.projectId;
4832
+ }
4833
+ if (!tea_util_1.default.isUnset(request.spec)) {
4834
+ body["Spec"] = request.spec;
4835
+ }
4836
+ let req = new $OpenApi.OpenApiRequest({
4837
+ body: openapi_util_1.default.parseToMap(body),
4838
+ });
4839
+ let params = new $OpenApi.Params({
4840
+ action: "UpdateResource",
4841
+ version: "2024-05-18",
4842
+ protocol: "HTTPS",
4843
+ pathname: "/",
4844
+ method: "POST",
4845
+ authType: "AK",
4846
+ style: "RPC",
4847
+ reqBodyType: "formData",
4848
+ bodyType: "json",
4849
+ });
4850
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourceResponse({}));
4851
+ }
4852
+ /**
4853
+ * 更新资源文件
4854
+ *
4855
+ * @param request - UpdateResourceRequest
4856
+ * @returns UpdateResourceResponse
4857
+ */
4858
+ async updateResource(request) {
4859
+ let runtime = new $Util.RuntimeOptions({});
4860
+ return await this.updateResourceWithOptions(request, runtime);
4861
+ }
4862
+ /**
4863
+ * 更新工作流
4864
+ *
4865
+ * @param request - UpdateWorkflowDefinitionRequest
4866
+ * @param runtime - runtime options for this request RuntimeOptions
4867
+ * @returns UpdateWorkflowDefinitionResponse
4868
+ */
4869
+ async updateWorkflowDefinitionWithOptions(request, runtime) {
4870
+ tea_util_1.default.validateModel(request);
4871
+ let body = {};
4872
+ if (!tea_util_1.default.isUnset(request.id)) {
4873
+ body["Id"] = request.id;
4874
+ }
4875
+ if (!tea_util_1.default.isUnset(request.projectId)) {
4876
+ body["ProjectId"] = request.projectId;
4877
+ }
4878
+ if (!tea_util_1.default.isUnset(request.spec)) {
4879
+ body["Spec"] = request.spec;
4880
+ }
4881
+ let req = new $OpenApi.OpenApiRequest({
4882
+ body: openapi_util_1.default.parseToMap(body),
4883
+ });
4884
+ let params = new $OpenApi.Params({
4885
+ action: "UpdateWorkflowDefinition",
4886
+ version: "2024-05-18",
4887
+ protocol: "HTTPS",
4888
+ pathname: "/",
4889
+ method: "POST",
4890
+ authType: "AK",
4891
+ style: "RPC",
4892
+ reqBodyType: "formData",
4893
+ bodyType: "json",
4894
+ });
4895
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateWorkflowDefinitionResponse({}));
4896
+ }
4897
+ /**
4898
+ * 更新工作流
4899
+ *
4900
+ * @param request - UpdateWorkflowDefinitionRequest
4901
+ * @returns UpdateWorkflowDefinitionResponse
4902
+ */
4903
+ async updateWorkflowDefinition(request) {
4904
+ let runtime = new $Util.RuntimeOptions({});
4905
+ return await this.updateWorkflowDefinitionWithOptions(request, runtime);
4906
+ }
4907
+ }
4908
+ exports.default = Client;
4909
+ //# sourceMappingURL=client.js.map