@clxmedia/types 1.0.99 → 1.0.100

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.
@@ -10,6 +10,14 @@ 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 & {});
14
+ export type EnterpriseEventDashboard = EnterpriseEventBase & {
15
+ application_source: 'dashboard';
16
+ master_id: number;
17
+ event_item_type: string;
18
+ event_action: FormsEnterpriseEventAction;
19
+ };
20
+ export type DashboardEnterpriseEventSlugs = `dashboard:${string}:${DashboardEnterpriseEventAction}`;
13
21
  export type FormsEnterpriseEventAction = 'locked' | 'unlocked' | 'shared' | 'submitted' | 'reviewed' | (EnterpriseDefaultActions & {});
14
22
  export type FormsItemTypes = 'onboarding' | 'client-request';
15
23
  export type EnterpriseEventForms = EnterpriseEventBase & {
@@ -78,9 +86,9 @@ export type EnterpriseEventExternal = EnterpriseEventBase & {
78
86
  };
79
87
  export type ExternalEnterpriseEventSlugs = `external:${ExternalItemTypes}:${ExternalEnterpriseEventAction}`;
80
88
  export type EnterpriseEventItemType = FormsItemTypes | AuthItemTypes | ProjectsItemTypes | MediaHubItemTypes | AdsItemTypes | ExternalItemTypes | OdooItemTypes;
81
- export type EnterpriseEventAction = FormsEnterpriseEventAction | AuthEnterpriseEventAction | ProjectsEnterpriseEventAction | MediaHubEnterpriseEventAction | AdsEnterpriseEventAction | ExternalEnterpriseEventAction | OdooEnterpriseEventAction;
82
- export type EnterpriseEvent = EnterpriseEventForms | EnterpriseEventProjects | EnterpriseEventAuth | EnterpriseEventMediaHub | EnterpriseEventAds | EnterpriseEventExternal | EnterpriseEventOdoo;
83
- export type EnterpriseEventSlugs = FormsEnterpriseEventSlugs | AuthEnterpriseEventSlugs | ProjectsEnterpriseEventSlugs | MediaHubEnterpriseEventSlugs | AdsEnterpriseEventSlugs | ExternalEnterpriseEventSlugs | OdooEnterpriseEventSlugs;
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;
84
92
  export type ServiceKeys = 'accessToken' | 'jwtConfig';
85
93
  export type AccessConfigs = {
86
94
  accessToken?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.99",
3
+ "version": "1.0.100",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",