@clxmedia/types 1.0.65 → 1.0.67

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.
@@ -20,7 +20,7 @@ export type CLXFormState = {
20
20
  mode: CLXFormMode;
21
21
  locked: boolean;
22
22
  };
23
- export type CLXFormSubmitAction = 'lock' | 'reset' | 'snapshot' | 'notify';
23
+ export type CLXFormSubmitAction = 'lock' | 'reset' | 'snapshot' | 'notify' | 'task';
24
24
  export type CLXFormAllowable = 'share' | 'reset';
25
25
  export type CLXFormSectionFormat = 'tabs' | 'accordion';
26
26
  export type CLXFormSettingsDisplay = {
@@ -34,6 +34,10 @@ export type CLXFormSubmitConfig = {
34
34
  actions: CLXFormSubmitAction[];
35
35
  notifyEmails: string[];
36
36
  notifySubmitter: boolean;
37
+ taskType?: {
38
+ id: number;
39
+ name: string;
40
+ };
37
41
  };
38
42
  export type CLXFormSettings = {
39
43
  allow: CLXFormAllowable[];
@@ -1,24 +1,3 @@
1
- type ConditionalEnterpriseEventLog<T = {}> = T extends {
2
- event_item_id: any;
3
- } ? {
4
- application_source: string;
5
- event_item_type: string;
6
- } : T extends {
7
- event_item_type: any;
8
- } ? {
9
- application_source: string;
10
- } : {};
11
- export type EnterpriseEventLog = {
12
- user_email: string;
13
- description: string;
14
- application_source?: string;
15
- event_action: string;
16
- event_unix_time_ms: number;
17
- master_id?: number;
18
- event_item_id?: string;
19
- event_item_type?: string;
20
- event_item_name?: string;
21
- } & ConditionalEnterpriseEventLog;
22
1
  type BaseEnterpriseEventLogQuery = {
23
2
  master_id?: string;
24
3
  user_email?: string;
@@ -42,21 +21,4 @@ export type EnterpriseEventNoSpecialRequirements = BaseEnterpriseEventLogQuery &
42
21
  application_source?: string;
43
22
  };
44
23
  export type EnterpriseEventLogQuery = EnterpriseEventItemIdExists | EnterpriseEventItemTypeIdExists | EnterpriseEventNoSpecialRequirements;
45
- export type ServiceKeys = 'accessToken' | 'jwtConfig';
46
- export type AccessConfigs = {
47
- accessToken?: string;
48
- jwtConfig?: {
49
- jwtEmail: string;
50
- jwtSecret: string;
51
- };
52
- };
53
- export type AccessConfig = {
54
- [K in ServiceKeys]: {
55
- [P in K]: AccessConfigs[K];
56
- };
57
- }[ServiceKeys];
58
- export interface XperienceCoreClientConfig {
59
- server: string;
60
- accessConfig: AccessConfig;
61
- }
62
24
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",