commandbar 1.8.5 → 1.8.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. package/build/commandbar-js/src/index.js +1 -1
  2. package/build/internal/src/client/AddContextOptions.d.ts +141 -0
  3. package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -0
  4. package/build/internal/src/client/CommandBarClientSDK.d.ts +403 -0
  5. package/build/internal/src/client/CommandBarProxySDK.d.ts +49 -0
  6. package/build/internal/src/client/CommandBarSDK.d.ts +79 -0
  7. package/build/internal/src/client/EventHandler.d.ts +282 -0
  8. package/build/internal/src/client/OrgConfig.d.ts +5 -0
  9. package/build/internal/src/client/SDKConfig.d.ts +13 -0
  10. package/build/internal/src/client/SentryReporter.d.ts +63 -0
  11. package/build/internal/src/client/globals.d.ts +20 -0
  12. package/build/internal/src/client/proxy.d.ts +15 -0
  13. package/build/internal/src/client/symbols.d.ts +50 -0
  14. package/build/internal/src/middleware/CommandFromClientV.d.ts +283 -0
  15. package/build/internal/src/middleware/ICommandFromClientType.d.ts +5 -0
  16. package/build/internal/src/middleware/IResourceSettings.d.ts +3 -0
  17. package/build/internal/src/middleware/OrganizationV.d.ts +329 -0
  18. package/build/internal/src/middleware/ResourceSettingsV.d.ts +119 -0
  19. package/build/internal/src/middleware/additionalResource.d.ts +302 -0
  20. package/build/internal/src/middleware/billing.d.ts +41 -0
  21. package/build/internal/src/middleware/chatAnalytics.d.ts +2601 -0
  22. package/build/internal/src/middleware/checklist.d.ts +1014 -0
  23. package/build/internal/src/middleware/command.d.ts +8908 -0
  24. package/build/internal/src/middleware/commandCategory.d.ts +192 -0
  25. package/build/internal/src/middleware/confetti.d.ts +16 -0
  26. package/build/internal/src/middleware/context.d.ts +40 -0
  27. package/build/internal/src/middleware/dashboardFlags.d.ts +9 -0
  28. package/build/internal/src/middleware/detailPreview.d.ts +24 -0
  29. package/build/internal/src/middleware/environment.d.ts +11 -0
  30. package/build/internal/src/middleware/generics.d.ts +42 -0
  31. package/build/internal/src/middleware/guide.d.ts +37 -0
  32. package/build/internal/src/middleware/helpDocsIntegration.d.ts +72 -0
  33. package/build/internal/src/middleware/helpDocsSync.d.ts +63 -0
  34. package/build/internal/src/middleware/helpers/actions.d.ts +184 -0
  35. package/build/internal/src/middleware/helpers/argument.d.ts +318 -0
  36. package/build/internal/src/middleware/helpers/audience.d.ts +15 -0
  37. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +252 -0
  38. package/build/internal/src/middleware/helpers/endUser.d.ts +11 -0
  39. package/build/internal/src/middleware/helpers/frequencyLimit.d.ts +2 -0
  40. package/build/internal/src/middleware/helpers/goals.d.ts +26 -0
  41. package/build/internal/src/middleware/helpers/optionGroup.d.ts +2 -0
  42. package/build/internal/src/middleware/helpers/pushTrigger.d.ts +26 -0
  43. package/build/internal/src/middleware/helpers/rules.d.ts +289 -0
  44. package/build/internal/src/middleware/helpers/tags.d.ts +7 -0
  45. package/build/internal/src/middleware/historyEvent.d.ts +21 -0
  46. package/build/internal/src/middleware/network.d.ts +3 -0
  47. package/build/internal/src/middleware/nudge.d.ts +1669 -0
  48. package/build/internal/src/middleware/organization.d.ts +1540 -0
  49. package/build/internal/src/middleware/organizationSettings.d.ts +330 -0
  50. package/build/internal/src/middleware/placeholder.d.ts +47 -0
  51. package/build/internal/src/middleware/profile.d.ts +11 -0
  52. package/build/internal/src/middleware/qaPair.d.ts +676 -0
  53. package/build/internal/src/middleware/recommendationSet.d.ts +1199 -0
  54. package/build/internal/src/middleware/releases.d.ts +261 -0
  55. package/build/internal/src/middleware/skin.d.ts +102 -0
  56. package/build/internal/src/middleware/tab.d.ts +27 -0
  57. package/build/internal/src/middleware/types.d.ts +218 -0
  58. package/build/internal/src/middleware/user.d.ts +15 -0
  59. package/build/internal/src/middleware/utils.d.ts +11 -0
  60. package/build/internal/src/util/Disposable.d.ts +17 -0
  61. package/build/internal/src/util/LocalStorage.d.ts +6 -0
  62. package/build/internal/src/util/Logger.d.ts +18 -0
  63. package/build/internal/src/util/dispatchCustomEvent.d.ts +12 -0
  64. package/build/internal/src/util/integrations.d.ts +1 -0
  65. package/package.json +3 -3
  66. package/jest.config.js +0 -4
  67. package/scripts/minify-snippet.ts +0 -36
  68. package/scripts/watch.ts +0 -5
  69. package/src/commandbar-launcher.d.ts +0 -7
  70. package/test/init.test.ts +0 -3
  71. package/tsconfig.json +0 -24
  72. package/webpack.config.js +0 -35
