@adyen/kyc-components 3.27.1 → 3.28.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 (46) hide show
  1. package/dist/es/adyen-kyc-components.es.js +846 -590
  2. package/dist/es/circle-F380_Tya.js +8 -0
  3. package/dist/style.css +55 -33
  4. package/dist/types/components/AdditionalInformation/component/AdditionalInformationComponent.d.ts +2 -2
  5. package/dist/types/components/AdditionalInformation/types.d.ts +5 -1
  6. package/dist/types/components/BasicInformation/component/BasicInformationComponent.d.ts +1 -1
  7. package/dist/types/components/BasicInformation/types.d.ts +4 -4
  8. package/dist/types/components/BusinessDetails/forms.d.ts +0 -6
  9. package/dist/types/components/BusinessDetails/types.d.ts +4 -6
  10. package/dist/types/components/BusinessSelection/BusinessInformationCard.d.ts +4 -3
  11. package/dist/types/components/BusinessSelection/component/BusinessSelectionComponent.d.ts +1 -1
  12. package/dist/types/components/BusinessSelection/types.d.ts +4 -4
  13. package/dist/types/components/DecisionMakers/component/DecisionMakersComponent.d.ts +1 -1
  14. package/dist/types/components/DecisionMakers/types.d.ts +2 -2
  15. package/dist/types/components/Dropins/BusinessDetailsDropin/components/BusinessDetailsDropinComponent.d.ts +1 -1
  16. package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +2 -2
  17. package/dist/types/components/Dropins/BusinessDetailsDropin/utils.d.ts +2 -3
  18. package/dist/types/components/Dropins/CompanyDropin/types.d.ts +0 -2
  19. package/dist/types/components/Dropins/CompanySearchDropin/components/CompanySearchDropinComponent.d.ts +1 -1
  20. package/dist/types/components/Dropins/CompanySearchDropin/types.d.ts +0 -2
  21. package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +1 -5
  22. package/dist/types/components/Dropins/HighExposureDropin/utils.d.ts +2 -0
  23. package/dist/types/components/Dropins/HighExposureDropin/validate.d.ts +3 -1
  24. package/dist/types/components/Dropins/IndividualDropin/components/IndividualDropinComponent.d.ts +1 -1
  25. package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/ServiceAgreementDropinComponent.d.ts +1 -1
  26. package/dist/types/components/Dropins/ServiceAgreementDropinComponent/types.d.ts +3 -0
  27. package/dist/types/components/EmbeddedDropins/CreateContractingComponent/CreateContractingComponent.d.ts +2 -1
  28. package/dist/types/components/Individual/types.d.ts +3 -0
  29. package/dist/types/components/PersonalDetails/types.d.ts +2 -1
  30. package/dist/types/components/StepProgressIndicator/StepProgressIndicator.d.ts +2 -1
  31. package/dist/types/components/internal/Address/types.d.ts +4 -0
  32. package/dist/types/components/internal/Address/utils.d.ts +5 -5
  33. package/dist/types/components/internal/DecisionMakerRole/types.d.ts +2 -0
  34. package/dist/types/components/internal/EntityGuidanceStatus/types.d.ts +1 -1
  35. package/dist/types/components/internal/Modal/Modal.d.ts +1 -1
  36. package/dist/types/components/internal/Svg/svgs.d.ts +2 -1
  37. package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -0
  38. package/dist/types/core/hooks/useBusinessData/types.d.ts +4 -4
  39. package/dist/types/core/hooks/useCompanySearchTaskSubmit.d.ts +3 -1
  40. package/dist/types/utils/entity-status-util.d.ts +12 -1
  41. package/dist/types/utils/mapping/componentApiMapping.d.ts +12 -16
  42. package/package.json +1 -1
  43. package/dist/es/cross-circle-fill-BafKD3Av.js +0 -8
  44. package/dist/types/components/Company/trusted-fields.d.ts +0 -7
  45. package/dist/types/components/internal/EntityGuidanceStatus/component/EntityGuidanceLegend.d.ts +0 -3
  46. package/dist/types/components/internal/EntityGuidanceStatus/index.d.ts +0 -3
@@ -0,0 +1,8 @@
1
+ import { jsxs, jsx } from "preact/compat/jsx-runtime";
2
+ const SvgCircle = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", role: "img", ...props, children: [
3
+ /* @__PURE__ */ jsx("g", { clipPath: "url(#uia-icons-16-circle__a)", children: /* @__PURE__ */ jsx("path", { fill: "#00112C", d: "M8 1.75C4.54822 1.75 1.75 4.54822 1.75 8C1.75 11.4518 4.54822 14.25 8 14.25C11.4518 14.25 14.25 11.4518 14.25 8C14.25 4.54822 11.4518 1.75 8 1.75ZM0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8Z" }) }),
4
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "uia-icons-16-circle__a", children: /* @__PURE__ */ jsx("rect", { width: 16, height: 16, fill: "#fff" }) }) })
5
+ ] });
6
+ export {
7
+ SvgCircle as default
8
+ };
package/dist/style.css CHANGED
@@ -2243,12 +2243,11 @@ button[disabled]:hover {
2243
2243
  flex-direction: column;
2244
2244
  gap: var(--adyen-sdk-spacer-120, 48px);
2245
2245
  }
