@wildo-ai/saas-models 1.1.6 → 1.1.8
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/esm/config/frontend/chart-definition.shared.schemas.d.ts +22 -22
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +2 -2
- package/dist/esm/queue/jobs.shared.schemas.d.ts +8 -8
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.js +18 -2
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +4 -4
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -0
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -0
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -0
|
@@ -63,9 +63,9 @@ export declare const ChartSeriesStyleSchema: z.ZodObject<{
|
|
|
63
63
|
labelPosition: z.ZodOptional<z.ZodEnum<{
|
|
64
64
|
left: "left";
|
|
65
65
|
right: "right";
|
|
66
|
-
center: "center";
|
|
67
66
|
top: "top";
|
|
68
67
|
bottom: "bottom";
|
|
68
|
+
center: "center";
|
|
69
69
|
inside: "inside";
|
|
70
70
|
outside: "outside";
|
|
71
71
|
}>>;
|
|
@@ -73,8 +73,8 @@ export declare const ChartSeriesStyleSchema: z.ZodObject<{
|
|
|
73
73
|
emphasisScale: z.ZodOptional<z.ZodBoolean>;
|
|
74
74
|
markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
75
|
type: z.ZodOptional<z.ZodEnum<{
|
|
76
|
-
min: "min";
|
|
77
76
|
max: "max";
|
|
77
|
+
min: "min";
|
|
78
78
|
average: "average";
|
|
79
79
|
}>>;
|
|
80
80
|
yValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -89,8 +89,8 @@ export declare const ChartSeriesStyleSchema: z.ZodObject<{
|
|
|
89
89
|
}, z.core.$strip>>>;
|
|
90
90
|
markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
91
|
type: z.ZodOptional<z.ZodEnum<{
|
|
92
|
-
min: "min";
|
|
93
92
|
max: "max";
|
|
93
|
+
min: "min";
|
|
94
94
|
average: "average";
|
|
95
95
|
}>>;
|
|
96
96
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -145,9 +145,9 @@ export declare const ChartSeriesDefinitionSchema: z.ZodObject<{
|
|
|
145
145
|
labelPosition: z.ZodOptional<z.ZodEnum<{
|
|
146
146
|
left: "left";
|
|
147
147
|
right: "right";
|
|
148
|
-
center: "center";
|
|
149
148
|
top: "top";
|
|
150
149
|
bottom: "bottom";
|
|
150
|
+
center: "center";
|
|
151
151
|
inside: "inside";
|
|
152
152
|
outside: "outside";
|
|
153
153
|
}>>;
|
|
@@ -155,8 +155,8 @@ export declare const ChartSeriesDefinitionSchema: z.ZodObject<{
|
|
|
155
155
|
emphasisScale: z.ZodOptional<z.ZodBoolean>;
|
|
156
156
|
markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
157
157
|
type: z.ZodOptional<z.ZodEnum<{
|
|
158
|
-
min: "min";
|
|
159
158
|
max: "max";
|
|
159
|
+
min: "min";
|
|
160
160
|
average: "average";
|
|
161
161
|
}>>;
|
|
162
162
|
yValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -171,8 +171,8 @@ export declare const ChartSeriesDefinitionSchema: z.ZodObject<{
|
|
|
171
171
|
}, z.core.$strip>>>;
|
|
172
172
|
markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
173
173
|
type: z.ZodOptional<z.ZodEnum<{
|
|
174
|
-
min: "min";
|
|
175
174
|
max: "max";
|
|
175
|
+
min: "min";
|
|
176
176
|
average: "average";
|
|
177
177
|
}>>;
|
|
178
178
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -229,9 +229,9 @@ export declare const ChartSeriesSchema: z.ZodObject<{
|
|
|
229
229
|
labelPosition: z.ZodOptional<z.ZodEnum<{
|
|
230
230
|
left: "left";
|
|
231
231
|
right: "right";
|
|
232
|
-
center: "center";
|
|
233
232
|
top: "top";
|
|
234
233
|
bottom: "bottom";
|
|
234
|
+
center: "center";
|
|
235
235
|
inside: "inside";
|
|
236
236
|
outside: "outside";
|
|
237
237
|
}>>;
|
|
@@ -239,8 +239,8 @@ export declare const ChartSeriesSchema: z.ZodObject<{
|
|
|
239
239
|
emphasisScale: z.ZodOptional<z.ZodBoolean>;
|
|
240
240
|
markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
241
241
|
type: z.ZodOptional<z.ZodEnum<{
|
|
242
|
-
min: "min";
|
|
243
242
|
max: "max";
|
|
243
|
+
min: "min";
|
|
244
244
|
average: "average";
|
|
245
245
|
}>>;
|
|
246
246
|
yValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -255,8 +255,8 @@ export declare const ChartSeriesSchema: z.ZodObject<{
|
|
|
255
255
|
}, z.core.$strip>>>;
|
|
256
256
|
markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
257
|
type: z.ZodOptional<z.ZodEnum<{
|
|
258
|
-
min: "min";
|
|
259
258
|
max: "max";
|
|
259
|
+
min: "min";
|
|
260
260
|
average: "average";
|
|
261
261
|
}>>;
|
|
262
262
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -377,8 +377,8 @@ export declare const ChartAppearanceSchema: z.ZodObject<{
|
|
|
377
377
|
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
378
378
|
left: "left";
|
|
379
379
|
right: "right";
|
|
380
|
-
auto: "auto";
|
|
381
380
|
center: "center";
|
|
381
|
+
auto: "auto";
|
|
382
382
|
}>>;
|
|
383
383
|
}, z.core.$strip>>;
|
|
384
384
|
animationDuration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -411,8 +411,8 @@ export declare const ChartAppearanceSchema: z.ZodObject<{
|
|
|
411
411
|
formatter: z.ZodOptional<z.ZodString>;
|
|
412
412
|
axisPointerType: z.ZodOptional<z.ZodEnum<{
|
|
413
413
|
none: "none";
|
|
414
|
-
line: "line";
|
|
415
414
|
shadow: "shadow";
|
|
415
|
+
line: "line";
|
|
416
416
|
cross: "cross";
|
|
417
417
|
}>>;
|
|
418
418
|
}, z.core.$strip>>;
|
|
@@ -436,8 +436,8 @@ export declare const ChartAppearanceSchema: z.ZodObject<{
|
|
|
436
436
|
slider: "slider";
|
|
437
437
|
}>>>;
|
|
438
438
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
439
|
-
both: "both";
|
|
440
439
|
y: "y";
|
|
440
|
+
both: "both";
|
|
441
441
|
x: "x";
|
|
442
442
|
}>>;
|
|
443
443
|
start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -605,8 +605,8 @@ export type ChartTypeConfig_Heatmap = z.infer<typeof ChartTypeConfig_HeatmapSche
|
|
|
605
605
|
export declare const ChartTypeConfig_SankeySchema: z.ZodObject<{
|
|
606
606
|
emphasisFocus: z.ZodOptional<z.ZodEnum<{
|
|
607
607
|
none: "none";
|
|
608
|
-
adjacency: "adjacency";
|
|
609
608
|
self: "self";
|
|
609
|
+
adjacency: "adjacency";
|
|
610
610
|
}>>;
|
|
611
611
|
nodeWidth: z.ZodOptional<z.ZodNumber>;
|
|
612
612
|
nodeGap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -817,8 +817,8 @@ export declare const ChartTypeConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
817
817
|
}, z.core.$loose>, z.ZodObject<{
|
|
818
818
|
emphasisFocus: z.ZodOptional<z.ZodEnum<{
|
|
819
819
|
none: "none";
|
|
820
|
-
adjacency: "adjacency";
|
|
821
820
|
self: "self";
|
|
821
|
+
adjacency: "adjacency";
|
|
822
822
|
}>>;
|
|
823
823
|
nodeWidth: z.ZodOptional<z.ZodNumber>;
|
|
824
824
|
nodeGap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1024,8 +1024,8 @@ export declare const ChartViewOptionsSchema: z.ZodObject<{
|
|
|
1024
1024
|
}, z.core.$loose>, z.ZodObject<{
|
|
1025
1025
|
emphasisFocus: z.ZodOptional<z.ZodEnum<{
|
|
1026
1026
|
none: "none";
|
|
1027
|
-
adjacency: "adjacency";
|
|
1028
1027
|
self: "self";
|
|
1028
|
+
adjacency: "adjacency";
|
|
1029
1029
|
}>>;
|
|
1030
1030
|
nodeWidth: z.ZodOptional<z.ZodNumber>;
|
|
1031
1031
|
nodeGap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1201,9 +1201,9 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
|
|
|
1201
1201
|
labelPosition: z.ZodOptional<z.ZodEnum<{
|
|
1202
1202
|
left: "left";
|
|
1203
1203
|
right: "right";
|
|
1204
|
-
center: "center";
|
|
1205
1204
|
top: "top";
|
|
1206
1205
|
bottom: "bottom";
|
|
1206
|
+
center: "center";
|
|
1207
1207
|
inside: "inside";
|
|
1208
1208
|
outside: "outside";
|
|
1209
1209
|
}>>;
|
|
@@ -1211,8 +1211,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
|
|
|
1211
1211
|
emphasisScale: z.ZodOptional<z.ZodBoolean>;
|
|
1212
1212
|
markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1213
1213
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1214
|
-
min: "min";
|
|
1215
1214
|
max: "max";
|
|
1215
|
+
min: "min";
|
|
1216
1216
|
average: "average";
|
|
1217
1217
|
}>>;
|
|
1218
1218
|
yValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1227,8 +1227,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
|
|
|
1227
1227
|
}, z.core.$strip>>>;
|
|
1228
1228
|
markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1229
1229
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1230
|
-
min: "min";
|
|
1231
1230
|
max: "max";
|
|
1231
|
+
min: "min";
|
|
1232
1232
|
average: "average";
|
|
1233
1233
|
}>>;
|
|
1234
1234
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1308,8 +1308,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
|
|
|
1308
1308
|
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
1309
1309
|
left: "left";
|
|
1310
1310
|
right: "right";
|
|
1311
|
-
auto: "auto";
|
|
1312
1311
|
center: "center";
|
|
1312
|
+
auto: "auto";
|
|
1313
1313
|
}>>;
|
|
1314
1314
|
}, z.core.$strip>>;
|
|
1315
1315
|
animationDuration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1342,8 +1342,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
|
|
|
1342
1342
|
formatter: z.ZodOptional<z.ZodString>;
|
|
1343
1343
|
axisPointerType: z.ZodOptional<z.ZodEnum<{
|
|
1344
1344
|
none: "none";
|
|
1345
|
-
line: "line";
|
|
1346
1345
|
shadow: "shadow";
|
|
1346
|
+
line: "line";
|
|
1347
1347
|
cross: "cross";
|
|
1348
1348
|
}>>;
|
|
1349
1349
|
}, z.core.$strip>>;
|
|
@@ -1367,8 +1367,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
|
|
|
1367
1367
|
slider: "slider";
|
|
1368
1368
|
}>>>;
|
|
1369
1369
|
axis: z.ZodOptional<z.ZodEnum<{
|
|
1370
|
-
both: "both";
|
|
1371
1370
|
y: "y";
|
|
1371
|
+
both: "both";
|
|
1372
1372
|
x: "x";
|
|
1373
1373
|
}>>;
|
|
1374
1374
|
start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1510,8 +1510,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
|
|
|
1510
1510
|
}, z.core.$loose>, z.ZodObject<{
|
|
1511
1511
|
emphasisFocus: z.ZodOptional<z.ZodEnum<{
|
|
1512
1512
|
none: "none";
|
|
1513
|
-
adjacency: "adjacency";
|
|
1514
1513
|
self: "self";
|
|
1514
|
+
adjacency: "adjacency";
|
|
1515
1515
|
}>>;
|
|
1516
1516
|
nodeWidth: z.ZodOptional<z.ZodNumber>;
|
|
1517
1517
|
nodeGap: z.ZodOptional<z.ZodNumber>;
|
|
@@ -154,8 +154,8 @@ export declare const FlowsActors_Agent_ConstraintSchema: z.ZodObject<{
|
|
|
154
154
|
text: z.ZodString;
|
|
155
155
|
type: z.ZodEnum<typeof FlowsActors_Agent_ConstraintType>;
|
|
156
156
|
onViolation: z.ZodDefault<z.ZodEnum<{
|
|
157
|
-
refuse: "refuse";
|
|
158
157
|
warn: "warn";
|
|
158
|
+
refuse: "refuse";
|
|
159
159
|
log: "log";
|
|
160
160
|
}>>;
|
|
161
161
|
}, z.core.$strip>;
|
|
@@ -201,8 +201,8 @@ export declare const FlowsActors_Agent_PromptSpecSchema: z.ZodObject<{
|
|
|
201
201
|
text: z.ZodString;
|
|
202
202
|
type: z.ZodEnum<typeof FlowsActors_Agent_ConstraintType>;
|
|
203
203
|
onViolation: z.ZodDefault<z.ZodEnum<{
|
|
204
|
-
refuse: "refuse";
|
|
205
204
|
warn: "warn";
|
|
205
|
+
refuse: "refuse";
|
|
206
206
|
log: "log";
|
|
207
207
|
}>>;
|
|
208
208
|
}, z.core.$strip>>>;
|
|
@@ -473,13 +473,7 @@ export declare const JobPayloadStorageSchema: z.ZodObject<{
|
|
|
473
473
|
applicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
|
|
474
474
|
payloadJson: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
|
|
475
475
|
scheduledEvidence: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodObject<{
|
|
476
|
-
|
|
477
|
-
policy: z.ZodObject<{
|
|
478
|
-
policyRef: z.ZodString;
|
|
479
|
-
retainForMs: z.ZodNumber;
|
|
480
|
-
resultFields: z.ZodArray<z.ZodString>;
|
|
481
|
-
deferredField: z.ZodOptional<z.ZodString>;
|
|
482
|
-
}, z.core.$strip>;
|
|
476
|
+
expiresAt: z.ZodDate;
|
|
483
477
|
applicationId: z.ZodString;
|
|
484
478
|
operationPathKey: z.ZodOptional<z.ZodString>;
|
|
485
479
|
jobId: z.ZodUUID;
|
|
@@ -491,9 +485,15 @@ export declare const JobPayloadStorageSchema: z.ZodObject<{
|
|
|
491
485
|
publishedAt: z.ZodDate;
|
|
492
486
|
startedAt: z.ZodOptional<z.ZodDate>;
|
|
493
487
|
completedAt: z.ZodDate;
|
|
494
|
-
expiresAt: z.ZodDate;
|
|
495
488
|
invocationStatus: z.ZodEnum<typeof JobExecutionStatus>;
|
|
489
|
+
source: z.ZodEnum<typeof ScheduledEvidenceSource>;
|
|
496
490
|
attemptCount: z.ZodNumber;
|
|
491
|
+
policy: z.ZodObject<{
|
|
492
|
+
policyRef: z.ZodString;
|
|
493
|
+
retainForMs: z.ZodNumber;
|
|
494
|
+
resultFields: z.ZodArray<z.ZodString>;
|
|
495
|
+
deferredField: z.ZodOptional<z.ZodString>;
|
|
496
|
+
}, z.core.$strip>;
|
|
497
497
|
resultStatus: z.ZodEnum<typeof ScheduledEvidenceResultStatus>;
|
|
498
498
|
deferred: z.ZodOptional<z.ZodBoolean>;
|
|
499
499
|
}, z.core.$strip>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-registry.shared.core.definitions.d.ts","sourceRoot":"","sources":["../../../../src/resources/resources-registry.shared.core.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,oBAAoB,EAA+G,MAAM,4BAA4B,CAAC;AAKnM,OAAO,EAAE,gBAAgB,EAAgB,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAA+C,8CAA8C,EAAE,MAAM,mCAAmC,CAAC;AAsJhJ,eAAO,MAAM,8BAA8B,EAAG,oBAAoB,EA+
|
|
1
|
+
{"version":3,"file":"resources-registry.shared.core.definitions.d.ts","sourceRoot":"","sources":["../../../../src/resources/resources-registry.shared.core.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,oBAAoB,EAA+G,MAAM,4BAA4B,CAAC;AAKnM,OAAO,EAAE,gBAAgB,EAAgB,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAA+C,8CAA8C,EAAE,MAAM,mCAAmC,CAAC;AAsJhJ,eAAO,MAAM,8BAA8B,EAAG,oBAAoB,EA+3EjE,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,8CAA8C,CAAC,gBAAgB,CAyI1H,CAAC"}
|
|
@@ -1194,7 +1194,15 @@ export const coreSharedResourceRelationship = [
|
|
|
1194
1194
|
// every READ and `link_invoice` was refused, super-administrator included (#1598, found live).
|
|
1195
1195
|
isPrimaryScope: true,
|
|
1196
1196
|
foreignKeyField: 'applicationId',
|
|
1197
|
-
|
|
1197
|
+
/*
|
|
1198
|
+
* MANDATORY, matching the schema: every row is written with the application's canonical id, and
|
|
1199
|
+
* `applicationId` is required there. The edge used to say OPTIONAL (copying the retention-enforcement
|
|
1200
|
+
* records, whose rows may lack one) while the schema kept it required, and the Mongo convertor refuses
|
|
1201
|
+
* a relationship FK whose requiredness disagrees with its schema path — so on a Mongo-persisted platform
|
|
1202
|
+
* INIT died on `zod_converter_schema_conversion_failed` (framework 1.1.6, first fresh `wildo local dev`).
|
|
1203
|
+
* PostgreSQL keeps the schema's own nullability for an authored FK, so its plan does not change.
|
|
1204
|
+
*/
|
|
1205
|
+
parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
|
|
1198
1206
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
|
|
1199
1207
|
nature: RelationshipNature.REFERENCE,
|
|
1200
1208
|
contextPolicy: { enabled: false }
|
|
@@ -2044,7 +2052,15 @@ export const coreSharedResourceRelationship = [
|
|
|
2044
2052
|
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.INBOUND_ADDRESS_TOMBSTONES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
2045
2053
|
isPrimaryScope: true,
|
|
2046
2054
|
foreignKeyField: 'applicationId',
|
|
2047
|
-
|
|
2055
|
+
/*
|
|
2056
|
+
* MANDATORY, matching the schema: every row is written with the application's canonical id, and
|
|
2057
|
+
* `applicationId` is required there. The edge used to say OPTIONAL (copying the retention-enforcement
|
|
2058
|
+
* records, whose rows may lack one) while the schema kept it required, and the Mongo convertor refuses
|
|
2059
|
+
* a relationship FK whose requiredness disagrees with its schema path — so on a Mongo-persisted platform
|
|
2060
|
+
* INIT died on `zod_converter_schema_conversion_failed` (framework 1.1.6, first fresh `wildo local dev`).
|
|
2061
|
+
* PostgreSQL keeps the schema's own nullability for an authored FK, so its plan does not change.
|
|
2062
|
+
*/
|
|
2063
|
+
parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
|
|
2048
2064
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
|
|
2049
2065
|
nature: RelationshipNature.REFERENCE,
|
|
2050
2066
|
contextPolicy: { enabled: false },
|