@epilot/entity-mapping-client 0.10.4 → 0.12.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/definition.js +1 -1
- package/dist/openapi-runtime.json +41 -25
- package/dist/openapi.d.ts +3148 -85
- package/dist/openapi.json +1043 -133
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -7,6 +7,25 @@ import type {
|
|
|
7
7
|
} from 'openapi-client-axios';
|
|
8
8
|
|
|
9
9
|
declare namespace Components {
|
|
10
|
+
namespace Responses {
|
|
11
|
+
export interface MappingCheckForbidden {
|
|
12
|
+
/**
|
|
13
|
+
* example:
|
|
14
|
+
* Forbidden
|
|
15
|
+
*/
|
|
16
|
+
message?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface MappingCheckTooLarge {
|
|
19
|
+
message?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface MappingCheckUnauthorized {
|
|
22
|
+
/**
|
|
23
|
+
* example:
|
|
24
|
+
* Unauthorized
|
|
25
|
+
*/
|
|
26
|
+
message?: string;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
10
29
|
namespace Schemas {
|
|
11
30
|
export interface AppendValueMapper {
|
|
12
31
|
mode: /**
|
|
@@ -64,14 +83,13 @@ declare namespace Components {
|
|
|
64
83
|
}
|
|
65
84
|
export interface Entity {
|
|
66
85
|
[name: string]: any;
|
|
67
|
-
_id
|
|
68
|
-
_schema
|
|
86
|
+
_id: string;
|
|
87
|
+
_schema: string;
|
|
69
88
|
_title?: string | null;
|
|
70
|
-
_org
|
|
89
|
+
_org: string;
|
|
71
90
|
_tags?: string[] | null;
|
|
72
|
-
_created_at
|
|
73
|
-
_updated_at
|
|
74
|
-
required?: any;
|
|
91
|
+
_created_at: string | null;
|
|
92
|
+
_updated_at: string | null;
|
|
75
93
|
}
|
|
76
94
|
export interface EntityRef {
|
|
77
95
|
/**
|
|
@@ -92,7 +110,18 @@ declare namespace Components {
|
|
|
92
110
|
/**
|
|
93
111
|
* A reference (id and schema) to the entity to be used as source.
|
|
94
112
|
*/
|
|
95
|
-
source_ref:
|
|
113
|
+
source_ref: {
|
|
114
|
+
/**
|
|
115
|
+
* id of the source entity to be mapped
|
|
116
|
+
*/
|
|
117
|
+
entity_id: string;
|
|
118
|
+
/**
|
|
119
|
+
* schema of the source entity
|
|
120
|
+
* example:
|
|
121
|
+
* submission
|
|
122
|
+
*/
|
|
123
|
+
entity_schema?: string;
|
|
124
|
+
};
|
|
96
125
|
/**
|
|
97
126
|
* Reference to the current iteration's entity when running inside a flow loop.
|
|
98
127
|
* When set, its fields and relations are merged into the source context;
|
|
@@ -100,16 +129,69 @@ declare namespace Components {
|
|
|
100
129
|
* to the iteration entity rather than to a same-schema relation of the source.
|
|
101
130
|
*
|
|
102
131
|
*/
|
|
103
|
-
loop_ref?:
|
|
132
|
+
loop_ref?: {
|
|
133
|
+
/**
|
|
134
|
+
* id of the source entity to be mapped
|
|
135
|
+
*/
|
|
136
|
+
entity_id: string;
|
|
137
|
+
/**
|
|
138
|
+
* schema of the source entity
|
|
139
|
+
* example:
|
|
140
|
+
* submission
|
|
141
|
+
*/
|
|
142
|
+
entity_schema?: string;
|
|
143
|
+
};
|
|
104
144
|
/**
|
|
105
145
|
* Mapping Configuration to apply.
|
|
106
146
|
*/
|
|
107
147
|
targets: TargetConfig[];
|
|
148
|
+
/**
|
|
149
|
+
* The entities earlier steps of the same run produced, keyed by the id of the automation action
|
|
150
|
+
* (later: Flow task) that produced them, in execution order. The executor passes what it recorded
|
|
151
|
+
* as each action's `outputs`. A key with an empty list says the action is known to the run but
|
|
152
|
+
* produced nothing (skipped, failed, or no entity); a mapping that reads it is an ordinary empty
|
|
153
|
+
* copy. A referenced id with no key at all is reported as an `unresolved_output_reference`
|
|
154
|
+
* warning, so send every preceding action's id, including the ones that ran nothing.
|
|
155
|
+
*
|
|
156
|
+
* Mapping attributes read them as `$outputOf['<id>']` (the last entity of that id, so a loop
|
|
157
|
+
* action yields its latest iteration) and `$outputsOf['<id>']` (every entity of that id);
|
|
158
|
+
* relation attributes select them with `source_filter.output_of`. An entity is taken from the
|
|
159
|
+
* source entity's hydrated relations when the producing action linked it back, otherwise it is
|
|
160
|
+
* fetched by id when a target references the id. Without an entry for an id, the engine falls
|
|
161
|
+
* back to the relations tagged `_hidden_<id>` (the convention existing configs use).
|
|
162
|
+
*
|
|
163
|
+
* example:
|
|
164
|
+
* {
|
|
165
|
+
* "9ec3711b-db63-449c-b894-54d5bb622a8f": [
|
|
166
|
+
* {
|
|
167
|
+
* "entity_id": "4c7a6d2e-1f3b-4b8e-9c21-0d5e6f7a8b9c",
|
|
168
|
+
* "entity_schema": "contact"
|
|
169
|
+
* }
|
|
170
|
+
* ]
|
|
171
|
+
* }
|
|
172
|
+
*/
|
|
173
|
+
outputs?: {
|
|
174
|
+
[name: string]: /* One entity an earlier action or task produced */ OutputEntityRef[];
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* One id per entry in `targets`, in the same order: the id that target's result is published under,
|
|
178
|
+
* the same key as in `outputs` (the automation action or Flow task that runs the target). Read in preview mode
|
|
179
|
+
* only: each target's would-be entity becomes the output of its id for the targets after it
|
|
180
|
+
* (`$outputOf['<id>']`, `source_filter.output_of`), so a chain of actions is previewed as it would
|
|
181
|
+
* run, instead of reading what an earlier run stored. The response then lists the entities per target
|
|
182
|
+
* in `preview_targets`.
|
|
183
|
+
*
|
|
184
|
+
*/
|
|
185
|
+
output_ids?: string[];
|
|
108
186
|
}
|
|
109
187
|
export interface ExecuteMappingResp {
|
|
110
188
|
mapped_entities: Entity[];
|
|
111
189
|
failures?: MappingFailure[];
|
|
112
190
|
warnings?: MappingWarning[];
|
|
191
|
+
/**
|
|
192
|
+
* In preview mode with `output_ids`, the entities and failure of each target, in order
|
|
193
|
+
*/
|
|
194
|
+
preview_targets?: /* What one target would write, in preview mode with `output_ids` */ PreviewTarget[];
|
|
113
195
|
}
|
|
114
196
|
/**
|
|
115
197
|
* Build relations between a source entity and one or more target entities, dynamically identified
|
|
@@ -118,12 +200,34 @@ declare namespace Components {
|
|
|
118
200
|
/**
|
|
119
201
|
* Entity for which to add relations.
|
|
120
202
|
*/
|
|
121
|
-
source_ref:
|
|
203
|
+
source_ref: {
|
|
204
|
+
/**
|
|
205
|
+
* id of the source entity to be mapped
|
|
206
|
+
*/
|
|
207
|
+
entity_id: string;
|
|
208
|
+
/**
|
|
209
|
+
* schema of the source entity
|
|
210
|
+
* example:
|
|
211
|
+
* submission
|
|
212
|
+
*/
|
|
213
|
+
entity_schema?: string;
|
|
214
|
+
};
|
|
122
215
|
target?: {
|
|
123
216
|
/**
|
|
124
217
|
* Main Entity from where to locate target entities. Eg. submisssion entity
|
|
125
218
|
*/
|
|
126
|
-
main_entity_ref:
|
|
219
|
+
main_entity_ref: {
|
|
220
|
+
/**
|
|
221
|
+
* id of the source entity to be mapped
|
|
222
|
+
*/
|
|
223
|
+
entity_id: string;
|
|
224
|
+
/**
|
|
225
|
+
* schema of the source entity
|
|
226
|
+
* example:
|
|
227
|
+
* submission
|
|
228
|
+
*/
|
|
229
|
+
entity_schema?: string;
|
|
230
|
+
};
|
|
127
231
|
/**
|
|
128
232
|
* Relation mappings
|
|
129
233
|
*/
|
|
@@ -144,10 +248,41 @@ declare namespace Components {
|
|
|
144
248
|
};
|
|
145
249
|
};
|
|
146
250
|
additional_relations?: RelationItem[];
|
|
251
|
+
/**
|
|
252
|
+
* The entities earlier actions (later: Flow tasks) of the same run produced, keyed by the
|
|
253
|
+
* producing action's id, as on `ExecuteMappingReq.outputs`. `relation_attributes` select them with
|
|
254
|
+
* `source_filter.output_of`. An output that the main entity's relations also contain is used in
|
|
255
|
+
* its hydrated form; otherwise its `{ _id, _schema }` reference is enough for the relation write.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
outputs?: {
|
|
259
|
+
[name: string]: /* One entity an earlier action or task produced */ OutputEntityRef[];
|
|
260
|
+
};
|
|
147
261
|
}
|
|
148
262
|
export interface ExecuteRelationsResp {
|
|
149
263
|
relations?: NewRelationItem[];
|
|
150
264
|
}
|
|
265
|
+
export interface FlowMappingIssue {
|
|
266
|
+
/**
|
|
267
|
+
* example:
|
|
268
|
+
* ambiguous-producer
|
|
269
|
+
*/
|
|
270
|
+
code: string;
|
|
271
|
+
severity: "error" | "warning";
|
|
272
|
+
/**
|
|
273
|
+
* JSON pointer into the config, e.g. `/mapping_attributes/3`; empty for the whole action
|
|
274
|
+
*/
|
|
275
|
+
path: string;
|
|
276
|
+
/**
|
|
277
|
+
* Translation key
|
|
278
|
+
*/
|
|
279
|
+
key: string;
|
|
280
|
+
message: string;
|
|
281
|
+
params?: {
|
|
282
|
+
[name: string]: string;
|
|
283
|
+
};
|
|
284
|
+
action_id: string;
|
|
285
|
+
}
|
|
151
286
|
/**
|
|
152
287
|
* One multi-hop graph lookup against entity-api's `POST /v1/entity:graph`, resolved during
|
|
153
288
|
* graph_context enrichment (before mapping_attributes are evaluated). Every node in `graph.nodes`
|
|
@@ -225,6 +360,17 @@ declare namespace Components {
|
|
|
225
360
|
*
|
|
226
361
|
*/
|
|
227
362
|
filter?: /* Mirrors entity-api's GraphNodeFilter (see entity-api openapi.yml). */ GraphNodeFilter[];
|
|
363
|
+
/**
|
|
364
|
+
* Only meaningful for a node expected to resolve to a single entity (the seed node, or
|
|
365
|
+
* "cardinality: one"). When true, finding zero matching entities is not an error - the
|
|
366
|
+
* mapping proceeds without this node's data instead of failing. Finding more than one
|
|
367
|
+
* match still fails regardless of this flag; ambiguity is never silently accepted.
|
|
368
|
+
* On the seed node it also covers an empty seed: when `seed.entity_id` resolves to an
|
|
369
|
+
* empty value (e.g. an optional source field is missing), the whole graph_context entry
|
|
370
|
+
* is skipped and none of its nodes are added to the mapping context.
|
|
371
|
+
*
|
|
372
|
+
*/
|
|
373
|
+
optional?: boolean;
|
|
228
374
|
}
|
|
229
375
|
/**
|
|
230
376
|
* Mirrors entity-api's GraphNodeFilter (see entity-api openapi.yml).
|
|
@@ -269,6 +415,50 @@ declare namespace Components {
|
|
|
269
415
|
*/
|
|
270
416
|
node_id: string;
|
|
271
417
|
}
|
|
418
|
+
export interface JourneyContextUsage {
|
|
419
|
+
kind: "entity-mapping";
|
|
420
|
+
resource: {
|
|
421
|
+
type: "mapping";
|
|
422
|
+
id: string;
|
|
423
|
+
};
|
|
424
|
+
location?: {
|
|
425
|
+
target_schema?: string;
|
|
426
|
+
attribute?: string;
|
|
427
|
+
};
|
|
428
|
+
matched_as: {
|
|
429
|
+
dialect: "name";
|
|
430
|
+
token: string;
|
|
431
|
+
at: string;
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
export interface JourneyContextUsagesReq {
|
|
435
|
+
journey_id: string; // uuid
|
|
436
|
+
/**
|
|
437
|
+
* Context parameter keys to look for, as plain strings.
|
|
438
|
+
*/
|
|
439
|
+
param_keys: string[];
|
|
440
|
+
/**
|
|
441
|
+
* Accepted and ignored. This service stores context references by name only; the field keeps one request shape across every adapter.
|
|
442
|
+
*
|
|
443
|
+
*/
|
|
444
|
+
param_ids?: string[];
|
|
445
|
+
}
|
|
446
|
+
export interface JourneyContextUsagesResp {
|
|
447
|
+
usages: JourneyContextUsage[];
|
|
448
|
+
/**
|
|
449
|
+
* partial means the row cap was reached and rows were dropped, or that scanning stopped
|
|
450
|
+
* early and entire configs - some of which may reference the parameter - were never
|
|
451
|
+
* scanned.
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
status: "ok" | "partial";
|
|
455
|
+
/**
|
|
456
|
+
* The number of configs actually scanned, not the number found. May be less than the
|
|
457
|
+
* total number of matching configs when status is partial.
|
|
458
|
+
*
|
|
459
|
+
*/
|
|
460
|
+
scanned: number;
|
|
461
|
+
}
|
|
272
462
|
export interface JourneyRef {
|
|
273
463
|
journey_id?: string;
|
|
274
464
|
}
|
|
@@ -282,6 +472,44 @@ declare namespace Components {
|
|
|
282
472
|
_not_exists?: ConditionNode;
|
|
283
473
|
_any_of?: ConditionNode;
|
|
284
474
|
}
|
|
475
|
+
export interface MappingAnalysis {
|
|
476
|
+
/**
|
|
477
|
+
* False when an issue is an error. Only covers the checks that ran: see `skipped_checks`.
|
|
478
|
+
*/
|
|
479
|
+
valid: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* Checks that did not run because the request lacks the description they need; `[]` when every check ran. `blocks`: no `roots.source`, so journey blocks and source paths are not checked (`block-removed`, `path-not-in-root`). `attributes`: no `target_root`, so target attributes are not checked (`attribute-not-on-target`). `types`: no `target_root`, so no value is checked against the attribute it fills (`type-mismatch`, `type-converts`, `value-type-mismatch`, `value-not-an-option`). `source-types`: a `target_root` but no `roots.source`, so values copied from the source are not type-checked; fixed values, texts and copies from actions with a `roots.tasks[].description` still are. A description the server loaded (`source`, `config.target_schema`) counts as sent. A `valid: true` with skipped checks does not vouch for those.
|
|
482
|
+
*/
|
|
483
|
+
skipped_checks: ("attributes" | "blocks" | "types" | "source-types")[];
|
|
484
|
+
counts: {
|
|
485
|
+
form?: number;
|
|
486
|
+
json?: number;
|
|
487
|
+
broken?: number;
|
|
488
|
+
};
|
|
489
|
+
issues: MappingIssue[];
|
|
490
|
+
lines: {
|
|
491
|
+
kind?: "identity" | "field" | "relation";
|
|
492
|
+
index?: number;
|
|
493
|
+
target?: string;
|
|
494
|
+
verdict?: "form" | "json" | "broken";
|
|
495
|
+
/**
|
|
496
|
+
* Why the line has no form, e.g. `op:_each`
|
|
497
|
+
*/
|
|
498
|
+
reason?: string;
|
|
499
|
+
issues?: MappingIssue[];
|
|
500
|
+
suggestions?: {
|
|
501
|
+
/**
|
|
502
|
+
* What the rewrite does. `template-syntax`, `nearest-attribute`, `nearest-option` and `operation-key` come with validator 0.4.4. `fallback-producers` (validator 0.6.0): every creator of the schema runs behind a condition, so the line copies from all of them in order. Applying any suggestion adds no error to its line.
|
|
503
|
+
*/
|
|
504
|
+
why?: "pick-producer" | "fallback-producers" | "explicit-output" | "add-mode" | "merge-keys" | "template-syntax" | "nearest-attribute" | "nearest-option" | "operation-key";
|
|
505
|
+
task?: string;
|
|
506
|
+
line?: {
|
|
507
|
+
[name: string]: any;
|
|
508
|
+
};
|
|
509
|
+
}[];
|
|
510
|
+
description?: string;
|
|
511
|
+
}[];
|
|
512
|
+
}
|
|
285
513
|
export type MappingAttribute = SetValueMapper | CopyValueMapper | AppendValueMapper;
|
|
286
514
|
/**
|
|
287
515
|
* - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
|
|
@@ -309,14 +537,71 @@ declare namespace Components {
|
|
|
309
537
|
operation: /* Mapping operation nodes are either primitive values or operation node objects */ OperationNode;
|
|
310
538
|
origin?: /* Origin of an attribute. */ AttributeOrigin;
|
|
311
539
|
}
|
|
540
|
+
/**
|
|
541
|
+
* Where the action sits in its automation or flow
|
|
542
|
+
*/
|
|
543
|
+
export interface MappingCheckContext {
|
|
544
|
+
/**
|
|
545
|
+
* Root of the source entity, `submission` for journeys, the trigger schema otherwise
|
|
546
|
+
*/
|
|
547
|
+
sourceSchema: string;
|
|
548
|
+
/**
|
|
549
|
+
* Every action id of the automation in execution order, the ones after the current action included. An action left out is reported as missing (`task-missing`); with validator 0.4.4, an action listed in `taskSchemas` but not here counts as a later one (`task-not-earlier`).
|
|
550
|
+
*/
|
|
551
|
+
taskOrder: string[];
|
|
552
|
+
/**
|
|
553
|
+
* The action being analysed; must be one of `taskOrder`. Defaults to the last id in `taskOrder`. References to `current` itself or to an action after it are reported as `task-not-earlier`.
|
|
554
|
+
*/
|
|
555
|
+
current?: string;
|
|
556
|
+
taskSchemas: {
|
|
557
|
+
[name: string]: string;
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Earlier action ids per schema they create, in execution order
|
|
561
|
+
*/
|
|
562
|
+
producersBySchema: {
|
|
563
|
+
[name: string]: string[];
|
|
564
|
+
};
|
|
565
|
+
linkbackTags?: string[];
|
|
566
|
+
linkbackTagsByTask?: {
|
|
567
|
+
[name: string]: string[];
|
|
568
|
+
};
|
|
569
|
+
configIdsByTask?: {
|
|
570
|
+
[name: string]: string;
|
|
571
|
+
};
|
|
572
|
+
}
|
|
312
573
|
export interface MappingConfig {
|
|
313
574
|
id: string;
|
|
314
575
|
source: SourceConfig;
|
|
315
576
|
targets: TargetConfig[];
|
|
316
577
|
created_at?: string; // date-time
|
|
317
578
|
updated_at?: string; // date-time
|
|
318
|
-
|
|
319
|
-
|
|
579
|
+
/**
|
|
580
|
+
* User / service who created the entity mapping config
|
|
581
|
+
* example:
|
|
582
|
+
* {
|
|
583
|
+
* "type": "internal_service"
|
|
584
|
+
* }
|
|
585
|
+
*/
|
|
586
|
+
created_by?: {
|
|
587
|
+
type: "user" | "internal_service";
|
|
588
|
+
org_id?: string;
|
|
589
|
+
user_id?: string;
|
|
590
|
+
};
|
|
591
|
+
/**
|
|
592
|
+
* User / service who last updated entity mapping config
|
|
593
|
+
* example:
|
|
594
|
+
* {
|
|
595
|
+
* "type": "user",
|
|
596
|
+
* "org_id": 255151,
|
|
597
|
+
* "user_id": 99252
|
|
598
|
+
* }
|
|
599
|
+
*/
|
|
600
|
+
last_updated_by?: {
|
|
601
|
+
type: "user" | "internal_service";
|
|
602
|
+
org_id?: string;
|
|
603
|
+
user_id?: string;
|
|
604
|
+
};
|
|
320
605
|
/**
|
|
321
606
|
* example:
|
|
322
607
|
* 66
|
|
@@ -341,7 +626,11 @@ declare namespace Components {
|
|
|
341
626
|
* "type": "internal_service"
|
|
342
627
|
* }
|
|
343
628
|
*/
|
|
344
|
-
created_by?:
|
|
629
|
+
created_by?: {
|
|
630
|
+
type: "user" | "internal_service";
|
|
631
|
+
org_id?: string;
|
|
632
|
+
user_id?: string;
|
|
633
|
+
};
|
|
345
634
|
/**
|
|
346
635
|
* User / service who last updated entity mapping config
|
|
347
636
|
* example:
|
|
@@ -351,7 +640,11 @@ declare namespace Components {
|
|
|
351
640
|
* "user_id": 99252
|
|
352
641
|
* }
|
|
353
642
|
*/
|
|
354
|
-
last_updated_by?:
|
|
643
|
+
last_updated_by?: {
|
|
644
|
+
type: "user" | "internal_service";
|
|
645
|
+
org_id?: string;
|
|
646
|
+
user_id?: string;
|
|
647
|
+
};
|
|
355
648
|
}
|
|
356
649
|
export interface MappingConfigV2 {
|
|
357
650
|
id: string;
|
|
@@ -359,8 +652,32 @@ declare namespace Components {
|
|
|
359
652
|
targets: TargetConfig[];
|
|
360
653
|
created_at?: string; // date-time
|
|
361
654
|
updated_at?: string; // date-time
|
|
362
|
-
|
|
363
|
-
|
|
655
|
+
/**
|
|
656
|
+
* User / service who created the entity mapping config
|
|
657
|
+
* example:
|
|
658
|
+
* {
|
|
659
|
+
* "type": "internal_service"
|
|
660
|
+
* }
|
|
661
|
+
*/
|
|
662
|
+
created_by?: {
|
|
663
|
+
type: "user" | "internal_service";
|
|
664
|
+
org_id?: string;
|
|
665
|
+
user_id?: string;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* User / service who last updated entity mapping config
|
|
669
|
+
* example:
|
|
670
|
+
* {
|
|
671
|
+
* "type": "user",
|
|
672
|
+
* "org_id": 255151,
|
|
673
|
+
* "user_id": 99252
|
|
674
|
+
* }
|
|
675
|
+
*/
|
|
676
|
+
last_updated_by?: {
|
|
677
|
+
type: "user" | "internal_service";
|
|
678
|
+
org_id?: string;
|
|
679
|
+
user_id?: string;
|
|
680
|
+
};
|
|
364
681
|
/**
|
|
365
682
|
* example:
|
|
366
683
|
* 66
|
|
@@ -375,6 +692,10 @@ declare namespace Components {
|
|
|
375
692
|
export type MappingConfigs = MappingConfig[];
|
|
376
693
|
export interface MappingConfigsResp {
|
|
377
694
|
configs: MappingConfigs;
|
|
695
|
+
/**
|
|
696
|
+
* the page ceiling was reached; the list is incomplete.
|
|
697
|
+
*/
|
|
698
|
+
truncated?: boolean;
|
|
378
699
|
}
|
|
379
700
|
export interface MappingFailure {
|
|
380
701
|
target?: TargetConfig;
|
|
@@ -384,25 +705,91 @@ declare namespace Components {
|
|
|
384
705
|
message?: string;
|
|
385
706
|
};
|
|
386
707
|
}
|
|
387
|
-
|
|
708
|
+
/**
|
|
709
|
+
* An action of an automation (as stored in it), in execution order; only mapping actions are analysed
|
|
710
|
+
*/
|
|
711
|
+
export interface MappingFlowAction {
|
|
712
|
+
[name: string]: any;
|
|
713
|
+
id: string;
|
|
388
714
|
/**
|
|
715
|
+
* `map-entity` and `cart-checkout` are analysed; other actions only count for what they create
|
|
389
716
|
* example:
|
|
390
|
-
*
|
|
717
|
+
* map-entity
|
|
391
718
|
*/
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
719
|
+
type?: string;
|
|
720
|
+
/**
|
|
721
|
+
* The stored action config (engine JSON); `target_schema` names the schema it writes
|
|
722
|
+
*/
|
|
723
|
+
config?: {
|
|
724
|
+
[name: string]: any;
|
|
725
|
+
} | null;
|
|
726
|
+
}
|
|
727
|
+
export interface MappingIssue {
|
|
728
|
+
/**
|
|
729
|
+
* example:
|
|
730
|
+
* ambiguous-producer
|
|
731
|
+
*/
|
|
732
|
+
code: string;
|
|
733
|
+
severity: "error" | "warning";
|
|
734
|
+
/**
|
|
735
|
+
* JSON pointer into the config, e.g. `/mapping_attributes/3`; empty for the whole action
|
|
736
|
+
*/
|
|
737
|
+
path: string;
|
|
738
|
+
/**
|
|
739
|
+
* Translation key
|
|
740
|
+
*/
|
|
741
|
+
key: string;
|
|
742
|
+
message: string;
|
|
743
|
+
params?: {
|
|
744
|
+
[name: string]: string;
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* What the caller knows about a root (`RootDescription` of `@epilot/entity-mapping-validator`)
|
|
749
|
+
*/
|
|
750
|
+
export interface MappingRootDescription {
|
|
751
|
+
kind: "declared" | "inferred";
|
|
752
|
+
fields: MappingRootField[];
|
|
753
|
+
}
|
|
754
|
+
export interface MappingRootField {
|
|
755
|
+
[name: string]: any;
|
|
756
|
+
path: (string | number)[];
|
|
757
|
+
label?: string;
|
|
758
|
+
type?: "string" | "number" | "boolean" | "date" | "object" | "array" | "entity";
|
|
759
|
+
children?: MappingRootField[];
|
|
760
|
+
/**
|
|
761
|
+
* Only partly described; a path below it that `children` does not list is unknown, not missing
|
|
762
|
+
*/
|
|
763
|
+
open?: boolean;
|
|
764
|
+
targetTypes?: string[];
|
|
397
765
|
}
|
|
398
|
-
|
|
399
|
-
|
|
766
|
+
/**
|
|
767
|
+
* Optional descriptions of the source and of each action's output (`Roots` of `@epilot/entity-mapping-validator`). A body whose `roots` does not have this shape is rejected with 400.
|
|
768
|
+
*/
|
|
769
|
+
export interface MappingRoots {
|
|
770
|
+
source?: /* What the caller knows about a root (`RootDescription` of `@epilot/entity-mapping-validator`) */ MappingRootDescription;
|
|
771
|
+
/**
|
|
772
|
+
* Every action in execution order; `[]` when there are none
|
|
773
|
+
*/
|
|
774
|
+
tasks: {
|
|
775
|
+
id: string;
|
|
776
|
+
schema?: string;
|
|
777
|
+
/**
|
|
778
|
+
* Display name of what the action creates, e.g. "Contact"
|
|
779
|
+
*/
|
|
780
|
+
label?: string;
|
|
781
|
+
description?: /* What the caller knows about a root (`RootDescription` of `@epilot/entity-mapping-validator`) */ MappingRootDescription;
|
|
782
|
+
}[];
|
|
400
783
|
}
|
|
401
784
|
export interface MappingSource {
|
|
402
785
|
/**
|
|
403
786
|
* Key aiming to identify source
|
|
404
787
|
*/
|
|
405
788
|
key: string;
|
|
789
|
+
/**
|
|
790
|
+
* The journey block's id, the key of its value in `_block_values` of the submission
|
|
791
|
+
*/
|
|
792
|
+
block_id?: string;
|
|
406
793
|
/**
|
|
407
794
|
* Each item describes a property under the main source and a possibly, a default value for its target attribute
|
|
408
795
|
*/
|
|
@@ -422,7 +809,69 @@ declare namespace Components {
|
|
|
422
809
|
/**
|
|
423
810
|
* Initial value of a relation to be added
|
|
424
811
|
*/
|
|
425
|
-
initial_relation?:
|
|
812
|
+
initial_relation?: {
|
|
813
|
+
/**
|
|
814
|
+
* Target attribute to store the relation in
|
|
815
|
+
*/
|
|
816
|
+
target: string;
|
|
817
|
+
/**
|
|
818
|
+
* Relation tags (labels) to set for the stored relations
|
|
819
|
+
*/
|
|
820
|
+
target_tags?: string[];
|
|
821
|
+
/**
|
|
822
|
+
* Include all relation tags (labels) present on the main entity relation
|
|
823
|
+
*/
|
|
824
|
+
target_tags_include_source?: boolean;
|
|
825
|
+
/**
|
|
826
|
+
* Tags to add to the matched target entity's _tags array during mapping. Useful for assigning file collections to file entities.
|
|
827
|
+
*/
|
|
828
|
+
target_entity_tags?: string[];
|
|
829
|
+
/**
|
|
830
|
+
* Whether to override the relation source_filter with the specified one
|
|
831
|
+
*/
|
|
832
|
+
override_with_source_filter?: boolean;
|
|
833
|
+
/**
|
|
834
|
+
* A filter to identify which source entities to pick as relations from main entity
|
|
835
|
+
*/
|
|
836
|
+
source_filter?: {
|
|
837
|
+
/**
|
|
838
|
+
* Limit relations to maximum number (default, all matched relations)
|
|
839
|
+
*/
|
|
840
|
+
limit?: number;
|
|
841
|
+
/**
|
|
842
|
+
* Filter by specific schema
|
|
843
|
+
*/
|
|
844
|
+
schema?: string;
|
|
845
|
+
/**
|
|
846
|
+
* Filter by a specific relation attribute on the main entity
|
|
847
|
+
*/
|
|
848
|
+
attribute?: string;
|
|
849
|
+
/**
|
|
850
|
+
* Filter by relation tag (label) on the main entity
|
|
851
|
+
*/
|
|
852
|
+
relation_tag?: string;
|
|
853
|
+
/**
|
|
854
|
+
* Pick the entities the automation action (later: Flow task) with this id produced in the same run,
|
|
855
|
+
* as passed in `ExecuteMappingReq.outputs`. Combinable with `schema`, `tag` and `limit`. When the
|
|
856
|
+
* request carries no entry for the id, the relations tagged `_hidden_<id>` are used instead.
|
|
857
|
+
*
|
|
858
|
+
*/
|
|
859
|
+
output_of?: string;
|
|
860
|
+
/**
|
|
861
|
+
* Filter by a specific tag on the related entity
|
|
862
|
+
*/
|
|
863
|
+
tag?: string;
|
|
864
|
+
/**
|
|
865
|
+
* Picks main entity as relation (overrides other filters)
|
|
866
|
+
*/
|
|
867
|
+
self?: boolean;
|
|
868
|
+
};
|
|
869
|
+
related_to?: {
|
|
870
|
+
[name: string]: any;
|
|
871
|
+
};
|
|
872
|
+
mode: "append" | "prepend" | "set";
|
|
873
|
+
origin?: /* Origin of an attribute. */ AttributeOrigin;
|
|
874
|
+
};
|
|
426
875
|
/**
|
|
427
876
|
* Human readable name of the Source
|
|
428
877
|
*/
|
|
@@ -473,6 +922,20 @@ declare namespace Components {
|
|
|
473
922
|
*/
|
|
474
923
|
raw?: boolean;
|
|
475
924
|
}
|
|
925
|
+
/**
|
|
926
|
+
* What the automation's trigger provides, by id. Used when `roots.source` is not sent: the server loads the journey's mapping sources (`rootFromMappingSources`) or the entity schema (`rootFromEntitySchema`) with the caller's authorization. A journey or schema that does not exist is an error issue (`source-journey-not-found`, `source-schema-not-found`); one that could not be loaded is a warning (`source-not-loaded`) and the source checks are skipped (`skipped_checks`). Likewise for a target schema (`target-schema-not-found`, `target-schema-not-loaded`). `automation_step` (the trigger of a workflow's automation task) names no data: a warning (`source-not-fixed`) and the source checks are skipped; pass what the workflow was started with instead.
|
|
927
|
+
*/
|
|
928
|
+
export type MappingSourceRef = /* What the automation's trigger provides, by id. Used when `roots.source` is not sent: the server loads the journey's mapping sources (`rootFromMappingSources`) or the entity schema (`rootFromEntitySchema`) with the caller's authorization. A journey or schema that does not exist is an error issue (`source-journey-not-found`, `source-schema-not-found`); one that could not be loaded is a warning (`source-not-loaded`) and the source checks are skipped (`skipped_checks`). Likewise for a target schema (`target-schema-not-found`, `target-schema-not-loaded`). `automation_step` (the trigger of a workflow's automation task) names no data: a warning (`source-not-fixed`) and the source checks are skipped; pass what the workflow was started with instead. */ {
|
|
929
|
+
/**
|
|
930
|
+
* The triggering journey; its source root is `submission`
|
|
931
|
+
*/
|
|
932
|
+
journey_id: string;
|
|
933
|
+
} | {
|
|
934
|
+
/**
|
|
935
|
+
* The slug of the triggering entity's schema, e.g. `contact`
|
|
936
|
+
*/
|
|
937
|
+
entity_schema: string;
|
|
938
|
+
};
|
|
476
939
|
export type MappingSourceTargetType = "string" | "date" | "datetime" | "boolean" | "number" | "image" | "file" | "address" | "email" | "phone" | "select" | "multiselect" | "payment" | "link" | "currency" | "sequence" | "relation" | "array";
|
|
477
940
|
export interface MappingWarning {
|
|
478
941
|
explanation: string;
|
|
@@ -525,7 +988,13 @@ declare namespace Components {
|
|
|
525
988
|
/**
|
|
526
989
|
* Generate random ids / numbers
|
|
527
990
|
*/
|
|
528
|
-
_random?:
|
|
991
|
+
_random?: /* Generate random ids / numbers */ {
|
|
992
|
+
type: "uuid" | "nanoid";
|
|
993
|
+
} | {
|
|
994
|
+
type: "number";
|
|
995
|
+
min?: number;
|
|
996
|
+
max?: number;
|
|
997
|
+
};
|
|
529
998
|
/**
|
|
530
999
|
* Iterate over a source array. Use with _as and _map.
|
|
531
1000
|
* The value is a path to resolve from the source entity context.
|
|
@@ -550,13 +1019,41 @@ declare namespace Components {
|
|
|
550
1019
|
* references to the $<_as name> alias.
|
|
551
1020
|
*
|
|
552
1021
|
*/
|
|
553
|
-
_map?:
|
|
1022
|
+
_map?: /**
|
|
1023
|
+
* Operation to evaluate per _each iteration item.
|
|
1024
|
+
* Can be any OperationNode, typically an object with _copy
|
|
1025
|
+
* references to the $<_as name> alias.
|
|
1026
|
+
*
|
|
1027
|
+
*/
|
|
1028
|
+
OperationObjectNode | /* Represents any primitive JSON value */ PrimitiveJSONValue;
|
|
1029
|
+
}
|
|
1030
|
+
/**
|
|
1031
|
+
* One entity an earlier action or task produced
|
|
1032
|
+
*/
|
|
1033
|
+
export interface OutputEntityRef {
|
|
1034
|
+
entity_id: string;
|
|
1035
|
+
entity_schema?: string;
|
|
554
1036
|
}
|
|
555
1037
|
export interface Owner {
|
|
556
1038
|
type: "user" | "internal_service";
|
|
557
1039
|
org_id?: string;
|
|
558
1040
|
user_id?: string;
|
|
559
1041
|
}
|
|
1042
|
+
/**
|
|
1043
|
+
* What one target would write, in preview mode with `output_ids`
|
|
1044
|
+
*/
|
|
1045
|
+
export interface PreviewTarget {
|
|
1046
|
+
/**
|
|
1047
|
+
* Position of the target in the request
|
|
1048
|
+
*/
|
|
1049
|
+
index: number;
|
|
1050
|
+
/**
|
|
1051
|
+
* The id from `output_ids` at this position, which the target's entities were published under
|
|
1052
|
+
*/
|
|
1053
|
+
output_id?: string;
|
|
1054
|
+
mapped_entities: Entity[];
|
|
1055
|
+
failure?: MappingFailure;
|
|
1056
|
+
}
|
|
560
1057
|
/**
|
|
561
1058
|
* Represents any primitive JSON value
|
|
562
1059
|
*/
|
|
@@ -611,6 +1108,13 @@ declare namespace Components {
|
|
|
611
1108
|
* Filter by relation tag (label) on the main entity
|
|
612
1109
|
*/
|
|
613
1110
|
relation_tag?: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Pick the entities the automation action (later: Flow task) with this id produced in the same run,
|
|
1113
|
+
* as passed in `ExecuteMappingReq.outputs`. Combinable with `schema`, `tag` and `limit`. When the
|
|
1114
|
+
* request carries no entry for the id, the relations tagged `_hidden_<id>` are used instead.
|
|
1115
|
+
*
|
|
1116
|
+
*/
|
|
1117
|
+
output_of?: string;
|
|
614
1118
|
/**
|
|
615
1119
|
* Filter by a specific tag on the related entity
|
|
616
1120
|
*/
|
|
@@ -687,6 +1191,20 @@ declare namespace Components {
|
|
|
687
1191
|
* path to the array from the entity payload
|
|
688
1192
|
*/
|
|
689
1193
|
source_path?: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* Kind of journey block the loop iterates. 'journey-multi-select' (default) is a cards block with multi selection. 'journey-file-upload' is a file upload block: source_path points at the submission's `_files.$relation` array and `filter_tags` narrows it down to the block's files. Forwarded to the flow-level loop by the Automation Hub.
|
|
1196
|
+
*
|
|
1197
|
+
*/
|
|
1198
|
+
source_type?: "journey-multi-select" | "journey-file-upload";
|
|
1199
|
+
/**
|
|
1200
|
+
* Only iterate items of the array whose `_tags` contain every listed tag. Meant for relation arrays such as `submission._files.$relation`, where the journey tags each file relation with the upload block it came from. `##LOOP_INDEX##` keeps referring to the item's index in the unfiltered array.
|
|
1201
|
+
*
|
|
1202
|
+
* example:
|
|
1203
|
+
* [
|
|
1204
|
+
* "_hidden_ 2a4b1c3d-0000-4000-8000-000000000000 - Dokumente"
|
|
1205
|
+
* ]
|
|
1206
|
+
*/
|
|
1207
|
+
filter_tags?: string[];
|
|
690
1208
|
/**
|
|
691
1209
|
* a hard limit of how many times the loop is allowed to run.
|
|
692
1210
|
*/
|
|
@@ -757,19 +1275,2520 @@ declare namespace Components {
|
|
|
757
1275
|
*/
|
|
758
1276
|
GraphContextEntry[];
|
|
759
1277
|
}
|
|
760
|
-
|
|
761
|
-
}
|
|
762
|
-
declare namespace Paths {
|
|
763
|
-
namespace DeleteConfig {
|
|
764
|
-
namespace Parameters {
|
|
1278
|
+
export interface ValidateMappingFlowReq {
|
|
765
1279
|
/**
|
|
766
|
-
*
|
|
767
|
-
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
1280
|
+
* Every action of the automation in execution order; ids are unique
|
|
768
1281
|
*/
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
1282
|
+
actions: /* An action of an automation (as stored in it), in execution order; only mapping actions are analysed */ MappingFlowAction[];
|
|
1283
|
+
source?: /* What the automation's trigger provides, by id. Used when `roots.source` is not sent: the server loads the journey's mapping sources (`rootFromMappingSources`) or the entity schema (`rootFromEntitySchema`) with the caller's authorization. A journey or schema that does not exist is an error issue (`source-journey-not-found`, `source-schema-not-found`); one that could not be loaded is a warning (`source-not-loaded`) and the source checks are skipped (`skipped_checks`). Likewise for a target schema (`target-schema-not-found`, `target-schema-not-loaded`). `automation_step` (the trigger of a workflow's automation task) names no data: a warning (`source-not-fixed`) and the source checks are skipped; pass what the workflow was started with instead. */ MappingSourceRef;
|
|
1284
|
+
/**
|
|
1285
|
+
* The automation's actions as stored. With them, only issues this change introduced block (`blocking`), matched by action id, target attribute and code.
|
|
1286
|
+
*/
|
|
1287
|
+
previous_actions?: /* An action of an automation (as stored in it), in execution order; only mapping actions are analysed */ MappingFlowAction[];
|
|
1288
|
+
/**
|
|
1289
|
+
* Blocking findings the user decided to keep, after the agent explained them: they stop blocking and are listed in `acknowledged` of the response instead. Send only what the user explicitly accepted. Each matches by action id and code, and by the line's target attribute when `target` is set (without it, every finding of that code in the action).
|
|
1290
|
+
*/
|
|
1291
|
+
acknowledged?: [
|
|
1292
|
+
{
|
|
1293
|
+
action_id: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* example:
|
|
1296
|
+
* attribute-not-on-target
|
|
1297
|
+
*/
|
|
1298
|
+
code: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* The target attribute of the line the finding is about
|
|
1301
|
+
*/
|
|
1302
|
+
target?: string;
|
|
1303
|
+
}?,
|
|
1304
|
+
{
|
|
1305
|
+
action_id: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* example:
|
|
1308
|
+
* attribute-not-on-target
|
|
1309
|
+
*/
|
|
1310
|
+
code: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* The target attribute of the line the finding is about
|
|
1313
|
+
*/
|
|
1314
|
+
target?: string;
|
|
1315
|
+
}?,
|
|
1316
|
+
{
|
|
1317
|
+
action_id: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* example:
|
|
1320
|
+
* attribute-not-on-target
|
|
1321
|
+
*/
|
|
1322
|
+
code: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* The target attribute of the line the finding is about
|
|
1325
|
+
*/
|
|
1326
|
+
target?: string;
|
|
1327
|
+
}?,
|
|
1328
|
+
{
|
|
1329
|
+
action_id: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* example:
|
|
1332
|
+
* attribute-not-on-target
|
|
1333
|
+
*/
|
|
1334
|
+
code: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* The target attribute of the line the finding is about
|
|
1337
|
+
*/
|
|
1338
|
+
target?: string;
|
|
1339
|
+
}?,
|
|
1340
|
+
{
|
|
1341
|
+
action_id: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* example:
|
|
1344
|
+
* attribute-not-on-target
|
|
1345
|
+
*/
|
|
1346
|
+
code: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* The target attribute of the line the finding is about
|
|
1349
|
+
*/
|
|
1350
|
+
target?: string;
|
|
1351
|
+
}?,
|
|
1352
|
+
{
|
|
1353
|
+
action_id: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* example:
|
|
1356
|
+
* attribute-not-on-target
|
|
1357
|
+
*/
|
|
1358
|
+
code: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* The target attribute of the line the finding is about
|
|
1361
|
+
*/
|
|
1362
|
+
target?: string;
|
|
1363
|
+
}?,
|
|
1364
|
+
{
|
|
1365
|
+
action_id: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* example:
|
|
1368
|
+
* attribute-not-on-target
|
|
1369
|
+
*/
|
|
1370
|
+
code: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* The target attribute of the line the finding is about
|
|
1373
|
+
*/
|
|
1374
|
+
target?: string;
|
|
1375
|
+
}?,
|
|
1376
|
+
{
|
|
1377
|
+
action_id: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* example:
|
|
1380
|
+
* attribute-not-on-target
|
|
1381
|
+
*/
|
|
1382
|
+
code: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* The target attribute of the line the finding is about
|
|
1385
|
+
*/
|
|
1386
|
+
target?: string;
|
|
1387
|
+
}?,
|
|
1388
|
+
{
|
|
1389
|
+
action_id: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* example:
|
|
1392
|
+
* attribute-not-on-target
|
|
1393
|
+
*/
|
|
1394
|
+
code: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* The target attribute of the line the finding is about
|
|
1397
|
+
*/
|
|
1398
|
+
target?: string;
|
|
1399
|
+
}?,
|
|
1400
|
+
{
|
|
1401
|
+
action_id: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* example:
|
|
1404
|
+
* attribute-not-on-target
|
|
1405
|
+
*/
|
|
1406
|
+
code: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* The target attribute of the line the finding is about
|
|
1409
|
+
*/
|
|
1410
|
+
target?: string;
|
|
1411
|
+
}?,
|
|
1412
|
+
{
|
|
1413
|
+
action_id: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* example:
|
|
1416
|
+
* attribute-not-on-target
|
|
1417
|
+
*/
|
|
1418
|
+
code: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* The target attribute of the line the finding is about
|
|
1421
|
+
*/
|
|
1422
|
+
target?: string;
|
|
1423
|
+
}?,
|
|
1424
|
+
{
|
|
1425
|
+
action_id: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* example:
|
|
1428
|
+
* attribute-not-on-target
|
|
1429
|
+
*/
|
|
1430
|
+
code: string;
|
|
1431
|
+
/**
|
|
1432
|
+
* The target attribute of the line the finding is about
|
|
1433
|
+
*/
|
|
1434
|
+
target?: string;
|
|
1435
|
+
}?,
|
|
1436
|
+
{
|
|
1437
|
+
action_id: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* example:
|
|
1440
|
+
* attribute-not-on-target
|
|
1441
|
+
*/
|
|
1442
|
+
code: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* The target attribute of the line the finding is about
|
|
1445
|
+
*/
|
|
1446
|
+
target?: string;
|
|
1447
|
+
}?,
|
|
1448
|
+
{
|
|
1449
|
+
action_id: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* example:
|
|
1452
|
+
* attribute-not-on-target
|
|
1453
|
+
*/
|
|
1454
|
+
code: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* The target attribute of the line the finding is about
|
|
1457
|
+
*/
|
|
1458
|
+
target?: string;
|
|
1459
|
+
}?,
|
|
1460
|
+
{
|
|
1461
|
+
action_id: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* example:
|
|
1464
|
+
* attribute-not-on-target
|
|
1465
|
+
*/
|
|
1466
|
+
code: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* The target attribute of the line the finding is about
|
|
1469
|
+
*/
|
|
1470
|
+
target?: string;
|
|
1471
|
+
}?,
|
|
1472
|
+
{
|
|
1473
|
+
action_id: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* example:
|
|
1476
|
+
* attribute-not-on-target
|
|
1477
|
+
*/
|
|
1478
|
+
code: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* The target attribute of the line the finding is about
|
|
1481
|
+
*/
|
|
1482
|
+
target?: string;
|
|
1483
|
+
}?,
|
|
1484
|
+
{
|
|
1485
|
+
action_id: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* example:
|
|
1488
|
+
* attribute-not-on-target
|
|
1489
|
+
*/
|
|
1490
|
+
code: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* The target attribute of the line the finding is about
|
|
1493
|
+
*/
|
|
1494
|
+
target?: string;
|
|
1495
|
+
}?,
|
|
1496
|
+
{
|
|
1497
|
+
action_id: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* example:
|
|
1500
|
+
* attribute-not-on-target
|
|
1501
|
+
*/
|
|
1502
|
+
code: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* The target attribute of the line the finding is about
|
|
1505
|
+
*/
|
|
1506
|
+
target?: string;
|
|
1507
|
+
}?,
|
|
1508
|
+
{
|
|
1509
|
+
action_id: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* example:
|
|
1512
|
+
* attribute-not-on-target
|
|
1513
|
+
*/
|
|
1514
|
+
code: string;
|
|
1515
|
+
/**
|
|
1516
|
+
* The target attribute of the line the finding is about
|
|
1517
|
+
*/
|
|
1518
|
+
target?: string;
|
|
1519
|
+
}?,
|
|
1520
|
+
{
|
|
1521
|
+
action_id: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* example:
|
|
1524
|
+
* attribute-not-on-target
|
|
1525
|
+
*/
|
|
1526
|
+
code: string;
|
|
1527
|
+
/**
|
|
1528
|
+
* The target attribute of the line the finding is about
|
|
1529
|
+
*/
|
|
1530
|
+
target?: string;
|
|
1531
|
+
}?,
|
|
1532
|
+
{
|
|
1533
|
+
action_id: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* example:
|
|
1536
|
+
* attribute-not-on-target
|
|
1537
|
+
*/
|
|
1538
|
+
code: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* The target attribute of the line the finding is about
|
|
1541
|
+
*/
|
|
1542
|
+
target?: string;
|
|
1543
|
+
}?,
|
|
1544
|
+
{
|
|
1545
|
+
action_id: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* example:
|
|
1548
|
+
* attribute-not-on-target
|
|
1549
|
+
*/
|
|
1550
|
+
code: string;
|
|
1551
|
+
/**
|
|
1552
|
+
* The target attribute of the line the finding is about
|
|
1553
|
+
*/
|
|
1554
|
+
target?: string;
|
|
1555
|
+
}?,
|
|
1556
|
+
{
|
|
1557
|
+
action_id: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* example:
|
|
1560
|
+
* attribute-not-on-target
|
|
1561
|
+
*/
|
|
1562
|
+
code: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* The target attribute of the line the finding is about
|
|
1565
|
+
*/
|
|
1566
|
+
target?: string;
|
|
1567
|
+
}?,
|
|
1568
|
+
{
|
|
1569
|
+
action_id: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* example:
|
|
1572
|
+
* attribute-not-on-target
|
|
1573
|
+
*/
|
|
1574
|
+
code: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* The target attribute of the line the finding is about
|
|
1577
|
+
*/
|
|
1578
|
+
target?: string;
|
|
1579
|
+
}?,
|
|
1580
|
+
{
|
|
1581
|
+
action_id: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* example:
|
|
1584
|
+
* attribute-not-on-target
|
|
1585
|
+
*/
|
|
1586
|
+
code: string;
|
|
1587
|
+
/**
|
|
1588
|
+
* The target attribute of the line the finding is about
|
|
1589
|
+
*/
|
|
1590
|
+
target?: string;
|
|
1591
|
+
}?,
|
|
1592
|
+
{
|
|
1593
|
+
action_id: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* example:
|
|
1596
|
+
* attribute-not-on-target
|
|
1597
|
+
*/
|
|
1598
|
+
code: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* The target attribute of the line the finding is about
|
|
1601
|
+
*/
|
|
1602
|
+
target?: string;
|
|
1603
|
+
}?,
|
|
1604
|
+
{
|
|
1605
|
+
action_id: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* example:
|
|
1608
|
+
* attribute-not-on-target
|
|
1609
|
+
*/
|
|
1610
|
+
code: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* The target attribute of the line the finding is about
|
|
1613
|
+
*/
|
|
1614
|
+
target?: string;
|
|
1615
|
+
}?,
|
|
1616
|
+
{
|
|
1617
|
+
action_id: string;
|
|
1618
|
+
/**
|
|
1619
|
+
* example:
|
|
1620
|
+
* attribute-not-on-target
|
|
1621
|
+
*/
|
|
1622
|
+
code: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* The target attribute of the line the finding is about
|
|
1625
|
+
*/
|
|
1626
|
+
target?: string;
|
|
1627
|
+
}?,
|
|
1628
|
+
{
|
|
1629
|
+
action_id: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* example:
|
|
1632
|
+
* attribute-not-on-target
|
|
1633
|
+
*/
|
|
1634
|
+
code: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* The target attribute of the line the finding is about
|
|
1637
|
+
*/
|
|
1638
|
+
target?: string;
|
|
1639
|
+
}?,
|
|
1640
|
+
{
|
|
1641
|
+
action_id: string;
|
|
1642
|
+
/**
|
|
1643
|
+
* example:
|
|
1644
|
+
* attribute-not-on-target
|
|
1645
|
+
*/
|
|
1646
|
+
code: string;
|
|
1647
|
+
/**
|
|
1648
|
+
* The target attribute of the line the finding is about
|
|
1649
|
+
*/
|
|
1650
|
+
target?: string;
|
|
1651
|
+
}?,
|
|
1652
|
+
{
|
|
1653
|
+
action_id: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* example:
|
|
1656
|
+
* attribute-not-on-target
|
|
1657
|
+
*/
|
|
1658
|
+
code: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* The target attribute of the line the finding is about
|
|
1661
|
+
*/
|
|
1662
|
+
target?: string;
|
|
1663
|
+
}?,
|
|
1664
|
+
{
|
|
1665
|
+
action_id: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* example:
|
|
1668
|
+
* attribute-not-on-target
|
|
1669
|
+
*/
|
|
1670
|
+
code: string;
|
|
1671
|
+
/**
|
|
1672
|
+
* The target attribute of the line the finding is about
|
|
1673
|
+
*/
|
|
1674
|
+
target?: string;
|
|
1675
|
+
}?,
|
|
1676
|
+
{
|
|
1677
|
+
action_id: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* example:
|
|
1680
|
+
* attribute-not-on-target
|
|
1681
|
+
*/
|
|
1682
|
+
code: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* The target attribute of the line the finding is about
|
|
1685
|
+
*/
|
|
1686
|
+
target?: string;
|
|
1687
|
+
}?,
|
|
1688
|
+
{
|
|
1689
|
+
action_id: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* example:
|
|
1692
|
+
* attribute-not-on-target
|
|
1693
|
+
*/
|
|
1694
|
+
code: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* The target attribute of the line the finding is about
|
|
1697
|
+
*/
|
|
1698
|
+
target?: string;
|
|
1699
|
+
}?,
|
|
1700
|
+
{
|
|
1701
|
+
action_id: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* example:
|
|
1704
|
+
* attribute-not-on-target
|
|
1705
|
+
*/
|
|
1706
|
+
code: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* The target attribute of the line the finding is about
|
|
1709
|
+
*/
|
|
1710
|
+
target?: string;
|
|
1711
|
+
}?,
|
|
1712
|
+
{
|
|
1713
|
+
action_id: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* example:
|
|
1716
|
+
* attribute-not-on-target
|
|
1717
|
+
*/
|
|
1718
|
+
code: string;
|
|
1719
|
+
/**
|
|
1720
|
+
* The target attribute of the line the finding is about
|
|
1721
|
+
*/
|
|
1722
|
+
target?: string;
|
|
1723
|
+
}?,
|
|
1724
|
+
{
|
|
1725
|
+
action_id: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* example:
|
|
1728
|
+
* attribute-not-on-target
|
|
1729
|
+
*/
|
|
1730
|
+
code: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* The target attribute of the line the finding is about
|
|
1733
|
+
*/
|
|
1734
|
+
target?: string;
|
|
1735
|
+
}?,
|
|
1736
|
+
{
|
|
1737
|
+
action_id: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* example:
|
|
1740
|
+
* attribute-not-on-target
|
|
1741
|
+
*/
|
|
1742
|
+
code: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* The target attribute of the line the finding is about
|
|
1745
|
+
*/
|
|
1746
|
+
target?: string;
|
|
1747
|
+
}?,
|
|
1748
|
+
{
|
|
1749
|
+
action_id: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* example:
|
|
1752
|
+
* attribute-not-on-target
|
|
1753
|
+
*/
|
|
1754
|
+
code: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* The target attribute of the line the finding is about
|
|
1757
|
+
*/
|
|
1758
|
+
target?: string;
|
|
1759
|
+
}?,
|
|
1760
|
+
{
|
|
1761
|
+
action_id: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* example:
|
|
1764
|
+
* attribute-not-on-target
|
|
1765
|
+
*/
|
|
1766
|
+
code: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* The target attribute of the line the finding is about
|
|
1769
|
+
*/
|
|
1770
|
+
target?: string;
|
|
1771
|
+
}?,
|
|
1772
|
+
{
|
|
1773
|
+
action_id: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* example:
|
|
1776
|
+
* attribute-not-on-target
|
|
1777
|
+
*/
|
|
1778
|
+
code: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* The target attribute of the line the finding is about
|
|
1781
|
+
*/
|
|
1782
|
+
target?: string;
|
|
1783
|
+
}?,
|
|
1784
|
+
{
|
|
1785
|
+
action_id: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* example:
|
|
1788
|
+
* attribute-not-on-target
|
|
1789
|
+
*/
|
|
1790
|
+
code: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* The target attribute of the line the finding is about
|
|
1793
|
+
*/
|
|
1794
|
+
target?: string;
|
|
1795
|
+
}?,
|
|
1796
|
+
{
|
|
1797
|
+
action_id: string;
|
|
1798
|
+
/**
|
|
1799
|
+
* example:
|
|
1800
|
+
* attribute-not-on-target
|
|
1801
|
+
*/
|
|
1802
|
+
code: string;
|
|
1803
|
+
/**
|
|
1804
|
+
* The target attribute of the line the finding is about
|
|
1805
|
+
*/
|
|
1806
|
+
target?: string;
|
|
1807
|
+
}?,
|
|
1808
|
+
{
|
|
1809
|
+
action_id: string;
|
|
1810
|
+
/**
|
|
1811
|
+
* example:
|
|
1812
|
+
* attribute-not-on-target
|
|
1813
|
+
*/
|
|
1814
|
+
code: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* The target attribute of the line the finding is about
|
|
1817
|
+
*/
|
|
1818
|
+
target?: string;
|
|
1819
|
+
}?,
|
|
1820
|
+
{
|
|
1821
|
+
action_id: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* example:
|
|
1824
|
+
* attribute-not-on-target
|
|
1825
|
+
*/
|
|
1826
|
+
code: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* The target attribute of the line the finding is about
|
|
1829
|
+
*/
|
|
1830
|
+
target?: string;
|
|
1831
|
+
}?,
|
|
1832
|
+
{
|
|
1833
|
+
action_id: string;
|
|
1834
|
+
/**
|
|
1835
|
+
* example:
|
|
1836
|
+
* attribute-not-on-target
|
|
1837
|
+
*/
|
|
1838
|
+
code: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* The target attribute of the line the finding is about
|
|
1841
|
+
*/
|
|
1842
|
+
target?: string;
|
|
1843
|
+
}?,
|
|
1844
|
+
{
|
|
1845
|
+
action_id: string;
|
|
1846
|
+
/**
|
|
1847
|
+
* example:
|
|
1848
|
+
* attribute-not-on-target
|
|
1849
|
+
*/
|
|
1850
|
+
code: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* The target attribute of the line the finding is about
|
|
1853
|
+
*/
|
|
1854
|
+
target?: string;
|
|
1855
|
+
}?,
|
|
1856
|
+
{
|
|
1857
|
+
action_id: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* example:
|
|
1860
|
+
* attribute-not-on-target
|
|
1861
|
+
*/
|
|
1862
|
+
code: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* The target attribute of the line the finding is about
|
|
1865
|
+
*/
|
|
1866
|
+
target?: string;
|
|
1867
|
+
}?,
|
|
1868
|
+
{
|
|
1869
|
+
action_id: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* example:
|
|
1872
|
+
* attribute-not-on-target
|
|
1873
|
+
*/
|
|
1874
|
+
code: string;
|
|
1875
|
+
/**
|
|
1876
|
+
* The target attribute of the line the finding is about
|
|
1877
|
+
*/
|
|
1878
|
+
target?: string;
|
|
1879
|
+
}?,
|
|
1880
|
+
{
|
|
1881
|
+
action_id: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* example:
|
|
1884
|
+
* attribute-not-on-target
|
|
1885
|
+
*/
|
|
1886
|
+
code: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* The target attribute of the line the finding is about
|
|
1889
|
+
*/
|
|
1890
|
+
target?: string;
|
|
1891
|
+
}?,
|
|
1892
|
+
{
|
|
1893
|
+
action_id: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* example:
|
|
1896
|
+
* attribute-not-on-target
|
|
1897
|
+
*/
|
|
1898
|
+
code: string;
|
|
1899
|
+
/**
|
|
1900
|
+
* The target attribute of the line the finding is about
|
|
1901
|
+
*/
|
|
1902
|
+
target?: string;
|
|
1903
|
+
}?,
|
|
1904
|
+
{
|
|
1905
|
+
action_id: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* example:
|
|
1908
|
+
* attribute-not-on-target
|
|
1909
|
+
*/
|
|
1910
|
+
code: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* The target attribute of the line the finding is about
|
|
1913
|
+
*/
|
|
1914
|
+
target?: string;
|
|
1915
|
+
}?,
|
|
1916
|
+
{
|
|
1917
|
+
action_id: string;
|
|
1918
|
+
/**
|
|
1919
|
+
* example:
|
|
1920
|
+
* attribute-not-on-target
|
|
1921
|
+
*/
|
|
1922
|
+
code: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* The target attribute of the line the finding is about
|
|
1925
|
+
*/
|
|
1926
|
+
target?: string;
|
|
1927
|
+
}?,
|
|
1928
|
+
{
|
|
1929
|
+
action_id: string;
|
|
1930
|
+
/**
|
|
1931
|
+
* example:
|
|
1932
|
+
* attribute-not-on-target
|
|
1933
|
+
*/
|
|
1934
|
+
code: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* The target attribute of the line the finding is about
|
|
1937
|
+
*/
|
|
1938
|
+
target?: string;
|
|
1939
|
+
}?,
|
|
1940
|
+
{
|
|
1941
|
+
action_id: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* example:
|
|
1944
|
+
* attribute-not-on-target
|
|
1945
|
+
*/
|
|
1946
|
+
code: string;
|
|
1947
|
+
/**
|
|
1948
|
+
* The target attribute of the line the finding is about
|
|
1949
|
+
*/
|
|
1950
|
+
target?: string;
|
|
1951
|
+
}?,
|
|
1952
|
+
{
|
|
1953
|
+
action_id: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* example:
|
|
1956
|
+
* attribute-not-on-target
|
|
1957
|
+
*/
|
|
1958
|
+
code: string;
|
|
1959
|
+
/**
|
|
1960
|
+
* The target attribute of the line the finding is about
|
|
1961
|
+
*/
|
|
1962
|
+
target?: string;
|
|
1963
|
+
}?,
|
|
1964
|
+
{
|
|
1965
|
+
action_id: string;
|
|
1966
|
+
/**
|
|
1967
|
+
* example:
|
|
1968
|
+
* attribute-not-on-target
|
|
1969
|
+
*/
|
|
1970
|
+
code: string;
|
|
1971
|
+
/**
|
|
1972
|
+
* The target attribute of the line the finding is about
|
|
1973
|
+
*/
|
|
1974
|
+
target?: string;
|
|
1975
|
+
}?,
|
|
1976
|
+
{
|
|
1977
|
+
action_id: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* example:
|
|
1980
|
+
* attribute-not-on-target
|
|
1981
|
+
*/
|
|
1982
|
+
code: string;
|
|
1983
|
+
/**
|
|
1984
|
+
* The target attribute of the line the finding is about
|
|
1985
|
+
*/
|
|
1986
|
+
target?: string;
|
|
1987
|
+
}?,
|
|
1988
|
+
{
|
|
1989
|
+
action_id: string;
|
|
1990
|
+
/**
|
|
1991
|
+
* example:
|
|
1992
|
+
* attribute-not-on-target
|
|
1993
|
+
*/
|
|
1994
|
+
code: string;
|
|
1995
|
+
/**
|
|
1996
|
+
* The target attribute of the line the finding is about
|
|
1997
|
+
*/
|
|
1998
|
+
target?: string;
|
|
1999
|
+
}?,
|
|
2000
|
+
{
|
|
2001
|
+
action_id: string;
|
|
2002
|
+
/**
|
|
2003
|
+
* example:
|
|
2004
|
+
* attribute-not-on-target
|
|
2005
|
+
*/
|
|
2006
|
+
code: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* The target attribute of the line the finding is about
|
|
2009
|
+
*/
|
|
2010
|
+
target?: string;
|
|
2011
|
+
}?,
|
|
2012
|
+
{
|
|
2013
|
+
action_id: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* example:
|
|
2016
|
+
* attribute-not-on-target
|
|
2017
|
+
*/
|
|
2018
|
+
code: string;
|
|
2019
|
+
/**
|
|
2020
|
+
* The target attribute of the line the finding is about
|
|
2021
|
+
*/
|
|
2022
|
+
target?: string;
|
|
2023
|
+
}?,
|
|
2024
|
+
{
|
|
2025
|
+
action_id: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* example:
|
|
2028
|
+
* attribute-not-on-target
|
|
2029
|
+
*/
|
|
2030
|
+
code: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* The target attribute of the line the finding is about
|
|
2033
|
+
*/
|
|
2034
|
+
target?: string;
|
|
2035
|
+
}?,
|
|
2036
|
+
{
|
|
2037
|
+
action_id: string;
|
|
2038
|
+
/**
|
|
2039
|
+
* example:
|
|
2040
|
+
* attribute-not-on-target
|
|
2041
|
+
*/
|
|
2042
|
+
code: string;
|
|
2043
|
+
/**
|
|
2044
|
+
* The target attribute of the line the finding is about
|
|
2045
|
+
*/
|
|
2046
|
+
target?: string;
|
|
2047
|
+
}?,
|
|
2048
|
+
{
|
|
2049
|
+
action_id: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* example:
|
|
2052
|
+
* attribute-not-on-target
|
|
2053
|
+
*/
|
|
2054
|
+
code: string;
|
|
2055
|
+
/**
|
|
2056
|
+
* The target attribute of the line the finding is about
|
|
2057
|
+
*/
|
|
2058
|
+
target?: string;
|
|
2059
|
+
}?,
|
|
2060
|
+
{
|
|
2061
|
+
action_id: string;
|
|
2062
|
+
/**
|
|
2063
|
+
* example:
|
|
2064
|
+
* attribute-not-on-target
|
|
2065
|
+
*/
|
|
2066
|
+
code: string;
|
|
2067
|
+
/**
|
|
2068
|
+
* The target attribute of the line the finding is about
|
|
2069
|
+
*/
|
|
2070
|
+
target?: string;
|
|
2071
|
+
}?,
|
|
2072
|
+
{
|
|
2073
|
+
action_id: string;
|
|
2074
|
+
/**
|
|
2075
|
+
* example:
|
|
2076
|
+
* attribute-not-on-target
|
|
2077
|
+
*/
|
|
2078
|
+
code: string;
|
|
2079
|
+
/**
|
|
2080
|
+
* The target attribute of the line the finding is about
|
|
2081
|
+
*/
|
|
2082
|
+
target?: string;
|
|
2083
|
+
}?,
|
|
2084
|
+
{
|
|
2085
|
+
action_id: string;
|
|
2086
|
+
/**
|
|
2087
|
+
* example:
|
|
2088
|
+
* attribute-not-on-target
|
|
2089
|
+
*/
|
|
2090
|
+
code: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* The target attribute of the line the finding is about
|
|
2093
|
+
*/
|
|
2094
|
+
target?: string;
|
|
2095
|
+
}?,
|
|
2096
|
+
{
|
|
2097
|
+
action_id: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* example:
|
|
2100
|
+
* attribute-not-on-target
|
|
2101
|
+
*/
|
|
2102
|
+
code: string;
|
|
2103
|
+
/**
|
|
2104
|
+
* The target attribute of the line the finding is about
|
|
2105
|
+
*/
|
|
2106
|
+
target?: string;
|
|
2107
|
+
}?,
|
|
2108
|
+
{
|
|
2109
|
+
action_id: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* example:
|
|
2112
|
+
* attribute-not-on-target
|
|
2113
|
+
*/
|
|
2114
|
+
code: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* The target attribute of the line the finding is about
|
|
2117
|
+
*/
|
|
2118
|
+
target?: string;
|
|
2119
|
+
}?,
|
|
2120
|
+
{
|
|
2121
|
+
action_id: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* example:
|
|
2124
|
+
* attribute-not-on-target
|
|
2125
|
+
*/
|
|
2126
|
+
code: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* The target attribute of the line the finding is about
|
|
2129
|
+
*/
|
|
2130
|
+
target?: string;
|
|
2131
|
+
}?,
|
|
2132
|
+
{
|
|
2133
|
+
action_id: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* example:
|
|
2136
|
+
* attribute-not-on-target
|
|
2137
|
+
*/
|
|
2138
|
+
code: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* The target attribute of the line the finding is about
|
|
2141
|
+
*/
|
|
2142
|
+
target?: string;
|
|
2143
|
+
}?,
|
|
2144
|
+
{
|
|
2145
|
+
action_id: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* example:
|
|
2148
|
+
* attribute-not-on-target
|
|
2149
|
+
*/
|
|
2150
|
+
code: string;
|
|
2151
|
+
/**
|
|
2152
|
+
* The target attribute of the line the finding is about
|
|
2153
|
+
*/
|
|
2154
|
+
target?: string;
|
|
2155
|
+
}?,
|
|
2156
|
+
{
|
|
2157
|
+
action_id: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* example:
|
|
2160
|
+
* attribute-not-on-target
|
|
2161
|
+
*/
|
|
2162
|
+
code: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* The target attribute of the line the finding is about
|
|
2165
|
+
*/
|
|
2166
|
+
target?: string;
|
|
2167
|
+
}?,
|
|
2168
|
+
{
|
|
2169
|
+
action_id: string;
|
|
2170
|
+
/**
|
|
2171
|
+
* example:
|
|
2172
|
+
* attribute-not-on-target
|
|
2173
|
+
*/
|
|
2174
|
+
code: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* The target attribute of the line the finding is about
|
|
2177
|
+
*/
|
|
2178
|
+
target?: string;
|
|
2179
|
+
}?,
|
|
2180
|
+
{
|
|
2181
|
+
action_id: string;
|
|
2182
|
+
/**
|
|
2183
|
+
* example:
|
|
2184
|
+
* attribute-not-on-target
|
|
2185
|
+
*/
|
|
2186
|
+
code: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* The target attribute of the line the finding is about
|
|
2189
|
+
*/
|
|
2190
|
+
target?: string;
|
|
2191
|
+
}?,
|
|
2192
|
+
{
|
|
2193
|
+
action_id: string;
|
|
2194
|
+
/**
|
|
2195
|
+
* example:
|
|
2196
|
+
* attribute-not-on-target
|
|
2197
|
+
*/
|
|
2198
|
+
code: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* The target attribute of the line the finding is about
|
|
2201
|
+
*/
|
|
2202
|
+
target?: string;
|
|
2203
|
+
}?,
|
|
2204
|
+
{
|
|
2205
|
+
action_id: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* example:
|
|
2208
|
+
* attribute-not-on-target
|
|
2209
|
+
*/
|
|
2210
|
+
code: string;
|
|
2211
|
+
/**
|
|
2212
|
+
* The target attribute of the line the finding is about
|
|
2213
|
+
*/
|
|
2214
|
+
target?: string;
|
|
2215
|
+
}?,
|
|
2216
|
+
{
|
|
2217
|
+
action_id: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* example:
|
|
2220
|
+
* attribute-not-on-target
|
|
2221
|
+
*/
|
|
2222
|
+
code: string;
|
|
2223
|
+
/**
|
|
2224
|
+
* The target attribute of the line the finding is about
|
|
2225
|
+
*/
|
|
2226
|
+
target?: string;
|
|
2227
|
+
}?,
|
|
2228
|
+
{
|
|
2229
|
+
action_id: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* example:
|
|
2232
|
+
* attribute-not-on-target
|
|
2233
|
+
*/
|
|
2234
|
+
code: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* The target attribute of the line the finding is about
|
|
2237
|
+
*/
|
|
2238
|
+
target?: string;
|
|
2239
|
+
}?,
|
|
2240
|
+
{
|
|
2241
|
+
action_id: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* example:
|
|
2244
|
+
* attribute-not-on-target
|
|
2245
|
+
*/
|
|
2246
|
+
code: string;
|
|
2247
|
+
/**
|
|
2248
|
+
* The target attribute of the line the finding is about
|
|
2249
|
+
*/
|
|
2250
|
+
target?: string;
|
|
2251
|
+
}?,
|
|
2252
|
+
{
|
|
2253
|
+
action_id: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* example:
|
|
2256
|
+
* attribute-not-on-target
|
|
2257
|
+
*/
|
|
2258
|
+
code: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* The target attribute of the line the finding is about
|
|
2261
|
+
*/
|
|
2262
|
+
target?: string;
|
|
2263
|
+
}?,
|
|
2264
|
+
{
|
|
2265
|
+
action_id: string;
|
|
2266
|
+
/**
|
|
2267
|
+
* example:
|
|
2268
|
+
* attribute-not-on-target
|
|
2269
|
+
*/
|
|
2270
|
+
code: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* The target attribute of the line the finding is about
|
|
2273
|
+
*/
|
|
2274
|
+
target?: string;
|
|
2275
|
+
}?,
|
|
2276
|
+
{
|
|
2277
|
+
action_id: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* example:
|
|
2280
|
+
* attribute-not-on-target
|
|
2281
|
+
*/
|
|
2282
|
+
code: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* The target attribute of the line the finding is about
|
|
2285
|
+
*/
|
|
2286
|
+
target?: string;
|
|
2287
|
+
}?,
|
|
2288
|
+
{
|
|
2289
|
+
action_id: string;
|
|
2290
|
+
/**
|
|
2291
|
+
* example:
|
|
2292
|
+
* attribute-not-on-target
|
|
2293
|
+
*/
|
|
2294
|
+
code: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* The target attribute of the line the finding is about
|
|
2297
|
+
*/
|
|
2298
|
+
target?: string;
|
|
2299
|
+
}?,
|
|
2300
|
+
{
|
|
2301
|
+
action_id: string;
|
|
2302
|
+
/**
|
|
2303
|
+
* example:
|
|
2304
|
+
* attribute-not-on-target
|
|
2305
|
+
*/
|
|
2306
|
+
code: string;
|
|
2307
|
+
/**
|
|
2308
|
+
* The target attribute of the line the finding is about
|
|
2309
|
+
*/
|
|
2310
|
+
target?: string;
|
|
2311
|
+
}?,
|
|
2312
|
+
{
|
|
2313
|
+
action_id: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* example:
|
|
2316
|
+
* attribute-not-on-target
|
|
2317
|
+
*/
|
|
2318
|
+
code: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* The target attribute of the line the finding is about
|
|
2321
|
+
*/
|
|
2322
|
+
target?: string;
|
|
2323
|
+
}?,
|
|
2324
|
+
{
|
|
2325
|
+
action_id: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* example:
|
|
2328
|
+
* attribute-not-on-target
|
|
2329
|
+
*/
|
|
2330
|
+
code: string;
|
|
2331
|
+
/**
|
|
2332
|
+
* The target attribute of the line the finding is about
|
|
2333
|
+
*/
|
|
2334
|
+
target?: string;
|
|
2335
|
+
}?,
|
|
2336
|
+
{
|
|
2337
|
+
action_id: string;
|
|
2338
|
+
/**
|
|
2339
|
+
* example:
|
|
2340
|
+
* attribute-not-on-target
|
|
2341
|
+
*/
|
|
2342
|
+
code: string;
|
|
2343
|
+
/**
|
|
2344
|
+
* The target attribute of the line the finding is about
|
|
2345
|
+
*/
|
|
2346
|
+
target?: string;
|
|
2347
|
+
}?,
|
|
2348
|
+
{
|
|
2349
|
+
action_id: string;
|
|
2350
|
+
/**
|
|
2351
|
+
* example:
|
|
2352
|
+
* attribute-not-on-target
|
|
2353
|
+
*/
|
|
2354
|
+
code: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* The target attribute of the line the finding is about
|
|
2357
|
+
*/
|
|
2358
|
+
target?: string;
|
|
2359
|
+
}?,
|
|
2360
|
+
{
|
|
2361
|
+
action_id: string;
|
|
2362
|
+
/**
|
|
2363
|
+
* example:
|
|
2364
|
+
* attribute-not-on-target
|
|
2365
|
+
*/
|
|
2366
|
+
code: string;
|
|
2367
|
+
/**
|
|
2368
|
+
* The target attribute of the line the finding is about
|
|
2369
|
+
*/
|
|
2370
|
+
target?: string;
|
|
2371
|
+
}?,
|
|
2372
|
+
{
|
|
2373
|
+
action_id: string;
|
|
2374
|
+
/**
|
|
2375
|
+
* example:
|
|
2376
|
+
* attribute-not-on-target
|
|
2377
|
+
*/
|
|
2378
|
+
code: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* The target attribute of the line the finding is about
|
|
2381
|
+
*/
|
|
2382
|
+
target?: string;
|
|
2383
|
+
}?,
|
|
2384
|
+
{
|
|
2385
|
+
action_id: string;
|
|
2386
|
+
/**
|
|
2387
|
+
* example:
|
|
2388
|
+
* attribute-not-on-target
|
|
2389
|
+
*/
|
|
2390
|
+
code: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* The target attribute of the line the finding is about
|
|
2393
|
+
*/
|
|
2394
|
+
target?: string;
|
|
2395
|
+
}?,
|
|
2396
|
+
{
|
|
2397
|
+
action_id: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* example:
|
|
2400
|
+
* attribute-not-on-target
|
|
2401
|
+
*/
|
|
2402
|
+
code: string;
|
|
2403
|
+
/**
|
|
2404
|
+
* The target attribute of the line the finding is about
|
|
2405
|
+
*/
|
|
2406
|
+
target?: string;
|
|
2407
|
+
}?,
|
|
2408
|
+
{
|
|
2409
|
+
action_id: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* example:
|
|
2412
|
+
* attribute-not-on-target
|
|
2413
|
+
*/
|
|
2414
|
+
code: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* The target attribute of the line the finding is about
|
|
2417
|
+
*/
|
|
2418
|
+
target?: string;
|
|
2419
|
+
}?,
|
|
2420
|
+
{
|
|
2421
|
+
action_id: string;
|
|
2422
|
+
/**
|
|
2423
|
+
* example:
|
|
2424
|
+
* attribute-not-on-target
|
|
2425
|
+
*/
|
|
2426
|
+
code: string;
|
|
2427
|
+
/**
|
|
2428
|
+
* The target attribute of the line the finding is about
|
|
2429
|
+
*/
|
|
2430
|
+
target?: string;
|
|
2431
|
+
}?,
|
|
2432
|
+
{
|
|
2433
|
+
action_id: string;
|
|
2434
|
+
/**
|
|
2435
|
+
* example:
|
|
2436
|
+
* attribute-not-on-target
|
|
2437
|
+
*/
|
|
2438
|
+
code: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* The target attribute of the line the finding is about
|
|
2441
|
+
*/
|
|
2442
|
+
target?: string;
|
|
2443
|
+
}?,
|
|
2444
|
+
{
|
|
2445
|
+
action_id: string;
|
|
2446
|
+
/**
|
|
2447
|
+
* example:
|
|
2448
|
+
* attribute-not-on-target
|
|
2449
|
+
*/
|
|
2450
|
+
code: string;
|
|
2451
|
+
/**
|
|
2452
|
+
* The target attribute of the line the finding is about
|
|
2453
|
+
*/
|
|
2454
|
+
target?: string;
|
|
2455
|
+
}?,
|
|
2456
|
+
{
|
|
2457
|
+
action_id: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* example:
|
|
2460
|
+
* attribute-not-on-target
|
|
2461
|
+
*/
|
|
2462
|
+
code: string;
|
|
2463
|
+
/**
|
|
2464
|
+
* The target attribute of the line the finding is about
|
|
2465
|
+
*/
|
|
2466
|
+
target?: string;
|
|
2467
|
+
}?,
|
|
2468
|
+
{
|
|
2469
|
+
action_id: string;
|
|
2470
|
+
/**
|
|
2471
|
+
* example:
|
|
2472
|
+
* attribute-not-on-target
|
|
2473
|
+
*/
|
|
2474
|
+
code: string;
|
|
2475
|
+
/**
|
|
2476
|
+
* The target attribute of the line the finding is about
|
|
2477
|
+
*/
|
|
2478
|
+
target?: string;
|
|
2479
|
+
}?,
|
|
2480
|
+
{
|
|
2481
|
+
action_id: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* example:
|
|
2484
|
+
* attribute-not-on-target
|
|
2485
|
+
*/
|
|
2486
|
+
code: string;
|
|
2487
|
+
/**
|
|
2488
|
+
* The target attribute of the line the finding is about
|
|
2489
|
+
*/
|
|
2490
|
+
target?: string;
|
|
2491
|
+
}?,
|
|
2492
|
+
{
|
|
2493
|
+
action_id: string;
|
|
2494
|
+
/**
|
|
2495
|
+
* example:
|
|
2496
|
+
* attribute-not-on-target
|
|
2497
|
+
*/
|
|
2498
|
+
code: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* The target attribute of the line the finding is about
|
|
2501
|
+
*/
|
|
2502
|
+
target?: string;
|
|
2503
|
+
}?,
|
|
2504
|
+
{
|
|
2505
|
+
action_id: string;
|
|
2506
|
+
/**
|
|
2507
|
+
* example:
|
|
2508
|
+
* attribute-not-on-target
|
|
2509
|
+
*/
|
|
2510
|
+
code: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* The target attribute of the line the finding is about
|
|
2513
|
+
*/
|
|
2514
|
+
target?: string;
|
|
2515
|
+
}?,
|
|
2516
|
+
{
|
|
2517
|
+
action_id: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* example:
|
|
2520
|
+
* attribute-not-on-target
|
|
2521
|
+
*/
|
|
2522
|
+
code: string;
|
|
2523
|
+
/**
|
|
2524
|
+
* The target attribute of the line the finding is about
|
|
2525
|
+
*/
|
|
2526
|
+
target?: string;
|
|
2527
|
+
}?,
|
|
2528
|
+
{
|
|
2529
|
+
action_id: string;
|
|
2530
|
+
/**
|
|
2531
|
+
* example:
|
|
2532
|
+
* attribute-not-on-target
|
|
2533
|
+
*/
|
|
2534
|
+
code: string;
|
|
2535
|
+
/**
|
|
2536
|
+
* The target attribute of the line the finding is about
|
|
2537
|
+
*/
|
|
2538
|
+
target?: string;
|
|
2539
|
+
}?,
|
|
2540
|
+
{
|
|
2541
|
+
action_id: string;
|
|
2542
|
+
/**
|
|
2543
|
+
* example:
|
|
2544
|
+
* attribute-not-on-target
|
|
2545
|
+
*/
|
|
2546
|
+
code: string;
|
|
2547
|
+
/**
|
|
2548
|
+
* The target attribute of the line the finding is about
|
|
2549
|
+
*/
|
|
2550
|
+
target?: string;
|
|
2551
|
+
}?,
|
|
2552
|
+
{
|
|
2553
|
+
action_id: string;
|
|
2554
|
+
/**
|
|
2555
|
+
* example:
|
|
2556
|
+
* attribute-not-on-target
|
|
2557
|
+
*/
|
|
2558
|
+
code: string;
|
|
2559
|
+
/**
|
|
2560
|
+
* The target attribute of the line the finding is about
|
|
2561
|
+
*/
|
|
2562
|
+
target?: string;
|
|
2563
|
+
}?,
|
|
2564
|
+
{
|
|
2565
|
+
action_id: string;
|
|
2566
|
+
/**
|
|
2567
|
+
* example:
|
|
2568
|
+
* attribute-not-on-target
|
|
2569
|
+
*/
|
|
2570
|
+
code: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* The target attribute of the line the finding is about
|
|
2573
|
+
*/
|
|
2574
|
+
target?: string;
|
|
2575
|
+
}?,
|
|
2576
|
+
{
|
|
2577
|
+
action_id: string;
|
|
2578
|
+
/**
|
|
2579
|
+
* example:
|
|
2580
|
+
* attribute-not-on-target
|
|
2581
|
+
*/
|
|
2582
|
+
code: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* The target attribute of the line the finding is about
|
|
2585
|
+
*/
|
|
2586
|
+
target?: string;
|
|
2587
|
+
}?,
|
|
2588
|
+
{
|
|
2589
|
+
action_id: string;
|
|
2590
|
+
/**
|
|
2591
|
+
* example:
|
|
2592
|
+
* attribute-not-on-target
|
|
2593
|
+
*/
|
|
2594
|
+
code: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* The target attribute of the line the finding is about
|
|
2597
|
+
*/
|
|
2598
|
+
target?: string;
|
|
2599
|
+
}?,
|
|
2600
|
+
{
|
|
2601
|
+
action_id: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* example:
|
|
2604
|
+
* attribute-not-on-target
|
|
2605
|
+
*/
|
|
2606
|
+
code: string;
|
|
2607
|
+
/**
|
|
2608
|
+
* The target attribute of the line the finding is about
|
|
2609
|
+
*/
|
|
2610
|
+
target?: string;
|
|
2611
|
+
}?,
|
|
2612
|
+
{
|
|
2613
|
+
action_id: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* example:
|
|
2616
|
+
* attribute-not-on-target
|
|
2617
|
+
*/
|
|
2618
|
+
code: string;
|
|
2619
|
+
/**
|
|
2620
|
+
* The target attribute of the line the finding is about
|
|
2621
|
+
*/
|
|
2622
|
+
target?: string;
|
|
2623
|
+
}?,
|
|
2624
|
+
{
|
|
2625
|
+
action_id: string;
|
|
2626
|
+
/**
|
|
2627
|
+
* example:
|
|
2628
|
+
* attribute-not-on-target
|
|
2629
|
+
*/
|
|
2630
|
+
code: string;
|
|
2631
|
+
/**
|
|
2632
|
+
* The target attribute of the line the finding is about
|
|
2633
|
+
*/
|
|
2634
|
+
target?: string;
|
|
2635
|
+
}?,
|
|
2636
|
+
{
|
|
2637
|
+
action_id: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* example:
|
|
2640
|
+
* attribute-not-on-target
|
|
2641
|
+
*/
|
|
2642
|
+
code: string;
|
|
2643
|
+
/**
|
|
2644
|
+
* The target attribute of the line the finding is about
|
|
2645
|
+
*/
|
|
2646
|
+
target?: string;
|
|
2647
|
+
}?,
|
|
2648
|
+
{
|
|
2649
|
+
action_id: string;
|
|
2650
|
+
/**
|
|
2651
|
+
* example:
|
|
2652
|
+
* attribute-not-on-target
|
|
2653
|
+
*/
|
|
2654
|
+
code: string;
|
|
2655
|
+
/**
|
|
2656
|
+
* The target attribute of the line the finding is about
|
|
2657
|
+
*/
|
|
2658
|
+
target?: string;
|
|
2659
|
+
}?,
|
|
2660
|
+
{
|
|
2661
|
+
action_id: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* example:
|
|
2664
|
+
* attribute-not-on-target
|
|
2665
|
+
*/
|
|
2666
|
+
code: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* The target attribute of the line the finding is about
|
|
2669
|
+
*/
|
|
2670
|
+
target?: string;
|
|
2671
|
+
}?,
|
|
2672
|
+
{
|
|
2673
|
+
action_id: string;
|
|
2674
|
+
/**
|
|
2675
|
+
* example:
|
|
2676
|
+
* attribute-not-on-target
|
|
2677
|
+
*/
|
|
2678
|
+
code: string;
|
|
2679
|
+
/**
|
|
2680
|
+
* The target attribute of the line the finding is about
|
|
2681
|
+
*/
|
|
2682
|
+
target?: string;
|
|
2683
|
+
}?,
|
|
2684
|
+
{
|
|
2685
|
+
action_id: string;
|
|
2686
|
+
/**
|
|
2687
|
+
* example:
|
|
2688
|
+
* attribute-not-on-target
|
|
2689
|
+
*/
|
|
2690
|
+
code: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* The target attribute of the line the finding is about
|
|
2693
|
+
*/
|
|
2694
|
+
target?: string;
|
|
2695
|
+
}?,
|
|
2696
|
+
{
|
|
2697
|
+
action_id: string;
|
|
2698
|
+
/**
|
|
2699
|
+
* example:
|
|
2700
|
+
* attribute-not-on-target
|
|
2701
|
+
*/
|
|
2702
|
+
code: string;
|
|
2703
|
+
/**
|
|
2704
|
+
* The target attribute of the line the finding is about
|
|
2705
|
+
*/
|
|
2706
|
+
target?: string;
|
|
2707
|
+
}?,
|
|
2708
|
+
{
|
|
2709
|
+
action_id: string;
|
|
2710
|
+
/**
|
|
2711
|
+
* example:
|
|
2712
|
+
* attribute-not-on-target
|
|
2713
|
+
*/
|
|
2714
|
+
code: string;
|
|
2715
|
+
/**
|
|
2716
|
+
* The target attribute of the line the finding is about
|
|
2717
|
+
*/
|
|
2718
|
+
target?: string;
|
|
2719
|
+
}?,
|
|
2720
|
+
{
|
|
2721
|
+
action_id: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* example:
|
|
2724
|
+
* attribute-not-on-target
|
|
2725
|
+
*/
|
|
2726
|
+
code: string;
|
|
2727
|
+
/**
|
|
2728
|
+
* The target attribute of the line the finding is about
|
|
2729
|
+
*/
|
|
2730
|
+
target?: string;
|
|
2731
|
+
}?,
|
|
2732
|
+
{
|
|
2733
|
+
action_id: string;
|
|
2734
|
+
/**
|
|
2735
|
+
* example:
|
|
2736
|
+
* attribute-not-on-target
|
|
2737
|
+
*/
|
|
2738
|
+
code: string;
|
|
2739
|
+
/**
|
|
2740
|
+
* The target attribute of the line the finding is about
|
|
2741
|
+
*/
|
|
2742
|
+
target?: string;
|
|
2743
|
+
}?,
|
|
2744
|
+
{
|
|
2745
|
+
action_id: string;
|
|
2746
|
+
/**
|
|
2747
|
+
* example:
|
|
2748
|
+
* attribute-not-on-target
|
|
2749
|
+
*/
|
|
2750
|
+
code: string;
|
|
2751
|
+
/**
|
|
2752
|
+
* The target attribute of the line the finding is about
|
|
2753
|
+
*/
|
|
2754
|
+
target?: string;
|
|
2755
|
+
}?,
|
|
2756
|
+
{
|
|
2757
|
+
action_id: string;
|
|
2758
|
+
/**
|
|
2759
|
+
* example:
|
|
2760
|
+
* attribute-not-on-target
|
|
2761
|
+
*/
|
|
2762
|
+
code: string;
|
|
2763
|
+
/**
|
|
2764
|
+
* The target attribute of the line the finding is about
|
|
2765
|
+
*/
|
|
2766
|
+
target?: string;
|
|
2767
|
+
}?,
|
|
2768
|
+
{
|
|
2769
|
+
action_id: string;
|
|
2770
|
+
/**
|
|
2771
|
+
* example:
|
|
2772
|
+
* attribute-not-on-target
|
|
2773
|
+
*/
|
|
2774
|
+
code: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* The target attribute of the line the finding is about
|
|
2777
|
+
*/
|
|
2778
|
+
target?: string;
|
|
2779
|
+
}?,
|
|
2780
|
+
{
|
|
2781
|
+
action_id: string;
|
|
2782
|
+
/**
|
|
2783
|
+
* example:
|
|
2784
|
+
* attribute-not-on-target
|
|
2785
|
+
*/
|
|
2786
|
+
code: string;
|
|
2787
|
+
/**
|
|
2788
|
+
* The target attribute of the line the finding is about
|
|
2789
|
+
*/
|
|
2790
|
+
target?: string;
|
|
2791
|
+
}?,
|
|
2792
|
+
{
|
|
2793
|
+
action_id: string;
|
|
2794
|
+
/**
|
|
2795
|
+
* example:
|
|
2796
|
+
* attribute-not-on-target
|
|
2797
|
+
*/
|
|
2798
|
+
code: string;
|
|
2799
|
+
/**
|
|
2800
|
+
* The target attribute of the line the finding is about
|
|
2801
|
+
*/
|
|
2802
|
+
target?: string;
|
|
2803
|
+
}?,
|
|
2804
|
+
{
|
|
2805
|
+
action_id: string;
|
|
2806
|
+
/**
|
|
2807
|
+
* example:
|
|
2808
|
+
* attribute-not-on-target
|
|
2809
|
+
*/
|
|
2810
|
+
code: string;
|
|
2811
|
+
/**
|
|
2812
|
+
* The target attribute of the line the finding is about
|
|
2813
|
+
*/
|
|
2814
|
+
target?: string;
|
|
2815
|
+
}?,
|
|
2816
|
+
{
|
|
2817
|
+
action_id: string;
|
|
2818
|
+
/**
|
|
2819
|
+
* example:
|
|
2820
|
+
* attribute-not-on-target
|
|
2821
|
+
*/
|
|
2822
|
+
code: string;
|
|
2823
|
+
/**
|
|
2824
|
+
* The target attribute of the line the finding is about
|
|
2825
|
+
*/
|
|
2826
|
+
target?: string;
|
|
2827
|
+
}?,
|
|
2828
|
+
{
|
|
2829
|
+
action_id: string;
|
|
2830
|
+
/**
|
|
2831
|
+
* example:
|
|
2832
|
+
* attribute-not-on-target
|
|
2833
|
+
*/
|
|
2834
|
+
code: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* The target attribute of the line the finding is about
|
|
2837
|
+
*/
|
|
2838
|
+
target?: string;
|
|
2839
|
+
}?,
|
|
2840
|
+
{
|
|
2841
|
+
action_id: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* example:
|
|
2844
|
+
* attribute-not-on-target
|
|
2845
|
+
*/
|
|
2846
|
+
code: string;
|
|
2847
|
+
/**
|
|
2848
|
+
* The target attribute of the line the finding is about
|
|
2849
|
+
*/
|
|
2850
|
+
target?: string;
|
|
2851
|
+
}?,
|
|
2852
|
+
{
|
|
2853
|
+
action_id: string;
|
|
2854
|
+
/**
|
|
2855
|
+
* example:
|
|
2856
|
+
* attribute-not-on-target
|
|
2857
|
+
*/
|
|
2858
|
+
code: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* The target attribute of the line the finding is about
|
|
2861
|
+
*/
|
|
2862
|
+
target?: string;
|
|
2863
|
+
}?,
|
|
2864
|
+
{
|
|
2865
|
+
action_id: string;
|
|
2866
|
+
/**
|
|
2867
|
+
* example:
|
|
2868
|
+
* attribute-not-on-target
|
|
2869
|
+
*/
|
|
2870
|
+
code: string;
|
|
2871
|
+
/**
|
|
2872
|
+
* The target attribute of the line the finding is about
|
|
2873
|
+
*/
|
|
2874
|
+
target?: string;
|
|
2875
|
+
}?,
|
|
2876
|
+
{
|
|
2877
|
+
action_id: string;
|
|
2878
|
+
/**
|
|
2879
|
+
* example:
|
|
2880
|
+
* attribute-not-on-target
|
|
2881
|
+
*/
|
|
2882
|
+
code: string;
|
|
2883
|
+
/**
|
|
2884
|
+
* The target attribute of the line the finding is about
|
|
2885
|
+
*/
|
|
2886
|
+
target?: string;
|
|
2887
|
+
}?,
|
|
2888
|
+
{
|
|
2889
|
+
action_id: string;
|
|
2890
|
+
/**
|
|
2891
|
+
* example:
|
|
2892
|
+
* attribute-not-on-target
|
|
2893
|
+
*/
|
|
2894
|
+
code: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* The target attribute of the line the finding is about
|
|
2897
|
+
*/
|
|
2898
|
+
target?: string;
|
|
2899
|
+
}?,
|
|
2900
|
+
{
|
|
2901
|
+
action_id: string;
|
|
2902
|
+
/**
|
|
2903
|
+
* example:
|
|
2904
|
+
* attribute-not-on-target
|
|
2905
|
+
*/
|
|
2906
|
+
code: string;
|
|
2907
|
+
/**
|
|
2908
|
+
* The target attribute of the line the finding is about
|
|
2909
|
+
*/
|
|
2910
|
+
target?: string;
|
|
2911
|
+
}?,
|
|
2912
|
+
{
|
|
2913
|
+
action_id: string;
|
|
2914
|
+
/**
|
|
2915
|
+
* example:
|
|
2916
|
+
* attribute-not-on-target
|
|
2917
|
+
*/
|
|
2918
|
+
code: string;
|
|
2919
|
+
/**
|
|
2920
|
+
* The target attribute of the line the finding is about
|
|
2921
|
+
*/
|
|
2922
|
+
target?: string;
|
|
2923
|
+
}?,
|
|
2924
|
+
{
|
|
2925
|
+
action_id: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* example:
|
|
2928
|
+
* attribute-not-on-target
|
|
2929
|
+
*/
|
|
2930
|
+
code: string;
|
|
2931
|
+
/**
|
|
2932
|
+
* The target attribute of the line the finding is about
|
|
2933
|
+
*/
|
|
2934
|
+
target?: string;
|
|
2935
|
+
}?,
|
|
2936
|
+
{
|
|
2937
|
+
action_id: string;
|
|
2938
|
+
/**
|
|
2939
|
+
* example:
|
|
2940
|
+
* attribute-not-on-target
|
|
2941
|
+
*/
|
|
2942
|
+
code: string;
|
|
2943
|
+
/**
|
|
2944
|
+
* The target attribute of the line the finding is about
|
|
2945
|
+
*/
|
|
2946
|
+
target?: string;
|
|
2947
|
+
}?,
|
|
2948
|
+
{
|
|
2949
|
+
action_id: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* example:
|
|
2952
|
+
* attribute-not-on-target
|
|
2953
|
+
*/
|
|
2954
|
+
code: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* The target attribute of the line the finding is about
|
|
2957
|
+
*/
|
|
2958
|
+
target?: string;
|
|
2959
|
+
}?,
|
|
2960
|
+
{
|
|
2961
|
+
action_id: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* example:
|
|
2964
|
+
* attribute-not-on-target
|
|
2965
|
+
*/
|
|
2966
|
+
code: string;
|
|
2967
|
+
/**
|
|
2968
|
+
* The target attribute of the line the finding is about
|
|
2969
|
+
*/
|
|
2970
|
+
target?: string;
|
|
2971
|
+
}?,
|
|
2972
|
+
{
|
|
2973
|
+
action_id: string;
|
|
2974
|
+
/**
|
|
2975
|
+
* example:
|
|
2976
|
+
* attribute-not-on-target
|
|
2977
|
+
*/
|
|
2978
|
+
code: string;
|
|
2979
|
+
/**
|
|
2980
|
+
* The target attribute of the line the finding is about
|
|
2981
|
+
*/
|
|
2982
|
+
target?: string;
|
|
2983
|
+
}?,
|
|
2984
|
+
{
|
|
2985
|
+
action_id: string;
|
|
2986
|
+
/**
|
|
2987
|
+
* example:
|
|
2988
|
+
* attribute-not-on-target
|
|
2989
|
+
*/
|
|
2990
|
+
code: string;
|
|
2991
|
+
/**
|
|
2992
|
+
* The target attribute of the line the finding is about
|
|
2993
|
+
*/
|
|
2994
|
+
target?: string;
|
|
2995
|
+
}?,
|
|
2996
|
+
{
|
|
2997
|
+
action_id: string;
|
|
2998
|
+
/**
|
|
2999
|
+
* example:
|
|
3000
|
+
* attribute-not-on-target
|
|
3001
|
+
*/
|
|
3002
|
+
code: string;
|
|
3003
|
+
/**
|
|
3004
|
+
* The target attribute of the line the finding is about
|
|
3005
|
+
*/
|
|
3006
|
+
target?: string;
|
|
3007
|
+
}?,
|
|
3008
|
+
{
|
|
3009
|
+
action_id: string;
|
|
3010
|
+
/**
|
|
3011
|
+
* example:
|
|
3012
|
+
* attribute-not-on-target
|
|
3013
|
+
*/
|
|
3014
|
+
code: string;
|
|
3015
|
+
/**
|
|
3016
|
+
* The target attribute of the line the finding is about
|
|
3017
|
+
*/
|
|
3018
|
+
target?: string;
|
|
3019
|
+
}?,
|
|
3020
|
+
{
|
|
3021
|
+
action_id: string;
|
|
3022
|
+
/**
|
|
3023
|
+
* example:
|
|
3024
|
+
* attribute-not-on-target
|
|
3025
|
+
*/
|
|
3026
|
+
code: string;
|
|
3027
|
+
/**
|
|
3028
|
+
* The target attribute of the line the finding is about
|
|
3029
|
+
*/
|
|
3030
|
+
target?: string;
|
|
3031
|
+
}?,
|
|
3032
|
+
{
|
|
3033
|
+
action_id: string;
|
|
3034
|
+
/**
|
|
3035
|
+
* example:
|
|
3036
|
+
* attribute-not-on-target
|
|
3037
|
+
*/
|
|
3038
|
+
code: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* The target attribute of the line the finding is about
|
|
3041
|
+
*/
|
|
3042
|
+
target?: string;
|
|
3043
|
+
}?,
|
|
3044
|
+
{
|
|
3045
|
+
action_id: string;
|
|
3046
|
+
/**
|
|
3047
|
+
* example:
|
|
3048
|
+
* attribute-not-on-target
|
|
3049
|
+
*/
|
|
3050
|
+
code: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* The target attribute of the line the finding is about
|
|
3053
|
+
*/
|
|
3054
|
+
target?: string;
|
|
3055
|
+
}?,
|
|
3056
|
+
{
|
|
3057
|
+
action_id: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* example:
|
|
3060
|
+
* attribute-not-on-target
|
|
3061
|
+
*/
|
|
3062
|
+
code: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* The target attribute of the line the finding is about
|
|
3065
|
+
*/
|
|
3066
|
+
target?: string;
|
|
3067
|
+
}?,
|
|
3068
|
+
{
|
|
3069
|
+
action_id: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* example:
|
|
3072
|
+
* attribute-not-on-target
|
|
3073
|
+
*/
|
|
3074
|
+
code: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* The target attribute of the line the finding is about
|
|
3077
|
+
*/
|
|
3078
|
+
target?: string;
|
|
3079
|
+
}?,
|
|
3080
|
+
{
|
|
3081
|
+
action_id: string;
|
|
3082
|
+
/**
|
|
3083
|
+
* example:
|
|
3084
|
+
* attribute-not-on-target
|
|
3085
|
+
*/
|
|
3086
|
+
code: string;
|
|
3087
|
+
/**
|
|
3088
|
+
* The target attribute of the line the finding is about
|
|
3089
|
+
*/
|
|
3090
|
+
target?: string;
|
|
3091
|
+
}?,
|
|
3092
|
+
{
|
|
3093
|
+
action_id: string;
|
|
3094
|
+
/**
|
|
3095
|
+
* example:
|
|
3096
|
+
* attribute-not-on-target
|
|
3097
|
+
*/
|
|
3098
|
+
code: string;
|
|
3099
|
+
/**
|
|
3100
|
+
* The target attribute of the line the finding is about
|
|
3101
|
+
*/
|
|
3102
|
+
target?: string;
|
|
3103
|
+
}?,
|
|
3104
|
+
{
|
|
3105
|
+
action_id: string;
|
|
3106
|
+
/**
|
|
3107
|
+
* example:
|
|
3108
|
+
* attribute-not-on-target
|
|
3109
|
+
*/
|
|
3110
|
+
code: string;
|
|
3111
|
+
/**
|
|
3112
|
+
* The target attribute of the line the finding is about
|
|
3113
|
+
*/
|
|
3114
|
+
target?: string;
|
|
3115
|
+
}?,
|
|
3116
|
+
{
|
|
3117
|
+
action_id: string;
|
|
3118
|
+
/**
|
|
3119
|
+
* example:
|
|
3120
|
+
* attribute-not-on-target
|
|
3121
|
+
*/
|
|
3122
|
+
code: string;
|
|
3123
|
+
/**
|
|
3124
|
+
* The target attribute of the line the finding is about
|
|
3125
|
+
*/
|
|
3126
|
+
target?: string;
|
|
3127
|
+
}?,
|
|
3128
|
+
{
|
|
3129
|
+
action_id: string;
|
|
3130
|
+
/**
|
|
3131
|
+
* example:
|
|
3132
|
+
* attribute-not-on-target
|
|
3133
|
+
*/
|
|
3134
|
+
code: string;
|
|
3135
|
+
/**
|
|
3136
|
+
* The target attribute of the line the finding is about
|
|
3137
|
+
*/
|
|
3138
|
+
target?: string;
|
|
3139
|
+
}?,
|
|
3140
|
+
{
|
|
3141
|
+
action_id: string;
|
|
3142
|
+
/**
|
|
3143
|
+
* example:
|
|
3144
|
+
* attribute-not-on-target
|
|
3145
|
+
*/
|
|
3146
|
+
code: string;
|
|
3147
|
+
/**
|
|
3148
|
+
* The target attribute of the line the finding is about
|
|
3149
|
+
*/
|
|
3150
|
+
target?: string;
|
|
3151
|
+
}?,
|
|
3152
|
+
{
|
|
3153
|
+
action_id: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* example:
|
|
3156
|
+
* attribute-not-on-target
|
|
3157
|
+
*/
|
|
3158
|
+
code: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* The target attribute of the line the finding is about
|
|
3161
|
+
*/
|
|
3162
|
+
target?: string;
|
|
3163
|
+
}?,
|
|
3164
|
+
{
|
|
3165
|
+
action_id: string;
|
|
3166
|
+
/**
|
|
3167
|
+
* example:
|
|
3168
|
+
* attribute-not-on-target
|
|
3169
|
+
*/
|
|
3170
|
+
code: string;
|
|
3171
|
+
/**
|
|
3172
|
+
* The target attribute of the line the finding is about
|
|
3173
|
+
*/
|
|
3174
|
+
target?: string;
|
|
3175
|
+
}?,
|
|
3176
|
+
{
|
|
3177
|
+
action_id: string;
|
|
3178
|
+
/**
|
|
3179
|
+
* example:
|
|
3180
|
+
* attribute-not-on-target
|
|
3181
|
+
*/
|
|
3182
|
+
code: string;
|
|
3183
|
+
/**
|
|
3184
|
+
* The target attribute of the line the finding is about
|
|
3185
|
+
*/
|
|
3186
|
+
target?: string;
|
|
3187
|
+
}?,
|
|
3188
|
+
{
|
|
3189
|
+
action_id: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* example:
|
|
3192
|
+
* attribute-not-on-target
|
|
3193
|
+
*/
|
|
3194
|
+
code: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* The target attribute of the line the finding is about
|
|
3197
|
+
*/
|
|
3198
|
+
target?: string;
|
|
3199
|
+
}?,
|
|
3200
|
+
{
|
|
3201
|
+
action_id: string;
|
|
3202
|
+
/**
|
|
3203
|
+
* example:
|
|
3204
|
+
* attribute-not-on-target
|
|
3205
|
+
*/
|
|
3206
|
+
code: string;
|
|
3207
|
+
/**
|
|
3208
|
+
* The target attribute of the line the finding is about
|
|
3209
|
+
*/
|
|
3210
|
+
target?: string;
|
|
3211
|
+
}?,
|
|
3212
|
+
{
|
|
3213
|
+
action_id: string;
|
|
3214
|
+
/**
|
|
3215
|
+
* example:
|
|
3216
|
+
* attribute-not-on-target
|
|
3217
|
+
*/
|
|
3218
|
+
code: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* The target attribute of the line the finding is about
|
|
3221
|
+
*/
|
|
3222
|
+
target?: string;
|
|
3223
|
+
}?,
|
|
3224
|
+
{
|
|
3225
|
+
action_id: string;
|
|
3226
|
+
/**
|
|
3227
|
+
* example:
|
|
3228
|
+
* attribute-not-on-target
|
|
3229
|
+
*/
|
|
3230
|
+
code: string;
|
|
3231
|
+
/**
|
|
3232
|
+
* The target attribute of the line the finding is about
|
|
3233
|
+
*/
|
|
3234
|
+
target?: string;
|
|
3235
|
+
}?,
|
|
3236
|
+
{
|
|
3237
|
+
action_id: string;
|
|
3238
|
+
/**
|
|
3239
|
+
* example:
|
|
3240
|
+
* attribute-not-on-target
|
|
3241
|
+
*/
|
|
3242
|
+
code: string;
|
|
3243
|
+
/**
|
|
3244
|
+
* The target attribute of the line the finding is about
|
|
3245
|
+
*/
|
|
3246
|
+
target?: string;
|
|
3247
|
+
}?,
|
|
3248
|
+
{
|
|
3249
|
+
action_id: string;
|
|
3250
|
+
/**
|
|
3251
|
+
* example:
|
|
3252
|
+
* attribute-not-on-target
|
|
3253
|
+
*/
|
|
3254
|
+
code: string;
|
|
3255
|
+
/**
|
|
3256
|
+
* The target attribute of the line the finding is about
|
|
3257
|
+
*/
|
|
3258
|
+
target?: string;
|
|
3259
|
+
}?,
|
|
3260
|
+
{
|
|
3261
|
+
action_id: string;
|
|
3262
|
+
/**
|
|
3263
|
+
* example:
|
|
3264
|
+
* attribute-not-on-target
|
|
3265
|
+
*/
|
|
3266
|
+
code: string;
|
|
3267
|
+
/**
|
|
3268
|
+
* The target attribute of the line the finding is about
|
|
3269
|
+
*/
|
|
3270
|
+
target?: string;
|
|
3271
|
+
}?,
|
|
3272
|
+
{
|
|
3273
|
+
action_id: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* example:
|
|
3276
|
+
* attribute-not-on-target
|
|
3277
|
+
*/
|
|
3278
|
+
code: string;
|
|
3279
|
+
/**
|
|
3280
|
+
* The target attribute of the line the finding is about
|
|
3281
|
+
*/
|
|
3282
|
+
target?: string;
|
|
3283
|
+
}?,
|
|
3284
|
+
{
|
|
3285
|
+
action_id: string;
|
|
3286
|
+
/**
|
|
3287
|
+
* example:
|
|
3288
|
+
* attribute-not-on-target
|
|
3289
|
+
*/
|
|
3290
|
+
code: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* The target attribute of the line the finding is about
|
|
3293
|
+
*/
|
|
3294
|
+
target?: string;
|
|
3295
|
+
}?,
|
|
3296
|
+
{
|
|
3297
|
+
action_id: string;
|
|
3298
|
+
/**
|
|
3299
|
+
* example:
|
|
3300
|
+
* attribute-not-on-target
|
|
3301
|
+
*/
|
|
3302
|
+
code: string;
|
|
3303
|
+
/**
|
|
3304
|
+
* The target attribute of the line the finding is about
|
|
3305
|
+
*/
|
|
3306
|
+
target?: string;
|
|
3307
|
+
}?,
|
|
3308
|
+
{
|
|
3309
|
+
action_id: string;
|
|
3310
|
+
/**
|
|
3311
|
+
* example:
|
|
3312
|
+
* attribute-not-on-target
|
|
3313
|
+
*/
|
|
3314
|
+
code: string;
|
|
3315
|
+
/**
|
|
3316
|
+
* The target attribute of the line the finding is about
|
|
3317
|
+
*/
|
|
3318
|
+
target?: string;
|
|
3319
|
+
}?,
|
|
3320
|
+
{
|
|
3321
|
+
action_id: string;
|
|
3322
|
+
/**
|
|
3323
|
+
* example:
|
|
3324
|
+
* attribute-not-on-target
|
|
3325
|
+
*/
|
|
3326
|
+
code: string;
|
|
3327
|
+
/**
|
|
3328
|
+
* The target attribute of the line the finding is about
|
|
3329
|
+
*/
|
|
3330
|
+
target?: string;
|
|
3331
|
+
}?,
|
|
3332
|
+
{
|
|
3333
|
+
action_id: string;
|
|
3334
|
+
/**
|
|
3335
|
+
* example:
|
|
3336
|
+
* attribute-not-on-target
|
|
3337
|
+
*/
|
|
3338
|
+
code: string;
|
|
3339
|
+
/**
|
|
3340
|
+
* The target attribute of the line the finding is about
|
|
3341
|
+
*/
|
|
3342
|
+
target?: string;
|
|
3343
|
+
}?,
|
|
3344
|
+
{
|
|
3345
|
+
action_id: string;
|
|
3346
|
+
/**
|
|
3347
|
+
* example:
|
|
3348
|
+
* attribute-not-on-target
|
|
3349
|
+
*/
|
|
3350
|
+
code: string;
|
|
3351
|
+
/**
|
|
3352
|
+
* The target attribute of the line the finding is about
|
|
3353
|
+
*/
|
|
3354
|
+
target?: string;
|
|
3355
|
+
}?,
|
|
3356
|
+
{
|
|
3357
|
+
action_id: string;
|
|
3358
|
+
/**
|
|
3359
|
+
* example:
|
|
3360
|
+
* attribute-not-on-target
|
|
3361
|
+
*/
|
|
3362
|
+
code: string;
|
|
3363
|
+
/**
|
|
3364
|
+
* The target attribute of the line the finding is about
|
|
3365
|
+
*/
|
|
3366
|
+
target?: string;
|
|
3367
|
+
}?,
|
|
3368
|
+
{
|
|
3369
|
+
action_id: string;
|
|
3370
|
+
/**
|
|
3371
|
+
* example:
|
|
3372
|
+
* attribute-not-on-target
|
|
3373
|
+
*/
|
|
3374
|
+
code: string;
|
|
3375
|
+
/**
|
|
3376
|
+
* The target attribute of the line the finding is about
|
|
3377
|
+
*/
|
|
3378
|
+
target?: string;
|
|
3379
|
+
}?,
|
|
3380
|
+
{
|
|
3381
|
+
action_id: string;
|
|
3382
|
+
/**
|
|
3383
|
+
* example:
|
|
3384
|
+
* attribute-not-on-target
|
|
3385
|
+
*/
|
|
3386
|
+
code: string;
|
|
3387
|
+
/**
|
|
3388
|
+
* The target attribute of the line the finding is about
|
|
3389
|
+
*/
|
|
3390
|
+
target?: string;
|
|
3391
|
+
}?,
|
|
3392
|
+
{
|
|
3393
|
+
action_id: string;
|
|
3394
|
+
/**
|
|
3395
|
+
* example:
|
|
3396
|
+
* attribute-not-on-target
|
|
3397
|
+
*/
|
|
3398
|
+
code: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* The target attribute of the line the finding is about
|
|
3401
|
+
*/
|
|
3402
|
+
target?: string;
|
|
3403
|
+
}?,
|
|
3404
|
+
{
|
|
3405
|
+
action_id: string;
|
|
3406
|
+
/**
|
|
3407
|
+
* example:
|
|
3408
|
+
* attribute-not-on-target
|
|
3409
|
+
*/
|
|
3410
|
+
code: string;
|
|
3411
|
+
/**
|
|
3412
|
+
* The target attribute of the line the finding is about
|
|
3413
|
+
*/
|
|
3414
|
+
target?: string;
|
|
3415
|
+
}?,
|
|
3416
|
+
{
|
|
3417
|
+
action_id: string;
|
|
3418
|
+
/**
|
|
3419
|
+
* example:
|
|
3420
|
+
* attribute-not-on-target
|
|
3421
|
+
*/
|
|
3422
|
+
code: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* The target attribute of the line the finding is about
|
|
3425
|
+
*/
|
|
3426
|
+
target?: string;
|
|
3427
|
+
}?,
|
|
3428
|
+
{
|
|
3429
|
+
action_id: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* example:
|
|
3432
|
+
* attribute-not-on-target
|
|
3433
|
+
*/
|
|
3434
|
+
code: string;
|
|
3435
|
+
/**
|
|
3436
|
+
* The target attribute of the line the finding is about
|
|
3437
|
+
*/
|
|
3438
|
+
target?: string;
|
|
3439
|
+
}?,
|
|
3440
|
+
{
|
|
3441
|
+
action_id: string;
|
|
3442
|
+
/**
|
|
3443
|
+
* example:
|
|
3444
|
+
* attribute-not-on-target
|
|
3445
|
+
*/
|
|
3446
|
+
code: string;
|
|
3447
|
+
/**
|
|
3448
|
+
* The target attribute of the line the finding is about
|
|
3449
|
+
*/
|
|
3450
|
+
target?: string;
|
|
3451
|
+
}?,
|
|
3452
|
+
{
|
|
3453
|
+
action_id: string;
|
|
3454
|
+
/**
|
|
3455
|
+
* example:
|
|
3456
|
+
* attribute-not-on-target
|
|
3457
|
+
*/
|
|
3458
|
+
code: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* The target attribute of the line the finding is about
|
|
3461
|
+
*/
|
|
3462
|
+
target?: string;
|
|
3463
|
+
}?,
|
|
3464
|
+
{
|
|
3465
|
+
action_id: string;
|
|
3466
|
+
/**
|
|
3467
|
+
* example:
|
|
3468
|
+
* attribute-not-on-target
|
|
3469
|
+
*/
|
|
3470
|
+
code: string;
|
|
3471
|
+
/**
|
|
3472
|
+
* The target attribute of the line the finding is about
|
|
3473
|
+
*/
|
|
3474
|
+
target?: string;
|
|
3475
|
+
}?,
|
|
3476
|
+
{
|
|
3477
|
+
action_id: string;
|
|
3478
|
+
/**
|
|
3479
|
+
* example:
|
|
3480
|
+
* attribute-not-on-target
|
|
3481
|
+
*/
|
|
3482
|
+
code: string;
|
|
3483
|
+
/**
|
|
3484
|
+
* The target attribute of the line the finding is about
|
|
3485
|
+
*/
|
|
3486
|
+
target?: string;
|
|
3487
|
+
}?,
|
|
3488
|
+
{
|
|
3489
|
+
action_id: string;
|
|
3490
|
+
/**
|
|
3491
|
+
* example:
|
|
3492
|
+
* attribute-not-on-target
|
|
3493
|
+
*/
|
|
3494
|
+
code: string;
|
|
3495
|
+
/**
|
|
3496
|
+
* The target attribute of the line the finding is about
|
|
3497
|
+
*/
|
|
3498
|
+
target?: string;
|
|
3499
|
+
}?,
|
|
3500
|
+
{
|
|
3501
|
+
action_id: string;
|
|
3502
|
+
/**
|
|
3503
|
+
* example:
|
|
3504
|
+
* attribute-not-on-target
|
|
3505
|
+
*/
|
|
3506
|
+
code: string;
|
|
3507
|
+
/**
|
|
3508
|
+
* The target attribute of the line the finding is about
|
|
3509
|
+
*/
|
|
3510
|
+
target?: string;
|
|
3511
|
+
}?,
|
|
3512
|
+
{
|
|
3513
|
+
action_id: string;
|
|
3514
|
+
/**
|
|
3515
|
+
* example:
|
|
3516
|
+
* attribute-not-on-target
|
|
3517
|
+
*/
|
|
3518
|
+
code: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* The target attribute of the line the finding is about
|
|
3521
|
+
*/
|
|
3522
|
+
target?: string;
|
|
3523
|
+
}?,
|
|
3524
|
+
{
|
|
3525
|
+
action_id: string;
|
|
3526
|
+
/**
|
|
3527
|
+
* example:
|
|
3528
|
+
* attribute-not-on-target
|
|
3529
|
+
*/
|
|
3530
|
+
code: string;
|
|
3531
|
+
/**
|
|
3532
|
+
* The target attribute of the line the finding is about
|
|
3533
|
+
*/
|
|
3534
|
+
target?: string;
|
|
3535
|
+
}?,
|
|
3536
|
+
{
|
|
3537
|
+
action_id: string;
|
|
3538
|
+
/**
|
|
3539
|
+
* example:
|
|
3540
|
+
* attribute-not-on-target
|
|
3541
|
+
*/
|
|
3542
|
+
code: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* The target attribute of the line the finding is about
|
|
3545
|
+
*/
|
|
3546
|
+
target?: string;
|
|
3547
|
+
}?,
|
|
3548
|
+
{
|
|
3549
|
+
action_id: string;
|
|
3550
|
+
/**
|
|
3551
|
+
* example:
|
|
3552
|
+
* attribute-not-on-target
|
|
3553
|
+
*/
|
|
3554
|
+
code: string;
|
|
3555
|
+
/**
|
|
3556
|
+
* The target attribute of the line the finding is about
|
|
3557
|
+
*/
|
|
3558
|
+
target?: string;
|
|
3559
|
+
}?,
|
|
3560
|
+
{
|
|
3561
|
+
action_id: string;
|
|
3562
|
+
/**
|
|
3563
|
+
* example:
|
|
3564
|
+
* attribute-not-on-target
|
|
3565
|
+
*/
|
|
3566
|
+
code: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* The target attribute of the line the finding is about
|
|
3569
|
+
*/
|
|
3570
|
+
target?: string;
|
|
3571
|
+
}?,
|
|
3572
|
+
{
|
|
3573
|
+
action_id: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* example:
|
|
3576
|
+
* attribute-not-on-target
|
|
3577
|
+
*/
|
|
3578
|
+
code: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* The target attribute of the line the finding is about
|
|
3581
|
+
*/
|
|
3582
|
+
target?: string;
|
|
3583
|
+
}?,
|
|
3584
|
+
{
|
|
3585
|
+
action_id: string;
|
|
3586
|
+
/**
|
|
3587
|
+
* example:
|
|
3588
|
+
* attribute-not-on-target
|
|
3589
|
+
*/
|
|
3590
|
+
code: string;
|
|
3591
|
+
/**
|
|
3592
|
+
* The target attribute of the line the finding is about
|
|
3593
|
+
*/
|
|
3594
|
+
target?: string;
|
|
3595
|
+
}?,
|
|
3596
|
+
{
|
|
3597
|
+
action_id: string;
|
|
3598
|
+
/**
|
|
3599
|
+
* example:
|
|
3600
|
+
* attribute-not-on-target
|
|
3601
|
+
*/
|
|
3602
|
+
code: string;
|
|
3603
|
+
/**
|
|
3604
|
+
* The target attribute of the line the finding is about
|
|
3605
|
+
*/
|
|
3606
|
+
target?: string;
|
|
3607
|
+
}?,
|
|
3608
|
+
{
|
|
3609
|
+
action_id: string;
|
|
3610
|
+
/**
|
|
3611
|
+
* example:
|
|
3612
|
+
* attribute-not-on-target
|
|
3613
|
+
*/
|
|
3614
|
+
code: string;
|
|
3615
|
+
/**
|
|
3616
|
+
* The target attribute of the line the finding is about
|
|
3617
|
+
*/
|
|
3618
|
+
target?: string;
|
|
3619
|
+
}?,
|
|
3620
|
+
{
|
|
3621
|
+
action_id: string;
|
|
3622
|
+
/**
|
|
3623
|
+
* example:
|
|
3624
|
+
* attribute-not-on-target
|
|
3625
|
+
*/
|
|
3626
|
+
code: string;
|
|
3627
|
+
/**
|
|
3628
|
+
* The target attribute of the line the finding is about
|
|
3629
|
+
*/
|
|
3630
|
+
target?: string;
|
|
3631
|
+
}?,
|
|
3632
|
+
{
|
|
3633
|
+
action_id: string;
|
|
3634
|
+
/**
|
|
3635
|
+
* example:
|
|
3636
|
+
* attribute-not-on-target
|
|
3637
|
+
*/
|
|
3638
|
+
code: string;
|
|
3639
|
+
/**
|
|
3640
|
+
* The target attribute of the line the finding is about
|
|
3641
|
+
*/
|
|
3642
|
+
target?: string;
|
|
3643
|
+
}?,
|
|
3644
|
+
{
|
|
3645
|
+
action_id: string;
|
|
3646
|
+
/**
|
|
3647
|
+
* example:
|
|
3648
|
+
* attribute-not-on-target
|
|
3649
|
+
*/
|
|
3650
|
+
code: string;
|
|
3651
|
+
/**
|
|
3652
|
+
* The target attribute of the line the finding is about
|
|
3653
|
+
*/
|
|
3654
|
+
target?: string;
|
|
3655
|
+
}?,
|
|
3656
|
+
{
|
|
3657
|
+
action_id: string;
|
|
3658
|
+
/**
|
|
3659
|
+
* example:
|
|
3660
|
+
* attribute-not-on-target
|
|
3661
|
+
*/
|
|
3662
|
+
code: string;
|
|
3663
|
+
/**
|
|
3664
|
+
* The target attribute of the line the finding is about
|
|
3665
|
+
*/
|
|
3666
|
+
target?: string;
|
|
3667
|
+
}?,
|
|
3668
|
+
{
|
|
3669
|
+
action_id: string;
|
|
3670
|
+
/**
|
|
3671
|
+
* example:
|
|
3672
|
+
* attribute-not-on-target
|
|
3673
|
+
*/
|
|
3674
|
+
code: string;
|
|
3675
|
+
/**
|
|
3676
|
+
* The target attribute of the line the finding is about
|
|
3677
|
+
*/
|
|
3678
|
+
target?: string;
|
|
3679
|
+
}?,
|
|
3680
|
+
{
|
|
3681
|
+
action_id: string;
|
|
3682
|
+
/**
|
|
3683
|
+
* example:
|
|
3684
|
+
* attribute-not-on-target
|
|
3685
|
+
*/
|
|
3686
|
+
code: string;
|
|
3687
|
+
/**
|
|
3688
|
+
* The target attribute of the line the finding is about
|
|
3689
|
+
*/
|
|
3690
|
+
target?: string;
|
|
3691
|
+
}?
|
|
3692
|
+
];
|
|
3693
|
+
}
|
|
3694
|
+
export interface ValidateMappingFlowResp {
|
|
3695
|
+
/**
|
|
3696
|
+
* True when nothing blocks a save (`blocking` is empty)
|
|
3697
|
+
*/
|
|
3698
|
+
valid: boolean;
|
|
3699
|
+
/**
|
|
3700
|
+
* What a save gate rejects: per action the errors, the issues on lines whose verdict is `broken` and `value-not-an-option`; with `previous_actions`, only those this change introduced
|
|
3701
|
+
*/
|
|
3702
|
+
blocking: FlowMappingIssue[];
|
|
3703
|
+
/**
|
|
3704
|
+
* Findings on lines the Journey Builder generated for a journey's default mapping (`origin` `system_recommendation` or `entity_updating_system_recommendation`). The builder regenerates those lines, so these findings are reported but never block.
|
|
3705
|
+
*/
|
|
3706
|
+
generated?: FlowMappingIssue[];
|
|
3707
|
+
/**
|
|
3708
|
+
* Actions that only point at a target of a mapping config (`config.mapping_config`) are checked as that target. `unresolved` lists the actions whose config or target could not be found in the organization; they are left out of the check.
|
|
3709
|
+
*/
|
|
3710
|
+
references?: {
|
|
3711
|
+
resolved?: string[];
|
|
3712
|
+
unresolved?: string[];
|
|
3713
|
+
};
|
|
3714
|
+
/**
|
|
3715
|
+
* Only with `acknowledged` in the request; the blocking findings it matched, which did not block
|
|
3716
|
+
*/
|
|
3717
|
+
acknowledged?: FlowMappingIssue[];
|
|
3718
|
+
/**
|
|
3719
|
+
* Only with `previous_actions`; every issue (errors and warnings) this change introduced
|
|
3720
|
+
*/
|
|
3721
|
+
introduced?: FlowMappingIssue[];
|
|
3722
|
+
/**
|
|
3723
|
+
* The analysis of each mapping action, by action id; other actions have no entry
|
|
3724
|
+
*/
|
|
3725
|
+
analyses: {
|
|
3726
|
+
[name: string]: MappingAnalysis;
|
|
3727
|
+
};
|
|
3728
|
+
}
|
|
3729
|
+
export interface ValidateMappingReq {
|
|
3730
|
+
/**
|
|
3731
|
+
* The stored map-entity action config
|
|
3732
|
+
*/
|
|
3733
|
+
config: {
|
|
3734
|
+
[name: string]: any;
|
|
3735
|
+
};
|
|
3736
|
+
/**
|
|
3737
|
+
* Where the action sits in its automation or flow. Optional: without it the config is checked as the only action of its flow, reading the journey submission (or `source.entity_schema`) and writing `config.target_schema`. Send it only to check references to other actions of the same automation.
|
|
3738
|
+
*/
|
|
3739
|
+
context?: {
|
|
3740
|
+
/**
|
|
3741
|
+
* Root of the source entity, `submission` for journeys, the trigger schema otherwise
|
|
3742
|
+
*/
|
|
3743
|
+
sourceSchema: string;
|
|
3744
|
+
/**
|
|
3745
|
+
* Every action id of the automation in execution order, the ones after the current action included. An action left out is reported as missing (`task-missing`); with validator 0.4.4, an action listed in `taskSchemas` but not here counts as a later one (`task-not-earlier`).
|
|
3746
|
+
*/
|
|
3747
|
+
taskOrder: string[];
|
|
3748
|
+
/**
|
|
3749
|
+
* The action being analysed; must be one of `taskOrder`. Defaults to the last id in `taskOrder`. References to `current` itself or to an action after it are reported as `task-not-earlier`.
|
|
3750
|
+
*/
|
|
3751
|
+
current?: string;
|
|
3752
|
+
taskSchemas: {
|
|
3753
|
+
[name: string]: string;
|
|
3754
|
+
};
|
|
3755
|
+
/**
|
|
3756
|
+
* Earlier action ids per schema they create, in execution order
|
|
3757
|
+
*/
|
|
3758
|
+
producersBySchema: {
|
|
3759
|
+
[name: string]: string[];
|
|
3760
|
+
};
|
|
3761
|
+
linkbackTags?: string[];
|
|
3762
|
+
linkbackTagsByTask?: {
|
|
3763
|
+
[name: string]: string[];
|
|
3764
|
+
};
|
|
3765
|
+
configIdsByTask?: {
|
|
3766
|
+
[name: string]: string;
|
|
3767
|
+
};
|
|
3768
|
+
};
|
|
3769
|
+
roots?: /* Optional descriptions of the source and of each action's output (`Roots` of `@epilot/entity-mapping-validator`). A body whose `roots` does not have this shape is rejected with 400. */ MappingRoots;
|
|
3770
|
+
/**
|
|
3771
|
+
* Optional description of the target entity's attributes, as built by `rootFromEntitySchema` of `@epilot/entity-mapping-validator`. Each field carries its attribute `type`; with it the validator checks that a source fits the attribute it is mapped to (`type-mismatch`, `type-converts`) and that `_uniq` matches the shared merge keys (`merge-keys-differ`). When left out and `config.target_schema` is set, the server loads that schema.
|
|
3772
|
+
*/
|
|
3773
|
+
target_root?: {
|
|
3774
|
+
kind: "declared" | "inferred";
|
|
3775
|
+
fields: MappingRootField[];
|
|
3776
|
+
};
|
|
3777
|
+
source?: /* What the automation's trigger provides, by id. Used when `roots.source` is not sent: the server loads the journey's mapping sources (`rootFromMappingSources`) or the entity schema (`rootFromEntitySchema`) with the caller's authorization. A journey or schema that does not exist is an error issue (`source-journey-not-found`, `source-schema-not-found`); one that could not be loaded is a warning (`source-not-loaded`) and the source checks are skipped (`skipped_checks`). Likewise for a target schema (`target-schema-not-found`, `target-schema-not-loaded`). `automation_step` (the trigger of a workflow's automation task) names no data: a warning (`source-not-fixed`) and the source checks are skipped; pass what the workflow was started with instead. */ MappingSourceRef;
|
|
3778
|
+
}
|
|
3779
|
+
}
|
|
3780
|
+
}
|
|
3781
|
+
declare namespace Paths {
|
|
3782
|
+
namespace DeleteConfig {
|
|
3783
|
+
namespace Parameters {
|
|
3784
|
+
/**
|
|
3785
|
+
* example:
|
|
3786
|
+
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
3787
|
+
*/
|
|
3788
|
+
export type Id = string;
|
|
3789
|
+
}
|
|
3790
|
+
export interface PathParameters {
|
|
3791
|
+
id: /**
|
|
773
3792
|
* example:
|
|
774
3793
|
* 70542580-2b38-4bfc-af8d-bb90102f9f47
|
|
775
3794
|
*/
|
|
@@ -777,6 +3796,8 @@ declare namespace Paths {
|
|
|
777
3796
|
}
|
|
778
3797
|
namespace Responses {
|
|
779
3798
|
export type $200 = Components.Schemas.MappingConfig;
|
|
3799
|
+
export interface $429 {
|
|
3800
|
+
}
|
|
780
3801
|
}
|
|
781
3802
|
}
|
|
782
3803
|
namespace ExecuteMapping {
|
|
@@ -911,29 +3932,10 @@ declare namespace Paths {
|
|
|
911
3932
|
export type $200 = Components.Schemas.MappingConfigV2;
|
|
912
3933
|
}
|
|
913
3934
|
}
|
|
914
|
-
namespace QueryMappingHistory {
|
|
915
|
-
namespace Parameters {
|
|
916
|
-
export type From = string; // datetime
|
|
917
|
-
export type SourceEntityId = string; // uuid
|
|
918
|
-
export type TargetEntityId = string; // uuid
|
|
919
|
-
export type To = string; // datetime
|
|
920
|
-
}
|
|
921
|
-
export interface QueryParameters {
|
|
922
|
-
from?: Parameters.From /* datetime */;
|
|
923
|
-
to?: Parameters.To /* datetime */;
|
|
924
|
-
targetEntityId?: Parameters.TargetEntityId /* uuid */;
|
|
925
|
-
sourceEntityId?: Parameters.SourceEntityId /* uuid */;
|
|
926
|
-
}
|
|
927
|
-
namespace Responses {
|
|
928
|
-
export interface $200 {
|
|
929
|
-
results?: Components.Schemas.MappingHistoryResp[];
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
3935
|
namespace SearchConfigs {
|
|
934
3936
|
export type RequestBody = Components.Schemas.SearchMappingReq;
|
|
935
3937
|
namespace Responses {
|
|
936
|
-
export type $200 = Components.Schemas.
|
|
3938
|
+
export type $200 = Components.Schemas.MappingConfigsResp;
|
|
937
3939
|
}
|
|
938
3940
|
}
|
|
939
3941
|
namespace StoreConfig {
|
|
@@ -968,6 +3970,30 @@ declare namespace Paths {
|
|
|
968
3970
|
export type $200 = Components.Schemas.MappingConfig;
|
|
969
3971
|
}
|
|
970
3972
|
}
|
|
3973
|
+
namespace ValidateMapping {
|
|
3974
|
+
export type RequestBody = Components.Schemas.ValidateMappingReq;
|
|
3975
|
+
namespace Responses {
|
|
3976
|
+
export type $200 = Components.Schemas.MappingAnalysis;
|
|
3977
|
+
export interface $400 {
|
|
3978
|
+
messages?: string[];
|
|
3979
|
+
}
|
|
3980
|
+
export type $401 = Components.Responses.MappingCheckUnauthorized;
|
|
3981
|
+
export type $403 = Components.Responses.MappingCheckForbidden;
|
|
3982
|
+
export type $413 = Components.Responses.MappingCheckTooLarge;
|
|
3983
|
+
}
|
|
3984
|
+
}
|
|
3985
|
+
namespace ValidateMappingFlow {
|
|
3986
|
+
export type RequestBody = Components.Schemas.ValidateMappingFlowReq;
|
|
3987
|
+
namespace Responses {
|
|
3988
|
+
export type $200 = Components.Schemas.ValidateMappingFlowResp;
|
|
3989
|
+
export interface $400 {
|
|
3990
|
+
messages?: string[];
|
|
3991
|
+
}
|
|
3992
|
+
export type $401 = Components.Responses.MappingCheckUnauthorized;
|
|
3993
|
+
export type $403 = Components.Responses.MappingCheckForbidden;
|
|
3994
|
+
export type $413 = Components.Responses.MappingCheckTooLarge;
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
971
3997
|
}
|
|
972
3998
|
|
|
973
3999
|
|
|
@@ -1042,6 +4068,26 @@ export interface OperationMethods {
|
|
|
1042
4068
|
data?: Paths.ExecuteMapping.RequestBody,
|
|
1043
4069
|
config?: AxiosRequestConfig
|
|
1044
4070
|
): OperationResponse<Paths.ExecuteMapping.Responses.$200>
|
|
4071
|
+
/**
|
|
4072
|
+
* validateMapping - validateMapping
|
|
4073
|
+
*
|
|
4074
|
+
* Analyse a stored map-entity action config (engine JSON) line by line: a verdict per line (form, json, broken), issues on the engine line they belong to, suggested rewrites and a sentence each. `valid` is false when an issue is an error; a save gate rejects the config then. Never persists anything. The smallest request is `{ config, source: { journey_id } }`. Send `source` (the trigger's journey or entity schema) instead of `roots.source`, and leave out `target_root` when `config.target_schema` is set: the server loads those descriptions with the caller's authorization. The response is about 1.1 KB per line: from about 5000 lines in one request it exceeds the inline limit (413, see there).
|
|
4075
|
+
*/
|
|
4076
|
+
'validateMapping'(
|
|
4077
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4078
|
+
data?: Paths.ValidateMapping.RequestBody,
|
|
4079
|
+
config?: AxiosRequestConfig
|
|
4080
|
+
): OperationResponse<Paths.ValidateMapping.Responses.$200>
|
|
4081
|
+
/**
|
|
4082
|
+
* validateMappingFlow - validateMappingFlow
|
|
4083
|
+
*
|
|
4084
|
+
* Analyse every mapping action (`map-entity`, `cart-checkout`) of an automation, each in its place: against the trigger's source, the entities the earlier actions create and its target schema. The source and every target schema are loaded by id with the caller's authorization. `blocking` lists what a save gate rejects: errors, issues on broken lines and values that are not an option of their attribute. With `previous_actions` (the automation as stored) only issues this change introduced block. Never persists anything. Responses above the inline limit are a 413 (see there).
|
|
4085
|
+
*/
|
|
4086
|
+
'validateMappingFlow'(
|
|
4087
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4088
|
+
data?: Paths.ValidateMappingFlow.RequestBody,
|
|
4089
|
+
config?: AxiosRequestConfig
|
|
4090
|
+
): OperationResponse<Paths.ValidateMappingFlow.Responses.$200>
|
|
1045
4091
|
/**
|
|
1046
4092
|
* searchConfigs - searchConfigs
|
|
1047
4093
|
*
|
|
@@ -1052,16 +4098,6 @@ export interface OperationMethods {
|
|
|
1052
4098
|
data?: Paths.SearchConfigs.RequestBody,
|
|
1053
4099
|
config?: AxiosRequestConfig
|
|
1054
4100
|
): OperationResponse<Paths.SearchConfigs.Responses.$200>
|
|
1055
|
-
/**
|
|
1056
|
-
* queryMappingHistory - queryMappingHistory
|
|
1057
|
-
*
|
|
1058
|
-
* Get the Mapping History
|
|
1059
|
-
*/
|
|
1060
|
-
'queryMappingHistory'(
|
|
1061
|
-
parameters?: Parameters<Paths.QueryMappingHistory.QueryParameters> | null,
|
|
1062
|
-
data?: any,
|
|
1063
|
-
config?: AxiosRequestConfig
|
|
1064
|
-
): OperationResponse<Paths.QueryMappingHistory.Responses.$200>
|
|
1065
4101
|
/**
|
|
1066
4102
|
* executeRelations - executeRelations
|
|
1067
4103
|
*
|
|
@@ -1085,7 +4121,7 @@ export interface OperationMethods {
|
|
|
1085
4121
|
/**
|
|
1086
4122
|
* putMappingConfig - putMappingConfig
|
|
1087
4123
|
*
|
|
1088
|
-
* Stores new version of entity mapping config
|
|
4124
|
+
* Stores new version of entity mapping config. The targets are not checked on store: check them first with `POST /v1/mappings:validate-flow` (`{ source: { journey_id }, actions: [{ id, type: map-entity, config: <target> }] }`, one action per target) and fix every `blocking` issue.
|
|
1089
4125
|
*/
|
|
1090
4126
|
'putMappingConfig'(
|
|
1091
4127
|
parameters?: Parameters<Paths.PutMappingConfig.PathParameters> | null,
|
|
@@ -1175,29 +4211,41 @@ export interface PathsDictionary {
|
|
|
1175
4211
|
config?: AxiosRequestConfig
|
|
1176
4212
|
): OperationResponse<Paths.ExecuteMapping.Responses.$200>
|
|
1177
4213
|
}
|
|
1178
|
-
['/v1/mappings:
|
|
4214
|
+
['/v1/mappings:validate']: {
|
|
1179
4215
|
/**
|
|
1180
|
-
*
|
|
4216
|
+
* validateMapping - validateMapping
|
|
1181
4217
|
*
|
|
1182
|
-
*
|
|
4218
|
+
* Analyse a stored map-entity action config (engine JSON) line by line: a verdict per line (form, json, broken), issues on the engine line they belong to, suggested rewrites and a sentence each. `valid` is false when an issue is an error; a save gate rejects the config then. Never persists anything. The smallest request is `{ config, source: { journey_id } }`. Send `source` (the trigger's journey or entity schema) instead of `roots.source`, and leave out `target_root` when `config.target_schema` is set: the server loads those descriptions with the caller's authorization. The response is about 1.1 KB per line: from about 5000 lines in one request it exceeds the inline limit (413, see there).
|
|
1183
4219
|
*/
|
|
1184
4220
|
'post'(
|
|
1185
4221
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1186
|
-
data?: Paths.
|
|
4222
|
+
data?: Paths.ValidateMapping.RequestBody,
|
|
1187
4223
|
config?: AxiosRequestConfig
|
|
1188
|
-
): OperationResponse<Paths.
|
|
4224
|
+
): OperationResponse<Paths.ValidateMapping.Responses.$200>
|
|
1189
4225
|
}
|
|
1190
|
-
['/v1/mappings
|
|
4226
|
+
['/v1/mappings:validate-flow']: {
|
|
1191
4227
|
/**
|
|
1192
|
-
*
|
|
4228
|
+
* validateMappingFlow - validateMappingFlow
|
|
1193
4229
|
*
|
|
1194
|
-
*
|
|
4230
|
+
* Analyse every mapping action (`map-entity`, `cart-checkout`) of an automation, each in its place: against the trigger's source, the entities the earlier actions create and its target schema. The source and every target schema are loaded by id with the caller's authorization. `blocking` lists what a save gate rejects: errors, issues on broken lines and values that are not an option of their attribute. With `previous_actions` (the automation as stored) only issues this change introduced block. Never persists anything. Responses above the inline limit are a 413 (see there).
|
|
1195
4231
|
*/
|
|
1196
|
-
'
|
|
1197
|
-
parameters?: Parameters<
|
|
1198
|
-
data?:
|
|
4232
|
+
'post'(
|
|
4233
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4234
|
+
data?: Paths.ValidateMappingFlow.RequestBody,
|
|
4235
|
+
config?: AxiosRequestConfig
|
|
4236
|
+
): OperationResponse<Paths.ValidateMappingFlow.Responses.$200>
|
|
4237
|
+
}
|
|
4238
|
+
['/v1/mappings:search']: {
|
|
4239
|
+
/**
|
|
4240
|
+
* searchConfigs - searchConfigs
|
|
4241
|
+
*
|
|
4242
|
+
* Search mapping configs
|
|
4243
|
+
*/
|
|
4244
|
+
'post'(
|
|
4245
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4246
|
+
data?: Paths.SearchConfigs.RequestBody,
|
|
1199
4247
|
config?: AxiosRequestConfig
|
|
1200
|
-
): OperationResponse<Paths.
|
|
4248
|
+
): OperationResponse<Paths.SearchConfigs.Responses.$200>
|
|
1201
4249
|
}
|
|
1202
4250
|
['/v1/relations:execute']: {
|
|
1203
4251
|
/**
|
|
@@ -1225,7 +4273,7 @@ export interface PathsDictionary {
|
|
|
1225
4273
|
/**
|
|
1226
4274
|
* putMappingConfig - putMappingConfig
|
|
1227
4275
|
*
|
|
1228
|
-
* Stores new version of entity mapping config
|
|
4276
|
+
* Stores new version of entity mapping config. The targets are not checked on store: check them first with `POST /v1/mappings:validate-flow` (`{ source: { journey_id }, actions: [{ id, type: map-entity, config: <target> }] }`, one action per target) and fix every `blocking` issue.
|
|
1229
4277
|
*/
|
|
1230
4278
|
'put'(
|
|
1231
4279
|
parameters?: Parameters<Paths.PutMappingConfig.PathParameters> | null,
|
|
@@ -1248,34 +4296,46 @@ export type ExecuteMappingReq = Components.Schemas.ExecuteMappingReq;
|
|
|
1248
4296
|
export type ExecuteMappingResp = Components.Schemas.ExecuteMappingResp;
|
|
1249
4297
|
export type ExecuteRelationsReq = Components.Schemas.ExecuteRelationsReq;
|
|
1250
4298
|
export type ExecuteRelationsResp = Components.Schemas.ExecuteRelationsResp;
|
|
4299
|
+
export type FlowMappingIssue = Components.Schemas.FlowMappingIssue;
|
|
1251
4300
|
export type GraphContextEntry = Components.Schemas.GraphContextEntry;
|
|
1252
4301
|
export type GraphDefinition = Components.Schemas.GraphDefinition;
|
|
1253
4302
|
export type GraphEdge = Components.Schemas.GraphEdge;
|
|
1254
4303
|
export type GraphNode = Components.Schemas.GraphNode;
|
|
1255
4304
|
export type GraphNodeFilter = Components.Schemas.GraphNodeFilter;
|
|
1256
4305
|
export type GraphSeed = Components.Schemas.GraphSeed;
|
|
4306
|
+
export type JourneyContextUsage = Components.Schemas.JourneyContextUsage;
|
|
4307
|
+
export type JourneyContextUsagesReq = Components.Schemas.JourneyContextUsagesReq;
|
|
4308
|
+
export type JourneyContextUsagesResp = Components.Schemas.JourneyContextUsagesResp;
|
|
1257
4309
|
export type JourneyRef = Components.Schemas.JourneyRef;
|
|
1258
4310
|
export type Loop_Index_String = Components.Schemas.LoopIndexString;
|
|
1259
4311
|
export type MapCondition = Components.Schemas.MapCondition;
|
|
4312
|
+
export type MappingAnalysis = Components.Schemas.MappingAnalysis;
|
|
1260
4313
|
export type MappingAttribute = Components.Schemas.MappingAttribute;
|
|
1261
4314
|
export type MappingAttributeMode = Components.Schemas.MappingAttributeMode;
|
|
1262
4315
|
export type MappingAttributeV2 = Components.Schemas.MappingAttributeV2;
|
|
4316
|
+
export type MappingCheckContext = Components.Schemas.MappingCheckContext;
|
|
1263
4317
|
export type MappingConfig = Components.Schemas.MappingConfig;
|
|
1264
4318
|
export type MappingConfigCommonFields = Components.Schemas.MappingConfigCommonFields;
|
|
1265
4319
|
export type MappingConfigV2 = Components.Schemas.MappingConfigV2;
|
|
1266
4320
|
export type MappingConfigs = Components.Schemas.MappingConfigs;
|
|
1267
4321
|
export type MappingConfigsResp = Components.Schemas.MappingConfigsResp;
|
|
1268
4322
|
export type MappingFailure = Components.Schemas.MappingFailure;
|
|
1269
|
-
export type
|
|
1270
|
-
export type
|
|
4323
|
+
export type MappingFlowAction = Components.Schemas.MappingFlowAction;
|
|
4324
|
+
export type MappingIssue = Components.Schemas.MappingIssue;
|
|
4325
|
+
export type MappingRootDescription = Components.Schemas.MappingRootDescription;
|
|
4326
|
+
export type MappingRootField = Components.Schemas.MappingRootField;
|
|
4327
|
+
export type MappingRoots = Components.Schemas.MappingRoots;
|
|
1271
4328
|
export type MappingSource = Components.Schemas.MappingSource;
|
|
1272
4329
|
export type MappingSourceProperty = Components.Schemas.MappingSourceProperty;
|
|
4330
|
+
export type MappingSourceRef = Components.Schemas.MappingSourceRef;
|
|
1273
4331
|
export type MappingSourceTargetType = Components.Schemas.MappingSourceTargetType;
|
|
1274
4332
|
export type MappingWarning = Components.Schemas.MappingWarning;
|
|
1275
4333
|
export type NewRelationItem = Components.Schemas.NewRelationItem;
|
|
1276
4334
|
export type OperationNode = Components.Schemas.OperationNode;
|
|
1277
4335
|
export type OperationObjectNode = Components.Schemas.OperationObjectNode;
|
|
4336
|
+
export type OutputEntityRef = Components.Schemas.OutputEntityRef;
|
|
1278
4337
|
export type Owner = Components.Schemas.Owner;
|
|
4338
|
+
export type PreviewTarget = Components.Schemas.PreviewTarget;
|
|
1279
4339
|
export type PrimitiveJSONValue = Components.Schemas.PrimitiveJSONValue;
|
|
1280
4340
|
export type RandomOperation = Components.Schemas.RandomOperation;
|
|
1281
4341
|
export type RelationAttribute = Components.Schemas.RelationAttribute;
|
|
@@ -1284,3 +4344,6 @@ export type SearchMappingReq = Components.Schemas.SearchMappingReq;
|
|
|
1284
4344
|
export type SetValueMapper = Components.Schemas.SetValueMapper;
|
|
1285
4345
|
export type SourceConfig = Components.Schemas.SourceConfig;
|
|
1286
4346
|
export type TargetConfig = Components.Schemas.TargetConfig;
|
|
4347
|
+
export type ValidateMappingFlowReq = Components.Schemas.ValidateMappingFlowReq;
|
|
4348
|
+
export type ValidateMappingFlowResp = Components.Schemas.ValidateMappingFlowResp;
|
|
4349
|
+
export type ValidateMappingReq = Components.Schemas.ValidateMappingReq;
|