2246
- .adyen-kyc-additional-information h3 {
2246
+ .adyen-kyc-additional-information__section-heading {
2247
2247
  margin: 0 0 var(--adyen-sdk-spacer-090, 24px);
2248
- font-size: var(--adyen-sdk-text-title-font-size, 16px);
2249
- font-family: var(--adyen-sdk-text-title-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
2250
- font-weight: var(--adyen-sdk-text-title-font-weight, 600);
2251
- line-height: var(--adyen-sdk-text-title-line-height, 26px);
2248
+ display: flex;
2249
+ flex-direction: column;
2250
+ gap: var(--adyen-sdk-spacer-050, 10px);
2252
2251
  }
2253
2252
  .adyen-kyc-additional-information fieldset {
2254
2253
  border: none;
@@ -2260,6 +2259,9 @@ button[disabled]:hover {
2260
2259
  }
2261
2260
  .adyen-kyc-additional-information .adyen-kyc-form-header {
2262
2261
  margin: 0 !important;
2262
+ }
2263
+ .adyen-kyc-additional-information .adyen-kyc__address {
2264
+ margin-bottom: 0 !important;
2263
2265
  }.adyen-kyc-field--dbaName {
2264
2266
  margin-left: 0 !important;
2265
2267
  }.adyen-kyc-verified-business-card {
@@ -2590,14 +2592,14 @@ button[disabled]:hover {
2590
2592
 
2591
2593
  .adyen-kyc-modal__wrapper {
2592
2594
  overflow: hidden;
2593
- --adyen-kyc-modal-internal-margin: var(--adyen-sdk-spacer-070, 16px);
2595
+ display: flex;
2596
+ flex-direction: column;
2597
+ --adyen-kyc-modal-internal-margin: var(--adyen-sdk-spacer-100, 32px);
2594
2598
  background: var(--adyen-sdk-color-background-primary, #ffffff);
2595
2599
  margin: var(--adyen-kyc-modal-internal-margin);
2596
2600
  border-radius: var(--adyen-sdk-border-radius-xl, 24px);
2597
2601
  height: calc(100% - var(--adyen-kyc-modal-internal-margin) * 2);
2598
- display: flex;
2599
- flex-direction: column;
2600
- position: relative;
2602
+ --adyen-kyc-modal-footer-height: 62px;
2601
2603
  }
2602
2604
  @media screen and (max-width: 480px) {
2603
2605
  .adyen-kyc-modal__wrapper {
@@ -2606,15 +2608,23 @@ button[disabled]:hover {
2606
2608
  }
2607
2609
  }
2608
2610
 
2611
+ .adyen-kyc-modal__main {
2612
+ display: inline-grid;
2613
+ grid-template-areas: "stack";
2614
+ height: calc(100% - var(--adyen-kyc-modal-footer-height));
2615
+ }
2616
+
2617
+ .adyen-kyc-modal__main > * {
2618
+ grid-area: stack;
2619
+ }
2620
+
2609
2621
  .adyen-kyc-modal::backdrop {
2610
2622
  background-color: var(--adyen-sdk-color-support-overlay, #00112c);
2611
2623
  opacity: 0.75;
2612
2624
  }
2613
2625
 
2614
2626
  .adyen-kyc-modal-top-bar {
2615
- width: calc(100% - var(--adyen-kyc-modal-internal-margin));
2616
- position: absolute;
2617
- top: 0;
2627
+ max-width: calc(100% - var(--adyen-kyc-modal-internal-margin));
2618
2628
  padding: var(--adyen-sdk-spacer-050, 10px);
2619
2629
  padding-bottom: 0;
2620
2630
  display: flex;
@@ -2625,6 +2635,7 @@ button[disabled]:hover {
2625
2635
  .adyen-kyc-modal__header,
2626
2636
  .adyen-kyc-modal__footer {
2627
2637
  padding: var(--adyen-sdk-spacer-060, 12px);
2638
+ box-sizing: border-box;
2628
2639
  }
2629
2640
 
2630
2641
  .adyen-kyc-modal__header {
@@ -2636,18 +2647,25 @@ button[disabled]:hover {
2636
2647
  .adyen-kyc-modal__content {
2637
2648
  flex: 1;
2638
2649
  overflow-y: auto;
2650
+ max-height: 100%;
2651
+ padding-top: var(--adyen-sdk-spacer-120, 48px);
2639
2652
  }
2640
2653
 
2641
2654
  .adyen-kyc-modal__footer {
2642
2655
  border-top: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-primary, #dbdee2);
2656
+ height: var(--adyen-kyc-modal-footer-height);
2643
2657
  }
2644
2658
 
2645
2659
  .adyen-kyc-modal--small {
2646
2660
  max-width: 520px;
2647
- min-height: 220px;
2661
+ min-height: 260px;
2648
2662
  height: 20vh;
2649
2663
  }
2650
2664
 
2665
+ .adyen-kyc-modal--small .adyen-kyc-modal__footer {
2666
+ padding: var(--adyen-sdk-spacer-060, 12px);
2667
+ }
2668
+
2651
2669
  .adyen-kyc-modal--large {
2652
2670
  max-width: 960px;
2653
2671
  height: 70vh;
@@ -2663,6 +2681,10 @@ button[disabled]:hover {
2663
2681
 
2664
2682
  .adyen-kyc-modal--with-backButton .adyen-kyc-modal__header {
2665
2683
  padding-left: var(--adyen-sdk-spacer-140, 64px);
2684
+ }
2685
+
2686
+ .adyen-kyc-modal-button-blur {
2687
+ backdrop-filter: blur(2px);
2666
2688
  }/* #region Borders */
2667
2689
  /* #endregion */
2668
2690
  /* #region Z-index */
@@ -2679,9 +2701,10 @@ button[disabled]:hover {
2679
2701
  flex: 1;
2680
2702
  padding: var(--adyen-sdk-spacer-000, 0px);
2681
2703
  margin: var(--adyen-sdk-spacer-000, 0px);
2704
+ --step-progress-internal-height: 0.25em;
2682
2705
  }
2683
2706
  .adyen-kyc-progress__bar--thick li {
2684
- height: 6px;
2707
+ --step-progress-internal-height: 0.4em;
2685
2708
  }
2686
2709
  .adyen-kyc-progress__bar--thick li:first-of-type {
2687
2710
  border-top-left-radius: var(--adyen-sdk-border-radius-m, 8px);
@@ -2695,7 +2718,7 @@ button[disabled]:hover {
2695
2718
  background-color: var(--adyen-sdk-color-background-tertiary, #eeeff1);
2696
2719
  display: flex;
2697
2720
  flex: 1;
2698
- height: 4px;
2721
+ height: var(--step-progress-internal-height);
2699
2722
  }
2700
2723
  .adyen-kyc-progress__step--active {
2701
2724
  background-color: var(--adyen-sdk-color-background-inverse-primary, #00112c);
@@ -2709,6 +2732,18 @@ button[disabled]:hover {
2709
2732
  position: absolute;
2710
2733
  white-space: nowrap;
2711
2734
  width: 1px;
2735
+ }
2736
+
2737
+ .adyen-kyc-progress__bar--circles li {
2738
+ flex: none;
2739
+ width: var(--step-progress-internal-height);
2740
+ border-radius: var(--step-progress-internal-height);
2741
+ margin: 0 var(--step-progress-internal-height);
2742
+ }
2743
+
2744
+ .adyen-kyc-progress__bar--circles .adyen-kyc-progress__step--active {
2745
+ padding: 0 calc(var(--step-progress-internal-height) / 2);
2746
+ margin: 0 calc(var(--step-progress-internal-height) / 2);
2712
2747
  }/* #region Borders */
2713
2748
  /* #endregion */
2714
2749
  /* #region Z-index */
@@ -2756,6 +2791,7 @@ button[disabled]:hover {
2756
2791
  height: calc(100% - 72px);
2757
2792
  }
2758
2793
 
2794
+ /* padding in dropins, not used in modal view */
2759
2795
  .adyen-kyc-dropin__content-main {
2760
2796
  display: flex;
2761
2797
  flex: 1;
@@ -2772,10 +2808,6 @@ button[disabled]:hover {
2772
2808
  .adyen-kyc-dropin__main {
2773
2809
  border-radius: var(--adyen-sdk-border-radius-m, 8px);
2774
2810
  width: 100%;
2775
- }
2776
-
2777
- .adyen-kyc-modal-content {
2778
- padding: 0;
2779
2811
  }.adyen-kyc-embedded-action-bar {
2780
2812
  display: flex;
2781
2813
  justify-content: space-between;
@@ -3458,23 +3490,13 @@ button[disabled]:hover {
3458
3490
  align-items: center;
3459
3491
  justify-content: center;
3460
3492
  }
3461
- .adyen-kyc-entity-status__icon--obligatory {
3462
- background-color: var(--adyen-sdk-color-background-secondary, #f7f7f8);
3463
- color: var(--adyen-sdk-color-label-inverse-primary, #ffffff);
3464
- }
3465
- .adyen-kyc-entity-status__icon--obligatory-success {
3466
- background-color: var(--adyen-sdk-color-background-success-weak, #edfaf3);
3467
- color: var(--adyen-sdk-color-label-inverse-primary, #ffffff);
3493
+ .adyen-kyc-entity-status__icon--satisfied {
3494
+ background-color: var(--adyen-sdk-color-label-inverse-primary, #ffffff);
3495
+ color: var(--adyen-sdk-color-background-success-strong, #07893c);
3468
3496
  }
3469
- .adyen-kyc-entity-status__icon--conditional {
3470
- background-color: var(--adyen-sdk-color-background-primary, #ffffff);
3471
- border: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-primary, #dbdee2);
3497
+ .adyen-kyc-entity-status__icon--empty {
3472
3498
  color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
3473
3499
  }
3474
- .adyen-kyc-entity-status__icon--conditional-success {
3475
- border: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-success, #07893c);
3476
- color: var(--adyen-sdk-color-label-success, #07893c);
3477
- }
3478
3500
  .adyen-kyc-entity-status__legend {
3479
3501
  display: flex;
3480
3502
  padding-bottom: var(--adyen-sdk-spacer-090, 24px);
@@ -1,6 +1,6 @@
1
1
  import './AdditionalInformationComponent.scss';
2
2
  import type { BusinessDetailsSchema } from '../../BusinessDetails/types';
3
- import { type AdditionalInformationProps, type AdditionalInformationSchema } from '../types';
3
+ import type { AdditionalInformationProps, AdditionalInformationSchema } from '../types';
4
4
  export declare const ADDITIONAL_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
5
5
  export declare const ADDITIONAL_INFORMATION_FIELDS: Array<keyof AdditionalInformationSchema>;
6
- export declare function AdditionalInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, verifiedBusiness, showCompanyStructure, }: AdditionalInformationProps): import("preact").JSX.Element;
6
+ export declare function AdditionalInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, verifiedBusiness, showCompanyStructure, handleAddressSearch, handleFindAddress, }: AdditionalInformationProps): import("preact").JSX.Element;
@@ -2,6 +2,7 @@ import type { BaseInnerFormProps } from '../../core/hooks/useForm';
2
2
  import type { CompanyDatasetResponse } from '../../core/models/api/company-search';
3
3
  import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
4
4
  import type { CountryCode } from '../../core/models/country-code';
5
+ import type { DropinAPIHandlers } from '../Dropins/types';
5
6
  import type { BusinessRegistrationNumberFieldSchema } from '../internal/BusinessRegistrationNumberField/types';
6
7
  import type { DateOfIncorporationFieldSchema } from '../internal/DateOfIncorporationField/types';
7
8
  import type { DBANameFieldSchema } from '../internal/DBANameField/types';
@@ -11,7 +12,8 @@ import type { StockISINFieldSchema } from '../internal/StockISINField/types';
11
12
  import type { StockTickerSymbolFieldSchema } from '../internal/StockTickerSymbol/types';
12
13
  import type { TaxInformationFieldSchema } from '../internal/TaxInformationField/types';
13
14
  import type { VatNumberFieldSchema } from '../internal/VatNumberField';
14
- export interface AdditionalInformationSchema extends LegalCompanyNameFieldSchema, DBANameFieldSchema, VatNumberFieldSchema, TaxInformationFieldSchema, BusinessRegistrationNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema {
15
+ import type { RegistrationAddressSchema } from '../RegistrationAddress/types';
16
+ export interface AdditionalInformationSchema extends LegalCompanyNameFieldSchema, DBANameFieldSchema, VatNumberFieldSchema, TaxInformationFieldSchema, BusinessRegistrationNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, RegistrationAddressSchema {
15
17
  legalFormDescription?: string;
16
18
  }
17
19
  export interface AdditionalInformationProps extends BaseInnerFormProps<AdditionalInformationSchema> {
@@ -19,4 +21,6 @@ export interface AdditionalInformationProps extends BaseInnerFormProps<Additiona
19
21
  companyType: CompanyTypesValue | undefined;
20
22
  verifiedBusiness: CompanyDatasetResponse | undefined;
21
23
  showCompanyStructure: boolean;
24
+ handleAddressSearch: DropinAPIHandlers['handleAddressSearch'];
25
+ handleFindAddress: DropinAPIHandlers['handleFindAddress'];
22
26
  }
@@ -3,4 +3,4 @@ import type { BusinessDetailsSchema } from '../../BusinessDetails/types';
3
3
  import type { BasicInformationProps, BasicInformationSchema } from '../types';
4
4
  export declare const BASIC_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
5
5
  export declare const BASIC_INFORMATION_FIELDS: Array<keyof BasicInformationSchema>;
6
- export declare function BasicInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, className, showBusinessSelection, showCompanyStructure, isActiveForm, isSearching, isFetching, isVerifying, isClearingTrustedData, searchResults, invalidTin, verifiedBusiness, fetchBusinessData, verifyBusinessData, proceedToManualDataEntry, handleNextClick, setShowBusinessSelection, setShowCompanyStructure, resetTinVerification, }: BasicInformationProps): import("preact").JSX.Element;
6
+ export declare function BasicInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, className, showBusinessSelection, showCompanyStructure, isActiveForm, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, verifiedBusiness, fetchBusinessData, verifyBusinessData, proceedToManualDataEntry, handleNextClick, setShowBusinessSelection, setShowCompanyStructure, resetTinVerification, }: BasicInformationProps): import("preact").JSX.Element;
@@ -19,10 +19,10 @@ export interface BasicInformationProps extends BaseInnerFormProps<BasicInformati
19
19
  showBusinessSelection: boolean;
20
20
  showCompanyStructure: boolean;
21
21
  isActiveForm: boolean;
22
- isSearching: HookStatus;
23
- isFetching: HookStatus;
24
- isVerifying: HookStatus;
25
- isClearingTrustedData: HookStatus;
22
+ searching: HookStatus;
23
+ fetching: HookStatus;
24
+ verifying: HookStatus;
25
+ resettingTrustedData: HookStatus;
26
26
  searchResults: CompanySearchResult[] | undefined;
27
27
  invalidTin: boolean;
28
28
  verifiedBusiness: CompanyDatasetResponse | undefined;
@@ -23,12 +23,6 @@ export declare const getForms: (country: CountryCode) => {
23
23
  readonly formHeading: "additionalInformationFormHeading";
24
24
  readonly fields: (keyof AdditionalInformationSchema)[];
25
25
  };
26
- readonly companyRegistrationAddress: {
27
- readonly formId: "companyRegistrationAddress";
28
- readonly formName: "companyRegistrationAddressFormName";
29
- readonly formDescription: "companyRegistrationAddressFormDescription";
30
- readonly fields: readonly ["registrationAddress", "operationalAddress", "operationalAddressIsSame"];
31
- };
32
26
  readonly companyRegistrationDocument: {
33
27
  readonly formId: "companyRegistrationDocument";
34
28
  readonly formName: "companyRegistrationDocumentFormName";
@@ -11,12 +11,10 @@ import type { BasicInformationSchema } from '../BasicInformation/types';
11
11
  import type { CompanyStructureSchema } from '../CompanyStructure/types';
12
12
  import type { DocumentUploadSchema } from '../DocumentUpload/types';
13
13
  import type { DropinAPIHandlers } from '../Dropins/types';
14
- import type { RegistrationAddressSchema } from '../RegistrationAddress/types';
15
14
  export interface BusinessDetailsSchema {
16
15
  basicInformation?: BasicInformationSchema;
17
16
  companyStructure?: CompanyStructureSchema;
18
17
  additionalInformation?: AdditionalInformationSchema;
19
- companyRegistrationAddress?: RegistrationAddressSchema;
20
18
  companyRegistrationDocument?: DocumentUploadSchema;
21
19
  companyTaxDocument?: DocumentUploadSchema;
22
20
  }
@@ -26,10 +24,10 @@ export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetails
26
24
  baseTrackingPayload: BaseTrackingPayload;
27
25
  showCompanyStructure: boolean;
28
26
  showBusinessSelection: boolean;
29
- isSearching: HookStatus;
30
- isFetching: HookStatus;
31
- isVerifying: HookStatus;
32
- isClearingTrustedData: HookStatus;
27
+ searching: HookStatus;
28
+ fetching: HookStatus;
29
+ verifying: HookStatus;
30
+ resettingTrustedData: HookStatus;
33
31
  searchResults: Array<CompanySearchResult> | undefined;
34
32
  invalidTin: boolean;
35
33
  verifiedBusiness: CompanyDatasetResponse | undefined;
@@ -1,17 +1,18 @@
1
1
  import './BusinessInformationCard.scss';
2
2
  import { type Dispatch, type StateUpdater } from 'preact/hooks';
3
+ import type { HookStatus } from '../../core/hooks/types';
3
4
  import type { CompanyDatasetResponse, CompanySearchResult } from '../../core/models/api/company-search';
4
5
  interface BusinessInformationCardProps {
5
6
  result: CompanySearchResult;
6
7
  selectedBusinessId: string | undefined;
7
8
  currentBusinessSelection: CompanyDatasetResponse | undefined;
8
- fetching: boolean;
9
- failedToLoad: boolean;
9
+ fetchStatus: HookStatus;
10
+ verifyStatus: HookStatus;
10
11
  invalidTin: boolean;
11
12
  setIsBusinessSelection: Dispatch<StateUpdater<boolean>>;
12
13
  resetTinVerification: () => void;
13
14
  handleSelectBusiness: (result: CompanySearchResult) => Promise<void>;
14
15
  handleConfirmSelection: (data: CompanyDatasetResponse) => Promise<void>;
15
16
  }
16
- export declare function BusinessInformationCard({ result, selectedBusinessId, currentBusinessSelection, fetching, failedToLoad, invalidTin, resetTinVerification, setIsBusinessSelection, handleSelectBusiness, handleConfirmSelection, }: BusinessInformationCardProps): import("preact").JSX.Element;
17
+ export declare function BusinessInformationCard({ result, selectedBusinessId, currentBusinessSelection, fetchStatus, verifyStatus, invalidTin, resetTinVerification, setIsBusinessSelection, handleSelectBusiness, handleConfirmSelection, }: BusinessInformationCardProps): import("preact").JSX.Element;
17
18
  export {};
@@ -1,3 +1,3 @@
1
1
  import './BusinessSelectionComponent.scss';
2
2
  import type { BusinessSelectionProps } from '../types';
3
- export declare function BusinessSelectionComponent({ showCompanyStructure, isSearching, isFetching, isVerifying, isClearingTrustedData, searchResults, invalidTin, fetchBusinessData, verifyBusinessData, resetTinVerification, proceedToManualDataEntry, handleNextClick, setIsBusinessSelection, setShowCompanyStructure, }: BusinessSelectionProps): import("preact").JSX.Element;
3
+ export declare function BusinessSelectionComponent({ showCompanyStructure, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, fetchBusinessData, verifyBusinessData, resetTinVerification, proceedToManualDataEntry, handleNextClick, setIsBusinessSelection, setShowCompanyStructure, }: BusinessSelectionProps): import("preact").JSX.Element;
@@ -3,10 +3,10 @@ import type { HookStatus } from '../../core/hooks/types';
3
3
  import type { CompanyDatasetResponse, CompanySearchResult } from '../../core/models/api/company-search';
4
4
  export interface BusinessSelectionProps {
5
5
  showCompanyStructure: boolean;
6
- isSearching: HookStatus;
7
- isFetching: HookStatus;
8
- isVerifying: HookStatus;
9
- isClearingTrustedData: HookStatus;
6
+ searching: HookStatus;
7
+ fetching: HookStatus;
8
+ verifying: HookStatus;
9
+ resettingTrustedData: HookStatus;
10
10
  searchResults: CompanySearchResult[] | undefined;
11
11
  invalidTin: boolean;
12
12
  fetchBusinessData: (company: CompanySearchResult) => Promise<CompanyDatasetResponse | undefined>;
@@ -1,4 +1,4 @@
1
1
  import '../DecisionMakers.scss';
2
2
  import type { DecisionMakersProps } from '../types';
3
- declare const DecisionMakersComponent: ({ trackingConfig, parentLegalEntity, legalEntityResponse, capabilityProblems, onNavigateToIndividual, handleUpdateLegalEntity, navigateBackToTaskList, onDecisionMakerDelete, disableAddDecisionMakers, disableDeleteDecisionMakers, }: DecisionMakersProps) => import("preact").JSX.Element;
3
+ declare const DecisionMakersComponent: ({ trackingConfig, parentLegalEntity, legalEntityResponse, capabilityProblems, onNavigateToIndividual, handleUpdateLegalEntity, navigateBackToTaskList, onDecisionMakerDelete, trustedEntityAssociations, }: DecisionMakersProps) => import("preact").JSX.Element;
4
4
  export default DecisionMakersComponent;
@@ -1,12 +1,12 @@
1
1
  import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
2
2
  import type { CapabilityProblems } from '../../core/models/errors/capability-problems';
3
3
  import type { DropinAPIHandlers, DropinProps } from '../Dropins/types';
4
+ import type { UniqueEntityAssociation } from '../internal/EntityAssociation/types';
4
5
  export interface DecisionMakersProps extends DropinAPIHandlers, DropinProps {
5
6
  parentLegalEntity?: ExistingLegalEntity;
6
7
  onNavigateToIndividual(legalEntityId?: string): void;
7
8
  navigateBackToTaskList(): void;
8
9
  onDecisionMakerDelete(): void;
9
10
  capabilityProblems: CapabilityProblems;
10
- disableAddDecisionMakers: boolean;
11
- disableDeleteDecisionMakers: boolean;
11
+ trustedEntityAssociations?: Array<Partial<UniqueEntityAssociation>>;
12
12
  }
@@ -1,2 +1,2 @@
1
1
  import { type BusinessDetailsDropinProps } from '../types';
2
- export declare function BusinessDetailsDropinComponent({ country, problems, legalEntityResponse, isTargetLegalEntityType, parentLegalEntity, trackingConfig, capabilities, accountHolder, taskName, hideDropinLayout, homeButtonLabel, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, onTypeSwitch, }: BusinessDetailsDropinProps): import("preact").JSX.Element;
2
+ export declare function BusinessDetailsDropinComponent({ country, problems, legalEntityResponse, isTargetLegalEntityType, parentLegalEntity, trackingConfig, capabilities, taskName, hideDropinLayout, homeButtonLabel, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, onTypeSwitch, }: BusinessDetailsDropinProps): import("preact").JSX.Element;
@@ -32,13 +32,12 @@ export type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, '
32
32
  handleVerifyTin?: DropinAPIHandlers['handleVerifyTin'];
33
33
  handleClearCompanyData?: DropinAPIHandlers['handleClearCompanyData'];
34
34
  };
35
- export type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'baseTrackingPayload' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'isSearching' | 'isFetching' | 'isVerifying' | 'isClearingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'searchForBusiness' | 'fetchBusinessData' | 'verifyBusinessData' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure'>;
35
+ export type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'baseTrackingPayload' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'searchForBusiness' | 'fetchBusinessData' | 'verifyBusinessData' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure'>;
36
36
  export interface BusinessDetailsDropinProps extends BusinessDetailsDropin, BusinessDetailsDropinApihandler, DropinProps {
37
37
  legalEntityResponse: ExistingLegalEntity;
38
38
  isTargetLegalEntityType?: boolean;
39
39
  parentLegalEntity?: LegalEntity;
40
40
  associationDetail?: TrustMember;
41
- accountHolder?: AccountHolderOption;
42
41
  }
43
42
  export interface SubmitDocumentsProps {
44
43
  data: BusinessDetailsSchema;
@@ -62,4 +61,5 @@ export interface SubmitProps {
62
61
  clearToasts: () => void;
63
62
  handleUpdateLegalEntity: Required<DropinAPIHandlers>['handleUpdateLegalEntity'];
64
63
  onExternalSubmit: ((data: BusinessDetailsSchema) => void) | undefined;
64
+ accountHolder?: AccountHolderOption;
65
65
  }
@@ -1,6 +1,5 @@
1
1
  import type { OuterFormLabels } from '../../../core/hooks/useForm';
2
2
  import type { ParseConfiguration } from '../../../core/hooks/useScenarioConfiguration';
3
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
4
3
  import type { FormModelWithValidity } from '../../../core/models/form';
5
4
  import type Language from '../../../language';
6
5
  import type { BusinessDetailsSchema } from '../../BusinessDetails/types';
@@ -8,7 +7,7 @@ import type { SubmitDocumentsProps, SubmitProps } from './types';
8
7
  export declare const parseConfiguration: ParseConfiguration;
9
8
  export declare const canSubmit: (data: BusinessDetailsSchema) => boolean;
10
9
  export declare const isDocumentsRequired: (forms: FormModelWithValidity[]) => boolean;
11
- export declare const removeConditionalForms: (forms: FormModelWithValidity[], problems: EntityProblems | undefined, isSkippingCompanyStructure: boolean, isSkippingCompanyRegistrationDocument: boolean) => FormModelWithValidity[];
10
+ export declare const removeConditionalForms: (forms: FormModelWithValidity[], isSkippingCompanyStructure: boolean) => FormModelWithValidity[];
12
11
  export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], labels: OuterFormLabels<BusinessDetailsSchema>, i18n: Language) => {};
13
12
  export declare function submitDocuments({ data, legalEntity, forms, documentUtils, baseTrackingPayload, }: SubmitDocumentsProps): Promise<void>;
14
- export declare function submit({ data, legalEntityResponse, isTargetLegalEntityType, baseTrackingPayload, forms, problems, documentUtils, i18n, setLoadingStatus, setProblems, showToast, clearToasts, handleUpdateLegalEntity, onExternalSubmit, }: SubmitProps): Promise<void>;
13
+ export declare function submit({ data, legalEntityResponse, isTargetLegalEntityType, baseTrackingPayload, forms, problems, documentUtils, i18n, setLoadingStatus, setProblems, showToast, clearToasts, handleUpdateLegalEntity, onExternalSubmit, accountHolder, }: SubmitProps): Promise<void>;
@@ -1,5 +1,4 @@
1
1
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
2
- import type { TrustedFieldsProvider } from '../../../core/models/api/trusted-fields-provider';
3
2
  import type { CompanyProps, CompanySchema } from '../../Company/types';
4
3
  import type { TrustMember } from '../../TrustMembers/types';
5
4
  import type { DropinAPIHandlers, DropinProps } from '../types';
@@ -8,5 +7,4 @@ export interface CompanyDropinProps extends Omit<CompanyProps, 'isTopLevelEntity
8
7
  associationDetail?: TrustMember;
9
8
  isTargetLegalEntityType?: boolean;
10
9
  onSubmit?: (company: CompanySchema) => void;
11
- trustedFieldsProvider?: TrustedFieldsProvider;
12
10
  }
@@ -1,2 +1,2 @@
1
1
  import type { CompanySearchDropinProps } from '../types';
2
- export declare function CompanySearchDropinComponent({ country: parentCountry, problems: propProblems, legalEntityResponse, isTargetLegalEntityType, parentLegalEntity, trackingConfig, taskType, capabilities, taskName, hideDropinLayout, homeButtonLabel, accountHolder, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, onTypeSwitch, trustedFields, }: CompanySearchDropinProps): import("preact").JSX.Element;
2
+ export declare function CompanySearchDropinComponent({ country: parentCountry, problems: propProblems, legalEntityResponse, isTargetLegalEntityType, parentLegalEntity, trackingConfig, taskType, capabilities, taskName, hideDropinLayout, homeButtonLabel, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, onTypeSwitch, trustedFields, }: CompanySearchDropinProps): import("preact").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/legal-entity';
2
2
  import type { CompanySearchProps } from '../../CompanySearch/types';
3
- import type { AccountHolderOption } from '../../internal/AccountHolder/types';
4
3
  import type { TrustMember } from '../../TrustMembers/types';
5
4
  import type { DropinAPIHandlers, DropinProps } from '../types';
6
5
  export declare enum CompanySearchEvents {
@@ -22,5 +21,4 @@ export interface CompanySearchDropinProps extends Omit<CompanySearchProps, 'isTo
22
21
  isTargetLegalEntityType?: boolean;
23
22
  parentLegalEntity?: LegalEntity;
24
23
  associationDetail?: TrustMember;
25
- accountHolder?: AccountHolderOption;
26
24
  }
@@ -15,7 +15,6 @@ export interface HighExposureCompanySchema {
15
15
  doesYourCompanyHaveLEI?: string;
16
16
  legalEntityIdentifier?: string;
17
17
  isCompanyOwnedByAnotherCompany?: string;
18
- doesNotKnowLegalEntityIdentifier?: boolean;
19
18
  isParentOwnedByAnotherCompany?: string;
20
19
  totalAssetsValue?: number;
21
20
  totalAssetsCurrency?: string;
@@ -35,7 +34,6 @@ export type HighExposureParentCompanySchema = {
35
34
  doesYourCompanyHaveLEI?: string;
36
35
  legalEntityIdentifier?: string;
37
36
  doesNotKnowNumberOfEmployees?: boolean;
38
- doesNotKnowLegalEntityIdentifier?: boolean;
39
37
  isThisAddressTheMainHeadquarters?: string;
40
38
  address?: string;
41
39
  otherAddressInformation?: string;
@@ -60,7 +58,6 @@ export type HighExposureUltimateParentCompanySchema = {
60
58
  doesYourCompanyHaveLEI?: string;
61
59
  legalEntityIdentifier?: string;
62
60
  doesNotKnowNumberOfEmployees?: boolean;
63
- doesNotKnowLegalEntityIdentifier?: boolean;
64
61
  isThisAddressTheMainHeadquarters?: string;
65
62
  address?: string;
66
63
  otherAddressInformation?: string;
@@ -178,8 +175,7 @@ export type HighExposureBasicCompanyInformationProps = {
178
175
  };
179
176
  export declare enum HighExposureRadioIds {
180
177
  YES = "Yes",
181
- NO = "No",
182
- I_DONT_KNOW = "I don't know"
178
+ NO = "No"
183
179
  }
184
180
  export declare const highExposureRadioItems: Array<{
185
181
  id: HighExposureRadioIds;
@@ -3,9 +3,11 @@ import type { Organization, OrganizationFinancialReports } from '../../../core/m
3
3
  import type { HighExposureCompanySchema, HighExposureParentSchemasCombined, HighExposureSchema } from './types';
4
4
  import { HighExposureIndex } from './types';
5
5
  export declare const getLegalEntityId: (exposureIndex: HighExposureIndex, rootLegalEntity: ExistingLegalEntity | undefined) => undefined | string;
6
+ export declare const USER_LOCALE: string;
6
7
  export declare const entityHasParentCompany: (data: HighExposureSchema) => boolean;
7
8
  export declare const entityHasUltimateParentCompany: (data: HighExposureSchema) => boolean;
8
9
  export declare const prepareExposureSubmitData: (exposureIndex: HighExposureIndex, data: HighExposureSchema, rootLegalEntity: ExistingLegalEntity | undefined) => LegalEntity;
9
10
  export declare const getHighExposureFinancialReportData: (financialReport?: OrganizationFinancialReports) => Partial<HighExposureCompanySchema | HighExposureParentSchemasCombined>;
10
11
  export declare const appendHighExposureData: (legalOrganization?: Organization, highExposureData?: HighExposureCompanySchema | HighExposureParentSchemasCombined) => HighExposureCompanySchema | HighExposureParentSchemasCombined | undefined;
11
12
  export declare const handleHighExposureFormSubmission: (highExposureType: HighExposureIndex, details: LegalEntity | null, createFunction: (details: LegalEntity) => Promise<ExistingLegalEntity>, updateFunction: (details: LegalEntity, id: string) => Promise<ExistingLegalEntity>, entityId?: string) => Promise<ExistingLegalEntity | void>;
13
+ export declare const getIntlDate: (date: string) => string;
@@ -1,6 +1,8 @@
1
1
  import type { ValidatorRules } from '../../../utils/validation/types';
2
2
  import type { HighExposureCompanySchema, HighExposureParentCompanySchema, HighExposureUltimateParentCompanySchema } from './types';
3
- export declare const validateLegalEntityIdentifier: (legalEntityIdentifier: string | null | undefined, doesYourCompanyHaveLEI?: string, isDisabled?: boolean) => boolean;
3
+ export declare const validateEmptyLegalEntityIdentifier: (legalEntityIdentifier: string | null | undefined, doesYourCompanyHaveLEI?: string) => boolean;
4
+ export declare const validateLegalEntityIdentifier: (legalEntityIdentifier: string | null | undefined, doesYourCompanyHaveLEI?: string) => boolean;
4
5
  export declare const validateLegalProceedingsDate: (legalProceedingsDate: string | null | undefined, legalInformationInsolvency?: string) => boolean;
6
+ export declare const validateDateNotInTheFuture: (legalProceedingsDate: string | null | undefined) => boolean;
5
7
  export declare const highExposureCompanyDetailsValidations: ValidatorRules<HighExposureCompanySchema>;
6
8
  export declare const highExposureParentCompaniesDetailsValidations: ValidatorRules<HighExposureParentCompanySchema | HighExposureUltimateParentCompanySchema>;
@@ -1,2 +1,2 @@
1
1
  import type { IndividualDropinProps } from '../../../Individual/types';
2
- export declare function IndividualDropinComponent({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, trackingConfig, parentLegalEntity, legalEntityResponse, taskName, handleHomeClick, handleCloseClick, homeButtonLabel, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, onChange, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, onTypeSwitch, hideNavigation, asModal, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, }: IndividualDropinProps): import("preact").JSX.Element;
2
+ export declare function IndividualDropinComponent({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, trackingConfig, parentLegalEntity, legalEntityResponse, taskName, handleHomeClick, handleCloseClick, homeButtonLabel, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, onChange, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, onTypeSwitch, hideNavigation, asModal, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualDropinProps): import("preact").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import './ServiceAgreementDropinComponent.scss';
2
2
  import type { ServiceAgreementDropinProps } from '../types';
3
- export declare function ServiceAgreementDropinComponent({ legalEntityResponse, handleGetServiceAgreement, handleViewAcceptedTermsOfServiceDocument, handleDownloadAcceptedTermsOfServiceDocument, handleDownloadUnacceptedTermsOfServiceDocument, handleHomeClick, handleSign, taskType, serviceAgreementTypes, serviceAgreementAcceptanceInfos, trackingConfig, }: ServiceAgreementDropinProps): import("preact").JSX.Element;
3
+ export declare function ServiceAgreementDropinComponent({ legalEntityResponse, handleGetServiceAgreement, handleViewAcceptedTermsOfServiceDocument, handleDownloadAcceptedTermsOfServiceDocument, handleDownloadUnacceptedTermsOfServiceDocument, handleHomeClick, handleSign, taskType, serviceAgreementTypes, serviceAgreementAcceptanceInfos, trackingConfig, asEmbedded, asModal, handleCloseClick, }: ServiceAgreementDropinProps): import("preact").JSX.Element;
@@ -28,4 +28,7 @@ export interface ServiceAgreementDropinProps extends DropinProps {
28
28
  handleDownloadAcceptedTermsOfServiceDocument: DropinAPIHandlers['handleDownloadAcceptedTermsOfServiceDocument'];
29
29
  handleDownloadUnacceptedTermsOfServiceDocument: DropinAPIHandlers['handleDownloadUnacceptedTermsOfServiceDocument'];
30
30
  handleSign(legalEntityId: string, termsOfServiceDocumentId: string, signedBy: ServiceAgreementSignRequest): void;
31
+ asEmbedded?: boolean;
32
+ asModal?: boolean;
33
+ handleCloseClick?(): void;
31
34
  }
@@ -1,6 +1,7 @@
1
1
  interface CreateContractingComponentProps {
2
2
  legalEntityId: string;
3
3
  modalView?: boolean;
4
+ onClose?(): void;
4
5
  }
5
- export declare function CreateContractingComponent({ legalEntityId, modalView, }: CreateContractingComponentProps): import("preact").JSX.Element;
6
+ export declare function CreateContractingComponent({ legalEntityId, modalView, onClose, }: CreateContractingComponentProps): import("preact").JSX.Element;
6
7
  export {};
@@ -3,6 +3,7 @@ import type { BaseOuterFormProps } from '../../core/hooks/useForm';
3
3
  import type { DecisionMakerType } from '../../core/models/api/decision-maker-type';
4
4
  import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../core/models/api/instant-id-verification';
5
5
  import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
6
+ import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
6
7
  import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
7
8
  import type { CountryCode } from '../../core/models/country-code';
8
9
  import type { FormModel } from '../../core/models/form';
@@ -30,6 +31,7 @@ export interface IndividualProps extends BaseOuterFormProps<IndividualSchema> {
30
31
  handleAddressSearch?: DropinAPIHandlers['handleAddressSearch'];
31
32
  handleFindAddress?: DropinAPIHandlers['handleFindAddress'];
32
33
  handleGetIdVerificationToken?(legalEntityId: string, data: InstantIdVerificationTokenRequest): Promise<InstantIdVerificationTokenResponse>;
34
+ handleOpenSingpassAuthorizationLink?: DropinAPIHandlers['handleOpenSingpassAuthorizationLink'];
33
35
  activeForm?: FormModel;
34
36
  forms?: FormModel[];
35
37
  problems?: any;
@@ -44,6 +46,7 @@ export interface IndividualProps extends BaseOuterFormProps<IndividualSchema> {
44
46
  hideNavigation?: boolean;
45
47
  asModal?: boolean;
46
48
  accountHolder: AccountHolderOption | null;
49
+ trustedRoles?: Array<LegalEntityAssociation['type']>;
47
50
  }
48
51
  export interface IndividualDropinProps extends Omit<IndividualProps, 'legalEntityId' | 'accountHolder'>, IndividualDropinApiHandlers, DropinProps {
49
52
  trustMember?: TrustMember;
@@ -1,7 +1,7 @@
1
1
  import type { BaseInnerFormProps, FormState } from '../../core/hooks/useForm';
2
2
  import type { DecisionMakerType } from '../../core/models/api/decision-maker-type';
3
3
  import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
4
- import type { LegalRepresentativeRelationshipType } from '../../core/models/api/legal-entity-association';
4
+ import type { LegalEntityAssociation, LegalRepresentativeRelationshipType } from '../../core/models/api/legal-entity-association';
5
5
  import type { CountryCode } from '../../core/models/country-code';
6
6
  import type { TranslationKey } from '../../language/types';
7
7
  import type { ValidationRuleResults } from '../../utils/validation/types';
@@ -25,6 +25,7 @@ export interface PersonalDetailsProps extends BaseInnerFormProps<PersonalDetails
25
25
  allowedRoles?: DecisionMakerType[];
26
26
  onResidencyCountryChange?(country: string): void;
27
27
  parentLegalEntity?: ExistingLegalEntity;
28
+ trustedRoles: Array<LegalEntityAssociation['type']>;
28
29
  }
29
30
  export interface IdSchema {
30
31
  idNumber: string;
@@ -5,6 +5,7 @@ export interface StepProgressIndicatorProps {
5
5
  activeStepIndex: number;
6
6
  fillBefore?: boolean;
7
7
  thick?: boolean;
8
+ circles?: boolean;
8
9
  }
9
10
  /**
10
11
  * Progress indicator showing step progession in a process
@@ -14,4 +15,4 @@ export interface StepProgressIndicatorProps {
14
15
  * @param fillBefore - fills everything between 0 and activeStepIndex, not just last step
15
16
  * @param thick - makes the bar thicker
16
17
  */
17
- export declare const StepProgressIndicator: ({ activeStepIndex, stepsCount, fillBefore, thick, }: StepProgressIndicatorProps) => JSX.Element | null;
18
+ export declare const StepProgressIndicator: ({ activeStepIndex, stepsCount, fillBefore, thick, circles, }: StepProgressIndicatorProps) => JSX.Element | null;