@alicloud/agentloop20260520 2.7.1 → 2.8.1

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.
Files changed (92) hide show
  1. package/dist/client.d.ts +172 -20
  2. package/dist/client.js +229 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
  5. package/dist/models/AddAuditConversionSourceRequest.js +54 -0
  6. package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
  7. package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
  8. package/dist/models/AddAuditConversionSourceResponse.js +63 -0
  9. package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
  10. package/dist/models/CreatePipelineRequest.d.ts +41 -32
  11. package/dist/models/CreatePipelineRequest.js +6 -0
  12. package/dist/models/CreatePipelineRequest.js.map +1 -1
  13. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  14. package/dist/models/ExperimentConfig.d.ts +3 -0
  15. package/dist/models/ExperimentConfig.js.map +1 -1
  16. package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
  17. package/dist/models/GetAuditConversionSourceRequest.js +54 -0
  18. package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
  19. package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
  20. package/dist/models/GetAuditConversionSourceResponse.js +69 -0
  21. package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
  22. package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
  23. package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
  24. package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
  25. package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
  26. package/dist/models/GetPipelineResponseBody.d.ts +51 -42
  27. package/dist/models/GetPipelineResponseBody.js +6 -0
  28. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  29. package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
  30. package/dist/models/ListContextStoresRequest.d.ts +3 -3
  31. package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
  32. package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
  33. package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
  34. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  35. package/dist/models/ListPipelinesRequest.d.ts +5 -17
  36. package/dist/models/ListPipelinesRequest.js.map +1 -1
  37. package/dist/models/ListPipelinesResponseBody.d.ts +45 -33
  38. package/dist/models/ListPipelinesResponseBody.js +6 -0
  39. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  40. package/dist/models/PipelineOssSource.d.ts +69 -0
  41. package/dist/models/PipelineOssSource.js +69 -0
  42. package/dist/models/PipelineOssSource.js.map +1 -0
  43. package/dist/models/PreviewPipelineRequest.d.ts +24 -15
  44. package/dist/models/PreviewPipelineRequest.js +6 -0
  45. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  46. package/dist/models/PreviewPipelineResponseBody.d.ts +28 -12
  47. package/dist/models/PreviewPipelineResponseBody.js +4 -0
  48. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  49. package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
  50. package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
  51. package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
  52. package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
  53. package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
  54. package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
  55. package/dist/models/RunPipelineRequest.d.ts +3 -3
  56. package/dist/models/RunPipelineResponseBody.d.ts +1 -1
  57. package/dist/models/UpdatePipelineRequest.d.ts +44 -36
  58. package/dist/models/UpdatePipelineRequest.js +6 -0
  59. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  60. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  61. package/dist/models/model.d.ts +8 -0
  62. package/dist/models/model.js +22 -6
  63. package/dist/models/model.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/client.ts +235 -20
  66. package/src/models/AddAuditConversionSourceRequest.ts +24 -0
  67. package/src/models/AddAuditConversionSourceResponse.ts +33 -0
  68. package/src/models/CreatePipelineRequest.ts +46 -32
  69. package/src/models/CreatePipelineResponseBody.ts +1 -1
  70. package/src/models/ExperimentConfig.ts +3 -0
  71. package/src/models/GetAuditConversionSourceRequest.ts +24 -0
  72. package/src/models/GetAuditConversionSourceResponse.ts +40 -0
  73. package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
  74. package/src/models/GetContextStoreResponseBody.ts +49 -49
  75. package/src/models/GetPipelineResponseBody.ts +56 -42
  76. package/src/models/GetPipelineRunResponseBody.ts +7 -7
  77. package/src/models/ListContextStoresRequest.ts +3 -3
  78. package/src/models/ListContextStoresResponseBody.ts +8 -8
  79. package/src/models/ListPipelineRunsRequest.ts +1 -1
  80. package/src/models/ListPipelineRunsResponseBody.ts +8 -6
  81. package/src/models/ListPipelinesRequest.ts +5 -17
  82. package/src/models/ListPipelinesResponseBody.ts +50 -33
  83. package/src/models/PipelineOssSource.ts +91 -0
  84. package/src/models/PreviewPipelineRequest.ts +29 -15
  85. package/src/models/PreviewPipelineResponseBody.ts +32 -12
  86. package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
  87. package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
  88. package/src/models/RunPipelineRequest.ts +3 -3
  89. package/src/models/RunPipelineResponseBody.ts +1 -1
  90. package/src/models/UpdatePipelineRequest.ts +49 -36
  91. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  92. package/src/models/model.ts +8 -0
