@company-semantics/contracts 0.126.0 → 0.127.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/package.json
CHANGED
package/src/execution/index.ts
CHANGED
|
@@ -157,6 +157,7 @@ export {
|
|
|
157
157
|
ExecutionTimelineResponseSchema,
|
|
158
158
|
ConfirmExecutionResponseSchema,
|
|
159
159
|
RejectExecutionResponseSchema,
|
|
160
|
+
StartExecutionResponseSchema,
|
|
160
161
|
} from './schemas'
|
|
161
162
|
|
|
162
163
|
export type {
|
|
@@ -166,4 +167,5 @@ export type {
|
|
|
166
167
|
ExecutionTimelineResponse,
|
|
167
168
|
ConfirmExecutionResponse,
|
|
168
169
|
RejectExecutionResponse,
|
|
170
|
+
StartExecutionResponse,
|
|
169
171
|
} from './schemas'
|
package/src/execution/schemas.ts
CHANGED
|
@@ -93,3 +93,10 @@ export const RejectExecutionResponseSchema = z.object({
|
|
|
93
93
|
})
|
|
94
94
|
|
|
95
95
|
export type RejectExecutionResponse = z.infer<typeof RejectExecutionResponseSchema>
|
|
96
|
+
|
|
97
|
+
export const StartExecutionResponseSchema = z.object({
|
|
98
|
+
executionId: z.string().uuid(),
|
|
99
|
+
redirectUrl: z.string().optional(),
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
export type StartExecutionResponse = z.infer<typeof StartExecutionResponseSchema>
|