@redacto.io/consent-sdk-js 1.2.0-beta.0 → 2.0.1-beta.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.
@@ -1,3 +1,28 @@
1
+ /** How checkbox rows are drawn: native checkboxes, or switches. */
2
+ declare const NOTICE_CONTROL_STYLES: readonly ["checkbox", "switch"];
3
+ /** Phones: a centred modal, or a sheet docked to the bottom edge. */
4
+ declare const NOTICE_MOBILE_LAYOUTS: readonly ["modal", "sheet"];
5
+ /** Where the notice sits on wider screens. */
6
+ declare const NOTICE_DESKTOP_POSITIONS: readonly ["center", "bottom-right", "bottom-left", "bottom-bar"];
7
+ /** The page behind the notice: dimmed with `colors.overlay`, or left as is. */
8
+ declare const NOTICE_BACKDROPS: readonly ["dim", "none"];
9
+ /** Phone footer: three stacked buttons, or Accept All over the other two. */
10
+ declare const NOTICE_PHONE_FOOTERS: readonly ["stacked", "paired"];
11
+ declare const NOTICE_TEXT_SCALES: readonly ["sm", "md", "lg"];
12
+
13
+ /**
14
+ * Surface and layout family a notice is drawn with, chosen in the Redacto
15
+ * console and served on `active_config.appearance.style`. Colours never come
16
+ * from the style: they come from the admin's palette, else the notice's brand.
17
+ */
18
+ type AppearanceStyle = "classic" | "glass" | "minimal" | "soft";
19
+ type NoticeControlStyle = (typeof NOTICE_CONTROL_STYLES)[number];
20
+ type NoticeMobileLayout = (typeof NOTICE_MOBILE_LAYOUTS)[number];
21
+ type NoticeDesktopPosition = (typeof NOTICE_DESKTOP_POSITIONS)[number];
22
+ type NoticeBackdrop = (typeof NOTICE_BACKDROPS)[number];
23
+ type NoticePhoneFooter = (typeof NOTICE_PHONE_FOOTERS)[number];
24
+ type NoticeTextScale = (typeof NOTICE_TEXT_SCALES)[number];
25
+
1
26
  /**
2
27
  * Optional sandbox options shared by the SDK's public option shapes and the
3
28
  * internal API params. When `token` is set the call sends the single
@@ -23,38 +48,109 @@ type SandboxOptions = {
23
48
  workspaceUuid?: string;
24
49
  };
25
50
  type SelectionControlType = "checkbox" | "radio" | "dropdown";
26
- type Settings = {
51
+ type SettingsButtonColors = {
52
+ backgroundColor?: string;
53
+ textColor?: string;
54
+ };
55
+ /**
56
+ * The colours `settings` can set: the top-level palette, and the dark palette
57
+ * under `settings.darkPalette`. Colours are any CSS colour and are used as given.
58
+ */
59
+ type SettingsPalette = {
27
60
  button: {
28
- /** Styles the "accept selected" button. */
29
- accept: {
30
- backgroundColor: string;
31
- textColor: string;
61
+ /**
62
+ * The brand accent (checkboxes, switches, focus rings and Accept
63
+ * Selected's outline), and Accept All's colour when `acceptAll` is unset.
64
+ */
65
+ accept?: SettingsButtonColors;
66
+ /** The Accept All button; falls back to `accept`. */
67
+ acceptAll?: SettingsButtonColors;
68
+ /** The Accept Selected button itself. */
69
+ acceptSelected?: SettingsButtonColors;
70
+ decline?: SettingsButtonColors & {
71
+ borderColor?: string;
32
72
  };
33
- /** Optional: the accept-all shortcut falls back to `accept` when unset. */
34
- acceptAll?: {
35
- backgroundColor: string;
36
- textColor: string;
37
- };
38
- decline: {
39
- backgroundColor: string;
40
- textColor: string;
41
- };
42
- language: {
43
- backgroundColor: string;
44
- textColor: string;
73
+ language?: {
74
+ backgroundColor?: string;
75
+ textColor?: string;
45
76
  selectedBackgroundColor?: string;
46
77
  selectedTextColor?: string;
47
78
  };
48
79
  };
49
80
  link: string;
50
- borderRadius?: string;
51
81
  backgroundColor?: string;
82
+ /** Raised surfaces: menus and panels, and the tint of the glass style. */
83
+ surfaceColor?: string;
52
84
  headingColor?: string;
53
85
  textColor?: string;
86
+ /** Descriptions and hints. */
87
+ mutedTextColor?: string;
54
88
  borderColor?: string;
55
- font?: string;
89
+ /** The page dim behind the notice. */
90
+ overlayColor?: string;
91
+ toggle?: {
92
+ onColor?: string;
93
+ offColor?: string;
94
+ knobColor?: string;
95
+ };
96
+ /** The element being read aloud by text-to-speech. */
97
+ ttsHighlight?: {
98
+ backgroundColor?: string;
99
+ textColor?: string;
100
+ };
101
+ };
102
+ /**
103
+ * Code-side styling for the notice. Everything here is optional and overrides,
104
+ * key by key, the appearance set in the Redacto console
105
+ * (`active_config.appearance`): host settings, then the console, then the
106
+ * notice's brand colours and the SDK defaults.
107
+ */
108
+ type Settings = SettingsPalette & {
109
+ /**
110
+ * Visual style: `"classic"`, `"glass"`, `"minimal"` or `"soft"`. Unknown
111
+ * values are ignored and the console's style (else classic) applies.
112
+ */
113
+ theme?: AppearanceStyle;
114
+ /** Defaults to "checkbox". Applies to purposes, product headings and data elements. */
56
115
  selectionControl?: SelectionControlType;
116
+ /**
117
+ * How checkbox rows are drawn, in any style: `"checkbox"` or `"switch"`.
118
+ * Unset keeps checkboxes, in every style.
119
+ */
120
+ controlStyle?: NoticeControlStyle;
121
+ /**
122
+ * Asks "are you sure" before Accept All, Accept Selected or Decline submits
123
+ * (and before the inline embed auto-submits). Defaults to false.
124
+ */
57
125
  confirmBeforeSubmit?: boolean;
126
+ borderRadius?: string;
127
+ /** Phones: `"modal"` (centred) or `"sheet"` (docked to the bottom edge). */
128
+ mobileLayout?: NoticeMobileLayout;
129
+ /** Wider screens: `"center"`, `"bottom-right"`, `"bottom-left"` or `"bottom-bar"`. */
130
+ desktopPosition?: NoticeDesktopPosition;
131
+ /** `"dim"` darkens the page behind the notice; `"none"` leaves it as is. */
132
+ backdrop?: NoticeBackdrop;
133
+ /** Collapse the notice text and the DPO block into disclosures. */
134
+ collapsibleSections?: boolean;
135
+ /** Phones: `"stacked"` buttons, or `"paired"` (Accept All over the other two). */
136
+ phoneFooter?: NoticePhoneFooter;
137
+ /** Follow the device's dark mode with `darkPalette` (else the console's). */
138
+ autoDark?: boolean;
139
+ darkPalette?: Partial<SettingsPalette>;
140
+ /** Desktop card width, any CSS length. */
141
+ maxWidth?: string;
142
+ /** Logo height, any CSS length. */
143
+ logoSize?: string;
144
+ /** `"sm"`, `"md"` or `"lg"`: scales every text size. */
145
+ textScale?: NoticeTextScale;
146
+ /** `false` turns entrances and transitions off. */
147
+ motion?: boolean;
148
+ /**
149
+ * CSS scoped to this notice. Target parts with `[data-redacto-part="…"]`;
150
+ * refused whole if it carries a disallowed token (`@import`, `javascript:`…).
151
+ */
152
+ customCss?: string;
153
+ font?: string;
58
154
  };
59
155
 
60
156
  type ModalOptions = SandboxOptions & {
@@ -76,8 +172,17 @@ type ModalOptions = SandboxOptions & {
76
172
  * customer code; optional third identifier alongside email/mobile.
77
173
  */
78
174
  ucic?: string;
175
+ /**
176
+ * The Redacto API host, e.g. `https://api.redacto.io` (recommended): the SDK
177
+ * reaches the consent server and the ledger under it. The consent server URL
178
+ * (`…/consent`) still works but is deprecated. Omit it and requests go to the
179
+ * production API.
180
+ */
79
181
  baseUrl?: string;
80
- /** Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server. */
182
+ /**
183
+ * Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server.
184
+ * @deprecated Read only when `baseUrl` is the consent server URL (`…/consent`) or omitted, as in earlier releases. Ignored when `baseUrl` is the API host.
185
+ */
81
186
  ledgerBaseUrl?: string;
82
187
  language?: string;
83
188
  blockUI?: boolean;
@@ -101,8 +206,17 @@ type InlineOptions = {
101
206
  notice_uuid: string;
102
207
  accessToken?: string;
103
208
  refreshToken?: string;
209
+ /**
210
+ * The Redacto API host, e.g. `https://api.redacto.io` (recommended): the SDK
211
+ * reaches the consent server and the ledger under it. The consent server URL
212
+ * (`…/consent`) still works but is deprecated. Omit it and requests go to the
213
+ * production API.
214
+ */
104
215
  baseUrl?: string;
105
- /** Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server. */
216
+ /**
217
+ * Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server.
218
+ * @deprecated Read only when `baseUrl` is the consent server URL (`…/consent`) or omitted, as in earlier releases. Ignored when `baseUrl` is the API host.
219
+ */
106
220
  ledgerBaseUrl?: string;
107
221
  language?: string;
108
222
  onAccept?: () => void;
@@ -114,6 +228,11 @@ type InlineOptions = {
114
228
  };
115
229
  type DigiLockerCallbackOptions = {
116
230
  accessToken: string;
231
+ /**
232
+ * The Redacto API host, e.g. `https://api.redacto.io`; the consent server URL
233
+ * (`…/consent`) still works but is deprecated. Omit it to use the one the
234
+ * notice stored before redirecting to DigiLocker.
235
+ */
117
236
  baseUrl?: string;
118
237
  onSuccess?: (verificationReference: string) => void;
119
238
  onError?: (error: Error, errorCode?: string) => void;
@@ -134,8 +253,25 @@ type AssistedOptions = {
134
253
  organisationUuid: string;
135
254
  workspaceUuid: string;
136
255
  noticeUuid: string;
256
+ /**
257
+ * The Redacto API host, e.g. `https://api.redacto.io` (recommended): the SDK
258
+ * reaches the consent server and the ledger under it. The consent server URL
259
+ * (`…/consent`) still works but is deprecated. Omit it and requests go to the
260
+ * production API.
261
+ */
137
262
  baseUrl?: string;
263
+ /**
264
+ * Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server.
265
+ * @deprecated Read only when `baseUrl` is the consent server URL (`…/consent`) or omitted, as in earlier releases. Ignored when `baseUrl` is the API host.
266
+ */
138
267
  ledgerBaseUrl?: string;
268
+ /**
269
+ * Optional code-side styling. The notice looks as set in the Redacto console
270
+ * (Display settings, Appearance); anything set here overrides the console
271
+ * for that key only. Display only: the submission and its verification are
272
+ * unchanged.
273
+ */
274
+ settings?: Partial<Settings>;
139
275
  onDecline?: () => void;
140
276
  onComplete?: () => void;
141
277
  onError?: (error: Error) => void;
@@ -144,9 +280,15 @@ type AssistedOptions = {
144
280
  type PrivacyCenterOptions = {
145
281
  /** Element, or CSS selector for it, that the Privacy Center is mounted in. */
146
282
  target: string | HTMLElement;
147
- /** The organisation's Privacy Center slug. Required unless `url` is given. */
283
+ /** The organisation's UUID. Required unless `url` is given. */
284
+ organisationUuid?: string;
285
+ /**
286
+ * @deprecated Pass `organisationUuid`. Still frames the hosted page for this
287
+ * slug when no `organisationUuid` is given, with a one-time console warning;
288
+ * will be removed in a future major release.
289
+ */
148
290
  slug?: string;
149
- /** Full URL of the hosted Privacy Center, e.g. on a custom domain. Wins over `slug`. */
291
+ /** Full URL of the hosted Privacy Center, e.g. on a custom domain. Wins over `organisationUuid`. */
150
292
  url?: string;
151
293
  /** Where the hosted Privacy Center lives. Defaults to Redacto's production console. */
152
294
  origin?: string;
package/dist/redacto.d.ts CHANGED
@@ -1,3 +1,28 @@
1
+ /** How checkbox rows are drawn: native checkboxes, or switches. */
2
+ declare const NOTICE_CONTROL_STYLES: readonly ["checkbox", "switch"];
3
+ /** Phones: a centred modal, or a sheet docked to the bottom edge. */
4
+ declare const NOTICE_MOBILE_LAYOUTS: readonly ["modal", "sheet"];
5
+ /** Where the notice sits on wider screens. */
6
+ declare const NOTICE_DESKTOP_POSITIONS: readonly ["center", "bottom-right", "bottom-left", "bottom-bar"];
7
+ /** The page behind the notice: dimmed with `colors.overlay`, or left as is. */
8
+ declare const NOTICE_BACKDROPS: readonly ["dim", "none"];
9
+ /** Phone footer: three stacked buttons, or Accept All over the other two. */
10
+ declare const NOTICE_PHONE_FOOTERS: readonly ["stacked", "paired"];
11
+ declare const NOTICE_TEXT_SCALES: readonly ["sm", "md", "lg"];
12
+
13
+ /**
14
+ * Surface and layout family a notice is drawn with, chosen in the Redacto
15
+ * console and served on `active_config.appearance.style`. Colours never come
16
+ * from the style: they come from the admin's palette, else the notice's brand.
17
+ */
18
+ type AppearanceStyle = "classic" | "glass" | "minimal" | "soft";
19
+ type NoticeControlStyle = (typeof NOTICE_CONTROL_STYLES)[number];
20
+ type NoticeMobileLayout = (typeof NOTICE_MOBILE_LAYOUTS)[number];
21
+ type NoticeDesktopPosition = (typeof NOTICE_DESKTOP_POSITIONS)[number];
22
+ type NoticeBackdrop = (typeof NOTICE_BACKDROPS)[number];
23
+ type NoticePhoneFooter = (typeof NOTICE_PHONE_FOOTERS)[number];
24
+ type NoticeTextScale = (typeof NOTICE_TEXT_SCALES)[number];
25
+
1
26
  /**
2
27
  * Optional sandbox options shared by the SDK's public option shapes and the
3
28
  * internal API params. When `token` is set the call sends the single
@@ -23,38 +48,109 @@ type SandboxOptions = {
23
48
  workspaceUuid?: string;
24
49
  };
25
50
  type SelectionControlType = "checkbox" | "radio" | "dropdown";
26
- type Settings = {
51
+ type SettingsButtonColors = {
52
+ backgroundColor?: string;
53
+ textColor?: string;
54
+ };
55
+ /**
56
+ * The colours `settings` can set: the top-level palette, and the dark palette
57
+ * under `settings.darkPalette`. Colours are any CSS colour and are used as given.
58
+ */
59
+ type SettingsPalette = {
27
60
  button: {
28
- /** Styles the "accept selected" button. */
29
- accept: {
30
- backgroundColor: string;
31
- textColor: string;
61
+ /**
62
+ * The brand accent (checkboxes, switches, focus rings and Accept
63
+ * Selected's outline), and Accept All's colour when `acceptAll` is unset.
64
+ */
65
+ accept?: SettingsButtonColors;
66
+ /** The Accept All button; falls back to `accept`. */
67
+ acceptAll?: SettingsButtonColors;
68
+ /** The Accept Selected button itself. */
69
+ acceptSelected?: SettingsButtonColors;
70
+ decline?: SettingsButtonColors & {
71
+ borderColor?: string;
32
72
  };
33
- /** Optional: the accept-all shortcut falls back to `accept` when unset. */
34
- acceptAll?: {
35
- backgroundColor: string;
36
- textColor: string;
37
- };
38
- decline: {
39
- backgroundColor: string;
40
- textColor: string;
41
- };
42
- language: {
43
- backgroundColor: string;
44
- textColor: string;
73
+ language?: {
74
+ backgroundColor?: string;
75
+ textColor?: string;
45
76
  selectedBackgroundColor?: string;
46
77
  selectedTextColor?: string;
47
78
  };
48
79
  };
49
80
  link: string;
50
- borderRadius?: string;
51
81
  backgroundColor?: string;
82
+ /** Raised surfaces: menus and panels, and the tint of the glass style. */
83
+ surfaceColor?: string;
52
84
  headingColor?: string;
53
85
  textColor?: string;
86
+ /** Descriptions and hints. */
87
+ mutedTextColor?: string;
54
88
  borderColor?: string;
55
- font?: string;
89
+ /** The page dim behind the notice. */
90
+ overlayColor?: string;
91
+ toggle?: {
92
+ onColor?: string;
93
+ offColor?: string;
94
+ knobColor?: string;
95
+ };
96
+ /** The element being read aloud by text-to-speech. */
97
+ ttsHighlight?: {
98
+ backgroundColor?: string;
99
+ textColor?: string;
100
+ };
101
+ };
102
+ /**
103
+ * Code-side styling for the notice. Everything here is optional and overrides,
104
+ * key by key, the appearance set in the Redacto console
105
+ * (`active_config.appearance`): host settings, then the console, then the
106
+ * notice's brand colours and the SDK defaults.
107
+ */
108
+ type Settings = SettingsPalette & {
109
+ /**
110
+ * Visual style: `"classic"`, `"glass"`, `"minimal"` or `"soft"`. Unknown
111
+ * values are ignored and the console's style (else classic) applies.
112
+ */
113
+ theme?: AppearanceStyle;
114
+ /** Defaults to "checkbox". Applies to purposes, product headings and data elements. */
56
115
  selectionControl?: SelectionControlType;
116
+ /**
117
+ * How checkbox rows are drawn, in any style: `"checkbox"` or `"switch"`.
118
+ * Unset keeps checkboxes, in every style.
119
+ */
120
+ controlStyle?: NoticeControlStyle;
121
+ /**
122
+ * Asks "are you sure" before Accept All, Accept Selected or Decline submits
123
+ * (and before the inline embed auto-submits). Defaults to false.
124
+ */
57
125
  confirmBeforeSubmit?: boolean;
126
+ borderRadius?: string;
127
+ /** Phones: `"modal"` (centred) or `"sheet"` (docked to the bottom edge). */
128
+ mobileLayout?: NoticeMobileLayout;
129
+ /** Wider screens: `"center"`, `"bottom-right"`, `"bottom-left"` or `"bottom-bar"`. */
130
+ desktopPosition?: NoticeDesktopPosition;
131
+ /** `"dim"` darkens the page behind the notice; `"none"` leaves it as is. */
132
+ backdrop?: NoticeBackdrop;
133
+ /** Collapse the notice text and the DPO block into disclosures. */
134
+ collapsibleSections?: boolean;
135
+ /** Phones: `"stacked"` buttons, or `"paired"` (Accept All over the other two). */
136
+ phoneFooter?: NoticePhoneFooter;
137
+ /** Follow the device's dark mode with `darkPalette` (else the console's). */
138
+ autoDark?: boolean;
139
+ darkPalette?: Partial<SettingsPalette>;
140
+ /** Desktop card width, any CSS length. */
141
+ maxWidth?: string;
142
+ /** Logo height, any CSS length. */
143
+ logoSize?: string;
144
+ /** `"sm"`, `"md"` or `"lg"`: scales every text size. */
145
+ textScale?: NoticeTextScale;
146
+ /** `false` turns entrances and transitions off. */
147
+ motion?: boolean;
148
+ /**
149
+ * CSS scoped to this notice. Target parts with `[data-redacto-part="…"]`;
150
+ * refused whole if it carries a disallowed token (`@import`, `javascript:`…).
151
+ */
152
+ customCss?: string;
153
+ font?: string;
58
154
  };
59
155
 
60
156
  type ModalOptions = SandboxOptions & {
@@ -76,8 +172,17 @@ type ModalOptions = SandboxOptions & {
76
172
  * customer code; optional third identifier alongside email/mobile.
77
173
  */
78
174
  ucic?: string;
175
+ /**
176
+ * The Redacto API host, e.g. `https://api.redacto.io` (recommended): the SDK
177
+ * reaches the consent server and the ledger under it. The consent server URL
178
+ * (`…/consent`) still works but is deprecated. Omit it and requests go to the
179
+ * production API.
180
+ */
79
181
  baseUrl?: string;
80
- /** Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server. */
182
+ /**
183
+ * Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server.
184
+ * @deprecated Read only when `baseUrl` is the consent server URL (`…/consent`) or omitted, as in earlier releases. Ignored when `baseUrl` is the API host.
185
+ */
81
186
  ledgerBaseUrl?: string;
82
187
  language?: string;
83
188
  blockUI?: boolean;
@@ -101,8 +206,17 @@ type InlineOptions = {
101
206
  notice_uuid: string;
102
207
  accessToken?: string;
103
208
  refreshToken?: string;
209
+ /**
210
+ * The Redacto API host, e.g. `https://api.redacto.io` (recommended): the SDK
211
+ * reaches the consent server and the ledger under it. The consent server URL
212
+ * (`…/consent`) still works but is deprecated. Omit it and requests go to the
213
+ * production API.
214
+ */
104
215
  baseUrl?: string;
105
- /** Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server. */
216
+ /**
217
+ * Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server.
218
+ * @deprecated Read only when `baseUrl` is the consent server URL (`…/consent`) or omitted, as in earlier releases. Ignored when `baseUrl` is the API host.
219
+ */
106
220
  ledgerBaseUrl?: string;
107
221
  language?: string;
108
222
  onAccept?: () => void;
@@ -114,6 +228,11 @@ type InlineOptions = {
114
228
  };
115
229
  type DigiLockerCallbackOptions = {
116
230
  accessToken: string;
231
+ /**
232
+ * The Redacto API host, e.g. `https://api.redacto.io`; the consent server URL
233
+ * (`…/consent`) still works but is deprecated. Omit it to use the one the
234
+ * notice stored before redirecting to DigiLocker.
235
+ */
117
236
  baseUrl?: string;
118
237
  onSuccess?: (verificationReference: string) => void;
119
238
  onError?: (error: Error, errorCode?: string) => void;
@@ -134,8 +253,25 @@ type AssistedOptions = {
134
253
  organisationUuid: string;
135
254
  workspaceUuid: string;
136
255
  noticeUuid: string;
256
+ /**
257
+ * The Redacto API host, e.g. `https://api.redacto.io` (recommended): the SDK
258
+ * reaches the consent server and the ledger under it. The consent server URL
259
+ * (`…/consent`) still works but is deprecated. Omit it and requests go to the
260
+ * production API.
261
+ */
137
262
  baseUrl?: string;
263
+ /**
264
+ * Go ledger base URL — serves check-consent and the consent write; omit to use the legacy consent server.
265
+ * @deprecated Read only when `baseUrl` is the consent server URL (`…/consent`) or omitted, as in earlier releases. Ignored when `baseUrl` is the API host.
266
+ */
138
267
  ledgerBaseUrl?: string;
268
+ /**
269
+ * Optional code-side styling. The notice looks as set in the Redacto console
270
+ * (Display settings, Appearance); anything set here overrides the console
271
+ * for that key only. Display only: the submission and its verification are
272
+ * unchanged.
273
+ */
274
+ settings?: Partial<Settings>;
139
275
  onDecline?: () => void;
140
276
  onComplete?: () => void;
141
277
  onError?: (error: Error) => void;
@@ -144,9 +280,15 @@ type AssistedOptions = {
144
280
  type PrivacyCenterOptions = {
145
281
  /** Element, or CSS selector for it, that the Privacy Center is mounted in. */
146
282
  target: string | HTMLElement;
147
- /** The organisation's Privacy Center slug. Required unless `url` is given. */
283
+ /** The organisation's UUID. Required unless `url` is given. */
284
+ organisationUuid?: string;
285
+ /**
286
+ * @deprecated Pass `organisationUuid`. Still frames the hosted page for this
287
+ * slug when no `organisationUuid` is given, with a one-time console warning;
288
+ * will be removed in a future major release.
289
+ */
148
290
  slug?: string;
149
- /** Full URL of the hosted Privacy Center, e.g. on a custom domain. Wins over `slug`. */
291
+ /** Full URL of the hosted Privacy Center, e.g. on a custom domain. Wins over `organisationUuid`. */
150
292
  url?: string;
151
293
  /** Where the hosted Privacy Center lives. Defaults to Redacto's production console. */
152
294
  origin?: string;