@clxmedia/types 1.0.166 → 1.0.168

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,4 +1,4 @@
1
- export type XperienceScopes = "company" | "tasks" | "displayreview" | "platform" | "users" | "forms" | "gbpreview" | "gbpa" | "insights" | "mac" | "macreview" | "billing" | "mediahub" | "onboarding" | "adrequests" | "videoreview" | "video" | "tcc" | "dashboard";
1
+ export type XperienceScopes = "company" | "tasks" | "displayreview" | "platform" | "users" | "forms" | "gbpreview" | "gbpa" | "insights" | "mac" | "macreview" | "billing" | "mediahub" | "onboarding" | "adrequests" | "videoreview" | "video" | "tcc" | "dashboard" | "search";
2
2
  export type XperienceAbility = "none" | "view" | "edit" | "admin";
3
3
  export type XperienceRightsData = {
4
4
  userId: number;
@@ -23,33 +23,33 @@ export type XperienceRightsData = {
23
23
  };
24
24
  };
25
25
  };
26
- export type CLiQUserLocatorType = 'user' | 'group' | 'role' | 'right' | 'odoo_role';
27
- export type CLiQUserLocatorConstraint = 'internal' | 'external';
28
- export type CLiQUserLocatorRoles = 'implementation_specialist' | 'account_manager' | 'client_service_analyst';
26
+ export type CLiQUserLocatorType = "user" | "group" | "role" | "right" | "odoo_role";
27
+ export type CLiQUserLocatorConstraint = "internal" | "external";
28
+ export type CLiQUserLocatorRoles = "implementation_specialist" | "account_manager" | "client_service_analyst";
29
29
  export type CLiQUserLocatorBase = {
30
30
  type: CLiQUserLocatorType;
31
31
  value: string;
32
32
  };
33
33
  export type CLiQUserLocatorUser = CLiQUserLocatorBase & {
34
- type: 'user';
34
+ type: "user";
35
35
  value: `${string}@${string}`;
36
36
  };
37
37
  export type CLiQUserLocatorUserSlug = `user:${string}@${string}`;
38
38
  export type CLiQUserLocatorGroup = CLiQUserLocatorBase & {
39
- type: 'group';
39
+ type: "group";
40
40
  };
41
41
  export type CLiQUserLocatorGroupSlug = `group:${string}`;
42
42
  export type CLiQUserLocatorRole = CLiQUserLocatorBase & {
43
- type: 'role';
43
+ type: "role";
44
44
  value: CLiQUserLocatorRoles;
45
45
  };
46
46
  export type CLiQUserLocatorRoleSlug = `role:${CLiQUserLocatorRoles}`;
47
47
  export type CLiQUserLocatorOdooRole = CLiQUserLocatorBase & {
48
- type: 'odoo_role';
48
+ type: "odoo_role";
49
49
  };
50
50
  export type CLiQUserLocatorOdooRoleSlug = `odoo_role:${string}`;
51
51
  export type CLiQUserLocatorRight = CLiQUserLocatorBase & {
52
- type: 'right';
52
+ type: "right";
53
53
  value: `${XperienceScopes}@${XperienceAbility}`;
54
54
  constraint?: CLiQUserLocatorConstraint;
55
55
  };
