@@ -147,13 +147,13 @@ export interface CollectorErrors {
147147}
148148
149149// @public (undocumented)
150- export type Collectors = FlowCollector | PasswordCollector | PasswordVerifyCollector | TextCollector | SingleSelectCollector | IdpCollector | SubmitCollector | ActionCollector <' ActionCollector' > | SingleValueCollector <' SingleValueCollector' > | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | ReadOnlyCollector | ValidatedTextCollector | ProtectCollector | PollingCollector | FidoRegistrationCollector | FidoAuthenticationCollector | QrCodeCollector | UnknownCollector ;
150+ export type Collectors = FlowCollector | PasswordCollector | ValidatedPasswordCollector | TextCollector | SingleSelectCollector | IdpCollector | SubmitCollector | ActionCollector <' ActionCollector' > | SingleValueCollector <' SingleValueCollector' > | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | ReadOnlyCollector | ValidatedTextCollector | ProtectCollector | PollingCollector | FidoRegistrationCollector | FidoAuthenticationCollector | QrCodeCollector | UnknownCollector ;
151151
152152// @public
153153export type CollectorValueType <T > = T extends {
154154 type: ' PasswordCollector' ;
155155} ? string : T extends {
156- type: ' PasswordVerifyCollector ' ;
156+ type: ' ValidatedPasswordCollector ' ;
157157} ? string : T extends {
158158 type: ' TextCollector' ;
159159 category: ' SingleValueCollector' ;
@@ -651,8 +651,6 @@ export interface DaVinciNextResponse extends DaVinciBaseResponse {
651651 };
652652 // (undocumented)
653653 _links? : Links ;
654- // (undocumented)
655- passwordPolicy? : PasswordPolicy ;
656654}
657655
658656// @public
@@ -1005,7 +1003,7 @@ export type InferMultiValueCollectorType<T extends MultiValueCollectorTypes> = T
10051003export type InferNoValueCollectorType <T extends NoValueCollectorTypes > = T extends ' ReadOnlyCollector' ? NoValueCollectorBase <' ReadOnlyCollector' > : T extends ' QrCodeCollector' ? QrCodeCollectorBase : NoValueCollectorBase <' NoValueCollector' >;
10061004
10071005// @public
1008- export type InferSingleValueCollectorType <T extends SingleValueCollectorTypes > = T extends ' TextCollector' ? TextCollector : T extends ' SingleSelectCollector' ? SingleSelectCollector : T extends ' ValidatedTextCollector' ? ValidatedTextCollector : T extends ' PasswordCollector' ? PasswordCollector : T extends ' PasswordVerifyCollector ' ? PasswordVerifyCollector : SingleValueCollectorWithValue <' SingleValueCollector' > | SingleValueCollectorNoValue <' SingleValueCollector' >;
1006+ export 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 : SingleValueCollectorWithValue <' SingleValueCollector' > | SingleValueCollectorNoValue <' SingleValueCollector' >;
10091007
10101008// @public (undocumented)
10111009export type InferValueObjectCollectorType <T extends ObjectValueCollectorTypes > = T extends ' DeviceAuthenticationCollector' ? DeviceAuthenticationCollector : T extends ' DeviceRegistrationCollector' ? DeviceRegistrationCollector : T extends ' PhoneNumberCollector' ? PhoneNumberCollector : ObjectOptionsCollectorWithObjectValue <' ObjectValueCollector' > | ObjectOptionsCollectorWithStringValue <' ObjectValueCollector' >;
@@ -1140,12 +1138,11 @@ fields: DaVinciField[];
11401138formData: {
11411139value: Record <string , unknown >;
11421140};
1143- passwordPolicy? : PasswordPolicy ;
11441141}, string >;
11451142
11461143// @public
1147- export const nodeCollectorReducer: Reducer <(TextCollector | SingleSelectCollector | ValidatedTextCollector | PasswordCollector | PasswordVerifyCollector | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | IdpCollector | SubmitCollector | FlowCollector | QrCodeCollectorBase | ReadOnlyCollector | UnknownCollector | ProtectCollector | FidoRegistrationCollector | FidoAuthenticationCollector | PollingCollector | ActionCollector <" ActionCollector" > | SingleValueCollector <" SingleValueCollector" >)[]> & {
1148- getInitialState: () => (TextCollector | SingleSelectCollector | ValidatedTextCollector | PasswordCollector | PasswordVerifyCollector | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | IdpCollector | SubmitCollector | FlowCollector | QrCodeCollectorBase | ReadOnlyCollector | UnknownCollector | ProtectCollector | FidoRegistrationCollector | FidoAuthenticationCollector | PollingCollector | ActionCollector <" ActionCollector" > | SingleValueCollector <" SingleValueCollector" >)[];
1144+ export const nodeCollectorReducer: Reducer <(TextCollector | SingleSelectCollector | ValidatedTextCollector | PasswordCollector | ValidatedPasswordCollector | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | IdpCollector | SubmitCollector | FlowCollector | QrCodeCollectorBase | ReadOnlyCollector | UnknownCollector | ProtectCollector | FidoRegistrationCollector | FidoAuthenticationCollector | PollingCollector | ActionCollector <" ActionCollector" > | SingleValueCollector <" SingleValueCollector" >)[]> & {
1145+ getInitialState: () => (TextCollector | SingleSelectCollector | ValidatedTextCollector | PasswordCollector | ValidatedPasswordCollector | MultiSelectCollector | DeviceAuthenticationCollector | DeviceRegistrationCollector | PhoneNumberCollector | IdpCollector | SubmitCollector | FlowCollector | QrCodeCollectorBase | ReadOnlyCollector | UnknownCollector | ProtectCollector | FidoRegistrationCollector | FidoAuthenticationCollector | PollingCollector | ActionCollector <" ActionCollector" > | SingleValueCollector <" SingleValueCollector" >)[];
11491146};
11501147
11511148// @public (undocumented)
@@ -1297,7 +1294,41 @@ export interface OutgoingQueryParams {
12971294}
12981295
12991296// @public (undocumented)
1300- export type PasswordCollector = SingleValueCollectorNoValue <' PasswordCollector' >;
1297+ export interface PasswordCollector {
1298+ // (undocumented)
1299+ category: ' SingleValueCollector' ;
1300+ // (undocumented)
1301+ error: string | null ;
1302+ // (undocumented)
1303+ id: string ;
1304+ // (undocumented)
1305+ input: {
1306+ key: string ;
1307+ value: string | number | boolean ;
1308+ type: string ;
1309+ };
1310+ // (undocumented)
1311+ name: string ;
1312+ // (undocumented)
1313+ output: {
1314+ key: string ;
1315+ label: string ;
1316+ type: string ;
1317+ verify: boolean ;
1318+ };
1319+ // (undocumented)
1320+ type: ' PasswordCollector' ;
1321+ }
1322+
1323+ // @public
1324+ export type PasswordField = {
1325+ type: ' PASSWORD' | ' PASSWORD_VERIFY' ;
1326+ key: string ;
1327+ label: string ;
1328+ required? : boolean ;
1329+ verify? : boolean ;
1330+ passwordPolicy? : PasswordPolicy ;
1331+ };
13011332
13021333// @public (undocumented)
13031334export interface PasswordPolicy {
@@ -1348,42 +1379,6 @@ export interface PasswordPolicy {
13481379 updatedAt? : string ;
13491380}
13501381
1351- // @public (undocumented)
1352- export interface PasswordVerifyCollector {
1353- // (undocumented)
1354- category: ' SingleValueCollector' ;
1355- // (undocumented)
1356- error: string | null ;
1357- // (undocumented)
1358- id: string ;
1359- // (undocumented)
1360- input: {
1361- key: string ;
1362- value: string | number | boolean ;
1363- type: string ;
1364- };
1365- // (undocumented)
1366- name: string ;
1367- // (undocumented)
1368- output: {
1369- key: string ;
1370- label: string ;
1371- type: string ;
1372- passwordPolicy? : PasswordPolicy ;
1373- };
1374- // (undocumented)
1375- type: ' PasswordVerifyCollector' ;
1376- }
1377-
1378- // @public (undocumented)
1379- export type PasswordVerifyField = {
1380- type: ' PASSWORD_VERIFY' ;
1381- key: string ;
1382- label: string ;
1383- required? : boolean ;
1384- passwordPolicy? : PasswordPolicy ;
1385- };
1386-
13871382// @public (undocumented)
13881383export type PhoneNumberCollector = ObjectValueCollectorWithObjectValue <' PhoneNumberCollector' , PhoneNumberInputValue , PhoneNumberOutputValue >;
13891384
@@ -1647,10 +1642,10 @@ export interface SingleValueCollectorNoValue<T extends SingleValueCollectorTypes
16471642}
16481643
16491644// @public (undocumented)
1650- export type SingleValueCollectors = SingleValueCollectorNoValue < ' PasswordCollector' > | PasswordVerifyCollector | SingleSelectCollectorWithValue <' SingleSelectCollector' > | SingleValueCollectorWithValue <' SingleValueCollector' > | SingleValueCollectorWithValue <' TextCollector' > | ValidatedSingleValueCollectorWithValue <' TextCollector' >;
1645+ export type SingleValueCollectors = PasswordCollector | ValidatedPasswordCollector | SingleSelectCollectorWithValue <' SingleSelectCollector' > | SingleValueCollectorWithValue <' SingleValueCollector' > | SingleValueCollectorWithValue <' TextCollector' > | ValidatedSingleValueCollectorWithValue <' TextCollector' >;
16511646
16521647// @public
1653- export type SingleValueCollectorTypes = ' PasswordCollector' | ' PasswordVerifyCollector ' | ' SingleValueCollector' | ' SingleSelectCollector' | ' SingleSelectObjectCollector' | ' TextCollector' | ' ValidatedTextCollector' ;
1648+ export type SingleValueCollectorTypes = ' PasswordCollector' | ' ValidatedPasswordCollector ' | ' SingleValueCollector' | ' SingleSelectCollector' | ' SingleSelectObjectCollector' | ' TextCollector' | ' ValidatedTextCollector' ;
16541649
16551650// @public (undocumented)
16561651export interface SingleValueCollectorWithValue <T extends SingleValueCollectorTypes > {
@@ -1680,11 +1675,11 @@ export interface SingleValueCollectorWithValue<T extends SingleValueCollectorTyp
16801675}
16811676
16821677// @public (undocumented)
1683- export type SingleValueFields = StandardField | PasswordVerifyField | ValidatedField | SingleSelectField | ProtectField ;
1678+ export type SingleValueFields = StandardField | PasswordField | ValidatedField | SingleSelectField | ProtectField ;
16841679
16851680// @public (undocumented)
16861681export type StandardField = {
1687- type: ' PASSWORD ' | ' TEXT' | ' SUBMIT_BUTTON' | ' FLOW_BUTTON' | ' FLOW_LINK' | ' BUTTON' ;
1682+ type: ' TEXT' | ' SUBMIT_BUTTON' | ' FLOW_BUTTON' | ' FLOW_LINK' | ' BUTTON' ;
16881683 key: string ;
16891684 label: string ;
16901685 required? : boolean ;
@@ -1802,6 +1797,34 @@ export type ValidatedField = {
18021797 };
18031798};
18041799
1800+ // @public (undocumented)
1801+ export interface ValidatedPasswordCollector {
1802+ // (undocumented)
1803+ category: ' SingleValueCollector' ;
1804+ // (undocumented)
1805+ error: string | null ;
1806+ // (undocumented)
1807+ id: string ;
1808+ // (undocumented)
1809+ input: {
1810+ key: string ;
1811+ value: string | number | boolean ;
1812+ type: string ;
1813+ };
1814+ // (undocumented)
1815+ name: string ;
1816+ // (undocumented)
1817+ output: {
1818+ key: string ;
1819+ label: string ;
1820+ type: string ;
1821+ verify: boolean ;
1822+ passwordPolicy: PasswordPolicy ;
1823+ };
1824+ // (undocumented)
1825+ type: ' ValidatedPasswordCollector' ;
1826+ }
1827+
18051828// @public (undocumented)
18061829export interface ValidatedSingleValueCollectorWithValue <T extends SingleValueCollectorTypes > {
18071830 // (undocumented)
0 commit comments