@alicloud/dataworks-public20200518 4.3.8 → 4.3.9

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 CHANGED
@@ -4762,6 +4762,60 @@ class GetDataServiceApiResponse extends $tea.Model {
4762
4762
  }
4763
4763
  }
4764
4764
  exports.GetDataServiceApiResponse = GetDataServiceApiResponse;
4765
+ class GetDataServiceApiTestRequest extends $tea.Model {
4766
+ constructor(map) {
4767
+ super(map);
4768
+ }
4769
+ static names() {
4770
+ return {
4771
+ testId: 'TestId',
4772
+ };
4773
+ }
4774
+ static types() {
4775
+ return {
4776
+ testId: 'number',
4777
+ };
4778
+ }
4779
+ }
4780
+ exports.GetDataServiceApiTestRequest = GetDataServiceApiTestRequest;
4781
+ class GetDataServiceApiTestResponseBody extends $tea.Model {
4782
+ constructor(map) {
4783
+ super(map);
4784
+ }
4785
+ static names() {
4786
+ return {
4787
+ data: 'Data',
4788
+ requestId: 'RequestId',
4789
+ };
4790
+ }
4791
+ static types() {
4792
+ return {
4793
+ data: GetDataServiceApiTestResponseBodyData,
4794
+ requestId: 'string',
4795
+ };
4796
+ }
4797
+ }
4798
+ exports.GetDataServiceApiTestResponseBody = GetDataServiceApiTestResponseBody;
4799
+ class GetDataServiceApiTestResponse extends $tea.Model {
4800
+ constructor(map) {
4801
+ super(map);
4802
+ }
4803
+ static names() {
4804
+ return {
4805
+ headers: 'headers',
4806
+ statusCode: 'statusCode',
4807
+ body: 'body',
4808
+ };
4809
+ }
4810
+ static types() {
4811
+ return {
4812
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4813
+ statusCode: 'number',
4814
+ body: GetDataServiceApiTestResponseBody,
4815
+ };
4816
+ }
4817
+ }
4818
+ exports.GetDataServiceApiTestResponse = GetDataServiceApiTestResponse;
4765
4819
  class GetDataServiceApplicationRequest extends $tea.Model {
4766
4820
  constructor(map) {
4767
4821
  super(map);
@@ -5140,6 +5194,68 @@ class GetDeploymentResponse extends $tea.Model {
5140
5194
  }
5141
5195
  }
5142
5196
  exports.GetDeploymentResponse = GetDeploymentResponse;
5197
+ class GetDutyRosterRequest extends $tea.Model {
5198
+ constructor(map) {
5199
+ super(map);
5200
+ }
5201
+ static names() {
5202
+ return {
5203
+ beginTime: 'BeginTime',
5204
+ dutyRosterIdentifier: 'DutyRosterIdentifier',
5205
+ endTime: 'EndTime',
5206
+ userType: 'UserType',
5207
+ watchkeeper: 'Watchkeeper',
5208
+ };
5209
+ }
5210
+ static types() {
5211
+ return {
5212
+ beginTime: 'number',
5213
+ dutyRosterIdentifier: 'string',
5214
+ endTime: 'number',
5215
+ userType: 'string',
5216
+ watchkeeper: 'string',
5217
+ };
5218
+ }
5219
+ }
5220
+ exports.GetDutyRosterRequest = GetDutyRosterRequest;
5221
+ class GetDutyRosterResponseBody extends $tea.Model {
5222
+ constructor(map) {
5223
+ super(map);
5224
+ }
5225
+ static names() {
5226
+ return {
5227
+ paging: 'Paging',
5228
+ requestId: 'RequestId',
5229
+ };
5230
+ }
5231
+ static types() {
5232
+ return {
5233
+ paging: GetDutyRosterResponseBodyPaging,
5234
+ requestId: 'string',
5235
+ };
5236
+ }
5237
+ }
5238
+ exports.GetDutyRosterResponseBody = GetDutyRosterResponseBody;
5239
+ class GetDutyRosterResponse extends $tea.Model {
5240
+ constructor(map) {
5241
+ super(map);
5242
+ }
5243
+ static names() {
5244
+ return {
5245
+ headers: 'headers',
5246
+ statusCode: 'statusCode',
5247
+ body: 'body',
5248
+ };
5249
+ }
5250
+ static types() {
5251
+ return {
5252
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5253
+ statusCode: 'number',
5254
+ body: GetDutyRosterResponseBody,
5255
+ };
5256
+ }
5257
+ }
5258
+ exports.GetDutyRosterResponse = GetDutyRosterResponse;
5143
5259
  class GetExtensionRequest extends $tea.Model {
5144
5260
  constructor(map) {
5145
5261
  super(map);
@@ -9134,6 +9250,62 @@ class ListDataServiceApiAuthoritiesResponse extends $tea.Model {
9134
9250
  }
9135
9251
  }
9136
9252
  exports.ListDataServiceApiAuthoritiesResponse = ListDataServiceApiAuthoritiesResponse;
9253
+ class ListDataServiceApiTestRequest extends $tea.Model {
9254
+ constructor(map) {
9255
+ super(map);
9256
+ }
9257
+ static names() {
9258
+ return {
9259
+ apiId: 'ApiId',
9260
+ pageSize: 'PageSize',
9261
+ };
9262
+ }
9263
+ static types() {
9264
+ return {
9265
+ apiId: 'number',
9266
+ pageSize: 'number',
9267
+ };
9268
+ }
9269
+ }
9270
+ exports.ListDataServiceApiTestRequest = ListDataServiceApiTestRequest;
9271
+ class ListDataServiceApiTestResponseBody extends $tea.Model {
9272
+ constructor(map) {
9273
+ super(map);
9274
+ }
9275
+ static names() {
9276
+ return {
9277
+ data: 'Data',
9278
+ requestId: 'RequestId',
9279
+ };
9280
+ }
9281
+ static types() {
9282
+ return {
9283
+ data: { 'type': 'array', 'itemType': ListDataServiceApiTestResponseBodyData },
9284
+ requestId: 'string',
9285
+ };
9286
+ }
9287
+ }
9288
+ exports.ListDataServiceApiTestResponseBody = ListDataServiceApiTestResponseBody;
9289
+ class ListDataServiceApiTestResponse extends $tea.Model {
9290
+ constructor(map) {
9291
+ super(map);
9292
+ }
9293
+ static names() {
9294
+ return {
9295
+ headers: 'headers',
9296
+ statusCode: 'statusCode',
9297
+ body: 'body',
9298
+ };
9299
+ }
9300
+ static types() {
9301
+ return {
9302
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9303
+ statusCode: 'number',
9304
+ body: ListDataServiceApiTestResponseBody,
9305
+ };
9306
+ }
9307
+ }
9308
+ exports.ListDataServiceApiTestResponse = ListDataServiceApiTestResponse;
9137
9309
  class ListDataServiceApisRequest extends $tea.Model {
9138
9310
  constructor(map) {
9139
9311
  super(map);
@@ -9690,6 +9862,66 @@ class ListDeploymentsResponse extends $tea.Model {
9690
9862
  }
9691
9863
  }
9692
9864
  exports.ListDeploymentsResponse = ListDeploymentsResponse;
9865
+ class ListDutyRostersRequest extends $tea.Model {
9866
+ constructor(map) {
9867
+ super(map);
9868
+ }
9869
+ static names() {
9870
+ return {
9871
+ dutyRosterName: 'DutyRosterName',
9872
+ dutyRosterOwner: 'DutyRosterOwner',
9873
+ pageNumber: 'PageNumber',
9874
+ pageSize: 'PageSize',
9875
+ };
9876
+ }
9877
+ static types() {
9878
+ return {
9879
+ dutyRosterName: 'string',
9880
+ dutyRosterOwner: 'string',
9881
+ pageNumber: 'number',
9882
+ pageSize: 'number',
9883
+ };
9884
+ }
9885
+ }
9886
+ exports.ListDutyRostersRequest = ListDutyRostersRequest;
9887
+ class ListDutyRostersResponseBody extends $tea.Model {
9888
+ constructor(map) {
9889
+ super(map);
9890
+ }
9891
+ static names() {
9892
+ return {
9893
+ paging: 'Paging',
9894
+ requestId: 'RequestId',
9895
+ };
9896
+ }
9897
+ static types() {
9898
+ return {
9899
+ paging: ListDutyRostersResponseBodyPaging,
9900
+ requestId: 'string',
9901
+ };
9902
+ }
9903
+ }
9904
+ exports.ListDutyRostersResponseBody = ListDutyRostersResponseBody;
9905
+ class ListDutyRostersResponse extends $tea.Model {
9906
+ constructor(map) {
9907
+ super(map);
9908
+ }
9909
+ static names() {
9910
+ return {
9911
+ headers: 'headers',
9912
+ statusCode: 'statusCode',
9913
+ body: 'body',
9914
+ };
9915
+ }
9916
+ static types() {
9917
+ return {
9918
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9919
+ statusCode: 'number',
9920
+ body: ListDutyRostersResponseBody,
9921
+ };
9922
+ }
9923
+ }
9924
+ exports.ListDutyRostersResponse = ListDutyRostersResponse;
9693
9925
  class ListExtensionsRequest extends $tea.Model {
9694
9926
  constructor(map) {
9695
9927
  super(map);
@@ -13404,6 +13636,70 @@ class TerminateDISyncInstanceResponse extends $tea.Model {
13404
13636
  }
13405
13637
  }
13406
13638
  exports.TerminateDISyncInstanceResponse = TerminateDISyncInstanceResponse;
13639
+ class TestDataServiceApiRequest extends $tea.Model {
13640
+ constructor(map) {
13641
+ super(map);
13642
+ }
13643
+ static names() {
13644
+ return {
13645
+ apiId: 'ApiId',
13646
+ bodyContent: 'BodyContent',
13647
+ bodyParams: 'BodyParams',
13648
+ headParams: 'HeadParams',
13649
+ pathParams: 'PathParams',
13650
+ queryParam: 'QueryParam',
13651
+ };
13652
+ }
13653
+ static types() {
13654
+ return {
13655
+ apiId: 'number',
13656
+ bodyContent: 'string',
13657
+ bodyParams: { 'type': 'array', 'itemType': TestDataServiceApiRequestBodyParams },
13658
+ headParams: { 'type': 'array', 'itemType': TestDataServiceApiRequestHeadParams },
13659
+ pathParams: { 'type': 'array', 'itemType': TestDataServiceApiRequestPathParams },
13660
+ queryParam: { 'type': 'array', 'itemType': TestDataServiceApiRequestQueryParam },
13661
+ };
13662
+ }
13663
+ }
13664
+ exports.TestDataServiceApiRequest = TestDataServiceApiRequest;
13665
+ class TestDataServiceApiResponseBody extends $tea.Model {
13666
+ constructor(map) {
13667
+ super(map);
13668
+ }
13669
+ static names() {
13670
+ return {
13671
+ data: 'Data',
13672
+ requestId: 'RequestId',
13673
+ };
13674
+ }
13675
+ static types() {
13676
+ return {
13677
+ data: TestDataServiceApiResponseBodyData,
13678
+ requestId: 'string',
13679
+ };
13680
+ }
13681
+ }
13682
+ exports.TestDataServiceApiResponseBody = TestDataServiceApiResponseBody;
13683
+ class TestDataServiceApiResponse extends $tea.Model {
13684
+ constructor(map) {
13685
+ super(map);
13686
+ }
13687
+ static names() {
13688
+ return {
13689
+ headers: 'headers',
13690
+ statusCode: 'statusCode',
13691
+ body: 'body',
13692
+ };
13693
+ }
13694
+ static types() {
13695
+ return {
13696
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13697
+ statusCode: 'number',
13698
+ body: TestDataServiceApiResponseBody,
13699
+ };
13700
+ }
13701
+ }
13702
+ exports.TestDataServiceApiResponse = TestDataServiceApiResponse;
13407
13703
  class TestNetworkConnectionRequest extends $tea.Model {
13408
13704
  constructor(map) {
13409
13705
  super(map);
@@ -16424,6 +16720,36 @@ class GetDataServiceApiResponseBodyData extends $tea.Model {
16424
16720
  }
16425
16721
  }
16426
16722
  exports.GetDataServiceApiResponseBodyData = GetDataServiceApiResponseBodyData;
16723
+ class GetDataServiceApiTestResponseBodyData extends $tea.Model {
16724
+ constructor(map) {
16725
+ super(map);
16726
+ }
16727
+ static names() {
16728
+ return {
16729
+ apiId: 'ApiId',
16730
+ costTime: 'CostTime',
16731
+ debugInfo: 'DebugInfo',
16732
+ nodesDebugInfo: 'NodesDebugInfo',
16733
+ paramMap: 'ParamMap',
16734
+ retCode: 'RetCode',
16735
+ retResult: 'RetResult',
16736
+ status: 'Status',
16737
+ };
16738
+ }
16739
+ static types() {
16740
+ return {
16741
+ apiId: 'number',
16742
+ costTime: 'string',
16743
+ debugInfo: 'string',
16744
+ nodesDebugInfo: 'string',
16745
+ paramMap: 'string',
16746
+ retCode: 'number',
16747
+ retResult: 'string',
16748
+ status: 'string',
16749
+ };
16750
+ }
16751
+ }
16752
+ exports.GetDataServiceApiTestResponseBodyData = GetDataServiceApiTestResponseBodyData;
16427
16753
  class GetDataServiceApplicationResponseBodyData extends $tea.Model {
16428
16754
  constructor(map) {
16429
16755
  super(map);
@@ -16956,6 +17282,50 @@ class GetDeploymentResponseBodyData extends $tea.Model {
16956
17282
  }
16957
17283
  }
16958
17284
  exports.GetDeploymentResponseBodyData = GetDeploymentResponseBodyData;
17285
+ class GetDutyRosterResponseBodyPagingDutyRoster extends $tea.Model {
17286
+ constructor(map) {
17287
+ super(map);
17288
+ }
17289
+ static names() {
17290
+ return {
17291
+ endLong: 'EndLong',
17292
+ startLong: 'StartLong',
17293
+ watchkeeper: 'Watchkeeper',
17294
+ watchkeeperName: 'WatchkeeperName',
17295
+ };
17296
+ }
17297
+ static types() {
17298
+ return {
17299
+ endLong: 'number',
17300
+ startLong: 'number',
17301
+ watchkeeper: 'string',
17302
+ watchkeeperName: 'string',
17303
+ };
17304
+ }
17305
+ }
17306
+ exports.GetDutyRosterResponseBodyPagingDutyRoster = GetDutyRosterResponseBodyPagingDutyRoster;
17307
+ class GetDutyRosterResponseBodyPaging extends $tea.Model {
17308
+ constructor(map) {
17309
+ super(map);
17310
+ }
17311
+ static names() {
17312
+ return {
17313
+ dutyRoster: 'DutyRoster',
17314
+ pageNumber: 'PageNumber',
17315
+ pageSize: 'PageSize',
17316
+ totalCount: 'TotalCount',
17317
+ };
17318
+ }
17319
+ static types() {
17320
+ return {
17321
+ dutyRoster: { 'type': 'array', 'itemType': GetDutyRosterResponseBodyPagingDutyRoster },
17322
+ pageNumber: 'number',
17323
+ pageSize: 'number',
17324
+ totalCount: 'number',
17325
+ };
17326
+ }
17327
+ }
17328
+ exports.GetDutyRosterResponseBodyPaging = GetDutyRosterResponseBodyPaging;
16959
17329
  class GetExtensionResponseBodyExtensionBindEventList extends $tea.Model {
16960
17330
  constructor(map) {
16961
17331
  super(map);
@@ -20258,6 +20628,36 @@ class ListDataServiceApiAuthoritiesResponseBodyData extends $tea.Model {
20258
20628
  }
20259
20629
  }
20260
20630
  exports.ListDataServiceApiAuthoritiesResponseBodyData = ListDataServiceApiAuthoritiesResponseBodyData;
20631
+ class ListDataServiceApiTestResponseBodyData extends $tea.Model {
20632
+ constructor(map) {
20633
+ super(map);
20634
+ }
20635
+ static names() {
20636
+ return {
20637
+ apiId: 'ApiId',
20638
+ costTime: 'CostTime',
20639
+ createTime: 'CreateTime',
20640
+ paramMap: 'ParamMap',
20641
+ retCode: 'RetCode',
20642
+ retResult: 'RetResult',
20643
+ status: 'Status',
20644
+ testId: 'TestId',
20645
+ };
20646
+ }
20647
+ static types() {
20648
+ return {
20649
+ apiId: 'number',
20650
+ costTime: 'number',
20651
+ createTime: 'number',
20652
+ paramMap: 'string',
20653
+ retCode: 'number',
20654
+ retResult: 'string',
20655
+ status: 'string',
20656
+ testId: 'number',
20657
+ };
20658
+ }
20659
+ }
20660
+ exports.ListDataServiceApiTestResponseBodyData = ListDataServiceApiTestResponseBodyData;
20261
20661
  class ListDataServiceApisResponseBodyDataApisRegistrationDetailsRegistrationErrorCodes extends $tea.Model {
20262
20662
  constructor(map) {
20263
20663
  super(map);
@@ -21344,6 +21744,46 @@ class ListDeploymentsResponseBodyData extends $tea.Model {
21344
21744
  }
21345
21745
  }
21346
21746
  exports.ListDeploymentsResponseBodyData = ListDeploymentsResponseBodyData;
21747
+ class ListDutyRostersResponseBodyPagingDutyRosters extends $tea.Model {
21748
+ constructor(map) {
21749
+ super(map);
21750
+ }
21751
+ static names() {
21752
+ return {
21753
+ dutyRosterIdentifier: 'DutyRosterIdentifier',
21754
+ dutyRosterName: 'DutyRosterName',
21755
+ };
21756
+ }
21757
+ static types() {
21758
+ return {
21759
+ dutyRosterIdentifier: 'string',
21760
+ dutyRosterName: 'string',
21761
+ };
21762
+ }
21763
+ }
21764
+ exports.ListDutyRostersResponseBodyPagingDutyRosters = ListDutyRostersResponseBodyPagingDutyRosters;
21765
+ class ListDutyRostersResponseBodyPaging extends $tea.Model {
21766
+ constructor(map) {
21767
+ super(map);
21768
+ }
21769
+ static names() {
21770
+ return {
21771
+ dutyRosters: 'DutyRosters',
21772
+ pageNumber: 'PageNumber',
21773
+ pageSize: 'PageSize',
21774
+ totalCount: 'TotalCount',
21775
+ };
21776
+ }
21777
+ static types() {
21778
+ return {
21779
+ dutyRosters: { 'type': 'array', 'itemType': ListDutyRostersResponseBodyPagingDutyRosters },
21780
+ pageNumber: 'number',
21781
+ pageSize: 'number',
21782
+ totalCount: 'number',
21783
+ };
21784
+ }
21785
+ }
21786
+ exports.ListDutyRostersResponseBodyPaging = ListDutyRostersResponseBodyPaging;
21347
21787
  class ListExtensionsResponseBodyPagingInfoExtensionsBindEventList extends $tea.Model {
21348
21788
  constructor(map) {
21349
21789
  super(map);
@@ -23368,6 +23808,94 @@ class TerminateDISyncInstanceResponseBodyData extends $tea.Model {
23368
23808
  }
23369
23809
  }
23370
23810
  exports.TerminateDISyncInstanceResponseBodyData = TerminateDISyncInstanceResponseBodyData;
23811
+ class TestDataServiceApiRequestBodyParams extends $tea.Model {
23812
+ constructor(map) {
23813
+ super(map);
23814
+ }
23815
+ static names() {
23816
+ return {
23817
+ paramKey: 'ParamKey',
23818
+ paramValue: 'ParamValue',
23819
+ };
23820
+ }
23821
+ static types() {
23822
+ return {
23823
+ paramKey: 'string',
23824
+ paramValue: 'string',
23825
+ };
23826
+ }
23827
+ }
23828
+ exports.TestDataServiceApiRequestBodyParams = TestDataServiceApiRequestBodyParams;
23829
+ class TestDataServiceApiRequestHeadParams extends $tea.Model {
23830
+ constructor(map) {
23831
+ super(map);
23832
+ }
23833
+ static names() {
23834
+ return {
23835
+ paramKey: 'ParamKey',
23836
+ paramValue: 'ParamValue',
23837
+ };
23838
+ }
23839
+ static types() {
23840
+ return {
23841
+ paramKey: 'string',
23842
+ paramValue: 'string',
23843
+ };
23844
+ }
23845
+ }
23846
+ exports.TestDataServiceApiRequestHeadParams = TestDataServiceApiRequestHeadParams;
23847
+ class TestDataServiceApiRequestPathParams extends $tea.Model {
23848
+ constructor(map) {
23849
+ super(map);
23850
+ }
23851
+ static names() {
23852
+ return {
23853
+ paramKey: 'ParamKey',
23854
+ paramValue: 'ParamValue',
23855
+ };
23856
+ }
23857
+ static types() {
23858
+ return {
23859
+ paramKey: 'string',
23860
+ paramValue: 'string',
23861
+ };
23862
+ }
23863
+ }
23864
+ exports.TestDataServiceApiRequestPathParams = TestDataServiceApiRequestPathParams;
23865
+ class TestDataServiceApiRequestQueryParam extends $tea.Model {
23866
+ constructor(map) {
23867
+ super(map);
23868
+ }
23869
+ static names() {
23870
+ return {
23871
+ paramKey: 'ParamKey',
23872
+ paramValue: 'ParamValue',
23873
+ };
23874
+ }
23875
+ static types() {
23876
+ return {
23877
+ paramKey: 'string',
23878
+ paramValue: 'string',
23879
+ };
23880
+ }
23881
+ }
23882
+ exports.TestDataServiceApiRequestQueryParam = TestDataServiceApiRequestQueryParam;
23883
+ class TestDataServiceApiResponseBodyData extends $tea.Model {
23884
+ constructor(map) {
23885
+ super(map);
23886
+ }
23887
+ static names() {
23888
+ return {
23889
+ testId: 'TestId',
23890
+ };
23891
+ }
23892
+ static types() {
23893
+ return {
23894
+ testId: 'string',
23895
+ };
23896
+ }
23897
+ }
23898
+ exports.TestDataServiceApiResponseBodyData = TestDataServiceApiResponseBodyData;
23371
23899
  class TestNetworkConnectionResponseBodyTaskList extends $tea.Model {
23372
23900
  constructor(map) {
23373
23901
  super(map);
@@ -26396,6 +26924,29 @@ class Client extends openapi_client_1.default {
26396
26924
  let runtime = new $Util.RuntimeOptions({});
26397
26925
  return await this.getDataServiceApiWithOptions(request, runtime);
26398
26926
  }
26927
+ async getDataServiceApiTestWithOptions(request, runtime) {
26928
+ tea_util_1.default.validateModel(request);
26929
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
26930
+ let req = new $OpenApi.OpenApiRequest({
26931
+ query: openapi_util_1.default.query(query),
26932
+ });
26933
+ let params = new $OpenApi.Params({
26934
+ action: "GetDataServiceApiTest",
26935
+ version: "2020-05-18",
26936
+ protocol: "HTTPS",
26937
+ pathname: "/",
26938
+ method: "GET",
26939
+ authType: "AK",
26940
+ style: "RPC",
26941
+ reqBodyType: "formData",
26942
+ bodyType: "json",
26943
+ });
26944
+ return $tea.cast(await this.callApi(params, req, runtime), new GetDataServiceApiTestResponse({}));
26945
+ }
26946
+ async getDataServiceApiTest(request) {
26947
+ let runtime = new $Util.RuntimeOptions({});
26948
+ return await this.getDataServiceApiTestWithOptions(request, runtime);
26949
+ }
26399
26950
  async getDataServiceApplicationWithOptions(request, runtime) {
26400
26951
  tea_util_1.default.validateModel(request);
26401
26952
  let body = {};
@@ -26594,6 +27145,44 @@ class Client extends openapi_client_1.default {
26594
27145
  let runtime = new $Util.RuntimeOptions({});
26595
27146
  return await this.getDeploymentWithOptions(request, runtime);
26596
27147
  }
27148
+ async getDutyRosterWithOptions(request, runtime) {
27149
+ tea_util_1.default.validateModel(request);
27150
+ let body = {};
27151
+ if (!tea_util_1.default.isUnset(request.beginTime)) {
27152
+ body["BeginTime"] = request.beginTime;
27153
+ }
27154
+ if (!tea_util_1.default.isUnset(request.dutyRosterIdentifier)) {
27155
+ body["DutyRosterIdentifier"] = request.dutyRosterIdentifier;
27156
+ }
27157
+ if (!tea_util_1.default.isUnset(request.endTime)) {
27158
+ body["EndTime"] = request.endTime;
27159
+ }
27160
+ if (!tea_util_1.default.isUnset(request.userType)) {
27161
+ body["UserType"] = request.userType;
27162
+ }
27163
+ if (!tea_util_1.default.isUnset(request.watchkeeper)) {
27164
+ body["Watchkeeper"] = request.watchkeeper;
27165
+ }
27166
+ let req = new $OpenApi.OpenApiRequest({
27167
+ body: openapi_util_1.default.parseToMap(body),
27168
+ });
27169
+ let params = new $OpenApi.Params({
27170
+ action: "GetDutyRoster",
27171
+ version: "2020-05-18",
27172
+ protocol: "HTTPS",
27173
+ pathname: "/",
27174
+ method: "POST",
27175
+ authType: "AK",
27176
+ style: "RPC",
27177
+ reqBodyType: "formData",
27178
+ bodyType: "json",
27179
+ });
27180
+ return $tea.cast(await this.callApi(params, req, runtime), new GetDutyRosterResponse({}));
27181
+ }
27182
+ async getDutyRoster(request) {
27183
+ let runtime = new $Util.RuntimeOptions({});
27184
+ return await this.getDutyRosterWithOptions(request, runtime);
27185
+ }
26597
27186
  async getExtensionWithOptions(request, runtime) {
26598
27187
  tea_util_1.default.validateModel(request);
26599
27188
  let query = {};
@@ -28553,6 +29142,29 @@ class Client extends openapi_client_1.default {
28553
29142
  let runtime = new $Util.RuntimeOptions({});
28554
29143
  return await this.listDataServiceApiAuthoritiesWithOptions(request, runtime);
28555
29144
  }
29145
+ async listDataServiceApiTestWithOptions(request, runtime) {
29146
+ tea_util_1.default.validateModel(request);
29147
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
29148
+ let req = new $OpenApi.OpenApiRequest({
29149
+ query: openapi_util_1.default.query(query),
29150
+ });
29151
+ let params = new $OpenApi.Params({
29152
+ action: "ListDataServiceApiTest",
29153
+ version: "2020-05-18",
29154
+ protocol: "HTTPS",
29155
+ pathname: "/",
29156
+ method: "GET",
29157
+ authType: "AK",
29158
+ style: "RPC",
29159
+ reqBodyType: "formData",
29160
+ bodyType: "json",
29161
+ });
29162
+ return $tea.cast(await this.callApi(params, req, runtime), new ListDataServiceApiTestResponse({}));
29163
+ }
29164
+ async listDataServiceApiTest(request) {
29165
+ let runtime = new $Util.RuntimeOptions({});
29166
+ return await this.listDataServiceApiTestWithOptions(request, runtime);
29167
+ }
28556
29168
  async listDataServiceApisWithOptions(request, runtime) {
28557
29169
  tea_util_1.default.validateModel(request);
28558
29170
  let body = {};
@@ -28871,6 +29483,41 @@ class Client extends openapi_client_1.default {
28871
29483
  let runtime = new $Util.RuntimeOptions({});
28872
29484
  return await this.listDeploymentsWithOptions(request, runtime);
28873
29485
  }
29486
+ async listDutyRostersWithOptions(request, runtime) {
29487
+ tea_util_1.default.validateModel(request);
29488
+ let body = {};
29489
+ if (!tea_util_1.default.isUnset(request.dutyRosterName)) {
29490
+ body["DutyRosterName"] = request.dutyRosterName;
29491
+ }
29492
+ if (!tea_util_1.default.isUnset(request.dutyRosterOwner)) {
29493
+ body["DutyRosterOwner"] = request.dutyRosterOwner;
29494
+ }
29495
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
29496
+ body["PageNumber"] = request.pageNumber;
29497
+ }
29498
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
29499
+ body["PageSize"] = request.pageSize;
29500
+ }
29501
+ let req = new $OpenApi.OpenApiRequest({
29502
+ body: openapi_util_1.default.parseToMap(body),
29503
+ });
29504
+ let params = new $OpenApi.Params({
29505
+ action: "ListDutyRosters",
29506
+ version: "2020-05-18",
29507
+ protocol: "HTTPS",
29508
+ pathname: "/",
29509
+ method: "POST",
29510
+ authType: "AK",
29511
+ style: "RPC",
29512
+ reqBodyType: "formData",
29513
+ bodyType: "json",
29514
+ });
29515
+ return $tea.cast(await this.callApi(params, req, runtime), new ListDutyRostersResponse({}));
29516
+ }
29517
+ async listDutyRosters(request) {
29518
+ let runtime = new $Util.RuntimeOptions({});
29519
+ return await this.listDutyRostersWithOptions(request, runtime);
29520
+ }
28874
29521
  async listExtensionsWithOptions(request, runtime) {
28875
29522
  tea_util_1.default.validateModel(request);
28876
29523
  let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
@@ -30875,6 +31522,49 @@ class Client extends openapi_client_1.default {
30875
31522
  let runtime = new $Util.RuntimeOptions({});
30876
31523
  return await this.terminateDISyncInstanceWithOptions(request, runtime);
30877
31524
  }
31525
+ async testDataServiceApiWithOptions(request, runtime) {
31526
+ tea_util_1.default.validateModel(request);
31527
+ let query = {};
31528
+ if (!tea_util_1.default.isUnset(request.apiId)) {
31529
+ query["ApiId"] = request.apiId;
31530
+ }
31531
+ let body = {};
31532
+ if (!tea_util_1.default.isUnset(request.bodyContent)) {
31533
+ body["BodyContent"] = request.bodyContent;
31534
+ }
31535
+ if (!tea_util_1.default.isUnset(request.bodyParams)) {
31536
+ body["BodyParams"] = request.bodyParams;
31537
+ }
31538
+ if (!tea_util_1.default.isUnset(request.headParams)) {
31539
+ body["HeadParams"] = request.headParams;
31540
+ }
31541
+ if (!tea_util_1.default.isUnset(request.pathParams)) {
31542
+ body["PathParams"] = request.pathParams;
31543
+ }
31544
+ if (!tea_util_1.default.isUnset(request.queryParam)) {
31545
+ body["QueryParam"] = request.queryParam;
31546
+ }
31547
+ let req = new $OpenApi.OpenApiRequest({
31548
+ query: openapi_util_1.default.query(query),
31549
+ body: openapi_util_1.default.parseToMap(body),
31550
+ });
31551
+ let params = new $OpenApi.Params({
31552
+ action: "TestDataServiceApi",
31553
+ version: "2020-05-18",
31554
+ protocol: "HTTPS",
31555
+ pathname: "/",
31556
+ method: "POST",
31557
+ authType: "AK",
31558
+ style: "RPC",
31559
+ reqBodyType: "formData",
31560
+ bodyType: "json",
31561
+ });
31562
+ return $tea.cast(await this.callApi(params, req, runtime), new TestDataServiceApiResponse({}));
31563
+ }
31564
+ async testDataServiceApi(request) {
31565
+ let runtime = new $Util.RuntimeOptions({});
31566
+ return await this.testDataServiceApiWithOptions(request, runtime);
31567
+ }
30878
31568
  async testNetworkConnectionWithOptions(request, runtime) {
30879
31569
  tea_util_1.default.validateModel(request);
30880
31570
  let query = {};