@clxmedia/types 1.0.83 → 1.0.85
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,13 +1,10 @@
|
|
|
1
|
-
export type OtherEnterpriseEventApplicationSource = 'dashboard' | 'crmhub' | 'emailhub';
|
|
2
|
-
export type BaseEnterpriseEventAction = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted' | 'info' | 'warning' | 'error';
|
|
3
1
|
export type EnterpriseEventBase = {
|
|
4
2
|
user_email: string;
|
|
5
3
|
description: string;
|
|
6
4
|
master_id?: number;
|
|
7
5
|
event_unix_time_ms: number;
|
|
8
|
-
event_action: BaseEnterpriseEventAction;
|
|
9
6
|
};
|
|
10
|
-
export type MediaHubEnterpriseEventAction =
|
|
7
|
+
export type MediaHubEnterpriseEventAction = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted' | 'info' | 'warning' | 'error';
|
|
11
8
|
export type MediaHubItemTypes = 'asset' | 'asset_tag' | 'asset_internal_label' | 'asset_label' | 'video' | 'video_internal_label';
|
|
12
9
|
export type EnterpriseEventMediaHub = EnterpriseEventBase & {
|
|
13
10
|
application_source: 'mediahub';
|
|
@@ -17,7 +14,7 @@ export type EnterpriseEventMediaHub = EnterpriseEventBase & {
|
|
|
17
14
|
event_action: MediaHubEnterpriseEventAction;
|
|
18
15
|
};
|
|
19
16
|
export type MediaHubEnterpriseEventSlugs = `mediahub:${MediaHubItemTypes}:${MediaHubEnterpriseEventAction}`;
|
|
20
|
-
export type CoreEnterpriseEventAction =
|
|
17
|
+
export type CoreEnterpriseEventAction = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted' | 'info' | 'warning' | 'error' | 'shared' | 'submitted' | 'reviewed';
|
|
21
18
|
export type CoreItemTypes = 'client_request' | 'onboarding_form' | 'access_request' | 'project' | 'task';
|
|
22
19
|
export type EnterpriseEventCore = EnterpriseEventBase & {
|
|
23
20
|
application_source: 'core';
|
|
@@ -27,7 +24,7 @@ export type EnterpriseEventCore = EnterpriseEventBase & {
|
|
|
27
24
|
event_action: CoreEnterpriseEventAction;
|
|
28
25
|
};
|
|
29
26
|
export type CoreEnterpriseEventSlugs = `core:${CoreItemTypes}:${CoreEnterpriseEventAction}`;
|
|
30
|
-
export type AdsEnterpriseEventAction =
|
|
27
|
+
export type AdsEnterpriseEventAction = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted' | 'info' | 'warning' | 'error' | 'reviewed' | 'paused' | 'unpaused' | 'published';
|
|
31
28
|
export type AdsItemTypes = 'proof_gbpa' | 'proof_mac' | 'proof_social' | 'proof_display' | 'proof_video' | 'none';
|
|
32
29
|
export type EnterpriseEventAds = EnterpriseEventBase & {
|
|
33
30
|
application_source: 'ads';
|
|
@@ -37,7 +34,7 @@ export type EnterpriseEventAds = EnterpriseEventBase & {
|
|
|
37
34
|
event_action: AdsEnterpriseEventAction;
|
|
38
35
|
};
|
|
39
36
|
export type AdsEnterpriseEventSlugs = `ads:${AdsItemTypes}:${AdsEnterpriseEventAction}`;
|
|
40
|
-
export type OdooEnterpriseEventAction =
|
|
37
|
+
export type OdooEnterpriseEventAction = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted' | 'info' | 'warning' | 'error' | 'paid';
|
|
41
38
|
export type OdooItemTypes = 'invoice' | 'none';
|
|
42
39
|
export type EnterpriseEventOdoo = EnterpriseEventBase & {
|
|
43
40
|
application_source: 'odoo';
|
|
@@ -47,7 +44,7 @@ export type EnterpriseEventOdoo = EnterpriseEventBase & {
|
|
|
47
44
|
event_action: OdooEnterpriseEventAction;
|
|
48
45
|
};
|
|
49
46
|
export type OdooEnterpriseEventSlugs = `odoo:${OdooItemTypes}:${OdooEnterpriseEventAction}`;
|
|
50
|
-
export type ExternalEnterpriseEventAction =
|
|
47
|
+
export type ExternalEnterpriseEventAction = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted' | 'info' | 'warning' | 'error' | 'granted' | 'installed';
|
|
51
48
|
export type ExternalItemTypes = 'gtm' | 'google_analytics_editor' | 'gbp_manager' | 'facebook_page_access' | 'google_search_console' | 'none';
|
|
52
49
|
export type EnterpriseEventExternal = EnterpriseEventBase & {
|
|
53
50
|
application_source: 'external';
|