@soyio/soyio-widget 2.12.0 → 2.13.1
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/dist/index.d.ts +14 -2
- package/dist/index.js +323 -333
- package/dist/index.umd.cjs +17 -19
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -175,7 +175,6 @@ declare interface IBaseEventData {
|
|
|
175
175
|
|
|
176
176
|
declare type IframeCSSConfig = {
|
|
177
177
|
minWidth?: string;
|
|
178
|
-
maxWidth?: string;
|
|
179
178
|
};
|
|
180
179
|
|
|
181
180
|
declare interface ISkeletonView {
|
|
@@ -211,11 +210,24 @@ export declare class PrivacyCenterBox extends BaseIframeBox<PrivacyCenterConfig>
|
|
|
211
210
|
iframeUrl(): string;
|
|
212
211
|
}
|
|
213
212
|
|
|
214
|
-
declare type PrivacyCenterConfig =
|
|
213
|
+
declare type PrivacyCenterConfig = PrivacyCenterConfigWithSessionToken | PrivacyCenterConfigWithoutSessionToken;
|
|
214
|
+
|
|
215
|
+
declare type PrivacyCenterConfigWithoutSessionToken = BaseConfig & {
|
|
216
|
+
sessionToken?: never;
|
|
217
|
+
enabledFeatures?: PrivacyManagerFeature[];
|
|
215
218
|
companyId: `com_${string}`;
|
|
216
219
|
subjectId?: `ent_${string}`;
|
|
217
220
|
};
|
|
218
221
|
|
|
222
|
+
declare type PrivacyCenterConfigWithSessionToken = BaseConfig & {
|
|
223
|
+
sessionToken: string;
|
|
224
|
+
enabledFeatures?: PrivacyManagerFeature[];
|
|
225
|
+
companyId?: never;
|
|
226
|
+
subjectId?: never;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
declare type PrivacyManagerFeature = 'DataSubjectRequest' | 'ConsentManagement';
|
|
230
|
+
|
|
219
231
|
declare type Request_2 = 'disclosure' | 'signature' | 'authentication';
|
|
220
232
|
|
|
221
233
|
declare type RequestConfig = DisclosureRequestConfig | SignatureRequestConfig | AuthRequestConfig;
|