finamaze_schema 1.56.0 → 1.58.0

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.
@@ -0,0 +1,1927 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Version101753000000000 = void 0;
4
+ const onboardingSchema = {
5
+ id: "snb-standard-onboarding-v1",
6
+ name: "SNB Standard Onboarding",
7
+ version: "1.0.0",
8
+ status: "active",
9
+ description: "Standard onboarding flow for SNB customers with complete personal and financial information collection",
10
+ total_steps: 5,
11
+ steps: [
12
+ {
13
+ id: "30e9756c-83d3-4113-99c8-29ef92ab16a9",
14
+ order: 1,
15
+ title_en: "Personal Details",
16
+ title_ar: "البيانات الشخصية",
17
+ step_description_en: "Tell us who you are to get started.",
18
+ step_description_ar: "أخبرنا من أنت للبدء.",
19
+ substeps: [
20
+ {
21
+ id: "64260328-29d7-47d0-98ed-765b660dfe80",
22
+ order: 1,
23
+ title_en: "Main Information",
24
+ title_ar: "المعلومات الرئيسية",
25
+ groups: [
26
+ {
27
+ id: "dcf0ade1-96cf-43ae-9298-81addc3de5ea",
28
+ order: 1,
29
+ type: "group",
30
+ title_en: "Personal Information",
31
+ title_ar: "المعلومات الشخصية",
32
+ questions: [
33
+ {
34
+ id: "e34d9027-ea13-4865-8d90-fd8711158a13",
35
+ label_en: "Title",
36
+ label_ar: "اللقب",
37
+ type: "text",
38
+ required: false,
39
+ metadata: {
40
+ prefilled: true,
41
+ source: "SNB",
42
+ editable: false,
43
+ readonlyReason: "Managed by SNBC bank system."
44
+ }
45
+ },
46
+ {
47
+ id: "58fc1bc7-ce6e-418a-8dcb-0f4f4b9d159c",
48
+ label_en: "Full name",
49
+ label_ar: "الاسم الكامل",
50
+ type: "text",
51
+ required: true,
52
+ metadata: {
53
+ prefilled: true,
54
+ source: "SNB",
55
+ editable: false,
56
+ readonlyReason: "Managed by SNBC bank system."
57
+ }
58
+ },
59
+ {
60
+ id: "041119b2-55de-4d69-a04c-4854c98c220a",
61
+ label_en: "Nationality",
62
+ label_ar: "الجنسية",
63
+ type: "text",
64
+ required: true,
65
+ metadata: {
66
+ prefilled: true,
67
+ source: "SNB",
68
+ editable: false,
69
+ readonlyReason: "Managed by SNBC bank system."
70
+ }
71
+ },
72
+ {
73
+ id: "c8deb53c-793e-4782-a642-19bea2914706",
74
+ label_en: "Gender",
75
+ label_ar: "الجنس",
76
+ type: "single_choice",
77
+ required: true,
78
+ metadata: {
79
+ prefilled: true,
80
+ source: "SNB",
81
+ editable: false,
82
+ readonlyReason: "Managed by SNBC bank system."
83
+ }
84
+ },
85
+ {
86
+ id: "03b2724b-0576-45e3-a413-3b49eaa309cd",
87
+ label_en: "Marital Status",
88
+ label_ar: "الحالة الاجتماعية",
89
+ type: "single_choice",
90
+ required: false,
91
+ metadata: {
92
+ prefilled: true,
93
+ source: "SNB",
94
+ editable: false,
95
+ readonlyReason: "Managed by SNBC bank system."
96
+ }
97
+ },
98
+ {
99
+ id: "99fe9bf1-72ca-47a0-9408-53bc6f635b8d",
100
+ label_en: "Number of dependents",
101
+ label_ar: "عدد المعالين",
102
+ type: "number",
103
+ required: false,
104
+ metadata: {
105
+ prefilled: true,
106
+ source: "SNB",
107
+ editable: false,
108
+ readonlyReason: "Managed by SNBC bank system."
109
+ }
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ id: "4ad41b2e-244c-42ee-b957-6760798aaf35",
115
+ order: 2,
116
+ type: "group",
117
+ title_en: "Main Document",
118
+ title_ar: "الوثيقة الرئيسية",
119
+ questions: [
120
+ {
121
+ id: "8bc20623-24e8-4582-961d-1b98b711e6d2",
122
+ label_en: "Main ID Type",
123
+ label_ar: "نوع الهوية الرئيسية",
124
+ type: "text",
125
+ required: true,
126
+ metadata: {
127
+ prefilled: true,
128
+ source: "SNB",
129
+ editable: false,
130
+ readonlyReason: "Managed by SNBC bank system."
131
+ }
132
+ },
133
+ {
134
+ id: "19861518-52fb-4c4e-9421-c2c6aaf450df",
135
+ label_en: "Main ID Number",
136
+ label_ar: "رقم الهوية الرئيسية",
137
+ type: "text",
138
+ required: true,
139
+ metadata: {
140
+ prefilled: true,
141
+ source: "SNB",
142
+ editable: false,
143
+ readonlyReason: "Managed by SNBC bank system."
144
+ }
145
+ },
146
+ {
147
+ id: "16ff79fd-dca4-4252-92b1-d3787323e726",
148
+ label_en: "Date of Issue",
149
+ label_ar: "تاريخ الإصدار",
150
+ type: "text",
151
+ required: true,
152
+ metadata: {
153
+ prefilled: true,
154
+ source: "SNB",
155
+ editable: false,
156
+ readonlyReason: "Managed by SNBC bank system."
157
+ }
158
+ },
159
+ {
160
+ id: "6065a4b1-3a18-49e4-bfc9-42613f9b8e30",
161
+ label_en: "Expiry Date",
162
+ label_ar: "تاريخ الانتهاء",
163
+ type: "text",
164
+ required: true,
165
+ metadata: {
166
+ prefilled: true,
167
+ source: "SNB",
168
+ editable: false,
169
+ readonlyReason: "Managed by SNBC bank system."
170
+ }
171
+ },
172
+ {
173
+ id: "161a66c5-a846-44f8-b507-97d85087e7b4",
174
+ label_en: "Place of Issue",
175
+ label_ar: "مكان الإصدار",
176
+ type: "text",
177
+ required: false,
178
+ metadata: {
179
+ prefilled: true,
180
+ source: "SNB",
181
+ editable: false,
182
+ readonlyReason: "Managed by SNBC bank system."
183
+ }
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ id: "52825fe1-10e4-4b12-9a18-48b06f58b285",
189
+ order: 3,
190
+ type: "group",
191
+ title_en: "Birth Data",
192
+ title_ar: "معلومات الميلاد",
193
+ questions: [
194
+ {
195
+ id: "cb5c8fd4-1a08-467a-a83c-014e4ee98e8e",
196
+ label_en: "Date of Birth",
197
+ label_ar: "تاريخ الميلاد",
198
+ type: "text",
199
+ required: true,
200
+ metadata: {
201
+ prefilled: true,
202
+ source: "SNB",
203
+ editable: false,
204
+ readonlyReason: "Managed by SNBC bank system."
205
+ }
206
+ },
207
+ {
208
+ id: "a7eb9510-873f-4587-b145-2e71d19b8916",
209
+ label_en: "Country of Birth",
210
+ label_ar: "بلد الميلاد",
211
+ type: "text",
212
+ required: true,
213
+ metadata: {
214
+ prefilled: true,
215
+ source: "SNB",
216
+ editable: false,
217
+ readonlyReason: "Managed by SNBC bank system."
218
+ }
219
+ },
220
+ {
221
+ id: "0cf0a8bb-f654-4ae5-843f-ff770b65f89b",
222
+ label_en: "Place of Birth",
223
+ label_ar: "مكان الميلاد",
224
+ type: "text",
225
+ required: true,
226
+ metadata: {
227
+ prefilled: true,
228
+ source: "SNB",
229
+ editable: false,
230
+ readonlyReason: "Managed by SNBC bank system."
231
+ }
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ id: "9c19a6bc-6637-47b2-941e-d3d1f8412d07",
237
+ order: 4,
238
+ type: "group",
239
+ title_en: "Home Address",
240
+ title_ar: "عنوان المنزل",
241
+ questions: [
242
+ {
243
+ id: "38e0e4b7-760a-426f-a214-652feab5e604",
244
+ label_en: "Type",
245
+ label_ar: "النوع",
246
+ type: "text",
247
+ required: false,
248
+ metadata: {
249
+ prefilled: true,
250
+ source: "SNB",
251
+ editable: false
252
+ }
253
+ },
254
+ {
255
+ id: "cca333f4-bf58-4a6b-91e9-34cd226ba5e0",
256
+ label_en: "Basic Number",
257
+ label_ar: "الرقم الأساسي",
258
+ type: "text",
259
+ required: true,
260
+ metadata: {
261
+ prefilled: true,
262
+ source: "SNB",
263
+ editable: false
264
+ }
265
+ },
266
+ {
267
+ id: "0cc7b427-a0d1-4c9b-b030-081010774c91",
268
+ label_en: "Street",
269
+ label_ar: "الشارع",
270
+ type: "text",
271
+ required: false,
272
+ metadata: {
273
+ prefilled: true,
274
+ source: "SNB",
275
+ editable: false
276
+ }
277
+ },
278
+ {
279
+ id: "09f10860-a4e6-4f48-9285-84be35caaa15",
280
+ label_en: "Unit Number",
281
+ label_ar: "رقم الوحدة",
282
+ type: "text",
283
+ required: false,
284
+ metadata: {
285
+ prefilled: true,
286
+ source: "SNB",
287
+ editable: false
288
+ }
289
+ },
290
+ {
291
+ id: "308c37c2-3616-4878-97e2-b213be265bff",
292
+ label_en: "Country",
293
+ label_ar: "الدولة",
294
+ type: "text",
295
+ required: true,
296
+ metadata: {
297
+ prefilled: true,
298
+ source: "SNB",
299
+ editable: false
300
+ }
301
+ },
302
+ {
303
+ id: "52f1a16f-b430-4968-9afa-79e56f5901b9",
304
+ label_en: "City",
305
+ label_ar: "المدينة",
306
+ type: "text",
307
+ required: true,
308
+ metadata: {
309
+ prefilled: true,
310
+ source: "SNB",
311
+ editable: false
312
+ }
313
+ },
314
+ {
315
+ id: "94c31045-fa18-44e3-b4d4-956cded1c2e5",
316
+ label_en: "District",
317
+ label_ar: "الحي",
318
+ type: "text",
319
+ required: false,
320
+ metadata: {
321
+ prefilled: true,
322
+ source: "SNB",
323
+ editable: false
324
+ }
325
+ },
326
+ {
327
+ id: "d3789d9f-23b4-49bd-8e54-4bef843dadb7",
328
+ label_en: "P.O. Box",
329
+ label_ar: "صندوق البريد",
330
+ type: "text",
331
+ required: false,
332
+ metadata: {
333
+ prefilled: true,
334
+ source: "SNB",
335
+ editable: false
336
+ }
337
+ },
338
+ {
339
+ id: "cd980cec-3030-48da-a711-f1b22d8c9d2d",
340
+ label_en: "Postal Code",
341
+ label_ar: "الرمز البريدي",
342
+ type: "text",
343
+ required: false,
344
+ metadata: {
345
+ prefilled: true,
346
+ source: "SNB",
347
+ editable: false
348
+ }
349
+ },
350
+ {
351
+ id: "db37e35a-5e34-4e39-b295-0d5a3b26c28e",
352
+ label_en: "Internal Mail",
353
+ label_ar: "البريد الداخلي",
354
+ type: "text",
355
+ required: false,
356
+ metadata: {
357
+ prefilled: true,
358
+ source: "SNB",
359
+ editable: false
360
+ }
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ id: "82e98f4d-bab8-48c9-b42f-c2d77c887608",
366
+ order: 5,
367
+ type: "group",
368
+ title_en: "Contact Information",
369
+ title_ar: "معلومات الاتصال",
370
+ questions: [
371
+ {
372
+ id: "9292ad53-bf69-4687-af77-6494c2113714",
373
+ label_en: "Home Tel. Number",
374
+ label_ar: "رقم الهاتف الثابت",
375
+ type: "text",
376
+ required: false,
377
+ metadata: {
378
+ prefilled: true,
379
+ source: "SNB",
380
+ editable: false
381
+ }
382
+ },
383
+ {
384
+ id: "dfa0cd23-0ee6-4ec2-a78b-d0d0b67c2f27",
385
+ label_en: "Mobile Number",
386
+ label_ar: "رقم الجوال",
387
+ type: "text",
388
+ required: true,
389
+ metadata: {
390
+ prefilled: true,
391
+ source: "SNB",
392
+ editable: false
393
+ }
394
+ },
395
+ {
396
+ id: "f5934f83-7c55-4ce3-bfcd-0632fb549ee8",
397
+ label_en: "Email",
398
+ label_ar: "البريد الإلكتروني",
399
+ type: "text",
400
+ required: true,
401
+ metadata: {
402
+ prefilled: true,
403
+ source: "SNB",
404
+ editable: false
405
+ }
406
+ }
407
+ ]
408
+ },
409
+ {
410
+ id: "1c5ebde5-5df0-4c15-80db-276c317fa763",
411
+ order: 6,
412
+ type: "group",
413
+ title_en: "Permanent residence address",
414
+ title_ar: "عنوان الإقامة الدائمة",
415
+ questions: [
416
+ {
417
+ id: "df6b94b7-eca2-422d-aec4-9d80c386d651",
418
+ label_en: "City",
419
+ label_ar: "المدينة",
420
+ type: "text",
421
+ required: false
422
+ },
423
+ {
424
+ id: "4c4ccf63-d17b-42ad-8cd3-fa35895554e0",
425
+ label_en: "Country",
426
+ label_ar: "الدولة",
427
+ type: "text",
428
+ required: false
429
+ },
430
+ {
431
+ id: "227c087f-42a3-44eb-a8a4-83299e18be4c",
432
+ label_en: "District",
433
+ label_ar: "الحي",
434
+ type: "text",
435
+ required: false
436
+ },
437
+ {
438
+ id: "13f8bc90-27ca-43fe-a74a-3c58836059fb",
439
+ label_en: "Street",
440
+ label_ar: "الشارع",
441
+ type: "text",
442
+ required: false
443
+ },
444
+ {
445
+ id: "38f1c626-9ed4-4150-811c-9d2be8318386",
446
+ label_en: "Phone Number",
447
+ label_ar: "رقم الهاتف",
448
+ type: "text",
449
+ required: false
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ id: "1c238674-c205-44df-9cee-7dbcfdaa568f",
455
+ order: 7,
456
+ type: "group",
457
+ title_en: "Professional Information",
458
+ title_ar: "المعلومات المهنية",
459
+ required: true,
460
+ questions: [
461
+ {
462
+ id: "c3a3d019-7824-475b-a682-172ca373654b",
463
+ label_en: "Academic Qualifications",
464
+ label_ar: "المؤهلات الأكاديمية",
465
+ type: "text",
466
+ required: true,
467
+ metadata: {
468
+ prefilled: true,
469
+ source: "SNB",
470
+ editable: false,
471
+ readonlyReason: "Managed by SNB system."
472
+ }
473
+ },
474
+ {
475
+ id: "6241d35f-05e8-435e-8366-9c37f7f9d6be",
476
+ label_en: "Employment Status",
477
+ label_ar: "حالة التوظيف",
478
+ type: "text",
479
+ required: true,
480
+ metadata: {
481
+ prefilled: true,
482
+ source: "SNB",
483
+ editable: false
484
+ }
485
+ },
486
+ {
487
+ id: "3c1b80ef-6d38-4242-9d98-008b4892c525",
488
+ label_en: "Job Title",
489
+ label_ar: "المسمى الوظيفي",
490
+ type: "text",
491
+ required: true,
492
+ metadata: {
493
+ prefilled: true,
494
+ source: "SNB",
495
+ editable: false
496
+ }
497
+ },
498
+ {
499
+ id: "797f9fd5-9e7f-41f3-8e36-011350d7c6a0",
500
+ label_en: "Employer Name",
501
+ label_ar: "اسم صاحب العمل",
502
+ type: "text",
503
+ required: true,
504
+ metadata: {
505
+ prefilled: true,
506
+ source: "SNB",
507
+ editable: false
508
+ }
509
+ },
510
+ {
511
+ id: "dde07b5f-1b01-4342-9510-c4310eb13065",
512
+ label_en: "Date Of Joining",
513
+ label_ar: "تاريخ الانضمام",
514
+ type: "text",
515
+ required: true,
516
+ metadata: {
517
+ prefilled: true,
518
+ source: "SNB",
519
+ editable: false
520
+ }
521
+ },
522
+ {
523
+ id: "07a3b81a-81c4-4f69-867c-8663d21d26fe",
524
+ label_en: "Work Address",
525
+ label_ar: "عنوان العمل",
526
+ type: "object",
527
+ required: false,
528
+ metadata: {
529
+ prefilled: true,
530
+ source: "SNB"
531
+ }
532
+ },
533
+ {
534
+ id: "97bf633e-269d-48ec-b706-83b938f0e618",
535
+ label_en: "Work Contact Information",
536
+ label_ar: "معلومات الاتصال بالعمل",
537
+ type: "object",
538
+ required: false,
539
+ metadata: {
540
+ prefilled: true,
541
+ source: "SNB"
542
+ }
543
+ }
544
+ ]
545
+ }
546
+ ]
547
+ },
548
+ {
549
+ id: "ad722ff1-940a-4a41-b548-2bfd341c74b0",
550
+ order: 2,
551
+ title_en: "Personal Information",
552
+ title_ar: "المعلومات الشخصية",
553
+ groups: [
554
+ {
555
+ id: "69f493b1-447e-43bd-8a58-c95df5a73b83",
556
+ order: 1,
557
+ type: "group",
558
+ title_en: "Career Information",
559
+ title_ar: "المعلومات المهنية",
560
+ questions: [
561
+ {
562
+ id: "6636dd3a-cb07-4a8f-a819-6b6a41cf5221",
563
+ label_en: "Academic Qualifications",
564
+ label_ar: "المؤهلات الأكاديمية",
565
+ type: "text",
566
+ required: true,
567
+ metadata: {
568
+ prefilled: true,
569
+ source: "SNB",
570
+ editable: false,
571
+ readonlyReason: "Managed by SNB system."
572
+ }
573
+ },
574
+ {
575
+ id: "ec3be3fe-d8f4-43fc-9c08-426c48a6c149",
576
+ label_en: "Employment Status",
577
+ label_ar: "حالة التوظيف",
578
+ type: "text",
579
+ required: true,
580
+ metadata: {
581
+ prefilled: true,
582
+ source: "SNB",
583
+ editable: false,
584
+ readonlyReason: "Managed by SNB system."
585
+ }
586
+ },
587
+ {
588
+ id: "9e2b5199-62ad-49fa-a99a-dd12e830c846",
589
+ label_en: "Job Title",
590
+ label_ar: "المسمى الوظيفي",
591
+ type: "text",
592
+ required: true,
593
+ metadata: {
594
+ prefilled: true,
595
+ source: "SNB",
596
+ editable: false,
597
+ readonlyReason: "Managed by SNB system."
598
+ }
599
+ },
600
+ {
601
+ id: "d5798bc4-0b6d-4797-a6e6-ba0c908d2c19",
602
+ label_en: "Employer Name",
603
+ label_ar: "اسم صاحب العمل",
604
+ type: "text",
605
+ required: true,
606
+ metadata: {
607
+ prefilled: true,
608
+ source: "SNB",
609
+ editable: false,
610
+ readonlyReason: "Managed by SNB system."
611
+ }
612
+ },
613
+ {
614
+ id: "516c509b-bf73-4e85-abc4-9ffed4ca45ca",
615
+ label_en: "Date Of Joining",
616
+ label_ar: "تاريخ الانضمام",
617
+ type: "date",
618
+ required: true,
619
+ metadata: {
620
+ prefilled: true,
621
+ source: "SNB",
622
+ editable: false,
623
+ readonlyReason: "Managed by SNB system."
624
+ }
625
+ }
626
+ ]
627
+ },
628
+ {
629
+ id: "79643b18-8e62-4727-ab0e-300c54e523f3",
630
+ order: 2,
631
+ type: "group",
632
+ title_en: "Work Address",
633
+ title_ar: "عنوان العمل",
634
+ questions: [
635
+ {
636
+ id: "81421d70-77df-434a-956b-816282d4ea49",
637
+ label_en: "Type",
638
+ label_ar: "النوع",
639
+ type: "text",
640
+ required: false,
641
+ metadata: {
642
+ prefilled: true,
643
+ source: "SNB",
644
+ editable: false,
645
+ readonlyReason: "Managed by SNB system."
646
+ }
647
+ },
648
+ {
649
+ id: "2ecbbc8e-56f2-426f-9d62-c227c5dd6c59",
650
+ label_en: "Basic Number",
651
+ label_ar: "الرقم الأساسي",
652
+ type: "text",
653
+ required: true,
654
+ metadata: {
655
+ prefilled: true,
656
+ source: "SNB",
657
+ editable: false,
658
+ readonlyReason: "Managed by SNB system."
659
+ }
660
+ },
661
+ {
662
+ id: "2aba42fa-1429-49a8-94e3-8bf037d0c73c",
663
+ label_en: "Street",
664
+ label_ar: "الشارع",
665
+ type: "text",
666
+ required: false,
667
+ metadata: {
668
+ prefilled: true,
669
+ source: "SNB",
670
+ editable: false,
671
+ readonlyReason: "Managed by SNB system."
672
+ }
673
+ },
674
+ {
675
+ id: "02a05e47-49a8-4786-8dcd-df64e1d9cd0f",
676
+ label_en: "Unit Number",
677
+ label_ar: "رقم الوحدة",
678
+ type: "text",
679
+ required: false,
680
+ metadata: {
681
+ prefilled: true,
682
+ source: "SNB",
683
+ editable: false,
684
+ readonlyReason: "Managed by SNB system."
685
+ }
686
+ },
687
+ {
688
+ id: "aee1d13d-9bfb-4bc9-87da-828eae623ad3",
689
+ label_en: "Country",
690
+ label_ar: "الدولة",
691
+ type: "text",
692
+ required: false,
693
+ metadata: {
694
+ prefilled: true,
695
+ source: "SNB",
696
+ editable: false,
697
+ readonlyReason: "Managed by SNB system."
698
+ }
699
+ },
700
+ {
701
+ id: "2998153b-37b2-43e3-ac3d-6a71bc69f2cd",
702
+ label_en: "City",
703
+ label_ar: "المدينة",
704
+ type: "text",
705
+ required: false,
706
+ metadata: {
707
+ prefilled: true,
708
+ source: "SNB",
709
+ editable: false,
710
+ readonlyReason: "Managed by SNB system."
711
+ }
712
+ },
713
+ {
714
+ id: "f22ba3d6-1496-47fe-aa8a-69088c0094cf",
715
+ label_en: "District",
716
+ label_ar: "الحي",
717
+ type: "text",
718
+ required: false,
719
+ metadata: {
720
+ prefilled: true,
721
+ source: "SNB",
722
+ editable: false,
723
+ readonlyReason: "Managed by SNB system."
724
+ }
725
+ },
726
+ {
727
+ id: "807bc868-f048-4d83-837d-8a70ce4d79e9",
728
+ label_en: "P.O. Box",
729
+ label_ar: "صندوق البريد",
730
+ type: "text",
731
+ required: false,
732
+ metadata: {
733
+ prefilled: true,
734
+ source: "SNB",
735
+ editable: false,
736
+ readonlyReason: "Managed by SNB system."
737
+ }
738
+ },
739
+ {
740
+ id: "52954e67-3f20-429d-a2e3-ae36f9a5bd31",
741
+ label_en: "Postal Code",
742
+ label_ar: "الرمز البريدي",
743
+ type: "text",
744
+ required: false,
745
+ metadata: {
746
+ prefilled: true,
747
+ source: "SNB",
748
+ editable: false,
749
+ readonlyReason: "Managed by SNB system."
750
+ }
751
+ },
752
+ {
753
+ id: "af10b95c-65cf-4b1c-8901-cac344087709",
754
+ label_en: "Internal Mail/Address",
755
+ label_ar: "البريد الداخلي/العنوان",
756
+ type: "text",
757
+ required: false,
758
+ metadata: {
759
+ prefilled: true,
760
+ source: "SNB",
761
+ editable: false,
762
+ readonlyReason: "Managed by SNB system."
763
+ }
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ id: "7c75667c-9e08-4580-b9b5-002b7caef2a8",
769
+ order: 3,
770
+ type: "group",
771
+ title_en: "Work Contact Information",
772
+ title_ar: "معلومات الاتصال المهني",
773
+ questions: [
774
+ {
775
+ id: "454d6ca5-daef-4c93-aed9-3b27d4b2356a",
776
+ label_en: "Work Tel. Number",
777
+ label_ar: "رقم الهاتف المهني",
778
+ type: "text",
779
+ required: false,
780
+ metadata: {
781
+ prefilled: true,
782
+ source: "SNB",
783
+ editable: false,
784
+ readonlyReason: "Managed by SNB system."
785
+ }
786
+ },
787
+ {
788
+ id: "ad890019-e738-4417-be59-64306891d90c",
789
+ label_en: "Work Tel. Extension",
790
+ label_ar: "رقم الهاتف المهني المطول",
791
+ type: "text",
792
+ required: false,
793
+ metadata: {
794
+ prefilled: true,
795
+ source: "SNB",
796
+ editable: false,
797
+ readonlyReason: "Managed by SNB system."
798
+ }
799
+ },
800
+ {
801
+ id: "e81b452a-3eaf-4c92-94a0-7b18321a3a02",
802
+ label_en: "Work Fax",
803
+ label_ar: "الفاكس المهني",
804
+ type: "text",
805
+ required: false,
806
+ metadata: {
807
+ prefilled: true,
808
+ source: "SNB",
809
+ editable: false,
810
+ readonlyReason: "Managed by SNB system."
811
+ }
812
+ },
813
+ {
814
+ id: "d395cfe3-6621-435a-b39c-1cbc37a85c78",
815
+ label_en: "Work Fax Extension",
816
+ label_ar: "الفاكس المهني المطول",
817
+ type: "text",
818
+ required: false,
819
+ metadata: {
820
+ prefilled: true,
821
+ source: "SNB",
822
+ editable: false,
823
+ readonlyReason: "Managed by SNB system."
824
+ }
825
+ }
826
+ ]
827
+ }
828
+ ]
829
+ },
830
+ {
831
+ id: "3f78146c-e457-4570-b555-21068ba8126f",
832
+ order: 3,
833
+ title_en: "Financial Information",
834
+ title_ar: "المعلومات المالية",
835
+ groups: [
836
+ {
837
+ id: "38613d09-a545-46f7-8dcf-c9ffb3e7d280",
838
+ order: 1,
839
+ type: "group",
840
+ title_en: "Primary Income Details",
841
+ title_ar: "الدخل الرئيسي",
842
+ questions: [
843
+ {
844
+ id: "d93c23a2-3fb0-409b-894e-7aaff6d97dc8",
845
+ label_en: "Source of Revenue",
846
+ label_ar: "مصدر الدخل",
847
+ type: "text",
848
+ required: true,
849
+ metadata: {
850
+ prefilled: true,
851
+ source: "SNB",
852
+ editable: false,
853
+ readonlyReason: "Managed by SNB system."
854
+ }
855
+ },
856
+ {
857
+ id: "48672a9b-b521-44aa-9f07-9127e59787c3",
858
+ label_en: "Source of Revenue (Other)",
859
+ label_ar: "مصدر الدخل (آخر)",
860
+ type: "text",
861
+ required: false,
862
+ metadata: {
863
+ prefilled: true,
864
+ source: "SNB",
865
+ editable: false,
866
+ readonlyReason: "Managed by SNB system."
867
+ }
868
+ },
869
+ {
870
+ id: "ea4bf02d-f641-48b0-8bf7-c68cfdd15bcd",
871
+ label_en: "Main Revenue Information",
872
+ label_ar: "المعلومات المالية الرئيسية",
873
+ type: "text",
874
+ required: true,
875
+ metadata: {
876
+ prefilled: true,
877
+ source: "SNB",
878
+ editable: false,
879
+ readonlyReason: "Managed by SNB system."
880
+ }
881
+ },
882
+ {
883
+ id: "5013b086-10b4-409a-bb20-655cf6418378",
884
+ label_en: "Payment Method",
885
+ label_ar: "طريقة الدفع",
886
+ type: "text",
887
+ required: true,
888
+ metadata: {
889
+ prefilled: true,
890
+ source: "SNB",
891
+ editable: false,
892
+ readonlyReason: "Managed by SNB system."
893
+ }
894
+ },
895
+ {
896
+ id: "e4b45907-59c5-490a-818d-a14b5a0c2996",
897
+ label_en: "Payment Method (Other)",
898
+ label_ar: "طريقة الدفع (آخر)",
899
+ type: "text",
900
+ required: false,
901
+ metadata: {
902
+ prefilled: true,
903
+ source: "SNB",
904
+ editable: false,
905
+ readonlyReason: "Managed by SNB system."
906
+ }
907
+ }
908
+ ]
909
+ },
910
+ {
911
+ id: "42c1b465-6d7c-45f1-a92e-36895007843f",
912
+ order: 2,
913
+ type: "group",
914
+ title_en: "Additional Income Source",
915
+ title_ar: "مصدر الدخل الإضافي",
916
+ questions: [
917
+ {
918
+ id: "854c2147-63df-4cf8-81cc-da42d0f0ff6d",
919
+ label_en: "Type",
920
+ label_ar: "النوع",
921
+ type: "text",
922
+ required: false,
923
+ metadata: {
924
+ prefilled: true,
925
+ source: "SNB",
926
+ editable: false,
927
+ readonlyReason: "Managed by SNB system."
928
+ }
929
+ },
930
+ {
931
+ id: "9451fcd9-f8b0-45dd-aed1-82d0b9669b8d",
932
+ label_en: "Additional Income Information",
933
+ label_ar: "المعلومات الإضافية",
934
+ type: "text",
935
+ required: true,
936
+ metadata: {
937
+ prefilled: true,
938
+ source: "SNB",
939
+ editable: false,
940
+ readonlyReason: "Managed by SNB system."
941
+ }
942
+ },
943
+ {
944
+ id: "29ab3758-df2e-435c-ac09-96c9e1c6fe76",
945
+ label_en: "Description for Additional Work",
946
+ label_ar: "وصف للعمل الإضافي",
947
+ type: "text",
948
+ required: false,
949
+ metadata: {
950
+ prefilled: true,
951
+ source: "SNB",
952
+ editable: false,
953
+ readonlyReason: "Managed by SNB system."
954
+ }
955
+ },
956
+ {
957
+ id: "051f1a33-85e4-4d89-bef9-045e69438706",
958
+ label_en: "Additional Income Information (Other)",
959
+ label_ar: "المعلومات الإضافية (آخر)",
960
+ type: "text",
961
+ required: false,
962
+ metadata: {
963
+ prefilled: true,
964
+ source: "SNB",
965
+ editable: false,
966
+ readonlyReason: "Managed by SNB system."
967
+ }
968
+ }
969
+ ]
970
+ },
971
+ {
972
+ id: "b114e33b-7d4e-492d-bae9-f8b08dfbfa7e",
973
+ order: 3,
974
+ type: "group",
975
+ title_en: "Accounts with SNB or with other banks",
976
+ title_ar: "الحسابات مع SNB أو مع البنوك الأخرى",
977
+ questions: [
978
+ {
979
+ id: "834375b3-4c6d-465e-abda-143e6ec2bd0a",
980
+ label_en: "Account Number",
981
+ label_ar: "رقم الحساب",
982
+ type: "text",
983
+ required: true,
984
+ metadata: {
985
+ prefilled: true,
986
+ source: "SNB",
987
+ editable: false,
988
+ readonlyReason: "Managed by SNB system."
989
+ }
990
+ },
991
+ {
992
+ id: "6d9941bd-db75-4fa6-83d7-1eca6aadd5a7",
993
+ label_en: "Name of Bank",
994
+ label_ar: "اسم البنك",
995
+ type: "text",
996
+ required: true,
997
+ metadata: {
998
+ prefilled: true,
999
+ source: "SNB",
1000
+ editable: false,
1001
+ readonlyReason: "Managed by SNB system."
1002
+ }
1003
+ }
1004
+ ]
1005
+ },
1006
+ {
1007
+ id: "92616d1a-49c9-4f38-99b2-0b3c757ae376",
1008
+ order: 4,
1009
+ type: "group",
1010
+ title_en: "FATCA Information",
1011
+ title_ar: "معلومات FATCA",
1012
+ questions: [
1013
+ {
1014
+ id: "fa337038-1ac3-482e-a067-962c522fb968",
1015
+ label_en: "FATCA Status",
1016
+ label_ar: "حالة FATCA",
1017
+ type: "text",
1018
+ required: true,
1019
+ metadata: {
1020
+ prefilled: true,
1021
+ source: "SNB",
1022
+ editable: false,
1023
+ readonlyReason: "Managed by SNB system."
1024
+ }
1025
+ },
1026
+ {
1027
+ id: "48d81e91-10b3-41b6-9f7b-4be237f9f778",
1028
+ label_en: "US TIN",
1029
+ label_ar: "US TIN",
1030
+ type: "text",
1031
+ required: false,
1032
+ metadata: {
1033
+ prefilled: true,
1034
+ source: "SNB",
1035
+ editable: false,
1036
+ readonlyReason: "Managed by SNB system."
1037
+ }
1038
+ }
1039
+ ]
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ id: "88144952-de93-4c04-bfda-6f1a8ed0879d",
1045
+ order: 4,
1046
+ title_en: "Custodian Information",
1047
+ title_ar: "معلومات المستورد",
1048
+ groups: [
1049
+ {
1050
+ id: "e913b763-45d7-4fcf-9c20-1a230fd6f7c5",
1051
+ order: 1,
1052
+ type: "group",
1053
+ title_en: "Custodian Account Details",
1054
+ title_ar: "تفاصيل حساب المستورد",
1055
+ questions: [
1056
+ {
1057
+ id: "4e9b91d3-0b72-4eff-a754-ca05b8220373",
1058
+ label_en: "Name",
1059
+ label_ar: "الاسم",
1060
+ type: "text",
1061
+ required: true,
1062
+ metadata: {
1063
+ prefilled: true,
1064
+ source: "SNB",
1065
+ editable: false,
1066
+ readonlyReason: "Managed by SNB system."
1067
+ }
1068
+ },
1069
+ {
1070
+ id: "56bf7a8a-ac4b-46e9-9083-23117035c318",
1071
+ label_en: "Account Name",
1072
+ label_ar: "اسم الحساب",
1073
+ type: "text",
1074
+ required: true,
1075
+ metadata: {
1076
+ prefilled: true,
1077
+ source: "SNB",
1078
+ editable: false,
1079
+ readonlyReason: "Managed by SNB system."
1080
+ }
1081
+ },
1082
+ {
1083
+ id: "fecd4459-d7d2-494f-85ea-1073f884aef4",
1084
+ label_en: "Account Number",
1085
+ label_ar: "رقم الحساب",
1086
+ type: "text",
1087
+ required: true,
1088
+ metadata: {
1089
+ prefilled: true,
1090
+ source: "SNB",
1091
+ editable: false,
1092
+ readonlyReason: "Managed by SNB system."
1093
+ }
1094
+ }
1095
+ ]
1096
+ }
1097
+ ]
1098
+ },
1099
+ {
1100
+ id: "05575f36-0a32-4e17-a07b-1b4b1929bc95",
1101
+ order: 5,
1102
+ title_en: "Contact Verification",
1103
+ title_ar: "التحقق من الاتصال",
1104
+ groups: [
1105
+ {
1106
+ id: "7a8378d8-96e2-456a-88d7-f85367f1eceb",
1107
+ order: 1,
1108
+ type: "group",
1109
+ title_en: "Contact Verification",
1110
+ title_ar: "التحقق من الاتصال",
1111
+ questions: [
1112
+ {
1113
+ id: "af8ac218-75fa-4c11-914e-4b56183f9a7c",
1114
+ label_en: "Confirm your phone number",
1115
+ label_ar: "تأكيد رقم الهاتف",
1116
+ type: "phone",
1117
+ required: true,
1118
+ metadata: {
1119
+ prefilled: false,
1120
+ editable: true,
1121
+ placeholder: "+996 (000) 000-00-00"
1122
+ }
1123
+ },
1124
+ {
1125
+ id: "6c204639-f2d0-471d-9c24-6a2ce3035fa6",
1126
+ label_en: "Confirm your email",
1127
+ label_ar: "تأكيد البريد الإلكتروني",
1128
+ type: "email",
1129
+ required: true,
1130
+ metadata: {
1131
+ prefilled: false,
1132
+ editable: true,
1133
+ placeholder: "Email"
1134
+ }
1135
+ }
1136
+ ]
1137
+ }
1138
+ ]
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ id: "657e5fc7-f8e4-4cd6-ae10-61079b287cc2",
1144
+ order: 2,
1145
+ title_en: "Financial Profile",
1146
+ title_ar: "الملف المالي",
1147
+ step_description_en: "Share a few insights into your financial background.",
1148
+ step_description_ar: "شارك بعض الرؤى حول خلفيتك المالية.",
1149
+ substeps: [
1150
+ {
1151
+ id: "a0c94086-e136-463b-ba65-e0ecea60366d",
1152
+ order: 1,
1153
+ title_en: "substep one",
1154
+ title_ar: "الخطوة الأولى",
1155
+ groups: [
1156
+ {
1157
+ id: "22cf22bc-ca3a-42a6-8dbc-8dd35cb407c9",
1158
+ order: 2,
1159
+ type: "group",
1160
+ title_en: "Income & Financial Interests",
1161
+ title_ar: "الدخل والمصالح المالية",
1162
+ required: true,
1163
+ questions: [
1164
+ {
1165
+ id: "c57bceea-b1e3-405d-8267-55210a24bb1d",
1166
+ label_en: "Current Account",
1167
+ label_ar: "الحساب الجاري",
1168
+ type: "text",
1169
+ required: false,
1170
+ metadata: {
1171
+ prefilled: true,
1172
+ source: "SNB",
1173
+ editable: false,
1174
+ readonlyReason: "Managed by SNB system."
1175
+ }
1176
+ },
1177
+ {
1178
+ id: "b3a9f657-f7c2-47e5-94b9-2dbc7e28aca8",
1179
+ label_en: "Approximate annual income (in SAR)?",
1180
+ label_ar: "الدخل السنوي التقريبي (بالريال السعودي)؟",
1181
+ type: "single_choice",
1182
+ required: true,
1183
+ metadata: {
1184
+ options: [
1185
+ {
1186
+ option_en: "100,000 or less",
1187
+ option_ar: "100,000 أو أقل"
1188
+ },
1189
+ {
1190
+ option_en: "100,001 to 300,000",
1191
+ option_ar: "100,001 إلى 300,000"
1192
+ },
1193
+ {
1194
+ option_en: "300,001 to 600,000",
1195
+ option_ar: "300,001 إلى 600,000"
1196
+ },
1197
+ {
1198
+ option_en: "600,001 to 1,500,000",
1199
+ option_ar: "600,001 إلى 1,500,000"
1200
+ },
1201
+ {
1202
+ option_en: "1,500,001 to 5,000,000",
1203
+ option_ar: "1,500,001 إلى 5,000,000"
1204
+ },
1205
+ {
1206
+ option_en: "5,000,001 to 10,000,000",
1207
+ option_ar: "5,000,001 إلى 10,000,000"
1208
+ },
1209
+ {
1210
+ option_en: "10,000,001 to 50,000,000",
1211
+ option_ar: "10,000,001 إلى 50,000,000"
1212
+ },
1213
+ {
1214
+ option_en: "Over 50,000,000",
1215
+ option_ar: "أكثر من 50,000,000"
1216
+ }
1217
+ ]
1218
+ }
1219
+ },
1220
+ {
1221
+ id: "85a55380-6503-4a05-938b-9ea96aefb765",
1222
+ label_en: "Additional Financial Interests",
1223
+ label_ar: "المصالح المالية الإضافية",
1224
+ type: "multi_choice",
1225
+ required: false,
1226
+ metadata: {
1227
+ options: [
1228
+ {
1229
+ option_en: "None",
1230
+ option_ar: "لا شيء"
1231
+ },
1232
+ {
1233
+ option_en: "Business Partnerships",
1234
+ option_ar: "شراكات تجارية"
1235
+ },
1236
+ {
1237
+ option_en: "Real Estate Assets",
1238
+ option_ar: "أصول عقارية"
1239
+ },
1240
+ {
1241
+ option_en: "Other Assets",
1242
+ option_ar: "أصول أخرى"
1243
+ }
1244
+ ]
1245
+ }
1246
+ }
1247
+ ]
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ id: "55bf2f3d-b5fb-4604-b106-d1e56ad06dd6",
1253
+ order: 2,
1254
+ title_en: "substep two",
1255
+ title_ar: "الخطوة الثانية",
1256
+ groups: [
1257
+ {
1258
+ id: "5f683c98-c0bb-43d5-9d48-82ebc9d3564e",
1259
+ order: 3,
1260
+ type: "group",
1261
+ title_en: "step two",
1262
+ title_ar: "الخطوة الثانية",
1263
+ required: true,
1264
+ questions: [
1265
+ {
1266
+ id: "fa269e2f-4a03-4726-b29b-7f1d9b306989",
1267
+ label_en: "Are you part of the board, audit committee, or executive team of a listed company?",
1268
+ label_ar: "هل أنت عضو في مجلس الإدارة أو لجنة المراجعة أو الفريق التنفيذي لشركة مدرجة؟",
1269
+ type: "yes_no",
1270
+ required: true
1271
+ },
1272
+ {
1273
+ id: "29b324cc-8150-405a-b963-dc8e783aa13d",
1274
+ label_en: "Are you closely associated with a board member, audit committee member, or senior executive of a listed company?",
1275
+ label_ar: "هل أنت مرتبط ارتباطاً وثيقاً بعضو مجلس إدارة أو عضو لجنة مراجعة أو تنفيذي كبير في شركة مدرجة؟",
1276
+ type: "yes_no",
1277
+ required: true
1278
+ },
1279
+ {
1280
+ id: "5c711bf2-50a1-41ca-ad8e-2d182a8bdfa6",
1281
+ label_en: "Are you entrusted with a prominent public function or a senior role, locally or internationally?",
1282
+ label_ar: "هل أنت مكلف بوظيفة عامة بارزة أو دور رفيع المستوى محلياً أو دولياً؟",
1283
+ type: "yes_no",
1284
+ required: true
1285
+ },
1286
+ {
1287
+ id: "1874e974-bcaf-482a-8a7c-ee5ba74da8d6",
1288
+ label_en: "Are you related (by blood or marriage up to the second degree) to someone entrusted with a prominent public function, either locally or internationally?",
1289
+ label_ar: "هل أنت مرتبط (بالدم أو الزواج حتى الدرجة الثانية) بشخص مكلف بوظيفة عامة بارزة محلياً أو دولياً؟",
1290
+ type: "yes_no",
1291
+ required: true
1292
+ },
1293
+ {
1294
+ id: "892f309a-3377-413e-bec6-9615901eaa75",
1295
+ label_en: "Are you associated with someone entrusted with a prominent public function, either in the Kingdom, abroad, or in an international organization?",
1296
+ label_ar: "هل أنت مرتبط بشخص مكلف بوظيفة عامة بارزة في المملكة أو الخارج أو في منظمة دولية؟",
1297
+ type: "yes_no",
1298
+ required: true
1299
+ }
1300
+ ]
1301
+ }
1302
+ ]
1303
+ },
1304
+ {
1305
+ id: "3c0e0130-e8e8-4f00-8d40-62b9a350bebb",
1306
+ order: 3,
1307
+ title_en: "substep three",
1308
+ title_ar: "الخطوة الثالثة",
1309
+ groups: [
1310
+ {
1311
+ id: "efb9863b-19d5-4bff-bd1f-93a8354a01ac",
1312
+ order: 4,
1313
+ type: "group",
1314
+ title_en: "step three",
1315
+ title_ar: "الخطوة الثالثة",
1316
+ required: true,
1317
+ questions: [
1318
+ {
1319
+ id: "852090fd-efd6-4fb5-a621-0f57a251d31e",
1320
+ label_en: "I acknowledge that I am the beneficial owner...",
1321
+ label_ar: "أقر بأنني المالك المستفيد...",
1322
+ type: "checkbox",
1323
+ required: true
1324
+ },
1325
+ {
1326
+ id: "39eb70d8-7fa7-4edb-8731-d96e3a40b72c",
1327
+ label_en: "Average investment amount per month",
1328
+ label_ar: "متوسط مبلغ الاستثمار شهرياً",
1329
+ type: "single_choice",
1330
+ required: true,
1331
+ metadata: {
1332
+ options: [
1333
+ {
1334
+ option_en: "100,000 or less",
1335
+ option_ar: "100,000 أو أقل"
1336
+ },
1337
+ {
1338
+ option_en: "100,001 to 300,000",
1339
+ option_ar: "100,001 إلى 300,000"
1340
+ },
1341
+ {
1342
+ option_en: "300,001 to 600,000",
1343
+ option_ar: "300,001 إلى 600,000"
1344
+ },
1345
+ {
1346
+ option_en: "600,001 to 1,500,000",
1347
+ option_ar: "600,001 إلى 1,500,000"
1348
+ },
1349
+ {
1350
+ option_en: "1,500,001 to 5,000,000",
1351
+ option_ar: "1,500,001 إلى 5,000,000"
1352
+ },
1353
+ {
1354
+ option_en: "5,000,001 to 10,000,000",
1355
+ option_ar: "5,000,001 إلى 10,000,000"
1356
+ },
1357
+ {
1358
+ option_en: "10,000,001 to 50,000,000",
1359
+ option_ar: "10,000,001 إلى 50,000,000"
1360
+ },
1361
+ {
1362
+ option_en: "Over 50,000,000",
1363
+ option_ar: "أكثر من 50,000,000"
1364
+ }
1365
+ ]
1366
+ }
1367
+ },
1368
+ {
1369
+ id: "42fb0d25-8c6c-4824-9e77-691c669a4068",
1370
+ label_en: "Expected number of transactions per month",
1371
+ label_ar: "العدد المتوقع للمعاملات شهرياً",
1372
+ type: "number",
1373
+ required: false,
1374
+ metadata: {
1375
+ placeholder: "Number of Transactions"
1376
+ }
1377
+ },
1378
+ {
1379
+ id: "298e45e1-3cd5-4541-9509-dc7489da158e",
1380
+ label_en: "Expected Max Monthly Transaction Value",
1381
+ label_ar: "القيمة المتوقعة لأعلى معاملة شهرية",
1382
+ type: "number",
1383
+ required: false,
1384
+ metadata: {
1385
+ placeholder: "Expected Value"
1386
+ }
1387
+ }
1388
+ ]
1389
+ }
1390
+ ]
1391
+ }
1392
+ ]
1393
+ },
1394
+ {
1395
+ id: "e462c877-9c09-4f37-afd4-996d349fee04",
1396
+ order: 3,
1397
+ title_en: "Investor Classification",
1398
+ title_ar: "تصنيف المستثمر",
1399
+ step_description_en: "Help us determine your investor category.",
1400
+ step_description_ar: "ساعدنا في تحديد فئة المستثمر الخاصة بك.",
1401
+ substeps: [
1402
+ {
1403
+ id: "aebe501d-7626-49e6-a78a-3f9456aeaa5d",
1404
+ order: 1,
1405
+ title_en: "substep one",
1406
+ title_ar: "الخطوة الأولى",
1407
+ groups: [
1408
+ {
1409
+ id: "02cfb72e-1bb6-4410-a15f-146d261fdde7",
1410
+ order: 1,
1411
+ type: "question",
1412
+ title_en: "substep one",
1413
+ title_ar: "الخطوة الأولى",
1414
+ required: true,
1415
+ questions: [
1416
+ {
1417
+ id: "f891a850-e672-4fff-a623-34f8c6b521c5",
1418
+ label_en: "Have you carried out at least 10 transactions per quarter over the last 12 months of a minimum total amount of 40 million Saudi Riyals on Securities Market?",
1419
+ label_ar: "هل قمت بتنفيذ 10 معاملات على الأقل كل ربع سنة خلال الـ 12 شهراً الماضية بمبلغ إجمالي لا يقل عن 40 مليون ريال سعودي في سوق الأوراق المالية؟",
1420
+ type: "yes_no",
1421
+ required: true
1422
+ },
1423
+ {
1424
+ id: "50f9c0ef-29a9-4d4a-a5e5-065e29e88445",
1425
+ label_en: "Do you hold the General Securities Qualification Certificate that is recognized by the Authority, and has an Annual Income that is not less than 600,000 Saudi Riyals in the last two years?",
1426
+ label_ar: "هل تحمل شهادة التأهيل العامة للأوراق المالية المعترف بها من الهيئة، ولديك دخل سنوي لا يقل عن 600,000 ريال سعودي في العامين الماضيين؟",
1427
+ type: "yes_no",
1428
+ required: true
1429
+ },
1430
+ {
1431
+ id: "5e88dfd3-2bde-40d7-8587-dbd2a093bffb",
1432
+ label_en: "Are you currently working or have previously worked for at least three years in the financial sector in a professional position related to investment in securities?",
1433
+ label_ar: "هل تعمل حالياً أو عملت سابقاً لمدة ثلاث سنوات على الأقل في القطاع المالي في منصب مهني يتعلق بالاستثمار في الأوراق المالية؟",
1434
+ type: "yes_no",
1435
+ required: true
1436
+ }
1437
+ ]
1438
+ }
1439
+ ]
1440
+ },
1441
+ {
1442
+ id: "bef276ba-b730-4824-8524-e5155bee02b0",
1443
+ order: 2,
1444
+ title_en: "substep two",
1445
+ title_ar: "الخطوة الثانية",
1446
+ groups: [
1447
+ {
1448
+ id: "5c33771d-fb67-44b4-87af-53e269680342",
1449
+ order: 2,
1450
+ type: "group",
1451
+ title_en: "substep two",
1452
+ title_ar: "الخطوة الثانية",
1453
+ required: true,
1454
+ questions: [
1455
+ {
1456
+ id: "fc5c519a-991f-4f83-a6b1-3a9d8f4d2045",
1457
+ label_en: "professional certificates",
1458
+ label_ar: "الشهادات المهنية",
1459
+ type: "multi_choice",
1460
+ required: true,
1461
+ metadata: {
1462
+ options: [
1463
+ {
1464
+ option_en: "Masters In Finance, Accounting, or any major related to Securities",
1465
+ option_ar: "ماجستير في التمويل أو المحاسبة أو أي تخصص ذي صلة بالأوراق المالية"
1466
+ },
1467
+ {
1468
+ option_en: "Chartered Financial Analyst (CFA) (Level 1)",
1469
+ option_ar: "محلل مالي معتمد (CFA) (المستوى الأول)"
1470
+ },
1471
+ {
1472
+ option_en: "Fellowship of Saudi Organization for Certified Public Accountants (SOCPA)",
1473
+ option_ar: "زمالة الهيئة السعودية للمحاسبين القانونيين (SOCPA)"
1474
+ },
1475
+ {
1476
+ option_en: "Certified Public Accountant (CPA)",
1477
+ option_ar: "محاسب قانوني معتمد (CPA)"
1478
+ },
1479
+ {
1480
+ option_en: "Certified Management Accountant (CMA)",
1481
+ option_ar: "محاسب إداري معتمد (CMA)"
1482
+ },
1483
+ {
1484
+ option_en: "Certificate in Investment Performance Measurement (CIPM)",
1485
+ option_ar: "شهادة في قياس أداء الاستثمار (CIPM)"
1486
+ },
1487
+ {
1488
+ option_en: "Certified Financial Planner (CFP)",
1489
+ option_ar: "مخطط مالي معتمد (CFP)"
1490
+ },
1491
+ {
1492
+ option_en: "Financial Risk Manager (FRM)",
1493
+ option_ar: "مدير المخاطر المالية (FRM)"
1494
+ }
1495
+ ]
1496
+ }
1497
+ }
1498
+ ]
1499
+ }
1500
+ ]
1501
+ },
1502
+ {
1503
+ id: "b82738db-073c-4836-8b02-3f85c5b8ff15",
1504
+ order: 3,
1505
+ title_en: "substep three",
1506
+ title_ar: "الخطوة الثالثة",
1507
+ groups: [
1508
+ {
1509
+ id: "831eecac-2c6d-4a86-851a-787418bd1ec6",
1510
+ order: 3,
1511
+ type: "group",
1512
+ title_en: "substep three",
1513
+ title_ar: "الخطوة الثالثة",
1514
+ required: true,
1515
+ questions: [
1516
+ {
1517
+ id: "1a20fc97-7cd6-4c96-86f7-1067ff0cdb8c",
1518
+ label_en: "Approximate net worth (Excluding residence)",
1519
+ label_ar: "صافي الثروة التقريبي (باستثناء السكن)",
1520
+ type: "single_choice",
1521
+ required: true,
1522
+ metadata: {
1523
+ options: [
1524
+ {
1525
+ option_en: "100,000 or less",
1526
+ option_ar: "100,000 أو أقل"
1527
+ },
1528
+ {
1529
+ option_en: "100,001 to 300,000",
1530
+ option_ar: "100,001 إلى 300,000"
1531
+ },
1532
+ {
1533
+ option_en: "300,001 to 600,000",
1534
+ option_ar: "300,001 إلى 600,000"
1535
+ },
1536
+ {
1537
+ option_en: "600,001 to 1,500,000",
1538
+ option_ar: "600,001 إلى 1,500,000"
1539
+ },
1540
+ {
1541
+ option_en: "1,500,001 to 5,000,000",
1542
+ option_ar: "1,500,001 إلى 5,000,000"
1543
+ },
1544
+ {
1545
+ option_en: "5,000,001 to 10,000,000",
1546
+ option_ar: "5,000,001 إلى 10,000,000"
1547
+ },
1548
+ {
1549
+ option_en: "10,000,001 to 50,000,000",
1550
+ option_ar: "10,000,001 إلى 50,000,000"
1551
+ },
1552
+ {
1553
+ option_en: "Over 50,000,000",
1554
+ option_ar: "أكثر من 50,000,000"
1555
+ }
1556
+ ]
1557
+ }
1558
+ }
1559
+ ]
1560
+ }
1561
+ ]
1562
+ }
1563
+ ]
1564
+ },
1565
+ {
1566
+ id: "54333a89-fff5-4634-81f7-16b253dd7ab3",
1567
+ order: 4,
1568
+ title_en: "Investment Questions",
1569
+ title_ar: "أسئلة الاستثمار",
1570
+ step_description_en: "Answer a few questions to tailor your investment experience.",
1571
+ step_description_ar: "أجب عن بعض الأسئلة لتخصيص تجربة الاستثمار الخاصة بك.",
1572
+ substeps: [
1573
+ {
1574
+ id: "dde008d0-e653-447e-bb3b-6a15b2259392",
1575
+ order: 1,
1576
+ title_en: "substep one",
1577
+ title_ar: "الخطوة الأولى",
1578
+ groups: [
1579
+ {
1580
+ id: "dcc5d5c7-8342-48ad-917a-8999bed83169",
1581
+ order: 1,
1582
+ type: "question",
1583
+ title_en: "substep one",
1584
+ title_ar: "الخطوة الأولى",
1585
+ required: true,
1586
+ questions: [
1587
+ {
1588
+ id: "b799cae4-1a05-4849-8a44-b0187aebd1bc",
1589
+ label_en: "What are the financial products that you previously invested in/ executed?",
1590
+ label_ar: "ما هي المنتجات المالية التي استثمرت فيها/نفذتها سابقاً؟",
1591
+ type: "multi_choice",
1592
+ required: true,
1593
+ metadata: {
1594
+ options: [
1595
+ {
1596
+ option_en: "Deposits and Murabaha",
1597
+ option_ar: "الودائع والمرابحة"
1598
+ },
1599
+ {
1600
+ option_en: "Debt Instruments",
1601
+ option_ar: "أدوات الدين"
1602
+ },
1603
+ {
1604
+ option_en: "Real Estates",
1605
+ option_ar: "العقارات"
1606
+ },
1607
+ {
1608
+ option_en: "Derivative Contracts",
1609
+ option_ar: "العقود المشتقة"
1610
+ },
1611
+ {
1612
+ option_en: "Alternative Investments",
1613
+ option_ar: "الاستثمارات البديلة"
1614
+ },
1615
+ {
1616
+ option_en: "Margin Transactions (over the past 5 years)",
1617
+ option_ar: "معاملات الهامش (خلال السنوات الخمس الماضية)"
1618
+ }
1619
+ ]
1620
+ }
1621
+ }
1622
+ ]
1623
+ }
1624
+ ]
1625
+ },
1626
+ {
1627
+ id: "ca4648f2-a9d3-4290-b8f9-ffc17d5a04fd",
1628
+ order: 2,
1629
+ title_en: "substep two",
1630
+ title_ar: "الخطوة الثانية",
1631
+ groups: [
1632
+ {
1633
+ id: "890f5353-fe4c-4303-b747-4e99584c747e",
1634
+ order: 2,
1635
+ type: "group",
1636
+ title_en: "Knowledge and Goals",
1637
+ title_ar: "المعرفة والأهداف",
1638
+ required: true,
1639
+ questions: [
1640
+ {
1641
+ id: "d45f5299-bad5-4581-b2d4-c9973a17202d",
1642
+ label_en: "How much do you know about investment, investment concepts and products, and the different risks involved?",
1643
+ label_ar: "ما مدى معرفتك بالاستثمار ومفاهيمه ومنتجاته والمخاطر المختلفة المرتبطة به؟",
1644
+ type: "single_choice",
1645
+ required: true,
1646
+ metadata: {
1647
+ options: [
1648
+ {
1649
+ option_en: "No Knowledge",
1650
+ option_ar: "لا توجد معرفة"
1651
+ },
1652
+ {
1653
+ option_en: "Basic Knowledge",
1654
+ option_ar: "معرفة أساسية"
1655
+ },
1656
+ {
1657
+ option_en: "Good Knowledge",
1658
+ option_ar: "معرفة جيدة"
1659
+ },
1660
+ {
1661
+ option_en: "High Knowledge",
1662
+ option_ar: "معرفة عالية"
1663
+ }
1664
+ ]
1665
+ }
1666
+ },
1667
+ {
1668
+ id: "1c9e728b-fe4f-47e2-b64e-2807a5700507",
1669
+ label_en: "How long have you been actively investing/ trading?",
1670
+ label_ar: "منذ متى وأنت تستثمر/تتداول بنشاط؟",
1671
+ type: "single_choice",
1672
+ required: true,
1673
+ metadata: {
1674
+ options: [
1675
+ {
1676
+ option_en: "Less than 1 year",
1677
+ option_ar: "أقل من سنة واحدة"
1678
+ },
1679
+ {
1680
+ option_en: "1 to 3 years",
1681
+ option_ar: "1 إلى 3 سنوات"
1682
+ },
1683
+ {
1684
+ option_en: "3 to 5 years",
1685
+ option_ar: "3 إلى 5 سنوات"
1686
+ },
1687
+ {
1688
+ option_en: "More than 5 years",
1689
+ option_ar: "أكثر من 5 سنوات"
1690
+ }
1691
+ ]
1692
+ }
1693
+ },
1694
+ {
1695
+ id: "ad446c28-ca71-464b-9bbd-13d443f61894",
1696
+ label_en: "What is your investment objective?",
1697
+ label_ar: "ما هو هدفك الاستثماري؟",
1698
+ type: "single_choice",
1699
+ required: true,
1700
+ metadata: {
1701
+ options: [
1702
+ {
1703
+ option_en: "To preserve capital, with a return just above deposit rate",
1704
+ option_ar: "الحفاظ على رأس المال، مع عائد أعلى قليلاً من معدل الودائع"
1705
+ },
1706
+ {
1707
+ option_en: "To earn more than deposit rate, while risking only a small amount of my capital",
1708
+ option_ar: "كسب أكثر من معدل الودائع، مع المخاطرة بجزء صغير من رأس مالي فقط"
1709
+ },
1710
+ {
1711
+ option_en: "To grow my capital, but I am willing to accept short-term losses only",
1712
+ option_ar: "تنمية رأس مالي، لكنني مستعد لقبول الخسائر قصيرة المدى فقط"
1713
+ },
1714
+ {
1715
+ option_en: "To maximize capital growth, and I am willing to take substantial risk to do so",
1716
+ option_ar: "تعظيم نمو رأس المال، وأنا مستعد لتحمل مخاطر كبيرة لتحقيق ذلك"
1717
+ }
1718
+ ]
1719
+ }
1720
+ },
1721
+ {
1722
+ id: "9c221ac1-5a72-4b2e-8b85-475aabbd45de",
1723
+ label_en: "How long are you looking to invest for?",
1724
+ label_ar: "لمدة كم تخطط للاستثمار؟",
1725
+ type: "single_choice",
1726
+ required: true,
1727
+ metadata: {
1728
+ options: [
1729
+ {
1730
+ option_en: "Less than 1 year",
1731
+ option_ar: "أقل من سنة واحدة"
1732
+ },
1733
+ {
1734
+ option_en: "2 to 5 years",
1735
+ option_ar: "2 إلى 5 سنوات"
1736
+ },
1737
+ {
1738
+ option_en: "6 to 10 years",
1739
+ option_ar: "6 إلى 10 سنوات"
1740
+ },
1741
+ {
1742
+ option_en: "More than 10 years",
1743
+ option_ar: "أكثر من 10 سنوات"
1744
+ }
1745
+ ]
1746
+ }
1747
+ },
1748
+ {
1749
+ id: "be7db771-a767-49b8-8bea-e90e88e22e73",
1750
+ label_en: "What is your appetite for risk?",
1751
+ label_ar: "ما هو مستوى تحملك للمخاطر؟",
1752
+ type: "single_choice",
1753
+ required: true,
1754
+ metadata: {
1755
+ options: [
1756
+ {
1757
+ option_en: "Very Low",
1758
+ option_ar: "منخفض جداً"
1759
+ },
1760
+ {
1761
+ option_en: "Low",
1762
+ option_ar: "منخفض"
1763
+ },
1764
+ {
1765
+ option_en: "Medium",
1766
+ option_ar: "متوسط"
1767
+ },
1768
+ {
1769
+ option_en: "High",
1770
+ option_ar: "عالي"
1771
+ }
1772
+ ]
1773
+ }
1774
+ },
1775
+ {
1776
+ id: "5d15cf66-2445-42f4-9249-ac642ad10763",
1777
+ label_en: "Educational level",
1778
+ label_ar: "المستوى التعليمي",
1779
+ type: "single_choice",
1780
+ required: true,
1781
+ metadata: {
1782
+ options: [
1783
+ {
1784
+ option_en: "Illiterate",
1785
+ option_ar: "أمي"
1786
+ },
1787
+ {
1788
+ option_en: "Pre-Intermediate",
1789
+ option_ar: "ما قبل المتوسط"
1790
+ },
1791
+ {
1792
+ option_en: "Intermediate",
1793
+ option_ar: "متوسط"
1794
+ },
1795
+ {
1796
+ option_en: "High school",
1797
+ option_ar: "ثانوية عامة"
1798
+ },
1799
+ {
1800
+ option_en: "University",
1801
+ option_ar: "جامعة"
1802
+ },
1803
+ {
1804
+ option_en: "Postgraduate",
1805
+ option_ar: "دراسات عليا"
1806
+ }
1807
+ ]
1808
+ }
1809
+ }
1810
+ ]
1811
+ }
1812
+ ]
1813
+ }
1814
+ ]
1815
+ },
1816
+ {
1817
+ id: "6888ccc4-b86f-4f3f-9587-99456784269f",
1818
+ order: 5,
1819
+ title_en: "Review & Submit",
1820
+ title_ar: "مراجعة وإرسال",
1821
+ step_description_en: "Confirm your information and complete your application.",
1822
+ step_description_ar: "تأكيد معلوماتك وإكمال طلبك.",
1823
+ substeps: [
1824
+ {
1825
+ id: "3c02b7da-5850-4316-b404-614339a56d67",
1826
+ order: 1,
1827
+ title_en: "Review & Submit Information",
1828
+ title_ar: "معلومات المراجعة والإرسال",
1829
+ groups: [
1830
+ {
1831
+ id: "c0434b96-8337-43c3-a4f6-072dfdbbffd0",
1832
+ order: 1,
1833
+ type: "group",
1834
+ title_en: "Summary",
1835
+ title_ar: "الملخص",
1836
+ questions: [
1837
+ {
1838
+ id: "932177f9-18a9-4447-bd99-8756cfa90944",
1839
+ label_en: "Summary",
1840
+ label_ar: "الملخص",
1841
+ type: "text",
1842
+ required: true
1843
+ },
1844
+ {
1845
+ id: "7eabc1af-674e-46cd-9a1c-188729cee1ac",
1846
+ label_en: "Do you agree to the terms and conditions outlined in this agreement and accept to be legally bound by them?",
1847
+ label_ar: "هل توافق على الشروط والأحكام المذكورة في هذه الاتفاقية وتقبل الالتزام بها قانونياً؟",
1848
+ type: "yes_no",
1849
+ required: true,
1850
+ metadata: {
1851
+ readonlyReason: "User must explicitly accept terms before submitting the application."
1852
+ }
1853
+ }
1854
+ ]
1855
+ }
1856
+ ]
1857
+ }
1858
+ ]
1859
+ }
1860
+ ]
1861
+ };
1862
+ class Version101753000000000 {
1863
+ async up(queryRunner) {
1864
+ await queryRunner.query(`INSERT INTO "onboarding_schemas" ("id", "name", "version", "description", "total_steps", "created_at", "updated_at") VALUES (:1, :2, :3, :4, :5, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)`, [
1865
+ onboardingSchema.id,
1866
+ onboardingSchema.name,
1867
+ onboardingSchema.version,
1868
+ onboardingSchema.description || null,
1869
+ onboardingSchema.total_steps,
1870
+ ]);
1871
+ for (const step of onboardingSchema.steps) {
1872
+ await queryRunner.query(`INSERT INTO "onboarding_steps" ("id", "order", "title_en", "title_ar", "step_description_en", "step_description_ar", "created_at", "updated_at", "onboarding_schema_id") VALUES (:1, :2, :3, :4, :5, :6, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, :7)`, [
1873
+ step.id,
1874
+ step.order,
1875
+ step.title_en,
1876
+ step.title_ar,
1877
+ step.step_description_en || null,
1878
+ step.step_description_ar || null,
1879
+ onboardingSchema.id,
1880
+ ]);
1881
+ for (const substep of step.substeps || []) {
1882
+ await queryRunner.query(`INSERT INTO "onboarding_substeps" ("id", "order", "title_en", "title_ar", "created_at", "updated_at", "step_id") VALUES (:1, :2, :3, :4, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, :5)`, [
1883
+ substep.id,
1884
+ substep.order,
1885
+ substep.title_en,
1886
+ substep.title_ar,
1887
+ step.id,
1888
+ ]);
1889
+ for (const group of substep.groups || []) {
1890
+ const groupRequired = 'required' in group && typeof group.required === 'boolean' ? group.required : false;
1891
+ const groupMetadata = 'metadata' in group && group.metadata ? JSON.stringify(group.metadata) : null;
1892
+ await queryRunner.query(`INSERT INTO "onboarding_groups" ("id", "title_en", "title_ar", "order", "required", "metadata", "created_at", "updated_at", "substep_id") VALUES (:1, :2, :3, :4, :5, :6, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, :7)`, [
1893
+ group.id,
1894
+ group.title_en,
1895
+ group.title_ar || null,
1896
+ group.order,
1897
+ groupRequired ? 1 : 0,
1898
+ groupMetadata,
1899
+ substep.id,
1900
+ ]);
1901
+ for (const question of group.questions || []) {
1902
+ const questionRequired = 'required' in question && typeof question.required === 'boolean' ? question.required : false;
1903
+ const questionMetadata = 'metadata' in question && question.metadata ? JSON.stringify(question.metadata) : null;
1904
+ await queryRunner.query(`INSERT INTO "onboarding_questions" ("id", "label_en", "label_ar", "type", "metadata", "required", "created_at", "updated_at", "group_id") VALUES (:1, :2, :3, :4, :5, :6, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, :7)`, [
1905
+ question.id,
1906
+ question.label_en,
1907
+ question.label_ar,
1908
+ question.type,
1909
+ questionMetadata,
1910
+ questionRequired ? 1 : 0,
1911
+ group.id,
1912
+ ]);
1913
+ }
1914
+ }
1915
+ }
1916
+ }
1917
+ }
1918
+ async down(queryRunner) {
1919
+ await queryRunner.query(`DELETE FROM "onboarding_questions" WHERE "group_id" IN (SELECT "id" FROM "onboarding_groups" WHERE "substep_id" IN (SELECT "id" FROM "onboarding_substeps" WHERE "step_id" IN (SELECT "id" FROM "onboarding_steps" WHERE "onboarding_schema_id" = :1)))`, [onboardingSchema.id]);
1920
+ await queryRunner.query(`DELETE FROM "onboarding_groups" WHERE "substep_id" IN (SELECT "id" FROM "onboarding_substeps" WHERE "step_id" IN (SELECT "id" FROM "onboarding_steps" WHERE "onboarding_schema_id" = :1))`, [onboardingSchema.id]);
1921
+ await queryRunner.query(`DELETE FROM "onboarding_substeps" WHERE "step_id" IN (SELECT "id" FROM "onboarding_steps" WHERE "onboarding_schema_id" = :1)`, [onboardingSchema.id]);
1922
+ await queryRunner.query(`DELETE FROM "onboarding_steps" WHERE "onboarding_schema_id" = :1`, [onboardingSchema.id]);
1923
+ await queryRunner.query(`DELETE FROM "onboarding_schemas" WHERE "id" = :1`, [onboardingSchema.id]);
1924
+ }
1925
+ }
1926
+ exports.Version101753000000000 = Version101753000000000;
1927
+ //# sourceMappingURL=1753000000000-version10.js.map