commit 726994edb084011a6526aa8acc9d26da17253319
parent 209c69eceb06e316463a603e3877b9314abc7afb
Author: Sebastian <sebasjm@gmail.com>
Date: Mon, 3 Mar 2025 18:27:14 -0300
updating fields name
Diffstat:
20 files changed, 859 insertions(+), 863 deletions(-)
diff --git a/packages/web-util/src/forms/fields/InputArray.tsx b/packages/web-util/src/forms/fields/InputArray.tsx
@@ -106,11 +106,12 @@ export function InputArray<T extends object, K extends keyof T>(
labelField: string;
} & UIFormProps<T, K>,
): VNode {
- const { fields, labelField, name, label, required, tooltip, hidden } = props;
+ const { fields, labelField, label, required, tooltip, hidden, help } = props;
const { i18n } = useTranslationContext();
- const { value, onChange, state } =
+ const { value, onChange, state, error } =
props.handler ?? noHandlerPropsAndNoContextForField(props.name);
+ const [dirty, setDirty] = useState<boolean>(); // FIXME: dirty state should come from handler
const list = (value ?? []) as Array<Record<string, string | undefined>>;
const [selectedIndex, setSelectedIndex] = useState<number | undefined>(
@@ -130,6 +131,16 @@ export function InputArray<T extends object, K extends keyof T>(
required={required}
tooltip={tooltip}
/>
+ {help && (
+ <p class="mt-2 text-sm text-gray-500" id="email-description">
+ {help}
+ </p>
+ )}
+ {dirty !== undefined && error && (
+ <p class="mt-2 text-sm text-red-600" id="email-error">
+ {error}
+ </p>
+ )}
<div class="overflow-hidden ring-1 ring-gray-900/5 rounded-xl p-4">
<div class="-space-y-px rounded-md bg-white ">
@@ -180,15 +191,18 @@ export function InputArray<T extends object, K extends keyof T>(
const newValue = [...list];
newValue.splice(selectedIndex, 1);
onChange(newValue as any);
+ setDirty(true);
setSelectedIndex(undefined);
}}
onClose={() => {
+ setDirty(true);
setSelectedIndex(undefined);
}}
onConfirm={(value) => {
const newValue = [...list];
newValue.splice(selectedIndex, 1, value);
onChange(newValue as any);
+ setDirty(true);
setSelectedIndex(undefined);
}}
selected={selected}
diff --git a/packages/web-util/src/forms/fields/InputSelectOne.tsx b/packages/web-util/src/forms/fields/InputSelectOne.tsx
@@ -16,7 +16,7 @@ export function InputSelectOne<T extends object, K extends keyof T>(
props.handler ?? noHandlerPropsAndNoContextForField(props.name);
const [filter, setFilter] = useState<string | undefined>(undefined);
- const [dirty, setDirty] = useState<boolean>();
+ const [dirty, setDirty] = useState<boolean>(); // FIXME: dirty state should come from handler
const regex = new RegExp(`.*${filter}.*`, "i");
const choiceMap = choices.reduce(
(prev, curr) => {
diff --git a/packages/web-util/src/forms/fields/InputToggle.tsx b/packages/web-util/src/forms/fields/InputToggle.tsx
@@ -1,4 +1,4 @@
-import { VNode, h } from "preact";
+import { Fragment, VNode, h } from "preact";
import { UIFormProps } from "../FormProvider.js";
import { noHandlerPropsAndNoContextForField } from "./InputArray.js";
import { LabelWithTooltipMaybeRequired } from "./InputLine.js";
@@ -19,11 +19,16 @@ export function InputToggle<T extends object, K extends keyof T>(
converter,
threeState,
} = props;
- const { value, onChange, error } =
+ const { value, onChange, error, state } =
props.handler ?? noHandlerPropsAndNoContextForField(props.name);
const [dirty, setDirty] = useState<boolean>();
const isOn = !!value;
+
+ if (state.hidden) {
+ return <Fragment />;
+ }
+
return (
<div class="sm:col-span-6">
<div class="flex items-center justify-between">
diff --git a/packages/web-util/src/forms/forms-types.ts b/packages/web-util/src/forms/forms-types.ts
@@ -102,6 +102,12 @@ type UIFormFieldArray = {
type: "array";
// id of the field shown when the array is collapsed
labelFieldId: UIHandlerId;
+ /*
+ return an error message if the value is not valid.
+ should returns un undefined if there is no error.
+ */
+ validator?: (array: Array<object>) => TranslatedString | undefined;
+
fields: UIFormElementConfig[];
} & UIFormFieldBaseConfig;
@@ -129,13 +135,11 @@ type UIFormElementGroup = {
type UIFormFieldChoiseHorizontal = {
type: "choiceHorizontal";
choices: Array<SelectUiChoice>;
- allowFreeForm?: boolean;
} & UIFormFieldBaseConfig;
type UIFormFieldChoiseStacked = {
type: "choiceStacked";
choices: Array<SelectUiChoice>;
- allowFreeForm?: boolean;
} & UIFormFieldBaseConfig;
type UIFormFieldFile = {
@@ -169,7 +173,6 @@ type UIFormFieldSelectMultiple = {
min?: Integer;
unique?: boolean;
choices: Array<SelectUiChoice>;
- allowFreeForm?: boolean;
} & UIFormFieldBaseConfig;
type UIFormFieldDuration = {
@@ -183,7 +186,6 @@ type UIFormFieldDurationText = {
type UIFormFieldSelectOne = {
type: "selectOne";
choices: Array<SelectUiChoice>;
- allowFreeForm?: boolean;
} & UIFormFieldBaseConfig;
type UIFormFieldText = { type: "text" } & UIFormFieldBaseConfig;
type UIFormFieldTextArea = { type: "textArea" } & UIFormFieldBaseConfig;
@@ -341,14 +343,12 @@ const codecForUiFormFieldChoiceHorizontal =
(): Codec<UIFormFieldChoiseHorizontal> =>
codecForUIFormFieldBaseConfigTemplate<UIFormFieldChoiseHorizontal>()
.property("type", codecForConstString("choiceHorizontal"))
- .property("allowFreeForm", codecOptional(codecForBoolean()))
.property("choices", codecForList(codecForUiFormSelectUiChoice()))
.build("UIFormFieldChoiseHorizontal");
const codecForUiFormFieldChoiceStacked = (): Codec<UIFormFieldChoiseStacked> =>
codecForUIFormFieldBaseConfigTemplate<UIFormFieldChoiseStacked>()
.property("type", codecForConstString("choiceStacked"))
- .property("allowFreeForm", codecOptional(codecForBoolean()))
.property("choices", codecForList(codecForUiFormSelectUiChoice()))
.build("UIFormFieldChoiseStacked");
@@ -404,14 +404,12 @@ const codecForUiFormFieldSelectMultiple =
.property("max", codecOptional(codecForNumber()))
.property("min", codecOptional(codecForNumber()))
.property("unique", codecOptional(codecForBoolean()))
- .property("allowFreeForm", codecOptional(codecForBoolean()))
.property("choices", codecForList(codecForUiFormSelectUiChoice()))
.build("UiFormFieldSelectMultiple");
const codecForUiFormFieldSelectOne = (): Codec<UIFormFieldSelectOne> =>
codecForUIFormFieldBaseConfigTemplate<UIFormFieldSelectOne>()
.property("type", codecForConstString("selectOne"))
- .property("allowFreeForm", codecOptional(codecForBoolean()))
.property("choices", codecForList(codecForUiFormSelectUiChoice()))
.build("UIFormFieldSelectOne");
diff --git a/packages/web-util/src/forms/forms-ui.tsx b/packages/web-util/src/forms/forms-ui.tsx
@@ -32,13 +32,12 @@ export function DefaultForm<T>({
return (
<div>
<FormUI design={design} handler={handler} />
- {status.status === "ok" ? (
- <pre class="break-all whitespace-pre-wrap">
- {JSON.stringify(status.result ?? {}, undefined, 2)}
- </pre>
- ) : (
+ <pre class="break-all whitespace-pre-wrap">
+ {JSON.stringify(status.result ?? {}, undefined, 2)}
+ </pre>
+ {status.status !== "ok" ? (
<ErrorsSummary errors={status.errors} />
- )}
+ ) : undefined}
</div>
);
}
diff --git a/packages/web-util/src/forms/gana/GLS_Onboarding.ts b/packages/web-util/src/forms/gana/GLS_Onboarding.ts
@@ -24,21 +24,18 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding.PERSON_FULL_NAME.id,
label: i18n.str`First name(s)`,
help: i18n.str`As on your ID document`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.PERSON_LAST_NAME.id,
label: i18n.str`Last name`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.PERSON_DATE_OF_BIRTH.id,
label: i18n.str`Date of birth`,
- // gana_type: "ISO8601Date",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -47,7 +44,6 @@ export function GLS_Onboarding(
{
id: TalerFormAttributes.GLS_Onboarding.PERSON_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -78,21 +74,18 @@ export function GLS_Onboarding(
{
id: TalerFormAttributes.GLS_Onboarding.BUSINESS_DISPLAY_NAME.id,
label: i18n.str`Name of the company`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.BUSINESS_TYPE.id,
label: i18n.str`Business type`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.BUSINESS_REGISTRATION_ID.id,
label: i18n.str`Registration ID`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -100,7 +93,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding.BUSINESS_LEGAL_JURISDICTION
.id,
label: i18n.str`Legal jurisdiction`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -108,7 +100,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding.BUSINESS_REGISTRATION_DATE
.id,
label: i18n.str`Registration date`,
- // gana_type: "ISO8601Date",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -117,14 +108,12 @@ export function GLS_Onboarding(
{
id: TalerFormAttributes.GLS_Onboarding.BUSINESS_IS_NON_PROFIT.id,
label: i18n.str`Is non profit?`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.BUSINESS_INDUSTRY.id,
label: i18n.str`Industry`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -132,7 +121,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding
.BUSINESS_LEGAL_REPRESENTATIVES.id,
label: i18n.str`Legal representatives`,
- // gana_type: "GLS_BusinessRepresentative[]",
type: "array",
labelFieldId:
TalerFormAttributes.GLS_BusinessRepresentative
@@ -142,7 +130,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_BusinessRepresentative
.GLS_REPRESENTATIVE_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -150,7 +137,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_BusinessRepresentative
.GLS_REPRESENTATIVE_LAST_NAME.id,
label: i18n.str`Last name`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -158,7 +144,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_BusinessRepresentative
.GLS_REPRESENTATIVE_DATE_OF_BIRTH.id,
label: i18n.str`Date of birth`,
- // gana_type: "ISO8601Date",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -168,21 +153,18 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_BusinessRepresentative
.GLS_REPRESENTATIVE_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "String",
type: "text",
required: true,
},
// {
// id: TalerFormAttributes.GLS_BusinessRepresentative.GLS_REPRESENTATIVE_NATIONAL_ID.id,
// label: i18n.str`National ID number`,
- // // gana_type: "String",
// type: "text",
// required: true,
// },
// {
// id: TalerFormAttributes.GLS_BusinessRepresentative.GLS_REPRESENTATIVE_NATIONAL_ID_SCAN.id,
// label: i18n.str`National ID photo`,
- // // gana_type: "File",
// type: "file",
// required: true,
// },
@@ -197,21 +179,18 @@ export function GLS_Onboarding(
{
id: TalerFormAttributes.GLS_Onboarding.CONTACT_WEB_DOMAIN.id,
label: i18n.str`Web site`,
- // gana_type: "HttpHostnamePath",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.CONTACT_EMAIL.id,
label: i18n.str`Email`,
- // gana_type: "Email",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.CONTACT_PHONE.id,
label: i18n.str`Phone`,
- // gana_type: "Phone",
type: "text",
required: true,
},
@@ -223,7 +202,6 @@ export function GLS_Onboarding(
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_COUNTRY.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
required: true,
@@ -232,63 +210,54 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_COUNTRY_SUBDIVISION
.id,
label: i18n.str`Country subdivision`,
- // gana_type: "Hostname",
type: "text",
// required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_STREET_NAME.id,
label: i18n.str`Street name`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_STREET_NUMBER.id,
label: i18n.str`Street number`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_LINES.id,
label: i18n.str`Street lines`,
- // gana_type: "String",
type: "textArea",
// required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_BUILDING_NAME.id,
label: i18n.str`Building name`,
- // gana_type: "String",
type: "text",
// required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_BUILDING_NUMBER.id,
label: i18n.str`Building number`,
- // gana_type: "String",
type: "text",
// required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_ZIPCODE.id,
label: i18n.str`Zipcode`,
- // gana_type: "Hostname",
type: "text",
required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_TOWN_LOCATION.id,
label: i18n.str`Town location`,
- // gana_type: "Hostname",
type: "text",
// required: true,
},
{
id: TalerFormAttributes.GLS_Onboarding.ADDRESS_TOWN_DISTRICT.id,
label: i18n.str`Town district`,
- // gana_type: "Hostname",
type: "text",
// required: true,
},
@@ -300,7 +269,6 @@ export function GLS_Onboarding(
{
id: TalerFormAttributes.GLS_Onboarding.TAX_COUNTRY.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
required: true,
@@ -308,7 +276,6 @@ export function GLS_Onboarding(
{
id: TalerFormAttributes.GLS_Onboarding.TAX_ID.id,
label: i18n.str`ID`,
- // gana_type: "Hostname",
type: "text",
required: true,
},
@@ -316,7 +283,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding.TAX_IS_USA_LAW.id,
label: i18n.str`under USA law?`,
// help: i18n.str`wurde die gesellschaft in den USA oder nach US-Recht gergrudent`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
@@ -324,7 +290,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding.TAX_IS_ACTIVE.id,
label: i18n.str`is economically active?`,
// help: i18n.str`wirtschaftlich aktiv oder passiv`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
@@ -332,7 +297,6 @@ export function GLS_Onboarding(
id: TalerFormAttributes.GLS_Onboarding.TAX_IS_DEDUCTED.id,
label: i18n.str`entitled to deduct tax?`,
// help: i18n.str`sind sie vorsteuerabzugsberechtigt`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
diff --git a/packages/web-util/src/forms/gana/VQF_902_11.ts b/packages/web-util/src/forms/gana/VQF_902_11.ts
@@ -19,7 +19,6 @@ export function VQF_902_11(
id: TalerFormAttributes.VQF_902_11
.CONTROLLING_ENTITY_CONTRACTING_PARTNER.id,
label: i18n.str`Contracting partner`,
- // gana_type: "Paragraph",
type: "textArea",
required: true,
},
@@ -31,7 +30,6 @@ export function VQF_902_11(
{
id: TalerFormAttributes.VQF_902_11.CONTROLLING_ENTITY_LEVEL.id,
label: i18n.str`Level`,
- // gana_type: "'25_MORE_RIGHTS' | 'OTHER_WAY' | 'DIRECTOR'",
type: "choiceStacked",
choices: [
{
@@ -53,18 +51,34 @@ export function VQF_902_11(
required: true,
},
{
- id: TalerFormAttributes.VQF_902_11.CONTROLLING_ENTITY_FULL_NAME.id,
- label: i18n.str`Full name`,
- // gana_type: "String",
- type: "text",
- required: true,
- },
- {
- id: TalerFormAttributes.VQF_902_11.CONTROLLING_ENTITY_DOMICILE.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: true,
+ id: TalerFormAttributes.VQF_902_9.IDENTITY_LIST.id,
+ label: i18n.str`Persons`,
+ type: "array",
+ validator(persons) {
+ if (!persons || persons.length < 1) {
+ return i18n.str`Can't be empty`;
+ }
+ return undefined;
+ },
+ labelFieldId:
+ TalerFormAttributes.VQF_902_9_identity.IDENTITY_FULL_NAME.id,
+ fields: [
+ {
+ id: TalerFormAttributes.VQF_902_11.CONTROLLING_ENTITY_FULL_NAME
+ .id,
+ label: i18n.str`Full name`,
+ help: i18n.str`Surname(s) and first name(s)`,
+ type: "text",
+ required: true,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_11.CONTROLLING_ENTITY_DOMICILE
+ .id,
+ label: i18n.str`Actual address of domicile`,
+ type: "textArea",
+ required: true,
+ },
+ ],
},
],
},
@@ -75,20 +89,21 @@ export function VQF_902_11(
id: TalerFormAttributes.VQF_902_11.CONTROLLING_ENTITY_THIRD_PERSON
.id,
label: i18n.str`Is a third person the beneficial owner of the assets held in the account/securities account?`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
],
},
{
- title: i18n.str`The contracting partner hereby undertakes to inform automatically of any changes to the information contained herein.`,
- description: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
+ title: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
fields: [
{
+ type: "caption",
+ label: i18n.str`The contracting partner hereby undertakes to inform automatically of any changes to the information contained herein.`,
+ },
+ {
id: TalerFormAttributes.VQF_902_9.SIGNATURE.id,
label: i18n.str`Signature`,
- // gana_type: "AbsoluteDateTime",
type: "text",
required: true,
disabled: true,
@@ -96,7 +111,6 @@ export function VQF_902_11(
{
id: TalerFormAttributes.VQF_902_9.SIGN_DATE.id,
label: i18n.str`Date`,
- // gana_type: "String",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
diff --git a/packages/web-util/src/forms/gana/VQF_902_12.ts b/packages/web-util/src/forms/gana/VQF_902_12.ts
@@ -16,20 +16,18 @@ export function VQF_902_12(
type: "double-column",
sections: [
{
- title: i18n.str`Contracing partner`,
+ title: i18n.str`Foundations (as well as similar constructs) (S)`,
fields: [
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_CONTRACTING_PARTNER
.id,
label: i18n.str`Contracting partner`,
- // gana_type: "Paragraph",
type: "textArea",
required: true,
},
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_KNOWN_AS.id,
label: i18n.str`The undersigned hereby declare(s) that as board member of the foundation, or of the highest supervisory body of an underlying company of a foundation, known as:`,
- // gana_type: "String",
type: "text",
// help:""
required: true,
@@ -46,14 +44,12 @@ export function VQF_902_12(
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_NAME.id,
label: i18n.str`Name`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_DISCRETIONARY.id,
label: i18n.str`Type of foundation`,
- // gana_type: "Boolean",
type: "choiceStacked",
choices: [
{ label: i18n.str`Discretionary foundation`, value: "true" },
@@ -64,7 +60,6 @@ export function VQF_902_12(
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_REVOCABLE.id,
label: i18n.str`Revocability`,
- // gana_type: "Boolean",
type: "choiceStacked",
choices: [
{ label: i18n.str`Revolcable foundation`, value: "true" },
@@ -75,13 +70,11 @@ export function VQF_902_12(
],
},
{
- title: i18n.str`Founders`,
- description: i18n.str`Information pertaining to the (ultimate economic, not fiduciary) founder (individual or entity)`,
+ title: i18n.str`Information pertaining to the (ultimate economic, not fiduciary) founder (individual(s) or entity/ies):`,
fields: [
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_FOUNDER_LIST.id,
- label: i18n.str`Founders`,
- // gana_type: "Form<VQF_902_12_founder>[]",
+ label: i18n.str`Persons`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_12_founder
@@ -91,23 +84,29 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_founder
.FOUNDATION_FOUNDER_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_12_founder
.FOUNDATION_FOUNDER_DOMICILE.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: true,
},
{
id: TalerFormAttributes.VQF_902_12_founder
+ .FOUNDATION_FOUNDER_COUNTRY.id,
+ label: i18n.str`Country`,
+ type: "selectOne",
+ choices: countryNameList(i18n),
+ required: true,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_12_founder
.FOUNDATION_FOUNDER_BIRTHDATE.id,
label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -117,7 +116,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_founder
.FOUNDATION_FOUNDER_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -126,7 +124,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_founder
.FOUNDATION_FOUNDER_DEATHDATE.id,
label: i18n.str`Date of death`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -135,9 +132,10 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_founder
.FOUNDATION_FOUNDER_RIGHT_TO_REVOKE.id,
label: i18n.str`Right to revoke`,
- // gana_type: "Boolean",
+ help: i18n.str`In case of a revocable foundation: does the founder have the right to revoke the foundation?`,
type: "toggle",
- required: true,
+ required: false,
+ threeState: true,
},
],
required: true,
@@ -146,12 +144,11 @@ export function VQF_902_12(
},
{
title: i18n.str`Pre-existing foundation`,
- description: i18n.str`If the foundation results from the restructuring of pre-existing foundation (re-settlement) or the merger of pre-existing foundations, the following information pertaining to the (actual) founders of the pre-existing foundations has to be given:`,
fields: [
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_PRE_LIST.id,
label: i18n.str`Persons`,
- // gana_type: "Form<VQF_902_12_pre>[]",
+ help: i18n.str`If the foundation results from the restructuring of pre-existing foundation (re-settlement) or the merger of pre-existing foundations, the following information pertaining to the (actual) founders of the pre-existing foundations has to be given`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_12_pre.FOUNDATION_PRE_FULL_NAME.id,
@@ -160,15 +157,14 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_pre.FOUNDATION_PRE_FULL_NAME
.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_12_pre.FOUNDATION_PRE_DOMICILE
.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: true,
},
@@ -176,7 +172,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_pre.FOUNDATION_PRE_COUNTRY
.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
required: true,
@@ -185,7 +180,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_pre.FOUNDATION_PRE_BIRTHDATE
.id,
label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -195,7 +189,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_pre
.FOUNDATION_PRE_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -204,7 +197,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_pre.FOUNDATION_PRE_DEATHDATE
.id,
label: i18n.str`Date of death`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -216,12 +208,11 @@ export function VQF_902_12(
},
{
title: i18n.str`Beneficiaries`,
- description: i18n.str`Pertaining to the beneficiary/-ies at the time of the signing of this form:`,
fields: [
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_BENEFICIARY_LIST.id,
- label: i18n.str`Beneficiaries`,
- // gana_type: "Form<VQF_902_12_beneficiary>[]",
+ label: i18n.str`Persons`,
+ help: i18n.str`Pertaining to the beneficiary/-ies at the time of the signing of this form:`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_12_beneficiary
@@ -231,15 +222,14 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_beneficiary
.FOUNDATION_BENEFICIARY_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_12_beneficiary
.FOUNDATION_BENEFICIARY_DOMICILE.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: true,
},
@@ -247,20 +237,18 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_beneficiary
.FOUNDATION_BENEFICIARY_COUNTRY.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
- required: false,
+ required: true,
},
{
id: TalerFormAttributes.VQF_902_12_beneficiary
.FOUNDATION_BENEFICIARY_BIRTHDATE.id,
label: i18n.str`Full name`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
- required: false,
+ required: true,
},
{
id: TalerFormAttributes.VQF_902_12_beneficiary
@@ -268,15 +256,15 @@ export function VQF_902_12(
label: i18n.str`Nationality`,
type: "selectOne",
choices: countryNationalityList(i18n),
- required: false,
+ required: true,
},
{
id: TalerFormAttributes.VQF_902_12_beneficiary
.FOUNDATION_BENEFICIARY_RIGHT_TO_CLAIM.id,
label: i18n.str`Right to claim`,
- // gana_type: "Boolean",
+ help: i18n.str`Has/have the beneficiary/ies an actual right to claim distribution?`,
type: "toggle",
- required: false,
+ required: true,
},
],
required: true,
@@ -285,21 +273,19 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12.FOUNDATION_BENEFICIARY_ADDITION
.id,
label: i18n.str`and in addition to certain beneficiaries or if there is/are no defined beneficiary/ies pertaining to (a) group(s) of beneficiaries (e.g. descendants of the founder) known at the time of the signing of this form:`,
- // gana_type: "Paragraph",
type: "textArea",
required: false,
},
],
},
{
- title: i18n.str`Further information`,
- description: i18n.str`Information pertaining to (a) further persons having the right to determine or nominate representatives (e.g.) member of the foundation board), if these representatives may dispose over the assets or have the right to change the distribution of the assets or the nominaton of beneficiaries:`,
+ title: i18n.str`People with the right to determine or nominate representatives`,
fields: [
{
id: TalerFormAttributes.VQF_902_12.FOUNDATION_REPRESENTATIVE_LIST
.id,
- label: i18n.str`Representatives`,
- // gana_type: "Form<VQF_902_12_representative>[]",
+ label: i18n.str`Persons`,
+ help: i18n.str`Information pertaining to (a) further person(s) having the right to determine or nominate representatives (e.g.) members of the foundation board), if these representatives may dispose over the assets or have the right to change the distribution of the assets or the nomination of beneficiaries`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_12_representative
@@ -309,15 +295,14 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_representative
.FOUNDATION_REPRESENTATIVE_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_12_representative
.FOUNDATION_REPRESENTATIVE_DOMICILE.id,
- label: i18n.str`Domcile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: true,
},
@@ -325,7 +310,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_representative
.FOUNDATION_REPRESENTATIVE_COUNTRY.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
required: true,
@@ -334,7 +318,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_representative
.FOUNDATION_REPRESENTATIVE_BIRTHDATE.id,
label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -344,7 +327,6 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_representative
.FOUNDATION_REPRESENTATIVE_NATIONALITY.id,
label: i18n.str`Naitonality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -353,7 +335,7 @@ export function VQF_902_12(
id: TalerFormAttributes.VQF_902_12_representative
.FOUNDATION_REPRESENTATIVE_RIGHT_TO_REVOKE.id,
label: i18n.str`Right to revoke`,
- // gana_type: "Boolean",
+ help: i18n.str`In case of a revocable foundation: is the further person with the right to revoke the foundation?`,
type: "toggle",
},
],
@@ -362,13 +344,15 @@ export function VQF_902_12(
],
},
{
- title: i18n.str`The contracting partner hereby undertakes to inform automatically of any changes to the information contained herein.`,
- description: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
+ title: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
fields: [
{
+ type: "caption",
+ label: i18n.str`The contracting partner hereby undertakes to inform automatically of any changes to the information contained herein.`,
+ },
+ {
id: TalerFormAttributes.VQF_902_9.SIGNATURE.id,
label: i18n.str`Signature`,
- // gana_type: "AbsoluteDateTime",
type: "text",
required: true,
disabled: true,
@@ -376,7 +360,6 @@ export function VQF_902_12(
{
id: TalerFormAttributes.VQF_902_9.SIGN_DATE.id,
label: i18n.str`Date`,
- // gana_type: "String",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
diff --git a/packages/web-util/src/forms/gana/VQF_902_13.ts b/packages/web-util/src/forms/gana/VQF_902_13.ts
@@ -15,82 +15,65 @@ export function VQF_902_13(
return {
type: "double-column",
sections: [
- // {
- // title: i18n.str`This form was completed by`,
- // fields: [
- // {
- // id: TalerFormAttributes.VQF_902_13.FORM_FILLING_DATE.id,
- // label: i18n.str`Date`,
- // // gana_type: "AbsoluteDateTime",
- // type: "absoluteTimeText",
- // placeholder: "dd/MM/yyyy HH:mm:ss",
- // pattern: "dd/MM/yyyy HH:mm:ss",
- // required: true,
- // disabled: true,
- // },
- // {
- // id: TalerFormAttributes.VQF_902_13.CUSTOMER_ID.id,
- // label: i18n.str`Customer`,
- // // gana_type: "String",
- // type: "text",
- // required: true,
- // disabled: true,
- // },
- // ],
- // },
{
- title: i18n.str`Contracing partner`,
+ title: i18n.str`Declaration for trusts (T)`,
fields: [
{
id: TalerFormAttributes.VQF_902_13.TRUST_CONTRACTING_PARTNER.id,
label: i18n.str`Contracting partner`,
- // gana_type: "Paragraph",
type: "textArea",
required: true,
},
{
id: TalerFormAttributes.VQF_902_13.TRUST_KNOWN_AS.id,
- label: i18n.str`Known as`,
- // gana_type: "String",
+ label: i18n.str`The undersigned hereby declare(s) that as trustee or a member of highest supervisory body of an underlying company of a trust known as:`,
type: "text",
required: true,
},
+ {
+ type: "caption",
+ label: i18n.str`and, such capacity, provide(s) to best of his/her/their knowledge the following information:`,
+ },
],
},
{
title: i18n.str`Name and information pertaining to the trust`,
fields: [
+ // {
+ // id: TalerFormAttributes.VQF_902_13.TRUST_NAME.id,
+ // label: i18n.str`Name`,
+ // type: "text",
+ // required: true,
+ // },
{
id: TalerFormAttributes.VQF_902_13.TRUST_DISCRETIONARY.id,
label: i18n.str`Discretionary`,
- // gana_type: "Boolean",
- type: "toggle",
- required: true,
- },
- {
- id: TalerFormAttributes.VQF_902_13.TRUST_NAME.id,
- label: i18n.str`Name`,
- // gana_type: "String",
- type: "text",
+ type: "choiceStacked",
+ choices: [
+ { label: i18n.str`Discretionary foundation`, value: "true" },
+ { label: i18n.str`Non-discretionary foundation`, value: "false" },
+ ],
required: true,
},
{
id: TalerFormAttributes.VQF_902_13.TRUST_REVOCABLE.id,
label: i18n.str`Revocable`,
- // gana_type: "Boolean",
- type: "toggle",
+ type: "choiceStacked",
+ choices: [
+ { label: i18n.str`Revolcable foundation`, value: "true" },
+ { label: i18n.str`Irrevocable foundation`, value: "false" },
+ ],
required: true,
},
],
},
{
- title: i18n.str`Settlor`,
- description: i18n.str`Information pertaining to the (ultimate economic, not fiduciary) settlor of the trust (individual or entity)`,
+ title: i18n.str`Settlors`,
fields: [
{
id: TalerFormAttributes.VQF_902_13.TRUST_SETTLOR_LIST.id,
label: i18n.str`Persons`,
- // gana_type: "Form<VQF_902_13_settlor>[]",
+ help: i18n.str`Information pertaining to the (ultimate economic, not fiduciary) settlor of the trust (individual or entity)`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_13_settlor.TRUST_SETTLOR_FULL_NAME.id,
@@ -99,7 +82,7 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_settlor
.TRUST_SETTLOR_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: true,
@@ -107,16 +90,22 @@ export function VQF_902_13(
{
id: TalerFormAttributes.VQF_902_13_settlor
.TRUST_SETTLOR_DOMICILE.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: true,
},
{
+ id: TalerFormAttributes.VQF_902_13_settlor.TRUST_SETTLOR_COUNTRY
+ .id,
+ label: i18n.str`Country`,
+ type: "selectOne",
+ choices: countryNameList(i18n),
+ required: true,
+ },
+ {
id: TalerFormAttributes.VQF_902_13_settlor
.TRUST_SETTLOR_BIRTHDATE.id,
- label: i18n.str`Full name`,
- // gana_type: "AbsoluteDate",
+ label: i18n.str`Birthdate`,
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -126,7 +115,6 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_settlor
.TRUST_SETTLOR_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -135,7 +123,6 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_settlor
.TRUST_SETTLOR_DEATHDATE.id,
label: i18n.str`Date of death`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -144,7 +131,7 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_settlor
.TRUST_SETTLOR_RIGHT_TO_REVOKE.id,
label: i18n.str`Right to revoke`,
- // gana_type: "Boolean",
+ help: i18n.str`In case of a revocable trust: does the settlor have the right to revoke the trust?`,
type: "toggle",
},
],
@@ -154,12 +141,11 @@ export function VQF_902_13(
},
{
title: i18n.str`Pre-existing trust`,
- description: i18n.str`If the trust results from the restructuring of pre-existing trust (re-settlement) or the merger of pre-existing trusts, the following information pertaining to the (actual) settlor of the pre-existing trusts has to be given`,
fields: [
{
id: TalerFormAttributes.VQF_902_13.TRUST_PRE_LIST.id,
label: i18n.str`Persons`,
- // gana_type: "Form<VQF_902_13_pre>[]",
+ help: i18n.str`If the trust results from a restructuring of a pre-existing trust (re-settlement) or a merger of pre-existing trusts, the following information pertaining to the (actual) settlor of the pre-existing trust(s) has to be given`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_13_pre.TRUST_PRE_FULL_NAME.id,
@@ -167,30 +153,26 @@ export function VQF_902_13(
{
id: TalerFormAttributes.VQF_902_13_pre.TRUST_PRE_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: false,
},
{
id: TalerFormAttributes.VQF_902_13_pre.TRUST_PRE_DOMICILE.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: false,
},
{
id: TalerFormAttributes.VQF_902_13_pre.TRUST_PRE_COUNTRY.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
-
required: false,
},
{
id: TalerFormAttributes.VQF_902_13_pre.TRUST_PRE_BIRTHDATE.id,
label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -199,7 +181,6 @@ export function VQF_902_13(
{
id: TalerFormAttributes.VQF_902_13_pre.TRUST_PRE_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
@@ -208,7 +189,6 @@ export function VQF_902_13(
{
id: TalerFormAttributes.VQF_902_13_pre.TRUST_PRE_DEATHDATE.id,
label: i18n.str`Date of death`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -225,7 +205,7 @@ export function VQF_902_13(
{
id: TalerFormAttributes.VQF_902_13.TRUST_BENEFICIARY_LIST.id,
label: i18n.str`Persons`,
- // gana_type: "Form<VQF_902_13_beneficiary>[]",
+ help: i18n.str`Pertaining to the beneficiary/ies at the time of the signing of this form`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_13_beneficiary
@@ -235,15 +215,14 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_beneficiary
.TRUST_BENEFICIARY_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_13_beneficiary
.TRUST_BENEFICIARY_DOMICILE.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: false,
},
@@ -251,7 +230,6 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_beneficiary
.TRUST_BENEFICIARY_COUNTRY.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
@@ -261,7 +239,6 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_beneficiary
.TRUST_BENEFICIARY_BIRTHDATE.id,
label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -272,7 +249,6 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_beneficiary
.TRUST_BENEFICIARY_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: false,
@@ -281,25 +257,31 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_beneficiary
.TRUST_BENEFICIARY_RIGHT_TO_CLAIM.id,
label: i18n.str`Right to claim`,
- // gana_type: "Boolean",
+ help: i18n.str`Has/Have the beneficiary/-ies an actual right to claim a distribution?`,
type: "toggle",
required: false,
},
- // {
- // id: TalerFormAttributes.VQF_902_13_beneficiary.TRUST_BENEFICIARY_ADDITION.id,
- // label: i18n.str`and in addition to certain beneficiaries or if no beneficiary/-ies has/have been determined, pertaining to (a) group(s) of beneficiaries (e.g. descendants of the settlor) known at the time of the signing of this form`,
- // // gana_type: "Paragraph",
- // type: "textArea",
- // required: false,
- // },
],
required: true,
},
{
+ id: TalerFormAttributes.VQF_902_13_beneficiary
+ .TRUST_BENEFICIARY_ADDITION.id,
+ label: i18n.str`and in addition to certain beneficiaries or if no beneficiary/-ies has/have been determined, pertaining to (a) group(s) of beneficiaries (e.g. descendants of the settlor) known at the time of the signing of this form`,
+ type: "textArea",
+ required: false,
+ },
+ ],
+ },
+ {
+ title: i18n.str`Protectors and people with the right to revoke the trust or to appoint the trustee of a trust`,
+ description: i18n.str`Information pertaining to the protector(s) as well as (a) further person(s) having the right to revoke the trust (in case of revocable trusts) or to appoint the trustee of a trust`,
+ fields: [
+ {
id: TalerFormAttributes.VQF_902_13.TRUST_PROTECTOR_LIST.id,
- label: i18n.str`Persons`,
- // gana_type: "Form<VQF_902_13_protector>[]",
+ label: i18n.str`Protectors`,
+ help: i18n.str`Information pertaining to the protector(s)`,
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_13_protector.TRUST_PROTECTOR_FULL_NAME
@@ -309,15 +291,14 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_protector
.TRUST_PROTECTOR_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`Last name(s), first name(s)/entity`,
type: "text",
required: false,
},
{
id: TalerFormAttributes.VQF_902_13_protector
.TRUST_PROTECTOR_DOMICILE.id,
- label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: false,
},
@@ -325,17 +306,14 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_protector
.TRUST_PROTECTOR_COUNTRY.id,
label: i18n.str`Country`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
-
required: false,
},
{
id: TalerFormAttributes.VQF_902_13_protector
.TRUST_PROTECTOR_BIRTHDATE.id,
label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -346,7 +324,6 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_protector
.TRUST_PROTECTOR_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
@@ -356,7 +333,69 @@ export function VQF_902_13(
id: TalerFormAttributes.VQF_902_13_protector
.TRUST_PROTECTOR_RIGHT_TO_REVOKE.id,
label: i18n.str`Right to revoke`,
- // gana_type: "Boolean",
+ help: i18n.str`In case of a revocable trust: does the protector have the right to revoke the trust?`,
+ type: "toggle",
+ required: false,
+ },
+ ],
+
+ required: true,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_13.TRUST_FURTHER_LIST.id,
+ label: i18n.str`Persons`,
+ help: i18n.str`Information pertaining to (a) further person(s)`,
+ type: "array",
+ labelFieldId:
+ TalerFormAttributes.VQF_902_13_further.TRUST_FURTHER_FULL_NAME.id,
+ fields: [
+ {
+ id: TalerFormAttributes.VQF_902_13_further
+ .TRUST_FURTHER_FULL_NAME.id,
+ label: i18n.str`Full name`,
+ help: i18n.str`Last name(s), first name(s)/entity`,
+ type: "text",
+ required: false,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_13_further
+ .TRUST_FURTHER_DOMICILE.id,
+ label: i18n.str`Actual address of domicile/registered office`,
+ type: "textArea",
+ required: false,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_13_further.TRUST_FURTHER_COUNTRY
+ .id,
+ label: i18n.str`Country`,
+ type: "selectOne",
+ choices: countryNameList(i18n),
+ required: false,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_13_further
+ .TRUST_FURTHER_BIRTHDATE.id,
+ label: i18n.str`Birthdate`,
+ type: "isoTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+
+ required: false,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_13_further
+ .TRUST_FURTHER_NATIONALITY.id,
+ label: i18n.str`Nationality`,
+ type: "selectOne",
+ choices: countryNationalityList(i18n),
+
+ required: false,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_13_further
+ .TRUST_FURTHER_RIGHT_TO_REVOKE.id,
+ label: i18n.str`Right to revoke`,
+ help: i18n.str`In case of a revocable trust: Has this further person the right to revoke the trust?`,
type: "toggle",
required: false,
},
@@ -367,13 +406,20 @@ export function VQF_902_13(
],
},
{
- title: i18n.str`The contracting partner hereby undertakes to inform automatically of any changes to the information contained herein.`,
- description: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
+ title: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
fields: [
{
+ type: "caption",
+ label: i18n.str`The contracting partner(s) hereby declare(s) to be entitled to open a business relationship for the trust above or its underlying company.`,
+ },
+ {
+ type: "caption",
+ label: i18n.str`The contracting partner(s) hereby undertake(s) to automatically inform of any changes to the information contained herein.`,
+ },
+
+ {
id: TalerFormAttributes.VQF_902_9.SIGNATURE.id,
label: i18n.str`Signature`,
- // gana_type: "AbsoluteDateTime",
type: "text",
required: true,
disabled: true,
@@ -381,7 +427,6 @@ export function VQF_902_13(
{
id: TalerFormAttributes.VQF_902_9.SIGN_DATE.id,
label: i18n.str`Date`,
- // gana_type: "String",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
diff --git a/packages/web-util/src/forms/gana/VQF_902_14.stories.tsx b/packages/web-util/src/forms/gana/VQF_902_14.stories.tsx
@@ -19,17 +19,21 @@
* @author Sebastian Javier Marchano (sebasjm)
*/
-import { i18n, setupI18n } from "@gnu-taler/taler-util";
+import { AbsoluteTime, i18n, setupI18n } from "@gnu-taler/taler-util";
import * as tests from "../../tests/hook.js";
import { DefaultForm as TestedComponent } from "../forms-ui.js";
import { VQF_902_14 } from "./VQF_902_14.js";
+import { TalerFormAttributes } from "./taler_form_attributes.js";
export default {
title: "VQF 902 14e",
};
setupI18n("en", {});
type TargetObject = {};
-const initial: TargetObject = {};
+const initial: TargetObject = {
+ [TalerFormAttributes.VQF_902_9.SIGNATURE.id]: "The officer",
+ [TalerFormAttributes.VQF_902_9.SIGN_DATE.id]: AbsoluteTime.now(),
+};
export const EmptyForm = tests.createExample(TestedComponent, {
initial,
design: VQF_902_14(i18n),
diff --git a/packages/web-util/src/forms/gana/VQF_902_14.ts b/packages/web-util/src/forms/gana/VQF_902_14.ts
@@ -11,29 +11,6 @@ export function VQF_902_14(
return {
type: "double-column",
sections: [
- // {
- // title: i18n.str`This form was completed by`,
- // fields: [
- // {
- // id: TalerFormAttributes.VQF_902_14.FORM_FILLING_DATE.id,
- // label: i18n.str`Date`,
- // // gana_type: "AbsoluteDateTime",
- // type: "absoluteTimeText",
- // placeholder: "dd/MM/yyyy HH:mm:ss",
- // pattern: "dd/MM/yyyy HH:mm:ss",
- // required: true,
- // disabled: true,
- // },
- // {
- // id: TalerFormAttributes.VQF_902_14.CUSTOMER_ID.id,
- // label: i18n.str`Customer`,
- // // gana_type: "String",
- // type: "text",
- // required: true,
- // disabled: true,
- // },
- // ],
- // },
{
title: i18n.str`Reason for special clarifications`,
fields: [
@@ -41,7 +18,6 @@ export function VQF_902_14(
id: TalerFormAttributes.VQF_902_14.INCRISK_REASON.id,
label: i18n.str`Reason`,
help: i18n.str`Description of the circumstances/transactions, which triggered the special clarifications`,
- // gana_type: "String",
type: "textArea",
required: true,
},
@@ -53,28 +29,43 @@ export function VQF_902_14(
{
id: TalerFormAttributes.VQF_902_14.INCRISK_MEANS.id,
label: i18n.str`Means`,
- // gana_type: "'GATHERING' | 'CONSULTATION' | 'ENQUIRIES' | String",
type: "choiceStacked",
choices: [
{
- label: i18n.str`Gathering`,
value: "GATHERING",
- description: i18n.str`Gathering of information from the customer, beneficial owner of the assets, controlling person`,
+ label: i18n.str`Gathering of information from the customer, beneficial owner of the assets, controlling person`,
},
{
- label: i18n.str`Gathering`,
value: "CONSULTATION",
- description: i18n.str`Consultation of generally accessible sources and databases`,
+ label: i18n.str`Consultation of generally accessible sources and databases`,
},
{
- label: i18n.str`Enquiries`,
value: "ENQUIRIES",
- description: i18n.str`Enquiries with trustworthy persons`,
+ label: i18n.str`Enquiries with trustworthy persons`,
},
+ {
+ value: "OTHER",
+ label: i18n.str`Other, which?`,
+ },
+ //
],
- allowFreeForm: true,
required: true,
},
+ {
+ id: TalerFormAttributes.VQF_902_14.INCRISK_MEANS_OTHER.id,
+ type: "text",
+ label: i18n.str`Means clarification`,
+ required: true,
+ hide(value, root) {
+ if (!root) return true;
+ if (
+ root[TalerFormAttributes.VQF_902_14.INCRISK_MEANS.id] ===
+ "OTHER"
+ )
+ return false;
+ return true;
+ },
+ },
],
},
{
@@ -84,19 +75,15 @@ export function VQF_902_14(
{
id: TalerFormAttributes.VQF_902_14.INCRISK_SUMMARY.id,
label: i18n.str`Summary`,
- // gana_type: "Paragraph",
type: "textArea",
required: true,
},
- // {
- // id: TalerFormAttributes.VQF_902_14.INCRISK_DOCUMENTS.id,
- // label: i18n.str`Gathered documentes`,
- // // gana_type: "File[]",
- // type: "array",
- // labelFieldId: "asd" as UIHandlerId,
- // fields: [],
- // required: true,
- // },
+ {
+ id: TalerFormAttributes.VQF_902_14.INCRISK_DOCUMENTS.id,
+ label: i18n.str`Gathered/Consulted documents`,
+ type: "textArea",
+ required: true,
+ },
],
},
{
@@ -122,10 +109,28 @@ export function VQF_902_14(
value: "SIMPLE_SUSPICION",
description: i18n.str`Simple suspicion pursuant to Art. 305 Para. 2 StGB, right to notify MROS`,
},
+ {
+ label: i18n.str`Other, what?`,
+ value: "OTHER",
+ },
],
- allowFreeForm: true,
required: true,
},
+ {
+ id: TalerFormAttributes.VQF_902_14.INCRISK_RESULT_OTHER.id,
+ type: "text",
+ label: i18n.str`Result clarification`,
+ required: true,
+ hide(value, root) {
+ if (!root) return true;
+ if (
+ root[TalerFormAttributes.VQF_902_14.INCRISK_RESULT.id] ===
+ "OTHER"
+ )
+ return false;
+ return true;
+ },
+ },
],
},
],
diff --git a/packages/web-util/src/forms/gana/VQF_902_15.stories.tsx b/packages/web-util/src/forms/gana/VQF_902_15.stories.tsx
@@ -19,17 +19,21 @@
* @author Sebastian Javier Marchano (sebasjm)
*/
-import { i18n, setupI18n } from "@gnu-taler/taler-util";
+import { AbsoluteTime, i18n, setupI18n } from "@gnu-taler/taler-util";
import * as tests from "../../tests/hook.js";
import { DefaultForm as TestedComponent } from "../forms-ui.js";
import { VQF_902_15 } from "./VQF_902_15.js";
+import { TalerFormAttributes } from "./taler_form_attributes.js";
export default {
title: "VQF 902 15e",
};
setupI18n("en", {});
type TargetObject = {};
-const initial: TargetObject = {};
+const initial: TargetObject = {
+ [TalerFormAttributes.VQF_902_9.SIGNATURE.id]: "The officer",
+ [TalerFormAttributes.VQF_902_9.SIGN_DATE.id]: AbsoluteTime.now(),
+};
export const EmptyForm = tests.createExample(TestedComponent, {
initial,
design: VQF_902_15(i18n),
diff --git a/packages/web-util/src/forms/gana/VQF_902_15.ts b/packages/web-util/src/forms/gana/VQF_902_15.ts
@@ -3,7 +3,10 @@ import {
InternationalizationAPI,
UIHandlerId,
} from "../../index.browser.js";
-import { countryNationalityList } from "../../utils/countries.js";
+import {
+ countryNameList,
+ countryNationalityList,
+} from "../../utils/countries.js";
import { TalerFormAttributes } from "./taler_form_attributes.js";
export function VQF_902_15(
@@ -12,36 +15,12 @@ export function VQF_902_15(
return {
type: "double-column",
sections: [
- // {
- // title: i18n.str`This form was completed by`,
- // fields: [
- // {
- // id: TalerFormAttributes.VQF_902_15.FORM_FILLING_DATE.id,
- // label: i18n.str`Date`,
- // // gana_type: "AbsoluteDateTime",
- // type: "absoluteTimeText",
- // placeholder: "dd/MM/yyyy HH:mm:ss",
- // pattern: "dd/MM/yyyy HH:mm:ss",
- // required: true,
- // disabled: true,
- // },
- // {
- // id: TalerFormAttributes.VQF_902_15.CUSTOMER_ID.id,
- // label: i18n.str`Customer`,
- // // gana_type: "String",
- // type: "text",
- // required: true,
- // disabled: true,
- // },
- // ],
- // },
{
- title: i18n.str`Contracting partner`,
+ title: i18n.str`Information on life insurance policies with separately managed accounts/securities accounts (so-called insurance wrappers) (I)`,
fields: [
{
id: TalerFormAttributes.VQF_902_15.INSURANCE_CONTRACTING_PARTNER.id,
label: i18n.str`Contracting partner`,
- // gana_type: "Paragraph",
type: "textArea",
required: true,
},
@@ -54,14 +33,13 @@ export function VQF_902_15(
{
id: TalerFormAttributes.VQF_902_15.INSURANCE_RELATIONSHIP_NAME.id,
label: i18n.str`Name`,
- // gana_type: "String",
+ help: i18n.str`Name or number of the contractual relationship between the contracting party and the financial intermediary`,
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_15.INSURANCE_RELATIONSHIP_POLICY.id,
label: i18n.str`Insurance policy`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -73,25 +51,31 @@ export function VQF_902_15(
},
{
title: i18n.str`Policy holder`,
+ description: i18n.str`In relation with the above insurance policy, the contracting partner gives the following further details`,
fields: [
{
id: TalerFormAttributes.VQF_902_15.INSURANCE_HOLDER_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
+ help: i18n.str`First name(s), last name(s)/ entity`,
type: "text",
- required: false,
+ required: true,
},
{
id: TalerFormAttributes.VQF_902_15.INSURANCE_HOLDER_DOMICILE.id,
- label: i18n.str`Domcile`,
- // gana_type: "ResidentialAddress",
+ label: i18n.str`Actual address of domicile/registered office`,
type: "textArea",
required: true,
},
{
+ id: TalerFormAttributes.VQF_902_15.INSURANCE_HOLDER_COUNTRY.id,
+ label: i18n.str`Country`,
+ type: "selectOne",
+ choices: countryNameList(i18n),
+ required: true,
+ },
+ {
id: TalerFormAttributes.VQF_902_15.INSURANCE_HOLDER_BIRTHDATE.id,
label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -100,7 +84,6 @@ export function VQF_902_15(
{
id: TalerFormAttributes.VQF_902_15.INSURANCE_HOLDER_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -108,16 +91,69 @@ export function VQF_902_15(
],
},
{
- title: i18n.str`Nature and purpose of the business relationship`,
- fields: [],
- },
- {
- title: i18n.str`Relationship with third parties`,
- fields: [],
+ title: i18n.str`Person actually (not in a fiduciary capacity) paying the premiums`,
+ description: i18n.str`To be filled in if not identical with "Policy holder" above`,
+ fields: [
+ {
+ id: TalerFormAttributes.VQF_902_15.INSURANCE_PAYER_FULL_NAME.id,
+ label: i18n.str`Full name`,
+ help: i18n.str`First name(s), last name(s)/ entity`,
+ type: "text",
+ },
+ {
+ id: TalerFormAttributes.VQF_902_15.INSURANCE_PAYER_DOMICILE.id,
+ label: i18n.str`Actual address of domicile/registered office`,
+ type: "textArea",
+ },
+ {
+ id: TalerFormAttributes.VQF_902_15.INSURANCE_PAYER_COUNTRY.id,
+ label: i18n.str`Country`,
+ type: "selectOne",
+ choices: countryNameList(i18n),
+ },
+ {
+ id: TalerFormAttributes.VQF_902_15.INSURANCE_PAYER_BIRTHDATE.id,
+ label: i18n.str`Birthdate`,
+ type: "isoTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+ },
+ {
+ id: TalerFormAttributes.VQF_902_15.INSURANCE_PAYER_NATIONALITY.id,
+ label: i18n.str`Nationality`,
+ type: "selectOne",
+ choices: countryNationalityList(i18n),
+ },
+ ],
},
{
- title: i18n.str`Further information`,
- fields: [],
+ title: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
+ fields: [
+ {
+ type: "caption",
+ label: i18n.str`The contracting partner hereby undertakes to automatically inform the financial intermediary of any changes.`,
+ },
+ {
+ type: "caption",
+ label: i18n.str`The contracting partner hereby also declares having been given permission by the above individuals and/or entities to transmit their data to the financial intermediary.`,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_9.SIGNATURE.id,
+ label: i18n.str`Signature`,
+ type: "text",
+ required: true,
+ disabled: true,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_9.SIGN_DATE.id,
+ label: i18n.str`Date`,
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+ required: true,
+ disabled: true,
+ },
+ ],
},
],
};
diff --git a/packages/web-util/src/forms/gana/VQF_902_1_all.ts b/packages/web-util/src/forms/gana/VQF_902_1_all.ts
@@ -25,7 +25,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_TYPE.id,
label: i18n.str`Customer type`,
- // gana_type: "String",
type: "choiceStacked",
choices: [
{
@@ -36,22 +35,22 @@ export function VQF_902_1_all(
value: "OPERATIONAL",
label: i18n.str`Operational legal entity or partnership`,
},
- {
- value: "FOUNDATION",
- label: i18n.str`Foundation`,
- },
- {
- value: "TRUST",
- label: i18n.str`Trust`,
- },
- {
- value: "LIFE_INSURANCE",
- label: i18n.str`Life insurance`,
- },
- {
- value: "OTHER",
- label: i18n.str`Other`,
- },
+ // {
+ // value: "FOUNDATION",
+ // label: i18n.str`Foundation`,
+ // },
+ // {
+ // value: "TRUST",
+ // label: i18n.str`Trust`,
+ // },
+ // {
+ // value: "LIFE_INSURANCE",
+ // label: i18n.str`Life insurance`,
+ // },
+ // {
+ // value: "OTHER",
+ // label: i18n.str`Other`,
+ // },
],
required: true,
},
@@ -64,7 +63,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -74,7 +72,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_RESIDENTIAL.id,
label: i18n.str`Residential address`,
- // gana_type: "ResidentialAddress",
type: "textArea",
required: true,
hide(value, root) {
@@ -84,7 +81,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_PHONE.id,
label: i18n.str`Telephone`,
- // gana_type: "Phone",
type: "text",
required: false,
hide(value, root) {
@@ -94,7 +90,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_EMAIL.id,
label: i18n.str`E-mail`,
- // gana_type: "Email",
type: "text",
required: false,
hide(value, root) {
@@ -104,7 +99,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_BIRTHDATE.id,
label: i18n.str`Date of birth`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -116,7 +110,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -127,7 +120,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_NATIONAL_ID.id,
label: i18n.str`Identification document`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -138,7 +130,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_NATIONAL_ID_COPY
.id,
label: i18n.str`Copy of identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
required: true,
@@ -149,7 +140,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_COMPANY_NAME.id,
label: i18n.str`Company name`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -160,7 +150,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_REGISTERED_OFFICE
.id,
label: i18n.str`Registered office`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -170,7 +159,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_COMPANY_ID.id,
label: i18n.str`Company identification document`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -181,7 +169,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_COMPANY_ID_COPY
.id,
label: i18n.str`Copy of company identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
required: false,
@@ -192,7 +179,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_COMPANY_NAME.id,
label: i18n.str`Company name`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -202,7 +188,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_ADDRESS.id,
label: i18n.str`Domicile`,
- // gana_type: "BusinessAddress",
type: "textArea",
required: true,
hide(value, root) {
@@ -213,7 +198,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1
.CUSTOMER_ENTITY_CONTACT_PERSON_NAME.id,
label: i18n.str`Contact person`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -223,7 +207,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_PHONE.id,
label: i18n.str`Telephone`,
- // gana_type: "Phone",
type: "text",
required: false,
hide(value, root) {
@@ -233,7 +216,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_EMAIL.id,
label: i18n.str`E-mail`,
- // gana_type: "Email",
type: "text",
required: false,
hide(value, root) {
@@ -243,7 +225,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_ID.id,
label: i18n.str`Identification document`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -253,7 +234,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_ID_COPY.id,
label: i18n.str`Copy of identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
required: true,
@@ -273,7 +253,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.FOUNDER_LIST.id,
label: i18n.str`Founders`,
- // gana_type: "Form<VQF_902_1_founder>[]",
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_1_founder.FOUNDER_FULL_NAME.id,
@@ -281,7 +260,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -289,14 +267,12 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1_founder
.FOUNDER_RESIDENTIAL_ADDRESS.id,
label: i18n.str`Residential address`,
- // gana_type: "ResidentialAddress",
type: "textArea",
required: true,
},
{
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_BIRTHDATE.id,
label: i18n.str`Date of birth`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -306,7 +282,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_NATIONALITY
.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -315,7 +290,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1_founder
.FOUNDER_AUTHORIZATION_TYPE.id,
label: i18n.str`Type of authorization`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -323,7 +297,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_NATIONAL_ID
.id,
label: i18n.str`Identification document`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -331,7 +304,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_NATIONAL_COPY
.id,
label: i18n.str`Copy of identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
@@ -341,7 +313,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1_founder
.FOUNDER_POWER_OF_ATTORNEY.id,
label: i18n.str`Power of attorney arrangements`,
- // gana_type: "String",
type: "choiceStacked",
choices: [
{
@@ -353,7 +324,6 @@ export function VQF_902_1_all(
label: i18n.str`Mandate`,
},
],
- allowFreeForm: true,
required: true,
},
],
@@ -367,7 +337,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_DATE.id,
label: i18n.str`Date`,
- // gana_type: "AbsoluteDate",fdfdf
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -376,7 +345,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_METHOD.id,
label: i18n.str`Accepted by`,
- // gana_type: "String",
type: "choiceStacked",
choices: [
{
@@ -398,7 +366,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1
.ACCEPTANCE_CORRESPONDENCE_SERVICE_TYPE.id,
label: i18n.str`Type of correspondence service`,
- // gana_type: "String",
type: "choiceStacked",
choices: [
{
@@ -424,7 +391,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1
.ACCEPTANCE_CORRESPONDENCE_SERVICE_THIRD_PARTY_FULL_NAME.id,
label: i18n.str`Third party full name`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -439,7 +405,6 @@ export function VQF_902_1_all(
id: TalerFormAttributes.VQF_902_1
.ACCEPTANCE_CORRESPONDENCE_SERVICE_THIRD_PARTY_ADDRESS.id,
label: i18n.str`Third party address`,
- // gana_type: "ResidentialAddress",
type: "textArea",
required: true,
hide(value, root) {
@@ -453,7 +418,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_LANGUAGE.id,
label: i18n.str`Language`,
- // gana_type: "LangCode",
type: "selectOne",
choices: languageNameList(i18n),
required: false,
@@ -461,7 +425,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_FURTHER_INFO.id,
label: i18n.str`Further information`,
- // gana_type: "String",
type: "textArea",
required: false,
},
@@ -474,7 +437,6 @@ export function VQF_902_1_all(
{
id: TalerFormAttributes.VQF_902_1.EMBARGO_TERRORISM_INFO.id,
label: i18n.str`Embargo information`,
- // gana_type: "Paragraph",
type: "textArea",
required: false,
},
@@ -486,7 +448,6 @@ export function VQF_902_1_all(
// {
// id: TalerFormAttributes.VQF_902_1.RELATIONSHIP_TYPE.id,
// label: i18n.str`Type of business relationship`,
- // // gana_type: "'MONEY_EXCHANGE' | 'MONEY_ASSET_TRANSFER' | String",
// type: "choiceStacked",
// choices: [
// {
@@ -504,7 +465,6 @@ export function VQF_902_1_all(
// {
// id: TalerFormAttributes.VQF_902_1.RELATIONSHIP_PURPOSE.id,
// label: i18n.str`Purpose of the business relationship`,
- // // gana_type: "Paragraph",
// type: "textArea",
// required: false,
// },
@@ -516,7 +476,6 @@ export function VQF_902_1_all(
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_CUSTOMER_DOCUMENTS.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
@@ -524,28 +483,24 @@ export function VQF_902_1_all(
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_IDENTIFICATION_DOCUMENTS
// .id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_BENEFICIAL_OWNER.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_CUSTOMER_PROFILE.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_RISK_PROFILE.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
diff --git a/packages/web-util/src/forms/gana/VQF_902_1_customer.ts b/packages/web-util/src/forms/gana/VQF_902_1_customer.ts
@@ -25,7 +25,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_TYPE.id,
label: i18n.str`Customer type`,
- // gana_type: "String",
type: "choiceStacked",
choices: [
{
@@ -36,22 +35,22 @@ export function VQF_902_1_customer(
value: "OPERATIONAL",
label: i18n.str`Operational legal entity or partnership`,
},
- {
- value: "FOUNDATION",
- label: i18n.str`Foundation`,
- },
- {
- value: "TRUST",
- label: i18n.str`Trust`,
- },
- {
- value: "LIFE_INSURANCE",
- label: i18n.str`Life insurance`,
- },
- {
- value: "OTHER",
- label: i18n.str`Other`,
- },
+ // {
+ // value: "FOUNDATION",
+ // label: i18n.str`Foundation`,
+ // },
+ // {
+ // value: "TRUST",
+ // label: i18n.str`Trust`,
+ // },
+ // {
+ // value: "LIFE_INSURANCE",
+ // label: i18n.str`Life insurance`,
+ // },
+ // {
+ // value: "OTHER",
+ // label: i18n.str`Other`,
+ // },
],
required: true,
},
@@ -64,7 +63,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -74,7 +72,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_RESIDENTIAL.id,
label: i18n.str`Residential address`,
- // gana_type: "ResidentialAddress",
type: "textArea",
required: true,
hide(value, root) {
@@ -84,7 +81,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_PHONE.id,
label: i18n.str`Telephone`,
- // gana_type: "Phone",
type: "text",
required: false,
hide(value, root) {
@@ -94,7 +90,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_EMAIL.id,
label: i18n.str`E-mail`,
- // gana_type: "Email",
type: "text",
required: false,
hide(value, root) {
@@ -104,7 +99,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_BIRTHDATE.id,
label: i18n.str`Date of birth`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -116,7 +110,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_NATIONALITY.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -127,7 +120,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_NATIONAL_ID.id,
label: i18n.str`Identification document`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -138,7 +130,6 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_NATIONAL_ID_COPY
.id,
label: i18n.str`Copy of identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
required: true,
@@ -149,7 +140,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_COMPANY_NAME.id,
label: i18n.str`Company name`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -160,7 +150,6 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_REGISTERED_OFFICE
.id,
label: i18n.str`Registered office`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -170,7 +159,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_COMPANY_ID.id,
label: i18n.str`Company identification document`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -181,7 +169,6 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1.CUSTOMER_NATURAL_COMPANY_ID_COPY
.id,
label: i18n.str`Copy of company identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
required: false,
@@ -192,7 +179,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_COMPANY_NAME.id,
label: i18n.str`Company name`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -202,7 +188,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_ADDRESS.id,
label: i18n.str`Domicile`,
- // gana_type: "BusinessAddress",
type: "textArea",
required: true,
hide(value, root) {
@@ -213,7 +198,6 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1
.CUSTOMER_ENTITY_CONTACT_PERSON_NAME.id,
label: i18n.str`Contact person`,
- // gana_type: "String",
type: "text",
required: false,
hide(value, root) {
@@ -223,7 +207,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_PHONE.id,
label: i18n.str`Telephone`,
- // gana_type: "Phone",
type: "text",
required: false,
hide(value, root) {
@@ -233,7 +216,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_EMAIL.id,
label: i18n.str`E-mail`,
- // gana_type: "Email",
type: "text",
required: false,
hide(value, root) {
@@ -243,7 +225,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_ID.id,
label: i18n.str`Identification document`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -253,7 +234,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.CUSTOMER_ENTITY_ID_COPY.id,
label: i18n.str`Copy of identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
required: true,
@@ -273,7 +253,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1.FOUNDER_LIST.id,
label: i18n.str`Founders`,
- // gana_type: "Form<VQF_902_1_founder>[]",
type: "array",
labelFieldId:
TalerFormAttributes.VQF_902_1_founder.FOUNDER_FULL_NAME.id,
@@ -281,7 +260,6 @@ export function VQF_902_1_customer(
{
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_FULL_NAME.id,
label: i18n.str`Full name`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -289,14 +267,12 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1_founder
.FOUNDER_RESIDENTIAL_ADDRESS.id,
label: i18n.str`Residential address`,
- // gana_type: "ResidentialAddress",
type: "textArea",
required: true,
},
{
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_BIRTHDATE.id,
label: i18n.str`Date of birth`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -306,7 +282,6 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_NATIONALITY
.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -315,7 +290,6 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1_founder
.FOUNDER_AUTHORIZATION_TYPE.id,
label: i18n.str`Type of authorization`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -323,7 +297,6 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_NATIONAL_ID
.id,
label: i18n.str`Identification document`,
- // gana_type: "String",
type: "text",
required: true,
},
@@ -331,17 +304,14 @@ export function VQF_902_1_customer(
id: TalerFormAttributes.VQF_902_1_founder.FOUNDER_NATIONAL_COPY
.id,
label: i18n.str`Copy of identification document`,
- // gana_type: "File",
type: "file",
accept: "application/pdf",
-
required: true,
},
{
id: TalerFormAttributes.VQF_902_1_founder
.FOUNDER_POWER_OF_ATTORNEY.id,
label: i18n.str`Power of attorney arrangements`,
- // gana_type: "'CR' | 'MANDATE' | 'OTHER' | String",
type: "choiceStacked",
choices: [
{
@@ -353,17 +323,30 @@ export function VQF_902_1_customer(
label: i18n.str`To a third party`,
},
{
- value: "TO_THE_CUSTOMER",
- label: i18n.str`To the customer`,
- },
- {
- value: "TO_THE_MEMBER",
- label: i18n.str`To the member`,
+ value: "OTHER",
+ label: i18n.str`Other`,
},
],
- allowFreeForm: true,
required: true,
},
+ {
+ id: TalerFormAttributes.VQF_902_1_founder
+ .FOUNDER_POWER_OF_ATTORNEY_OTHER.id,
+ type: "text",
+ label: i18n.str`Power of attorney arrangements clarification`,
+ required: true,
+ hide(value, root) {
+ if (!root) return true;
+ if (
+ root[
+ TalerFormAttributes.VQF_902_1_founder
+ .FOUNDER_POWER_OF_ATTORNEY.id
+ ] === "OTHER"
+ )
+ return false;
+ return true;
+ },
+ },
],
required: true,
},
@@ -376,7 +359,6 @@ export function VQF_902_1_customer(
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_CUSTOMER_DOCUMENTS.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
@@ -384,28 +366,24 @@ export function VQF_902_1_customer(
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_IDENTIFICATION_DOCUMENTS
// .id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_BENEFICIAL_OWNER.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_CUSTOMER_PROFILE.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
// {
// id: TalerFormAttributes.VQF_902_1.ENCLOSURE_RISK_PROFILE.id,
// label: i18n.str`Customer identification documents`,
- // // gana_type: "Boolean",
// type: "toggle",
// required: false,
// },
diff --git a/packages/web-util/src/forms/gana/VQF_902_1_officer.ts b/packages/web-util/src/forms/gana/VQF_902_1_officer.ts
@@ -25,7 +25,6 @@ export function VQF_902_1_officer(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_DATE.id,
label: i18n.str`Date`,
- // gana_type: "AbsoluteDate",fdfdf
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -34,7 +33,6 @@ export function VQF_902_1_officer(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_METHOD.id,
label: i18n.str`Accepted by`,
- // gana_type: "String",
type: "choiceStacked",
choices: [
{
@@ -56,7 +54,6 @@ export function VQF_902_1_officer(
id: TalerFormAttributes.VQF_902_1
.ACCEPTANCE_CORRESPONDENCE_SERVICE_TYPE.id,
label: i18n.str`Type of correspondence service`,
- // gana_type: "String",
type: "choiceStacked",
choices: [
{
@@ -82,7 +79,6 @@ export function VQF_902_1_officer(
id: TalerFormAttributes.VQF_902_1
.ACCEPTANCE_CORRESPONDENCE_SERVICE_THIRD_PARTY_FULL_NAME.id,
label: i18n.str`Third party full name`,
- // gana_type: "String",
type: "text",
required: true,
hide(value, root) {
@@ -97,7 +93,6 @@ export function VQF_902_1_officer(
id: TalerFormAttributes.VQF_902_1
.ACCEPTANCE_CORRESPONDENCE_SERVICE_THIRD_PARTY_ADDRESS.id,
label: i18n.str`Third party address`,
- // gana_type: "ResidentialAddress",
type: "textArea",
required: true,
hide(value, root) {
@@ -111,7 +106,6 @@ export function VQF_902_1_officer(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_LANGUAGE.id,
label: i18n.str`Language`,
- // gana_type: "LangCode",
type: "selectOne",
choices: languageNameList(i18n),
required: false,
@@ -119,7 +113,6 @@ export function VQF_902_1_officer(
{
id: TalerFormAttributes.VQF_902_1.ACCEPTANCE_FURTHER_INFO.id,
label: i18n.str`Further information`,
- // gana_type: "String",
type: "textArea",
required: false,
},
@@ -132,7 +125,6 @@ export function VQF_902_1_officer(
{
id: TalerFormAttributes.VQF_902_1.EMBARGO_TERRORISM_INFO.id,
label: i18n.str`Embargo information`,
- // gana_type: "Paragraph",
type: "textArea",
required: false,
},
diff --git a/packages/web-util/src/forms/gana/VQF_902_4.ts b/packages/web-util/src/forms/gana/VQF_902_4.ts
@@ -17,7 +17,6 @@ export function VQF_902_4(
// {
// id: TalerFormAttributes.VQF_902_1.FORM_FILLING_DATE.id,
// label: i18n.str`Date`,
- // // gana_type: "AbsoluteDateTime",
// type: "absoluteTimeText",
// placeholder: "dd/MM/yyyy HH:mm:ss",
// pattern: "dd/MM/yyyy HH:mm:ss",
@@ -27,7 +26,6 @@ export function VQF_902_4(
// {
// id: TalerFormAttributes.VQF_902_1.CUSTOMER_ID.id,
// label: i18n.str`Customer`,
- // // gana_type: "String",
// type: "text",
// required: true,
// disabled: true,
@@ -42,7 +40,6 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.PEP_FOREIGN.id,
label: i18n.str`Foreign PEP`,
help: i18n.str`Is the customer, the beneficial owner or the controlling person or authorised representative a foreign PEP or closely related to such a person?`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
@@ -50,7 +47,6 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.PEP_DOMESTIC.id,
label: i18n.str`Domestic PEP`,
help: i18n.str`Is the customer, the beneficial owner or the controlling person or authorised representative a domestic PEP or closely related to such a person?`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
@@ -58,7 +54,6 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.PEP_INTERNATIONAL_ORGANIZATION.id,
label: i18n.str`PEP of International Organisatons`,
help: i18n.str`Is the customer, the beneficial owner or the controlling person or authorised representative a PEP in International Organizations or closely related to such a person?`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
@@ -66,7 +61,6 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.PEP_ACCEPTANCE_DATE.id,
label: i18n.str`Acceptance date`,
help: i18n.str`When the decision of the Senior executive body on the acceptance of a business relationship with a PEP was obtain on.`,
- // gana_type: "AbsoluteDateTime",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -82,15 +76,13 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.HIGH_RISK_COUNTRY.id,
label: i18n.str`High-risk or non-cooperative country`,
help: i18n.str`Is the customer, the beneficial owner or the controlling person or authorised representative in a country considered by the FATF as high-risk or non-cooperative and for which FATF requires increased diligence?`,
- // gana_type: "Boolean",
type: "toggle",
required: true,
},
{
id: TalerFormAttributes.VQF_902_4.HIGH_RISK_ACCEPTANCE_DATE.id,
label: i18n.str`Acceptance date`,
- help: i18n.str`When the decision of the Senior executive body on the acceptance of a business relationship with a PEP was obtain on.`,
- // gana_type: "AbsoluteDateTime",
+ help: i18n.str`When the decision of the Senior executive body on the acceptance of such a business relationship was obtained on.`,
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -105,92 +97,90 @@ export function VQF_902_4(
{
id: TalerFormAttributes.VQF_902_4.COUNTRY_RISK_NATIONALITY_TYPE.id,
label: i18n.str`Country risk type (nationality)`,
- // gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{
- label: i18n.str`Nationality customer`,
+ label: i18n.str`Nationality of the customer`,
value: "NATIONALITY_CUSTOMER",
},
{
- label: i18n.str`Nationality owner`,
+ label: i18n.str`Nationality of the beneficial owner of the assets`,
value: "NATIONALITY_OWNER",
},
{
- label: i18n.str`Domicile cusomter`,
+ label: i18n.str`Domicile/residential address of the customer`,
value: "DOMICILE_CUSTOMER",
},
- { label: i18n.str`Domicile owner`, value: "DOMICILE_OWNER" },
{
- label: i18n.str`Domicile controlling`,
+ label: i18n.str`Domicile/residential address of the beneficial owner of the assets`,
+ value: "DOMICILE_OWNER",
+ },
+ {
+ label: i18n.str`Domicile/residential address of the controlling person`,
value: "DOMICILE_CONTROLLING",
},
],
- type: "choiceHorizontal",
+ type: "choiceStacked",
required: false,
},
{
id: TalerFormAttributes.VQF_902_4.COUNTRY_RISK_NATIONALITY_LEVEL.id,
label: i18n.str`Country risk level (nationality)`,
- // gana_type:
// "'NATIONALITY_CUSTOMER' | 'NATIONALITY_OWNER' | 'DOMICILE_CUSTOMER' | 'DOMICILE_OWNER' | 'DOMICILE_CONTROLLING' | 'BUSINESS_ACTIVITY' | 'PAYMENTS'",
choices: [
- { label: i18n.str`Low`, value: "LOW" },
- { label: i18n.str`Medium`, value: "MEDIUM" },
- { label: i18n.str`High`, value: "HIGH" },
+ {
+ label: i18n.str`Low`,
+ value: "LOW",
+ description: i18n.str`Risk 0 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
+ {
+ label: i18n.str`Medium`,
+ value: "MEDIUM",
+ description: i18n.str`Risk 1 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
+ {
+ label: i18n.str`High`,
+ value: "HIGH",
+ description: i18n.str`Risk 2 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
],
- // choices: [
- // {
- // label: i18n.str`Nationality customer`,
- // value: "NATIONALITY_CUSTOMER",
- // },
- // {
- // label: i18n.str`Nationality owner`,
- // value: "NATIONALITY_OWNER",
- // },
- // {
- // label: i18n.str`Domicile cusomter`,
- // value: "DOMICILE_CUSTOMER",
- // },
- // { label: i18n.str`Domicile owner`, value: "DOMICILE_OWNER" },
- // {
- // label: i18n.str`Domicile controlling`,
- // value: "DOMICILE_CONTROLLING",
- // },
- // {
- // label: i18n.str`Business activity`,
- // value: "BUSINESS_ACTIVITY",
- // },
- // { label: i18n.str`Payments`, value: "PAYMENTS" },
- // ],
type: "choiceStacked",
required: false,
},
{
id: TalerFormAttributes.VQF_902_4.COUNTRY_RISK_BUSINESS_TYPE.id,
label: i18n.str`Country risk type (business activity)`,
- // gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{
- label: i18n.str`Customer`,
+ label: i18n.str`Place of business activity of the customer`,
value: "CUSTOMER",
},
{
- label: i18n.str`Beneficial owner`,
+ label: i18n.str`Place of business activity of the beneficial owner`,
value: "OWNER",
},
],
- type: "choiceHorizontal",
+ type: "choiceStacked",
required: false,
},
{
id: TalerFormAttributes.VQF_902_4.COUNTRY_RISK_BUSINESS_LEVEL.id,
label: i18n.str`Country risk level (business activity)`,
- // gana_type:
- // "'NATIONALITY_CUSTOMER' | 'NATIONALITY_OWNER' | 'DOMICILE_CUSTOMER' | 'DOMICILE_OWNER' | 'DOMICILE_CONTROLLING' | 'BUSINESS_ACTIVITY' | 'PAYMENTS'",
choices: [
- { label: i18n.str`Low`, value: "LOW" },
- { label: i18n.str`Medium`, value: "MEDIUM" },
- { label: i18n.str`High`, value: "HIGH" },
+ {
+ label: i18n.str`Low`,
+ value: "LOW",
+ description: i18n.str`Risk 0 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
+ {
+ label: i18n.str`Medium`,
+ value: "MEDIUM",
+ description: i18n.str`Risk 1 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
+ {
+ label: i18n.str`High`,
+ value: "HIGH",
+ description: i18n.str`Risk 2 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
],
type: "choiceStacked",
required: false,
@@ -199,12 +189,22 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.COUNTRY_RISK_PAYMENTS_LEVEL.id,
label: i18n.str`Country risk level (payments)`,
help: i18n.str`Contry of origin ad destination of the frequent payments (if known)`,
- // gana_type:
- // "'NATIONALITY_CUSTOMER' | 'NATIONALITY_OWNER' | 'DOMICILE_CUSTOMER' | 'DOMICILE_OWNER' | 'DOMICILE_CONTROLLING' | 'BUSINESS_ACTIVITY' | 'PAYMENTS'",
choices: [
- { label: i18n.str`Low`, value: "LOW" },
- { label: i18n.str`Medium`, value: "MEDIUM" },
- { label: i18n.str`High`, value: "HIGH" },
+ {
+ label: i18n.str`Low`,
+ value: "LOW",
+ description: i18n.str`Risk 0 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
+ {
+ label: i18n.str`Medium`,
+ value: "MEDIUM",
+ description: i18n.str`Risk 1 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
+ {
+ label: i18n.str`High`,
+ value: "HIGH",
+ description: i18n.str`Risk 2 acc. to VQF country list (VQF doc. no. 902.4.1)`,
+ },
],
type: "choiceStacked",
required: false,
@@ -213,39 +213,39 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.INDUSTRY_RISK_TYPE.id,
label: i18n.str`Industry risk type`,
help: i18n.str`Nature of customer's business activity`,
- // gana_type: "'CUSTOMER' | 'OWNER'",
- type: "choiceHorizontal",
+ type: "choiceStacked",
choices: [
- { label: i18n.str`Owner`, value: "OWNER" },
{ label: i18n.str`Customer`, value: "CUSTOMER" },
+ {
+ label: i18n.str`Beneficial owner of the assets`,
+ value: "OWNER",
+ },
],
required: false,
},
{
id: TalerFormAttributes.VQF_902_4.INDUSTRY_RISK_LEVEL.id,
label: i18n.str`Industry risk level`,
- // gana_type:
- // "'TRANSPARENT' | 'HIGH_CASH_TRANSACTION' | 'NOT_WELL_KNOWN' | 'HIGH_RISK_TRADE' | 'UNKNOWN_INDUSTRY'",
type: "choiceStacked",
choices: [
{
- label: i18n.str`Clearly defined, transparent and easily comprehensible.`,
+ label: i18n.str`Clearly defined, transparent, easily comprehensible business activity well known to the member.`,
value: "TRANSPARENT",
},
{
- label: i18n.str`High level of cash transactions.`,
+ label: i18n.str`Business activity with a high level of cash transactions.`,
value: "HIGH_CASH_TRANSACTION",
},
{
- label: i18n.str`Not well known to the member.`,
+ label: i18n.str`Business activity not well known to the member.`,
value: "NOT_WELL_KNOWN",
},
{
- label: i18n.str`Trade in munitios/arms, raw gem stones, jewellery, exotic animals, casino and lottery business, erotic wares.`,
+ label: i18n.str`Trade in munitions/arms, raw gem stones/diamonds, jewellery, international trade in exotic animals, casino and lottery business, trade in erotic wares.`,
value: "HIGH_RISK_TRADE",
},
{
- label: i18n.str`No personal knowledge of the customer's industry.`,
+ label: i18n.str`Member has no personal knowledge of the customer’s industry.`,
value: "UNKNOWN_INDUSTRY",
},
],
@@ -255,18 +255,17 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.CONTACT_RISK_LEVEL.id,
label: i18n.str`Contact risk level`,
help: i18n.str`Type of contact to the customer/benefcial owner of the assets.`,
- // gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{
- label: i18n.str`Personal acquaintance between member and customer/beneficial owner of the assets over several years (at least 2)`,
+ label: i18n.str`Personal acquaintance between member and customer/beneficial owner of the assets over several years (at least 2) prior to entering into the business relationship`,
value: "LOW",
},
{
- label: i18n.str`Not personally known to the member for several years (at least 2) however (a) no business was entered or (b) was introduced by trusted third party.`,
+ label: i18n.str`The customer/beneficial owner was not personally known to the member for several years (at least 2) prior to entering into the business relationship; however (a) no business was entered into in the absence of the customer/beneficial owner, or (b) the customer was at least introduced/brokered by a trusted third party.`,
value: "MEDIUM",
},
{
- label: i18n.str`Not known to the member and the customer was not introduced by a trsuted third party. `,
+ label: i18n.str`The customer/beneficial owner was not personally known to the member and business was entered into in the absence of the former (relationship by correspondence) and the customer was not introduced/brokered by a trusted third party.`,
value: "HIGH",
},
],
@@ -278,36 +277,35 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.PRODUCT_RISK_LEVEL.id,
label: i18n.str`Product risk level`,
help: i18n.str`Nature of services and products requested by the customer.`,
- // gana_type:
// "'EASY' | 'SOPHISTICATED' | 'OFFSHORE' | 'COMPLEX_STRUCTURE' | 'LARGE_NUMBER_OF_ACCOUNTS' | 'COMPLEX_SERVICE' | 'FREQ_TRANS_WITH_HIGH_RISK'",
type: "choiceStacked",
choices: [
{
- label: i18n.str`Easy to understand, transparent services and products whose financial background is easy to verify.`,
+ label: i18n.str`Easy to understand, transparent services and products whose financial background is easy to comprehend and verify.`,
value: "EASY",
},
{
- label: i18n.str`Sophisticated services or products whose financial background is not easy to verify.`,
+ label: i18n.str`More sophisticated services/products whose financial background is not readily easy to comprehend and verify.`,
value: "SOPHISTICATED",
},
{
- label: i18n.str`Main focus on offshore business`,
+ label: i18n.str`Main focus on offshore business (especially: relationships with domiciliary companies or other such offshore organisations).`,
value: "OFFSHORE",
},
{
- label: i18n.str`Complex structure in particular by using a domicialliary complany with fiduciary shareholders in a non transparent juridisction.`,
+ label: i18n.str`Complex structures in particular by using a domiciliary company with fiduciary shareholders in a non-transparent jurisdiction, without comprehensible reason or for the purpose of short-term asset placement.`,
value: "COMPLEX_STRUCTURE",
},
{
- label: i18n.str`Large number of accounts with pass-through transactions`,
+ label: i18n.str`The customer or beneficial owner of the assets has a large number of accounts with pass-through transactions (pass-through accounts).`,
value: "LARGE_NUMBER_OF_ACCOUNTS",
},
{
- label: i18n.str`Complex services or products whose financial background can be verified with considerable effort.`,
+ label: i18n.str`Complex services/products whose financial background can’t be understood or verified with considerable effort.`,
value: "COMPLEX_SERVICE",
},
{
- label: i18n.str`Frequent transactions with high risk.`,
+ label: i18n.str`Frequent transactions with increased risks.`,
value: "FREQ_TRANS_WITH_HIGH_RISK",
},
],
@@ -319,14 +317,12 @@ export function VQF_902_4(
.id,
label: i18n.str`1. Extra criteria risk`,
help: i18n.str`Criteria defined by the member.`,
- // gana_type: "String",
type: "textArea",
required: false,
},
{
id: TalerFormAttributes.VQF_902_4.EXTRA_CRITERA_1_RISK_LEVEL.id,
label: i18n.str`1. Extra criteria level`,
- // gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{ label: i18n.str`Low`, value: "LOW" },
{ label: i18n.str`Medium`, value: "MEDIUM" },
@@ -340,14 +336,12 @@ export function VQF_902_4(
.id,
label: i18n.str`2. Extra criteria risk`,
help: i18n.str`Criteria defined by the member.`,
- // gana_type: "String",
type: "textArea",
required: false,
},
{
id: TalerFormAttributes.VQF_902_4.EXTRA_CRITERA_2_RISK_LEVEL.id,
label: i18n.str`2. Extra criteria level`,
- // gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{ label: i18n.str`Low`, value: "LOW" },
{ label: i18n.str`Medium`, value: "MEDIUM" },
@@ -358,11 +352,16 @@ export function VQF_902_4(
},
{
+ id: TalerFormAttributes.VQF_902_4.RISK_JUSTIFICATION.id,
+ label: i18n.str`Justification for differing risk assessment`,
+ type: "text",
+ required: false,
+ },
+ {
id: TalerFormAttributes.VQF_902_4.RISK_CLASIFICATION_ACCEPTANCE_DATE
.id,
label: i18n.str`Acceptance date`,
- help: i18n.str`When the decision of the Senior executive body on the acceptance of a business relationship with increased risk was obtain on.`,
- // gana_type: "AbsoluteDateTime",
+ help: i18n.str`When the decision of the Senior executive body on the acceptance of a business relationship with increased risk was obtained on.`,
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -372,7 +371,6 @@ export function VQF_902_4(
id: TalerFormAttributes.VQF_902_4.RISK_CLASIFICATION_LEVEL.id,
label: i18n.str`Risk clasification`,
help: i18n.str`Conclusion whether the business relationship is with or without increased risk.`,
- // gana_type: "'WITH' | 'WITHOUT'",
choices: [
{ label: i18n.str`WITH`, value: "WITH" },
{ label: i18n.str`WITHOUT`, value: "WITHOUT" },
diff --git a/packages/web-util/src/forms/gana/VQF_902_5.ts b/packages/web-util/src/forms/gana/VQF_902_5.ts
@@ -11,36 +11,12 @@ export function VQF_902_5(
return {
type: "double-column",
sections: [
- // {
- // title: i18n.str`This form was completed by`,
- // fields: [
- // {
- // id: TalerFormAttributes.VQF_902_5.FORM_FILLING_DATE.id,
- // label: i18n.str`Date`,
- // // gana_type: "AbsoluteDateTime",
- // type: "absoluteTimeText",
- // placeholder: "dd/MM/yyyy HH:mm:ss",
- // pattern: "dd/MM/yyyy HH:mm:ss",
- // required: true,
- // disabled: true,
- // },
- // {
- // id: TalerFormAttributes.VQF_902_5.CUSTOMER_ID.id,
- // label: i18n.str`Customer`,
- // // gana_type: "String",
- // type: "text",
- // required: true,
- // disabled: true,
- // },
- // ],
- // },
{
title: i18n.str`Business activity`,
fields: [
{
id: TalerFormAttributes.VQF_902_5.BIZREL_PROFESSION.id,
label: i18n.str`Profession, business activities, etc. (former, current, potentially planned)`,
- // gana_type: "String",
type: "text",
required: false,
},
@@ -52,7 +28,6 @@ export function VQF_902_5(
{
id: TalerFormAttributes.VQF_902_5.BIZREL_INCOME.id,
label: i18n.str`Income and assets, liabilities (estimated)`,
- // gana_type: "String",
type: "textArea",
required: false,
},
@@ -62,9 +37,14 @@ export function VQF_902_5(
title: i18n.str`Origin of the deposited assets involved`,
fields: [
{
+ id: TalerFormAttributes.VQF_902_5.BIZREL_ORIGIN_NATURE.id,
+ label: i18n.str`Nature`,
+ type: "text",
+ required: true,
+ },
+ {
id: TalerFormAttributes.VQF_902_5.BIZREL_ORIGIN_AMOUNT.id,
label: i18n.str`Amount`,
- // gana_type: "Amount",
type: "amount",
currency: "CHF",
required: true,
@@ -72,7 +52,6 @@ export function VQF_902_5(
{
id: TalerFormAttributes.VQF_902_5.BIZREL_ORIGIN_CATEGORY.id,
label: i18n.str`Category`,
- // gana_type: "'SAVINGS' | 'OWN_BUSINESS' | 'INHERITANCE' | 'OTHER'",
type: "choiceStacked",
choices: [
{ label: i18n.str`Savings`, value: "SAVINGS" },
@@ -83,13 +62,27 @@ export function VQF_902_5(
{ label: i18n.str`Inheritance`, value: "INHERITANCE" },
{ label: i18n.str`Other`, value: "OTHER" },
],
- allowFreeForm: true,
required: true,
},
{
+ id: TalerFormAttributes.VQF_902_5.BIZREL_ORIGIN_CATEGORY_OTHER.id,
+ type: "text",
+ label: i18n.str`Category clarification`,
+ required: true,
+ hide(value, root) {
+ if (!root) return true;
+ if (
+ root[
+ TalerFormAttributes.VQF_902_5.BIZREL_ORIGIN_CATEGORY.id
+ ] === "OTHER"
+ )
+ return false;
+ return true;
+ },
+ },
+ {
id: TalerFormAttributes.VQF_902_5.BIZREL_ORIGIN_DETAIL.id,
label: i18n.str`Detail description of the origings/economical background of the assets involved in the business relationship`,
- // gana_type: "Paragraph",
type: "textArea",
required: false,
},
@@ -101,14 +94,18 @@ export function VQF_902_5(
{
id: TalerFormAttributes.VQF_902_5.BIZREL_PURPOSE.id,
label: i18n.str`Purpose of the business relationship`,
- // gana_type: "String",
type: "text",
required: false,
},
{
id: TalerFormAttributes.VQF_902_5.BIZREL_DEVELOPMENT.id,
label: i18n.str`Information on the planned development of the business relationship and the assets`,
- // gana_type: "String",
+ type: "text",
+ required: false,
+ },
+ {
+ id: TalerFormAttributes.VQF_902_5.BIZREL_FINANCIAL_VOLUME.id,
+ label: i18n.str`Detail on usual business volume`,
type: "text",
required: false,
},
@@ -117,7 +114,6 @@ export function VQF_902_5(
.BIZREL_FINANCIAL_BENEFICIARIES_ADDRESS.id,
label: i18n.str`Address`,
help: i18n.str`Information of the beneficiary`,
- // gana_type: "String",
type: "text",
required: false,
},
@@ -126,7 +122,6 @@ export function VQF_902_5(
.BIZREL_FINANCIAL_BENEFICIARIES_BANK_ACCOUNT.id,
label: i18n.str`Bank account`,
help: i18n.str`Information of the beneficiary`,
- // gana_type: "String",
type: "text",
required: false,
},
@@ -135,14 +130,6 @@ export function VQF_902_5(
.BIZREL_FINANCIAL_BENEFICIARIES_FULL_NAME.id,
label: i18n.str`Full name`,
help: i18n.str`Information of the beneficiary`,
- // gana_type: "String",
- type: "text",
- required: false,
- },
- {
- id: TalerFormAttributes.VQF_902_5.BIZREL_FINANCIAL_VOLUME.id,
- label: i18n.str`Detail on usual business volume`,
- // gana_type: "String",
type: "text",
required: false,
},
@@ -153,22 +140,19 @@ export function VQF_902_5(
fields: [
{
id: TalerFormAttributes.VQF_902_5.BIZREL_THIRDPARTY_RELATIONSHIP.id,
- label: i18n.str`Relation of the customer to the benefical owner`,
- // gana_type: "String",
+ label: i18n.str`Relation of the customer to the beneficial owner, controlling persons, authorised signatories and other persons involved in the business relationship`,
type: "textArea",
required: false,
},
{
- id: TalerFormAttributes.VQF_902_5.BIZREL_THIRDPARTY_REFERENCES.id,
- label: i18n.str`Introducer / agents / references`,
- // gana_type: "String",
+ id: TalerFormAttributes.VQF_902_5.BIZREL_THIRDPARTY_AMLA_FILES.id,
+ label: i18n.str`Relation to other AMLA-Files`,
type: "textArea",
required: false,
},
{
- id: TalerFormAttributes.VQF_902_5.BIZREL_THIRDPARTY_AMLA_FILES.id,
- label: i18n.str`Relation to other AMLA-Files`,
- // gana_type: "String",
+ id: TalerFormAttributes.VQF_902_5.BIZREL_THIRDPARTY_REFERENCES.id,
+ label: i18n.str`Introducer / agents / references`,
type: "textArea",
required: false,
},
@@ -180,7 +164,6 @@ export function VQF_902_5(
{
id: TalerFormAttributes.VQF_902_5.BIZREL_FURTHER_INFO.id,
label: i18n.str`Other relevant information`,
- // gana_type: "String",
type: "textArea",
required: false,
},
diff --git a/packages/web-util/src/forms/gana/VQF_902_9.ts b/packages/web-util/src/forms/gana/VQF_902_9.ts
@@ -12,50 +12,31 @@ export function VQF_902_9(
return {
type: "double-column",
sections: [
- // {
- // title: i18n.str`This form was completed by`,
- // fields: [
- // {
- // id: TalerFormAttributes.VQF_902_9.FORM_FILLING_DATE.id,
- // label: i18n.str`Date`,
- // // gana_type: "AbsoluteDateTime",
- // type: "absoluteTimeText",
- // placeholder: "dd/MM/yyyy HH:mm:ss",
- // pattern: "dd/MM/yyyy HH:mm:ss",
- // required: true,
- // disabled: true,
- // },
- // {
- // id: TalerFormAttributes.VQF_902_9.CUSTOMER_ID.id,
- // label: i18n.str`Customer`,
- // // gana_type: "String",
- // type: "text",
- // required: true,
- // disabled: true,
- // },
- // ],
- // },
{
- title: i18n.str`Contracting partner`,
+ title: i18n.str`Declaration of identity of the beneficial owner (A)`,
fields: [
{
id: TalerFormAttributes.VQF_902_9.IDENTITY_CONTRACTING_PARTNER.id,
label: i18n.str`Contracting partner`,
- // gana_type: "Paragraph",
type: "textArea",
required: true,
},
],
},
{
- title: i18n.str`Persons`,
- description: i18n.str`The contracting partner hereby declares that the persons(s) listed below is/are the beneficial owner(s) of the assets involved in the business relationship. If the contracting prtner is also the sole beneficial owner of the assets, the contracting partner's detail must be set out below.`,
+ title: i18n.str`The contracting partner hereby declares that:`,
fields: [
{
id: TalerFormAttributes.VQF_902_9.IDENTITY_LIST.id,
label: i18n.str`Persons`,
- // gana_type: "Form<VQF_902_9_identity>[]",
+ help: i18n.str`the person(s) listed below is/are the beneficial owner(s) of the assets involved in the business relationship. If the contracting partner is also the sole beneficial owner of the assets, the contracting partner's detail must be set out below`,
type: "array",
+ validator(persons) {
+ if (!persons || persons.length < 1) {
+ return i18n.str`Can't be empty`;
+ }
+ return undefined;
+ },
labelFieldId:
TalerFormAttributes.VQF_902_9_identity.IDENTITY_FULL_NAME.id,
fields: [
@@ -63,14 +44,12 @@ export function VQF_902_9(
id: TalerFormAttributes.VQF_902_9_identity.IDENTITY_FULL_NAME
.id,
label: i18n.str`Full name`,
- // gana_type: "String",
type: "text",
required: true,
},
{
id: TalerFormAttributes.VQF_902_9_identity.IDENTITY_DOMICILE.id,
label: i18n.str`Domicile`,
- // gana_type: "ResidentialAddress",
type: "textArea",
required: true,
},
@@ -78,7 +57,6 @@ export function VQF_902_9(
id: TalerFormAttributes.VQF_902_9_identity.IDENTITY_BIRTHDATE
.id,
label: i18n.str`Birhtdate`,
- // gana_type: "AbsoluteDate",
type: "isoTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
@@ -88,7 +66,6 @@ export function VQF_902_9(
id: TalerFormAttributes.VQF_902_9_identity.IDENTITY_NATIONALITY
.id,
label: i18n.str`Nationality`,
- // gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
@@ -99,13 +76,15 @@ export function VQF_902_9(
],
},
{
- title: i18n.str`The contracting partner hereby undertakes to inform automatically of any changes to the information contained herein.`,
- description: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
+ title: i18n.str`It is a criminal offence to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, documents forgery)`,
fields: [
{
+ type: "caption",
+ label: i18n.str`The contracting partner hereby undertakes to inform automatically of any changes to the information contained herein.`,
+ },
+ {
id: TalerFormAttributes.VQF_902_9.SIGNATURE.id,
label: i18n.str`Signature`,
- // gana_type: "AbsoluteDateTime",
type: "text",
required: true,
disabled: true,
@@ -113,7 +92,6 @@ export function VQF_902_9(
{
id: TalerFormAttributes.VQF_902_9.SIGN_DATE.id,
label: i18n.str`Date`,
- // gana_type: "String",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
diff --git a/packages/web-util/src/forms/gana/taler_form_attributes.ts b/packages/web-util/src/forms/gana/taler_form_attributes.ts
@@ -22,15 +22,16 @@
*/
import { UIHandlerId } from "@gnu-taler/web-util/browser";
+
type FormFieldInfo = {
id: UIHandlerId;
description: String;
-};
+}
export namespace TalerFormAttributes {
export const VQF_902_1 = {
/**
- * Description:
+ * Description:
*
* GANA Type: BusinessAddress
*/
@@ -39,7 +40,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -48,7 +49,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'TO_THE_CUSTOMER' | 'HOLD_AT_BANK' | 'TO_THE_MEMBER' | 'TO_A_THIRD_PARTY'
*/
@@ -66,7 +67,7 @@ export namespace TalerFormAttributes {
description: "Conclusion of the conract",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -75,7 +76,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: LangCode
*/
@@ -84,7 +85,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'FACE_TO_FACE' | 'AUTHENTICATED_COPY' | 'RESIDENTIAL_ADDRESS_VALIDATED'
*/
@@ -138,7 +139,7 @@ export namespace TalerFormAttributes {
description: "Not older than 12 month",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: File
*/
@@ -162,8 +163,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: If the customer is a natural person.
@@ -211,7 +211,7 @@ export namespace TalerFormAttributes {
description: "If the customer is a natural person.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -280,8 +280,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_TYPE: {
id: "CUSTOMER_TYPE" as UIHandlerId,
- description:
- "Establishment of the beneficial owner of the assets and/or contrilling person",
+ description: "Establishment of the beneficial owner of the assets and/or contrilling person",
} as FormFieldInfo,
/**
* Description: Verification whether the customer, beneficial owners of the assets, controlling persons, authorised representatives or other involved persons are listed on an embargo-/terrorism list (date of verification/result)
@@ -290,11 +289,10 @@ export namespace TalerFormAttributes {
*/
EMBARGO_TERRORISM_INFO: {
id: "EMBARGO_TERRORISM_INFO" as UIHandlerId,
- description:
- "Verification whether the customer, beneficial owners of the assets, controlling persons, authorised representatives or other involved persons are listed on an embargo-/terrorism list (date of verification/result)",
+ description: "Verification whether the customer, beneficial owners of the assets, controlling persons, authorised representatives or other involved persons are listed on an embargo-/terrorism list (date of verification/result)",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -303,7 +301,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -312,7 +310,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -321,7 +319,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -330,7 +328,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -366,18 +364,27 @@ export namespace TalerFormAttributes {
description: "Purpose of service requested",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
- * GANA Type: 'MONEY_EXCHANGE' | 'MONEY_ASSET_TRANSFER' | String
+ * GANA Type: 'MONEY_EXCHANGE' | 'MONEY_ASSET_TRANSFER' | 'OTHER'
*/
RELATIONSHIP_TYPE: {
id: "RELATIONSHIP_TYPE" as UIHandlerId,
description: "",
} as FormFieldInfo,
+ /**
+ * Description:
+ *
+ * GANA Type: String
+ */
+ RELATIONSHIP_TYPE_OTHER: {
+ id: "RELATIONSHIP_TYPE_OTHER" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
} as const;
export const VQF_902_11 = {
/**
- * Description:
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -386,7 +393,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -395,7 +402,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -404,7 +411,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: '25_MORE_RIGHTS' | 'OTHER_WAY' | 'DIRECTOR'
*/
@@ -428,8 +435,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: When the form was completed.
@@ -441,7 +447,7 @@ export namespace TalerFormAttributes {
description: "When the form was completed.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -467,8 +473,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: When the form was completed.
@@ -480,7 +485,7 @@ export namespace TalerFormAttributes {
description: "When the form was completed.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -489,7 +494,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_12_beneficiary>[]
*/
@@ -498,7 +503,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -507,7 +512,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -516,7 +521,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_12_founder>[]
*/
@@ -525,7 +530,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -534,7 +539,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -543,7 +548,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_12_pre>[]
*/
@@ -552,7 +557,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_12_representative>[]
*/
@@ -561,7 +566,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -570,7 +575,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -590,7 +595,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_12_beneficiary = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -599,7 +604,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -608,7 +613,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -617,7 +622,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -626,7 +631,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -635,7 +640,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -646,7 +651,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_12_founder = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -655,7 +660,16 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
+ *
+ * GANA Type: CountryCode
+ */
+ FOUNDATION_FOUNDER_COUNTRY: {
+ id: "FOUNDATION_FOUNDER_COUNTRY" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -664,7 +678,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -673,7 +687,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -682,7 +696,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -691,7 +705,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -702,7 +716,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_12_pre = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -711,7 +725,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -720,7 +734,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -729,7 +743,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -738,7 +752,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -747,7 +761,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -758,7 +772,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_12_representative = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -767,7 +781,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -776,7 +790,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -785,7 +799,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -794,7 +808,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -803,7 +817,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -820,8 +834,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: When the form was completed.
@@ -833,7 +846,7 @@ export namespace TalerFormAttributes {
description: "When the form was completed.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -851,7 +864,7 @@ export namespace TalerFormAttributes {
description: "Contracing partner signature,",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_13_beneficiary>[]
*/
@@ -860,7 +873,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -869,7 +882,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -878,7 +891,16 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
+ *
+ * GANA Type: Form<VQF_902_13_further>[]
+ */
+ TRUST_FURTHER_LIST: {
+ id: "TRUST_FURTHER_LIST" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
+ * Description:
*
* GANA Type: String
*/
@@ -887,7 +909,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -896,7 +918,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_13_pre>[]
*/
@@ -905,7 +927,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_13_protector>[]
*/
@@ -914,7 +936,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -923,7 +945,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Form<VQF_902_13_settlor>[]
*/
@@ -934,7 +956,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_13_beneficiary = {
/**
- * Description:
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -943,7 +965,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -952,7 +974,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -961,7 +983,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -970,7 +992,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -979,7 +1001,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -988,7 +1010,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -999,7 +1021,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_13_further = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1008,7 +1030,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1017,7 +1039,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1026,7 +1048,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1035,16 +1057,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
- *
- * GANA Type: Form<VQF_902_13_further>[]
- */
- TRUST_FURTHER_LIST: {
- id: "TRUST_FURTHER_LIST" as UIHandlerId,
- description: "",
- } as FormFieldInfo,
- /**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1053,7 +1066,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -1064,7 +1077,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_13_pre = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1073,7 +1086,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1082,7 +1095,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1091,7 +1104,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1100,7 +1113,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1109,7 +1122,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1120,7 +1133,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_13_protector = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1129,7 +1142,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1138,7 +1151,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1147,7 +1160,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1156,7 +1169,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1165,7 +1178,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -1176,7 +1189,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_13_settlor = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1185,7 +1198,16 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
+ *
+ * GANA Type: CountryCode
+ */
+ TRUST_SETTLOR_COUNTRY: {
+ id: "TRUST_SETTLOR_COUNTRY" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1194,7 +1216,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1203,7 +1225,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1212,7 +1234,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1221,7 +1243,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Boolean
*/
@@ -1238,8 +1260,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: When the form was completed.
@@ -1253,42 +1274,59 @@ export namespace TalerFormAttributes {
/**
* Description: Gathered or consulted documents
*
- * GANA Type: File[]
+ * GANA Type: Paragraph
*/
INCRISK_DOCUMENTS: {
id: "INCRISK_DOCUMENTS" as UIHandlerId,
description: "Gathered or consulted documents",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
- * GANA Type: 'GATHERING' | 'CONSULTATION' | 'ENQUIRIES' | String
+ * GANA Type: 'GATHERING' | 'CONSULTATION' | 'ENQUIRIES' | 'OTHER'
*/
INCRISK_MEANS: {
id: "INCRISK_MEANS" as UIHandlerId,
description: "",
} as FormFieldInfo,
/**
+ * Description:
+ *
+ * GANA Type: String
+ */
+ INCRISK_MEANS_OTHER: {
+ id: "INCRISK_MEANS_OTHER" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
* Description: Description of the circumstances/transactions, which triggered the special clarifications
*
* GANA Type: String
*/
INCRISK_REASON: {
id: "INCRISK_REASON" as UIHandlerId,
- description:
- "Description of the circumstances/transactions, which triggered the special clarifications",
+ description: "Description of the circumstances/transactions, which triggered the special clarifications",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
- * GANA Type: 'NO_SUSPICION' | 'REASONABLE_SUSPICION' | 'SIMPLE_SUSPICION'
+ * GANA Type: 'NO_SUSPICION' | 'REASONABLE_SUSPICION' | 'SIMPLE_SUSPICION' | 'OTHER'
*/
INCRISK_RESULT: {
id: "INCRISK_RESULT" as UIHandlerId,
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
+ *
+ * GANA Type: String
+ */
+ INCRISK_RESULT_OTHER: {
+ id: "INCRISK_RESULT_OTHER" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -1305,8 +1343,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: When the form was completed.
@@ -1318,7 +1355,7 @@ export namespace TalerFormAttributes {
description: "When the form was completed.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -1327,7 +1364,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1336,7 +1373,16 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
+ *
+ * GANA Type: CountryCode
+ */
+ INSURANCE_HOLDER_COUNTRY: {
+ id: "INSURANCE_HOLDER_COUNTRY" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1351,11 +1397,10 @@ export namespace TalerFormAttributes {
*/
INSURANCE_HOLDER_FULL_NAME: {
id: "INSURANCE_HOLDER_FULL_NAME" as UIHandlerId,
- description:
- "The beneficial owners of the assets involved in the business relationship.",
+ description: "The beneficial owners of the assets involved in the business relationship.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1364,7 +1409,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1373,7 +1418,16 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
+ *
+ * GANA Type: CountryCode
+ */
+ INSURANCE_PAYER_COUNTRY: {
+ id: "INSURANCE_PAYER_COUNTRY" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1388,11 +1442,10 @@ export namespace TalerFormAttributes {
*/
INSURANCE_PAYER_FULL_NAME: {
id: "INSURANCE_PAYER_FULL_NAME" as UIHandlerId,
- description:
- "The beneficial owners of the assets involved in the business relationship.",
+ description: "The beneficial owners of the assets involved in the business relationship.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1407,11 +1460,10 @@ export namespace TalerFormAttributes {
*/
INSURANCE_RELATIONSHIP_NAME: {
id: "INSURANCE_RELATIONSHIP_NAME" as UIHandlerId,
- description:
- "Name or number of the contractual relationship between the contracting party and the financial intermediary",
+ description: "Name or number of the contractual relationship between the contracting party and the financial intermediary",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1420,7 +1472,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1449,7 +1501,7 @@ export namespace TalerFormAttributes {
description: "Signatory of representation",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1458,7 +1510,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1467,7 +1519,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -1476,7 +1528,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: File
*/
@@ -1485,7 +1537,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1494,16 +1546,25 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
- * GANA Type: 'CR' | 'MANDATE' | String
+ * GANA Type: 'CR' | 'MANDATE' | 'OTHER'
*/
FOUNDER_POWER_OF_ATTORNEY: {
id: "FOUNDER_POWER_OF_ATTORNEY" as UIHandlerId,
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
+ *
+ * GANA Type: String
+ */
+ FOUNDER_POWER_OF_ATTORNEY_OTHER: {
+ id: "FOUNDER_POWER_OF_ATTORNEY_OTHER" as UIHandlerId,
+ description: "",
+ } as FormFieldInfo,
+ /**
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1532,7 +1593,7 @@ export namespace TalerFormAttributes {
description: "Based on 902.4.1 country list",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'CUSTOMER' | 'OWNER'
*/
@@ -1550,7 +1611,7 @@ export namespace TalerFormAttributes {
description: "Based on 902.4.1 country list",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'NATIONALITY_CUSTOMER' | 'NATIONALITY_OWNER' | 'DOMICILE_CUSTOMER' | 'DOMICILE_OWNER' | 'DOMICILE_CONTROLLING'
*/
@@ -1574,8 +1635,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: Criteria description
@@ -1629,8 +1689,7 @@ export namespace TalerFormAttributes {
*/
HIGH_RISK_ACCEPTANCE_DATE: {
id: "HIGH_RISK_ACCEPTANCE_DATE" as UIHandlerId,
- description:
- "The decision of the Senior executive body on the acceptance of a business relationsip was obtained on ___",
+ description: "The decision of the Senior executive body on the acceptance of a business relationsip was obtained on ___",
} as FormFieldInfo,
/**
* Description: True if the person is in a country for which FATF requires incresed dilegence.
@@ -1639,11 +1698,10 @@ export namespace TalerFormAttributes {
*/
HIGH_RISK_COUNTRY: {
id: "HIGH_RISK_COUNTRY" as UIHandlerId,
- description:
- "True if the person is in a country for which FATF requires incresed dilegence.",
+ description: "True if the person is in a country for which FATF requires incresed dilegence.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'TRANSPARENT' | 'HIGH_CASH_TRANSACTION' | 'NOT_WELL_KNOWN' | 'HIGH_RISK_TRADE' | 'UNKNOWN_INDUSTRY'
*/
@@ -1652,7 +1710,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'CUSTOMER' | 'OWNER'
*/
@@ -1667,8 +1725,7 @@ export namespace TalerFormAttributes {
*/
PEP_ACCEPTANCE_DATE: {
id: "PEP_ACCEPTANCE_DATE" as UIHandlerId,
- description:
- "The decision of the Senior executive body on the acceptance of a business relationsip was obtained on ___",
+ description: "The decision of the Senior executive body on the acceptance of a business relationsip was obtained on ___",
} as FormFieldInfo,
/**
* Description: True if the person is a PEP defined by 'Art 7 lit. g numeral 2'
@@ -1677,8 +1734,7 @@ export namespace TalerFormAttributes {
*/
PEP_DOMESTIC: {
id: "PEP_DOMESTIC" as UIHandlerId,
- description:
- "True if the person is a PEP defined by 'Art 7 lit. g numeral 2'",
+ description: "True if the person is a PEP defined by 'Art 7 lit. g numeral 2'",
} as FormFieldInfo,
/**
* Description: True if the person is a PEP defined by 'Art 7 lit. g numeral 1'
@@ -1687,8 +1743,7 @@ export namespace TalerFormAttributes {
*/
PEP_FOREIGN: {
id: "PEP_FOREIGN" as UIHandlerId,
- description:
- "True if the person is a PEP defined by 'Art 7 lit. g numeral 1'",
+ description: "True if the person is a PEP defined by 'Art 7 lit. g numeral 1'",
} as FormFieldInfo,
/**
* Description: True if the person is a PEP defined by 'Art 7 lit. g numeral 3'
@@ -1697,11 +1752,10 @@ export namespace TalerFormAttributes {
*/
PEP_INTERNATIONAL_ORGANIZATION: {
id: "PEP_INTERNATIONAL_ORGANIZATION" as UIHandlerId,
- description:
- "True if the person is a PEP defined by 'Art 7 lit. g numeral 3'",
+ description: "True if the person is a PEP defined by 'Art 7 lit. g numeral 3'",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'EASY' | 'SOPHISTICATED' | 'OFFSHORE' | 'COMPLEX_STRUCTURE' | 'LARGE_NUMBER_OF_ACCOUNTS' | 'COMPLEX_SERVICE' | 'FREQ_TRANS_WITH_HIGH_RISK'
*/
@@ -1716,11 +1770,10 @@ export namespace TalerFormAttributes {
*/
RISK_CLASIFICATION_ACCEPTANCE_DATE: {
id: "RISK_CLASIFICATION_ACCEPTANCE_DATE" as UIHandlerId,
- description:
- "The decision of the Senior executive body on the acceptance of a business relationsip was obtained on ___",
+ description: "The decision of the Senior executive body on the acceptance of a business relationsip was obtained on ___",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'WITH' | 'WITHOUT'
*/
@@ -1728,6 +1781,15 @@ export namespace TalerFormAttributes {
id: "RISK_CLASIFICATION_LEVEL" as UIHandlerId,
description: "",
} as FormFieldInfo,
+ /**
+ * Description: Justification for differing risk assessment
+ *
+ * GANA Type: Paragraph
+ */
+ RISK_JUSTIFICATION: {
+ id: "RISK_JUSTIFICATION" as UIHandlerId,
+ description: "Justification for differing risk assessment",
+ } as FormFieldInfo,
} as const;
export const VQF_902_5 = {
/**
@@ -1737,8 +1799,7 @@ export namespace TalerFormAttributes {
*/
BIZREL_DEVELOPMENT: {
id: "BIZREL_DEVELOPMENT" as UIHandlerId,
- description:
- "Information on the planned development of the business relationship and the assets.",
+ description: "Information on the planned development of the business relationship and the assets.",
} as FormFieldInfo,
/**
* Description: In the case of cash or money and asset transfer transacction with regular customer
@@ -1747,8 +1808,7 @@ export namespace TalerFormAttributes {
*/
BIZREL_FINANCIAL_BENEFICIARIES_ADDRESS: {
id: "BIZREL_FINANCIAL_BENEFICIARIES_ADDRESS" as UIHandlerId,
- description:
- "In the case of cash or money and asset transfer transacction with regular customer",
+ description: "In the case of cash or money and asset transfer transacction with regular customer",
} as FormFieldInfo,
/**
* Description: In the case of cash or money and asset transfer transacction with regular customer
@@ -1757,8 +1817,7 @@ export namespace TalerFormAttributes {
*/
BIZREL_FINANCIAL_BENEFICIARIES_BANK_ACCOUNT: {
id: "BIZREL_FINANCIAL_BENEFICIARIES_BANK_ACCOUNT" as UIHandlerId,
- description:
- "In the case of cash or money and asset transfer transacction with regular customer",
+ description: "In the case of cash or money and asset transfer transacction with regular customer",
} as FormFieldInfo,
/**
* Description: In the case of cash or money and asset transfer transacction with regular customer
@@ -1767,8 +1826,7 @@ export namespace TalerFormAttributes {
*/
BIZREL_FINANCIAL_BENEFICIARIES_FULL_NAME: {
id: "BIZREL_FINANCIAL_BENEFICIARIES_FULL_NAME" as UIHandlerId,
- description:
- "In the case of cash or money and asset transfer transacction with regular customer",
+ description: "In the case of cash or money and asset transfer transacction with regular customer",
} as FormFieldInfo,
/**
* Description: In the case of cash or money and asset transfer transacction with regular customer
@@ -1777,8 +1835,7 @@ export namespace TalerFormAttributes {
*/
BIZREL_FINANCIAL_VOLUME: {
id: "BIZREL_FINANCIAL_VOLUME" as UIHandlerId,
- description:
- "In the case of cash or money and asset transfer transacction with regular customer",
+ description: "In the case of cash or money and asset transfer transacction with regular customer",
} as FormFieldInfo,
/**
* Description: Other relevant information.
@@ -1808,7 +1865,7 @@ export namespace TalerFormAttributes {
description: "Nature, amount and currency of the involved assets.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: 'SAVINGS' | 'OWN_BUSINESS' | 'INHERITANCE' | 'OTHER'
*/
@@ -1817,7 +1874,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1826,13 +1883,22 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description: Define the category if 'other'.
+ * Description: Detail description of the origings
*
* GANA Type: Paragraph
*/
BIZREL_ORIGIN_DETAIL: {
id: "BIZREL_ORIGIN_DETAIL" as UIHandlerId,
- description: "Define the category if 'other'.",
+ description: "Detail description of the origings",
+ } as FormFieldInfo,
+ /**
+ * Description:
+ *
+ * GANA Type: String
+ */
+ BIZREL_ORIGIN_NATURE: {
+ id: "BIZREL_ORIGIN_NATURE" as UIHandlerId,
+ description: "",
} as FormFieldInfo,
/**
* Description: Profession, business activities, etc. (former, current, potentially planned)
@@ -1841,8 +1907,7 @@ export namespace TalerFormAttributes {
*/
BIZREL_PROFESSION: {
id: "BIZREL_PROFESSION" as UIHandlerId,
- description:
- "Profession, business activities, etc. (former, current, potentially planned)",
+ description: "Profession, business activities, etc. (former, current, potentially planned)",
} as FormFieldInfo,
/**
* Description: Purpose of the business relationship.
@@ -1878,8 +1943,7 @@ export namespace TalerFormAttributes {
*/
BIZREL_THIRDPARTY_RELATIONSHIP: {
id: "BIZREL_THIRDPARTY_RELATIONSHIP" as UIHandlerId,
- description:
- "Relation of the customer to the beneficial owner, controlling persons, authorised signatories and other persons involved in the business relationship.",
+ description: "Relation of the customer to the beneficial owner, controlling persons, authorised signatories and other persons involved in the business relationship.",
} as FormFieldInfo,
/**
* Description: Customer system ID required to correlate different AML forms.
@@ -1888,8 +1952,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: When the form was completed.
@@ -1909,8 +1972,7 @@ export namespace TalerFormAttributes {
*/
CUSTOMER_ID: {
id: "CUSTOMER_ID" as UIHandlerId,
- description:
- "Customer system ID required to correlate different AML forms.",
+ description: "Customer system ID required to correlate different AML forms.",
} as FormFieldInfo,
/**
* Description: When the form was completed.
@@ -1922,7 +1984,7 @@ export namespace TalerFormAttributes {
description: "When the form was completed.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: Paragraph
*/
@@ -1937,11 +1999,10 @@ export namespace TalerFormAttributes {
*/
IDENTITY_LIST: {
id: "IDENTITY_LIST" as UIHandlerId,
- description:
- "The beneficial owners of the assets involved in the business relationship.",
+ description: "The beneficial owners of the assets involved in the business relationship.",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1961,7 +2022,7 @@ export namespace TalerFormAttributes {
} as const;
export const VQF_902_9_identity = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -1970,7 +2031,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: ResidentialAddress
*/
@@ -1979,7 +2040,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -1988,7 +2049,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -2005,8 +2066,7 @@ export namespace TalerFormAttributes {
*/
ACCEPTED_TERMS_OF_SERVICE: {
id: "ACCEPTED_TERMS_OF_SERVICE" as UIHandlerId,
- description:
- "Name of the version of the terms of service accepted by the customer.",
+ description: "Name of the version of the terms of service accepted by the customer.",
} as FormFieldInfo,
/**
* Description: Building name of the of the individual or business.
@@ -2033,8 +2093,7 @@ export namespace TalerFormAttributes {
*/
ADDRESS_COUNTRY: {
id: "ADDRESS_COUNTRY" as UIHandlerId,
- description:
- "Country where the individual or business resides. Format is 2-letter ISO country-code.",
+ description: "Country where the individual or business resides. Format is 2-letter ISO country-code.",
} as FormFieldInfo,
/**
* Description: Country subdivision of the individual or business.
@@ -2052,8 +2111,7 @@ export namespace TalerFormAttributes {
*/
ADDRESS_LINES: {
id: "ADDRESS_LINES" as UIHandlerId,
- description:
- "Additional address information of the individual or business.",
+ description: "Additional address information of the individual or business.",
} as FormFieldInfo,
/**
* Description: Street address name of the individual or business.
@@ -2098,8 +2156,7 @@ export namespace TalerFormAttributes {
*/
ADDRESS_ZIPCODE: {
id: "ADDRESS_ZIPCODE" as UIHandlerId,
- description:
- "Postal code of the city where the individual or business resides.",
+ description: "Postal code of the city where the individual or business resides.",
} as FormFieldInfo,
/**
* Description: Name of the company or business.
@@ -2135,8 +2192,7 @@ export namespace TalerFormAttributes {
*/
BUSINESS_LEGAL_JURISDICTION: {
id: "BUSINESS_LEGAL_JURISDICTION" as UIHandlerId,
- description:
- "City or location where the company or business is registered.",
+ description: "City or location where the company or business is registered.",
} as FormFieldInfo,
/**
* Description: List of natural persons that are legal representatives or shareholders.
@@ -2145,8 +2201,7 @@ export namespace TalerFormAttributes {
*/
BUSINESS_LEGAL_REPRESENTATIVES: {
id: "BUSINESS_LEGAL_REPRESENTATIVES" as UIHandlerId,
- description:
- "List of natural persons that are legal representatives or shareholders.",
+ description: "List of natural persons that are legal representatives or shareholders.",
} as FormFieldInfo,
/**
* Description: Registration founding date of the company or business.
@@ -2164,18 +2219,16 @@ export namespace TalerFormAttributes {
*/
BUSINESS_REGISTRATION_ID: {
id: "BUSINESS_REGISTRATION_ID" as UIHandlerId,
- description:
- "Registration id on legal entity of the company or business.",
+ description: "Registration id on legal entity of the company or business.",
} as FormFieldInfo,
/**
* Description: Type of company form or business (limited liability company, general partnership, limited partnership, corporations, etc... ).
*
- * GANA Type: String
+ * GANA Type: String
*/
BUSINESS_TYPE: {
id: "BUSINESS_TYPE" as UIHandlerId,
- description:
- "Type of company form or business (limited liability company, general partnership, limited partnership, corporations, etc... ).",
+ description: "Type of company form or business (limited liability company, general partnership, limited partnership, corporations, etc... ).",
} as FormFieldInfo,
/**
* Description: DNS domain name owned by the individual or business.
@@ -2193,8 +2246,7 @@ export namespace TalerFormAttributes {
*/
CONTACT_EMAIL: {
id: "CONTACT_EMAIL" as UIHandlerId,
- description:
- "E-mail address to contact the individual or business. Can be validated via E-mail with TAN.",
+ description: "E-mail address to contact the individual or business. Can be validated via E-mail with TAN.",
} as FormFieldInfo,
/**
* Description: Phone number to contact the individual or business. Can be validated via SMS-TAN or phone call.
@@ -2203,8 +2255,7 @@ export namespace TalerFormAttributes {
*/
CONTACT_PHONE: {
id: "CONTACT_PHONE" as UIHandlerId,
- description:
- "Phone number to contact the individual or business. Can be validated via SMS-TAN or phone call.",
+ description: "Phone number to contact the individual or business. Can be validated via SMS-TAN or phone call.",
} as FormFieldInfo,
/**
* Description: Web site owned by the individual or business.
@@ -2231,8 +2282,7 @@ export namespace TalerFormAttributes {
*/
PERSON_FULL_NAME: {
id: "PERSON_FULL_NAME" as UIHandlerId,
- description:
- "Full legal name of an individual as in the national identity card.",
+ description: "Full legal name of an individual as in the national identity card.",
} as FormFieldInfo,
/**
* Description: Last name of an individual as in the national identity card.
@@ -2241,8 +2291,7 @@ export namespace TalerFormAttributes {
*/
PERSON_LAST_NAME: {
id: "PERSON_LAST_NAME" as UIHandlerId,
- description:
- "Last name of an individual as in the national identity card.",
+ description: "Last name of an individual as in the national identity card.",
} as FormFieldInfo,
/**
* Description: Nationality of an individual. Format is 2-letter ISO country-code.
@@ -2251,8 +2300,7 @@ export namespace TalerFormAttributes {
*/
PERSON_NATIONALITY: {
id: "PERSON_NATIONALITY" as UIHandlerId,
- description:
- "Nationality of an individual. Format is 2-letter ISO country-code.",
+ description: "Nationality of an individual. Format is 2-letter ISO country-code.",
} as FormFieldInfo,
/**
* Description: Identification number or string of national identity card.
@@ -2270,8 +2318,7 @@ export namespace TalerFormAttributes {
*/
PERSON_NATIONAL_ID_SCAN: {
id: "PERSON_NATIONAL_ID_SCAN" as UIHandlerId,
- description:
- "Scan of a recognized national identity card of an individual.",
+ description: "Scan of a recognized national identity card of an individual.",
} as FormFieldInfo,
/**
* Description: Country name of of the individual or business.
@@ -2298,8 +2345,7 @@ export namespace TalerFormAttributes {
*/
TAX_IS_ACTIVE: {
id: "TAX_IS_ACTIVE" as UIHandlerId,
- description:
- "Is the individual or business economically active or passive.",
+ description: "Is the individual or business economically active or passive.",
} as FormFieldInfo,
/**
* Description: Is the business entitled to deduct input tax.
@@ -2322,7 +2368,7 @@ export namespace TalerFormAttributes {
} as const;
export const GLS_BusinessRepresentative = {
/**
- * Description:
+ * Description:
*
* GANA Type: AbsoluteDate
*/
@@ -2331,7 +2377,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -2340,7 +2386,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -2349,7 +2395,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: CountryCode
*/
@@ -2358,7 +2404,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: String
*/
@@ -2367,7 +2413,7 @@ export namespace TalerFormAttributes {
description: "",
} as FormFieldInfo,
/**
- * Description:
+ * Description:
*
* GANA Type: File
*/
@@ -2384,8 +2430,7 @@ export namespace TalerFormAttributes {
*/
AML_ACCOUNT_ACTIVE_DEPOSIT: {
id: "AML_ACCOUNT_ACTIVE_DEPOSIT" as UIHandlerId,
- description:
- "True if deposit limit changed from zero to greater than zero.",
+ description: "True if deposit limit changed from zero to greater than zero.",
} as FormFieldInfo,
/**
* Description: True if this is an account controlled by domestic PEP.
@@ -2421,8 +2466,7 @@ export namespace TalerFormAttributes {
*/
AML_HIGH_RISK_COUNTRY: {
id: "AML_HIGH_RISK_COUNTRY" as UIHandlerId,
- description:
- "True if this is an account controlled by person from high-risk country.",
+ description: "True if this is an account controlled by person from high-risk country.",
} as FormFieldInfo,
/**
* Description: True if account is involved in proceedings for which Art 6 GwG, and completed.
@@ -2431,8 +2475,7 @@ export namespace TalerFormAttributes {
*/
AML_INVESTIGATION_ART6_COMPLETED: {
id: "AML_INVESTIGATION_ART6_COMPLETED" as UIHandlerId,
- description:
- "True if account is involved in proceedings for which Art 6 GwG, and completed.",
+ description: "True if account is involved in proceedings for which Art 6 GwG, and completed.",
} as FormFieldInfo,
/**
* Description: True if account is involved in proceedings for which Art 6 GwG, but failed.
@@ -2441,8 +2484,7 @@ export namespace TalerFormAttributes {
*/
AML_INVESTIGATION_ART6_FAILED: {
id: "AML_INVESTIGATION_ART6_FAILED" as UIHandlerId,
- description:
- "True if account is involved in proceedings for which Art 6 GwG, but failed.",
+ description: "True if account is involved in proceedings for which Art 6 GwG, but failed.",
} as FormFieldInfo,
/**
* Description: True if this account is going to be reported by right to do so (based on Art 305ter Abs. 2 StGB).
@@ -2451,8 +2493,7 @@ export namespace TalerFormAttributes {
*/
AML_MROS_REPORTED_ART305: {
id: "AML_MROS_REPORTED_ART305" as UIHandlerId,
- description:
- "True if this account is going to be reported by right to do so (based on Art 305ter Abs. 2 StGB).",
+ description: "True if this account is going to be reported by right to do so (based on Art 305ter Abs. 2 StGB).",
} as FormFieldInfo,
/**
* Description: True if this account is going to be reported by obligation to do so (based on Art 9 Abs. 1 GwG).
@@ -2461,8 +2502,7 @@ export namespace TalerFormAttributes {
*/
AML_MROS_REPORTED_ART9: {
id: "AML_MROS_REPORTED_ART9" as UIHandlerId,
- description:
- "True if this account is going to be reported by obligation to do so (based on Art 9 Abs. 1 GwG).",
+ description: "True if this account is going to be reported by obligation to do so (based on Art 9 Abs. 1 GwG).",
} as FormFieldInfo,
/**
* Description: True if the account made no operaton during a period of time.
@@ -2471,8 +2511,9 @@ export namespace TalerFormAttributes {
*/
AML_NO_OPERATION_DURING_PERIOD: {
id: "AML_NO_OPERATION_DURING_PERIOD" as UIHandlerId,
- description:
- "True if the account made no operaton during a period of time.",
+ description: "True if the account made no operaton during a period of time.",
} as FormFieldInfo,
} as const;
+
+
}