@incodetech/core 0.0.0-dev-20261201-e37652f8 → 0.0.0-dev-20261201-c0869cdc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/{FaceDetectionProvider-DQYbHLxC.esm.js → FaceDetectionProvider-CEDTLBxf.esm.js} +4 -4
  2. package/dist/{addressSearch-gginelz3.esm.js → addressSearch-Bw456gzP.esm.js} +2 -2
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-BRiJu_rv.esm.js → apiError-9sqVNr8Z.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-CrBlRkAd.esm.js → authenticationManager-Dpe6eish.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-DLwEyCeH.esm.js → authenticationStateMachine-CE2aswQD.esm.js} +3 -3
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-Bow34QP_.d.ts → consentManager-Bx_osBME.d.ts} +13 -13
  10. package/dist/{deepsightCaptureConfig-BVJANeRn.esm.js → deepsightCaptureConfig-B2tbZ2Vp.esm.js} +2 -2
  11. package/dist/{deepsightLoader-C6nKqY9Q.esm.js → deepsightLoader-CpxjdBDn.esm.js} +4 -4
  12. package/dist/{desktopCameraElection-BAq-Kaiq.esm.js → desktopCameraElection-BQa5d1UN.esm.js} +4 -4
  13. package/dist/document-signature.esm.js +1 -1
  14. package/dist/{documentSignatureStateMachine-Btlg3q7j.esm.js → documentSignatureStateMachine-7lDWCoJv.esm.js} +1 -1
  15. package/dist/dynamic-forms.esm.js +2 -2
  16. package/dist/{dynamicFormsManager-SbEUnFoF.esm.js → dynamicFormsManager-CauvOJUq.esm.js} +1 -1
  17. package/dist/{dynamicFormsStateMachine-Dxv36mAP.esm.js → dynamicFormsStateMachine-BMIaq2Z0.esm.js} +1 -1
  18. package/dist/ekyb.esm.js +2 -2
  19. package/dist/{ekybManager-xhoOX9O9.esm.js → ekybManager-V6EDA0qj.esm.js} +1 -1
  20. package/dist/{ekybStateMachine-CCjUH0j3.esm.js → ekybStateMachine-C9jbzhwB.esm.js} +371 -1113
  21. package/dist/ekyc-prefill.d.ts +1 -1
  22. package/dist/ekyc-prefill.esm.js +2 -2
  23. package/dist/ekyc.esm.js +2 -2
  24. package/dist/{ekycManager-DrGuK0kT.esm.js → ekycManager-Y9JjrHvd.esm.js} +1 -1
  25. package/dist/{ekycPrefillManager-C9kdwCC6.esm.js → ekycPrefillManager-DQaDT_Rk.esm.js} +2 -2
  26. package/dist/{ekycPrefillManager-Di6aMx68.d.ts → ekycPrefillManager-Dhy0OG_b.d.ts} +34 -34
  27. package/dist/{ekycPrefillStateMachine-DiQifkkd.esm.js → ekycPrefillStateMachine-BFHdjhlZ.esm.js} +122 -140
  28. package/dist/ekycStateMachine-3FCrYuNv.esm.js +5072 -0
  29. package/dist/electronic-signature.esm.js +1 -1
  30. package/dist/{electronicSignatureManager-C6liTNbu.esm.js → electronicSignatureManager-BHB7Sclu.esm.js} +1 -1
  31. package/dist/extensibility.d.ts +5 -5
  32. package/dist/extensibility.esm.js +13 -13
  33. package/dist/{faceCaptureManagerFactory-OL8BWaIW.esm.js → faceCaptureManagerFactory-BlbO0Dgn.esm.js} +2 -2
  34. package/dist/{faceCaptureSetup-DQVtmb1q.esm.js → faceCaptureSetup-BLE5RXEH.esm.js} +7 -7
  35. package/dist/{feature-management-D_T-MG_i.esm.js → feature-management-ZraOM_Uu.esm.js} +1 -1
  36. package/dist/feature-management.esm.js +1 -1
  37. package/dist/flow.esm.js +3 -3
  38. package/dist/{flowCompletionService-L0J63ui-.esm.js → flowCompletionService-wzRcLeXc.esm.js} +1 -1
  39. package/dist/{flowServices-3OXrEqDE.esm.js → flowServices-DCAeyW6L.esm.js} +4 -4
  40. package/dist/{formErrors-kpskZLNT.esm.js → formErrors-BVC6OSFV.esm.js} +1 -1
  41. package/dist/geolocation.esm.js +2 -2
  42. package/dist/{geolocationManager-CREfQNgO.esm.js → geolocationManager-B_WD0VH8.esm.js} +1 -1
  43. package/dist/{geolocationStateMachine-D9_bBr19.esm.js → geolocationStateMachine-Dc_q5hML.esm.js} +1 -1
  44. package/dist/id-ocr.d.ts +1 -1
  45. package/dist/id-selfie-flow.esm.js +6 -6
  46. package/dist/id.esm.js +3 -3
  47. package/dist/{idCaptureManager-B5ZN7scK.esm.js → idCaptureManager-VhvvQuKJ.esm.js} +4 -4
  48. package/dist/{idCaptureServices-7zZ457LW.esm.js → idCaptureServices-lhavn2k4.esm.js} +2 -2
  49. package/dist/{idCaptureStateMachine-FP4j-qeT.esm.js → idCaptureStateMachine-B8tMRIJP.esm.js} +11 -11
  50. package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-voLpv_jJ.d.ts} +1 -1
  51. package/dist/identity-reuse.d.ts +1 -1
  52. package/dist/{identityReuseManager-BE6LHcuP.d.ts → identityReuseManager-CvQdfhKq.d.ts} +4 -4
  53. package/dist/index.esm.js +1 -1
  54. package/dist/kyb-checks.esm.js +2 -2
  55. package/dist/{kybChecksManager-tUsFKBCN.esm.js → kybChecksManager-BqsFG5r5.esm.js} +1 -1
  56. package/dist/{kybChecksStateMachine-D1q4K7Xr.esm.js → kybChecksStateMachine-YuwBEkNg.esm.js} +3 -3
  57. package/dist/mandatory-consent.d.ts +1 -1
  58. package/dist/{mandatoryConsentManager-De9ZX6o4.d.ts → mandatoryConsentManager-BYjam2YH.d.ts} +9 -9
  59. package/dist/qe-signature.esm.js +1 -1
  60. package/dist/{recordingService-OcyZO_w6.esm.js → recordingService-DwJWzO_3.esm.js} +1 -1
  61. package/dist/{runChildModule-BuZFd3Df.esm.js → runChildModule-BLam7j8s.esm.js} +1 -1
  62. package/dist/{sdkVersion-BY8g-EEL.esm.js → sdkVersion-CdueUO8C.esm.js} +1 -1
  63. package/dist/selfie.esm.js +7 -7
  64. package/dist/{selfieErrorUtils-DIVWh0ih.esm.js → selfieErrorUtils-CueHMVat.esm.js} +1 -1
  65. package/dist/{selfieManager-DQ5xB8y6.esm.js → selfieManager-DZwDoJps.esm.js} +3 -3
  66. package/dist/{selfieStateMachine-fyNh2r31.esm.js → selfieStateMachine-B1OtDQRl.esm.js} +3 -3
  67. package/dist/{session-DKnCv6zu.esm.js → session-Bx_UFrZi.esm.js} +4 -4
  68. package/dist/session.esm.js +4 -4
  69. package/dist/{sessionInitializer-q5b8Qwr3.esm.js → sessionInitializer-ogkILAkt.esm.js} +4 -4
  70. package/dist/{setup-JGwc0kgu.esm.js → setup-CQfozJVU.esm.js} +5 -5
  71. package/dist/{trim-OmrUb6mG.esm.js → trim-JimszAvC.esm.js} +7 -1
  72. package/dist/trueSight-ChfrtmTL.esm.js +1 -0
  73. package/dist/{trueSightService-Dx8AqgKD.esm.js → trueSightService-CINABvZv.esm.js} +1 -1
  74. package/dist/{uppercase-CwlIuiwR.esm.js → uppercase-BShuo-xK.esm.js} +24 -2
  75. package/dist/video-selfie.esm.js +3 -3
  76. package/dist/{videoSelfieCameraWarmer-AoMytGBD.esm.js → videoSelfieCameraWarmer-BsN3VwgP.esm.js} +3 -3
  77. package/dist/wasm.esm.js +1 -1
  78. package/dist/workflow.d.ts +4 -4
  79. package/dist/workflow.esm.js +18 -18
  80. package/package.json +3 -3
  81. package/dist/ekycStateMachine-BmMdLe2G.esm.js +0 -9328
  82. package/dist/trueSight-9VsfHXFt.esm.js +0 -1
