@voyant-travel/action-ledger 0.105.8 → 0.105.9
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/route-schemas.d.ts +16 -16
- package/dist/routes.d.ts +1504 -431
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +566 -128
- package/dist/schema.d.ts +2 -2
- package/package.json +5 -4
package/dist/route-schemas.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const actionLedgerEntryListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
3
3
|
actionName: z.ZodOptional<z.ZodString>;
|
|
4
4
|
actionKind: z.ZodOptional<z.ZodEnum<{
|
|
5
|
-
execute: "execute";
|
|
6
|
-
reverse: "reverse";
|
|
7
|
-
update: "update";
|
|
8
|
-
delete: "delete";
|
|
9
5
|
read: "read";
|
|
10
6
|
create: "create";
|
|
7
|
+
update: "update";
|
|
8
|
+
delete: "delete";
|
|
9
|
+
execute: "execute";
|
|
11
10
|
approve: "approve";
|
|
12
11
|
reject: "reject";
|
|
12
|
+
reverse: "reverse";
|
|
13
13
|
compensate: "compensate";
|
|
14
14
|
duplicate: "duplicate";
|
|
15
15
|
}>>;
|
|
@@ -76,9 +76,9 @@ export declare const actionLedgerEntryListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
|
76
76
|
completed: "completed";
|
|
77
77
|
}>>>>;
|
|
78
78
|
reversalOutcome: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
79
|
+
failed: "failed";
|
|
79
80
|
full: "full";
|
|
80
81
|
partial: "partial";
|
|
81
|
-
failed: "failed";
|
|
82
82
|
}>>>>;
|
|
83
83
|
reversesActionId: z.ZodOptional<z.ZodString>;
|
|
84
84
|
reversedByActionId: z.ZodOptional<z.ZodString>;
|
|
@@ -101,7 +101,7 @@ export declare const actionLedgerEntryListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
|
101
101
|
id: string;
|
|
102
102
|
} | undefined;
|
|
103
103
|
actionName?: string | undefined;
|
|
104
|
-
actionKind?: "
|
|
104
|
+
actionKind?: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate" | undefined;
|
|
105
105
|
actorType?: string | undefined;
|
|
106
106
|
principalType?: "user" | "api_key" | "agent" | "workflow" | "system" | undefined;
|
|
107
107
|
principalId?: string | undefined;
|
|
@@ -128,7 +128,7 @@ export declare const actionLedgerEntryListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
|
128
128
|
status?: ("requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded")[] | undefined;
|
|
129
129
|
reversalKind?: ("compensate" | "none" | "revert" | "domain_command")[] | undefined;
|
|
130
130
|
reversalState?: ("requested" | "failed" | "expired" | "not_reversible" | "available" | "running" | "completed")[] | undefined;
|
|
131
|
-
reversalOutcome?: ("
|
|
131
|
+
reversalOutcome?: ("failed" | "full" | "partial")[] | undefined;
|
|
132
132
|
reversesActionId?: string | undefined;
|
|
133
133
|
reversedByActionId?: string | undefined;
|
|
134
134
|
sensitiveReasonCode?: string | undefined;
|
|
@@ -137,7 +137,7 @@ export declare const actionLedgerEntryListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
|
137
137
|
limit?: number | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
actionName?: string | undefined;
|
|
140
|
-
actionKind?: "
|
|
140
|
+
actionKind?: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate" | undefined;
|
|
141
141
|
actorType?: string | undefined;
|
|
142
142
|
principalType?: "user" | "api_key" | "agent" | "workflow" | "system" | undefined;
|
|
143
143
|
principalId?: string | undefined;
|
|
@@ -164,7 +164,7 @@ export declare const actionLedgerEntryListQuerySchema: z.ZodPipe<z.ZodObject<{
|
|
|
164
164
|
status?: ("requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded")[] | undefined;
|
|
165
165
|
reversalKind?: ("compensate" | "none" | "revert" | "domain_command")[] | undefined;
|
|
166
166
|
reversalState?: ("requested" | "failed" | "expired" | "not_reversible" | "available" | "running" | "completed")[] | undefined;
|
|
167
|
-
reversalOutcome?: ("
|
|
167
|
+
reversalOutcome?: ("failed" | "full" | "partial")[] | undefined;
|
|
168
168
|
reversesActionId?: string | undefined;
|
|
169
169
|
reversedByActionId?: string | undefined;
|
|
170
170
|
sensitiveReasonCode?: string | undefined;
|
|
@@ -304,14 +304,14 @@ export declare const requestActionApprovalBodySchema: z.ZodPipe<z.ZodObject<{
|
|
|
304
304
|
actionName: z.ZodString;
|
|
305
305
|
actionVersion: z.ZodDefault<z.ZodString>;
|
|
306
306
|
actionKind: z.ZodEnum<{
|
|
307
|
-
execute: "execute";
|
|
308
|
-
reverse: "reverse";
|
|
309
|
-
update: "update";
|
|
310
|
-
delete: "delete";
|
|
311
307
|
read: "read";
|
|
312
308
|
create: "create";
|
|
309
|
+
update: "update";
|
|
310
|
+
delete: "delete";
|
|
311
|
+
execute: "execute";
|
|
313
312
|
approve: "approve";
|
|
314
313
|
reject: "reject";
|
|
314
|
+
reverse: "reverse";
|
|
315
315
|
compensate: "compensate";
|
|
316
316
|
duplicate: "duplicate";
|
|
317
317
|
}>;
|
|
@@ -391,7 +391,7 @@ export declare const requestActionApprovalBodySchema: z.ZodPipe<z.ZodObject<{
|
|
|
391
391
|
requestedAction: {
|
|
392
392
|
actionName: string;
|
|
393
393
|
actionVersion: string;
|
|
394
|
-
actionKind: "
|
|
394
|
+
actionKind: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate";
|
|
395
395
|
evaluatedRisk: "low" | "medium" | "high" | "critical";
|
|
396
396
|
actorType: string | null;
|
|
397
397
|
principalType: "user" | "api_key" | "agent" | "workflow" | "system";
|
|
@@ -424,7 +424,7 @@ export declare const requestActionApprovalBodySchema: z.ZodPipe<z.ZodObject<{
|
|
|
424
424
|
requestedAction: {
|
|
425
425
|
actionName: string;
|
|
426
426
|
actionVersion: string;
|
|
427
|
-
actionKind: "
|
|
427
|
+
actionKind: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate";
|
|
428
428
|
evaluatedRisk: "low" | "medium" | "high" | "critical";
|
|
429
429
|
actorType: string | null;
|
|
430
430
|
principalType: "user" | "api_key" | "agent" | "workflow" | "system";
|
|
@@ -662,9 +662,9 @@ export declare const recordActionLedgerReversalBodySchema: z.ZodObject<{
|
|
|
662
662
|
completed: "completed";
|
|
663
663
|
}>>;
|
|
664
664
|
reversalOutcome: z.ZodOptional<z.ZodEnum<{
|
|
665
|
+
failed: "failed";
|
|
665
666
|
full: "full";
|
|
666
667
|
partial: "partial";
|
|
667
|
-
failed: "failed";
|
|
668
668
|
}>>;
|
|
669
669
|
}, z.core.$strip>>;
|
|
670
670
|
}, z.core.$strip>;
|