Skip to content

Commit a4e4cc4

Browse files
committed
remove unused types
1 parent 81a0b85 commit a4e4cc4

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

packages/types/src/common.d.ts

-43
Original file line numberDiff line numberDiff line change
@@ -19,49 +19,6 @@ export type ChannelType =
1919
| "chat"
2020
| "http";
2121

22-
export interface Tenant<T = GenericData> {
23-
id: string;
24-
properties: T;
25-
settings?: TenantSettings;
26-
created_at?: string;
27-
updated_at: string;
28-
}
29-
30-
export interface TenantSettings {
31-
branding?: TenantBrandingSettings;
32-
preference_set?: PreferenceSetProperties;
33-
}
34-
35-
export interface TenantBrandingSettings {
36-
primary_color?: string;
37-
primary_color_contrast?: string;
38-
logo_url?: string;
39-
icon_url?: string;
40-
}
41-
42-
export interface PreferenceSetProperties {
43-
workflows?: WorkflowPreferences;
44-
categories?: WorkflowPreferences;
45-
channel_types?: ChannelTypePreferences;
46-
}
47-
48-
export interface WorkflowPreferences {
49-
[key: string]: WorkflowPreferenceSetting;
50-
}
51-
52-
export type WorkflowPreferenceSetting =
53-
| boolean
54-
| { channel_types: ChannelTypePreferences }
55-
| ConditionalPreferenceSettings;
56-
57-
export type ChannelTypePreferences = {
58-
[_K in ChannelType]?: boolean | ConditionalPreferenceSettings;
59-
};
60-
61-
export type ConditionalPreferenceSettings = {
62-
conditions: Condition[];
63-
};
64-
6522
export interface Condition {
6623
argument: string;
6724
variable: string;

0 commit comments

Comments
 (0)