@alicloud/agentloop20260520 2.7.1 → 2.8.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.d.ts +110 -2
- package/dist/client.js +167 -2
- package/dist/client.js.map +1 -1
- package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/AddAuditConversionSourceRequest.js +54 -0
- package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/AddAuditConversionSourceResponse.js +63 -0
- package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/ExperimentConfig.d.ts +3 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/GetAuditConversionSourceRequest.js +54 -0
- package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
- package/dist/models/GetAuditConversionSourceResponse.js +69 -0
- package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
- package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
- package/dist/models/ListContextStoresRequest.d.ts +3 -3
- package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
- package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +20 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +173 -2
- package/src/models/AddAuditConversionSourceRequest.ts +24 -0
- package/src/models/AddAuditConversionSourceResponse.ts +33 -0
- package/src/models/ExperimentConfig.ts +3 -0
- package/src/models/GetAuditConversionSourceRequest.ts +24 -0
- package/src/models/GetAuditConversionSourceResponse.ts +40 -0
- package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
- package/src/models/GetContextStoreResponseBody.ts +49 -49
- package/src/models/ListContextStoresRequest.ts +3 -3
- package/src/models/ListContextStoresResponseBody.ts +8 -8
- package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
- package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
- package/src/models/model.ts +7 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to write item events for dropped
|
|
5
|
+
* Specifies whether to write item events for candidates dropped during recall. Default value: false.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* false
|
|
@@ -10,7 +10,7 @@ export declare class GetContextStoreResponseBodyConfigAudit extends $dara.Model
|
|
|
10
10
|
droppedCandidates?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The recording method for recalled queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* raw
|
|
@@ -46,7 +46,7 @@ export declare class GetContextStoreResponseBodyConfigAuditLogStore extends $dar
|
|
|
46
46
|
logstore?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The name of the SLS project where the audit logs
|
|
49
|
+
* The name of the SLS project where the audit logs for the experience store are stored.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* agentloop-xxx
|
|
@@ -86,7 +86,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesModel ex
|
|
|
86
86
|
export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy extends $dara.Model {
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The allowed storage actions.
|
|
89
|
+
* The allowed storage actions. Default value: all actions, including ADD, UPDATE, MERGE, and DELETE.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -134,7 +134,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPoliciesStorageP
|
|
|
134
134
|
similarityThreshold?: number;
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
* The number of days before
|
|
137
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* 0
|
|
@@ -162,7 +162,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
162
162
|
categories?: string[];
|
|
163
163
|
/**
|
|
164
164
|
* @remarks
|
|
165
|
-
* The custom extraction
|
|
165
|
+
* The custom extraction instruction. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
166
166
|
*
|
|
167
167
|
* @example
|
|
168
168
|
* Extract only user product preferences
|
|
@@ -178,10 +178,10 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
178
178
|
enabled?: boolean;
|
|
179
179
|
/**
|
|
180
180
|
* @remarks
|
|
181
|
-
* The list of exclusion rules. Content that matches
|
|
181
|
+
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
182
182
|
*
|
|
183
183
|
* @example
|
|
184
|
-
* ["
|
|
184
|
+
* ["密码","证件号"]
|
|
185
185
|
*/
|
|
186
186
|
excludeRules?: string[];
|
|
187
187
|
/**
|
|
@@ -207,12 +207,12 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicies extends
|
|
|
207
207
|
preset?: string;
|
|
208
208
|
/**
|
|
209
209
|
* @remarks
|
|
210
|
-
* The independent storage rules for this policy. If
|
|
210
|
+
* The independent storage rules for this policy. If omitted, the original value is retained. A new policy uses the default value. Repeatedly confirmed memories refresh the validity period by default.
|
|
211
211
|
*/
|
|
212
212
|
storagePolicy?: GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy;
|
|
213
213
|
/**
|
|
214
214
|
* @remarks
|
|
215
|
-
* The stable ID of the extraction policy.
|
|
215
|
+
* The stable ID of the extraction policy. The ID must start with a letter and can contain only letters, digits, underscores, and hyphens. It can be up to 64 characters in length. The ID is unique within the same context library and remains unchanged when the name or instructions are modified.
|
|
216
216
|
*
|
|
217
217
|
* This parameter is required.
|
|
218
218
|
*
|
|
@@ -262,7 +262,7 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
|
|
|
262
262
|
categories?: string[];
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
* The custom extraction
|
|
265
|
+
* The custom extraction instruction. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
|
|
266
266
|
*
|
|
267
267
|
* @example
|
|
268
268
|
* Extract only user product preferences
|
|
@@ -270,10 +270,10 @@ export declare class GetContextStoreResponseBodyConfigExtractionPolicy extends $
|
|
|
270
270
|
customInstructions?: string;
|
|
271
271
|
/**
|
|
272
272
|
* @remarks
|
|
273
|
-
* The list of exclusion rules. Content that matches
|
|
273
|
+
* The list of exclusion rules. Content that matches the rules is not extracted.
|
|
274
274
|
*
|
|
275
275
|
* @example
|
|
276
|
-
* ["
|
|
276
|
+
* ["密码","证件号"]
|
|
277
277
|
*/
|
|
278
278
|
excludeRules?: string[];
|
|
279
279
|
/**
|
|
@@ -411,7 +411,7 @@ export declare class GetContextStoreResponseBodyConfigOutputDataset extends $dar
|
|
|
411
411
|
export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
*
|
|
414
|
+
* Specifies that at least one of the scope fields must be non-empty. Valid values for the elements: userId, agentId, appId, and runId.
|
|
415
415
|
*
|
|
416
416
|
* @example
|
|
417
417
|
* ["userId"]
|
|
@@ -431,7 +431,7 @@ export declare class GetContextStoreResponseBodyConfigScopePolicy extends $dara.
|
|
|
431
431
|
export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
|
|
432
432
|
/**
|
|
433
433
|
* @remarks
|
|
434
|
-
* The description of the field. This parameter is required when usage is set to extraction-input
|
|
434
|
+
* The description of the field. This parameter is required when usage is set to extraction-input. The description is appended to the extraction prompt.
|
|
435
435
|
*
|
|
436
436
|
* @example
|
|
437
437
|
* Customer tier
|
|
@@ -439,7 +439,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
439
439
|
description?: string;
|
|
440
440
|
/**
|
|
441
441
|
* @remarks
|
|
442
|
-
* Specifies whether the field is
|
|
442
|
+
* Specifies whether the field is sensitive.
|
|
443
443
|
*
|
|
444
444
|
* @example
|
|
445
445
|
* false
|
|
@@ -455,7 +455,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetCustomFields
|
|
|
455
455
|
sourceField?: string;
|
|
456
456
|
/**
|
|
457
457
|
* @remarks
|
|
458
|
-
* The target
|
|
458
|
+
* The target path for writing, such as metadata.customerTier.
|
|
459
459
|
*
|
|
460
460
|
* @example
|
|
461
461
|
* metadata.customerTier
|
|
@@ -519,7 +519,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy
|
|
|
519
519
|
startSeq?: number;
|
|
520
520
|
/**
|
|
521
521
|
* @remarks
|
|
522
|
-
* The
|
|
522
|
+
* The Dataset version specified for the fixed mode.
|
|
523
523
|
*
|
|
524
524
|
* @example
|
|
525
525
|
* v3
|
|
@@ -544,7 +544,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
544
544
|
customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
|
|
545
545
|
/**
|
|
546
546
|
* @remarks
|
|
547
|
-
* The name of the
|
|
547
|
+
* The name of the Dataset in the same AgentSpace. The name cannot be changed after creation.
|
|
548
548
|
*
|
|
549
549
|
* @example
|
|
550
550
|
* trajectory-with-crm-profile
|
|
@@ -552,7 +552,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
552
552
|
datasetName?: string;
|
|
553
553
|
/**
|
|
554
554
|
* @remarks
|
|
555
|
-
* The row filter
|
|
555
|
+
* The row filter condition.
|
|
556
556
|
*/
|
|
557
557
|
filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
|
|
558
558
|
/**
|
|
@@ -565,7 +565,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
565
565
|
pollIntervalSeconds?: number;
|
|
566
566
|
/**
|
|
567
567
|
* @remarks
|
|
568
|
-
* The row schema contract of the
|
|
568
|
+
* The row schema contract of the Dataset. The value is fixed to MemorySourceV1 in the current phase.
|
|
569
569
|
*
|
|
570
570
|
* @example
|
|
571
571
|
* MemorySourceV1
|
|
@@ -573,7 +573,7 @@ export declare class GetContextStoreResponseBodyConfigSourceDataset extends $dar
|
|
|
573
573
|
schemaContract?: string;
|
|
574
574
|
/**
|
|
575
575
|
* @remarks
|
|
576
|
-
* The version consumption policy of the
|
|
576
|
+
* The version consumption policy of the Dataset.
|
|
577
577
|
*/
|
|
578
578
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy;
|
|
579
579
|
static names(): {
|
|
@@ -598,7 +598,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
598
598
|
agentNames?: string[];
|
|
599
599
|
/**
|
|
600
600
|
* @remarks
|
|
601
|
-
* Specifies whether to exclude degraded trajectories. Default value: false, which
|
|
601
|
+
* Specifies whether to exclude degraded trajectories. Default value: false, which indicates that degraded trajectories are included.
|
|
602
602
|
*
|
|
603
603
|
* @example
|
|
604
604
|
* false
|
|
@@ -642,7 +642,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryFilter ext
|
|
|
642
642
|
export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping extends $dara.Model {
|
|
643
643
|
/**
|
|
644
644
|
* @remarks
|
|
645
|
-
* The JSONPath
|
|
645
|
+
* The JSONPath of agentId. Default value: $.agent_name.
|
|
646
646
|
*
|
|
647
647
|
* @example
|
|
648
648
|
* $.agent_name
|
|
@@ -650,7 +650,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
650
650
|
agentId?: string;
|
|
651
651
|
/**
|
|
652
652
|
* @remarks
|
|
653
|
-
* The JSONPath
|
|
653
|
+
* The JSONPath of appId. Default value: $.service_names[0].
|
|
654
654
|
*
|
|
655
655
|
* @example
|
|
656
656
|
* $.service_names[0]
|
|
@@ -658,7 +658,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
658
658
|
appId?: string;
|
|
659
659
|
/**
|
|
660
660
|
* @remarks
|
|
661
|
-
* The JSONPath
|
|
661
|
+
* The JSONPath of runId. By default, this field is not mapped to prevent memory isolation by a single trajectory.
|
|
662
662
|
*
|
|
663
663
|
* @example
|
|
664
664
|
* $.trajectory_id
|
|
@@ -666,7 +666,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMappi
|
|
|
666
666
|
runId?: string;
|
|
667
667
|
/**
|
|
668
668
|
* @remarks
|
|
669
|
-
* The JSONPath
|
|
669
|
+
* The JSONPath of userId. By default, version 1 does not map this field, and version 2 sequentially retrieves user.id and enduser.id from agent attributes.
|
|
670
670
|
*
|
|
671
671
|
* @example
|
|
672
672
|
* $.trajectory_extensions.user_id
|
|
@@ -707,12 +707,12 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $
|
|
|
707
707
|
pollIntervalSeconds?: number;
|
|
708
708
|
/**
|
|
709
709
|
* @remarks
|
|
710
|
-
* The scope field mapping. Dot paths, array
|
|
710
|
+
* The scope field mapping. Dot paths, array subscripts, and quoted property keys are supported. An empty string indicates no mapping.
|
|
711
711
|
*/
|
|
712
712
|
scopeMapping?: GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping;
|
|
713
713
|
/**
|
|
714
714
|
* @remarks
|
|
715
|
-
* The default mapping version for trajectory identity.
|
|
715
|
+
* The default mapping version for trajectory identity. A value of 1 retains legacy rules, and a value of 2 reads user.id or enduser.id from agent attributes. The version is frozen upon creation.
|
|
716
716
|
*
|
|
717
717
|
* @example
|
|
718
718
|
* 2
|
|
@@ -720,7 +720,7 @@ export declare class GetContextStoreResponseBodyConfigSourceTrajectory extends $
|
|
|
720
720
|
scopeMappingVersion?: number;
|
|
721
721
|
/**
|
|
722
722
|
* @remarks
|
|
723
|
-
* The start time for trajectory consumption, in ISO 8601 UTC format. If not specified, the
|
|
723
|
+
* The start time for trajectory consumption, in ISO 8601 UTC format. If not specified, the creation time is used by default.
|
|
724
724
|
*
|
|
725
725
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
726
726
|
*
|
|
@@ -750,7 +750,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
750
750
|
mode?: string;
|
|
751
751
|
/**
|
|
752
752
|
* @remarks
|
|
753
|
-
* The initial consumed append sequence number, which is a decimal string of a non-negative int64. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
|
|
753
|
+
* The initial consumed append sequence number, which is a decimal string of a non-negative int64 value. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
|
|
754
754
|
*
|
|
755
755
|
* @example
|
|
756
756
|
* 0
|
|
@@ -770,7 +770,7 @@ export declare class GetContextStoreResponseBodyConfigSourceVersionPolicy extend
|
|
|
770
770
|
export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model {
|
|
771
771
|
/**
|
|
772
772
|
* @remarks
|
|
773
|
-
* The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it
|
|
773
|
+
* The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it belonged upon creation.
|
|
774
774
|
*
|
|
775
775
|
* @example
|
|
776
776
|
* my-agent-space
|
|
@@ -809,7 +809,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
809
809
|
format?: string;
|
|
810
810
|
/**
|
|
811
811
|
* @remarks
|
|
812
|
-
* The maximum number of records read in a single dataset operation. Valid values: 1 to 1000.
|
|
812
|
+
* The maximum number of records read in a single dataset read operation. Valid values: 1 to 1000.
|
|
813
813
|
*
|
|
814
814
|
* @example
|
|
815
815
|
* 1000
|
|
@@ -832,7 +832,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
832
832
|
trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
|
|
833
833
|
/**
|
|
834
834
|
* @remarks
|
|
835
|
-
* The source type, which can be trajectory or dataset. For the experience type, if this parameter is not
|
|
835
|
+
* The source type, which can be trajectory or dataset. For the experience type, if this parameter is not specified, trajectory is used. If dataset is used, the datasetName, format, and binding at this level are used. The default is manual. If versionPolicy.mode is set to follow, continuous processing is performed and automatically applied to the experience store. For the memory type, if this parameter is not specified, manual is used, meaning only AddContexts writes are allowed. Otherwise, the trajectory or dataset sub-configuration with the same name is used. This parameter cannot be changed after creation.
|
|
836
836
|
*
|
|
837
837
|
* @example
|
|
838
838
|
* dataset
|
|
@@ -840,7 +840,7 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
840
840
|
type?: string;
|
|
841
841
|
/**
|
|
842
842
|
* @remarks
|
|
843
|
-
* The continuous consumption configuration for the native experience store dataset. The default is manual. The follow mode only allows binding.selection.mode=all and consumes by append sequence number. This parameter cannot be changed after creation.
|
|
843
|
+
* The continuous consumption configuration for the native experience store dataset. The default is manual. The follow mode only allows binding.selection.mode=all and consumes data by append sequence number. This parameter cannot be changed after creation.
|
|
844
844
|
*/
|
|
845
845
|
versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
|
|
846
846
|
static names(): {
|
|
@@ -857,14 +857,14 @@ export declare class GetContextStoreResponseBodyConfigSource extends $dara.Model
|
|
|
857
857
|
export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
|
|
858
858
|
/**
|
|
859
859
|
* @remarks
|
|
860
|
-
* The processing progress. For memory trajectory, the
|
|
860
|
+
* The processing progress. For memory trajectory, the format is {processTimeNs, watermarkMs}. For dataset, the format is {seq}. For manual, the format is {}. The seq for experience dataset follow uses an exact int64 decimal string.
|
|
861
861
|
*/
|
|
862
862
|
checkpoint?: {
|
|
863
863
|
[key: string]: any;
|
|
864
864
|
};
|
|
865
865
|
/**
|
|
866
866
|
* @remarks
|
|
867
|
-
* The current reserved sequence window {after,until,runId}
|
|
867
|
+
* The current reserved sequence window for experience dataset follow, formatted as {after, until, runId}. All sequence numbers are decimal strings. A failure does not advance the submitted checkpoint.
|
|
868
868
|
*/
|
|
869
869
|
currentWindow?: {
|
|
870
870
|
[key: string]: string;
|
|
@@ -879,7 +879,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
879
879
|
lastError?: string;
|
|
880
880
|
/**
|
|
881
881
|
* @remarks
|
|
882
|
-
* The run ID of the last successful automatic application to the native experience library. This is for audit purposes only.
|
|
882
|
+
* The run ID of the last successful automatic application to the native experience library. This field is for audit purposes only.
|
|
883
883
|
*
|
|
884
884
|
* @example
|
|
885
885
|
* opr-example
|
|
@@ -923,7 +923,7 @@ export declare class GetContextStoreResponseBodyConfigSourceStatus extends $dara
|
|
|
923
923
|
export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
|
|
924
924
|
/**
|
|
925
925
|
* @remarks
|
|
926
|
-
* The allowed storage actions.
|
|
926
|
+
* The allowed storage actions. Default value: all actions, including ADD, UPDATE, MERGE, and DELETE.
|
|
927
927
|
*
|
|
928
928
|
* @example
|
|
929
929
|
* ["ADD","UPDATE","MERGE","DELETE"]
|
|
@@ -971,7 +971,7 @@ export declare class GetContextStoreResponseBodyConfigStoragePolicy extends $dar
|
|
|
971
971
|
similarityThreshold?: number;
|
|
972
972
|
/**
|
|
973
973
|
* @remarks
|
|
974
|
-
* The number of days before
|
|
974
|
+
* The number of days before memories expire. A value of 0 indicates that memories do not expire.
|
|
975
975
|
*
|
|
976
976
|
* @example
|
|
977
977
|
* 0
|
|
@@ -1001,7 +1001,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1001
1001
|
auditLogStore?: GetContextStoreResponseBodyConfigAuditLogStore;
|
|
1002
1002
|
/**
|
|
1003
1003
|
* @remarks
|
|
1004
|
-
* The extraction policies.
|
|
1004
|
+
* The extraction policies. You can configure 1 to 10 policies. The strategyVersion indicates the snapshot version of the global configuration.
|
|
1005
1005
|
*/
|
|
1006
1006
|
extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
|
|
1007
1007
|
/**
|
|
@@ -1011,12 +1011,12 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1011
1011
|
extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
|
|
1012
1012
|
/**
|
|
1013
1013
|
* @remarks
|
|
1014
|
-
* The
|
|
1014
|
+
* The coordinates of the system-assigned event Logstore for the memory type, which is located in the SLS project bound to the AgentSpace.
|
|
1015
1015
|
*/
|
|
1016
1016
|
innerSource?: GetContextStoreResponseBodyConfigInnerSource;
|
|
1017
1017
|
/**
|
|
1018
1018
|
* @remarks
|
|
1019
|
-
* The metadata field mapping. The key is the business field and the value is the storage field.
|
|
1019
|
+
* The metadata field mapping. The key is the business field, and the value is the storage field.
|
|
1020
1020
|
*
|
|
1021
1021
|
* @example
|
|
1022
1022
|
* {"userId":"user_id","sessionId":"session_id"}
|
|
@@ -1034,7 +1034,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1034
1034
|
miningInterval?: string;
|
|
1035
1035
|
/**
|
|
1036
1036
|
* @remarks
|
|
1037
|
-
* The name of the internal running task associated with the server. Continuous databases use this for read-only viewing of consumption records, while manual databases can run limited mining. This
|
|
1037
|
+
* The name of the internal running task associated with the server. Continuous databases use this for read-only viewing of consumption records, while manual databases can run limited mining. This name is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience database.
|
|
1038
1038
|
*
|
|
1039
1039
|
* @example
|
|
1040
1040
|
* experience-review-library
|
|
@@ -1070,7 +1070,7 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1070
1070
|
scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* @remarks
|
|
1073
|
-
* The list of service names, which
|
|
1073
|
+
* The list of service names, which are used together with source.agentSpace to locate the trace data source. The list cannot be changed in the current phase.
|
|
1074
1074
|
*
|
|
1075
1075
|
* @example
|
|
1076
1076
|
* ["order-service","payment-service"]
|
|
@@ -1078,12 +1078,12 @@ export declare class GetContextStoreResponseBodyConfig extends $dara.Model {
|
|
|
1078
1078
|
serviceNames?: string[];
|
|
1079
1079
|
/**
|
|
1080
1080
|
* @remarks
|
|
1081
|
-
* The datasource config
|
|
1081
|
+
* The datasource config provided by the user, which serves only as the root identity of the data source.
|
|
1082
1082
|
*/
|
|
1083
1083
|
source?: GetContextStoreResponseBodyConfigSource;
|
|
1084
1084
|
/**
|
|
1085
1085
|
* @remarks
|
|
1086
|
-
* The running status of the data source for the memory type and experience dataset follow. The experience library submits a checkpoint only after it is published and automatically applied.
|
|
1086
|
+
* The running status of the data source for the memory type and experience dataset follow. The experience library submits a checkpoint only after it is published and automatically applied. Pausing and restarting retain the checkpoint.
|
|
1087
1087
|
*/
|
|
1088
1088
|
sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
|
|
1089
1089
|
/**
|
|
@@ -1139,7 +1139,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1139
1139
|
contextStoreName?: string;
|
|
1140
1140
|
/**
|
|
1141
1141
|
* @remarks
|
|
1142
|
-
* The type of the context store, such as experience
|
|
1142
|
+
* The type of the context store, such as experience for experience store and memory for memory store.
|
|
1143
1143
|
*
|
|
1144
1144
|
* @example
|
|
1145
1145
|
* experience
|
|
@@ -1181,7 +1181,7 @@ export declare class GetContextStoreResponseBody extends $dara.Model {
|
|
|
1181
1181
|
requestId?: string;
|
|
1182
1182
|
/**
|
|
1183
1183
|
* @remarks
|
|
1184
|
-
* The status of the context store
|
|
1184
|
+
* The status of the context store, such as ACTIVE, INITIALIZING, or FAILED.
|
|
1185
1185
|
*
|
|
1186
1186
|
* @example
|
|
1187
1187
|
* ACTIVE
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ListContextStoresRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The name of the context store used
|
|
5
|
+
* The name of the context store used to filter results. Exact match is supported. If you do not specify this parameter, no filtering is applied.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* my-context-store
|
|
@@ -10,7 +10,7 @@ export declare class ListContextStoresRequest extends $dara.Model {
|
|
|
10
10
|
contextStoreName?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The type of the context store used
|
|
13
|
+
* The type of the context store used to filter results, such as experience or memory. If you do not specify this parameter, no filtering is applied.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* experience
|
|
@@ -34,7 +34,7 @@ export declare class ListContextStoresRequest extends $dara.Model {
|
|
|
34
34
|
nextToken?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The data source type
|
|
37
|
+
* The memory data source type used to filter results. Valid values: manual, trajectory, and dataset. If you do not specify this parameter, no filtering is applied.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* trajectory
|
|
@@ -26,7 +26,7 @@ export declare class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
26
26
|
contextType?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The time when the context store was created. The time is in
|
|
29
|
+
* The time when the context store was created. The time is displayed in ISO 8601 UTC format.
|
|
30
30
|
*
|
|
31
31
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
32
32
|
*
|
|
@@ -60,7 +60,7 @@ export declare class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
60
60
|
serviceNames?: string[];
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The data source type
|
|
63
|
+
* The memory data source type. Valid values: manual, trajectory, and dataset. This parameter has a value only for the memory type.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* trajectory
|
|
@@ -76,7 +76,7 @@ export declare class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
76
76
|
status?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The storage mode
|
|
79
|
+
* The memory storage mode. Valid values: event and upsert. This parameter has a value only for the memory type.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* upsert
|
|
@@ -84,12 +84,12 @@ export declare class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
84
84
|
storageMode?: string;
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The actual storage modes of each policy. A hybrid
|
|
87
|
+
* The actual storage modes of each policy. A hybrid store includes both event and upsert.
|
|
88
88
|
*/
|
|
89
89
|
storageModes?: string[];
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* The time when the context store was last updated. The time is in
|
|
92
|
+
* The time when the context store was last updated. The time is displayed in ISO 8601 UTC format.
|
|
93
93
|
*
|
|
94
94
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
95
95
|
*
|
|
@@ -111,7 +111,7 @@ export declare class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
111
111
|
export declare class ListContextStoresResponseBody extends $dara.Model {
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The maximum number of entries per page specified in the request.
|
|
114
|
+
* The maximum number of entries per page specified in the request. This value is echoed in the response.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* 20
|
|
@@ -119,7 +119,7 @@ export declare class ListContextStoresResponseBody extends $dara.Model {
|
|
|
119
119
|
maxResults?: number;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The token for the next page. An empty string indicates that the
|
|
122
|
+
* The token for the next page. An empty string indicates that the current page is the last page.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* MTIzNDU2Nzg5MA==
|
|
@@ -127,7 +127,7 @@ export declare class ListContextStoresResponseBody extends $dara.Model {
|
|
|
127
127
|
nextToken?: string;
|
|
128
128
|
/**
|
|
129
129
|
* @remarks
|
|
130
|
-
* The request ID, which
|
|
130
|
+
* The request ID, which can be used to locate the request during troubleshooting.
|
|
131
131
|
*
|
|
132
132
|
* @example
|
|
133
133
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RemoveAuditConversionSourceRequest extends $dara.Model {
|
|
3
|
+
static names(): {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
static types(): {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
validate(): void;
|
|
10
|
+
constructor(map?: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RemoveAuditConversionSourceRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RemoveAuditConversionSourceRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {};
|
|
42
|
+
}
|
|
43
|
+
static types() {
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
constructor(map) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.RemoveAuditConversionSourceRequest = RemoveAuditConversionSourceRequest;
|
|
54
|
+
//# sourceMappingURL=RemoveAuditConversionSourceRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoveAuditConversionSourceRequest.js","sourceRoot":"","sources":["../../src/models/RemoveAuditConversionSourceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IACjE,MAAM,CAAC,KAAK;QACV,OAAO,EACN,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO,EACN,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlBD,gFAkBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RemoveAuditConversionSourceResponse extends $dara.Model {
|
|
3
|
+
headers?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
statusCode?: number;
|
|
7
|
+
static names(): {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
static types(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
validate(): void;
|
|
14
|
+
constructor(map?: {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RemoveAuditConversionSourceResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RemoveAuditConversionSourceResponse extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
headers: 'headers',
|
|
43
|
+
statusCode: 'statusCode',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
49
|
+
statusCode: 'number',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
if (this.headers) {
|
|
54
|
+
$dara.Model.validateMap(this.headers);
|
|
55
|
+
}
|
|
56
|
+
super.validate();
|
|
57
|
+
}
|
|
58
|
+
constructor(map) {
|
|
59
|
+
super(map);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.RemoveAuditConversionSourceResponse = RemoveAuditConversionSourceResponse;
|
|
63
|
+
//# sourceMappingURL=RemoveAuditConversionSourceResponse.js.map
|