@soyio/soyio-widget 2.24.0 → 2.25.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.
- package/README.md +33 -1
- package/dist/index.d.ts +24 -0
- package/dist/index.js +543 -526
- package/dist/index.umd.cjs +30 -30
- package/package.json +1 -1
- package/src/schemas/appearance.schema.json +3 -0
- package/src/schemas/config.schema.json +74 -0
package/package.json
CHANGED
|
@@ -495,6 +495,9 @@
|
|
|
495
495
|
"companyId": {
|
|
496
496
|
"type": "string"
|
|
497
497
|
},
|
|
498
|
+
"consentManagement": {
|
|
499
|
+
"$ref": "#/definitions/PrivacyCenterConsentManagementConfig"
|
|
500
|
+
},
|
|
498
501
|
"consentMode": {
|
|
499
502
|
"enum": [
|
|
500
503
|
"immediate",
|
|
@@ -639,6 +642,9 @@
|
|
|
639
642
|
"appearance": {
|
|
640
643
|
"$ref": "#/definitions/SoyioAppearance"
|
|
641
644
|
},
|
|
645
|
+
"consentManagement": {
|
|
646
|
+
"$ref": "#/definitions/PrivacyCenterConsentManagementConfig"
|
|
647
|
+
},
|
|
642
648
|
"consentMode": {
|
|
643
649
|
"enum": [
|
|
644
650
|
"immediate",
|
|
@@ -779,9 +785,54 @@
|
|
|
779
785
|
}
|
|
780
786
|
]
|
|
781
787
|
},
|
|
788
|
+
"PrivacyCenterConsentManagementConfig": {
|
|
789
|
+
"additionalProperties": false,
|
|
790
|
+
"properties": {
|
|
791
|
+
"scopeGroups": {
|
|
792
|
+
"items": {
|
|
793
|
+
"$ref": "#/definitions/PrivacyCenterConsentManagementScopeGroupConfig"
|
|
794
|
+
},
|
|
795
|
+
"minItems": 1,
|
|
796
|
+
"type": "array"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"type": "object"
|
|
800
|
+
},
|
|
801
|
+
"PrivacyCenterConsentManagementCopyConfig": {
|
|
802
|
+
"additionalProperties": false,
|
|
803
|
+
"properties": {
|
|
804
|
+
"header": {
|
|
805
|
+
"$ref": "#/definitions/PrivacyCenterHeaderCopyConfig"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"type": "object"
|
|
809
|
+
},
|
|
810
|
+
"PrivacyCenterConsentManagementScopeGroupConfig": {
|
|
811
|
+
"additionalProperties": false,
|
|
812
|
+
"properties": {
|
|
813
|
+
"scopes": {
|
|
814
|
+
"items": {
|
|
815
|
+
"$ref": "#/definitions/PrivacyCenterScopeReference"
|
|
816
|
+
},
|
|
817
|
+
"minItems": 1,
|
|
818
|
+
"type": "array"
|
|
819
|
+
},
|
|
820
|
+
"title": {
|
|
821
|
+
"type": "string"
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
"required": [
|
|
825
|
+
"title",
|
|
826
|
+
"scopes"
|
|
827
|
+
],
|
|
828
|
+
"type": "object"
|
|
829
|
+
},
|
|
782
830
|
"PrivacyCenterContentConfig": {
|
|
783
831
|
"additionalProperties": false,
|
|
784
832
|
"properties": {
|
|
833
|
+
"consentManagement": {
|
|
834
|
+
"$ref": "#/definitions/PrivacyCenterConsentManagementCopyConfig"
|
|
835
|
+
},
|
|
785
836
|
"header": {
|
|
786
837
|
"$ref": "#/definitions/PrivacyCenterHeaderCopyConfig"
|
|
787
838
|
},
|
|
@@ -840,6 +891,26 @@
|
|
|
840
891
|
],
|
|
841
892
|
"type": "string"
|
|
842
893
|
},
|
|
894
|
+
"PrivacyCenterScopeReference": {
|
|
895
|
+
"additionalProperties": false,
|
|
896
|
+
"properties": {
|
|
897
|
+
"scopeId": {
|
|
898
|
+
"type": "string"
|
|
899
|
+
},
|
|
900
|
+
"scopeType": {
|
|
901
|
+
"enum": [
|
|
902
|
+
"product",
|
|
903
|
+
"branch"
|
|
904
|
+
],
|
|
905
|
+
"type": "string"
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"required": [
|
|
909
|
+
"scopeType",
|
|
910
|
+
"scopeId"
|
|
911
|
+
],
|
|
912
|
+
"type": "object"
|
|
913
|
+
},
|
|
843
914
|
"PrivacyManagerFeature": {
|
|
844
915
|
"enum": [
|
|
845
916
|
"DataSubjectRequest",
|
|
@@ -949,6 +1020,9 @@
|
|
|
949
1020
|
],
|
|
950
1021
|
"type": "number"
|
|
951
1022
|
},
|
|
1023
|
+
"showConsentManagementHeader": {
|
|
1024
|
+
"type": "boolean"
|
|
1025
|
+
},
|
|
952
1026
|
"showHeader": {
|
|
953
1027
|
"type": "boolean"
|
|
954
1028
|
}
|