@clxmedia/types 1.10.5 → 1.12.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.
|
@@ -27,13 +27,13 @@ export type XperienceRightsData = {
|
|
|
27
27
|
};
|
|
28
28
|
/** Entity specialist roles mapped to company master IDs where the user has that specialist role */
|
|
29
29
|
entitySpecialistRoles: {
|
|
30
|
-
[K in
|
|
30
|
+
[K in CLiQTeamRole]?: CompanyMasterIds;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
export type SpecialistRole = "account_mgr" | "implementation" | "search" | "media" | "performance" | "organic_content" | "tcc" | "cat" | "chat";
|
|
34
33
|
export type CompanyMasterIds = number[];
|
|
35
34
|
export type CLiQUserLocatorType = "user" | "group" | "role";
|
|
36
|
-
export type
|
|
35
|
+
export type CLiQTeamRole = 'account_manager' | 'search_specialist' | 'media_specialist' | 'implementation_specialist' | 'performance_specialist' | 'client_service_lead' | 'ad_operations_lead' | 'project_manager' | 'content_specialist' | 'tcc' | 'cat' | 'chat' | 'stager' | 'digital_strategist';
|
|
36
|
+
export type CLiQUserLocatorRoles = `entity_role_${CLiQTeamRole}` | "task_assignee";
|
|
37
37
|
export type CLiQUserLocatorBase = {
|
|
38
38
|
type: CLiQUserLocatorType;
|
|
39
39
|
value: string;
|
|
@@ -58,13 +58,14 @@ export type CLXFormConditionSubjectEntry = {
|
|
|
58
58
|
responseType: CLXFormResponseType;
|
|
59
59
|
picklist?: CLXFormSelectOptions;
|
|
60
60
|
};
|
|
61
|
-
export type
|
|
61
|
+
export type CLXResponseStoreSource = 'default' | 'portfolio' | 'property' | 'collab' | 'project';
|
|
62
|
+
export type CLXResponseStoreTarget = 'base' | 'context';
|
|
62
63
|
export type CLXFormResponseValueBase = {
|
|
63
64
|
type: CLXFormResponseType;
|
|
64
65
|
unix_timestamp: number;
|
|
65
66
|
last_answered_by?: string;
|
|
66
67
|
errorMsg?: CLXFormErrorMsg[];
|
|
67
|
-
|
|
68
|
+
store_source?: CLXResponseStoreSource;
|
|
68
69
|
flag_accepted_by?: string;
|
|
69
70
|
flag_accepted_at?: string;
|
|
70
71
|
};
|
|
@@ -416,7 +417,7 @@ export type CLXFormQuestionLayout = {
|
|
|
416
417
|
conditions?: CLXFormRuleSet;
|
|
417
418
|
overrides?: CLXConditionalOverrides;
|
|
418
419
|
is_complete?: boolean;
|
|
419
|
-
scope?:
|
|
420
|
+
scope?: CLXResponseStoreTarget;
|
|
420
421
|
};
|
|
421
422
|
export type CLXFormSection = {
|
|
422
423
|
id: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clxmedia/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Conversion Logix TypeScript type definitions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -103,4 +103,4 @@
|
|
|
103
103
|
"url": "git+https://github.com/adsupnow/clxmedia-type-definitions.git"
|
|
104
104
|
},
|
|
105
105
|
"bugs": "https://github.com/adsupnow/clxmedia-type-definitions"
|
|
106
|
-
}
|
|
106
|
+
}
|