@@ -267,13 +267,11 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
267267 resume: (input : {
268268 continueToken: string ;
269269 }) => Promise <InternalErrorResponse | NodeStates >;
270- start: <QueryParams extends OutgoingQueryParams = OutgoingQueryParams >(options ? : StartOptions <QueryParams > | undefined ) => Promise <ContinueNode | StartNode | ErrorNode | FailureNode | SuccessNode >;
270+ start: <QueryParams extends OutgoingQueryParams = OutgoingQueryParams >(options ? : StartOptions <QueryParams > | undefined ) => Promise <ContinueNode | ErrorNode | FailureNode | StartNode | SuccessNode >;
271271 update: <T extends SingleValueCollectors | MultiSelectCollector | ObjectValueCollectors | AutoCollectors >(collector : T ) => Updater <T >;
272272 validate: (collector : SingleValueCollectors | ObjectValueCollectors | MultiValueCollectors | AutoCollectors ) => Validator ;
273273 poll: (collector : PollingCollector ) => Poller ;
274274 getClient: () => {
275- status: " start" ;
276- } | {
277275 action: string ;
278276 collectors: Collectors [];
279277 description? : string ;
@@ -287,6 +285,8 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
287285 status: " error" ;
288286 } | {
289287 status: " failure" ;
288+ } | {
289+ status: " start" ;
290290 } | {
291291 authorization? : {
292292 code? : string ;
@@ -297,7 +297,7 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
297297 getCollectors: () => Collectors [];
298298 getError: () => DaVinciError | null ;
299299 getErrorCollectors: () => CollectorErrors [];
300- getNode: () => ContinueNode | StartNode | ErrorNode | FailureNode | SuccessNode ;
300+ getNode: () => ContinueNode | ErrorNode | FailureNode | StartNode | SuccessNode ;
301301 getServer: () => {
302302 _links? : Links ;
303303 id? : string ;
@@ -306,8 +306,6 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
306306 href? : string ;
307307 eventName? : string ;
308308 status: " continue" ;
309- } | {
310- status: " start" ;
311309 } | {
312310 _links? : Links ;
313311 eventName? : string ;
@@ -323,6 +321,8 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
323321 interactionId? : string ;
324322 interactionToken? : string ;
325323 status: " failure" ;
324+ } | {
325+ status: " start" ;
326326 } | {
327327 _links? : Links ;
328328 eventName? : string ;
0 commit comments