@hosterai/types 0.0.31 → 0.0.32

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 (33) hide show
  1. package/README.md +1 -6
  2. package/dist/decorators/unique-field-in-array-validator.spec.js +0 -14
  3. package/dist/decorators/unique-field-in-array.validator.js +4 -18
  4. package/dist/dtos/addon-field.dto.d.ts +2 -6
  5. package/dist/dtos/addon-field.dto.js +2 -25
  6. package/dist/dtos/attribute-field.dto.d.ts +6 -18
  7. package/dist/dtos/attribute-field.dto.js +2 -18
  8. package/dist/dtos/field.dto.d.ts +64 -5
  9. package/dist/dtos/field.dto.js +186 -0
  10. package/dist/dtos/info.dto.d.ts +9 -2
  11. package/dist/dtos/info.dto.js +16 -2
  12. package/dist/dtos/product/product-info.dto.js +2 -2
  13. package/dist/dtos/responses/validate-attributes-response.dto.d.ts +4 -4
  14. package/dist/dtos/responses/validate-attributes-response.dto.js +6 -2
  15. package/dist/enums/field-type.enum.d.ts +7 -20
  16. package/dist/enums/field-type.enum.js +7 -19
  17. package/dist/enums/roles.enum.d.ts +1 -0
  18. package/dist/enums/roles.enum.js +1 -0
  19. package/dist/index.d.ts +0 -29
  20. package/dist/index.js +0 -29
  21. package/dist/openapi/schemas/components.schemas.d.ts +262 -1174
  22. package/dist/openapi/schemas/components.schemas.js +660 -1944
  23. package/dist/validators/addon-field-validator.d.ts +1 -4
  24. package/dist/validators/addon-field-validator.js +3 -22
  25. package/dist/validators/addon-field-validator.spec.js +21 -15
  26. package/dist/validators/attribute-field-validator.d.ts +0 -4
  27. package/dist/validators/attribute-field-validator.js +0 -16
  28. package/dist/validators/attribute-field-validator.spec.js +20 -30
  29. package/dist/validators/field-validator.d.ts +4 -2
  30. package/dist/validators/field-validator.js +10 -4
  31. package/dist/validators/field-validator.spec.js +79 -16
  32. package/dist/validators/product-info-validator.spec.js +108 -42
  33. package/package.json +1 -1
@@ -422,6 +422,141 @@ export declare const ComponentsSchemas: {
422
422
  };
423
423
  readonly type: "object";
424
424
  };