@@ -1,11 +1,12 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
+ import { PipelineOssSource } from "./PipelineOssSource";
3
4
 
4
5
 
5
6
  export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
6
7
  /**
7
8
  * @remarks
8
- * The historical starting point for bootstrap, specified as a Unix timestamp in seconds. It shares the same precision as runOnce/scheduled.fromTime, and millisecond values greater than or equal to 1e12 are automatically converted for compatibility. The cursor starts from this time, aligns to the time grid, and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
9
+ * The bootstrap history start time. The value is a UNIX timestamp in seconds, which has the same precision as runOnce/scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
9
10
  *
10
11
  * @example
11
12
  * 1735660800
@@ -35,7 +36,7 @@ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
35
36
  export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
36
37
  /**
37
38
  * @remarks
38
- * The start time of the data processing window. The value is a UNIX timestamp in seconds and must be less than the value of toTime.
39
+ * The start time of the data processing window. The value is a UNIX timestamp in seconds and must be less than toTime.
39
40
  *
40
41
  * @example
41
42
  * 1735660800
@@ -43,7 +44,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
43
44
  fromTime?: number;
44
45
  /**
45
46
  * @remarks
46
- * The end time of the data processing window. The value is a UNIX timestamp in seconds and must be greater than the value of fromTime.
47
+ * The end time of the data processing window. The value is a UNIX timestamp in seconds and must be greater than fromTime.
47
48
  *
48
49
  * @example
49
50
  * 1735747200
@@ -123,7 +124,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
123
124
  continuous?: CreatePipelineRequestExecutePolicyContinuous;
124
125
  /**
125
126
  * @remarks
126
- * The scheduling mode. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling).
127
+ * The execution mode. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling).
127
128
  *
128
129
  * @example
129
130
  * RunOnce
@@ -131,7 +132,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
131
132
  mode?: string;
132
133
  /**
133
134
  * @remarks
134
- * The single execution configuration. This parameter is required only when mode is set to RunOnce.
135
+ * The RunOnce configuration. This parameter is required only when mode is set to RunOnce.
135
136
  *
136
137
  * @example
137
138
  * {"fromTime":1735660800,"toTime":1735664400}
@@ -139,7 +140,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
139
140
  runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
140
141
  /**
141
142
  * @remarks
142
- * The periodic scheduling configuration. This parameter is required only when mode is set to Scheduled.
143
+ * The scheduled execution configuration. This parameter is required only when mode is set to Scheduled.
143
144
  *
144
145
  * @example
145
146
  * {"interval":"1h","fromTime":1735660800}
@@ -192,7 +193,7 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
192
193
  id?: string;
193
194
  /**
194
195
  * @remarks
195
- * The parameters of the node. The parameters are in key-value pairs and vary based on the node type.
196
+ * The parameters of the node. The parameters use a key-value structure and vary based on the node type.
196
197
  *
197
198
  * @example
198
199
  * {"ID": "ID"}
@@ -237,7 +238,7 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
237
238
  export class CreatePipelineRequestPipeline extends $dara.Model {
238
239
  /**
239
240
  * @remarks
240
- * The list of nodes.
241
+ * The list of nodes. For non-OSS sources, you must pass a non-empty array. For LeRobot sources, you can pass an empty array for direct import. For MCAP sources, you must pass an empty array.
241
242
  *
242
243
  * @example
243
244
  * [{"id":"select-fields","type":"project","parameters":{}}]
@@ -315,7 +316,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
315
316
  dataset?: CreatePipelineRequestSinkConditionDefaultSinkDataset;
316
317
  /**
317
318
  * @remarks
318
- * The default destination type. Valid values: dataset.
319
+ * The default sink type. Currently, only dataset is supported.
319
320
  *
320
321
  * @example
321
322
  * dataset
@@ -390,12 +391,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
390
391
  export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
391
392
  /**
392
393
  * @remarks
393
- * The route destination dataset.
394
+ * The destination dataset for the route.
394
395
  */
