@alicloud/bailian20231229 2.0.3 → 2.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/bailian20231229",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -4305,6 +4305,7 @@ export class CreateIndexRequest extends $dara.Model {
4305
4305
  * structured
4306
4306
  */
4307
4307
  structureType?: string;
4308
+ chunkMode?: string;
4308
4309
  enableHeaders?: boolean;
4309
4310
  metaExtractColumns?: CreateIndexRequestMetaExtractColumns[];
4310
4311
  static names(): { [key: string]: string } {
@@ -4326,6 +4327,7 @@ export class CreateIndexRequest extends $dara.Model {
4326
4327
  sinkType: 'SinkType',
4327
4328
  sourceType: 'SourceType',
4328
4329
  structureType: 'StructureType',
4330
+ chunkMode: 'chunkMode',
4329
4331
  enableHeaders: 'enableHeaders',
4330
4332
  metaExtractColumns: 'metaExtractColumns',
4331
4333
  };
@@ -4350,6 +4352,7 @@ export class CreateIndexRequest extends $dara.Model {
4350
4352
  sinkType: 'string',
4351
4353
  sourceType: 'string',
4352
4354
  structureType: 'string',
4355
+ chunkMode: 'string',
4353
4356
  enableHeaders: 'boolean',
4354
4357
  metaExtractColumns: { 'type': 'array', 'itemType': CreateIndexRequestMetaExtractColumns },
4355
4358
  };
@@ -4554,6 +4557,7 @@ export class CreateIndexShrinkRequest extends $dara.Model {
4554
4557
  * structured
4555
4558
  */
4556
4559
  structureType?: string;
4560
+ chunkMode?: string;
4557
4561
  enableHeaders?: boolean;
4558
4562
  metaExtractColumnsShrink?: string;
4559
4563
  static names(): { [key: string]: string } {
@@ -4575,6 +4579,7 @@ export class CreateIndexShrinkRequest extends $dara.Model {
4575
4579
  sinkType: 'SinkType',
4576
4580
  sourceType: 'SourceType',
4577
4581
  structureType: 'StructureType',
4582
+ chunkMode: 'chunkMode',
4578
4583
  enableHeaders: 'enableHeaders',
4579
4584
  metaExtractColumnsShrink: 'metaExtractColumns',
4580
4585
  };
@@ -4599,6 +4604,7 @@ export class CreateIndexShrinkRequest extends $dara.Model {
4599
4604
  sinkType: 'string',
4600
4605
  sourceType: 'string',
4601
4606
  structureType: 'string',
4607
+ chunkMode: 'string',
4602
4608
  enableHeaders: 'boolean',
4603
4609
  metaExtractColumnsShrink: 'string',
4604
4610
  };
@@ -9497,12 +9503,7 @@ export default class Client extends OpenApi {
9497
9503
  reqBodyType: "formData",
9498
9504
  bodyType: "json",
9499
9505
  });
9500
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9501
- return $dara.cast<AddCategoryResponse>(await this.callApi(params, req, runtime), new AddCategoryResponse({}));
9502
- } else {
9503
- return $dara.cast<AddCategoryResponse>(await this.execute(params, req, runtime), new AddCategoryResponse({}));
9504
- }
9505
-
9506
+ return $dara.cast<AddCategoryResponse>(await this.callApi(params, req, runtime), new AddCategoryResponse({}));
9506
9507
  }
9507
9508
 