425
+ readonly MultilangTextDto: {
426
+ readonly properties: {
427
+ readonly language: {
428
+ readonly enum: readonly ["AB", "AA", "AF", "AK", "SQ", "AM", "AR", "AN", "HY", "AS", "AV", "AE", "AY", "AZ", "BM", "BA", "EU", "BE", "BN", "BI", "BS", "BR", "BG", "MY", "CA", "KM", "CH", "CE", "NY", "ZH", "CU", "CV", "KW", "CO", "CR", "HR", "CS", "DA", "DV", "NL", "DZ", "EN", "EO", "ET", "EE", "FO", "FJ", "FI", "FR", "FF", "GL", "LG", "KA", "DE", "EL", "GN", "GU", "HT", "HA", "HE", "HZ", "HI", "HO", "HU", "IS", "IO", "IG", "ID", "IA", "IE", "IU", "IK", "GA", "IT", "JA", "JV", "KL", "KN", "KR", "KS", "KK", "KI", "RW", "KY", "KV", "KG", "KO", "KJ", "KU", "LO", "LA", "LV", "LI", "LN", "LT", "LU", "LB", "MK", "MG", "MS", "ML", "MT", "GV", "MI", "MR", "MH", "MN", "NA", "NV", "ND", "NR", "NG", "NE", "SE", "NO", "NB", "NN", "II", "OC", "OJ", "OR", "OM", "OS", "PI", "PS", "FA", "PL", "PT", "PA", "QU", "RO", "RM", "RN", "RU", "SM", "SG", "SA", "SC", "GD", "SR", "SN", "II", "SD", "SI", "SK", "SL", "SO", "ST", "ES", "SU", "SW", "SS", "SV", "TL", "TY", "TG", "TA", "TT", "TE", "TH", "BO", "TI", "TO", "TS", "TN", "TR", "TK", "TW", "UG", "UK", "UR", "UZ", "VE", "VI", "VO", "WA", "CY", "FY", "WO", "XH", "YI", "YO", "ZA", "ZU"];
429
+ readonly type: "string";
430
+ readonly title: "Language";
431
+ readonly description: "The language of the text.";
432
+ };
433
+ readonly text: {
434
+ readonly minLength: 1;
435
+ readonly type: "string";
436
+ readonly title: "Text";
437
+ readonly description: "The text content in the specified language.";
438
+ };
439
+ };
440
+ readonly type: "object";
441
+ readonly required: readonly ["language", "text"];
442
+ };
443
+ readonly FieldOptionDto: {
444
+ readonly properties: {
445
+ readonly key: {
446
+ readonly type: "string";
447
+ readonly title: "Key";
448
+ readonly description: "Internal key for the option.";
449
+ };
450
+ readonly value: {
451
+ readonly type: "string";
452
+ readonly title: "Value";
453
+ readonly description: "Display value for the option.";
454
+ };
455
+ readonly disabled: {
456
+ readonly type: "boolean";
457
+ readonly title: "Disabled";
458
+ readonly description: "Whether the option is disabled.";
459
+ };
460
+ };
461
+ readonly type: "object";
462
+ readonly required: readonly ["key", "value"];
463
+ };
464
+ readonly FieldDto: {
465
+ readonly properties: {
466
+ readonly id: {
467
+ readonly type: "string";
468
+ readonly title: "ID";
469
+ readonly description: "Unique identifier for the field.";
470
+ };
471
+ readonly label: {
472
+ readonly items: {
473
+ readonly $ref: "#/components/schemas/MultilangTextDto";
474
+ };
475
+ readonly minItems: 1;
476
+ readonly type: "array";
477
+ readonly title: "Label";
478
+ readonly description: "Multilingual label for the field.";
479
+ };
480
+ readonly value: {
481
+ readonly title: "Value";
482
+ readonly description: "Value of the field. String/Number, or FieldOptionDto/FieldOptionDto[] depending on type.";
483
+ readonly oneOf: readonly [{
484
+ readonly title: "String";
485
+ readonly type: "string";
486
+ }, {
487
+ readonly title: "Number";
488
+ readonly type: "number";
489
+ }, {
490
+ readonly title: "Option";
491
+ readonly $ref: "#/components/schemas/FieldOptionDto";
492
+ }, {
493
+ readonly title: "Options Array";
494
+ readonly type: "array";
495
+ readonly items: {
496
+ readonly $ref: "#/components/schemas/FieldOptionDto";
497
+ };
498
+ }];
499
+ };
500
+ readonly type: {
501
+ readonly enum: readonly ["TEXT_BOX", "TEXT_AREA", "SELECT", "MULTI_SELECT", "DESCRIPTION", "RADIO_BOX", "CHECKBOX", "SLIDER"];
502
+ readonly type: "string";
503
+ readonly title: "Field Type";
504
+ readonly description: "Type of the field.";
505
+ };
506
+ readonly required: {
507
+ readonly type: "boolean";
508
+ readonly title: "Required";
509
+ readonly description: "Whether the field is required.";
510
+ };
511
+ readonly disabled: {
512
+ readonly type: "boolean";
513
+ readonly title: "Disabled";
514
+ readonly description: "Whether the field is disabled.";
515
+ };
516
+ readonly hidden: {
517
+ readonly type: "boolean";
518
+ };
519
+ readonly regexValidation: {
520
+ readonly type: "string";
521
+ readonly title: "Regex Validation";
522
+ readonly description: "Optional regex to validate input.";
523
+ readonly example: "^[A-Za-z0-9_-]+$";
524
+ };
525
+ readonly regexValidationErrorMessage: {
526
+ readonly items: {
527
+ readonly $ref: "#/components/schemas/MultilangTextDto";
528
+ };
529
+ readonly minItems: 1;
530
+ readonly type: "array";
531
+ readonly title: "Regex Validation Error Message";
532
+ readonly description: "Localized error message shown when regex validation fails.";
533
+ };
534
+ readonly triggersRemoteValidation: {
535
+ readonly type: "boolean";
536
+ };
537
+ readonly remoteValidationErrorMessage: {
538
+ readonly items: {
539
+ readonly $ref: "#/components/schemas/MultilangTextDto";
540
+ };
541
+ readonly minItems: 1;
542
+ readonly type: "array";
543
+ readonly title: "Remote Validation Error Message";
544
+ readonly description: "Localized error message shown when remote validation fails.";
545
+ };
546
+ readonly upgradable: {
547
+ readonly type: "boolean";
548
+ readonly title: "Upgradable";
549
+ readonly description: "Whether the item attribute is upgradable by the user.";
550
+ };
551
+ readonly downgradable: {
552
+ readonly type: "boolean";
553
+ readonly title: "Downgradable";
554
+ readonly description: "Whether the item attribute is downgradable by the user.";
555
+ };
556
+ };
557
+ readonly type: "object";
558
+ readonly required: readonly ["id", "label", "value", "type", "required", "disabled"];
559
+ };
425
560
  readonly InfoDto: {
426
561
  readonly properties: {
427
562
  readonly title: {
@@ -431,6 +566,13 @@ export declare const ComponentsSchemas: {
431
566
  readonly description: "Integration display title.";
432
567
  readonly example: "Example Product";
433
568
  };
569
+ readonly uniqueName: {
570
+ readonly minLength: 1;
571
+ readonly type: "string";
572
+ readonly title: "Unique Name";
573
+ readonly description: "Unique name of the integration.";
574
+ readonly example: "example-product";
575
+ };
434
576
  readonly logo: {
435
577
  readonly format: "uri";
436
578
  readonly type: "string";
@@ -467,7 +609,7 @@ export declare const ComponentsSchemas: {
467
609
  };
468
610
  readonly requiredRoles: {
469
611
  readonly items: {
470
- readonly enum: readonly ["SIMPLE_USER", "FULL_ACCESS", "SUPER_ADMIN", "ORDER_READ", "ORDER_WRITE", "ADDON_READ", "ADDON_WRITE", "AFFILIATE_READ", "AFFILIATE_WRITE", "COMPANY_READ", "COMPANY_WRITE", "TEMPLATE_READ", "TEMPLATE_WRITE", "COUPON_READ", "COUPON_WRITE", "DOMAIN_CATEGORY_READ", "DOMAIN_CATEGORY_WRITE", "DOMAIN_CONTACT_READ", "DOMAIN_CONTACT_WRITE", "DOMAIN_NAME_READ", "DOMAIN_NAME_WRITE", "INVOICE_CONTACT_READ", "INVOICE_CONTACT_WRITE", "INVOICE_READ", "INVOICE_WRITE", "IP_GROUPS_READ", "IP_GROUPS_WRITE", "IPS_READ", "IPS_WRITE", "ITEMS_READ", "ITEMS_WRITE", "ORDERS_READ", "ORDERS_WRITE", "TRANSACTIONS_READ", "TRANSACTIONS_WRITE", "POLICIES_READ", "POLICIES_WRITE", "PRODUCT_CATEGORIES_READ", "PRODUCT_CATEGORIES_WRITE", "PRODUCTS_READ", "PRODUCTS_WRITE", "SETTINGS_READ", "SETTINGS_WRITE", "INTEGRATIONS_READ", "INTEGRATIONS_WRITE", "TLDS_READ", "TLDS_WRITE", "USERS_READ", "USERS_WRITE", "ISSUES_WRITE", "ISSUES_READ", "ACTION_LOGS_READ"];
612
+ readonly enum: readonly ["SIMPLE_USER", "FULL_ACCESS", "SUPER_ADMIN", "ORDER_READ", "ORDER_WRITE", "ADDON_READ", "ADDON_WRITE", "AFFILIATE_READ", "AFFILIATE_WRITE", "COMPANY_READ", "COMPANY_WRITE", "TEMPLATE_READ", "TEMPLATE_WRITE", "COUPON_READ", "COUPON_WRITE", "DOMAIN_CATEGORY_READ", "DOMAIN_CATEGORY_WRITE", "DOMAIN_CONTACT_READ", "DOMAIN_CONTACT_WRITE", "DOMAIN_NAME_READ", "DOMAIN_NAME_WRITE", "INVOICE_CONTACT_READ", "INVOICE_CONTACT_WRITE", "INVOICE_READ", "INVOICE_WRITE", "IP_GROUPS_READ", "IP_GROUPS_WRITE", "IPS_READ", "IPS_WRITE", "ITEMS_READ", "ITEMS_WRITE", "ITEM_REFUND", "ORDERS_READ", "ORDERS_WRITE", "TRANSACTIONS_READ", "TRANSACTIONS_WRITE", "POLICIES_READ", "POLICIES_WRITE", "PRODUCT_CATEGORIES_READ", "PRODUCT_CATEGORIES_WRITE", "PRODUCTS_READ", "PRODUCTS_WRITE", "SETTINGS_READ", "SETTINGS_WRITE", "INTEGRATIONS_READ", "INTEGRATIONS_WRITE", "TLDS_READ", "TLDS_WRITE", "USERS_READ", "USERS_WRITE", "ISSUES_WRITE", "ISSUES_READ", "ACTION_LOGS_READ"];
471
613
  readonly type: "string";
472
614
  };
473
615
  readonly minItems: 1;
@@ -494,16 +636,16 @@ export declare const ComponentsSchemas: {
494
636
  };
495
637
  readonly setupAttributes: {
496
638
  readonly items: {
497
- readonly $ref: "#/components/schemas/AnyFieldDto";
639
+ readonly $ref: "#/components/schemas/FieldDto";
498
640
  };
499
- readonly minItems: 1;
500
641
  readonly type: "array";
642
+ readonly minItems: 1;
501
643
  readonly title: "Setup Attributes";
502
- readonly description: "Configurable attributes that are used in the setup process. Each item is a concrete field DTO discriminated by its `type` literal.";
644
+ readonly description: "Configurable attributes that are used in the setup process.";
503
645
  };
504
646
  };
505
647
  readonly type: "object";
506
- readonly required: readonly ["title", "supportedLanguages"];
648
+ readonly required: readonly ["title", "uniqueName", "supportedLanguages"];
507
649
  };
508
650
  readonly UnitDto: {
509
651
  readonly properties: {
@@ -561,6 +703,13 @@ export declare const ComponentsSchemas: {
561
703
  readonly description: "Integration display title.";
562
704
  readonly example: "Example Product";
563
705
  };
706
+ readonly uniqueName: {
707
+ readonly minLength: 1;
708
+ readonly type: "string";
709
+ readonly title: "Unique Name";
710
+ readonly description: "Unique name of the integration.";
711
+ readonly example: "example-product";
712
+ };
564
713
  readonly logo: {
565
714
  readonly format: "uri";
566
715
  readonly type: "string";
@@ -597,7 +746,7 @@ export declare const ComponentsSchemas: {
597
746
  };
598
747
  readonly requiredRoles: {
599
748
  readonly items: {
600
- readonly enum: readonly ["SIMPLE_USER", "FULL_ACCESS", "SUPER_ADMIN", "ORDER_READ", "ORDER_WRITE", "ADDON_READ", "ADDON_WRITE", "AFFILIATE_READ", "AFFILIATE_WRITE", "COMPANY_READ", "COMPANY_WRITE", "TEMPLATE_READ", "TEMPLATE_WRITE", "COUPON_READ", "COUPON_WRITE", "DOMAIN_CATEGORY_READ", "DOMAIN_CATEGORY_WRITE", "DOMAIN_CONTACT_READ", "DOMAIN_CONTACT_WRITE", "DOMAIN_NAME_READ", "DOMAIN_NAME_WRITE", "INVOICE_CONTACT_READ", "INVOICE_CONTACT_WRITE", "INVOICE_READ", "INVOICE_WRITE", "IP_GROUPS_READ", "IP_GROUPS_WRITE", "IPS_READ", "IPS_WRITE", "ITEMS_READ", "ITEMS_WRITE", "ORDERS_READ", "ORDERS_WRITE", "TRANSACTIONS_READ", "TRANSACTIONS_WRITE", "POLICIES_READ", "POLICIES_WRITE", "PRODUCT_CATEGORIES_READ", "PRODUCT_CATEGORIES_WRITE", "PRODUCTS_READ", "PRODUCTS_WRITE", "SETTINGS_READ", "SETTINGS_WRITE", "INTEGRATIONS_READ", "INTEGRATIONS_WRITE", "TLDS_READ", "TLDS_WRITE", "USERS_READ", "USERS_WRITE", "ISSUES_WRITE", "ISSUES_READ", "ACTION_LOGS_READ"];
749
+ readonly enum: readonly ["SIMPLE_USER", "FULL_ACCESS", "SUPER_ADMIN", "ORDER_READ", "ORDER_WRITE", "ADDON_READ", "ADDON_WRITE", "AFFILIATE_READ", "AFFILIATE_WRITE", "COMPANY_READ", "COMPANY_WRITE", "TEMPLATE_READ", "TEMPLATE_WRITE", "COUPON_READ", "COUPON_WRITE", "DOMAIN_CATEGORY_READ", "DOMAIN_CATEGORY_WRITE", "DOMAIN_CONTACT_READ", "DOMAIN_CONTACT_WRITE", "DOMAIN_NAME_READ", "DOMAIN_NAME_WRITE", "INVOICE_CONTACT_READ", "INVOICE_CONTACT_WRITE", "INVOICE_READ", "INVOICE_WRITE", "IP_GROUPS_READ", "IP_GROUPS_WRITE", "IPS_READ", "IPS_WRITE", "ITEMS_READ", "ITEMS_WRITE", "ITEM_REFUND", "ORDERS_READ", "ORDERS_WRITE", "TRANSACTIONS_READ", "TRANSACTIONS_WRITE", "POLICIES_READ", "POLICIES_WRITE", "PRODUCT_CATEGORIES_READ", "PRODUCT_CATEGORIES_WRITE", "PRODUCTS_READ", "PRODUCTS_WRITE", "SETTINGS_READ", "SETTINGS_WRITE", "INTEGRATIONS_READ", "INTEGRATIONS_WRITE", "TLDS_READ", "TLDS_WRITE", "USERS_READ", "USERS_WRITE", "ISSUES_WRITE", "ISSUES_READ", "ACTION_LOGS_READ"];
601
750
  readonly type: "string";
602
751
  };
603
752
  readonly minItems: 1;
@@ -624,25 +773,19 @@ export declare const ComponentsSchemas: {
624
773
  };
625
774
  readonly setupAttributes: {
626
775
  readonly items: {
627
- readonly $ref: "#/components/schemas/AnyFieldDto";
776
+ readonly $ref: "#/components/schemas/FieldDto";
628
777
  };
629
- readonly minItems: 1;
630
778
  readonly type: "array";
779
+ readonly minItems: 1;
631
780
  readonly title: "Setup Attributes";
632
- readonly description: "Configurable attributes that are used in the setup process. Each item is a concrete field DTO discriminated by its `type` literal.";
781
+ readonly description: "Configurable attributes that are used in the setup process.";
633
782
  };
634
783
  };
635
784
  readonly type: "object";
636
- readonly required: readonly ["type", "title", "supportedLanguages"];
785
+ readonly required: readonly ["type", "title", "uniqueName", "supportedLanguages"];
637
786
  };
638
787
  readonly AttributeFieldDto: {
639
788
  readonly properties: {
640
- readonly field: {
641
- readonly type: "object";
642
- readonly title: "Field";
643
- readonly description: "The concrete field DTO (discriminated by its `type` literal).";
644
- readonly $ref: "#/components/schemas/AnyFieldDto";
645
- };
646
789
  readonly visibleInOrder: {
647
790
  readonly type: "boolean";
648
791
  readonly title: "Visible In Order";
@@ -663,9 +806,99 @@ export declare const ComponentsSchemas: {
663
806
  readonly title: "Repeatable Max";
664
807
  readonly description: "Maximum repeats for repeatable fields.";
665
808
  };
809
+ readonly id: {
810
+ readonly type: "string";
811
+ readonly title: "ID";
812
+ readonly description: "Unique identifier for the field.";
813
+ };
814
+ readonly label: {
815
+ readonly items: {
816
+ readonly $ref: "#/components/schemas/MultilangTextDto";
817
+ };
818
+ readonly minItems: 1;
819
+ readonly type: "array";
820
+ readonly title: "Label";
821
+ readonly description: "Multilingual label for the field.";
822
+ };
823
+ readonly value: {
824
+ readonly title: "Value";
825
+ readonly description: "Value of the field. String/Number, or FieldOptionDto/FieldOptionDto[] depending on type.";
826
+ readonly oneOf: readonly [{
827
+ readonly title: "String";
828
+ readonly type: "string";
829
+ }, {
830
+ readonly title: "Number";
831
+ readonly type: "number";
832
+ }, {
833
+ readonly title: "Option";
834
+ readonly $ref: "#/components/schemas/FieldOptionDto";
835
+ }, {
836
+ readonly title: "Options Array";
837
+ readonly type: "array";
838
+ readonly items: {
839
+ readonly $ref: "#/components/schemas/FieldOptionDto";
840
+ };
841
+ }];
842
+ };
843
+ readonly type: {
844
+ readonly enum: readonly ["TEXT_BOX", "TEXT_AREA", "SELECT", "MULTI_SELECT", "DESCRIPTION", "RADIO_BOX", "CHECKBOX", "SLIDER"];
845
+ readonly type: "string";
846
+ readonly title: "Field Type";
847
+ readonly description: "Type of the field.";
848
+ };
849
+ readonly required: {
850
+ readonly type: "boolean";
851
+ readonly title: "Required";
852
+ readonly description: "Whether the field is required.";
853
+ };
854
+ readonly disabled: {
855
+ readonly type: "boolean";
856
+ readonly title: "Disabled";
857
+ readonly description: "Whether the field is disabled.";
858
+ };
859
+ readonly hidden: {
860
+ readonly type: "boolean";
861
+ };
862
+ readonly regexValidation: {
863
+ readonly type: "string";
864
+ readonly title: "Regex Validation";
865
+ readonly description: "Optional regex to validate input.";
866
+ readonly example: "^[A-Za-z0-9_-]+$";
867
+ };
868
+ readonly regexValidationErrorMessage: {
869
+ readonly items: {
870
+ readonly $ref: "#/components/schemas/MultilangTextDto";
871
+ };
872
+ readonly minItems: 1;
873
+ readonly type: "array";
874
+ readonly title: "Regex Validation Error Message";
875
+ readonly description: "Localized error message shown when regex validation fails.";
876
+ };
877
+ readonly triggersRemoteValidation: {
878
+ readonly type: "boolean";
879
+ };
880
+ readonly remoteValidationErrorMessage: {
881
+ readonly items: {
882
+ readonly $ref: "#/components/schemas/MultilangTextDto";
883
+ };
884
+ readonly minItems: 1;
885
+ readonly type: "array";
886
+ readonly title: "Remote Validation Error Message";
887
+ readonly description: "Localized error message shown when remote validation fails.";
888
+ };
889
+ readonly upgradable: {
890
+ readonly type: "boolean";
891
+ readonly title: "Upgradable";
892
+ readonly description: "Whether the item attribute is upgradable by the user.";
893
+ };
894
+ readonly downgradable: {
895
+ readonly type: "boolean";
896
+ readonly title: "Downgradable";
897
+ readonly description: "Whether the item attribute is downgradable by the user.";
898
+ };
666
899
  };
667
900
  readonly type: "object";
668
- readonly required: readonly ["field"];
901
+ readonly required: readonly ["id", "label", "value", "type", "required", "disabled"];
669
902
  };
670
903
  readonly ProductInfoDto: {
671
904
  readonly properties: {
@@ -730,6 +963,13 @@ export declare const ComponentsSchemas: {
730
963
  readonly description: "Integration display title.";
731
964
  readonly example: "Example Product";
732
965
  };
966
+ readonly uniqueName: {
967
+ readonly minLength: 1;
968
+ readonly type: "string";
969
+ readonly title: "Unique Name";
970
+ readonly description: "Unique name of the integration.";
971
+ readonly example: "example-product";
972
+ };
733
973
  readonly logo: {
734
974
  readonly format: "uri";
735
975
  readonly type: "string";
@@ -766,7 +1006,7 @@ export declare const ComponentsSchemas: {
766
1006
  };
767
1007
  readonly requiredRoles: {
768
1008
  readonly items: {
769
- readonly enum: readonly ["SIMPLE_USER", "FULL_ACCESS", "SUPER_ADMIN", "ORDER_READ", "ORDER_WRITE", "ADDON_READ", "ADDON_WRITE", "AFFILIATE_READ", "AFFILIATE_WRITE", "COMPANY_READ", "COMPANY_WRITE", "TEMPLATE_READ", "TEMPLATE_WRITE", "COUPON_READ", "COUPON_WRITE", "DOMAIN_CATEGORY_READ", "DOMAIN_CATEGORY_WRITE", "DOMAIN_CONTACT_READ", "DOMAIN_CONTACT_WRITE", "DOMAIN_NAME_READ", "DOMAIN_NAME_WRITE", "INVOICE_CONTACT_READ", "INVOICE_CONTACT_WRITE", "INVOICE_READ", "INVOICE_WRITE", "IP_GROUPS_READ", "IP_GROUPS_WRITE", "IPS_READ", "IPS_WRITE", "ITEMS_READ", "ITEMS_WRITE", "ORDERS_READ", "ORDERS_WRITE", "TRANSACTIONS_READ", "TRANSACTIONS_WRITE", "POLICIES_READ", "POLICIES_WRITE", "PRODUCT_CATEGORIES_READ", "PRODUCT_CATEGORIES_WRITE", "PRODUCTS_READ", "PRODUCTS_WRITE", "SETTINGS_READ", "SETTINGS_WRITE", "INTEGRATIONS_READ", "INTEGRATIONS_WRITE", "TLDS_READ", "TLDS_WRITE", "USERS_READ", "USERS_WRITE", "ISSUES_WRITE", "ISSUES_READ", "ACTION_LOGS_READ"];
1009
+ readonly enum: readonly ["SIMPLE_USER", "FULL_ACCESS", "SUPER_ADMIN", "ORDER_READ", "ORDER_WRITE", "ADDON_READ", "ADDON_WRITE", "AFFILIATE_READ", "AFFILIATE_WRITE", "COMPANY_READ", "COMPANY_WRITE", "TEMPLATE_READ", "TEMPLATE_WRITE", "COUPON_READ", "COUPON_WRITE", "DOMAIN_CATEGORY_READ", "DOMAIN_CATEGORY_WRITE", "DOMAIN_CONTACT_READ", "DOMAIN_CONTACT_WRITE", "DOMAIN_NAME_READ", "DOMAIN_NAME_WRITE", "INVOICE_CONTACT_READ", "INVOICE_CONTACT_WRITE", "INVOICE_READ", "INVOICE_WRITE", "IP_GROUPS_READ", "IP_GROUPS_WRITE", "IPS_READ", "IPS_WRITE", "ITEMS_READ", "ITEMS_WRITE", "ITEM_REFUND", "ORDERS_READ", "ORDERS_WRITE", "TRANSACTIONS_READ", "TRANSACTIONS_WRITE", "POLICIES_READ", "POLICIES_WRITE", "PRODUCT_CATEGORIES_READ", "PRODUCT_CATEGORIES_WRITE", "PRODUCTS_READ", "PRODUCTS_WRITE", "SETTINGS_READ", "SETTINGS_WRITE", "INTEGRATIONS_READ", "INTEGRATIONS_WRITE", "TLDS_READ", "TLDS_WRITE", "USERS_READ", "USERS_WRITE", "ISSUES_WRITE", "ISSUES_READ", "ACTION_LOGS_READ"];
770
1010
  readonly type: "string";
771
1011
  };
772
1012
  readonly minItems: 1;
@@ -793,1167 +1033,15 @@ export declare const ComponentsSchemas: {
793
1033
  };
794
1034
  readonly setupAttributes: {
795
1035
  readonly items: {
796
- readonly $ref: "#/components/schemas/AnyFieldDto";
1036
+ readonly $ref: "#/components/schemas/FieldDto";
797
1037
  };
798
- readonly minItems: 1;
799
1038
  readonly type: "array";
1039
+ readonly minItems: 1;
800
1040
  readonly title: "Setup Attributes";
801
- readonly description: "Configurable attributes that are used in the setup process. Each item is a concrete field DTO discriminated by its `type` literal.";
802
- };
803
- };
804
- readonly type: "object";
805
- readonly required: readonly ["supportedActions", "title", "supportedLanguages"];
806
- };
807
- readonly MultilangTextDto: {
808
- readonly properties: {
809
- readonly language: {
810
- readonly enum: readonly ["AB", "AA", "AF", "AK", "SQ", "AM", "AR", "AN", "HY", "AS", "AV", "AE", "AY", "AZ", "BM", "BA", "EU", "BE", "BN", "BI", "BS", "BR", "BG", "MY", "CA", "KM", "CH", "CE", "NY", "ZH", "CU", "CV", "KW", "CO", "CR", "HR", "CS", "DA", "DV", "NL", "DZ", "EN", "EO", "ET", "EE", "FO", "FJ", "FI", "FR", "FF", "GL", "LG", "KA", "DE", "EL", "GN", "GU", "HT", "HA", "HE", "HZ", "HI", "HO", "HU", "IS", "IO", "IG", "ID", "IA", "IE", "IU", "IK", "GA", "IT", "JA", "JV", "KL", "KN", "KR", "KS", "KK", "KI", "RW", "KY", "KV", "KG", "KO", "KJ", "KU", "LO", "LA", "LV", "LI", "LN", "LT", "LU", "LB", "MK", "MG", "MS", "ML", "MT", "GV", "MI", "MR", "MH", "MN", "NA", "NV", "ND", "NR", "NG", "NE", "SE", "NO", "NB", "NN", "II", "OC", "OJ", "OR", "OM", "OS", "PI", "PS", "FA", "PL", "PT", "PA", "QU", "RO", "RM", "RN", "RU", "SM", "SG", "SA", "SC", "GD", "SR", "SN", "II", "SD", "SI", "SK", "SL", "SO", "ST", "ES", "SU", "SW", "SS", "SV", "TL", "TY", "TG", "TA", "TT", "TE", "TH", "BO", "TI", "TO", "TS", "TN", "TR", "TK", "TW", "UG", "UK", "UR", "UZ", "VE", "VI", "VO", "WA", "CY", "FY", "WO", "XH", "YI", "YO", "ZA", "ZU"];
811
- readonly type: "string";
812
- readonly title: "Language";
813
- readonly description: "The language of the text.";
814
- };
815
- readonly text: {
816
- readonly minLength: 1;
817
- readonly type: "string";
818
- readonly title: "Text";
819
- readonly description: "The text content in the specified language.";
1041
+ readonly description: "Configurable attributes that are used in the setup process.";
820
1042
  };
821
1043
  };
822
1044
  readonly type: "object";
823
- readonly required: readonly ["language", "text"];
824
- };
825
- readonly BaseFieldDto: {
826
- readonly properties: {
827
- readonly id: {
828
- readonly type: "string";
829
- readonly title: "ID";
830
- readonly description: "Unique identifier for the field.";
831
- };
832
- readonly label: {
833
- readonly items: {
834
- readonly $ref: "#/components/schemas/MultilangTextDto";
835
- };
836
- readonly minItems: 1;
837
- readonly type: "array";
838
- readonly title: "Label";
839
- readonly description: "Multilingual label for the field.";
840
- };
841
- readonly required: {
842
- readonly type: "boolean";
843
- readonly title: "Required";
844
- readonly description: "Whether the field is required.";
845
- };
846
- readonly disabled: {
847
- readonly type: "boolean";
848
- readonly title: "Disabled";
849
- readonly description: "Whether the field is disabled.";
850
- };
851
- readonly hidden: {
852
- readonly type: "boolean";
853
- readonly title: "Hidden";
854
- readonly description: "Whether the field is hidden.";
855
- };
856
- readonly triggersRemoteValidation: {
857
- readonly type: "boolean";
858
- readonly title: "Triggers Remote Validation";
859
- readonly description: "Whether remote validation should be triggered for this field.";
860
- };
861
- readonly remoteValidationErrorMessage: {
862
- readonly items: {
863
- readonly $ref: "#/components/schemas/MultilangTextDto";
864
- };
865
- readonly minItems: 1;
866
- readonly type: "array";
867
- readonly title: "Remote Validation Error Message";
868
- readonly description: "Localized error message shown when remote validation fails.";
869
- };
870
- readonly upgradable: {
871
- readonly type: "boolean";
872
- readonly title: "Upgradable";
873
- readonly description: "Whether the item attribute is upgradable by the user.";
874
- };
875
- readonly downgradable: {
876
- readonly type: "boolean";
877
- readonly title: "Downgradable";
878
- readonly description: "Whether the item attribute is downgradable by the user.";
879
- };
880
- };
881
- readonly type: "object";
882
- readonly required: readonly ["id", "label", "required", "disabled"];
883
- };
884
- readonly BooleanFieldDto: {
885
- readonly properties: {
886
- readonly type: {
887
- readonly type: "string";
888
- readonly enum: readonly ["BOOLEAN"];
889
- readonly title: "Field Type";
890
- readonly description: "Discriminator literal — always 'BOOLEAN' for this DTO.";
891
- };
892
- readonly value: {
893
- readonly type: "boolean";
894
- readonly title: "Value";
895
- readonly description: "Boolean value of the field.";
896
- };
897
- readonly id: {
898
- readonly type: "string";
899
- readonly title: "ID";
900
- readonly description: "Unique identifier for the field.";
901
- };
902
- readonly label: {
903
- readonly items: {
904
- readonly $ref: "#/components/schemas/MultilangTextDto";
905
- };
906
- readonly minItems: 1;
907
- readonly type: "array";
908
- readonly title: "Label";
909
- readonly description: "Multilingual label for the field.";
910
- };
911
- readonly required: {
912
- readonly type: "boolean";
913
- readonly title: "Required";
914
- readonly description: "Whether the field is required.";
915
- };
916
- readonly disabled: {
917
- readonly type: "boolean";
918
- readonly title: "Disabled";
919
- readonly description: "Whether the field is disabled.";
920
- };
921
- readonly hidden: {
922
- readonly type: "boolean";
923
- readonly title: "Hidden";
924
- readonly description: "Whether the field is hidden.";
925
- };
926
- readonly triggersRemoteValidation: {
927
- readonly type: "boolean";
928
- readonly title: "Triggers Remote Validation";
929
- readonly description: "Whether remote validation should be triggered for this field.";
930
- };
931
- readonly remoteValidationErrorMessage: {
932
- readonly items: {
933
- readonly $ref: "#/components/schemas/MultilangTextDto";
934
- };
935
- readonly minItems: 1;
936
- readonly type: "array";
937
- readonly title: "Remote Validation Error Message";
938
- readonly description: "Localized error message shown when remote validation fails.";
939
- };
940
- readonly upgradable: {
941
- readonly type: "boolean";
942
- readonly title: "Upgradable";
943
- readonly description: "Whether the item attribute is upgradable by the user.";
944
- };
945
- readonly downgradable: {
946
- readonly type: "boolean";
947
- readonly title: "Downgradable";
948
- readonly description: "Whether the item attribute is downgradable by the user.";
949
- };
950
- };
951
- readonly type: "object";
952
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
953
- };
954
- readonly TextFieldDto: {
955
- readonly properties: {
956
- readonly type: {
957
- readonly type: "string";
958
- readonly enum: readonly ["TEXT"];
959
- readonly title: "Field Type";
960
- readonly description: "Discriminator literal — always 'TEXT' for this DTO.";
961
- };
962
- readonly value: {
963
- readonly type: "string";
964
- readonly title: "Value";
965
- readonly description: "Text value of the field.";
966
- };
967
- readonly minLength: {
968
- readonly minimum: 0;
969
- readonly type: "integer";
970
- readonly title: "Minimum Length";
971
- readonly description: "Minimum allowed character length.";
972
- };
973
- readonly maxLength: {
974
- readonly minimum: 0;
975
- readonly type: "integer";
976
- readonly title: "Maximum Length";
977
- readonly description: "Maximum allowed character length.";
978
- };
979
- readonly regexValidation: {
980
- readonly type: "string";
981
- readonly title: "Regex Validation";
982
- readonly description: "Optional regex to validate input.";
983
- readonly example: "^[A-Za-z0-9_-]+$";
984
- };
985
- readonly regexValidationErrorMessage: {
986
- readonly items: {
987
- readonly $ref: "#/components/schemas/MultilangTextDto";
988
- };
989
- readonly minItems: 1;
990
- readonly type: "array";
991
- readonly title: "Regex Validation Error Message";
992
- readonly description: "Localized error message shown when regex validation fails.";
993
- };
994
- readonly id: {
995
- readonly type: "string";
996
- readonly title: "ID";
997
- readonly description: "Unique identifier for the field.";
998
- };
999
- readonly label: {
1000
- readonly items: {
1001
- readonly $ref: "#/components/schemas/MultilangTextDto";
1002
- };
1003
- readonly minItems: 1;
1004
- readonly type: "array";
1005
- readonly title: "Label";
1006
- readonly description: "Multilingual label for the field.";
1007
- };
1008
- readonly required: {
1009
- readonly type: "boolean";
1010
- readonly title: "Required";
1011
- readonly description: "Whether the field is required.";
1012
- };
1013
- readonly disabled: {
1014
- readonly type: "boolean";
1015
- readonly title: "Disabled";
1016
- readonly description: "Whether the field is disabled.";
1017
- };
1018
- readonly hidden: {
1019
- readonly type: "boolean";
1020
- readonly title: "Hidden";
1021
- readonly description: "Whether the field is hidden.";
1022
- };
1023
- readonly triggersRemoteValidation: {
1024
- readonly type: "boolean";
1025
- readonly title: "Triggers Remote Validation";
1026
- readonly description: "Whether remote validation should be triggered for this field.";
1027
- };
1028
- readonly remoteValidationErrorMessage: {
1029
- readonly items: {
1030
- readonly $ref: "#/components/schemas/MultilangTextDto";
1031
- };
1032
- readonly minItems: 1;
1033
- readonly type: "array";
1034
- readonly title: "Remote Validation Error Message";
1035
- readonly description: "Localized error message shown when remote validation fails.";
1036
- };
1037
- readonly upgradable: {
1038
- readonly type: "boolean";
1039
- readonly title: "Upgradable";
1040
- readonly description: "Whether the item attribute is upgradable by the user.";
1041
- };
1042
- readonly downgradable: {
1043
- readonly type: "boolean";
1044
- readonly title: "Downgradable";
1045
- readonly description: "Whether the item attribute is downgradable by the user.";
1046
- };
1047
- };
1048
- readonly type: "object";
1049
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1050
- };
1051
- readonly TextareaFieldDto: {
1052
- readonly properties: {
1053
- readonly type: {
1054
- readonly type: "string";
1055
- readonly enum: readonly ["TEXTAREA"];
1056
- readonly title: "Field Type";
1057
- readonly description: "Discriminator literal — always 'TEXTAREA' for this DTO.";
1058
- };
1059
- readonly value: {
1060
- readonly type: "string";
1061
- readonly title: "Value";
1062
- readonly description: "Text value of the field.";
1063
- };
1064
- readonly minLength: {
1065
- readonly minimum: 0;
1066
- readonly type: "integer";
1067
- readonly title: "Minimum Length";
1068
- readonly description: "Minimum allowed character length.";
1069
- };
1070
- readonly maxLength: {
1071
- readonly minimum: 0;
1072
- readonly type: "integer";
1073
- readonly title: "Maximum Length";
1074
- readonly description: "Maximum allowed character length.";
1075
- };
1076
- readonly regexValidation: {
1077
- readonly type: "string";
1078
- readonly title: "Regex Validation";
1079
- readonly description: "Optional regex to validate input.";
1080
- readonly example: "^[A-Za-z0-9_-]+$";
1081
- };
1082
- readonly regexValidationErrorMessage: {
1083
- readonly items: {
1084
- readonly $ref: "#/components/schemas/MultilangTextDto";
1085
- };
1086
- readonly minItems: 1;
1087
- readonly type: "array";
1088
- readonly title: "Regex Validation Error Message";
1089
- readonly description: "Localized error message shown when regex validation fails.";
1090
- };
1091
- readonly id: {
1092
- readonly type: "string";
1093
- readonly title: "ID";
1094
- readonly description: "Unique identifier for the field.";
1095
- };
1096
- readonly label: {
1097
- readonly items: {
1098
- readonly $ref: "#/components/schemas/MultilangTextDto";
1099
- };
1100
- readonly minItems: 1;
1101
- readonly type: "array";
1102
- readonly title: "Label";
1103
- readonly description: "Multilingual label for the field.";
1104
- };
1105
- readonly required: {
1106
- readonly type: "boolean";
1107
- readonly title: "Required";
1108
- readonly description: "Whether the field is required.";
1109
- };
1110
- readonly disabled: {
1111
- readonly type: "boolean";
1112
- readonly title: "Disabled";
1113
- readonly description: "Whether the field is disabled.";
1114
- };
1115
- readonly hidden: {
1116
- readonly type: "boolean";
1117
- readonly title: "Hidden";
1118
- readonly description: "Whether the field is hidden.";
1119
- };
1120
- readonly triggersRemoteValidation: {
1121
- readonly type: "boolean";
1122
- readonly title: "Triggers Remote Validation";
1123
- readonly description: "Whether remote validation should be triggered for this field.";
1124
- };
1125
- readonly remoteValidationErrorMessage: {
1126
- readonly items: {
1127
- readonly $ref: "#/components/schemas/MultilangTextDto";
1128
- };
1129
- readonly minItems: 1;
1130
- readonly type: "array";
1131
- readonly title: "Remote Validation Error Message";
1132
- readonly description: "Localized error message shown when remote validation fails.";
1133
- };
1134
- readonly upgradable: {
1135
- readonly type: "boolean";
1136
- readonly title: "Upgradable";
1137
- readonly description: "Whether the item attribute is upgradable by the user.";
1138
- };
1139
- readonly downgradable: {
1140
- readonly type: "boolean";
1141
- readonly title: "Downgradable";
1142
- readonly description: "Whether the item attribute is downgradable by the user.";
1143
- };
1144
- };
1145
- readonly type: "object";
1146
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1147
- };
1148
- readonly NumberFieldDto: {
1149
- readonly properties: {
1150
- readonly type: {
1151
- readonly type: "string";
1152
- readonly enum: readonly ["NUMBER"];
1153
- readonly title: "Field Type";
1154
- readonly description: "Discriminator literal — always 'NUMBER' for this DTO.";
1155
- };
1156
- readonly value: {
1157
- readonly type: "number";
1158
- readonly title: "Value";
1159
- readonly description: "Numeric value of the field.";
1160
- };
1161
- readonly min: {
1162
- readonly type: "number";
1163
- readonly title: "Minimum";
1164
- readonly description: "Minimum allowed value.";
1165
- };
1166
- readonly max: {
1167
- readonly type: "number";
1168
- readonly title: "Maximum";
1169
- readonly description: "Maximum allowed value.";
1170
- };
1171
- readonly integer: {
1172
- readonly type: "boolean";
1173
- readonly title: "Integer Only";
1174
- readonly description: "When true, only integer values are allowed.";
1175
- };
1176
- readonly id: {
1177
- readonly type: "string";
1178
- readonly title: "ID";
1179
- readonly description: "Unique identifier for the field.";
1180
- };
1181
- readonly label: {
1182
- readonly items: {
1183
- readonly $ref: "#/components/schemas/MultilangTextDto";
1184
- };
1185
- readonly minItems: 1;
1186
- readonly type: "array";
1187
- readonly title: "Label";
1188
- readonly description: "Multilingual label for the field.";
1189
- };
1190
- readonly required: {
1191
- readonly type: "boolean";
1192
- readonly title: "Required";
1193
- readonly description: "Whether the field is required.";
1194
- };
1195
- readonly disabled: {
1196
- readonly type: "boolean";
1197
- readonly title: "Disabled";
1198
- readonly description: "Whether the field is disabled.";
1199
- };
1200
- readonly hidden: {
1201
- readonly type: "boolean";
1202
- readonly title: "Hidden";
1203
- readonly description: "Whether the field is hidden.";
1204
- };
1205
- readonly triggersRemoteValidation: {
1206
- readonly type: "boolean";
1207
- readonly title: "Triggers Remote Validation";
1208
- readonly description: "Whether remote validation should be triggered for this field.";
1209
- };
1210
- readonly remoteValidationErrorMessage: {
1211
- readonly items: {
1212
- readonly $ref: "#/components/schemas/MultilangTextDto";
1213
- };
1214
- readonly minItems: 1;
1215
- readonly type: "array";
1216
- readonly title: "Remote Validation Error Message";
1217
- readonly description: "Localized error message shown when remote validation fails.";
1218
- };
1219
- readonly upgradable: {
1220
- readonly type: "boolean";
1221
- readonly title: "Upgradable";
1222
- readonly description: "Whether the item attribute is upgradable by the user.";
1223
- };
1224
- readonly downgradable: {
1225
- readonly type: "boolean";
1226
- readonly title: "Downgradable";
1227
- readonly description: "Whether the item attribute is downgradable by the user.";
1228
- };
1229
- };
1230
- readonly type: "object";
1231
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1232
- };
1233
- readonly PhoneFieldDto: {
1234
- readonly properties: {
1235
- readonly type: {
1236
- readonly type: "string";
1237
- readonly enum: readonly ["PHONE"];
1238
- readonly title: "Field Type";
1239
- readonly description: "Discriminator literal — always 'PHONE' for this DTO.";
1240
- };
1241
- readonly value: {
1242
- readonly type: "string";
1243
- readonly title: "Value";
1244
- readonly description: "Phone number in E.164 format (e.g. +14155552671).";
1245
- readonly example: "+14155552671";
1246
- };
1247
- readonly id: {
1248
- readonly type: "string";
1249
- readonly title: "ID";
1250
- readonly description: "Unique identifier for the field.";
1251
- };
1252
- readonly label: {
1253
- readonly items: {
1254
- readonly $ref: "#/components/schemas/MultilangTextDto";
1255
- };
1256
- readonly minItems: 1;
1257
- readonly type: "array";
1258
- readonly title: "Label";
1259
- readonly description: "Multilingual label for the field.";
1260
- };
1261
- readonly required: {
1262
- readonly type: "boolean";
1263
- readonly title: "Required";
1264
- readonly description: "Whether the field is required.";
1265
- };
1266
- readonly disabled: {
1267
- readonly type: "boolean";
1268
- readonly title: "Disabled";
1269
- readonly description: "Whether the field is disabled.";
1270
- };
1271
- readonly hidden: {
1272
- readonly type: "boolean";
1273
- readonly title: "Hidden";
1274
- readonly description: "Whether the field is hidden.";
1275
- };
1276
- readonly triggersRemoteValidation: {
1277
- readonly type: "boolean";
1278
- readonly title: "Triggers Remote Validation";
1279
- readonly description: "Whether remote validation should be triggered for this field.";
1280
- };
1281
- readonly remoteValidationErrorMessage: {
1282
- readonly items: {
1283
- readonly $ref: "#/components/schemas/MultilangTextDto";
1284
- };
1285
- readonly minItems: 1;
1286
- readonly type: "array";
1287
- readonly title: "Remote Validation Error Message";
1288
- readonly description: "Localized error message shown when remote validation fails.";
1289
- };
1290
- readonly upgradable: {
1291
- readonly type: "boolean";
1292
- readonly title: "Upgradable";
1293
- readonly description: "Whether the item attribute is upgradable by the user.";
1294
- };
1295
- readonly downgradable: {
1296
- readonly type: "boolean";
1297
- readonly title: "Downgradable";
1298
- readonly description: "Whether the item attribute is downgradable by the user.";
1299
- };
1300
- };
1301
- readonly type: "object";
1302
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1303
- };
1304
- readonly EmailFieldDto: {
1305
- readonly properties: {
1306
- readonly type: {
1307
- readonly type: "string";
1308
- readonly enum: readonly ["EMAIL"];
1309
- readonly title: "Field Type";
1310
- readonly description: "Discriminator literal — always 'EMAIL' for this DTO.";
1311
- };
1312
- readonly value: {
1313
- readonly format: "email";
1314
- readonly type: "string";
1315
- readonly title: "Value";
1316
- readonly description: "Email address.";
1317
- };
1318
- readonly id: {
1319
- readonly type: "string";
1320
- readonly title: "ID";
1321
- readonly description: "Unique identifier for the field.";
1322
- };
1323
- readonly label: {
1324
- readonly items: {
1325
- readonly $ref: "#/components/schemas/MultilangTextDto";
1326
- };
1327
- readonly minItems: 1;
1328
- readonly type: "array";
1329
- readonly title: "Label";
1330
- readonly description: "Multilingual label for the field.";
1331
- };
1332
- readonly required: {
1333
- readonly type: "boolean";
1334
- readonly title: "Required";
1335
- readonly description: "Whether the field is required.";
1336
- };
1337
- readonly disabled: {
1338
- readonly type: "boolean";
1339
- readonly title: "Disabled";
1340
- readonly description: "Whether the field is disabled.";
1341
- };
1342
- readonly hidden: {
1343
- readonly type: "boolean";
1344
- readonly title: "Hidden";
1345
- readonly description: "Whether the field is hidden.";
1346
- };
1347
- readonly triggersRemoteValidation: {
1348
- readonly type: "boolean";
1349
- readonly title: "Triggers Remote Validation";
1350
- readonly description: "Whether remote validation should be triggered for this field.";
1351
- };
1352
- readonly remoteValidationErrorMessage: {
1353
- readonly items: {
1354
- readonly $ref: "#/components/schemas/MultilangTextDto";
1355
- };
1356
- readonly minItems: 1;
1357
- readonly type: "array";
1358
- readonly title: "Remote Validation Error Message";
1359
- readonly description: "Localized error message shown when remote validation fails.";
1360
- };
1361
- readonly upgradable: {
1362
- readonly type: "boolean";
1363
- readonly title: "Upgradable";
1364
- readonly description: "Whether the item attribute is upgradable by the user.";
1365
- };
1366
- readonly downgradable: {
1367
- readonly type: "boolean";
1368
- readonly title: "Downgradable";
1369
- readonly description: "Whether the item attribute is downgradable by the user.";
1370
- };
1371
- };
1372
- readonly type: "object";
1373
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1374
- };
1375
- readonly UrlFieldDto: {
1376
- readonly properties: {
1377
- readonly type: {
1378
- readonly type: "string";
1379
- readonly enum: readonly ["URL"];
1380
- readonly title: "Field Type";
1381
- readonly description: "Discriminator literal — always 'URL' for this DTO.";
1382
- };
1383
- readonly value: {
1384
- readonly format: "uri";
1385
- readonly type: "string";
1386
- readonly title: "Value";
1387
- readonly description: "URL.";
1388
- };
1389
- readonly id: {
1390
- readonly type: "string";
1391
- readonly title: "ID";
1392
- readonly description: "Unique identifier for the field.";
1393
- };
1394
- readonly label: {
1395
- readonly items: {
1396
- readonly $ref: "#/components/schemas/MultilangTextDto";
1397
- };
1398
- readonly minItems: 1;
1399
- readonly type: "array";
1400
- readonly title: "Label";
1401
- readonly description: "Multilingual label for the field.";
1402
- };
1403
- readonly required: {
1404
- readonly type: "boolean";
1405
- readonly title: "Required";
1406
- readonly description: "Whether the field is required.";
1407
- };
1408
- readonly disabled: {
1409
- readonly type: "boolean";
1410
- readonly title: "Disabled";
1411
- readonly description: "Whether the field is disabled.";
1412
- };
1413
- readonly hidden: {
1414
- readonly type: "boolean";
1415
- readonly title: "Hidden";
1416
- readonly description: "Whether the field is hidden.";
1417
- };
1418
- readonly triggersRemoteValidation: {
1419
- readonly type: "boolean";
1420
- readonly title: "Triggers Remote Validation";
1421
- readonly description: "Whether remote validation should be triggered for this field.";
1422
- };
1423
- readonly remoteValidationErrorMessage: {
1424
- readonly items: {
1425
- readonly $ref: "#/components/schemas/MultilangTextDto";
1426
- };
1427
- readonly minItems: 1;
1428
- readonly type: "array";
1429
- readonly title: "Remote Validation Error Message";
1430
- readonly description: "Localized error message shown when remote validation fails.";
1431
- };
1432
- readonly upgradable: {
1433
- readonly type: "boolean";
1434
- readonly title: "Upgradable";
1435
- readonly description: "Whether the item attribute is upgradable by the user.";
1436
- };
1437
- readonly downgradable: {
1438
- readonly type: "boolean";
1439
- readonly title: "Downgradable";
1440
- readonly description: "Whether the item attribute is downgradable by the user.";
1441
- };
1442
- };
1443
- readonly type: "object";
1444
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1445
- };
1446
- readonly CountriesFieldDto: {
1447
- readonly properties: {
1448
- readonly type: {
1449
- readonly type: "string";
1450
- readonly enum: readonly ["COUNTRIES"];
1451
- readonly title: "Field Type";
1452
- readonly description: "Discriminator literal — always 'COUNTRIES' for this DTO.";
1453
- };
1454
- readonly value: {
1455
- readonly items: {
1456
- readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT"];
1457
- readonly type: "string";
1458
- };
1459
- readonly type: "array";
1460
- readonly title: "Value";
1461
- readonly description: "Array of ISO 3166-1 alpha-2 country codes.";
1462
- };
1463
- readonly id: {
1464
- readonly type: "string";
1465
- readonly title: "ID";
1466
- readonly description: "Unique identifier for the field.";
1467
- };
1468
- readonly label: {
1469
- readonly items: {
1470
- readonly $ref: "#/components/schemas/MultilangTextDto";
1471
- };
1472
- readonly minItems: 1;
1473
- readonly type: "array";
1474
- readonly title: "Label";
1475
- readonly description: "Multilingual label for the field.";
1476
- };
1477
- readonly required: {
1478
- readonly type: "boolean";
1479
- readonly title: "Required";
1480
- readonly description: "Whether the field is required.";
1481
- };
1482
- readonly disabled: {
1483
- readonly type: "boolean";
1484
- readonly title: "Disabled";
1485
- readonly description: "Whether the field is disabled.";
1486
- };
1487
- readonly hidden: {
1488
- readonly type: "boolean";
1489
- readonly title: "Hidden";
1490
- readonly description: "Whether the field is hidden.";
1491
- };
1492
- readonly triggersRemoteValidation: {
1493
- readonly type: "boolean";
1494
- readonly title: "Triggers Remote Validation";
1495
- readonly description: "Whether remote validation should be triggered for this field.";
1496
- };
1497
- readonly remoteValidationErrorMessage: {
1498
- readonly items: {
1499
- readonly $ref: "#/components/schemas/MultilangTextDto";
1500
- };
1501
- readonly minItems: 1;
1502
- readonly type: "array";
1503
- readonly title: "Remote Validation Error Message";
1504
- readonly description: "Localized error message shown when remote validation fails.";
1505
- };
1506
- readonly upgradable: {
1507
- readonly type: "boolean";
1508
- readonly title: "Upgradable";
1509
- readonly description: "Whether the item attribute is upgradable by the user.";
1510
- };
1511
- readonly downgradable: {
1512
- readonly type: "boolean";
1513
- readonly title: "Downgradable";
1514
- readonly description: "Whether the item attribute is downgradable by the user.";
1515
- };
1516
- };
1517
- readonly type: "object";
1518
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1519
- };
1520
- readonly CurrencyFieldDto: {
1521
- readonly properties: {
1522
- readonly type: {
1523
- readonly type: "string";
1524
- readonly enum: readonly ["CURRENCY"];
1525
- readonly title: "Field Type";
1526
- readonly description: "Discriminator literal — always 'CURRENCY' for this DTO.";
1527
- };
1528
- readonly value: {
1529
- readonly enum: readonly ["EUR", "USD", "GBP", "CHF", "SEK", "NOK", "DKK", "PLN", "CZK", "HUF", "RON", "BGN", "TRY", "RUB", "JPY", "CNY", "AUD", "NZD", "CAD", "ZAR", "INR", "MXN", "BRL", "ARS", "CLP", "COP", "PEN", "UYU", "VES", "ILS", "AED", "SAR", "KRW", "SGD", "HKD", "TWD", "THB", "MYR", "IDR", "PHP", "VND"];
1530
- readonly type: "string";
1531
- readonly title: "Value";
1532
- readonly description: "ISO 4217 currency code.";
1533
- };
1534
- readonly id: {
1535
- readonly type: "string";
1536
- readonly title: "ID";
1537
- readonly description: "Unique identifier for the field.";
1538
- };
1539
- readonly label: {
1540
- readonly items: {
1541
- readonly $ref: "#/components/schemas/MultilangTextDto";
1542
- };
1543
- readonly minItems: 1;
1544
- readonly type: "array";
1545
- readonly title: "Label";
1546
- readonly description: "Multilingual label for the field.";
1547
- };
1548
- readonly required: {
1549
- readonly type: "boolean";
1550
- readonly title: "Required";
1551
- readonly description: "Whether the field is required.";
1552
- };
1553
- readonly disabled: {
1554
- readonly type: "boolean";
1555
- readonly title: "Disabled";
1556
- readonly description: "Whether the field is disabled.";
1557
- };
1558
- readonly hidden: {
1559
- readonly type: "boolean";
1560
- readonly title: "Hidden";
1561
- readonly description: "Whether the field is hidden.";
1562
- };
1563
- readonly triggersRemoteValidation: {
1564
- readonly type: "boolean";
1565
- readonly title: "Triggers Remote Validation";
1566
- readonly description: "Whether remote validation should be triggered for this field.";
1567
- };
1568
- readonly remoteValidationErrorMessage: {
1569
- readonly items: {
1570
- readonly $ref: "#/components/schemas/MultilangTextDto";
1571
- };
1572
- readonly minItems: 1;
1573
- readonly type: "array";
1574
- readonly title: "Remote Validation Error Message";
1575
- readonly description: "Localized error message shown when remote validation fails.";
1576
- };
1577
- readonly upgradable: {
1578
- readonly type: "boolean";
1579
- readonly title: "Upgradable";
1580
- readonly description: "Whether the item attribute is upgradable by the user.";
1581
- };
1582
- readonly downgradable: {
1583
- readonly type: "boolean";
1584
- readonly title: "Downgradable";
1585
- readonly description: "Whether the item attribute is downgradable by the user.";
1586
- };
1587
- };
1588
- readonly type: "object";
1589
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1590
- };
1591
- readonly DateFieldDto: {
1592
- readonly properties: {
1593
- readonly type: {
1594
- readonly type: "string";
1595
- readonly enum: readonly ["DATE"];
1596
- readonly title: "Field Type";
1597
- readonly description: "Discriminator literal — always 'DATE' for this DTO.";
1598
- };
1599
- readonly value: {
1600
- readonly oneOf: readonly [{
1601
- readonly format: "date";
1602
- readonly type: "string";
1603
- }, {
1604
- readonly format: "date-time";
1605
- readonly type: "string";
1606
- }];
1607
- readonly title: "Value";
1608
- readonly description: "ISO 8601 date or date-time string.";
1609
- readonly type: "string";
1610
- readonly format: "date-time";
1611
- };
1612
- readonly id: {
1613
- readonly type: "string";
1614
- readonly title: "ID";
1615
- readonly description: "Unique identifier for the field.";
1616
- };
1617
- readonly label: {
1618
- readonly items: {
1619
- readonly $ref: "#/components/schemas/MultilangTextDto";
1620
- };
1621
- readonly minItems: 1;
1622
- readonly type: "array";
1623
- readonly title: "Label";
1624
- readonly description: "Multilingual label for the field.";
1625
- };
1626
- readonly required: {
1627
- readonly type: "boolean";
1628
- readonly title: "Required";
1629
- readonly description: "Whether the field is required.";
1630
- };
1631
- readonly disabled: {
1632
- readonly type: "boolean";
1633
- readonly title: "Disabled";
1634
- readonly description: "Whether the field is disabled.";
1635
- };
1636
- readonly hidden: {
1637
- readonly type: "boolean";
1638
- readonly title: "Hidden";
1639
- readonly description: "Whether the field is hidden.";
1640
- };
1641
- readonly triggersRemoteValidation: {
1642
- readonly type: "boolean";
1643
- readonly title: "Triggers Remote Validation";
1644
- readonly description: "Whether remote validation should be triggered for this field.";
1645
- };
1646
- readonly remoteValidationErrorMessage: {
1647
- readonly items: {
1648
- readonly $ref: "#/components/schemas/MultilangTextDto";
1649
- };
1650
- readonly minItems: 1;
1651
- readonly type: "array";
1652
- readonly title: "Remote Validation Error Message";
1653
- readonly description: "Localized error message shown when remote validation fails.";
1654
- };
1655
- readonly upgradable: {
1656
- readonly type: "boolean";
1657
- readonly title: "Upgradable";
1658
- readonly description: "Whether the item attribute is upgradable by the user.";
1659
- };
1660
- readonly downgradable: {
1661
- readonly type: "boolean";
1662
- readonly title: "Downgradable";
1663
- readonly description: "Whether the item attribute is downgradable by the user.";
1664
- };
1665
- };
1666
- readonly type: "object";
1667
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1668
- };
1669
- readonly PasswordFieldDto: {
1670
- readonly properties: {
1671
- readonly type: {
1672
- readonly type: "string";
1673
- readonly enum: readonly ["PASSWORD"];
1674
- readonly title: "Field Type";
1675
- readonly description: "Discriminator literal — always 'PASSWORD' for this DTO.";
1676
- };
1677
- readonly value: {
1678
- readonly type: "string";
1679
- readonly title: "Value";
1680
- readonly description: "Password value.";
1681
- readonly format: "password";
1682
- };
1683
- readonly minLength: {
1684
- readonly minimum: 0;
1685
- readonly type: "integer";
1686
- readonly title: "Minimum Length";
1687
- readonly description: "Minimum allowed length.";
1688
- };
1689
- readonly id: {
1690
- readonly type: "string";
1691
- readonly title: "ID";
1692
- readonly description: "Unique identifier for the field.";
1693
- };
1694
- readonly label: {
1695
- readonly items: {
1696
- readonly $ref: "#/components/schemas/MultilangTextDto";
1697
- };
1698
- readonly minItems: 1;
1699
- readonly type: "array";
1700
- readonly title: "Label";
1701
- readonly description: "Multilingual label for the field.";
1702
- };
1703
- readonly required: {
1704
- readonly type: "boolean";
1705
- readonly title: "Required";
1706
- readonly description: "Whether the field is required.";
1707
- };
1708
- readonly disabled: {
1709
- readonly type: "boolean";
1710
- readonly title: "Disabled";
1711
- readonly description: "Whether the field is disabled.";
1712
- };
1713
- readonly hidden: {
1714
- readonly type: "boolean";
1715
- readonly title: "Hidden";
1716
- readonly description: "Whether the field is hidden.";
1717
- };
1718
- readonly triggersRemoteValidation: {
1719
- readonly type: "boolean";
1720
- readonly title: "Triggers Remote Validation";
1721
- readonly description: "Whether remote validation should be triggered for this field.";
1722
- };
1723
- readonly remoteValidationErrorMessage: {
1724
- readonly items: {
1725
- readonly $ref: "#/components/schemas/MultilangTextDto";
1726
- };
1727
- readonly minItems: 1;
1728
- readonly type: "array";
1729
- readonly title: "Remote Validation Error Message";
1730
- readonly description: "Localized error message shown when remote validation fails.";
1731
- };
1732
- readonly upgradable: {
1733
- readonly type: "boolean";
1734
- readonly title: "Upgradable";
1735
- readonly description: "Whether the item attribute is upgradable by the user.";
1736
- };
1737
- readonly downgradable: {
1738
- readonly type: "boolean";
1739
- readonly title: "Downgradable";
1740
- readonly description: "Whether the item attribute is downgradable by the user.";
1741
- };
1742
- };
1743
- readonly type: "object";
1744
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1745
- };
1746
- readonly FieldOptionDto: {
1747
- readonly properties: {
1748
- readonly key: {
1749
- readonly type: "string";
1750
- readonly title: "Key";
1751
- readonly description: "Internal key for the option.";
1752
- };
1753
- readonly value: {
1754
- readonly type: "string";
1755
- readonly title: "Value";
1756
- readonly description: "Display value for the option.";
1757
- };
1758
- readonly disabled: {
1759
- readonly type: "boolean";
1760
- readonly title: "Disabled";
1761
- readonly description: "Whether the option is disabled.";
1762
- };
1763
- };
1764
- readonly type: "object";
1765
- readonly required: readonly ["key", "value"];
1766
- };
1767
- readonly SelectFieldDto: {
1768
- readonly properties: {
1769
- readonly type: {
1770
- readonly type: "string";
1771
- readonly enum: readonly ["SELECT"];
1772
- readonly title: "Field Type";
1773
- readonly description: "Discriminator literal — always 'SELECT' for this DTO.";
1774
- };
1775
- readonly value: {
1776
- readonly $ref: "#/components/schemas/FieldOptionDto";
1777
- readonly title: "Value";
1778
- readonly description: "Selected option.";
1779
- };
1780
- readonly id: {
1781
- readonly type: "string";
1782
- readonly title: "ID";
1783
- readonly description: "Unique identifier for the field.";
1784
- };
1785
- readonly label: {
1786
- readonly items: {
1787
- readonly $ref: "#/components/schemas/MultilangTextDto";
1788
- };
1789
- readonly minItems: 1;
1790
- readonly type: "array";
1791
- readonly title: "Label";
1792
- readonly description: "Multilingual label for the field.";
1793
- };
1794
- readonly required: {
1795
- readonly type: "boolean";
1796
- readonly title: "Required";
1797
- readonly description: "Whether the field is required.";
1798
- };
1799
- readonly disabled: {
1800
- readonly type: "boolean";
1801
- readonly title: "Disabled";
1802
- readonly description: "Whether the field is disabled.";
1803
- };
1804
- readonly hidden: {
1805
- readonly type: "boolean";
1806
- readonly title: "Hidden";
1807
- readonly description: "Whether the field is hidden.";
1808
- };
1809
- readonly triggersRemoteValidation: {
1810
- readonly type: "boolean";
1811
- readonly title: "Triggers Remote Validation";
1812
- readonly description: "Whether remote validation should be triggered for this field.";
1813
- };
1814
- readonly remoteValidationErrorMessage: {
1815
- readonly items: {
1816
- readonly $ref: "#/components/schemas/MultilangTextDto";
1817
- };
1818
- readonly minItems: 1;
1819
- readonly type: "array";
1820
- readonly title: "Remote Validation Error Message";
1821
- readonly description: "Localized error message shown when remote validation fails.";
1822
- };
1823
- readonly upgradable: {
1824
- readonly type: "boolean";
1825
- readonly title: "Upgradable";
1826
- readonly description: "Whether the item attribute is upgradable by the user.";
1827
- };
1828
- readonly downgradable: {
1829
- readonly type: "boolean";
1830
- readonly title: "Downgradable";
1831
- readonly description: "Whether the item attribute is downgradable by the user.";
1832
- };
1833
- };
1834
- readonly type: "object";
1835
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1836
- };
1837
- readonly MultiSelectFieldDto: {
1838
- readonly properties: {
1839
- readonly type: {
1840
- readonly type: "string";
1841
- readonly enum: readonly ["MULTI_SELECT"];
1842
- readonly title: "Field Type";
1843
- readonly description: "Discriminator literal — always 'MULTI_SELECT' for this DTO.";
1844
- };
1845
- readonly value: {
1846
- readonly items: {
1847
- readonly $ref: "#/components/schemas/FieldOptionDto";
1848
- };
1849
- readonly type: "array";
1850
- readonly title: "Value";
1851
- readonly description: "Array of selected options.";
1852
- };
1853
- readonly id: {
1854
- readonly type: "string";
1855
- readonly title: "ID";
1856
- readonly description: "Unique identifier for the field.";
1857
- };
1858
- readonly label: {
1859
- readonly items: {
1860
- readonly $ref: "#/components/schemas/MultilangTextDto";
1861
- };
1862
- readonly minItems: 1;
1863
- readonly type: "array";
1864
- readonly title: "Label";
1865
- readonly description: "Multilingual label for the field.";
1866
- };
1867
- readonly required: {
1868
- readonly type: "boolean";
1869
- readonly title: "Required";
1870
- readonly description: "Whether the field is required.";
1871
- };
1872
- readonly disabled: {
1873
- readonly type: "boolean";
1874
- readonly title: "Disabled";
1875
- readonly description: "Whether the field is disabled.";
1876
- };
1877
- readonly hidden: {
1878
- readonly type: "boolean";
1879
- readonly title: "Hidden";
1880
- readonly description: "Whether the field is hidden.";
1881
- };
1882
- readonly triggersRemoteValidation: {
1883
- readonly type: "boolean";
1884
- readonly title: "Triggers Remote Validation";
1885
- readonly description: "Whether remote validation should be triggered for this field.";
1886
- };
1887
- readonly remoteValidationErrorMessage: {
1888
- readonly items: {
1889
- readonly $ref: "#/components/schemas/MultilangTextDto";
1890
- };
1891
- readonly minItems: 1;
1892
- readonly type: "array";
1893
- readonly title: "Remote Validation Error Message";
1894
- readonly description: "Localized error message shown when remote validation fails.";
1895
- };
1896
- readonly upgradable: {
1897
- readonly type: "boolean";
1898
- readonly title: "Upgradable";
1899
- readonly description: "Whether the item attribute is upgradable by the user.";
1900
- };
1901
- readonly downgradable: {
1902
- readonly type: "boolean";
1903
- readonly title: "Downgradable";
1904
- readonly description: "Whether the item attribute is downgradable by the user.";
1905
- };
1906
- };
1907
- readonly type: "object";
1908
- readonly required: readonly ["type", "id", "label", "required", "disabled"];
1909
- };
1910
- readonly AnyFieldDto: {
1911
- readonly title: "AnyFieldDto";
1912
- readonly description: "Discriminated union of every concrete field DTO. Discriminator is the string-literal `type` property.";
1913
- readonly oneOf: readonly [{
1914
- readonly $ref: "#/components/schemas/BooleanFieldDto";
1915
- }, {
1916
- readonly $ref: "#/components/schemas/TextFieldDto";
1917
- }, {
1918
- readonly $ref: "#/components/schemas/TextareaFieldDto";
1919
- }, {
1920
- readonly $ref: "#/components/schemas/NumberFieldDto";
1921
- }, {
1922
- readonly $ref: "#/components/schemas/PhoneFieldDto";
1923
- }, {
1924
- readonly $ref: "#/components/schemas/EmailFieldDto";
1925
- }, {
1926
- readonly $ref: "#/components/schemas/UrlFieldDto";
1927
- }, {
1928
- readonly $ref: "#/components/schemas/CountriesFieldDto";
1929
- }, {
1930
- readonly $ref: "#/components/schemas/CurrencyFieldDto";
1931
- }, {
1932
- readonly $ref: "#/components/schemas/DateFieldDto";
1933
- }, {
1934
- readonly $ref: "#/components/schemas/PasswordFieldDto";
1935
- }, {
1936
- readonly $ref: "#/components/schemas/SelectFieldDto";
1937
- }, {
1938
- readonly $ref: "#/components/schemas/MultiSelectFieldDto";
1939
- }];
1940
- readonly discriminator: {
1941
- readonly propertyName: "type";
1942
- readonly mapping: {
1943
- readonly BOOLEAN: "#/components/schemas/BooleanFieldDto";
1944
- readonly TEXT: "#/components/schemas/TextFieldDto";
1945
- readonly TEXTAREA: "#/components/schemas/TextareaFieldDto";
1946
- readonly NUMBER: "#/components/schemas/NumberFieldDto";
1947
- readonly PHONE: "#/components/schemas/PhoneFieldDto";
1948
- readonly EMAIL: "#/components/schemas/EmailFieldDto";
1949
- readonly URL: "#/components/schemas/UrlFieldDto";
1950
- readonly COUNTRIES: "#/components/schemas/CountriesFieldDto";
1951
- readonly CURRENCY: "#/components/schemas/CurrencyFieldDto";
1952
- readonly DATE: "#/components/schemas/DateFieldDto";
1953
- readonly PASSWORD: "#/components/schemas/PasswordFieldDto";
1954
- readonly SELECT: "#/components/schemas/SelectFieldDto";
1955
- readonly MULTI_SELECT: "#/components/schemas/MultiSelectFieldDto";
1956
- };
1957
- };
1045
+ readonly required: readonly ["supportedActions", "title", "uniqueName", "supportedLanguages"];
1958
1046
  };
1959
1047
  };