395
396
  dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
396
397
  /**
397
398
  * @remarks
398
- * The route destination type. Valid values: dataset.
399
+ * The sink type for the route. Currently, only dataset is supported.
399
400
  *
400
401
  * @example
401
402
  * dataset
@@ -446,7 +447,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
446
447
  id?: string;
447
448
  /**
448
449
  * @remarks
449
- * The destination for the route.
450
+ * The sink for the route.
450
451
  */
451
452
  sink?: CreatePipelineRequestSinkConditionRoutesSink;
452
453
  static names(): { [key: string]: string } {
@@ -480,12 +481,12 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
480
481
  export class CreatePipelineRequestSinkCondition extends $dara.Model {
481
482
  /**
482
483
  * @remarks
483
- * The default destination used when no conditional route is matched.
484
+ * The default sink used when no conditional route is matched.
484
485
  */
485
486
  defaultSink?: CreatePipelineRequestSinkConditionDefaultSink;
486
487
  /**
487
488
  * @remarks
488
- * The route matching mode. Valid values: all.
489
+ * The route matching mode. Currently, only all is supported.
489
490
  *
490
491
  * @example
491
492
  * all
@@ -580,7 +581,7 @@ export class CreatePipelineRequestSink extends $dara.Model {
580
581
  dataset?: CreatePipelineRequestSinkDataset;
581
582
  /**
582
583
  * @remarks
583
- * The destination type. Valid values: dataset.
584
+ * The sink type. Currently, only dataset is supported.
584
585
  *
585
586
  * @example
586
587
  * Dataset
@@ -628,7 +629,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
628
629
  dataset?: string;
629
630
  /**
630
631
  * @remarks
631
- * The filter condition for the dataset data.
632
+ * The data filtering condition for the dataset.
632
633
  *
633
634
  * @example
634
635
  * status = \"pending\"
@@ -668,7 +669,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
668
669
  name?: string;
669
670
  /**
670
671
  * @remarks
671
- * The data type of the field. Valid values: text, long, double, and json.
672
+ * The type of the field. Valid values: `text`, `long`, `double`, and `json`.
672
673
  *
673
674
  * @example
674
675
  * text
@@ -716,7 +717,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
716
717
  project?: string;
717
718
  /**
718
719
  * @remarks
719
- * The filtered query statement (SLS query and analysis syntax).
720
+ * The filtered query statement (SLS query/analysis syntax).
720
721
  *
721
722
  * @example
722
723
  * * | SELECT *
@@ -750,7 +751,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
750
751
  export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
751
752
  /**
752
753
  * @remarks
753
- * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a single fixed column named agent_trajectory, and this parameter no longer affects the output.
754
+ * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a fixed single column `agent_trajectory`, and this parameter no longer affects the output.
754
755
  *
755
756
  * @example
756
757
  * ["input","output","session_id"]
@@ -793,7 +794,7 @@ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
793
794
  export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
794
795
  /**
795
796
  * @remarks
796
- * The trajectory enrichment configuration. It mounts trajectory data into the cleansing result based on the trace_id. When writing to the dataset, the data is stored in the fixed column agent_trajectory, where the column value is the JSON content of the trajectory.
797
+ * Trajectory enrichment: mounts trajectory data into the cleaning result by `trace_id`. When writing to a dataset, the data is stored in the fixed column `agent_trajectory`, and the column value is the JSON content of the trajectory.
797
798
  *
798
799
  * @example
799
800
  * {"enabled":true,"columns":["input","output"]}
@@ -826,7 +827,7 @@ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
826
827
  export class CreatePipelineRequestSource extends $dara.Model {
827
828
  /**
828
829
  * @remarks
829
- * The Dataset datasource config in the current AgentSpace.
830
+ * The datasource config for the dataset under the current AgentSpace.
830
831
  *
831
832
  * @example
832
833
  * {"dataset":"my-dataset","filter":"status = \"pending\""}
@@ -834,7 +835,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
834
835
  dataset?: CreatePipelineRequestSourceDataset;
835
836
  /**
836
837
  * @remarks
837
- * The input fields and their data types. This applies to all data source types.
838
+ * The input fields and their types. For OSS sources, the server derives the input fields from metadata. Omit `source.inputFields`.
838
839
  *
839
840
  * @example
840
841
  * [{"name":"question","type":"text"}]
@@ -842,7 +843,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
842
843
  inputFields?: CreatePipelineRequestSourceInputFields[];
843
844
  /**
844
845
  * @remarks
845
- * The SLS Logstore datasource config.
846
+ * The datasource config for SLS Logstore.
846
847
  *
847
848
  * @example
848
849
  * {"project":"my-sls-project","logstore":"agent-logs"}
@@ -850,7 +851,15 @@ export class CreatePipelineRequestSource extends $dara.Model {
850
851
  logstore?: CreatePipelineRequestSourceLogstore;
851
852
  /**
852
853
  * @remarks
853
- * The configuration of the trajectory data. This parameter is optional and takes effect only when the type is set to trace. It obtains ATIF standard trajectory data from the trajectory cleansing service and extends it based on features.
854
+ * When `source.type` is `oss`, `format`, `region`, `roleArn`, and `uri` in `source.oss` are required. You can omit `formatOptions` or pass an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error.
855
+ *
856
+ * @example
857
+ * {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
858
+ */
859
+ oss?: PipelineOssSource;
860
+ /**
861
+ * @remarks
862
+ * The trajectory data configuration. This parameter is optional and takes effect only when `type` is `trace`. It obtains ATIF standard trajectory data from the trajectory cleaning service and extends the data based on features.
854
863
  *
855
864
  * @example
856
865
  * {"enrich":{"enabled":true,"columns":["input","output"]}}
@@ -858,10 +867,10 @@ export class CreatePipelineRequestSource extends $dara.Model {
858
867
  trajectory?: CreatePipelineRequestSourceTrajectory;
859
868
  /**
860
869
  * @remarks
861
- * The type of the data source. Currently, only SLS is supported.
870
+ * The type of the data source. Valid values: `logstore`, `dataset`, `trace`, and `oss`. If you select `oss`, configure `source.oss`.
862
871
  *
863
872
  * @example
864
- * SLS
873
+ * oss
865
874
  */
866
875
  type?: string;
867
876
  static names(): { [key: string]: string } {
@@ -869,6 +878,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
869
878
  dataset: 'dataset',
870
879
  inputFields: 'inputFields',
871
880
  logstore: 'logstore',
881
+ oss: 'oss',
872
882
  trajectory: 'trajectory',
873
883
  type: 'type',
874
884
  };
@@ -879,6 +889,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
879
889
  dataset: CreatePipelineRequestSourceDataset,
880
890
  inputFields: { 'type': 'array', 'itemType': CreatePipelineRequestSourceInputFields },
881
891
  logstore: CreatePipelineRequestSourceLogstore,
892
+ oss: PipelineOssSource,
882
893
  trajectory: CreatePipelineRequestSourceTrajectory,
883
894
  type: 'string',
884
895
  };
@@ -894,6 +905,9 @@ export class CreatePipelineRequestSource extends $dara.Model {
894
905
  if(this.logstore && typeof (this.logstore as any).validate === 'function') {
895
906
  (this.logstore as any).validate();
896
907
  }
908
+ if(this.oss && typeof (this.oss as any).validate === 'function') {
909
+ (this.oss as any).validate();
910
+ }
897
911
  if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
898
912
  (this.trajectory as any).validate();
899
913
  }
@@ -911,12 +925,12 @@ export class CreatePipelineRequest extends $dara.Model {
911
925
  * The description of the pipeline. The description can be up to 256 characters in length.
912
926
  *
913
927
  * @example
914
- * Collect trace data from SLS and perform data cleaning into a dataset
928
+ * Collect trace data from SLS for data cleaning into a dataset
915
929
  */
916
930
  description?: string;
917
931
  /**
918
932
  * @remarks
919
- * The scheduling policy.
933
+ * The execution policy.
920
934
  *
921
935
  * @example
922
936
  * {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
@@ -924,7 +938,7 @@ export class CreatePipelineRequest extends $dara.Model {
924
938
  executePolicy?: CreatePipelineRequestExecutePolicy;
925
939
  /**
926
940
  * @remarks
927
- * The pipeline configuration, including node orchestration.
941
+ * The pipeline configuration for node orchestration.
928
942
  *
929
943
  * @example
930
944
  * {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
@@ -932,7 +946,7 @@ export class CreatePipelineRequest extends $dara.Model {
932
946
  pipeline?: CreatePipelineRequestPipeline;
933
947
  /**
934
948
  * @remarks
935
- * The pipeline type. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task).
949
+ * The pipeline kind. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task).
936
950
  *
937
951
  * @example
938
952
  * ORCHESTRATION
@@ -948,7 +962,7 @@ export class CreatePipelineRequest extends $dara.Model {
948
962
  pipelineName?: string;
949
963
  /**
950
964
  * @remarks
951
- * The pipeline destination for writing data.
965
+ * The pipeline sink, which is the data write destination.
952
966
  */
953
967
  sink?: CreatePipelineRequestSink;
954
968
  /**
@@ -961,7 +975,7 @@ export class CreatePipelineRequest extends $dara.Model {
961
975
  source?: CreatePipelineRequestSource;
962
976
  /**
963
977
  * @remarks
964
- * The client token that is used to ensure the idempotency of the request. The token is a unique string generated by the client.
978
+ * The idempotency token. It is a unique string generated by the client to ensure the idempotency of the create operation.
965
979
  *
966
980
  * @example
967
981
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePipelineResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID. You can use the ID to troubleshoot issues and locate the request.
8
+ * The request ID, which is used to locate the request for troubleshooting.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -8,6 +8,9 @@ export class ExperimentConfig extends $dara.Model {
8
8
  /**
9
9
  * @remarks
10
10
  * The endpoint connector ID, which is required in user or agent mode.
11
+ *
12
+ * @example
13
+ * otv-odezh-1x1h75w7330v19783f2n4ootvro96751
11
14
  */
12
15
  endpointConnectorId?: string;
13
16
  /**
@@ -0,0 +1,24 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAuditConversionSourceRequest extends $dara.Model {
6
+ static names(): { [key: string]: string } {
7
+ return {
8
+ };
9
+ }
10
+
11
+ static types(): { [key: string]: any } {
12
+ return {
13
+ };
14
+ }
15
+
16
+ validate() {
17
+ super.validate();
18
+ }
19
+
20
+ constructor(map?: { [key: string]: any }) {
21
+ super(map);
22
+ }
23
+ }
24
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAuditConversionSourceResponseBody } from "./GetAuditConversionSourceResponseBody";
4
+
5
+
6
+ export class GetAuditConversionSourceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAuditConversionSourceResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetAuditConversionSourceResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,50 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAuditConversionSourceResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The normalized ID of the transformation object.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * cluster-A
14
+ */
15
+ id?: string;
16
+ /**
17
+ * @remarks
18
+ * Indicates whether the object is selected for the transformation list of the current type. Valid values:
19
+ * - true: The object is selected.
20
+ * - false: The object is not selected. This value is also returned when no audit configuration exists. It does not indicate whether the object is online or the task is healthy.
21
+ *
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * true
26
+ */
27
+ selected?: boolean;
28
+ static names(): { [key: string]: string } {
29
+ return {
30
+ id: 'id',
31
+ selected: 'selected',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ id: 'string',
38
+ selected: 'boolean',
39
+ };
40
+ }
41
+
42
+ validate() {
43
+ super.validate();
44
+ }
45
+
46
+ constructor(map?: { [key: string]: any }) {
47
+ super(map);
48
+ }
49
+ }
50
+