@@ -1,19 +1,245 @@
1
1
  import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
3
- import { n as getFlow } from "./flowServices-3OXrEqDE.esm.js";
3
+ import { n as getFlow } from "./flowServices-DCAeyW6L.esm.js";
4
4
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
7
  import { a as requiresAddressValidation, c as ADDRESS_FIELDS, d as TAX_ID_RULES_BY_COUNTRY, f as UBO_FIELD_LABELS, i as isFormFieldEntry, l as FIELD_NAME_MAPPING, n as hasAtLeastOneAddressField, o as sortModulesByOrder, p as collectsUbos, r as isFieldOptional, s as toEkybConfig, u as FIELD_ORDER } from "./ekybUtils-CX-dR5p9.esm.js";
8
+ import { c as expandDefinitions, o as createBundledDefinitionSource, s as matchesCharTemplate } from "./uppercase-BShuo-xK.esm.js";
8
9
  import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
9
10
  import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
10
11
  import { n as requiresCnpjValidation } from "./cnpj-D5cxwIe-.esm.js";
11
- import { a as formatPostalCode, c as getPostalCodeMaxLength, d as fillFromSuggestion, f as getStreetLevelErrorForSuggestion, i as PAYLOAD_TRANSFORMS, l as validatePostalCode, o as getPostalCodeErrorKey, p as keepSuggestionInOptions, r as standardDeps, s as getPostalCodeErrorParams, t as debounceSearchActor, u as STREET_LEVEL_REQUIRED_ERROR } from "./addressSearch-gginelz3.esm.js";
12
- import { a as buildPayload, i as checkSupport, l as DYNAMIC_REQUIRED_KEY, r as resolveForm } from "./trim-OmrUb6mG.esm.js";
13
- import { o as createBundledDefinitionSource, s as matchesCharTemplate } from "./uppercase-CwlIuiwR.esm.js";
12
+ import { a as formatPostalCode, c as getPostalCodeMaxLength, d as fillFromSuggestion, f as getStreetLevelErrorForSuggestion, i as PAYLOAD_TRANSFORMS, l as validatePostalCode, o as getPostalCodeErrorKey, p as keepSuggestionInOptions, r as standardDeps, s as getPostalCodeErrorParams, t as debounceSearchActor, u as STREET_LEVEL_REQUIRED_ERROR } from "./addressSearch-Bw456gzP.esm.js";
13
+ import { a as buildPayload, i as checkSupport, l as DYNAMIC_REQUIRED_KEY, r as resolveForm } from "./trim-JimszAvC.esm.js";
14
14
  import { t as isFormDefinitionsEnabled } from "./formDefinitionsRollout-B-c4yO2z.esm.js";