@@ -0,0 +1,184 @@
1
+ import * as t from 'io-ts';
2
+ import { LabeledAction } from '../types';
3
+ export declare const AdminAction: t.TypeC<{
4
+ type: t.LiteralC<"admin">;
5
+ value: t.StringC;
6
+ }>;
7
+ export declare const CallbackAction: t.TypeC<{
8
+ type: t.LiteralC<"callback">;
9
+ value: t.StringC;
10
+ }>;
11
+ export declare const OpenBarAction: t.IntersectionC<[t.TypeC<{
12
+ type: t.LiteralC<"open_bar">;
13
+ }>, t.PartialC<{
14
+ value: t.StringC;
15
+ categoryFilter: t.NumberC;
16
+ }>]>;
17
+ export declare const LinkAction: t.IntersectionC<[t.TypeC<{
18
+ type: t.LiteralC<"link">;
19
+ value: t.StringC;
20
+ }>, t.PartialC<{
21
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
22
+ }>]>;
23
+ export declare const OpenChatAction: t.TypeC<{
24
+ type: t.LiteralC<"open_chat">;
25
+ meta: t.TypeC<{
26
+ type: t.StringC;
27
+ }>;
28
+ }>;
29
+ export declare const DismissAction: t.TypeC<{
30
+ type: t.LiteralC<"dismiss">;
31
+ }>;
32
+ export declare const ClickAction: t.TypeC<{
33
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
34
+ value: t.ArrayC<t.StringC>;
35
+ }>;
36
+ export declare const BuiltInAction: t.TypeC<{
37
+ type: t.LiteralC<"builtin">;
38
+ value: t.StringC;
39
+ }>;
40
+ export declare const WebhookAction: t.TypeC<{
41
+ type: t.LiteralC<"webhook">;
42
+ value: t.StringC;
43
+ }>;
44
+ export declare const AppcuesAction: t.TypeC<{
45
+ type: t.LiteralC<"appcues">;
46
+ value: t.StringC;
47
+ }>;
48
+ export declare const ScriptAction: t.TypeC<{
49
+ type: t.LiteralC<"script">;
50
+ value: t.StringC;
51
+ }>;
52
+ export declare const VideoAction: t.TypeC<{
53
+ type: t.LiteralC<"video">;
54
+ value: t.StringC;
55
+ }>;
56
+ export declare const HelpDocAction: t.IntersectionC<[t.TypeC<{
57
+ type: t.LiteralC<"helpdoc">;
58
+ value: t.StringC;
59
+ }>, t.PartialC<{
60
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.LiteralC<"help_hub">, t.UndefinedC]>;
61
+ doc_metadata: t.PartialC<{
62
+ content_type: t.StringC;
63
+ date: t.StringC;
64
+ }>;
65
+ }>]>;
66
+ export declare const CommandAction: t.TypeC<{
67
+ type: t.LiteralC<"execute_command">;
68
+ meta: t.TypeC<{
69
+ command: t.StringC;
70
+ }>;
71
+ }>;
72
+ export declare const NoAction: t.TypeC<{
73
+ type: t.LiteralC<"no_action">;
74
+ }>;
75
+ export declare const ClickActionNew: t.TypeC<{
76
+ type: t.LiteralC<"click">;
77
+ value: t.StringC;
78
+ }>;
79
+ export declare const NudgeAction: t.TypeC<{
80
+ type: t.LiteralC<"nudge">;
81
+ value: t.NumberC;
82
+ }>;
83
+ export declare const ActionV: t.UnionC<[t.TypeC<{
84
+ type: t.LiteralC<"execute_command">;
85
+ meta: t.TypeC<{
86
+ command: t.StringC;
87
+ }>;
88
+ }>, t.TypeC<{
89
+ type: t.LiteralC<"no_action">;
90
+ }>, t.TypeC<{
91
+ type: t.LiteralC<"click">;
92
+ value: t.StringC;
93
+ }>, t.IntersectionC<[t.TypeC<{
94
+ type: t.LiteralC<"link">;
95
+ value: t.StringC;
96
+ }>, t.PartialC<{
97
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
98
+ }>]>, t.TypeC<{
99
+ type: t.LiteralC<"open_chat">;
100
+ meta: t.TypeC<{
101
+ type: t.StringC;
102
+ }>;
103
+ }>, t.TypeC<{
104
+ type: t.LiteralC<"dismiss">;
105
+ }>]>;
106
+ export declare const LabeledActionV: t.TypeC<{
107
+ cta: t.StringC;
108
+ action: t.UnionC<[t.TypeC<{
109
+ type: t.LiteralC<"execute_command">;
110
+ meta: t.TypeC<{
111
+ command: t.StringC;
112
+ }>;
113
+ }>, t.TypeC<{
114
+ type: t.LiteralC<"no_action">;
115
+ }>, t.TypeC<{
116
+ type: t.LiteralC<"click">;
117
+ value: t.StringC;
118
+ }>, t.IntersectionC<[t.TypeC<{
119
+ type: t.LiteralC<"link">;
120
+ value: t.StringC;
121
+ }>, t.PartialC<{
122
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
123
+ }>]>, t.TypeC<{
124
+ type: t.LiteralC<"open_chat">;
125
+ meta: t.TypeC<{
126
+ type: t.StringC;
127
+ }>;
128
+ }>, t.TypeC<{
129
+ type: t.LiteralC<"dismiss">;
130
+ }>]>;
131
+ }>;
132
+ export declare const isAction: (o: string | number | LabeledAction) => o is {
133
+ cta: string;
134
+ action: {
135
+ type: "execute_command";
136
+ meta: {
137
+ command: string;
138
+ };
139
+ } | {
140
+ type: "no_action";
141
+ } | {
142
+ type: "click";
143
+ value: string;
144
+ } | ({
145
+ type: "link";
146
+ value: string;
147
+ } & {
148
+ operation?: "self" | "router" | "blank" | undefined;
149
+ }) | {
150
+ type: "open_chat";
151
+ meta: {
152
+ type: string;
153
+ };
154
+ } | {
155
+ type: "dismiss";
156
+ };
157
+ };
158
+ export declare const RequestV: t.IntersectionC<[t.TypeC<{
159
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
160
+ url: t.StringC;
161
+ }>, t.PartialC<{
162
+ headers: t.UnknownRecordC;
163
+ body: t.UnknownRecordC;
164
+ onSend: t.StringC;
165
+ onSuccess: t.StringC;
166
+ onError: t.StringC;
167
+ }>]>;
168
+ export declare const RequestAction: t.TypeC<{
169
+ type: t.LiteralC<"request">;
170
+ value: t.IntersectionC<[t.TypeC<{
171
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
172
+ url: t.StringC;
173
+ }>, t.PartialC<{
174
+ headers: t.UnknownRecordC;
175
+ body: t.UnknownRecordC;
176
+ onSend: t.StringC;
177
+ onSuccess: t.StringC;
178
+ onError: t.StringC;
179
+ }>]>;
180
+ }>;
181
+ export declare const TriggerAction: t.TypeC<{
182
+ type: t.LiteralC<"trigger">;
183
+ value: t.AnyC;
184
+ }>;
@@ -0,0 +1,318 @@
1
+ /*******************************************************************************/
2
+ import * as t from 'io-ts';
3
+ /*******************************************************************************/
4
+ export declare const ConditionOperatorV: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
5
+ export declare const ConditionV: t.TypeC<{
6
+ field: t.StringC;
7
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
8
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
9
+ }>;
10
+ export declare const ContextArgumentV: t.IntersectionC<[t.TypeC<{
11
+ type: t.LiteralC<"context">;
12
+ value: t.StringC;
13
+ order_key: t.NumberC;
14
+ }>, t.PartialC<{
15
+ label: t.StringC;
16
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
17
+ selected: t.ArrayC<t.AnyC>;
18
+ input_type: t.StringC;
19
+ preselected_key: t.StringC;
20
+ label_field: t.StringC;
21
+ loaded: t.ArrayC<t.AnyC>;
22
+ allow_create: t.BooleanC;
23
+ allow_create_label: t.StringC;
24
+ show_in_record_action_list: t.BooleanC;
25
+ show_in_default_list: t.BooleanC;
26
+ auto_choose: t.BooleanC;
27
+ is_private: t.BooleanC;
28
+ }>]>;
29
+ export declare const SetArgumentV: t.IntersectionC<[t.TypeC<{
30
+ type: t.LiteralC<"set">;
31
+ value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
32
+ order_key: t.NumberC;
33
+ }>, t.PartialC<{
34
+ label: t.StringC;
35
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
36
+ selected: t.ArrayC<t.AnyC>;
37
+ input_type: t.StringC;
38
+ preselected_key: t.StringC;
39
+ label_field: t.StringC;
40
+ loaded: t.ArrayC<t.AnyC>;
41
+ allow_create: t.BooleanC;
42
+ allow_create_label: t.StringC;
43
+ auto_choose: t.BooleanC;
44
+ is_private: t.BooleanC;
45
+ }>]>;
46
+ export declare const DashboardV: t.IntersectionC<[t.TypeC<{
47
+ source: t.StringC;
48
+ }>, t.PartialC<{
49
+ title: t.StringC;
50
+ description: t.StringC;
51
+ url: t.StringC;
52
+ }>]>;
53
+ export declare const DashboardArgumentV: t.IntersectionC<[t.TypeC<{
54
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
55
+ value: t.IntersectionC<[t.TypeC<{
56
+ source: t.StringC;
57
+ }>, t.PartialC<{
58
+ title: t.StringC;
59
+ description: t.StringC;
60
+ url: t.StringC;
61
+ }>]>;
62
+ order_key: t.NumberC;
63
+ }>, t.PartialC<{
64
+ label: t.StringC;
65
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
66
+ selected: t.ArrayC<t.AnyC>;
67
+ input_type: t.StringC;
68
+ preselected_key: t.StringC;
69
+ label_field: t.StringC;
70
+ loaded: t.ArrayC<t.AnyC>;
71
+ allow_create: t.BooleanC;
72
+ allow_create_label: t.StringC;
73
+ is_private: t.BooleanC;
74
+ auto_choose: t.BooleanC;
75
+ }>]>;
76
+ export declare const DynamicArgumentV: t.IntersectionC<[t.TypeC<{
77
+ type: t.LiteralC<"provided">;
78
+ value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
79
+ order_key: t.NumberC;
80
+ }>, t.PartialC<{
81
+ label: t.StringC;
82
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
83
+ selected: t.ArrayC<t.AnyC>;
84
+ input_type: t.StringC;
85
+ preselected_key: t.StringC;
86
+ label_field: t.StringC;
87
+ loaded: t.ArrayC<t.AnyC>;
88
+ dateTimeArgumentTypeId: t.NumberC;
89
+ allow_create: t.BooleanC;
90
+ allow_create_label: t.StringC;
91
+ auto_choose: t.BooleanC;
92
+ is_private: t.BooleanC;
93
+ }>]>;
94
+ export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
95
+ type: t.LiteralC<"context">;
96
+ value: t.StringC;
97
+ order_key: t.NumberC;
98
+ }>, t.PartialC<{
99
+ label: t.StringC;
100
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
101
+ selected: t.ArrayC<t.AnyC>;
102
+ input_type: t.StringC;
103
+ preselected_key: t.StringC;
104
+ label_field: t.StringC;
105
+ loaded: t.ArrayC<t.AnyC>;
106
+ allow_create: t.BooleanC;
107
+ allow_create_label: t.StringC;
108
+ show_in_record_action_list: t.BooleanC;
109
+ show_in_default_list: t.BooleanC;
110
+ auto_choose: t.BooleanC;
111
+ is_private: t.BooleanC;
112
+ }>]>, t.IntersectionC<[t.TypeC<{
113
+ type: t.LiteralC<"set">;
114
+ value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
115
+ order_key: t.NumberC;
116
+ }>, t.PartialC<{
117
+ label: t.StringC;
118
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
119
+ selected: t.ArrayC<t.AnyC>;
120
+ input_type: t.StringC;
121
+ preselected_key: t.StringC;
122
+ label_field: t.StringC;
123
+ loaded: t.ArrayC<t.AnyC>;
124
+ allow_create: t.BooleanC;
125
+ allow_create_label: t.StringC;
126
+ auto_choose: t.BooleanC;
127
+ is_private: t.BooleanC;
128
+ }>]>, t.IntersectionC<[t.TypeC<{
129
+ type: t.LiteralC<"provided">;
130
+ value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
131
+ order_key: t.NumberC;
132
+ }>, t.PartialC<{
133
+ label: t.StringC;
134
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
135
+ selected: t.ArrayC<t.AnyC>;
136
+ input_type: t.StringC;
137
+ preselected_key: t.StringC;
138
+ label_field: t.StringC;
139
+ loaded: t.ArrayC<t.AnyC>;
140
+ dateTimeArgumentTypeId: t.NumberC;
141
+ allow_create: t.BooleanC;
142
+ allow_create_label: t.StringC;
143
+ auto_choose: t.BooleanC;
144
+ is_private: t.BooleanC;
145
+ }>]>, t.IntersectionC<[t.TypeC<{
146
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
147
+ value: t.IntersectionC<[t.TypeC<{
148
+ source: t.StringC;
149
+ }>, t.PartialC<{
150
+ title: t.StringC;
151
+ description: t.StringC;
152
+ url: t.StringC;
153
+ }>]>;
154
+ order_key: t.NumberC;
155
+ }>, t.PartialC<{
156
+ label: t.StringC;
157
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
158
+ selected: t.ArrayC<t.AnyC>;
159
+ input_type: t.StringC;
160
+ preselected_key: t.StringC;
161
+ label_field: t.StringC;
162
+ loaded: t.ArrayC<t.AnyC>;
163
+ allow_create: t.BooleanC;
164
+ allow_create_label: t.StringC;
165
+ is_private: t.BooleanC;
166
+ auto_choose: t.BooleanC;
167
+ }>]>]>;
168
+ export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
169
+ type: t.LiteralC<"context">;
170
+ value: t.StringC;
171
+ order_key: t.NumberC;
172
+ }>, t.PartialC<{
173
+ label: t.StringC;
174
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
175
+ selected: t.ArrayC<t.AnyC>;
176
+ input_type: t.StringC;
177
+ preselected_key: t.StringC;
178
+ label_field: t.StringC;
179
+ loaded: t.ArrayC<t.AnyC>;
180
+ allow_create: t.BooleanC;
181
+ allow_create_label: t.StringC;
182
+ show_in_record_action_list: t.BooleanC;
183
+ show_in_default_list: t.BooleanC;
184
+ auto_choose: t.BooleanC;
185
+ is_private: t.BooleanC;
186
+ }>]>, t.IntersectionC<[t.TypeC<{
187
+ type: t.LiteralC<"set">;
188
+ value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
189
+ order_key: t.NumberC;
190
+ }>, t.PartialC<{
191
+ label: t.StringC;
192
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
193
+ selected: t.ArrayC<t.AnyC>;
194
+ input_type: t.StringC;
195
+ preselected_key: t.StringC;
196
+ label_field: t.StringC;
197
+ loaded: t.ArrayC<t.AnyC>;
198
+ allow_create: t.BooleanC;
199
+ allow_create_label: t.StringC;
200
+ auto_choose: t.BooleanC;
201
+ is_private: t.BooleanC;
202
+ }>]>, t.IntersectionC<[t.TypeC<{
203
+ type: t.LiteralC<"provided">;
204
+ value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
205
+ order_key: t.NumberC;
206
+ }>, t.PartialC<{
207
+ label: t.StringC;
208
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
209
+ selected: t.ArrayC<t.AnyC>;
210
+ input_type: t.StringC;
211
+ preselected_key: t.StringC;
212
+ label_field: t.StringC;
213
+ loaded: t.ArrayC<t.AnyC>;
214
+ dateTimeArgumentTypeId: t.NumberC;
215
+ allow_create: t.BooleanC;
216
+ allow_create_label: t.StringC;
217
+ auto_choose: t.BooleanC;
218
+ is_private: t.BooleanC;
219
+ }>]>, t.IntersectionC<[t.TypeC<{
220
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
221
+ value: t.IntersectionC<[t.TypeC<{
222
+ source: t.StringC;
223
+ }>, t.PartialC<{
224
+ title: t.StringC;
225
+ description: t.StringC;
226
+ url: t.StringC;
227
+ }>]>;
228
+ order_key: t.NumberC;
229
+ }>, t.PartialC<{
230
+ label: t.StringC;
231
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
232
+ selected: t.ArrayC<t.AnyC>;
233
+ input_type: t.StringC;
234
+ preselected_key: t.StringC;
235
+ label_field: t.StringC;
236
+ loaded: t.ArrayC<t.AnyC>;
237
+ allow_create: t.BooleanC;
238
+ allow_create_label: t.StringC;
239
+ is_private: t.BooleanC;
240
+ auto_choose: t.BooleanC;
241
+ }>]>]>>;
242
+ export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
243
+ userDefinedName: t.StringC;
244
+ userDefinedValue: t.StringC;
245
+ }>, t.UnionC<[t.IntersectionC<[t.TypeC<{
246
+ type: t.LiteralC<"context">;
247
+ value: t.StringC;
248
+ order_key: t.NumberC;
249
+ }>, t.PartialC<{
250
+ label: t.StringC;
251
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
252
+ selected: t.ArrayC<t.AnyC>;
253
+ input_type: t.StringC;
254
+ preselected_key: t.StringC;
255
+ label_field: t.StringC;
256
+ loaded: t.ArrayC<t.AnyC>;
257
+ allow_create: t.BooleanC;
258
+ allow_create_label: t.StringC;
259
+ show_in_record_action_list: t.BooleanC;
260
+ show_in_default_list: t.BooleanC;
261
+ auto_choose: t.BooleanC;
262
+ is_private: t.BooleanC;
263
+ }>]>, t.IntersectionC<[t.TypeC<{
264
+ type: t.LiteralC<"set">;
265
+ value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
266
+ order_key: t.NumberC;
267
+ }>, t.PartialC<{
268
+ label: t.StringC;
269
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
270
+ selected: t.ArrayC<t.AnyC>;
271
+ input_type: t.StringC;
272
+ preselected_key: t.StringC;
273
+ label_field: t.StringC;
274
+ loaded: t.ArrayC<t.AnyC>;
275
+ allow_create: t.BooleanC;
276
+ allow_create_label: t.StringC;
277
+ auto_choose: t.BooleanC;
278
+ is_private: t.BooleanC;
279
+ }>]>, t.IntersectionC<[t.TypeC<{
280
+ type: t.LiteralC<"provided">;
281
+ value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
282
+ order_key: t.NumberC;
283
+ }>, t.PartialC<{
284
+ label: t.StringC;
285
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
286
+ selected: t.ArrayC<t.AnyC>;
287
+ input_type: t.StringC;
288
+ preselected_key: t.StringC;
289
+ label_field: t.StringC;
290
+ loaded: t.ArrayC<t.AnyC>;
291
+ dateTimeArgumentTypeId: t.NumberC;
292
+ allow_create: t.BooleanC;
293
+ allow_create_label: t.StringC;
294
+ auto_choose: t.BooleanC;
295
+ is_private: t.BooleanC;
296
+ }>]>, t.IntersectionC<[t.TypeC<{
297
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
298
+ value: t.IntersectionC<[t.TypeC<{
299
+ source: t.StringC;
300
+ }>, t.PartialC<{
301
+ title: t.StringC;
302
+ description: t.StringC;
303
+ url: t.StringC;
304
+ }>]>;
305
+ order_key: t.NumberC;
306
+ }>, t.PartialC<{
307
+ label: t.StringC;
308
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
309
+ selected: t.ArrayC<t.AnyC>;
310
+ input_type: t.StringC;
311
+ preselected_key: t.StringC;
312
+ label_field: t.StringC;
313
+ loaded: t.ArrayC<t.AnyC>;
314
+ allow_create: t.BooleanC;
315
+ allow_create_label: t.StringC;
316
+ is_private: t.BooleanC;
317
+ auto_choose: t.BooleanC;
318
+ }>]>]>]>;
@@ -0,0 +1,15 @@
1
+ import * as t from 'io-ts';
2
+ export declare const AudienceV: t.UnionC<[t.TypeC<{
3
+ type: t.LiteralC<"all_users">;
4
+ }>, t.TypeC<{
5
+ type: t.LiteralC<"rule_expression">;
6
+ expression: t.Type<import("./rules").RuleExpression, import("./rules").RuleExpression, unknown>;
7
+ }>, t.TypeC<{
8
+ type: t.LiteralC<"named_rule_reference">;
9
+ rule_reference: t.IntersectionC<[t.TypeC<{
10
+ type: t.LiteralC<"named_rule">;
11
+ rule_id: t.UnionC<[t.NumberC, t.StringC]>;
12
+ }>, t.PartialC<{
13
+ reason: t.StringC;
14
+ }>]>;
15
+ }>]>;