@adyen/kyc-components 3.63.2 → 3.64.1

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.
Files changed (116) hide show
  1. package/dist/AccountSetupRejected-DE4V7-3v.js +14 -0
  2. package/dist/{OKF6E45R-DJQ6WuJ0.js → CXEL7IU7-DcK7-pPj.js} +2 -2
  3. package/dist/CustomerSupport-BRVILv21.js +120 -0
  4. package/dist/{DebugModal-fAWDVtvl.js → DebugModal-BJk5v_Fq.js} +6 -6
  5. package/dist/DecisionMakers-DMRBLJ03.js +220 -0
  6. package/dist/{WXAWMS3D-C0qahN6N.js → HASRA6WW-BBh_ldjJ.js} +615 -514
  7. package/dist/{CPIOZS5X-BAPAsUnD.js → I3HPI4QX-DgZhje7B.js} +2 -2
  8. package/dist/{Introduction-imwEgL7W.js → Introduction-Dh3oNC_b.js} +1 -5
  9. package/dist/Review-TmWR8Zbc.js +73 -0
  10. package/dist/SingpassSelection-BUEOfpN3.js +116 -0
  11. package/dist/adyen-kyc-components.js +1 -1
  12. package/dist/adyenConfig.js +1 -1
  13. package/dist/{core-CtLEZ35m.js → core-DMef9uHG.js} +30625 -33325
  14. package/dist/{css-Byr67uS8.js → css-BuS1n-Pw.js} +1 -1
  15. package/dist/{json-BOZMhevD.js → json-C8Ve6tYd.js} +1 -1
  16. package/dist/{plaintext-jm6guQOB.js → plaintext-Bn-4mEeM.js} +1 -1
  17. package/dist/style.css +479 -467
  18. package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +2 -0
  19. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +17 -0
  20. package/dist/types/api/legalEntity/useLegalEntity.d.ts +17 -5
  21. package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +4 -0
  22. package/dist/types/api/pciTemplate/usePciStatus.d.ts +7 -2
  23. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +12 -0
  24. package/dist/types/api/termsOfService/useTermsOfService.d.ts +13 -0
  25. package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +2 -0
  26. package/dist/types/api/types.d.ts +8 -3
  27. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +6 -0
  28. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
  29. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +44 -0
  30. package/dist/types/components/Business/forms/{Company/rules.d.ts → rules.d.ts} +4 -6
  31. package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +1 -1
  32. package/dist/types/components/Business/hooks/useBusinessData/useBusinessData.d.ts +1 -1
  33. package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +2 -1
  34. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  35. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.d.ts +1 -1
  36. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +0 -1
  37. package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +1 -0
  38. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  39. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -3
  40. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/useServiceAgreement.d.ts +1 -6
  41. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +2 -13
  42. package/dist/types/components/Individual/forms/Individual/types.d.ts +1 -1
  43. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakers.d.ts +6 -1
  44. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +1 -4
  45. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
  46. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
  47. package/dist/types/components/Shared/Introduction/types.d.ts +0 -1
  48. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  49. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +1 -1
  50. package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +1 -2
  51. package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +1 -1
  52. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -1
  53. package/dist/types/components/UnincorporatedPartnership/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +8 -0
  54. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  55. package/dist/types/components/index.d.ts +0 -4
  56. package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
  57. package/dist/types/components/ui/atoms/Select/Select.types.d.ts +0 -2
  58. package/dist/types/components/ui/atoms/Select/useSelectFocus.d.ts +21 -0
  59. package/dist/types/components/ui/atoms/SelectButton/SelectButton.d.ts +2 -1
  60. package/dist/types/components/ui/atoms/SelectButton/SelectButton.types.d.ts +6 -6
  61. package/dist/types/components/ui/atoms/SelectList/SelectList.d.ts +2 -1
  62. package/dist/types/components/ui/atoms/SelectList/SelectList.types.d.ts +4 -3
  63. package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.d.ts +1 -1
  64. package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.types.d.ts +1 -0
  65. package/dist/types/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +1 -3
  66. package/dist/types/context/ExperimentContext/types.d.ts +84 -4
  67. package/dist/types/context/StateContext/types.d.ts +2 -4
  68. package/dist/types/core/constants.d.ts +3 -0
  69. package/dist/types/core/models/api/contracts.d.ts +0 -1
  70. package/dist/types/core/models/api/legal-entity.d.ts +4 -5
  71. package/dist/types/core/models/api/organization.d.ts +2 -1
  72. package/dist/types/hooks/useComponentApi.d.ts +0 -4
  73. package/dist/types/stores/globalStore/globalStore.d.ts +4 -1
  74. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
  75. package/dist/types/utils/api/processCapabilitites.d.ts +1 -2
  76. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  77. package/dist/types/utils/getFieldsWithExistingData.d.ts +1 -3
  78. package/dist/types/utils/signals/useWatchingSignal.d.ts +9 -0
  79. package/dist/types/utils/simulateTextChangeFromKeyboardEvent.d.ts +11 -0
  80. package/dist/{yaml-BZYqXoHq.js → yaml-B0cSIA3u.js} +1 -1
  81. package/package.json +17 -23
  82. package/dist/types/components/Business/forms/Company/Company.d.ts +0 -54
  83. package/dist/types/components/Business/forms/Company/types.d.ts +0 -30
  84. package/dist/types/components/Business/forms/CompanyType/CompanyType.d.ts +0 -4
  85. package/dist/types/components/Business/forms/CompanyType/types.d.ts +0 -9
  86. package/dist/types/components/Business/forms/CompanyType/validate.d.ts +0 -3
  87. package/dist/types/components/Business/mapping/companyKeyMappings.d.ts +0 -7
  88. package/dist/types/components/Business/mapping/mapApiDocumentToCompanyDocuments.d.ts +0 -2
  89. package/dist/types/components/Business/mapping/mapCompanyDocumentToApiDocument.d.ts +0 -3
  90. package/dist/types/components/Business/mapping/mapCompanyToLegalEntity.d.ts +0 -4
  91. package/dist/types/components/Business/mapping/mapLegalEntityToCompany.d.ts +0 -4
  92. package/dist/types/components/Business/tasks/CompanyDropin/CompanyDropin.d.ts +0 -2
  93. package/dist/types/components/Business/tasks/CompanyDropin/companyFormConfig.d.ts +0 -7
  94. package/dist/types/components/Business/tasks/CompanyDropin/mandatoryFields.d.ts +0 -3
  95. package/dist/types/components/Business/tasks/CompanyDropin/types.d.ts +0 -10
  96. package/dist/types/components/Shared/fields/TradingNameField/TradingNameField.d.ts +0 -3
  97. package/dist/types/components/Shared/fields/TradingNameField/fieldConfig.d.ts +0 -3
  98. package/dist/types/components/Shared/fields/TradingNameField/types.d.ts +0 -8
  99. package/dist/types/components/Shared/forms/CompanyNameAndCountry/CompanyNameAndCountry.d.ts +0 -5
  100. package/dist/types/components/Shared/forms/CompanyNameAndCountry/validate.d.ts +0 -3
  101. package/dist/types/components/Shared/forms/CompanyRegistrationDetails/CompanyRegistrationDetails.d.ts +0 -4
  102. package/dist/types/components/Shared/forms/CompanyRegistrationDetails/types.d.ts +0 -19
  103. package/dist/types/components/SoleProprietorship/forms/SoleProp/SoleProp.d.ts +0 -33
  104. package/dist/types/components/SoleProprietorship/forms/SoleProp/types.d.ts +0 -33
  105. package/dist/types/components/SoleProprietorship/mapping/mapApiDocumentToSolePropDocuments.d.ts +0 -2
  106. package/dist/types/components/SoleProprietorship/mapping/mapLegalEntityToSoleProp.d.ts +0 -4
  107. package/dist/types/components/SoleProprietorship/mapping/mapSolePropDocumentToApiDocument.d.ts +0 -3
  108. package/dist/types/components/SoleProprietorship/mapping/mapSolePropToLegalEntity.d.ts +0 -4
  109. package/dist/types/components/SoleProprietorship/mapping/solePropKeyMappings.d.ts +0 -7
  110. package/dist/types/components/SoleProprietorship/tasks/SolePropDropin/SolePropDropin.d.ts +0 -2
  111. package/dist/types/components/SoleProprietorship/tasks/SolePropDropin/mandatoryFields.d.ts +0 -3
  112. package/dist/types/components/SoleProprietorship/tasks/SolePropDropin/solePropFormConfig.d.ts +0 -5
  113. package/dist/types/context/StateContext/StateContextWatcher.d.ts +0 -2
  114. package/dist/types/core/services/componentApi/clear-company-data.d.ts +0 -2
  115. package/dist/types/core/services/componentApi/delete-transferInstrument.d.ts +0 -3
  116. package/dist/types/core/services/componentApi/validate-account-identification.d.ts +0 -4