15
- //#region ../form-definitions/generated/ekyb.ts
16
- const EKYB_DEFINITIONS = {
15
+ const EKYB_DEFINITIONS = /* @__PURE__ */ expandDefinitions([
16
+ {
17
+ name: "businessName",
18
+ kind: "text",
19
+ group: "businessName",
20
+ required: true,
21
+ label: { key: "ekyb.businessName" },
22
+ input: { autofill: "organization" }
23
+ },
24
+ {
25
+ name: "taxId",
26
+ kind: "text",
27
+ group: "taxId",
28
+ required: true,
29
+ label: { key: "ekyb.taxId" },
30
+ rules: [{
31
+ id: "charTemplate",
32
+ params: { templates: ["99999999999", "99-99999999-9"] }
33
+ }]
34
+ },
35
+ {
36
+ name: "street",
37
+ kind: "text",
38
+ group: "address",
39
+ required: true,
40
+ widget: "addressSearch",
41
+ label: { key: "ekyb.street" },
42
+ input: { autofill: "addressLine1" }
43
+ },
44
+ {
45
+ name: "houseNo",
46
+ kind: "text",
47
+ group: "address",
48
+ required: true,
49
+ label: { key: "ekyb.houseNo" }
50
+ },
51
+ {
52
+ name: "addressLine2",
53
+ kind: "text",
54
+ group: "address",
55
+ label: { key: "ekyb.addressLine2" },
56
+ input: { autofill: "addressLine2" }
57
+ },
58
+ {
59
+ name: "city",
60
+ kind: "text",
61
+ group: "address",
62
+ required: true,
63
+ label: { key: "ekyb.city" },
64
+ input: { autofill: "addressLevel2" }
65
+ },
66
+ {
67
+ name: "state",
68
+ kind: "text",
69
+ group: "address",
70
+ required: true,
71
+ label: { key: "ekyb.state" },
72
+ input: { autofill: "addressLevel1" }
73
+ },
74
+ {
75
+ name: "postalCode",
76
+ kind: "text",
77
+ group: "address",
78
+ required: true,
79
+ label: { key: "ekyb.postalCode" },
80
+ input: {
81
+ maxLength: 8,
82
+ autofill: "postalCode"
83
+ },
84
+ rules: [{ id: "postalCodeFormat" }]
85
+ },
86
+ {
87
+ name: "taxId",
88
+ kind: "text",
89
+ group: "taxId",
90
+ required: true,
91
+ label: { key: "ekyb.taxId" },
92
+ displayLabel: {
93
+ key: "verification.labels.cpf",
94
+ text: "CPF"
95
+ },
96
+ rules: [{ id: "cnpj" }]
97
+ },
98
+ {
99
+ name: "postalCode",
100
+ kind: "text",
101
+ group: "address",
102
+ required: true,
103
+ label: { key: "ekyb.postalCode" },
104
+ input: {
105
+ maxLength: 9,
106
+ autofill: "postalCode"
107
+ },
108
+ rules: [{ id: "postalCodeFormat" }]
109
+ },
110
+ {
111
+ name: "taxId",
112
+ kind: "text",
113
+ group: "taxId",
114
+ required: true,
115
+ label: { key: "ekyb.taxId" }
116
+ },
117
+ {
118
+ name: "taxId",
119
+ kind: "text",
120
+ group: "taxId",
121
+ required: true,
122
+ label: { key: "verification.labels.prcId" }
123
+ },
124
+ {
125
+ name: "postalCode",
126
+ kind: "text",
127
+ group: "address",
128
+ required: true,
129
+ label: { key: "ekyb.postalCode" },
130
+ input: {
131
+ maxLength: 6,
132
+ autofill: "postalCode"
133
+ },
134
+ rules: [{ id: "postalCodeFormat" }]
135
+ },
136
+ {
137
+ name: "taxId",
138
+ kind: "text",
139
+ group: "taxId",
140
+ required: true,
141
+ label: { key: "ekyb.taxId" },
142
+ rules: [{
143
+ id: "charTemplate",
144
+ params: { templates: [
145
+ "999999999",
146
+ "9999999999",
147
+ "999999999-9",
148
+ "999.999.999",
149
+ "999.999.999-9"
150
+ ] }
151
+ }]
152
+ },
153
+ {
154
+ name: "postalCode",
155
+ kind: "text",
156
+ group: "address",
157
+ label: { key: "ekyb.postalCode" },
158
+ input: {
159
+ maxLength: 6,
160
+ autofill: "postalCode"
161
+ },
162
+ rules: [{ id: "postalCodeFormat" }]
163
+ },
164
+ {
165
+ name: "postalCode",
166
+ kind: "text",
167
+ group: "address",
168
+ required: true,
169
+ label: { key: "ekyb.postalCode" },
170
+ input: {
171
+ maxLength: 5,
172
+ autofill: "postalCode"
173
+ },
174
+ rules: [{ id: "postalCodeFormat" }]
175
+ },
176
+ {
177
+ name: "postalCode",
178
+ kind: "text",
179
+ group: "address",
180
+ required: true,
181
+ label: { key: "ekyb.postalCode" },
182
+ input: {
183
+ maxLength: 7,
184
+ autofill: "postalCode"
185
+ },
186
+ rules: [{ id: "postalCodeFormat" }]
187
+ },
188
+ {
189
+ name: "taxId",
190
+ kind: "text",
191
+ group: "taxId",
192
+ required: true,
193
+ label: { key: "ekyb.taxId" },
194
+ rules: [{
195
+ id: "charTemplate",
196
+ params: { templates: ["99999999999"] }
197
+ }]
198
+ },
199
+ {
200
+ name: "postalCode",
201
+ kind: "text",
202
+ group: "address",
203
+ label: { key: "ekyb.postalCode" },
204
+ input: {
205
+ maxLength: 5,
206
+ autofill: "postalCode"
207
+ },
208
+ rules: [{ id: "postalCodeFormat" }]
209
+ },
210
+ {
211
+ name: "state",
212
+ kind: "choice",
213
+ group: "address",
214
+ required: true,
215
+ widget: "select",
216
+ label: { key: "ekyb.state" },
217
+ placeholder: { key: "verification.placeholder.state" },
218
+ input: { autofill: "addressLevel1" },
219
+ optionsRef: "US_STATES"
220
+ },
221
+ {
222
+ name: "postalCode",
223
+ kind: "text",
224
+ group: "address",
225
+ required: true,
226
+ label: { key: "ekyb.postalCode" },
227
+ input: {
228
+ maxLength: 10,
229
+ autofill: "postalCode"
230
+ },
231
+ rules: [{ id: "postalCodeFormat" }]
232
+ }
233
+ ], [{
234
+ static: {
235
+ plugins: ["ekyb"],
236
+ uboNames: []
237
+ },
238
+ context: { country: "country" }
239
+ }, {
240
+ static: { plugins: ["ekyb"] },
241
+ context: { country: "country" }
242
+ }], {
17
243
  "ekyb/AR": {
18
244
  schemaVersion: 1,
19
245
  vocabulary: "1.0",
@@ -21,84 +247,16 @@ const EKYB_DEFINITIONS = {
21
247
  module: "ekyb",
22
248
  country: "AR",
23
249
  fields: [
24
- {
25
- name: "businessName",
26
- kind: "text",
27
- group: "businessName",
28
- required: true,
29
- label: { key: "ekyb.businessName" },
30
- input: { autofill: "organization" }
31
- },
32
- {
33
- name: "taxId",
34
- kind: "text",
35
- group: "taxId",
36
- required: true,
37
- label: { key: "ekyb.taxId" },
38
- rules: [{
39
- id: "charTemplate",
40
- params: { templates: ["99999999999", "99-99999999-9"] }
41
- }]
42
- },
43
- {
44
- name: "street",
45
- kind: "text",
46
- group: "address",
47
- required: true,
48
- widget: "addressSearch",
49
- label: { key: "ekyb.street" },
50
- input: { autofill: "addressLine1" }
51
- },
52
- {
53
- name: "houseNo",
54
- kind: "text",
55
- group: "address",
56
- required: true,
57
- label: { key: "ekyb.houseNo" }
58
- },
59
- {
60
- name: "addressLine2",
61
- kind: "text",
62
- group: "address",
63
- label: { key: "ekyb.addressLine2" },
64
- input: { autofill: "addressLine2" }
65
- },
66
- {
67
- name: "city",
68
- kind: "text",
69
- group: "address",
70
- required: true,
71
- label: { key: "ekyb.city" },
72
- input: { autofill: "addressLevel2" }
73
- },
74
- {
75
- name: "state",
76
- kind: "text",
77
- group: "address",
78
- required: true,
79
- label: { key: "ekyb.state" },
80
- input: { autofill: "addressLevel1" }
81
- },
82
- {
83
- name: "postalCode",
84
- kind: "text",
85
- group: "address",
86
- required: true,
87
- label: { key: "ekyb.postalCode" },
88
- input: {
89
- maxLength: 8,
90
- autofill: "postalCode"
91
- },
92
- rules: [{ id: "postalCodeFormat" }]
93
- }
250
+ 0,
251
+ 1,
252
+ 2,
253
+ 3,
254
+ 4,
255
+ 5,
256
+ 6,
257
+ 7
94
258
  ],
95
- submit: {
96
- static: {
97
- plugins: ["ekyb"],
98
- uboNames: []
99
- },
100
- context: { country: "country" }
101
- }
259
+ submit: 0
102
260
  },
103
261
  "ekyb/BR": {
104
262
  schemaVersion: 1,
@@ -107,77 +265,14 @@ const EKYB_DEFINITIONS = {
107
265
  module: "ekyb",
108
266
  country: "BR",
109
267
  fields: [
110
- {
111
- name: "businessName",
112
- kind: "text",
113
- group: "businessName",
114
- required: true,
115
- label: { key: "ekyb.businessName" },
116
- input: { autofill: "organization" }
117
- },
118
- {
119
- name: "taxId",
120
- kind: "text",
121
- group: "taxId",
122
- required: true,
123
- label: { key: "ekyb.taxId" },
124
- displayLabel: {
125
- key: "verification.labels.cpf",
126
- text: "CPF"
127
- },
128
- rules: [{ id: "cnpj" }]
129
- },
130
- {
131
- name: "street",
132
- kind: "text",
133
- group: "address",
134
- required: true,
135
- widget: "addressSearch",
136
- label: { key: "ekyb.street" },
137
- input: { autofill: "addressLine1" }
138
- },
139
- {
140
- name: "houseNo",
141
- kind: "text",
142
- group: "address",
143
- required: true,
144
- label: { key: "ekyb.houseNo" }
145
- },
146
- {
147
- name: "addressLine2",
148
- kind: "text",
149
- group: "address",
150
- label: { key: "ekyb.addressLine2" },
151
- input: { autofill: "addressLine2" }
152
- },
153
- {
154
- name: "city",
155
- kind: "text",
156
- group: "address",
157
- required: true,
158
- label: { key: "ekyb.city" },
159
- input: { autofill: "addressLevel2" }
160
- },
161
- {
162
- name: "state",
163
- kind: "text",
164
- group: "address",
165
- required: true,
166
- label: { key: "ekyb.state" },
167
- input: { autofill: "addressLevel1" }
168
- },
169
- {
170
- name: "postalCode",
171
- kind: "text",
172
- group: "address",
173
- required: true,
174
- label: { key: "ekyb.postalCode" },
175
- input: {
176
- maxLength: 9,
177
- autofill: "postalCode"
178
- },
179
- rules: [{ id: "postalCodeFormat" }]
180
- }
268
+ 0,
269
+ 8,
270
+ 2,
271
+ 3,
272
+ 4,
273
+ 5,
274
+ 6,
275
+ 9
181
276
  ],
182
277
  collections: [{
183
278
  id: "ubos",
@@ -203,10 +298,7 @@ const EKYB_DEFINITIONS = {
203
298
  always: true
204
299
  }
205
300
  }],
206
- submit: {
207
- static: { plugins: ["ekyb"] },
208
- context: { country: "country" }
209
- }
301
+ submit: 1
210
302
  },
211
303
  "ekyb/CM": {
212
304
  schemaVersion: 1,
@@ -216,72 +308,14 @@ const EKYB_DEFINITIONS = {
216
308
  country: "CM",
217
309
  availableIn: ["development", "staging"],
218
310
  fields: [
219
- {
220
- name: "businessName",
221
- kind: "text",
222
- group: "businessName",
223
- required: true,
224
- label: { key: "ekyb.businessName" },
225
- input: { autofill: "organization" }
226
- },
227
- {
228
- name: "taxId",
229
- kind: "text",
230
- group: "taxId",
231
- required: true,
232
- label: { key: "ekyb.taxId" }
233
- },
234
- {
235
- name: "street",
236
- kind: "text",
237
- group: "address",
238
- required: true,
239
- widget: "addressSearch",
240
- label: { key: "ekyb.street" },
241
- input: { autofill: "addressLine1" }
242
- },
243
- {
244
- name: "houseNo",
245
- kind: "text",
246
- group: "address",
247
- required: true,
248
- label: { key: "ekyb.houseNo" }
249
- },
250
- {
251
- name: "addressLine2",
252
- kind: "text",
253
- group: "address",
254
- label: { key: "ekyb.addressLine2" },
255
- input: { autofill: "addressLine2" }
256
- },
257
- {
258
- name: "city",
259
- kind: "text",
260
- group: "address",
261
- required: true,
262
- label: { key: "ekyb.city" },
263
- input: { autofill: "addressLevel2" }
264
- },
265
- {
266
- name: "state",
267
- kind: "text",
268
- group: "address",
269
- required: true,
270
- label: { key: "ekyb.state" },
271
- input: { autofill: "addressLevel1" }
272
- },
273
- {
274
- name: "postalCode",
275
- kind: "text",
276
- group: "address",
277
- required: true,
278
- label: { key: "ekyb.postalCode" },
279
- input: {
280
- maxLength: 8,
281
- autofill: "postalCode"
282
- },
283
- rules: [{ id: "postalCodeFormat" }]
284
- }
311
+ 0,
312
+ 10,
313
+ 2,
314
+ 3,
315
+ 4,
316
+ 5,
317
+ 6,
318
+ 7
285
319
  ],
286
320
  collections: [{
287
321
  id: "ubos",
@@ -307,10 +341,7 @@ const EKYB_DEFINITIONS = {
307
341
  always: true
308
342
  }
309
343
  }],
310
- submit: {
311
- static: { plugins: ["ekyb"] },
312
- context: { country: "country" }
313
- }
344
+ submit: 1
314
345
  },
315
346
  "ekyb/CN": {
316
347
  schemaVersion: 1,
@@ -319,72 +350,14 @@ const EKYB_DEFINITIONS = {
319
350
  module: "ekyb",
320
351
  country: "CN",
321
352
  fields: [
322
- {
323
- name: "businessName",
324
- kind: "text",
325
- group: "businessName",
326
- required: true,
327
- label: { key: "ekyb.businessName" },
328
- input: { autofill: "organization" }
329
- },
330
- {
331
- name: "taxId",
332
- kind: "text",
333
- group: "taxId",
334
- required: true,
335
- label: { key: "verification.labels.prcId" }
336
- },
337
- {
338
- name: "street",
339
- kind: "text",
340
- group: "address",
341
- required: true,
342
- widget: "addressSearch",
343
- label: { key: "ekyb.street" },
344
- input: { autofill: "addressLine1" }
345
- },
346
- {
347
- name: "houseNo",
348
- kind: "text",
349
- group: "address",
350
- required: true,
351
- label: { key: "ekyb.houseNo" }
352
- },
353
- {
354
- name: "addressLine2",
355
- kind: "text",
356
- group: "address",
357
- label: { key: "ekyb.addressLine2" },
358
- input: { autofill: "addressLine2" }
359
- },
360
- {
361
- name: "city",
362
- kind: "text",
363
- group: "address",
364
- required: true,
365
- label: { key: "ekyb.city" },
366
- input: { autofill: "addressLevel2" }
367
- },
368
- {
369
- name: "state",
370
- kind: "text",
371
- group: "address",
372
- required: true,
373
- label: { key: "ekyb.state" },
374
- input: { autofill: "addressLevel1" }
375
- },
376
- {
377
- name: "postalCode",
378
- kind: "text",
379
- group: "address",
380
- required: true,
381
- label: { key: "ekyb.postalCode" },
382
- input: {
383
- maxLength: 6,
384
- autofill: "postalCode"
385
- },
386
- rules: [{ id: "postalCodeFormat" }]
387
- }
353
+ 0,
354
+ 11,
355
+ 2,
356
+ 3,
357
+ 4,
358
+ 5,
359
+ 6,
360
+ 12
388
361
  ],
389
362
  collections: [{
390
363
  id: "ubos",
@@ -410,10 +383,7 @@ const EKYB_DEFINITIONS = {
410
383
  always: true
411
384
  }
412
385
  }],
413
- submit: {
414
- static: { plugins: ["ekyb"] },
415
- context: { country: "country" }
416
- }
386
+ submit: 1
417
387
  },
418
388
  "ekyb/CO": {
419
389
  schemaVersion: 1,
@@ -423,81 +393,14 @@ const EKYB_DEFINITIONS = {
423
393
  country: "CO",
424
394
  availableIn: ["development", "staging"],
425
395
  fields: [
426
- {
427
- name: "businessName",
428
- kind: "text",
429
- group: "businessName",
430
- required: true,
431
- label: { key: "ekyb.businessName" },
432
- input: { autofill: "organization" }
433
- },
434
- {
435
- name: "taxId",
436
- kind: "text",
437
- group: "taxId",
438
- required: true,
439
- label: { key: "ekyb.taxId" },
440
- rules: [{
441
- id: "charTemplate",
442
- params: { templates: [
443
- "999999999",
444
- "9999999999",
445
- "999999999-9",
446
- "999.999.999",
447
- "999.999.999-9"
448
- ] }
449
- }]
450
- },
451
- {
452
- name: "street",
453
- kind: "text",
454
- group: "address",
455
- required: true,
456
- widget: "addressSearch",
457
- label: { key: "ekyb.street" },
458
- input: { autofill: "addressLine1" }
459
- },
460
- {
461
- name: "houseNo",
462
- kind: "text",
463
- group: "address",
464
- required: true,
465
- label: { key: "ekyb.houseNo" }
466
- },
467
- {
468
- name: "addressLine2",
469
- kind: "text",
470
- group: "address",
471
- label: { key: "ekyb.addressLine2" },
472
- input: { autofill: "addressLine2" }
473
- },
474
- {
475
- name: "city",
476
- kind: "text",
477
- group: "address",
478
- required: true,
479
- label: { key: "ekyb.city" },
480
- input: { autofill: "addressLevel2" }
481
- },
482
- {
483
- name: "state",
484
- kind: "text",
485
- group: "address",
486
- required: true,
487
- label: { key: "ekyb.state" },
488
- input: { autofill: "addressLevel1" }
489
- },
490
- {
491
- name: "postalCode",
492
- kind: "text",
493
- group: "address",
494
- label: { key: "ekyb.postalCode" },
495
- input: {
496
- maxLength: 6,
497
- autofill: "postalCode"
498
- },
499
- rules: [{ id: "postalCodeFormat" }]
500
- }
396
+ 0,
397
+ 13,
398
+ 2,
399
+ 3,
400
+ 4,
401
+ 5,
402
+ 6,
403
+ 14
501
404
  ],
502
405
  collections: [{
503
406
  id: "ubos",
@@ -523,10 +426,7 @@ const EKYB_DEFINITIONS = {
523
426
  always: true
524
427
  }
525
428
  }],
526
- submit: {
527
- static: { plugins: ["ekyb"] },
528
- context: { country: "country" }
529
- }
429
+ submit: 1
530
430
  },
531
431
  "ekyb/DE": {
532
432
  schemaVersion: 1,
@@ -535,72 +435,14 @@ const EKYB_DEFINITIONS = {
535
435
  module: "ekyb",
536
436
  country: "DE",
537
437
  fields: [
538
- {
539
- name: "businessName",
540
- kind: "text",
541
- group: "businessName",
542
- required: true,
543
- label: { key: "ekyb.businessName" },
544
- input: { autofill: "organization" }
545
- },
546
- {
547
- name: "taxId",
548
- kind: "text",
549
- group: "taxId",
550
- required: true,
551
- label: { key: "ekyb.taxId" }
552
- },
553
- {
554
- name: "street",
555
- kind: "text",
556
- group: "address",
557
- required: true,
558
- widget: "addressSearch",
559
- label: { key: "ekyb.street" },
560
- input: { autofill: "addressLine1" }
561
- },
562
- {
563
- name: "houseNo",
564
- kind: "text",
565
- group: "address",
566
- required: true,
567
- label: { key: "ekyb.houseNo" }
568
- },
569
- {
570
- name: "addressLine2",
571
- kind: "text",
572
- group: "address",
573
- label: { key: "ekyb.addressLine2" },
574
- input: { autofill: "addressLine2" }
575
- },
576
- {
577
- name: "city",
578
- kind: "text",
579
- group: "address",
580
- required: true,
581
- label: { key: "ekyb.city" },
582
- input: { autofill: "addressLevel2" }
583
- },
584
- {
585
- name: "state",
586
- kind: "text",
587
- group: "address",
588
- required: true,
589
- label: { key: "ekyb.state" },
590
- input: { autofill: "addressLevel1" }
591
- },
592
- {
593
- name: "postalCode",
594
- kind: "text",
595
- group: "address",
596
- required: true,
597
- label: { key: "ekyb.postalCode" },
598
- input: {
599
- maxLength: 5,
600
- autofill: "postalCode"
601
- },
602
- rules: [{ id: "postalCodeFormat" }]
603
- }
438
+ 0,
439
+ 10,
440
+ 2,
441
+ 3,
442
+ 4,
443
+ 5,
444
+ 6,
445
+ 15
604
446
  ],
605
447
  collections: [{
606
448
  id: "ubos",
@@ -626,10 +468,7 @@ const EKYB_DEFINITIONS = {
626
468
  always: true
627
469
  }
628
470
  }],
629
- submit: {
630
- static: { plugins: ["ekyb"] },
631
- context: { country: "country" }
632
- }
471
+ submit: 1
633
472
  },
634
473
  "ekyb/ES": {
635
474
  schemaVersion: 1,
@@ -638,72 +477,14 @@ const EKYB_DEFINITIONS = {
638
477
  module: "ekyb",
639
478
  country: "ES",
640
479
  fields: [
641
- {
642
- name: "businessName",
643
- kind: "text",
644
- group: "businessName",
645
- required: true,
646
- label: { key: "ekyb.businessName" },
647
- input: { autofill: "organization" }
648
- },
649
- {
650
- name: "taxId",
651
- kind: "text",
652
- group: "taxId",
653
- required: true,
654
- label: { key: "ekyb.taxId" }
655
- },
656
- {
657
- name: "street",
658
- kind: "text",
659
- group: "address",
660
- required: true,
661
- widget: "addressSearch",
662
- label: { key: "ekyb.street" },
663
- input: { autofill: "addressLine1" }
664
- },
665
- {
666
- name: "houseNo",
667
- kind: "text",
668
- group: "address",
669
- required: true,
670
- label: { key: "ekyb.houseNo" }
671
- },
672
- {
673
- name: "addressLine2",
674
- kind: "text",
675
- group: "address",
676
- label: { key: "ekyb.addressLine2" },
677
- input: { autofill: "addressLine2" }
678
- },
679
- {
680
- name: "city",
681
- kind: "text",
682
- group: "address",
683
- required: true,
684
- label: { key: "ekyb.city" },
685
- input: { autofill: "addressLevel2" }
686
- },
687
- {
688
- name: "state",
689
- kind: "text",
690
- group: "address",
691
- required: true,
692
- label: { key: "ekyb.state" },
693
- input: { autofill: "addressLevel1" }
694
- },
695
- {
696
- name: "postalCode",
697
- kind: "text",
698
- group: "address",
699
- required: true,
700
- label: { key: "ekyb.postalCode" },
701
- input: {
702
- maxLength: 5,
703
- autofill: "postalCode"
704
- },
705
- rules: [{ id: "postalCodeFormat" }]
706
- }
480
+ 0,
481
+ 10,
482
+ 2,
483
+ 3,
484
+ 4,
485
+ 5,
486
+ 6,
487
+ 15
707
488
  ],
708
489
  collections: [{
709
490
  id: "ubos",
@@ -729,10 +510,7 @@ const EKYB_DEFINITIONS = {
729
510
  always: true
730
511
  }
731
512
  }],
732
- submit: {
733
- static: { plugins: ["ekyb"] },
734
- context: { country: "country" }
735
- }
513
+ submit: 1
736
514
  },
737
515
  "ekyb/FR": {
738
516
  schemaVersion: 1,
@@ -741,72 +519,14 @@ const EKYB_DEFINITIONS = {
741
519
  module: "ekyb",
742
520
  country: "FR",
743
521
  fields: [
744
- {
745
- name: "businessName",
746
- kind: "text",
747
- group: "businessName",
748
- required: true,
749
- label: { key: "ekyb.businessName" },
750
- input: { autofill: "organization" }
751
- },
752
- {
753
- name: "taxId",
754
- kind: "text",
755
- group: "taxId",
756
- required: true,
757
- label: { key: "ekyb.taxId" }
758
- },
759
- {
760
- name: "street",
761
- kind: "text",
762
- group: "address",
763
- required: true,
764
- widget: "addressSearch",
765
- label: { key: "ekyb.street" },
766
- input: { autofill: "addressLine1" }
767
- },
768
- {
769
- name: "houseNo",
770
- kind: "text",
771
- group: "address",
772
- required: true,
773
- label: { key: "ekyb.houseNo" }
774
- },
775
- {
776
- name: "addressLine2",
777
- kind: "text",
778
- group: "address",
779
- label: { key: "ekyb.addressLine2" },
780
- input: { autofill: "addressLine2" }
781
- },
782
- {
783
- name: "city",
784
- kind: "text",
785
- group: "address",
786
- required: true,
787
- label: { key: "ekyb.city" },
788
- input: { autofill: "addressLevel2" }
789
- },
790
- {
791
- name: "state",
792
- kind: "text",
793
- group: "address",
794
- required: true,
795
- label: { key: "ekyb.state" },
796
- input: { autofill: "addressLevel1" }
797
- },
798
- {
799
- name: "postalCode",
800
- kind: "text",
801
- group: "address",
802
- required: true,
803
- label: { key: "ekyb.postalCode" },
804
- input: {
805
- maxLength: 5,
806
- autofill: "postalCode"
807
- },
808
- rules: [{ id: "postalCodeFormat" }]
809
- }
522
+ 0,
523
+ 10,
524
+ 2,
525
+ 3,
526
+ 4,
527
+ 5,
528
+ 6,
529
+ 15
810
530
  ],
811
531
  collections: [{
812
532
  id: "ubos",
@@ -832,10 +552,7 @@ const EKYB_DEFINITIONS = {
832
552
  always: true
833
553
  }
834
554
  }],
835
- submit: {
836
- static: { plugins: ["ekyb"] },
837
- context: { country: "country" }
838
- }
555
+ submit: 1
839
556
  },
840
557
  "ekyb/GB": {
841
558
  schemaVersion: 1,
@@ -844,64 +561,13 @@ const EKYB_DEFINITIONS = {
844
561
  module: "ekyb",
845
562
  country: "GB",
846
563
  fields: [
847
- {
848
- name: "businessName",
849
- kind: "text",
850
- group: "businessName",
851
- required: true,
852
- label: { key: "ekyb.businessName" },
853
- input: { autofill: "organization" }
854
- },
855
- {
856
- name: "taxId",
857
- kind: "text",
858
- group: "taxId",
859
- required: true,
860
- label: { key: "ekyb.taxId" }
861
- },
862
- {
863
- name: "street",
864
- kind: "text",
865
- group: "address",
866
- required: true,
867
- widget: "addressSearch",
868
- label: { key: "ekyb.street" },
869
- input: { autofill: "addressLine1" }
870
- },
871
- {
872
- name: "houseNo",
873
- kind: "text",
874
- group: "address",
875
- required: true,
876
- label: { key: "ekyb.houseNo" }
877
- },
878
- {
879
- name: "addressLine2",
880
- kind: "text",
881
- group: "address",
882
- label: { key: "ekyb.addressLine2" },
883
- input: { autofill: "addressLine2" }
884
- },
885
- {
886
- name: "city",
887
- kind: "text",
888
- group: "address",
889
- required: true,
890
- label: { key: "ekyb.city" },
891
- input: { autofill: "addressLevel2" }
892
- },
893
- {
894
- name: "postalCode",
895
- kind: "text",
896
- group: "address",
897
- required: true,
898
- label: { key: "ekyb.postalCode" },
899
- input: {
900
- maxLength: 8,
901
- autofill: "postalCode"
902
- },
903
- rules: [{ id: "postalCodeFormat" }]
904
- }
564
+ 0,
565
+ 10,
566
+ 2,
567
+ 3,
568
+ 4,
569
+ 5,
570
+ 7
905
571
  ],
906
572
  collections: [{
907
573
  id: "ubos",
@@ -927,10 +593,7 @@ const EKYB_DEFINITIONS = {
927
593
  always: true
928
594
  }
929
595
  }],
930
- submit: {
931
- static: { plugins: ["ekyb"] },
932
- context: { country: "country" }
933
- }
596
+ submit: 1
934
597
  },
935
598
  "ekyb/IL": {
936
599
  schemaVersion: 1,
@@ -939,72 +602,14 @@ const EKYB_DEFINITIONS = {
939
602
  module: "ekyb",
940
603
  country: "IL",
941
604
  fields: [
942
- {
943
- name: "businessName",
944
- kind: "text",
945
- group: "businessName",
946
- required: true,
947
- label: { key: "ekyb.businessName" },
948
- input: { autofill: "organization" }
949
- },
950
- {
951
- name: "taxId",
952
- kind: "text",
953
- group: "taxId",
954
- required: true,
955
- label: { key: "ekyb.taxId" }
956
- },
957
- {
958
- name: "street",
959
- kind: "text",
960
- group: "address",
961
- required: true,
962
- widget: "addressSearch",
963
- label: { key: "ekyb.street" },
964
- input: { autofill: "addressLine1" }
965
- },
966
- {
967
- name: "houseNo",
968
- kind: "text",
969
- group: "address",
970
- required: true,
971
- label: { key: "ekyb.houseNo" }
972
- },
973
- {
974
- name: "addressLine2",
975
- kind: "text",
976
- group: "address",
977
- label: { key: "ekyb.addressLine2" },
978
- input: { autofill: "addressLine2" }
979
- },
980
- {
981
- name: "city",
982
- kind: "text",
983
- group: "address",
984
- required: true,
985
- label: { key: "ekyb.city" },
986
- input: { autofill: "addressLevel2" }
987
- },
988
- {
989
- name: "state",
990
- kind: "text",
991
- group: "address",
992
- required: true,
993
- label: { key: "ekyb.state" },
994
- input: { autofill: "addressLevel1" }
995
- },
996
- {
997
- name: "postalCode",
998
- kind: "text",
999
- group: "address",
1000
- required: true,
1001
- label: { key: "ekyb.postalCode" },
1002
- input: {
1003
- maxLength: 7,
1004
- autofill: "postalCode"
1005
- },
1006
- rules: [{ id: "postalCodeFormat" }]
1007
- }
605
+ 0,
606
+ 10,
607
+ 2,
608
+ 3,
609
+ 4,
610
+ 5,
611
+ 6,
612
+ 16
1008
613
  ],
1009
614
  collections: [{
1010
615
  id: "ubos",
@@ -1030,10 +635,7 @@ const EKYB_DEFINITIONS = {
1030
635
  always: true
1031
636
  }
1032
637
  }],
1033
- submit: {
1034
- static: { plugins: ["ekyb"] },
1035
- context: { country: "country" }
1036
- }
638
+ submit: 1
1037
639
  },
1038
640
  "ekyb/IT": {
1039
641
  schemaVersion: 1,
@@ -1042,72 +644,14 @@ const EKYB_DEFINITIONS = {
1042
644
  module: "ekyb",
1043
645
  country: "IT",
1044
646
  fields: [
1045
- {
1046
- name: "businessName",
1047
- kind: "text",
1048
- group: "businessName",
1049
- required: true,
1050
- label: { key: "ekyb.businessName" },
1051
- input: { autofill: "organization" }
1052
- },
1053
- {
1054
- name: "taxId",
1055
- kind: "text",
1056
- group: "taxId",
1057
- required: true,
1058
- label: { key: "ekyb.taxId" }
1059
- },
1060
- {
1061
- name: "street",
1062
- kind: "text",
1063
- group: "address",
1064
- required: true,
1065
- widget: "addressSearch",
1066
- label: { key: "ekyb.street" },
1067
- input: { autofill: "addressLine1" }
1068
- },
1069
- {
1070
- name: "houseNo",
1071
- kind: "text",
1072
- group: "address",
1073
- required: true,
1074
- label: { key: "ekyb.houseNo" }
1075
- },
1076
- {
1077
- name: "addressLine2",
1078
- kind: "text",
1079
- group: "address",
1080
- label: { key: "ekyb.addressLine2" },
1081
- input: { autofill: "addressLine2" }
1082
- },
1083
- {
1084
- name: "city",
1085
- kind: "text",
1086
- group: "address",
1087
- required: true,
1088
- label: { key: "ekyb.city" },
1089
- input: { autofill: "addressLevel2" }
1090
- },
1091
- {
1092
- name: "state",
1093
- kind: "text",
1094
- group: "address",
1095
- required: true,
1096
- label: { key: "ekyb.state" },
1097
- input: { autofill: "addressLevel1" }
1098
- },
1099
- {
1100
- name: "postalCode",
1101
- kind: "text",
1102
- group: "address",
1103
- required: true,
1104
- label: { key: "ekyb.postalCode" },
1105
- input: {
1106
- maxLength: 5,
1107
- autofill: "postalCode"
1108
- },
1109
- rules: [{ id: "postalCodeFormat" }]
1110
- }
647
+ 0,
648
+ 10,
649
+ 2,
650
+ 3,
651
+ 4,
652
+ 5,
653
+ 6,
654
+ 15
1111
655
  ],
1112
656
  collections: [{
1113
657
  id: "ubos",
@@ -1133,10 +677,7 @@ const EKYB_DEFINITIONS = {
1133
677
  always: true
1134
678
  }
1135
679
  }],
1136
- submit: {
1137
- static: { plugins: ["ekyb"] },
1138
- context: { country: "country" }
1139
- }
680
+ submit: 1
1140
681
  },
1141
682
  "ekyb/KE": {
1142
683
  schemaVersion: 1,
@@ -1146,72 +687,14 @@ const EKYB_DEFINITIONS = {
1146
687
  country: "KE",
1147
688
  availableIn: ["development", "staging"],
1148
689
  fields: [
1149
- {
1150
- name: "businessName",
1151
- kind: "text",
1152
- group: "businessName",
1153
- required: true,
1154
- label: { key: "ekyb.businessName" },
1155
- input: { autofill: "organization" }
1156
- },
1157
- {
1158
- name: "taxId",
1159
- kind: "text",
1160
- group: "taxId",
1161
- required: true,
1162
- label: { key: "ekyb.taxId" }
1163
- },
1164
- {
1165
- name: "street",
1166
- kind: "text",
1167
- group: "address",
1168
- required: true,
1169
- widget: "addressSearch",
1170
- label: { key: "ekyb.street" },
1171
- input: { autofill: "addressLine1" }
1172
- },
1173
- {
1174
- name: "houseNo",
1175
- kind: "text",
1176
- group: "address",
1177
- required: true,
1178
- label: { key: "ekyb.houseNo" }
1179
- },
1180
- {
1181
- name: "addressLine2",
1182
- kind: "text",
1183
- group: "address",
1184
- label: { key: "ekyb.addressLine2" },
1185
- input: { autofill: "addressLine2" }
1186
- },
1187
- {
1188
- name: "city",
1189
- kind: "text",
1190
- group: "address",
1191
- required: true,
1192
- label: { key: "ekyb.city" },
1193
- input: { autofill: "addressLevel2" }
1194
- },
1195
- {
1196
- name: "state",
1197
- kind: "text",
1198
- group: "address",
1199
- required: true,
1200
- label: { key: "ekyb.state" },
1201
- input: { autofill: "addressLevel1" }
1202
- },
1203
- {
1204
- name: "postalCode",
1205
- kind: "text",
1206
- group: "address",
1207
- required: true,
1208
- label: { key: "ekyb.postalCode" },
1209
- input: {
1210
- maxLength: 5,
1211
- autofill: "postalCode"
1212
- },
1213
- rules: [{ id: "postalCodeFormat" }]
1214
- }
690
+ 0,
691
+ 10,
692
+ 2,
693
+ 3,
694
+ 4,
695
+ 5,
696
+ 6,
697
+ 15
1215
698
  ],
1216
699
  collections: [{
1217
700
  id: "ubos",
@@ -1237,10 +720,7 @@ const EKYB_DEFINITIONS = {
1237
720
  always: true
1238
721
  }
1239
722
  }],
1240
- submit: {
1241
- static: { plugins: ["ekyb"] },
1242
- context: { country: "country" }
1243
- }
723
+ submit: 1
1244
724
  },
1245
725
  "ekyb/MX": {
1246
726
  schemaVersion: 1,
@@ -1249,41 +729,11 @@ const EKYB_DEFINITIONS = {
1249
729
  module: "ekyb",
1250
730
  country: "MX",
1251
731
  fields: [
1252
- {
1253
- name: "businessName",
1254
- kind: "text",
1255
- group: "businessName",
1256
- required: true,
1257
- label: { key: "ekyb.businessName" },
1258
- input: { autofill: "organization" }
1259
- },
1260
- {
1261
- name: "taxId",
1262
- kind: "text",
1263
- group: "taxId",
1264
- required: true,
1265
- label: { key: "ekyb.taxId" }
1266
- },
1267
- {
1268
- name: "postalCode",
1269
- kind: "text",
1270
- group: "address",
1271
- required: true,
1272
- label: { key: "ekyb.postalCode" },
1273
- input: {
1274
- maxLength: 5,
1275
- autofill: "postalCode"
1276
- },
1277
- rules: [{ id: "postalCodeFormat" }]
1278
- }
732
+ 0,
733
+ 10,
734
+ 15
1279
735
  ],
1280
- submit: {
1281
- static: {
1282
- plugins: ["ekyb"],
1283
- uboNames: []
1284
- },
1285
- context: { country: "country" }
1286
- }
736
+ submit: 0
1287
737
  },
1288
738
  "ekyb/NG": {
1289
739
  schemaVersion: 1,
@@ -1293,72 +743,14 @@ const EKYB_DEFINITIONS = {
1293
743
  country: "NG",
1294
744
  availableIn: ["development", "staging"],
1295
745
  fields: [
1296
- {
1297
- name: "businessName",
1298
- kind: "text",
1299
- group: "businessName",
1300
- required: true,
1301
- label: { key: "ekyb.businessName" },
1302
- input: { autofill: "organization" }
1303
- },
1304
- {
1305
- name: "taxId",
1306
- kind: "text",
1307
- group: "taxId",
1308
- required: true,
1309
- label: { key: "ekyb.taxId" }
1310
- },
1311
- {
1312
- name: "street",
1313
- kind: "text",
1314
- group: "address",
1315
- required: true,
1316
- widget: "addressSearch",
1317
- label: { key: "ekyb.street" },
1318
- input: { autofill: "addressLine1" }
1319
- },
1320
- {
1321
- name: "houseNo",
1322
- kind: "text",
1323
- group: "address",
1324
- required: true,
1325
- label: { key: "ekyb.houseNo" }
1326
- },
1327
- {
1328
- name: "addressLine2",
1329
- kind: "text",
1330
- group: "address",
1331
- label: { key: "ekyb.addressLine2" },
1332
- input: { autofill: "addressLine2" }
1333
- },
1334
- {
1335
- name: "city",
1336
- kind: "text",
1337
- group: "address",
1338
- required: true,
1339
- label: { key: "ekyb.city" },
1340
- input: { autofill: "addressLevel2" }
1341
- },
1342
- {
1343
- name: "state",
1344
- kind: "text",
1345
- group: "address",
1346
- required: true,
1347
- label: { key: "ekyb.state" },
1348
- input: { autofill: "addressLevel1" }
1349
- },
1350
- {
1351
- name: "postalCode",
1352
- kind: "text",
1353
- group: "address",
1354
- required: true,
1355
- label: { key: "ekyb.postalCode" },
1356
- input: {
1357
- maxLength: 6,
1358
- autofill: "postalCode"
1359
- },
1360
- rules: [{ id: "postalCodeFormat" }]
1361
- }
746
+ 0,
747
+ 10,
748
+ 2,
749
+ 3,
750
+ 4,
751
+ 5,
752
+ 6,
753
+ 12
1362
754
  ],
1363
755
  collections: [{
1364
756
  id: "ubos",
@@ -1384,10 +776,7 @@ const EKYB_DEFINITIONS = {
1384
776
  always: true
1385
777
  }
1386
778
  }],
1387
- submit: {
1388
- static: { plugins: ["ekyb"] },
1389
- context: { country: "country" }
1390
- }
779
+ submit: 1
1391
780
  },
1392
781
  "ekyb/PE": {
1393
782
  schemaVersion: 1,
@@ -1396,83 +785,16 @@ const EKYB_DEFINITIONS = {
1396
785
  module: "ekyb",
1397
786
  country: "PE",
1398
787
  fields: [
1399
- {
1400
- name: "businessName",
1401
- kind: "text",
1402
- group: "businessName",
1403
- required: true,
1404
- label: { key: "ekyb.businessName" },
1405
- input: { autofill: "organization" }
1406
- },
1407
- {
1408
- name: "taxId",
1409
- kind: "text",
1410
- group: "taxId",
1411
- required: true,
1412
- label: { key: "ekyb.taxId" },
1413
- rules: [{
1414
- id: "charTemplate",
1415
- params: { templates: ["99999999999"] }
1416
- }]
1417
- },
1418
- {
1419
- name: "street",
1420
- kind: "text",
1421
- group: "address",
1422
- required: true,
1423
- widget: "addressSearch",
1424
- label: { key: "ekyb.street" },
1425
- input: { autofill: "addressLine1" }
1426
- },
1427
- {
1428
- name: "houseNo",
1429
- kind: "text",
1430
- group: "address",
1431
- required: true,
1432
- label: { key: "ekyb.houseNo" }
1433
- },
1434
- {
1435
- name: "addressLine2",
1436
- kind: "text",
1437
- group: "address",
1438
- label: { key: "ekyb.addressLine2" },
1439
- input: { autofill: "addressLine2" }
1440
- },
1441
- {
1442
- name: "city",
1443
- kind: "text",
1444
- group: "address",
1445
- required: true,
1446
- label: { key: "ekyb.city" },
1447
- input: { autofill: "addressLevel2" }
1448
- },
1449
- {
1450
- name: "state",
1451
- kind: "text",
1452
- group: "address",
1453
- required: true,
1454
- label: { key: "ekyb.state" },
1455
- input: { autofill: "addressLevel1" }
1456
- },
1457
- {
1458
- name: "postalCode",
1459
- kind: "text",
1460
- group: "address",
1461
- label: { key: "ekyb.postalCode" },
1462
- input: {
1463
- maxLength: 5,
1464
- autofill: "postalCode"
1465
- },
1466
- rules: [{ id: "postalCodeFormat" }]
1467
- }
788
+ 0,
789
+ 17,
790
+ 2,
791
+ 3,
792
+ 4,
793
+ 5,
794
+ 6,
795
+ 18
1468
796
  ],
1469
- submit: {
1470
- static: {
1471
- plugins: ["ekyb"],
1472
- uboNames: []
1473
- },
1474
- context: { country: "country" }
1475
- }
797
+ submit: 0
1476
798
  },
1477
799
  "ekyb/US": {
1478
800
  schemaVersion: 1,
@@ -1481,75 +803,14 @@ const EKYB_DEFINITIONS = {
1481
803
  module: "ekyb",
1482
804
  country: "US",
1483
805
  fields: [
1484
- {
1485
- name: "businessName",
1486
- kind: "text",
1487
- group: "businessName",
1488
- required: true,
1489
- label: { key: "ekyb.businessName" },
1490
- input: { autofill: "organization" }
1491
- },
1492
- {
1493
- name: "taxId",
1494
- kind: "text",
1495
- group: "taxId",
1496
- required: true,
1497
- label: { key: "ekyb.taxId" }
1498
- },
1499
- {
1500
- name: "street",
1501
- kind: "text",
1502
- group: "address",
1503
- required: true,
1504
- widget: "addressSearch",
1505
- label: { key: "ekyb.street" },
1506
- input: { autofill: "addressLine1" }
1507
- },
1508
- {
1509
- name: "houseNo",
1510
- kind: "text",
1511
- group: "address",
1512
- required: true,
1513
- label: { key: "ekyb.houseNo" }
1514
- },
1515
- {
1516
- name: "addressLine2",
1517
- kind: "text",
1518
- group: "address",
1519
- label: { key: "ekyb.addressLine2" },
1520
- input: { autofill: "addressLine2" }
1521
- },
1522
- {
1523
- name: "city",
1524
- kind: "text",
1525
- group: "address",
1526
- required: true,
1527
- label: { key: "ekyb.city" },
1528
- input: { autofill: "addressLevel2" }
1529
- },
1530
- {
1531
- name: "state",
1532
- kind: "choice",
1533
- group: "address",
1534
- required: true,
1535
- widget: "select",
1536
- label: { key: "ekyb.state" },
1537
- placeholder: { key: "verification.placeholder.state" },
1538
- input: { autofill: "addressLevel1" },
1539
- optionsRef: "US_STATES"
1540
- },
1541
- {
1542
- name: "postalCode",
1543
- kind: "text",
1544
- group: "address",
1545
- required: true,
1546
- label: { key: "ekyb.postalCode" },
1547
- input: {
1548
- maxLength: 10,
1549
- autofill: "postalCode"
1550
- },
1551
- rules: [{ id: "postalCodeFormat" }]
1552
- }
806
+ 0,
807
+ 10,
808
+ 2,
809
+ 3,
810
+ 4,
811
+ 5,
812
+ 19,
813
+ 20
1553
814
  ],
1554
815
  collections: [{
1555
816
  id: "ubos",
@@ -1575,12 +836,9 @@ const EKYB_DEFINITIONS = {
1575
836
  always: true
1576
837
  }
1577
838
  }],
1578
- submit: {
1579
- static: { plugins: ["ekyb"] },
1580
- context: { country: "country" }
1581
- }
839
+ submit: 1
1582
840
  }
1583
- };
841
+ });
1584
842
  //#endregion
1585
843
  //#region src/modules/ekyb/ekybCountries.ts
1586
844
  function isTwoLetterCode(code) {