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