@@ -0,0 +1,2 @@
1
+ import { type MutationOptions } from '@tanstack/react-query';
2
+ export declare const useClearCompanyData: (options?: Omit<MutationOptions<void, Error>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<void, Error, void, unknown>;
@@ -0,0 +1,17 @@
1
+ import { type MutationOptions } from '@tanstack/react-query';
2
+ import type { ExistingLegalEntity, LegalEntity } from '../../core/models/api/legal-entity';
3
+ export declare const useCreateLegalEntity: (options?: Omit<MutationOptions<ExistingLegalEntity, Error, LegalEntity>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<{
4
+ documentDetails?: import("../../core/models/api/documentDetail").DocumentDetail[];
5
+ entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[];
6
+ individual?: import("../../core/models/api/individual").Individual;
7
+ organization?: import("../../core/models/api/organization").Organization;
8
+ soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor;
9
+ trust?: import("../../core/models/api/trust").Trust;
10
+ unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership;
11
+ capabilities?: Partial<Record<import("../../core/models/api/capability").CapabilityName, import("../../core/models/api/capability").Capability>>;
12
+ problems?: import("../../core/models/api/problem").Problem[];
13
+ transferInstruments?: import("../../core/models/api/transfer-instrument").TransferInstrumentOverview[];
14
+ trustedFields?: import("../../core/models/api/legal-entity").LegalEntityTrustedFields[];
15
+ id: string;
16
+ type: import("../../core/models/api/legal-entity-type").LegalEntityType;
17
+ }, Error, LegalEntity, unknown>;
@@ -1,11 +1,23 @@
1
+ import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
1
2
  import type { QueryOptions } from '../types';
2
- import type { components } from './legalEntity.contract';
3
- type SuccessResponse = components['schemas']['LegalEntityDto'];
4
3
  /**
5
4
  *
6
5
  * @param id legalEntityId
7
6
  * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
8
7
  */
9
- export declare const getLegalEntity: (legalEntityId: string, url: string) => Promise<SuccessResponse>;
10
- export declare const useLegalEntity: (options?: QueryOptions<any>) => import("@tanstack/react-query").UseQueryResult<any, Error>;
11
- export {};
8
+ export declare const getLegalEntity: (legalEntityId: string, url: string) => Promise<ExistingLegalEntity>;
9
+ export declare const useLegalEntity: (options?: QueryOptions<ExistingLegalEntity>) => import("@tanstack/react-query").UseQueryResult<{
10
+ documentDetails?: import("../../core/models/api/documentDetail").DocumentDetail[];
11
+ entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[];
12
+ individual?: import("../../core/models/api/individual").Individual;
13
+ organization?: import("../../core/models/api/organization").Organization;
14
+ soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor;
15
+ trust?: import("../../core/models/api/trust").Trust;
16
+ unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership;
17
+ capabilities?: Partial<Record<import("../../core/models/api/capability").CapabilityName, import("../../core/models/api/capability").Capability>>;
18
+ problems?: import("../../core/models/api/problem").Problem[];
19
+ transferInstruments?: import("../../core/models/api/transfer-instrument").TransferInstrumentOverview[];
20
+ trustedFields?: import("../../core/models/api/legal-entity").LegalEntityTrustedFields[];
21
+ id: string;
22
+ type: import("../../core/models/api/legal-entity-type").LegalEntityType;
23
+ }, Error>;
@@ -1,7 +1,11 @@
1
+ import type { QueryOptions } from '@tanstack/react-query';
1
2
  import type { components } from './pci.contract';
2
3
  type SuccessResponse = components['schemas']['PciQuestionnairesResponse'];
3
4
  /**
4
5
  * Returns a list of questionnaires for the legalEntity
5
6
  */
6
7
  export declare const getPciQuestionnaireList: (legalEntityId: string, url: string) => Promise<SuccessResponse>;
8
+ export declare const usePciQuestionnaireList: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
9
+ data?: components["schemas"]["PciDocumentInfo"][];
10
+ }, Error>;
7
11
  export {};
@@ -1,3 +1,8 @@
1
- import type { PciStatus, PciStatusRequest } from '../../core/models/api/contracts';
2
1
  import type { QueryOptions } from '../types';
3
- export declare const usePciStatus: (data: PciStatusRequest, options?: QueryOptions<PciStatus>) => import("@tanstack/react-query").UseQueryResult<PciStatus, Error>;
2
+ import type { components } from './pci.contract';
3
+ type SuccessResponse = components['schemas']['PciSigningStatusResponse'];
4
+ type Request = components['schemas']['PciSigningStatusRequest'];
5
+ export declare const usePciStatus: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
6
+ signingRequired?: boolean;
7
+ }, Error>;
8
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { TermsOfServiceDocumentFormat } from '../../core/models/api/contracts';
2
+ import type { QueryOptions } from '../types';
3
+ import type { components } from './termsOfService.contract';
4
+ type SuccessResponse = components['schemas']['GetAcceptedTermsOfServiceDocumentResponse'];
5
+ export declare const getAcceptedTermsOfService: (legalEntityId: string, url: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat | undefined) => Promise<SuccessResponse>;
6
+ export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat?: TermsOfServiceDocumentFormat, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
7
+ document?: string;
8
+ id?: string;
9
+ termsOfServiceAcceptanceReference?: string;
10
+ termsOfServiceDocumentFormat?: "JSON" | "PDF";
11
+ }, Error>;
12
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { QueryOptions } from '../types';
2
+ import type { components } from './termsOfService.contract';
3
+ type Request = components['schemas']['TermsOfServiceDocumentRequest'];
4
+ type SuccessResponse = components['schemas']['TermsOfServiceDocumentResponse'];
5
+ export declare const useTermsOfService: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
6
+ document?: string;
7
+ id?: string;
8
+ language?: string;
9
+ termsOfServiceDocumentFormat?: string;
10
+ termsOfServiceDocumentId?: string;
11
+ type?: components["schemas"]["TermsOfServiceType"];
12
+ }, Error>;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { MutationOptions } from '../types';
2
+ export declare const useDeleteTransferInstrument: (options?: MutationOptions<null, unknown, string>) => import("@tanstack/react-query").UseMutationResult<null, unknown, string, unknown>;
@@ -1,9 +1,14 @@
1
- import type { UseQueryOptions } from '@tanstack/react-query';
2
- type MandatoryArgs = 'queryKey' | 'queryFn';
1
+ import type { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
2
+ type MandatoryQueryArgs = 'queryKey' | 'queryFn';
3
+ type MandatoryMutationArgs = 'mutationFn';
3
4
  /**
4
5
  * useQuery params we do NOT want in our options.
5
6
  * <ResponseType> is the type of the Response received,
6
7
  * provide the generic to QueryOptions and nowhere else, it will be infered
7
8
  */
8
- export type QueryOptions<ResponseType> = Omit<UseQueryOptions<ResponseType>, MandatoryArgs>;
9
+ export type QueryOptions<ResponseType> = Omit<UseQueryOptions<ResponseType>, MandatoryQueryArgs>;
10
+ /**
11
+ * useMutation params we do NOT want in our options.
12
+ */
13
+ export type MutationOptions<ResponseType = unknown, ErrorType = Error, VariablesType = void, ContextType = unknown> = Omit<UseMutationOptions<ResponseType, ErrorType, VariablesType, ContextType>, MandatoryMutationArgs>;
9
14
  export {};
@@ -0,0 +1,6 @@
1
+ import type { MutationOptions } from '@tanstack/react-query';
2
+ import type { AccountIdentification } from '../../core/models/api/accountIdentification';
3
+ import type { AccountValidationResponse } from '../../core/models/errors/validation-error';
4
+ export type AccountIdentificationResponse = AccountValidationResponse;
5
+ export declare const validateAccountIdentification: (url: string, data: AccountIdentification) => Promise<AccountValidationResponse>;
6
+ export declare const useValidateAccountIdentification: (options?: Omit<MutationOptions<AccountValidationResponse, unknown, AccountIdentification>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<AccountValidationResponse, unknown, AccountIdentification, unknown>;
@@ -8,8 +8,8 @@ export declare const remediationPayoutApiKeyMapping: {
8
8
  id?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
9
9
  legalEntityId?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
10
10
  type?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
11
- capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
12
11
  documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
12
+ capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
13
13
  problems?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
14
14
  "bankAccount.bankName"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
15
15
  "bankAccount.countryCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
@@ -2,6 +2,50 @@ import type { CountryCode } from '../../../../core/models/country-code';
2
2
  import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
3
3
  import type { BasicInformationSchema } from '../BasicInformation/types';
4
4
  export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
5
+ export declare const staticBusinessDetailsForms: {
6
+ readonly companyStructure: {
7
+ readonly formId: "companyStructure";
8
+ readonly formName: "companyStructureFormName";
9
+ readonly formHeading: "companyStructureFormName";
10
+ readonly formDescription: "companyStructureFormDescription";
11
+ readonly fields: "entityType"[];
12
+ };
13
+ readonly companyRegistrationDocument: {
14
+ readonly formId: "companyRegistrationDocument";
15
+ readonly formName: "companyRegistrationDocumentFormName";
16
+ readonly formHeading: "companyRegistrationDocumentFormHeading";
17
+ readonly formDescription: "companyRegistrationDocumentFormDescription";
18
+ readonly fields: readonly ["registrationDocument"];
19
+ };
20
+ readonly companyTaxDocument: {
21
+ readonly formId: "companyTaxDocument";
22
+ readonly formName: "companyTaxDocumentFormName";
23
+ readonly formHeading: "companyTaxDocumentFormHeading";
24
+ readonly formDescription: "companyTaxDocumentFormDescription";
25
+ readonly fields: readonly ["taxDocument"];
26
+ };
27
+ readonly companyProofOfDirectorDocument: {
28
+ readonly formId: "companyProofOfDirectorDocument";
29
+ readonly formName: "proofOfDirector";
30
+ readonly formHeading: "uploadYourOrganizationProofOfDirector";
31
+ readonly formDescription: "weNeedAnOfficialDocument";
32
+ readonly fields: readonly ["proofOfDirector"];
33
+ };
34
+ readonly companyFinancialInformation: {
35
+ readonly formId: "companyFinancialInformation";
36
+ readonly formName: "financialInformation";
37
+ readonly formHeading: "companyFinancialInformationFormHeading";
38
+ readonly formDescription: "companyFinancialInformationFormDescription";
39
+ readonly fields: (keyof import("../../../Shared/forms/FinancialInformation/types").FinancialInformationSchema)[];
40
+ };
41
+ readonly companyConstitutionalDocument: {
42
+ readonly formId: "companyConstitutionalDocument";
43
+ readonly formName: "constitutionalDocument";
44
+ readonly formHeading: "constitutionalDocumentHeader";
45
+ readonly formDescription: "constitutionalDocumentHeaderDescription";
46
+ readonly fields: readonly ["constitutionalDocument"];
47
+ };
48
+ };
5
49
  export declare const getForms: (country: CountryCode) => {
6
50
  readonly basicInformation: {
7
51
  readonly formId: "basicInformation";
@@ -1,8 +1,6 @@
1
- import type { CountryCode } from '../../../../core/models/country-code';
2
- import type { FormRulesParams } from '../../../../core/models/form-rules';
3
- import type { SolePropSchema } from '../../../SoleProprietorship/forms/SoleProp/types';
4
- import type { BusinessDetailsSchema } from '../BusinessDetails/types';
5
- import type { CompanySchema } from './types';
1
+ import type { CountryCode } from '../../../core/models/country-code';
2
+ import type { FormRulesParams } from '../../../core/models/form-rules';
3
+ import type { BusinessDetailsSchema } from './BusinessDetails/types';
6
4
  /**
7
5
  * Also used to determine what documenttype needs to be used
8
6
  * when uploading tax document in mapping.ts
@@ -14,7 +12,7 @@ export declare const COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT: readonly CountryC
14
12
  export declare const COUNTRIES_USING_COMPANY_SEARCH: readonly CountryCode[];
15
13
  export declare const COUNTRY_OF_GOVERNING_LAW_POSSIBLE: readonly CountryCode[];
16
14
  export declare const COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4: readonly CountryCode[];
17
- export declare const rules: ({ data, country, taskType, isExperimentEnabled, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<CompanySchema | SolePropSchema | BusinessDetailsSchema>) => {
15
+ export declare const rules: ({ data, country, taskType, isExperimentEnabled, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<BusinessDetailsSchema>) => {
18
16
  countryRequiresStateOrProvince: () => "REQUIRED";
19
17
  ifPubliclyTradedCompany: () => "REQUIRED";
20
18
  countryUsesVat: () => "REQUIRED";
@@ -11,7 +11,7 @@ export interface UseBusinessDataOptions {
11
11
  handleGetCompanyDataset: DropinAPIHandlers['handleGetCompanyDataset'];
12
12
  handleRefreshCompanyDataset: DropinAPIHandlers['handleRefreshCompanyDataset'];
13
13
  handleVerifyTin: DropinAPIHandlers['handleVerifyTin'];
14
- handleClearCompanyData: DropinAPIHandlers['handleClearCompanyData'];
14
+ clearCompanyData: () => Promise<void>;
15
15
  }
16
16
  export type UseBusinessData = {
17
17
  searchForBusiness: (data: SearchForBusinessRequest) => Promise<CompanySearchResult[] | undefined>;
@@ -1,2 +1,2 @@
1
1
  import type { UseBusinessData, UseBusinessDataOptions } from './types';
2
- export declare function useBusinessData({ handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, }: UseBusinessDataOptions): UseBusinessData;
2
+ export declare function useBusinessData({ handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, clearCompanyData, }: UseBusinessDataOptions): UseBusinessData;
@@ -1,6 +1,7 @@
1
1
  import type { LegalEntity } from '../../../../core/models/api/legal-entity';
2
2
  import type { DocumentMappingRecord, MappingRecord } from '../../../../utils/mapping/mappingRecord';
3
3
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
4
- export declare const solePropBusinessDetailsComponentsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyConstitutionalDocument'>, Pick<LegalEntity, 'soleProprietorship'>>;
4
+ export declare const solePropBusinessDetailsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyConstitutionalDocument'>, Pick<LegalEntity, 'soleProprietorship'>>;
5
5
  export declare const solePropBusinessDetailsApiKeyMapping: MappingRecord<Pick<LegalEntity, 'soleProprietorship'>, BusinessDetailsSchema>;
6
6
  export declare const solePropBusinessDetailsDocumentMapping: DocumentMappingRecord<BusinessDetailsSchema>;
7
+ export declare const remediationSolePropBusinessDetailsApiKeyMapping: MappingRecord<Pick<LegalEntity, 'soleProprietorship'>, BusinessDetailsSchema> & DocumentMappingRecord<BusinessDetailsSchema>;
@@ -2,4 +2,4 @@ import { type BusinessDetailsDropinProps } from './types';
2
2
  export declare function BusinessDetailsDropin({ country, problems, legalEntityResponse, associatedLegalArrangement, // initially undefined when creating entity
3
3
  nestedLegalEntity, // initially undefined when creating entity
4
4
  nestedLegalEntityDetails, // has entity roles for association logic
5
- capabilities, taskName, hideSidebar, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleCreateLegalEntity, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
5
+ capabilities, taskName, hideSidebar, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleCreateLegalEntity, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type { PerCountryFormConfiguration, PerScenarioFormConfiguration } from '../../../../core/models/form-configuration';
2
2
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
3
- import type { BusinessRules } from '../../forms/Company/rules';
3
+ import type { BusinessRules } from '../../forms/rules';
4
4
  export declare const businessDetailsFieldsPerScenario: PerScenarioFormConfiguration<BusinessDetailsSchema, keyof BusinessRules>;
5
5
  export declare const businessDetailsCountryConfig: PerCountryFormConfiguration<BusinessDetailsSchema>;
@@ -22,7 +22,6 @@ type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, 'handleC
22
22
  handleGetCompanyDataset?: DropinAPIHandlers['handleGetCompanyDataset'];
23
23
  handleRefreshCompanyDataset?: DropinAPIHandlers['handleRefreshCompanyDataset'];
24
24
  handleVerifyTin?: DropinAPIHandlers['handleVerifyTin'];
25
- handleClearCompanyData?: DropinAPIHandlers['handleClearCompanyData'];
26
25
  };
27
26
  type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'fetchBusinessData' | 'verifyTin' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure'>;
28
27
  export interface BusinessDetailsDropinProps extends BusinessDetailsDropin, BusinessDetailsDropinApihandler, DropinProps {
@@ -6,4 +6,5 @@ interface CompanyTypeModel {
6
6
  description: TranslationKey;
7
7
  }
8
8
  export declare const companyTypeMetadata: Partial<Record<CompanyTypesValue, CompanyTypeModel>>;
9
+ export declare const companyTypeOptions: CompanyTypesValue[];
9
10
  export {};
@@ -1,3 +1,3 @@
1
1
  import './ServiceAgreementDropin.scss';
2
2
  import type { ServiceAgreementDropinProps } from './types';
3
- export declare function ServiceAgreementDropin({ legalEntityResponse, handleGetServiceAgreement, handleViewAcceptedTermsOfServiceDocument, handleDownloadAcceptedTermsOfServiceDocument, handleDownloadUnacceptedTermsOfServiceDocument, handleHomeClick, handleAddSigner, handleSign, serviceAgreementTypes, serviceAgreementAcceptanceInfos, asEmbedded, asModal, handleCloseClick, }: ServiceAgreementDropinProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function ServiceAgreementDropin({ legalEntityResponse, handleDownloadAcceptedTermsOfServiceDocument, handleDownloadUnacceptedTermsOfServiceDocument, handleHomeClick, handleAddSigner, handleSign, serviceAgreementTypes, serviceAgreementAcceptanceInfos, asEmbedded, asModal, handleCloseClick, }: ServiceAgreementDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { ServiceAgreementRequest, ServiceAgreementResponse, ServiceAgreementSignRequest } from '../../../../core/models/api/contracts';
1
+ import type { ServiceAgreementSignRequest } from '../../../../core/models/api/contracts';
2
2
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
3
3
  import type { TaskTypes } from '../../../Shared/tasks/TaskList/types';
4
4
  import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
@@ -21,8 +21,6 @@ export interface ServiceAgreementDropinProps extends DropinProps {
21
21
  serviceAgreementAcceptanceInfos: ServiceAgreementAcceptanceInfo[];
22
22
  handleHomeClick(): void;
23
23
  handleAddSigner(): void;
24
- handleGetServiceAgreement(legalEntityId: string, data: ServiceAgreementRequest): Promise<ServiceAgreementResponse>;
25
- handleViewAcceptedTermsOfServiceDocument: DropinAPIHandlers['handleViewAcceptedTermsOfServiceDocument'];
26
24
  handleDownloadAcceptedTermsOfServiceDocument: DropinAPIHandlers['handleDownloadAcceptedTermsOfServiceDocument'];
27
25
  handleDownloadUnacceptedTermsOfServiceDocument: DropinAPIHandlers['handleDownloadUnacceptedTermsOfServiceDocument'];
28
26
  handleSign(legalEntityId: string, termsOfServiceDocumentId: string, signedBy: ServiceAgreementSignRequest): void;
@@ -1,18 +1,13 @@
1
1
  import type { Document } from '@adyen/adyen-document-viewer';
2
2
  import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
3
- import type { ServiceAgreementRequest, ServiceAgreementResponse } from '../../../../core/models/api/contracts';
4
- import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
5
3
  import type { ServiceAgreementType } from './types';
6
4
  type ServiceAgreement = {
7
5
  id: string;
8
6
  contract: Document;
9
7
  };
10
8
  interface UseServiceAgreementArgs {
11
- handleGetServiceAgreement: (legalEntityId: string, data: ServiceAgreementRequest) => Promise<ServiceAgreementResponse>;
12
9
  handleServiceAgreementIsNotAvailableInThatLanguage: () => void;
13
10
  acceptanceId?: string;
14
- handleViewAcceptedTermsOfServiceDocument: DropinAPIHandlers['handleViewAcceptedTermsOfServiceDocument'];
15
- legalEntityId: string;
16
11
  serviceAgreementType: ServiceAgreementType;
17
12
  /** the first part of a locale, e.g. "en" for "en-US" */
18
13
  language: string;
@@ -21,5 +16,5 @@ type FetchedServiceAgreement = {
21
16
  loading: LoadingStatus;
22
17
  serviceAgreement: ServiceAgreement | undefined;
23
18
  };
24
- export declare const useServiceAgreement: ({ handleGetServiceAgreement, handleServiceAgreementIsNotAvailableInThatLanguage, acceptanceId, handleViewAcceptedTermsOfServiceDocument, legalEntityId, serviceAgreementType, language, }: UseServiceAgreementArgs) => FetchedServiceAgreement;
19
+ export declare const useServiceAgreement: ({ handleServiceAgreementIsNotAvailableInThatLanguage, acceptanceId, serviceAgreementType, language, }: UseServiceAgreementArgs) => FetchedServiceAgreement;
25
20
  export {};
@@ -2,7 +2,7 @@ import type { State, TopLevelDataSchema } from '../../../../context/StateContext
2
2
  import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '../../../../core/models/api/address-search';
3
3
  import type { CapabilityName } from '../../../../core/models/api/capability';
4
4
  import type { CompanyDatasetRequest, CompanyDatasetResponse, CompanySearchRequest, CompanySearchResponse, TinVerificationRequest, TinVerificationResponse } from '../../../../core/models/api/company-search';
5
- import type { ServiceAgreementAcceptanceInfos, ServiceAgreementAcceptedDocumentResponse, ServiceAgreementRequest, ServiceAgreementResponse, ServiceAgreementSignRequest, ServiceAgreementSignResponse, ServiceAgreementStatus, ServiceAgreementUnacceptedDocumentRequest, ServiceAgreementUnacceptedDocumentResponse } from '../../../../core/models/api/contracts';
5
+ import type { ServiceAgreementAcceptanceInfos, ServiceAgreementAcceptedDocumentResponse, ServiceAgreementSignRequest, ServiceAgreementSignResponse, ServiceAgreementStatus, ServiceAgreementUnacceptedDocumentRequest, ServiceAgreementUnacceptedDocumentResponse } from '../../../../core/models/api/contracts';
6
6
  import type { Document, ExistingDocument } from '../../../../core/models/api/document';
7
7
  import type { BankVerificationVendorsResponse } from '../../../../core/models/api/get-bankVerification-providers';
8
8
  import type { InstantIdVerificationStartCheckRequest, InstantIdVerificationStartCheckResponse, InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../../../core/models/api/instant-id-verification';
@@ -20,7 +20,7 @@ export interface SingpassLinkResponseItem {
20
20
  export interface SingpassLinkResponse {
21
21
  item: SingpassLinkResponseItem;
22
22
  }
23
- export interface DropinComposerProps extends Required<Pick<DropinAPIHandlers, 'handleGetLegalEntity' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity' | 'handleGetServiceAgreementStatus' | 'handleGetServiceAgreementAcceptanceInfos' | 'handleGetTransferInstrument' | 'handleDeleteTransferInstrument' | 'handleCreateTransferInstrument' | 'handleUpdateTransferInstrument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleCreateDocument' | 'handleDeleteDocument' | 'handleCompanyIndexSearch' | 'handleCompanyDeepSearch' | 'handleGetCompanyDataset' | 'handleRefreshCompanyDataset' | 'handleVerifyTin' | 'handleClearCompanyData' | 'handleGetBankVerificationVendors' | 'handleGetServiceAgreement' | 'handleViewAcceptedTermsOfServiceDocument' | 'handleDownloadAcceptedTermsOfServiceDocument' | 'handleDownloadUnacceptedTermsOfServiceDocument' | 'handleSignServiceAgreement'>>, Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument' | 'handleBankVerificationError' | 'handleGetIdVerificationStartCheck' | 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleOpenSingpassAuthorizationLink' | 'handleCompanyRegistrationNumberIndexSearch' | 'handleCompanyRegistrationNumberDeepSearch'> {
23
+ export interface DropinComposerProps extends Required<Pick<DropinAPIHandlers, 'handleGetLegalEntity' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity' | 'handleGetServiceAgreementStatus' | 'handleGetServiceAgreementAcceptanceInfos' | 'handleGetTransferInstrument' | 'handleCreateTransferInstrument' | 'handleUpdateTransferInstrument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleCreateDocument' | 'handleDeleteDocument' | 'handleCompanyIndexSearch' | 'handleCompanyDeepSearch' | 'handleGetCompanyDataset' | 'handleRefreshCompanyDataset' | 'handleVerifyTin' | 'handleGetBankVerificationVendors' | 'handleDownloadAcceptedTermsOfServiceDocument' | 'handleDownloadUnacceptedTermsOfServiceDocument' | 'handleSignServiceAgreement'>>, Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument' | 'handleBankVerificationError' | 'handleGetIdVerificationStartCheck' | 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleOpenSingpassAuthorizationLink' | 'handleCompanyRegistrationNumberIndexSearch' | 'handleCompanyRegistrationNumberDeepSearch'> {
24
24
  capabilities?: CapabilityName[];
25
25
  legalEntityResponse: ExistingLegalEntity;
26
26
  onChange?: (state: State<TopLevelDataSchema>) => void;
@@ -52,20 +52,12 @@ export interface DropinAPIHandlers {
52
52
  /** @deprecated */
53
53
  handleUpdateTransferInstrument?(data: TransferInstrument, transferInstrumentId: string): Promise<ExistingTransferInstrument>;
54
54
  /** @deprecated */
55
- handleDeleteTransferInstrument?(transferInstrumentId: string): Promise<TransferInstrument>;
56
- /** @deprecated */
57
55
  handleCreateTransferInstrument?(data: TransferInstrument): Promise<ExistingTransferInstrument>;
58
56
  /** @deprecated */
59
57
  handleBankVerificationError?(errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>): Promise<BankVerificationErrorResponse>;
60
- /** @deprecated */
61
- handleGetServiceAgreement?(legalEntityId: string, data: ServiceAgreementRequest): Promise<ServiceAgreementResponse>;
62
- /** @deprecated */
63
58
  handleSignServiceAgreement?(legalEntityId: string, termsOfServiceDocumentId: string, data: ServiceAgreementSignRequest): Promise<ServiceAgreementSignResponse>;
64
59
  /** @deprecated */
65
60
  handleGetServiceAgreementStatus?(legalEntityId: string): Promise<ServiceAgreementStatus>;
66
- /** @deprecated */
67
- handleViewAcceptedTermsOfServiceDocument?(legalEntityId: string, termsOfServiceAcceptanceReference: string): Promise<ServiceAgreementAcceptedDocumentResponse>;
68
- /** @deprecated */
69
61
  handleDownloadAcceptedTermsOfServiceDocument?(legalEntityId: string, termsOfServiceAcceptanceReference: string): Promise<ServiceAgreementAcceptedDocumentResponse>;
70
62
  /** @deprecated */
71
63
  handleDownloadUnacceptedTermsOfServiceDocument?(legalEntityId: string, data: ServiceAgreementUnacceptedDocumentRequest): Promise<ServiceAgreementUnacceptedDocumentResponse>;
@@ -93,9 +85,6 @@ export interface DropinAPIHandlers {
93
85
  handleRefreshCompanyDataset?(data: CompanyDatasetRequest): Promise<CompanyDatasetResponse>;
94
86
  /** @deprecated */
95
87
  handleVerifyTin?(data: TinVerificationRequest): Promise<TinVerificationResponse>;
96
- /** @deprecated */
97
- handleClearCompanyData?(): Promise<void>;
98
- /** @deprecated */
99
88
  handleOpenSingpassAuthorizationLink?(): Promise<SingpassLinkResponse>;
100
89
  /** @deprecated */
101
90
  handleCreateTrustedTransferInstrument?(code: string, state: string): Promise<CreateTrustedTransferInstrumentResponse>;
@@ -53,4 +53,4 @@ export interface IndividualDropinProps extends Omit<IndividualProps, 'legalEntit
53
53
  country: CountryCode;
54
54
  onSubmit?(dataSubmitted: IndividualSchema): void;
55
55
  }
56
- export type IndividualDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity'> & Pick<DropinAPIHandlers, 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleGetIdVerificationStartCheck' | 'handleCreateLegalEntity' | 'handleOpenSingpassAuthorizationLink'>;
56
+ export type IndividualDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity'> & Pick<DropinAPIHandlers, 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleGetIdVerificationStartCheck' | 'handleOpenSingpassAuthorizationLink'>;
@@ -1,3 +1,8 @@
1
1
  import './DecisionMakers.scss';
2
2
  import type { DecisionMakersProps } from './types';
3
- export declare const DecisionMakers: ({ legalEntityResponse, capabilityProblems, onNavigateToIndividual, handleUpdateLegalEntity, navigateBackToTaskList, trustedEntityAssociations, }: DecisionMakersProps) => import("preact/jsx-runtime").JSX.Element;
3
+ /**
4
+ * Decision makers are part of the Organization flow, that allow the creation
5
+ * of a type of Individual, the decision maker, so a variation of the individual flow
6
+ * is used to create a decision maker via this component.
7
+ */
8
+ export declare const DecisionMakers: (props: DecisionMakersProps) => import("preact/jsx-runtime").JSX.Element;
@@ -1,9 +1,6 @@
1
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
1
  import type { CapabilityProblems } from '../../../../core/models/errors/capability-problems';
3
2
  import type { UniqueEntityAssociation } from '../../../Shared/EntityAssociation/types';
4
- import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
5
- export interface DecisionMakersProps extends DropinAPIHandlers, DropinProps {
6
- parentLegalEntity?: ExistingLegalEntity;
3
+ export interface DecisionMakersProps {
7
4
  onNavigateToIndividual(legalEntityId?: string): void;
8
5
  navigateBackToTaskList(): void;
9
6
  capabilityProblems: CapabilityProblems;
@@ -1,2 +1,2 @@
1
1
  import type { IndividualDropinProps } from '../../forms/Individual/types';
2
- export declare function IndividualDropin({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualDropinProps): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function IndividualDropin({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, capabilities, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { IndividualOnfidoDropinProps } from '../../forms/IndividualOnfido/IndividualOnfido.types';
2
- export declare function IndividualOnfidoDropin({ handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleUpdateLegalEntity, handleCreateLegalEntity, handleCreateDocument, handleUpdateDocument, handleGetDocument, handleGetIdVerificationStartCheck, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, capabilities, problems: propProblems, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, isInstantVerificationEnabled, }: Readonly<IndividualOnfidoDropinProps>): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function IndividualOnfidoDropin({ handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleUpdateLegalEntity, handleCreateDocument, handleUpdateDocument, handleGetDocument, handleGetIdVerificationStartCheck, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, capabilities, problems: propProblems, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, isInstantVerificationEnabled, }: Readonly<IndividualOnfidoDropinProps>): import("preact/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  export declare enum IntroductionScreens {
2
2
  PROLOGUE = "PROLOGUE",
3
- COMPANY = "COMPANY",
4
3
  INDIVIDUAL = "INDIVIDUAL",
5
4
  DECISION_MAKER = "DECISION_MAKER",
6
5
  SOLE_PROPRIETOR_COMPANY = "SOLE_PROPRIETOR_COMPANY",