summaryrefslogtreecommitdiff
path: root/packages/anastasis-core/src/anastasis-data.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/anastasis-core/src/anastasis-data.ts')
-rw-r--r--packages/anastasis-core/src/anastasis-data.ts275
1 files changed, 172 insertions, 103 deletions
diff --git a/packages/anastasis-core/src/anastasis-data.ts b/packages/anastasis-core/src/anastasis-data.ts
index 4946e9dfd..9cbf5f594 100644
--- a/packages/anastasis-core/src/anastasis-data.ts
+++ b/packages/anastasis-core/src/anastasis-data.ts
@@ -1,5 +1,5 @@
// This file is auto-generated, do not modify.
-// Generated from v0.2.0-4-g61ea83c on Tue, 05 Oct 2021 10:40:32 +0200
+// Generated from v0.2.0-151-g2ae958d on Thu, 14 Apr 2022 20:38:58 +0200
// To re-generate, run contrib/gen-ts.sh from the main anastasis code base.
export const anastasisData = {
@@ -8,29 +8,41 @@ export const anastasisData = {
"SPDX-License-Identifier": "GPL3.0-or-later",
anastasis_provider: [
{
- url: "https://anastasis.demo.taler.net/",
- currency: "KUDOS",
+ url: "https://v1.anastasis.taler.net/",
+ name: "Bern University of Applied Sciences, Switzerland",
},
+// {
+// url: "https://v1.anastasis.codeblau.de/",
+// name: "Codeblau GmbH, Germany",
+// },
{
- url: "https://kudos.demo.anastasis.lu/",
- currency: "KUDOS",
+ url: "https://v1.anastasis.lu/",
+ name: "Anastasis SARL, Luxembourg",
},
{
- url: "http://localhost:8086/",
- currency: "TESTKUDOS",
+ url: "https://v1.anastasis.taler.net/",
+ restricted: "xx",
},
{
- url: "http://localhost:8087/",
- currency: "TESTKUDOS",
- },
- {
- url: "http://localhost:8088/",
- currency: "TESTKUDOS",
- },
- {
- url: "http://localhost:8089/",
- currency: "TESTKUDOS",
+ url: "https://v1.anastasis.lu/",
+ restricted: "xx",
},
+ // {
+ // url: "http://localhost:8086/",
+ // restricted: "xx",
+ // },
+ // {
+ // url: "http://localhost:8087/",
+ // restricted: "xx",
+ // },
+ // {
+ // url: "http://localhost:8088/",
+ // restricted: "xx",
+ // },
+ // {
+ // url: "http://localhost:8089/",
+ // restricted: "xx",
+ // },
],
},
countriesList: {
@@ -45,7 +57,6 @@ export const anastasisData = {
de_DE: "Albanien",
en_UK: "Albania",
},
- currency: "ALL",
call_code: "+355",
},
{
@@ -56,7 +67,6 @@ export const anastasisData = {
de_DE: "Belgien",
en_UK: "Belgium",
},
- currency: "EUR",
call_code: "+32",
},
{
@@ -69,7 +79,6 @@ export const anastasisData = {
fr_FR: "Suisse",
en_UK: "Swiss",
},
- currency: "CHF",
call_code: "+41",
},
{
@@ -79,7 +88,6 @@ export const anastasisData = {
name_i18n: {
en_UK: "Czech Republic",
},
- currency: "CZK",
call_code: "+420",
},
{
@@ -93,7 +101,6 @@ export const anastasisData = {
fr_FR: "Allemagne",
en_UK: "Germany",
},
- currency: "EUR",
call_code: "+49",
},
{
@@ -104,7 +111,6 @@ export const anastasisData = {
name_i18n: {
en_UK: "Denmark",
},
- currency: "DKK",
call_code: "+45",
},
{
@@ -115,10 +121,19 @@ export const anastasisData = {
name_i18n: {
es_ES: "España",
},
- currency: "EUR",
call_code: "+44",
},
{
+ code: "fr",
+ name: "France",
+ continent: "Europe",
+ name_i18n: {
+ de_DE: "Frankreich",
+ fr_FR: "La France",
+ },
+ call_code: "+33",
+ },
+ {
code: "in",
name: "India",
continent: "India",
@@ -129,7 +144,6 @@ export const anastasisData = {
fr_FR: "l'Inde",
en_UK: "India",
},
- currency: "INR",
call_code: "+91",
},
{
@@ -140,7 +154,6 @@ export const anastasisData = {
de_DE: "Italien",
en_UK: "Italy",
},
- currency: "EUR",
call_code: "+39",
},
{
@@ -153,17 +166,26 @@ export const anastasisData = {
de_CH: "Japan",
en_UK: "Japan",
},
- currency: "JPY",
call_code: "+81",
},
{
- code: "sl",
+ code: "nl",
+ name: "Netherlands",
+ continent: "Europe",
+ name_i18n: {
+ de_DE: "Niederlande",
+ nl_NL: "Nederland",
+ en_UK: "Netherlands",
+ },
+ call_code: "+31",
+ },
+ {
+ code: "sk",
name: "Slovakia",
continent: "Europe",
name_i18n: {
en_UK: "Slovakia",
},
- currency: "EUR",
call_code: "+421",
},
{
@@ -177,38 +199,21 @@ export const anastasisData = {
fr_FR: "États-Unis d'Amérique (USA)",
en_UK: "United States of America (USA)",
},
- currency: "USD",
call_code: "+1",
},
- {
- code: "xx",
- name: "Testland",
- continent: "Testcontinent",
- continent_i18n: { de_DE: "Testkontinent" },
- name_i18n: {
- de_DE: "Testlandt",
- de_CH: "Testlandi",
- fr_FR: "Testpais",
- en_UK: "Testland",
- },
- currency: "TESTKUDOS",
- call_code: "+00",
- },
- {
- code: "xy",
- name: "Demoland",
- continent: "Testcontinent",
- continent_i18n: { de_DE: "Testkontinent" },
- name_i18n: {
- de_DE: "Demolandt",
- de_CH: "Demolandi",
- fr_FR: "Demopais",
- en_UK: "Demoland",
- },
- currency: "KUDOS",
- call_code: "+01",
- },
- ],
+ // {
+ // code: "xx",
+ // name: "Testland",
+ // continent: "Demoworld",
+ // name_i18n: {
+ // de_DE: "Testlandt",
+ // de_CH: "Testlandi",
+ // fr_FR: "Testpais",
+ // en_UK: "Testland",
+ // },
+ // call_code: "+00",
+ // },
+ ].sort((a, b) => a.name > b.name ? 1 : (a.name < b.name ? -1 : 0)),
},
countryDetails: {
al: {
@@ -320,8 +325,9 @@ export const anastasisData = {
widget: "anastasis_gtk_ia_ahv",
uuid: "1da87570-ba16-4f62-8a7e-cbda92f51591",
"validation-regex":
- "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
+ "^(756)\\.[0-9]{4}\\.[0-9]{4}\\.[0-9]{2}|(756)[0-9]{10}$",
"validation-logic": "CH_AHV_check",
+ autocomplete: "???.????.????.??",
},
],
},
@@ -386,19 +392,6 @@ export const anastasisData = {
},
{
type: "string",
- name: "tax_number",
- label: "Taxpayer identification number",
- label_i18n: {
- de_DE: "Steuerliche Identifikationsnummer",
- en: "German taxpayer identification number",
- },
- widget: "anastasis_gtk_ia_tax_de",
- uuid: "dae48f85-e3ff-47a4-a4a3-ed981ed8c3c6",
- "validation-regex": "^[0-9]{11}$",
- "validation-logic": "DE_TIN_check",
- },
- {
- type: "string",
name: "social_security_number",
label: "Social security number",
label_i18n: {
@@ -411,6 +404,19 @@ export const anastasisData = {
"validation-logic": "DE_SVN_check",
optional: true,
},
+ {
+ type: "string",
+ name: "tax_number",
+ label: "Taxpayer identification number",
+ label_i18n: {
+ de_DE: "Steuerliche Identifikationsnummer",
+ en: "German taxpayer identification number",
+ },
+ widget: "anastasis_gtk_ia_tin_de",
+ uuid: "dae48f85-e3ff-47a4-a4a3-ed981ed8c3c6",
+ "validation-regex": "^[0-9]{11}$",
+ "validation-logic": "DE_TIN_check",
+ },
],
},
dk: {
@@ -496,6 +502,46 @@ export const anastasisData = {
},
],
},
+ fr: {
+ license: "GPLv3+",
+ "SPDX-License-Identifier": "GPL3.0-or-later",
+ required_attributes: [
+ {
+ type: "string",
+ name: "full_name",
+ label: "Full name",
+ widget: "anastasis_gtk_ia_full_name",
+ uuid: "9e8f463f-575f-42cb-85f3-759559997331",
+ },
+ {
+ type: "date",
+ name: "birthdate",
+ label: "Birthdate",
+ widget: "anastasis_gtk_ia_birthdate",
+ uuid: "83d655c7-bdb6-484d-904e-80c1058c8854",
+ },
+ {
+ type: "string",
+ name: "birthplace",
+ label: "Birthplace",
+ widget: "anastasis_gtk_ia_birthplace",
+ uuid: "4c822e8e-89c6-11eb-95c4-8b077ad8489f",
+ },
+ {
+ type: "string",
+ name: "social_security_number",
+ label: "Code Insee",
+ label_i18n: {
+ fr_FR: "Code Insee",
+ en: "INSEE code",
+ },
+ widget: "anastasis_gtk_ia_insee_fr",
+ uuid: "2f36a81c-3f6d-41f3-97ee-9c885bc41873",
+ "validation-regex": "^[0-9]{15}$",
+ "validation-logic": "FR_INSEE_check",
+ },
+ ],
+ },
in: {
license: "GPLv3+",
"SPDX-License-Identifier": "GPL3.0-or-later",
@@ -608,6 +654,46 @@ export const anastasisData = {
},
],
},
+ nl: {
+ license: "GPLv3+",
+ "SPDX-License-Identifier": "GPL3.0-or-later",
+ required_attributes: [
+ {
+ type: "string",
+ name: "full_name",
+ label: "Full name",
+ widget: "anastasis_gtk_ia_full_name",
+ uuid: "9e8f463f-575f-42cb-85f3-759559997331",
+ },
+ {
+ type: "date",
+ name: "birthdate",
+ label: "Birthdate",
+ widget: "anastasis_gtk_ia_birthdate",
+ uuid: "83d655c7-bdb6-484d-904e-80c1058c8854",
+ },
+ {
+ type: "string",
+ name: "birthplace",
+ label: "Birthplace",
+ widget: "anastasis_gtk_ia_birthplace",
+ uuid: "4c822e8e-89c6-11eb-95c4-8b077ad8489f",
+ },
+ {
+ type: "string",
+ name: "social_security_number",
+ label: "Citizen Service Number",
+ label_i18n: {
+ nl_NL: "Burgerservicenummer (BSN)",
+ en: "Citizen Service Number",
+ },
+ widget: "anastasis_gtk_ia_ssn_nl",
+ uuid: "b6bf1f14-1f85-4afb-af21-f54b88490bdc",
+ "validation-regex": "^[1-9][0-9]{8}$",
+ "validation-logic": "NL_BSN_check",
+ },
+ ],
+ },
sk: {
license: "GPLv3+",
"SPDX-License-Identifier": "GPL3.0-or-later",
@@ -676,42 +762,15 @@ export const anastasisData = {
},
widget: "anastasis_gtk_ia_ssn_us",
uuid: "310a138c-b0b7-4985-b8b8-d00e765e9f9b",
- "validation-regex": "^d{3}-d{2}-d{4}$",
+ "validation-regex": "^[0-9]{3}-[0-9]{2}-[0-9]{4}$",
+ autocomplete: "???-??-????",
},
],
},
xx: {
license: "GPLv3+",
"SPDX-License-Identifier": "GPL3.0-or-later",
- required_attributes: [
- {
- type: "string",
- name: "full_name",
- label: "Full name",
- widget: "anastasis_gtk_ia_full_name",
- uuid: "9e8f463f-575f-42cb-85f3-759559997331",
- },
- {
- type: "date",
- name: "birthdate",
- label: "Birthdate",
- widget: "anastasis_gtk_ia_birthdate",
- uuid: "83d655c7-bdb6-484d-904e-80c1058c8854",
- },
- {
- type: "string",
- name: "sq_number",
- label: "Square number",
- widget: "anastasis_gtk_xx_square",
- uuid: "ed790bca-89bf-11eb-96f2-233996cf644e",
- "validation-regex": "^[0-9]+$",
- "validation-logic": "XX_SQUARE_check",
- },
- ],
- },
- xy: {
- license: "GPLv3+",
- "SPDX-License-Identifier": "GPL3.0-or-later",
+ restricted: "xx",
required_attributes: [
{
type: "string",
@@ -735,6 +794,16 @@ export const anastasisData = {
uuid: "39190a95-cacb-4412-8bae-1f7da3f980b4",
"validation-regex": "^[0-9]+$",
"validation-logic": "XY_PRIME_check",
+ optional: true,
+ },
+ {
+ type: "string",
+ name: "sq_number",
+ label: "Square number",
+ widget: "anastasis_gtk_xx_square",
+ uuid: "ed790bca-89bf-11eb-96f2-233996cf644e",
+ "validation-regex": "^[0-9]+$",
+ "validation-logic": "XX_SQUARE_check",
},
],
},