@clxmedia/types 1.0.103 → 1.0.105
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.
|
@@ -85,10 +85,19 @@ export type EnterpriseEventExternal = EnterpriseEventBase & {
|
|
|
85
85
|
event_action: ExternalEnterpriseEventAction;
|
|
86
86
|
};
|
|
87
87
|
export type ExternalEnterpriseEventSlugs = `external:${ExternalItemTypes}:${ExternalEnterpriseEventAction}`;
|
|
88
|
+
export type FlexEnterpriseEventAction = EnterpriseDefaultActions | (string & {});
|
|
89
|
+
export type FlexItemTypes = string;
|
|
90
|
+
export type EnterpriseEventFlex = EnterpriseEventBase & {
|
|
91
|
+
application_source: 'flex';
|
|
92
|
+
event_item_type: string;
|
|
93
|
+
event_item_id: string;
|
|
94
|
+
event_action: FlexEnterpriseEventAction;
|
|
95
|
+
};
|
|
96
|
+
export type FlexEnterpriseEventSlugs = `flex:${FlexItemTypes}:${FlexEnterpriseEventAction}`;
|
|
88
97
|
export type EnterpriseEventItemType = FormsItemTypes | AuthItemTypes | ProjectsItemTypes | MediaHubItemTypes | AdsItemTypes | ExternalItemTypes | OdooItemTypes;
|
|
89
|
-
export type EnterpriseEventAction = DashboardEnterpriseEventAction | FormsEnterpriseEventAction | AuthEnterpriseEventAction | ProjectsEnterpriseEventAction | MediaHubEnterpriseEventAction | AdsEnterpriseEventAction | ExternalEnterpriseEventAction | OdooEnterpriseEventAction;
|
|
90
|
-
export type EnterpriseEvent = EnterpriseEventDashboard | EnterpriseEventForms | EnterpriseEventProjects | EnterpriseEventAuth | EnterpriseEventMediaHub | EnterpriseEventAds | EnterpriseEventExternal | EnterpriseEventOdoo;
|
|
91
|
-
export type EnterpriseEventSlugs = DashboardEnterpriseEventSlugs | FormsEnterpriseEventSlugs | AuthEnterpriseEventSlugs | ProjectsEnterpriseEventSlugs | MediaHubEnterpriseEventSlugs | AdsEnterpriseEventSlugs | ExternalEnterpriseEventSlugs | OdooEnterpriseEventSlugs;
|
|
98
|
+
export type EnterpriseEventAction = FlexEnterpriseEventAction | DashboardEnterpriseEventAction | FormsEnterpriseEventAction | AuthEnterpriseEventAction | ProjectsEnterpriseEventAction | MediaHubEnterpriseEventAction | AdsEnterpriseEventAction | ExternalEnterpriseEventAction | OdooEnterpriseEventAction;
|
|
99
|
+
export type EnterpriseEvent = EnterpriseEventFlex | EnterpriseEventDashboard | EnterpriseEventForms | EnterpriseEventProjects | EnterpriseEventAuth | EnterpriseEventMediaHub | EnterpriseEventAds | EnterpriseEventExternal | EnterpriseEventOdoo;
|
|
100
|
+
export type EnterpriseEventSlugs = FlexEnterpriseEventSlugs | DashboardEnterpriseEventSlugs | FormsEnterpriseEventSlugs | AuthEnterpriseEventSlugs | ProjectsEnterpriseEventSlugs | MediaHubEnterpriseEventSlugs | AdsEnterpriseEventSlugs | ExternalEnterpriseEventSlugs | OdooEnterpriseEventSlugs;
|
|
92
101
|
export type ServiceKeys = 'accessToken' | 'jwtConfig';
|
|
93
102
|
export type AccessConfigs = {
|
|
94
103
|
accessToken?: string;
|
|
@@ -19,11 +19,20 @@ export type CLXProjectStepInstance = {
|
|
|
19
19
|
name: string;
|
|
20
20
|
project_tasks: CLXProjectTaskInstance[];
|
|
21
21
|
};
|
|
22
|
+
export type CLXUserInstance = {
|
|
23
|
+
id: number;
|
|
24
|
+
email: string;
|
|
25
|
+
name: string;
|
|
26
|
+
};
|
|
27
|
+
export type CLXProjectDetails = {
|
|
28
|
+
implementation_specialist?: CLXUserInstance;
|
|
29
|
+
};
|
|
22
30
|
export type CLXProjectInstance = {
|
|
23
31
|
id: number;
|
|
24
32
|
master_id: number;
|
|
25
33
|
name: string;
|
|
26
34
|
slug: string;
|
|
35
|
+
details?: CLXProjectDetails;
|
|
27
36
|
created_at: Date;
|
|
28
37
|
updated_at: Date;
|
|
29
38
|
archived_at: Date | null;
|