@clxmedia/types 1.0.89 → 1.0.91
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.
|
@@ -15,6 +15,15 @@ export type EnterpriseEventForms = EnterpriseEventBase & {
|
|
|
15
15
|
event_action: FormsEnterpriseEventAction;
|
|
16
16
|
};
|
|
17
17
|
export type FormsEnterpriseEventSlugs = `forms:${FormsItemTypes}:${FormsEnterpriseEventAction}`;
|
|
18
|
+
export type AuthEnterpriseEventAction = 'requested' | 'granted' | 'denied' | 'revoked';
|
|
19
|
+
export type AuthItemTypes = 'access';
|
|
20
|
+
export type EnterpriseEventAuth = EnterpriseEventBase & {
|
|
21
|
+
application_source: 'auth';
|
|
22
|
+
master_id: number;
|
|
23
|
+
event_item_type: AuthItemTypes;
|
|
24
|
+
event_action: AuthEnterpriseEventAction;
|
|
25
|
+
};
|
|
26
|
+
export type AuthEnterpriseEventSlugs = `auth:${AuthItemTypes}:${AuthEnterpriseEventAction}`;
|
|
18
27
|
export type ProjectsEnterpriseEventAction = 'created' | 'updated' | 'archived' | 'unarchived' | 'deleted';
|
|
19
28
|
export type ProjectsItemTypes = 'onboarding';
|
|
20
29
|
export type EnterpriseEventProjects = EnterpriseEventBase & {
|
|
@@ -64,8 +73,8 @@ export type EnterpriseEventExternal = EnterpriseEventBase & {
|
|
|
64
73
|
event_action: ExternalEnterpriseEventAction;
|
|
65
74
|
};
|
|
66
75
|
export type ExternalEnterpriseEventSlugs = `external:${ExternalItemTypes}:${ExternalEnterpriseEventAction}`;
|
|
67
|
-
export type EnterpriseEvent = EnterpriseEventForms | EnterpriseEventProjects | EnterpriseEventMediaHub | EnterpriseEventAds | EnterpriseEventExternal | EnterpriseEventOdoo;
|
|
68
|
-
export type EnterpriseEventSlugs = FormsEnterpriseEventSlugs | ProjectsEnterpriseEventSlugs | MediaHubEnterpriseEventSlugs | AdsEnterpriseEventSlugs | ExternalEnterpriseEventSlugs | OdooEnterpriseEventSlugs;
|
|
76
|
+
export type EnterpriseEvent = EnterpriseEventForms | EnterpriseEventProjects | EnterpriseEventAuth | EnterpriseEventMediaHub | EnterpriseEventAds | EnterpriseEventExternal | EnterpriseEventOdoo;
|
|
77
|
+
export type EnterpriseEventSlugs = FormsEnterpriseEventSlugs | AuthEnterpriseEventSlugs | ProjectsEnterpriseEventSlugs | MediaHubEnterpriseEventSlugs | AdsEnterpriseEventSlugs | ExternalEnterpriseEventSlugs | OdooEnterpriseEventSlugs;
|
|
69
78
|
export type ServiceKeys = 'accessToken' | 'jwtConfig';
|
|
70
79
|
export type AccessConfigs = {
|
|
71
80
|
accessToken?: string;
|
|
@@ -4,9 +4,11 @@ import type { CLXTask } from "../tasks";
|
|
|
4
4
|
export type CLXProjectStepSlug = string;
|
|
5
5
|
export type CLXProjectTaskTemplate = {
|
|
6
6
|
slug: EnterpriseEventSlugs;
|
|
7
|
+
description: string;
|
|
7
8
|
required: boolean;
|
|
8
9
|
verify: boolean;
|
|
9
10
|
depends_on: EnterpriseEventSlugs | null;
|
|
11
|
+
internal: boolean;
|
|
10
12
|
};
|
|
11
13
|
export type CLXProjectStepTemplate = {
|
|
12
14
|
name: string;
|
|
@@ -6,6 +6,7 @@ export type CLXTaskFilter = {
|
|
|
6
6
|
open_only?: boolean;
|
|
7
7
|
slug?: string;
|
|
8
8
|
awaiting_verification?: boolean;
|
|
9
|
+
internal_only?: boolean;
|
|
9
10
|
take?: number;
|
|
10
11
|
skip?: number;
|
|
11
12
|
sort_by?: string;
|
|
@@ -28,6 +29,7 @@ export type CLXTaskTarget = {
|
|
|
28
29
|
export type CLXTask = {
|
|
29
30
|
id: number;
|
|
30
31
|
requires_verification: boolean;
|
|
32
|
+
internal_only: boolean;
|
|
31
33
|
slug: EnterpriseEventSlugs;
|
|
32
34
|
description?: string;
|
|
33
35
|
instructions?: string;
|