@@ -173,7 +173,7 @@ export interface CollectorRichContent {
173173}
174174
175175// @public (undocumented)
176- export type Collectors = FlowCollector | PasswordCollector | ValidatedPasswordCollector | TextCollector | BooleanCollector | ValidatedBooleanCollector | SingleSelectCollector | IdpCollector | SubmitCollector | ActionCollector <' ActionCollector' > | SingleValueCollector <' SingleValueCollector' > | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | PhoneNumberExtensionCollector | ReadOnlyCollector | RichTextCollector | ValidatedTextCollector | ProtectCollector | PollingCollector | FidoRegistrationCollector | FidoAuthenticationCollector | QrCodeCollector | UnknownCollector ;
176+ export type Collectors = FlowCollector | PasswordCollector | ValidatedPasswordCollector | TextCollector | BooleanCollector | ValidatedBooleanCollector | SingleSelectCollector | IdpCollector | SubmitCollector | ActionCollector <' ActionCollector' > | SingleValueCollector <' SingleValueCollector' > | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | PhoneNumberExtensionCollector | ReadOnlyCollector | RichTextCollector | ValidatedTextCollector | ProtectCollector | PollingCollector | FidoRegistrationCollector | FidoAuthenticationCollector | QrCodeCollector | ImageCollector | UnknownCollector ;
177177
178178// @public
179179export type CollectorValueType <T > = T extends {
@@ -283,16 +283,12 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
283283 resume: (input : {
284284 continueToken: string ;
285285 }) => Promise <InternalErrorResponse | NodeStates >;
286- start: <QueryParams extends OutgoingQueryParams = OutgoingQueryParams >(options ? : StartOptions <QueryParams > | undefined ) => Promise <ContinueNode | ErrorNode | FailureNode | StartNode | SuccessNode >;
286+ start: <QueryParams extends OutgoingQueryParams = OutgoingQueryParams >(options ? : StartOptions <QueryParams > | undefined ) => Promise <StartNode | ErrorNode | FailureNode | ContinueNode | SuccessNode >;
287287 update: <T extends SingleValueCollectors | MultiSelectCollector | ObjectValueCollectors | AutoCollectors >(collector : T ) => Updater <T >;
288288 validate: (collector : SingleValueCollectors | ObjectValueCollectors | MultiValueCollectors | AutoCollectors ) => Validator ;
289289 pollStatus: (collector : PollingCollector ) => Poller ;
290290 getClient: () => {
291- action: string ;
292- collectors: Collectors [];
293- description? : string ;
294- name? : string ;
295- status: " continue" ;
291+ status: " start" ;
296292 } | {
297293 action: string ;
298294 collectors: Collectors [];
@@ -302,7 +298,11 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
302298 } | {
303299 status: " failure" ;
304300 } | {
305- status: " start" ;
301+ action: string ;
302+ collectors: Collectors [];
303+ description? : string ;
304+ name? : string ;
305+ status: " continue" ;
306306 } | {
307307 authorization? : {
308308 code? : string ;
@@ -313,15 +313,9 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
313313 getCollectors: () => Collectors [];
314314 getError: () => DaVinciError | null ;
315315 getErrorCollectors: () => CollectorErrors [];
316- getNode: () => ContinueNode | ErrorNode | FailureNode | StartNode | SuccessNode ;
316+ getNode: () => StartNode | ErrorNode | FailureNode | ContinueNode | SuccessNode ;
317317 getServer: () => {
318- _links? : Links ;
319- id? : string ;
320- interactionId? : string ;
321- interactionToken? : string ;
322- href? : string ;
323- eventName? : string ;
324- status: " continue" ;
318+ status: " start" ;
325319 } | {
326320 _links? : Links ;
327321 eventName? : string ;
@@ -338,7 +332,13 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
338332 interactionToken? : string ;
339333 status: " failure" ;
340334 } | {
341- status: " start" ;
335+ _links? : Links ;
336+ id? : string ;
337+ interactionId? : string ;
338+ interactionToken? : string ;
339+ href? : string ;
340+ eventName? : string ;
341+ status: " continue" ;
342342 } | {
343343 _links? : Links ;
344344 eventName? : string ;
@@ -355,14 +355,14 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
355355 } & Omit <{
356356 requestId: string ;
357357 data? : unknown ;
358- error? : FetchBaseQueryError | SerializedError | undefined ;
358+ error? : SerializedError | FetchBaseQueryError | undefined ;
359359 endpointName: string ;
360360 startedTimeStamp: number ;
361361 fulfilledTimeStamp? : number ;
362362 }, " data" | " fulfilledTimeStamp" > & Required <Pick <{
363363 requestId: string ;
364364 data? : unknown ;
365- error? : FetchBaseQueryError | SerializedError | undefined ;
365+ error? : SerializedError | FetchBaseQueryError | undefined ;
366366 endpointName: string ;
367367 startedTimeStamp: number ;
368368 fulfilledTimeStamp? : number ;
@@ -379,14 +379,14 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
379379 } & Omit <{
380380 requestId: string ;
381381 data? : unknown ;
382- error? : FetchBaseQueryError | SerializedError | undefined ;
382+ error? : SerializedError | FetchBaseQueryError | undefined ;
383383 endpointName: string ;
384384 startedTimeStamp: number ;
385385 fulfilledTimeStamp? : number ;
386386 }, " error" > & Required <Pick <{
387387 requestId: string ;
388388 data? : unknown ;
389- error? : FetchBaseQueryError | SerializedError | undefined ;
389+ error? : SerializedError | FetchBaseQueryError | undefined ;
390390 endpointName: string ;
391391 startedTimeStamp: number ;
392392 fulfilledTimeStamp? : number ;
@@ -407,14 +407,14 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
407407 } & Omit <{
408408 requestId: string ;
409409 data? : unknown ;
410- error? : FetchBaseQueryError | SerializedError | undefined ;
410+ error? : SerializedError | FetchBaseQueryError | undefined ;
411411 endpointName: string ;
412412 startedTimeStamp: number ;
413413 fulfilledTimeStamp? : number ;
414414 }, " data" | " fulfilledTimeStamp" > & Required <Pick <{
415415 requestId: string ;
416416 data? : unknown ;
417- error? : FetchBaseQueryError | SerializedError | undefined ;
417+ error? : SerializedError | FetchBaseQueryError | undefined ;
418418 endpointName: string ;
419419 startedTimeStamp: number ;
420420 fulfilledTimeStamp? : number ;
@@ -431,14 +431,14 @@ export function davinci<ActionType extends ActionTypes = ActionTypes>(input: {
431431 } & Omit <{
432432 requestId: string ;
433433 data? : unknown ;
434- error? : FetchBaseQueryError | SerializedError | undefined ;
434+ error? : SerializedError | FetchBaseQueryError | undefined ;
435435 endpointName: string ;
436436 startedTimeStamp: number ;
437437 fulfilledTimeStamp? : number ;
438438 }, " error" > & Required <Pick <{
439439 requestId: string ;
440440 data? : unknown ;
441- error? : FetchBaseQueryError | SerializedError | undefined ;
441+ error? : SerializedError | FetchBaseQueryError | undefined ;
442442 endpointName: string ;
443443 startedTimeStamp: number ;
444444 fulfilledTimeStamp? : number ;
@@ -945,6 +945,25 @@ export type GetClient = StartNode['client'] | ContinueNode['client'] | ErrorNode
945945// @public (undocumented)
946946export type IdpCollector = ActionCollectorWithUrl <' IdpCollector' >;
947947
948+ // @public
949+ export interface ImageCollector extends NoValueCollectorBase <' ImageCollector' > {
950+ // (undocumented)
951+ output: NoValueCollectorBase <' ImageCollector' >[' output' ] & {
952+ src: string ;
953+ alt: string ;
954+ href? : string ;
955+ };
956+ }
957+
958+ // @public (undocumented)
959+ export type ImageField = {
960+ type: ' IMAGE' ;
961+ key: string ;
962+ description: string ;
963+ imageUrl: string ;
964+ hyperlinkUrl? : string ;
965+ };
966+
948967// @public (undocumented)
949968export type InferActionCollectorType <T extends ActionCollectorTypes > = T extends ' IdpCollector' ? IdpCollector : T extends ' SubmitCollector' ? SubmitCollector : T extends ' FlowCollector' ? FlowCollector : ActionCollectorWithUrl <' ActionCollector' > | ActionCollectorNoUrl <' ActionCollector' >;
950969
@@ -955,7 +974,7 @@ export type InferAutoCollectorType<T extends AutoCollectorTypes> = T extends 'Pr
955974export type InferMultiValueCollectorType <T extends MultiValueCollectorTypes > = T extends ' MultiSelectCollector' ? MultiValueCollectorWithValue <' MultiSelectCollector' > : MultiValueCollectorWithValue <' MultiValueCollector' > | MultiValueCollectorNoValue <' MultiValueCollector' >;
956975
957976// @public
958- export type InferNoValueCollectorType <T extends NoValueCollectorTypes > = T extends ' ReadOnlyCollector' ? ReadOnlyCollector : T extends ' RichTextCollector' ? RichTextCollector : T extends ' QrCodeCollector' ? QrCodeCollector : NoValueCollectorBase <' NoValueCollector' >;
977+ export type InferNoValueCollectorType <T extends NoValueCollectorTypes > = T extends ' ReadOnlyCollector' ? ReadOnlyCollector : T extends ' RichTextCollector' ? RichTextCollector : T extends ' QrCodeCollector' ? QrCodeCollector : T extends ' ImageCollector ' ? ImageCollector : NoValueCollectorBase <' NoValueCollector' >;
959978
960979// @public
961980export type InferSingleValueCollectorType <T extends SingleValueCollectorTypes > = T extends ' TextCollector' ? TextCollector : T extends ' SingleSelectCollector' ? SingleSelectCollector : T extends ' ValidatedTextCollector' ? ValidatedTextCollector : T extends ' PasswordCollector' ? PasswordCollector : T extends ' ValidatedPasswordCollector' ? ValidatedPasswordCollector : T extends ' BooleanCollector' ? BooleanCollector : T extends ' ValidatedBooleanCollector' ? ValidatedBooleanCollector : SingleValueCollectorWithValue <' SingleValueCollector' > | SingleValueCollectorNoValue <' SingleValueCollector' >;
@@ -1127,10 +1146,10 @@ export interface NoValueCollectorBase<T extends NoValueCollectorTypes> {
11271146}
11281147
11291148// @public (undocumented)
1130- export type NoValueCollectors = NoValueCollectorBase <' NoValueCollector' > | ReadOnlyCollector | RichTextCollector | QrCodeCollector ;
1149+ export type NoValueCollectors = NoValueCollectorBase <' NoValueCollector' > | ReadOnlyCollector | RichTextCollector | QrCodeCollector | ImageCollector ;
11311150
11321151// @public
1133- export type NoValueCollectorTypes = ' ReadOnlyCollector' | ' RichTextCollector' | ' NoValueCollector' | ' QrCodeCollector' ;
1152+ export type NoValueCollectorTypes = ' ReadOnlyCollector' | ' RichTextCollector' | ' NoValueCollector' | ' QrCodeCollector' | ' ImageCollector ' ;
11341153
11351154// @public
11361155export interface OAuthDetails {
@@ -1513,7 +1532,7 @@ export type ReadOnlyField = {
15131532};
15141533
15151534// @public (undocumented)
1516- export type ReadOnlyFields = ReadOnlyField | QrCodeField | AgreementField ;
1535+ export type ReadOnlyFields = ReadOnlyField | QrCodeField | AgreementField | ImageField ;
15171536
15181537// @public (undocumented)
15191538export type RedirectField = {
0 commit comments