9508
9509
  /**
@@ -9576,12 +9577,7 @@ export default class Client extends OpenApi {
9576
9577
  reqBodyType: "formData",
9577
9578
  bodyType: "json",
9578
9579
  });
9579
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9580
- return $dara.cast<AddFileResponse>(await this.callApi(params, req, runtime), new AddFileResponse({}));
9581
- } else {
9582
- return $dara.cast<AddFileResponse>(await this.execute(params, req, runtime), new AddFileResponse({}));
9583
- }
9584
-
9580
+ return $dara.cast<AddFileResponse>(await this.callApi(params, req, runtime), new AddFileResponse({}));
9585
9581
  }
9586
9582
 
9587
9583
  /**
@@ -9655,12 +9651,7 @@ export default class Client extends OpenApi {
9655
9651
  reqBodyType: "formData",
9656
9652
  bodyType: "json",
9657
9653
  });
9658
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9659
- return $dara.cast<ApplyFileUploadLeaseResponse>(await this.callApi(params, req, runtime), new ApplyFileUploadLeaseResponse({}));
9660
- } else {
9661
- return $dara.cast<ApplyFileUploadLeaseResponse>(await this.execute(params, req, runtime), new ApplyFileUploadLeaseResponse({}));
9662
- }
9663
-
9654
+ return $dara.cast<ApplyFileUploadLeaseResponse>(await this.callApi(params, req, runtime), new ApplyFileUploadLeaseResponse({}));
9664
9655
  }
9665
9656
 
9666
9657
  /**
@@ -9737,12 +9728,7 @@ export default class Client extends OpenApi {
9737
9728
  reqBodyType: "formData",
9738
9729
  bodyType: "json",
9739
9730
  });
9740
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9741
- return $dara.cast<CreateAndPulishAgentResponse>(await this.callApi(params, req, runtime), new CreateAndPulishAgentResponse({}));
9742
- } else {
9743
- return $dara.cast<CreateAndPulishAgentResponse>(await this.execute(params, req, runtime), new CreateAndPulishAgentResponse({}));
9744
- }
9745
-
9731
+ return $dara.cast<CreateAndPulishAgentResponse>(await this.callApi(params, req, runtime), new CreateAndPulishAgentResponse({}));
9746
9732
  }
9747
9733
 
9748
9734
  /**
@@ -9863,6 +9849,10 @@ export default class Client extends OpenApi {
9863
9849
  query["StructureType"] = request.structureType;
9864
9850
  }
9865
9851
 
9852
+ if (!$dara.isNull(request.chunkMode)) {
9853
+ query["chunkMode"] = request.chunkMode;
9854
+ }
9855
+
9866
9856
  if (!$dara.isNull(request.enableHeaders)) {
9867
9857
  query["enableHeaders"] = request.enableHeaders;
9868
9858
  }
@@ -9886,12 +9876,7 @@ export default class Client extends OpenApi {
9886
9876
  reqBodyType: "json",
9887
9877
  bodyType: "json",
9888
9878
  });
9889
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9890
- return $dara.cast<CreateIndexResponse>(await this.callApi(params, req, runtime), new CreateIndexResponse({}));
9891
- } else {
9892
- return $dara.cast<CreateIndexResponse>(await this.execute(params, req, runtime), new CreateIndexResponse({}));
9893
- }
9894
-
9879
+ return $dara.cast<CreateIndexResponse>(await this.callApi(params, req, runtime), new CreateIndexResponse({}));
9895
9880
  }
9896
9881
 
9897
9882
  /**
@@ -9941,12 +9926,7 @@ export default class Client extends OpenApi {
9941
9926
  reqBodyType: "json",
9942
9927
  bodyType: "json",
9943
9928
  });
9944
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9945
- return $dara.cast<CreateMemoryResponse>(await this.callApi(params, req, runtime), new CreateMemoryResponse({}));
9946
- } else {
9947
- return $dara.cast<CreateMemoryResponse>(await this.execute(params, req, runtime), new CreateMemoryResponse({}));
9948
- }
9949
-
9929
+ return $dara.cast<CreateMemoryResponse>(await this.callApi(params, req, runtime), new CreateMemoryResponse({}));
9950
9930
  }
9951
9931
 
9952
9932
  /**
@@ -9991,12 +9971,7 @@ export default class Client extends OpenApi {
9991
9971
  reqBodyType: "json",
9992
9972
  bodyType: "json",
9993
9973
  });
9994
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9995
- return $dara.cast<CreateMemoryNodeResponse>(await this.callApi(params, req, runtime), new CreateMemoryNodeResponse({}));
9996
- } else {
9997
- return $dara.cast<CreateMemoryNodeResponse>(await this.execute(params, req, runtime), new CreateMemoryNodeResponse({}));
9998
- }
9999
-
9974
+ return $dara.cast<CreateMemoryNodeResponse>(await this.callApi(params, req, runtime), new CreateMemoryNodeResponse({}));
10000
9975
  }
10001
9976
 
10002
9977
  /**
@@ -10045,12 +10020,7 @@ export default class Client extends OpenApi {
10045
10020
  reqBodyType: "json",
10046
10021
  bodyType: "json",
10047
10022
  });
10048
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10049
- return $dara.cast<CreatePromptTemplateResponse>(await this.callApi(params, req, runtime), new CreatePromptTemplateResponse({}));
10050
- } else {
10051
- return $dara.cast<CreatePromptTemplateResponse>(await this.execute(params, req, runtime), new CreatePromptTemplateResponse({}));
10052
- }
10053
-
10023
+ return $dara.cast<CreatePromptTemplateResponse>(await this.callApi(params, req, runtime), new CreatePromptTemplateResponse({}));
10054
10024
  }
10055
10025
 
10056
10026
  /**
@@ -10087,12 +10057,7 @@ export default class Client extends OpenApi {
10087
10057
  reqBodyType: "json",
10088
10058
  bodyType: "json",
10089
10059
  });
10090
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10091
- return $dara.cast<DeleteAgentResponse>(await this.callApi(params, req, runtime), new DeleteAgentResponse({}));
10092
- } else {
10093
- return $dara.cast<DeleteAgentResponse>(await this.execute(params, req, runtime), new DeleteAgentResponse({}));
10094
- }
10095
-
10060
+ return $dara.cast<DeleteAgentResponse>(await this.callApi(params, req, runtime), new DeleteAgentResponse({}));
10096
10061
  }
10097
10062
 
10098
10063
  /**
@@ -10127,12 +10092,7 @@ export default class Client extends OpenApi {
10127
10092
  reqBodyType: "json",
10128
10093
  bodyType: "json",
10129
10094
  });
10130
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10131
- return $dara.cast<DeleteCategoryResponse>(await this.callApi(params, req, runtime), new DeleteCategoryResponse({}));
10132
- } else {
10133
- return $dara.cast<DeleteCategoryResponse>(await this.execute(params, req, runtime), new DeleteCategoryResponse({}));
10134
- }
10135
-
10095
+ return $dara.cast<DeleteCategoryResponse>(await this.callApi(params, req, runtime), new DeleteCategoryResponse({}));
10136
10096
  }
10137
10097
 
10138
10098
  /**
@@ -10167,12 +10127,7 @@ export default class Client extends OpenApi {
10167
10127
  reqBodyType: "json",
10168
10128
  bodyType: "json",
10169
10129
  });
10170
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10171
- return $dara.cast<DeleteFileResponse>(await this.callApi(params, req, runtime), new DeleteFileResponse({}));
10172
- } else {
10173
- return $dara.cast<DeleteFileResponse>(await this.execute(params, req, runtime), new DeleteFileResponse({}));
10174
- }
10175
-
10130
+ return $dara.cast<DeleteFileResponse>(await this.callApi(params, req, runtime), new DeleteFileResponse({}));
10176
10131
  }
10177
10132
 
10178
10133
  /**
@@ -10222,12 +10177,7 @@ export default class Client extends OpenApi {
10222
10177
  reqBodyType: "json",
10223
10178
  bodyType: "json",
10224
10179
  });
10225
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10226
- return $dara.cast<DeleteIndexResponse>(await this.callApi(params, req, runtime), new DeleteIndexResponse({}));
10227
- } else {
10228
- return $dara.cast<DeleteIndexResponse>(await this.execute(params, req, runtime), new DeleteIndexResponse({}));
10229
- }
10230
-
10180
+ return $dara.cast<DeleteIndexResponse>(await this.callApi(params, req, runtime), new DeleteIndexResponse({}));
10231
10181
  }
10232
10182
 
10233
10183
  /**
@@ -10296,12 +10246,7 @@ export default class Client extends OpenApi {
10296
10246
  reqBodyType: "json",
10297
10247
  bodyType: "json",
10298
10248
  });
10299
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10300
- return $dara.cast<DeleteIndexDocumentResponse>(await this.callApi(params, req, runtime), new DeleteIndexDocumentResponse({}));
10301
- } else {
10302
- return $dara.cast<DeleteIndexDocumentResponse>(await this.execute(params, req, runtime), new DeleteIndexDocumentResponse({}));
10303
- }
10304
-
10249
+ return $dara.cast<DeleteIndexDocumentResponse>(await this.callApi(params, req, runtime), new DeleteIndexDocumentResponse({}));
10305
10250
  }
10306
10251
 
10307
10252
  /**
@@ -10345,12 +10290,7 @@ export default class Client extends OpenApi {
10345
10290
  reqBodyType: "json",
10346
10291
  bodyType: "json",
10347
10292
  });
10348
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10349
- return $dara.cast<DeleteMemoryResponse>(await this.callApi(params, req, runtime), new DeleteMemoryResponse({}));
10350
- } else {
10351
- return $dara.cast<DeleteMemoryResponse>(await this.execute(params, req, runtime), new DeleteMemoryResponse({}));
10352
- }
10353
-
10293
+ return $dara.cast<DeleteMemoryResponse>(await this.callApi(params, req, runtime), new DeleteMemoryResponse({}));
10354
10294
  }
10355
10295
 
10356
10296
  /**
@@ -10385,12 +10325,7 @@ export default class Client extends OpenApi {
10385
10325
  reqBodyType: "json",
10386
10326
  bodyType: "json",
10387
10327
  });
10388
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10389
- return $dara.cast<DeleteMemoryNodeResponse>(await this.callApi(params, req, runtime), new DeleteMemoryNodeResponse({}));
10390
- } else {
10391
- return $dara.cast<DeleteMemoryNodeResponse>(await this.execute(params, req, runtime), new DeleteMemoryNodeResponse({}));
10392
- }
10393
-
10328
+ return $dara.cast<DeleteMemoryNodeResponse>(await this.callApi(params, req, runtime), new DeleteMemoryNodeResponse({}));
10394
10329
  }
10395
10330
 
10396
10331
  /**
@@ -10425,12 +10360,7 @@ export default class Client extends OpenApi {
10425
10360
  reqBodyType: "json",
10426
10361
  bodyType: "json",
10427
10362
  });
10428
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10429
- return $dara.cast<DeletePromptTemplateResponse>(await this.callApi(params, req, runtime), new DeletePromptTemplateResponse({}));
10430
- } else {
10431
- return $dara.cast<DeletePromptTemplateResponse>(await this.execute(params, req, runtime), new DeletePromptTemplateResponse({}));
10432
- }
10433
-
10363
+ return $dara.cast<DeletePromptTemplateResponse>(await this.callApi(params, req, runtime), new DeletePromptTemplateResponse({}));
10434
10364
  }
10435
10365
 
10436
10366
  /**
@@ -10471,12 +10401,7 @@ export default class Client extends OpenApi {
10471
10401
  reqBodyType: "json",
10472
10402
  bodyType: "json",
10473
10403
  });
10474
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10475
- return $dara.cast<DescribeFileResponse>(await this.callApi(params, req, runtime), new DescribeFileResponse({}));
10476
- } else {
10477
- return $dara.cast<DescribeFileResponse>(await this.execute(params, req, runtime), new DescribeFileResponse({}));
10478
- }
10479
-
10404
+ return $dara.cast<DescribeFileResponse>(await this.callApi(params, req, runtime), new DescribeFileResponse({}));
10480
10405
  }
10481
10406
 
10482
10407
  /**
@@ -10542,12 +10467,7 @@ export default class Client extends OpenApi {
10542
10467
  reqBodyType: "json",
10543
10468
  bodyType: "json",
10544
10469
  });
10545
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10546
- return $dara.cast<GetIndexJobStatusResponse>(await this.callApi(params, req, runtime), new GetIndexJobStatusResponse({}));
10547
- } else {
10548
- return $dara.cast<GetIndexJobStatusResponse>(await this.execute(params, req, runtime), new GetIndexJobStatusResponse({}));
10549
- }
10550
-
10470
+ return $dara.cast<GetIndexJobStatusResponse>(await this.callApi(params, req, runtime), new GetIndexJobStatusResponse({}));
10551
10471
  }
10552
10472
 
10553
10473
  /**
@@ -10589,12 +10509,7 @@ export default class Client extends OpenApi {
10589
10509
  reqBodyType: "json",
10590
10510
  bodyType: "json",
10591
10511
  });
10592
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10593
- return $dara.cast<GetMemoryResponse>(await this.callApi(params, req, runtime), new GetMemoryResponse({}));
10594
- } else {
10595
- return $dara.cast<GetMemoryResponse>(await this.execute(params, req, runtime), new GetMemoryResponse({}));
10596
- }
10597
-
10512
+ return $dara.cast<GetMemoryResponse>(await this.callApi(params, req, runtime), new GetMemoryResponse({}));
10598
10513
  }
10599
10514
 
10600
10515
  /**
@@ -10629,12 +10544,7 @@ export default class Client extends OpenApi {
10629
10544
  reqBodyType: "json",
10630
10545
  bodyType: "json",
10631
10546
  });
10632
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10633
- return $dara.cast<GetMemoryNodeResponse>(await this.callApi(params, req, runtime), new GetMemoryNodeResponse({}));
10634
- } else {
10635
- return $dara.cast<GetMemoryNodeResponse>(await this.execute(params, req, runtime), new GetMemoryNodeResponse({}));
10636
- }
10637
-
10547
+ return $dara.cast<GetMemoryNodeResponse>(await this.callApi(params, req, runtime), new GetMemoryNodeResponse({}));
10638
10548
  }
10639
10549
 
10640
10550
  /**
@@ -10669,12 +10579,7 @@ export default class Client extends OpenApi {
10669
10579
  reqBodyType: "json",
10670
10580
  bodyType: "json",
10671
10581
  });
10672
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10673
- return $dara.cast<GetPromptTemplateResponse>(await this.callApi(params, req, runtime), new GetPromptTemplateResponse({}));
10674
- } else {
10675
- return $dara.cast<GetPromptTemplateResponse>(await this.execute(params, req, runtime), new GetPromptTemplateResponse({}));
10676
- }
10677
-
10582
+ return $dara.cast<GetPromptTemplateResponse>(await this.callApi(params, req, runtime), new GetPromptTemplateResponse({}));
10678
10583
  }
10679
10584
 
10680
10585
  /**
@@ -10709,12 +10614,7 @@ export default class Client extends OpenApi {
10709
10614
  reqBodyType: "json",
10710
10615
  bodyType: "json",
10711
10616
  });
10712
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10713
- return $dara.cast<GetPublishedAgentResponse>(await this.callApi(params, req, runtime), new GetPublishedAgentResponse({}));
10714
- } else {
10715
- return $dara.cast<GetPublishedAgentResponse>(await this.execute(params, req, runtime), new GetPublishedAgentResponse({}));
10716
- }
10717
-
10617
+ return $dara.cast<GetPublishedAgentResponse>(await this.callApi(params, req, runtime), new GetPublishedAgentResponse({}));
10718
10618
  }
10719
10619
 
10720
10620
  /**
@@ -10769,12 +10669,7 @@ export default class Client extends OpenApi {
10769
10669
  reqBodyType: "formData",
10770
10670
  bodyType: "json",
10771
10671
  });
10772
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10773
- return $dara.cast<ListCategoryResponse>(await this.callApi(params, req, runtime), new ListCategoryResponse({}));
10774
- } else {
10775
- return $dara.cast<ListCategoryResponse>(await this.execute(params, req, runtime), new ListCategoryResponse({}));
10776
- }
10777
-
10672
+ return $dara.cast<ListCategoryResponse>(await this.callApi(params, req, runtime), new ListCategoryResponse({}));
10778
10673
  }
10779
10674
 
10780
10675
  /**
@@ -10843,12 +10738,7 @@ export default class Client extends OpenApi {
10843
10738
  reqBodyType: "json",
10844
10739
  bodyType: "json",
10845
10740
  });
10846
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10847
- return $dara.cast<ListChunksResponse>(await this.callApi(params, req, runtime), new ListChunksResponse({}));
10848
- } else {
10849
- return $dara.cast<ListChunksResponse>(await this.execute(params, req, runtime), new ListChunksResponse({}));
10850
- }
10851
-
10741
+ return $dara.cast<ListChunksResponse>(await this.callApi(params, req, runtime), new ListChunksResponse({}));
10852
10742
  }
10853
10743
 
10854
10744
  /**
@@ -10909,12 +10799,7 @@ export default class Client extends OpenApi {
10909
10799
  reqBodyType: "json",
10910
10800
  bodyType: "json",
10911
10801
  });
10912
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10913
- return $dara.cast<ListFileResponse>(await this.callApi(params, req, runtime), new ListFileResponse({}));
10914
- } else {
10915
- return $dara.cast<ListFileResponse>(await this.execute(params, req, runtime), new ListFileResponse({}));
10916
- }
10917
-
10802
+ return $dara.cast<ListFileResponse>(await this.callApi(params, req, runtime), new ListFileResponse({}));
10918
10803
  }
10919
10804
 
10920
10805
  /**
@@ -10979,12 +10864,7 @@ export default class Client extends OpenApi {
10979
10864
  reqBodyType: "json",
10980
10865
  bodyType: "json",
10981
10866
  });
10982
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10983
- return $dara.cast<ListIndexDocumentsResponse>(await this.callApi(params, req, runtime), new ListIndexDocumentsResponse({}));
10984
- } else {
10985
- return $dara.cast<ListIndexDocumentsResponse>(await this.execute(params, req, runtime), new ListIndexDocumentsResponse({}));
10986
- }
10987
-
10867
+ return $dara.cast<ListIndexDocumentsResponse>(await this.callApi(params, req, runtime), new ListIndexDocumentsResponse({}));
10988
10868
  }
10989
10869
 
10990
10870
  /**
@@ -11044,12 +10924,7 @@ export default class Client extends OpenApi {
11044
10924
  reqBodyType: "json",
11045
10925
  bodyType: "json",
11046
10926
  });
11047
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11048
- return $dara.cast<ListIndicesResponse>(await this.callApi(params, req, runtime), new ListIndicesResponse({}));
11049
- } else {
11050
- return $dara.cast<ListIndicesResponse>(await this.execute(params, req, runtime), new ListIndicesResponse({}));
11051
- }
11052
-
10927
+ return $dara.cast<ListIndicesResponse>(await this.callApi(params, req, runtime), new ListIndicesResponse({}));
11053
10928
  }
11054
10929
 
11055
10930
  /**
@@ -11101,12 +10976,7 @@ export default class Client extends OpenApi {
11101
10976
  reqBodyType: "json",
11102
10977
  bodyType: "json",
11103
10978
  });
11104
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11105
- return $dara.cast<ListMemoriesResponse>(await this.callApi(params, req, runtime), new ListMemoriesResponse({}));
11106
- } else {
11107
- return $dara.cast<ListMemoriesResponse>(await this.execute(params, req, runtime), new ListMemoriesResponse({}));
11108
- }
11109
-
10979
+ return $dara.cast<ListMemoriesResponse>(await this.callApi(params, req, runtime), new ListMemoriesResponse({}));
11110
10980
  }
11111
10981
 
11112
10982
  /**
@@ -11155,12 +11025,7 @@ export default class Client extends OpenApi {
11155
11025
  reqBodyType: "json",
11156
11026
  bodyType: "json",
11157
11027
  });
11158
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11159
- return $dara.cast<ListMemoryNodesResponse>(await this.callApi(params, req, runtime), new ListMemoryNodesResponse({}));
11160
- } else {
11161
- return $dara.cast<ListMemoryNodesResponse>(await this.execute(params, req, runtime), new ListMemoryNodesResponse({}));
11162
- }
11163
-
11028
+ return $dara.cast<ListMemoryNodesResponse>(await this.callApi(params, req, runtime), new ListMemoryNodesResponse({}));
11164
11029
  }
11165
11030
 
11166
11031
  /**
@@ -11217,12 +11082,7 @@ export default class Client extends OpenApi {
11217
11082
  reqBodyType: "json",
11218
11083
  bodyType: "json",
11219
11084
  });
11220
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11221
- return $dara.cast<ListPromptTemplatesResponse>(await this.callApi(params, req, runtime), new ListPromptTemplatesResponse({}));
11222
- } else {
11223
- return $dara.cast<ListPromptTemplatesResponse>(await this.execute(params, req, runtime), new ListPromptTemplatesResponse({}));
11224
- }
11225
-
11085
+ return $dara.cast<ListPromptTemplatesResponse>(await this.callApi(params, req, runtime), new ListPromptTemplatesResponse({}));
11226
11086
  }
11227
11087
 
11228
11088
  /**
@@ -11271,12 +11131,7 @@ export default class Client extends OpenApi {
11271
11131
  reqBodyType: "json",
11272
11132
  bodyType: "json",
11273
11133
  });
11274
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11275
- return $dara.cast<ListPublishedAgentResponse>(await this.callApi(params, req, runtime), new ListPublishedAgentResponse({}));
11276
- } else {
11277
- return $dara.cast<ListPublishedAgentResponse>(await this.execute(params, req, runtime), new ListPublishedAgentResponse({}));
11278
- }
11279
-
11134
+ return $dara.cast<ListPublishedAgentResponse>(await this.callApi(params, req, runtime), new ListPublishedAgentResponse({}));
11280
11135
  }
11281
11136
 
11282
11137
  /**
@@ -11400,12 +11255,7 @@ export default class Client extends OpenApi {
11400
11255
  reqBodyType: "json",
11401
11256
  bodyType: "json",
11402
11257
  });
11403
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11404
- return $dara.cast<RetrieveResponse>(await this.callApi(params, req, runtime), new RetrieveResponse({}));
11405
- } else {
11406
- return $dara.cast<RetrieveResponse>(await this.execute(params, req, runtime), new RetrieveResponse({}));
11407
- }
11408
-
11258
+ return $dara.cast<RetrieveResponse>(await this.callApi(params, req, runtime), new RetrieveResponse({}));
11409
11259
  }
11410
11260
 
11411
11261
  /**
@@ -11483,12 +11333,7 @@ export default class Client extends OpenApi {
11483
11333
  reqBodyType: "json",
11484
11334
  bodyType: "json",
11485
11335
  });
11486
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11487
- return $dara.cast<SubmitIndexAddDocumentsJobResponse>(await this.callApi(params, req, runtime), new SubmitIndexAddDocumentsJobResponse({}));
11488
- } else {
11489
- return $dara.cast<SubmitIndexAddDocumentsJobResponse>(await this.execute(params, req, runtime), new SubmitIndexAddDocumentsJobResponse({}));
11490
- }
11491
-
11336
+ return $dara.cast<SubmitIndexAddDocumentsJobResponse>(await this.callApi(params, req, runtime), new SubmitIndexAddDocumentsJobResponse({}));
11492
11337
  }
11493
11338
 
11494
11339
  /**
@@ -11545,12 +11390,7 @@ export default class Client extends OpenApi {
11545
11390
  reqBodyType: "json",
11546
11391
  bodyType: "json",
11547
11392
  });
11548
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11549
- return $dara.cast<SubmitIndexJobResponse>(await this.callApi(params, req, runtime), new SubmitIndexJobResponse({}));
11550
- } else {
11551
- return $dara.cast<SubmitIndexJobResponse>(await this.execute(params, req, runtime), new SubmitIndexJobResponse({}));
11552
- }
11553
-
11393
+ return $dara.cast<SubmitIndexJobResponse>(await this.callApi(params, req, runtime), new SubmitIndexJobResponse({}));
11554
11394
  }
11555
11395
 
11556
11396
  /**
@@ -11627,12 +11467,7 @@ export default class Client extends OpenApi {
11627
11467
  reqBodyType: "formData",
11628
11468
  bodyType: "json",
11629
11469
  });
11630
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11631
- return $dara.cast<UpdateAndPublishAgentResponse>(await this.callApi(params, req, runtime), new UpdateAndPublishAgentResponse({}));
11632
- } else {
11633
- return $dara.cast<UpdateAndPublishAgentResponse>(await this.execute(params, req, runtime), new UpdateAndPublishAgentResponse({}));
11634
- }
11635
-
11470
+ return $dara.cast<UpdateAndPublishAgentResponse>(await this.callApi(params, req, runtime), new UpdateAndPublishAgentResponse({}));
11636
11471
  }
11637
11472
 
11638
11473
  /**
@@ -11703,12 +11538,7 @@ export default class Client extends OpenApi {
11703
11538
  reqBodyType: "formData",
11704
11539
  bodyType: "json",
11705
11540
  });
11706
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11707
- return $dara.cast<UpdateAndPublishAgentSelectiveResponse>(await this.callApi(params, req, runtime), new UpdateAndPublishAgentSelectiveResponse({}));
11708
- } else {
11709
- return $dara.cast<UpdateAndPublishAgentSelectiveResponse>(await this.execute(params, req, runtime), new UpdateAndPublishAgentSelectiveResponse({}));
11710
- }
11711
-
11541
+ return $dara.cast<UpdateAndPublishAgentSelectiveResponse>(await this.callApi(params, req, runtime), new UpdateAndPublishAgentSelectiveResponse({}));
11712
11542
  }
11713
11543
 
11714
11544
  /**
@@ -11759,12 +11589,7 @@ export default class Client extends OpenApi {
11759
11589
  reqBodyType: "formData",
11760
11590
  bodyType: "json",
11761
11591
  });
11762
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11763
- return $dara.cast<UpdateFileTagResponse>(await this.callApi(params, req, runtime), new UpdateFileTagResponse({}));
11764
- } else {
11765
- return $dara.cast<UpdateFileTagResponse>(await this.execute(params, req, runtime), new UpdateFileTagResponse({}));
11766
- }
11767
-
11592
+ return $dara.cast<UpdateFileTagResponse>(await this.callApi(params, req, runtime), new UpdateFileTagResponse({}));
11768
11593
  }
11769
11594
 
11770
11595
  /**
@@ -11809,12 +11634,7 @@ export default class Client extends OpenApi {
11809
11634
  reqBodyType: "json",
11810
11635
  bodyType: "json",
11811
11636
  });
11812
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11813
- return $dara.cast<UpdateMemoryResponse>(await this.callApi(params, req, runtime), new UpdateMemoryResponse({}));
11814
- } else {
11815
- return $dara.cast<UpdateMemoryResponse>(await this.execute(params, req, runtime), new UpdateMemoryResponse({}));
11816
- }
11817
-
11637
+ return $dara.cast<UpdateMemoryResponse>(await this.callApi(params, req, runtime), new UpdateMemoryResponse({}));
11818
11638
  }
11819
11639
 
11820
11640
  /**
@@ -11859,12 +11679,7 @@ export default class Client extends OpenApi {
11859
11679
  reqBodyType: "json",
11860
11680
  bodyType: "json",
11861
11681
  });
11862
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11863
- return $dara.cast<UpdateMemoryNodeResponse>(await this.callApi(params, req, runtime), new UpdateMemoryNodeResponse({}));
11864
- } else {
11865
- return $dara.cast<UpdateMemoryNodeResponse>(await this.execute(params, req, runtime), new UpdateMemoryNodeResponse({}));
11866
- }
11867
-
11682
+ return $dara.cast<UpdateMemoryNodeResponse>(await this.callApi(params, req, runtime), new UpdateMemoryNodeResponse({}));
11868
11683
  }
11869
11684
 
11870
11685
  /**
@@ -11913,12 +11728,7 @@ export default class Client extends OpenApi {
11913
11728
  reqBodyType: "json",
11914
11729
  bodyType: "json",
11915
11730
  });
11916
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
11917
- return $dara.cast<UpdatePromptTemplateResponse>(await this.callApi(params, req, runtime), new UpdatePromptTemplateResponse({}));
11918
- } else {
11919
- return $dara.cast<UpdatePromptTemplateResponse>(await this.execute(params, req, runtime), new UpdatePromptTemplateResponse({}));
11920
- }
11921
-
11731
+ return $dara.cast<UpdatePromptTemplateResponse>(await this.callApi(params, req, runtime), new UpdatePromptTemplateResponse({}));
11922
11732
  }
11923
11733
 
11924
11734
  /**