@@ -1,5 +1,5 @@
1
- type EnterpriseDefaultActions = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted' | 'info' | 'warning' | 'error' | 'critical';
2
- export type EventApplicationSource = 'dashboard' | 'forms' | 'projects' | 'auth' | 'mediahub' | 'ads' | 'external' | 'odoo' | 'flex' | 'crmhub' | 'tasks';
1
+ type EnterpriseDefaultActions = "created" | "updated" | "archived" | "unarchived" | "deleted" | "info" | "warning" | "error" | "critical";
2
+ export type EventApplicationSource = "dashboard" | "forms" | "projects" | "auth" | "mediahub" | "ads" | "external" | "odoo" | "flex" | "crmhub" | "tasks" | "search";
3
3
  export type EnterpriseEventBase = {
4
4
  user_email: string;
5
5
  description: string;
@@ -10,75 +10,75 @@ export type EnterpriseEventBase = {
10
10
  event_item_name?: string;
11
11
  rollbar_title?: string;
12
12
  };
13
- export type DashboardEnterpriseEventAction = 'locked' | 'unlocked' | 'shared' | 'submitted' | 'reviewed' | 'connected' | 'disconnected' | (EnterpriseDefaultActions & {});
13
+ export type DashboardEnterpriseEventAction = "locked" | "unlocked" | "shared" | "submitted" | "reviewed" | "connected" | "disconnected" | (EnterpriseDefaultActions & {});
14
14
  export type EnterpriseEventDashboard = EnterpriseEventBase & {
15
- application_source: 'dashboard';
15
+ application_source: "dashboard";
16
16
  master_id: number;
17
17
  event_item_type: string;
18
18
  event_action: DashboardEnterpriseEventAction;
19
19
  };
20
20
  export type DashboardEnterpriseEventSlugs = `dashboard:${string}:${DashboardEnterpriseEventAction}`;
21
- export type FormsEnterpriseEventAction = 'locked' | 'unlocked' | 'shared' | 'submitted' | 'reviewed' | 'viewed' | (EnterpriseDefaultActions & {});
22
- export type FormsItemTypes = 'onboarding' | 'client-request';
21
+ export type FormsEnterpriseEventAction = "locked" | "unlocked" | "shared" | "submitted" | "reviewed" | "viewed" | (EnterpriseDefaultActions & {});
22
+ export type FormsItemTypes = "onboarding" | "client-request";
23
23
  export type EnterpriseEventForms = EnterpriseEventBase & {
24
- application_source: 'forms';
24
+ application_source: "forms";
25
25
  master_id: number;
26
26
  event_item_type: FormsItemTypes;
27
27
  event_action: FormsEnterpriseEventAction;
28
28
  };
29
29
  export type FormsEnterpriseEventSlugs = `forms:${FormsItemTypes}:${FormsEnterpriseEventAction}`;
30
- export type AuthEnterpriseEventAction = 'requested' | 'granted' | 'denied' | 'revoked' | (EnterpriseDefaultActions & {});
31
- export type AuthItemTypes = 'access';
30
+ export type AuthEnterpriseEventAction = "requested" | "granted" | "denied" | "revoked" | (EnterpriseDefaultActions & {});
31
+ export type AuthItemTypes = "access";
32
32
  export type EnterpriseEventAuth = EnterpriseEventBase & {
33
- application_source: 'auth';
33
+ application_source: "auth";
34
34
  master_id: number;
35
35
  event_item_type: AuthItemTypes;
36
36
  event_action: AuthEnterpriseEventAction;
37
37
  };
38
38
  export type AuthEnterpriseEventSlugs = `auth:${AuthItemTypes}:${AuthEnterpriseEventAction}`;
39
39
  export type ProjectsEnterpriseEventAction = EnterpriseDefaultActions;
40
- export type ProjectsItemTypes = 'onboarding';
40
+ export type ProjectsItemTypes = "onboarding";
41
41
  export type EnterpriseEventProjects = EnterpriseEventBase & {
42
- application_source: 'projects';
42
+ application_source: "projects";
43
43
  event_item_type: ProjectsItemTypes;
44
44
  event_item_id: string;
45
45
  event_action: ProjectsEnterpriseEventAction;
46
46
  };
47
47
  export type ProjectsEnterpriseEventSlugs = `projects:${ProjectsItemTypes}:${ProjectsEnterpriseEventAction}`;
48
48
  export type MediaHubEnterpriseEventAction = EnterpriseDefaultActions;
49
- export type MediaHubItemTypes = 'asset' | 'asset_tag' | 'asset_version' | 'asset_internal_label' | 'asset_label' | 'video' | 'video_internal_label';
49
+ export type MediaHubItemTypes = "asset" | "asset_tag" | "asset_version" | "asset_internal_label" | "asset_label" | "video" | "video_internal_label";
50
50
  export type EnterpriseEventMediaHub = EnterpriseEventBase & {
51
- application_source: 'mediahub';
51
+ application_source: "mediahub";
52
52
  event_item_type: MediaHubItemTypes;
53
53
  event_item_id: string;
54
54
  event_item_name: string;
55
55
  event_action: MediaHubEnterpriseEventAction;
56
56
  };
57
57
  export type MediaHubEnterpriseEventSlugs = `mediahub:${MediaHubItemTypes}:${MediaHubEnterpriseEventAction}`;
58
- export type AdsEnterpriseEventAction = 'reviewed' | 'approved' | 'paused' | 'unpaused' | 'published' | 'live' | 'comment' | (EnterpriseDefaultActions & {});
59
- export type AdsItemTypes = 'proof_gbpa' | 'proof_mac' | 'proof_social' | 'proof_display' | 'proof_video' | 'none' | (string & {});
58
+ export type AdsEnterpriseEventAction = "reviewed" | "approved" | "paused" | "unpaused" | "published" | "live" | "comment" | (EnterpriseDefaultActions & {});
59
+ export type AdsItemTypes = "proof_gbpa" | "proof_mac" | "proof_social" | "proof_display" | "proof_video" | "none" | (string & {});
60
60
  export type EnterpriseEventAds = EnterpriseEventBase & {
61
- application_source: 'ads';
61
+ application_source: "ads";
62
62
  event_item_type: AdsItemTypes;
63
63
  event_item_id: string;
64
64
  event_item_name?: string;
65
65
  event_action: AdsEnterpriseEventAction;
66
66
  };
67
67
  export type AdsEnterpriseEventSlugs = `ads:${AdsItemTypes}:${AdsEnterpriseEventAction}`;
68
- export type OdooEnterpriseEventAction = 'paid' | (EnterpriseDefaultActions & {});
69
- export type OdooItemTypes = 'invoice' | 'none' | (string & {});
68
+ export type OdooEnterpriseEventAction = "paid" | (EnterpriseDefaultActions & {});
69
+ export type OdooItemTypes = "invoice" | "none" | (string & {});
70
70
  export type EnterpriseEventOdoo = EnterpriseEventBase & {
71
- application_source: 'odoo';
71
+ application_source: "odoo";
72
72
  event_item_type: OdooItemTypes;
73
73
  event_item_id: string;
74
74
  event_item_name?: string;
75
75
  event_action: OdooEnterpriseEventAction;
76
76
  };
77
77
  export type OdooEnterpriseEventSlugs = `odoo:${OdooItemTypes}:${OdooEnterpriseEventAction}`;
78
- export type ExternalEnterpriseEventAction = 'granted' | 'installed' | (EnterpriseDefaultActions & {});
79
- export type ExternalItemTypes = 'gtm' | 'google_analytics_editor' | 'gbp_manager' | 'facebook_page_access' | 'google_search_console' | 'none';
78
+ export type ExternalEnterpriseEventAction = "granted" | "installed" | (EnterpriseDefaultActions & {});
79
+ export type ExternalItemTypes = "gtm" | "google_analytics_editor" | "gbp_manager" | "facebook_page_access" | "google_search_console" | "none";
80
80
  export type EnterpriseEventExternal = EnterpriseEventBase & {
81
- application_source: 'external';
81
+ application_source: "external";
82
82
  event_item_type: ExternalItemTypes;
83
83
  event_item_id: string;
84
84
  event_item_name?: string;
@@ -86,21 +86,21 @@ export type EnterpriseEventExternal = EnterpriseEventBase & {
86
86
  };
87
87
  export type ExternalEnterpriseEventSlugs = `external:${ExternalItemTypes}:${ExternalEnterpriseEventAction}`;
88
88
  export type EnterpriseEventCRMHub = EnterpriseEventBase & {
89
- application_source: 'crmhub';
89
+ application_source: "crmhub";
90
90
  event_item_type: string;
91
91
  event_item_id: string;
92
92
  event_action: string;
93
93
  };
94
94
  export type CRMHubEnterpriseEventSlugs = `crmhub:${string}:${string}`;
95
95
  export type EnterpriseEventFlex = EnterpriseEventBase & {
96
- application_source: 'flex';
96
+ application_source: "flex";
97
97
  event_item_type: string;
98
98
  event_item_id: string;
99
99
  event_action: string;
100
100
  };
101
101
  export type FlexEnterpriseEventSlugs = `flex:${string}:${string}`;
102
102
  export type EnterpriseEventTasks = EnterpriseEventBase & {
103
- application_source: 'tasks';
103
+ application_source: "tasks";
104
104
  event_item_type: string;
105
105
  event_item_id: string;
106
106
  event_action: string;
@@ -110,7 +110,7 @@ export type EnterpriseEventItemType = FormsItemTypes | AuthItemTypes | ProjectsI
110
110
  export type EnterpriseEventAction = DashboardEnterpriseEventAction | FormsEnterpriseEventAction | AuthEnterpriseEventAction | ProjectsEnterpriseEventAction | MediaHubEnterpriseEventAction | AdsEnterpriseEventAction | ExternalEnterpriseEventAction | OdooEnterpriseEventAction;
111
111
  export type EnterpriseEvent = EnterpriseEventTasks | EnterpriseEventCRMHub | EnterpriseEventFlex | EnterpriseEventDashboard | EnterpriseEventForms | EnterpriseEventProjects | EnterpriseEventAuth | EnterpriseEventMediaHub | EnterpriseEventAds | EnterpriseEventExternal | EnterpriseEventOdoo;
112
112
  export type EnterpriseEventSlugs = TasksEnterpriseEventSlugs | CRMHubEnterpriseEventSlugs | FlexEnterpriseEventSlugs | DashboardEnterpriseEventSlugs | FormsEnterpriseEventSlugs | AuthEnterpriseEventSlugs | ProjectsEnterpriseEventSlugs | MediaHubEnterpriseEventSlugs | AdsEnterpriseEventSlugs | ExternalEnterpriseEventSlugs | OdooEnterpriseEventSlugs;
113
- export type ServiceKeys = 'accessToken' | 'jwtConfig';
113
+ export type ServiceKeys = "accessToken" | "jwtConfig";
114
114
  export type AccessConfigs = {
115
115
  accessToken?: string;
116
116
  jwtConfig?: {
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.166",
3
+ "version": "1.0.168",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",