-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Privacy center consent reporting (#3847)
- Loading branch information
1 parent
6ef9c2e
commit 74c6458
Showing
10 changed files
with
161 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
clients/privacy-center/types/api/models/LastServedNoticeSchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type { PrivacyNoticeHistorySchema } from "./PrivacyNoticeHistorySchema"; | ||
|
||
/** | ||
* Schema that surfaces the last version of a notice that was shown to a user | ||
*/ | ||
export type LastServedNoticeSchema = { | ||
id: string; | ||
updated_at: string; | ||
privacy_notice_history: PrivacyNoticeHistorySchema; | ||
served_notice_history_id: string; | ||
}; |
19 changes: 19 additions & 0 deletions
19
clients/privacy-center/types/api/models/NoticesServedRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type { Identity } from "./Identity"; | ||
import type { ServingComponent } from "./ServingComponent"; | ||
|
||
/** | ||
* Request body when indicating that notices were served in the UI | ||
*/ | ||
export type NoticesServedRequest = { | ||
browser_identity: Identity; | ||
code?: string; | ||
privacy_notice_history_ids: Array<string>; | ||
privacy_experience_id?: string; | ||
user_geography?: string; | ||
acknowledge_mode?: boolean; | ||
serving_component: ServingComponent; | ||
}; |
13 changes: 13 additions & 0 deletions
13
clients/privacy-center/types/api/models/ServingComponent.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* An enumeration. | ||
*/ | ||
export enum ServingComponent { | ||
OVERLAY = "overlay", | ||
BANNER = "banner", | ||
PRIVACY_CENTER = "privacy_center", | ||
GPC = "gpc", | ||
} |