File tree 1 file changed +0
-43
lines changed
1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -19,49 +19,6 @@ export type ChannelType =
19
19
| "chat"
20
20
| "http" ;
21
21
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
-
65
22
export interface Condition {
66
23
argument : string ;
67
24
variable : string ;
You can’t perform that action at this time.
0 commit comments