commandbar 1.6.7 → 1.6.10
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar-js/src/index.d.ts +10 -0
- package/build/commandbar-js/src/index.js +1 -0
- package/build/commandbar-js/src/init.d.ts +21 -0
- package/build/commandbar-js/src/snippet.d.ts +1 -0
- package/build/internal/src/client/AddContextOptions.d.ts +108 -0
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -0
- package/build/internal/src/client/CommandBarClientSDK.d.ts +303 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +48 -0
- package/build/internal/src/client/CommandBarSDK.d.ts +50 -0
- package/build/internal/src/client/EventHandler.d.ts +99 -0
- package/build/internal/src/client/SDKConfig.d.ts +13 -0
- package/build/internal/src/client/SentryReporter.d.ts +41 -0
- package/build/internal/src/client/globals.d.ts +18 -0
- package/build/internal/src/client/proxy.d.ts +15 -0
- package/build/internal/src/client/symbols.d.ts +32 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +252 -0
- package/build/internal/src/middleware/ICommandFromClientType.d.ts +5 -0
- package/build/internal/src/middleware/IResourceSettings.d.ts +3 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +120 -0
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +57 -0
- package/build/internal/src/middleware/command.d.ts +5464 -0
- package/build/internal/src/middleware/commandCategory.d.ts +136 -0
- package/build/internal/src/middleware/confetti.d.ts +16 -0
- package/build/internal/src/middleware/context.d.ts +40 -0
- package/build/internal/src/middleware/detailPreview.d.ts +21 -0
- package/build/internal/src/middleware/environment.d.ts +11 -0
- package/build/internal/src/middleware/generics.d.ts +40 -0
- package/build/internal/src/middleware/guide.d.ts +37 -0
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +66 -0
- package/build/internal/src/middleware/helpDocsSync.d.ts +42 -0
- package/build/internal/src/middleware/helpers/argument.d.ts +412 -0
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +191 -0
- package/build/internal/src/middleware/helpers/endUser.d.ts +10 -0
- package/build/internal/src/middleware/helpers/optionGroup.d.ts +2 -0
- package/build/internal/src/middleware/helpers/rules.d.ts +231 -0
- package/build/internal/src/middleware/historyEvent.d.ts +40 -0
- package/build/internal/src/middleware/network.d.ts +4 -0
- package/build/internal/src/middleware/organization.d.ts +710 -0
- package/build/internal/src/middleware/placeholder.d.ts +47 -0
- package/build/internal/src/middleware/profile.d.ts +11 -0
- package/build/internal/src/middleware/releases.d.ts +261 -0
- package/build/internal/src/middleware/skin.d.ts +66 -0
- package/build/internal/src/middleware/types.d.ts +425 -0
- package/build/internal/src/middleware/user.d.ts +12 -0
- package/build/internal/src/util/Disposable.d.ts +17 -0
- package/build/internal/src/util/LocalStorage.d.ts +6 -0
- package/build/internal/src/util/Logger.d.ts +18 -0
- package/build/internal/src/util/dispatchCustomEvent.d.ts +2 -0
- package/package.json +1 -1
- package/src/init.ts +1 -1
@@ -0,0 +1,412 @@
|
|
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
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
22
|
+
field: t.StringC;
|
23
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
24
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
25
|
+
}>>;
|
26
|
+
loaded: t.ArrayC<t.AnyC>;
|
27
|
+
allow_create: t.BooleanC;
|
28
|
+
allow_create_label: t.StringC;
|
29
|
+
show_in_record_action_list: t.BooleanC;
|
30
|
+
show_in_default_list: t.BooleanC;
|
31
|
+
}>]>;
|
32
|
+
export declare const SetArgumentV: t.IntersectionC<[t.TypeC<{
|
33
|
+
type: t.LiteralC<"set">;
|
34
|
+
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
35
|
+
order_key: t.NumberC;
|
36
|
+
}>, t.PartialC<{
|
37
|
+
label: t.StringC;
|
38
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
39
|
+
selected: t.ArrayC<t.AnyC>;
|
40
|
+
input_type: t.StringC;
|
41
|
+
preselected_key: t.StringC;
|
42
|
+
label_field: t.StringC;
|
43
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
44
|
+
field: t.StringC;
|
45
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
46
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
47
|
+
}>>;
|
48
|
+
loaded: t.ArrayC<t.AnyC>;
|
49
|
+
allow_create: t.BooleanC;
|
50
|
+
allow_create_label: t.StringC;
|
51
|
+
}>]>;
|
52
|
+
export declare const DynamicArgumentV: t.IntersectionC<[t.TypeC<{
|
53
|
+
type: t.LiteralC<"provided">;
|
54
|
+
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
55
|
+
order_key: t.NumberC;
|
56
|
+
}>, t.PartialC<{
|
57
|
+
label: t.StringC;
|
58
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
59
|
+
selected: t.ArrayC<t.AnyC>;
|
60
|
+
input_type: t.StringC;
|
61
|
+
preselected_key: t.StringC;
|
62
|
+
label_field: t.StringC;
|
63
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
64
|
+
field: t.StringC;
|
65
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
66
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
67
|
+
}>>;
|
68
|
+
loaded: t.ArrayC<t.AnyC>;
|
69
|
+
dateTimeArgumentTypeId: t.NumberC;
|
70
|
+
allow_create: t.BooleanC;
|
71
|
+
allow_create_label: t.StringC;
|
72
|
+
}>]>;
|
73
|
+
export declare const DependentArgumentV: t.IntersectionC<[t.TypeC<{
|
74
|
+
type: t.LiteralC<"dependent">;
|
75
|
+
value: t.StringC;
|
76
|
+
order_key: t.NumberC;
|
77
|
+
}>, t.PartialC<{
|
78
|
+
label: t.StringC;
|
79
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
80
|
+
selected: t.ArrayC<t.AnyC>;
|
81
|
+
input_type: t.StringC;
|
82
|
+
preselected_key: t.StringC;
|
83
|
+
label_field: t.StringC;
|
84
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
85
|
+
field: t.StringC;
|
86
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
87
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
88
|
+
}>>;
|
89
|
+
loaded: t.ArrayC<t.AnyC>;
|
90
|
+
allow_create: t.BooleanC;
|
91
|
+
allow_create_label: t.StringC;
|
92
|
+
}>]>;
|
93
|
+
export declare const FunctionArgumentV: t.IntersectionC<[t.TypeC<{
|
94
|
+
type: t.LiteralC<"function">;
|
95
|
+
value: t.StringC;
|
96
|
+
order_key: t.NumberC;
|
97
|
+
}>, t.PartialC<{
|
98
|
+
label: t.StringC;
|
99
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
100
|
+
selected: t.ArrayC<t.AnyC>;
|
101
|
+
input_type: t.StringC;
|
102
|
+
preselected_key: t.StringC;
|
103
|
+
label_field: t.StringC;
|
104
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
105
|
+
field: t.StringC;
|
106
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
107
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
108
|
+
}>>;
|
109
|
+
loaded: t.ArrayC<t.AnyC>;
|
110
|
+
allow_create: t.BooleanC;
|
111
|
+
allow_create_label: t.StringC;
|
112
|
+
}>]>;
|
113
|
+
export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
114
|
+
type: t.LiteralC<"context">;
|
115
|
+
value: t.StringC;
|
116
|
+
order_key: t.NumberC;
|
117
|
+
}>, t.PartialC<{
|
118
|
+
label: t.StringC;
|
119
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
120
|
+
selected: t.ArrayC<t.AnyC>;
|
121
|
+
input_type: t.StringC;
|
122
|
+
preselected_key: t.StringC;
|
123
|
+
label_field: t.StringC;
|
124
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
125
|
+
field: t.StringC;
|
126
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
127
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
128
|
+
}>>;
|
129
|
+
loaded: t.ArrayC<t.AnyC>;
|
130
|
+
allow_create: t.BooleanC;
|
131
|
+
allow_create_label: t.StringC;
|
132
|
+
show_in_record_action_list: t.BooleanC;
|
133
|
+
show_in_default_list: t.BooleanC;
|
134
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
135
|
+
type: t.LiteralC<"set">;
|
136
|
+
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
137
|
+
order_key: t.NumberC;
|
138
|
+
}>, t.PartialC<{
|
139
|
+
label: t.StringC;
|
140
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
141
|
+
selected: t.ArrayC<t.AnyC>;
|
142
|
+
input_type: t.StringC;
|
143
|
+
preselected_key: t.StringC;
|
144
|
+
label_field: t.StringC;
|
145
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
146
|
+
field: t.StringC;
|
147
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
148
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
149
|
+
}>>;
|
150
|
+
loaded: t.ArrayC<t.AnyC>;
|
151
|
+
allow_create: t.BooleanC;
|
152
|
+
allow_create_label: t.StringC;
|
153
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
154
|
+
type: t.LiteralC<"provided">;
|
155
|
+
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
156
|
+
order_key: t.NumberC;
|
157
|
+
}>, t.PartialC<{
|
158
|
+
label: t.StringC;
|
159
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
160
|
+
selected: t.ArrayC<t.AnyC>;
|
161
|
+
input_type: t.StringC;
|
162
|
+
preselected_key: t.StringC;
|
163
|
+
label_field: t.StringC;
|
164
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
165
|
+
field: t.StringC;
|
166
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
167
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
168
|
+
}>>;
|
169
|
+
loaded: t.ArrayC<t.AnyC>;
|
170
|
+
dateTimeArgumentTypeId: t.NumberC;
|
171
|
+
allow_create: t.BooleanC;
|
172
|
+
allow_create_label: t.StringC;
|
173
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
174
|
+
type: t.LiteralC<"dependent">;
|
175
|
+
value: t.StringC;
|
176
|
+
order_key: t.NumberC;
|
177
|
+
}>, t.PartialC<{
|
178
|
+
label: t.StringC;
|
179
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
180
|
+
selected: t.ArrayC<t.AnyC>;
|
181
|
+
input_type: t.StringC;
|
182
|
+
preselected_key: t.StringC;
|
183
|
+
label_field: t.StringC;
|
184
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
185
|
+
field: t.StringC;
|
186
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
187
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
188
|
+
}>>;
|
189
|
+
loaded: t.ArrayC<t.AnyC>;
|
190
|
+
allow_create: t.BooleanC;
|
191
|
+
allow_create_label: t.StringC;
|
192
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
193
|
+
type: t.LiteralC<"function">;
|
194
|
+
value: t.StringC;
|
195
|
+
order_key: t.NumberC;
|
196
|
+
}>, t.PartialC<{
|
197
|
+
label: t.StringC;
|
198
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
199
|
+
selected: t.ArrayC<t.AnyC>;
|
200
|
+
input_type: t.StringC;
|
201
|
+
preselected_key: t.StringC;
|
202
|
+
label_field: t.StringC;
|
203
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
204
|
+
field: t.StringC;
|
205
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
206
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
207
|
+
}>>;
|
208
|
+
loaded: t.ArrayC<t.AnyC>;
|
209
|
+
allow_create: t.BooleanC;
|
210
|
+
allow_create_label: t.StringC;
|
211
|
+
}>]>]>;
|
212
|
+
export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
213
|
+
type: t.LiteralC<"context">;
|
214
|
+
value: t.StringC;
|
215
|
+
order_key: t.NumberC;
|
216
|
+
}>, t.PartialC<{
|
217
|
+
label: t.StringC;
|
218
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
219
|
+
selected: t.ArrayC<t.AnyC>;
|
220
|
+
input_type: t.StringC;
|
221
|
+
preselected_key: t.StringC;
|
222
|
+
label_field: t.StringC;
|
223
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
224
|
+
field: t.StringC;
|
225
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
226
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
227
|
+
}>>;
|
228
|
+
loaded: t.ArrayC<t.AnyC>;
|
229
|
+
allow_create: t.BooleanC;
|
230
|
+
allow_create_label: t.StringC;
|
231
|
+
show_in_record_action_list: t.BooleanC;
|
232
|
+
show_in_default_list: t.BooleanC;
|
233
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
234
|
+
type: t.LiteralC<"set">;
|
235
|
+
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
236
|
+
order_key: t.NumberC;
|
237
|
+
}>, t.PartialC<{
|
238
|
+
label: t.StringC;
|
239
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
240
|
+
selected: t.ArrayC<t.AnyC>;
|
241
|
+
input_type: t.StringC;
|
242
|
+
preselected_key: t.StringC;
|
243
|
+
label_field: t.StringC;
|
244
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
245
|
+
field: t.StringC;
|
246
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
247
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
248
|
+
}>>;
|
249
|
+
loaded: t.ArrayC<t.AnyC>;
|
250
|
+
allow_create: t.BooleanC;
|
251
|
+
allow_create_label: t.StringC;
|
252
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
253
|
+
type: t.LiteralC<"provided">;
|
254
|
+
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
255
|
+
order_key: t.NumberC;
|
256
|
+
}>, t.PartialC<{
|
257
|
+
label: t.StringC;
|
258
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
259
|
+
selected: t.ArrayC<t.AnyC>;
|
260
|
+
input_type: t.StringC;
|
261
|
+
preselected_key: t.StringC;
|
262
|
+
label_field: t.StringC;
|
263
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
264
|
+
field: t.StringC;
|
265
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
266
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
267
|
+
}>>;
|
268
|
+
loaded: t.ArrayC<t.AnyC>;
|
269
|
+
dateTimeArgumentTypeId: t.NumberC;
|
270
|
+
allow_create: t.BooleanC;
|
271
|
+
allow_create_label: t.StringC;
|
272
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
273
|
+
type: t.LiteralC<"dependent">;
|
274
|
+
value: t.StringC;
|
275
|
+
order_key: t.NumberC;
|
276
|
+
}>, t.PartialC<{
|
277
|
+
label: t.StringC;
|
278
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
279
|
+
selected: t.ArrayC<t.AnyC>;
|
280
|
+
input_type: t.StringC;
|
281
|
+
preselected_key: t.StringC;
|
282
|
+
label_field: t.StringC;
|
283
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
284
|
+
field: t.StringC;
|
285
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
286
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
287
|
+
}>>;
|
288
|
+
loaded: t.ArrayC<t.AnyC>;
|
289
|
+
allow_create: t.BooleanC;
|
290
|
+
allow_create_label: t.StringC;
|
291
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
292
|
+
type: t.LiteralC<"function">;
|
293
|
+
value: t.StringC;
|
294
|
+
order_key: t.NumberC;
|
295
|
+
}>, t.PartialC<{
|
296
|
+
label: t.StringC;
|
297
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
298
|
+
selected: t.ArrayC<t.AnyC>;
|
299
|
+
input_type: t.StringC;
|
300
|
+
preselected_key: t.StringC;
|
301
|
+
label_field: t.StringC;
|
302
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
303
|
+
field: t.StringC;
|
304
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
305
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
306
|
+
}>>;
|
307
|
+
loaded: t.ArrayC<t.AnyC>;
|
308
|
+
allow_create: t.BooleanC;
|
309
|
+
allow_create_label: t.StringC;
|
310
|
+
}>]>]>>;
|
311
|
+
export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
|
312
|
+
userDefinedName: t.StringC;
|
313
|
+
userDefinedValue: t.StringC;
|
314
|
+
}>, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
315
|
+
type: t.LiteralC<"context">;
|
316
|
+
value: t.StringC;
|
317
|
+
order_key: t.NumberC;
|
318
|
+
}>, t.PartialC<{
|
319
|
+
label: t.StringC;
|
320
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
321
|
+
selected: t.ArrayC<t.AnyC>;
|
322
|
+
input_type: t.StringC;
|
323
|
+
preselected_key: t.StringC;
|
324
|
+
label_field: t.StringC;
|
325
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
326
|
+
field: t.StringC;
|
327
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
328
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
329
|
+
}>>;
|
330
|
+
loaded: t.ArrayC<t.AnyC>;
|
331
|
+
allow_create: t.BooleanC;
|
332
|
+
allow_create_label: t.StringC;
|
333
|
+
show_in_record_action_list: t.BooleanC;
|
334
|
+
show_in_default_list: t.BooleanC;
|
335
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
336
|
+
type: t.LiteralC<"set">;
|
337
|
+
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
338
|
+
order_key: t.NumberC;
|
339
|
+
}>, t.PartialC<{
|
340
|
+
label: t.StringC;
|
341
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
342
|
+
selected: t.ArrayC<t.AnyC>;
|
343
|
+
input_type: t.StringC;
|
344
|
+
preselected_key: t.StringC;
|
345
|
+
label_field: t.StringC;
|
346
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
347
|
+
field: t.StringC;
|
348
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
349
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
350
|
+
}>>;
|
351
|
+
loaded: t.ArrayC<t.AnyC>;
|
352
|
+
allow_create: t.BooleanC;
|
353
|
+
allow_create_label: t.StringC;
|
354
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
355
|
+
type: t.LiteralC<"provided">;
|
356
|
+
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
357
|
+
order_key: t.NumberC;
|
358
|
+
}>, t.PartialC<{
|
359
|
+
label: t.StringC;
|
360
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
361
|
+
selected: t.ArrayC<t.AnyC>;
|
362
|
+
input_type: t.StringC;
|
363
|
+
preselected_key: t.StringC;
|
364
|
+
label_field: t.StringC;
|
365
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
366
|
+
field: t.StringC;
|
367
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
368
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
369
|
+
}>>;
|
370
|
+
loaded: t.ArrayC<t.AnyC>;
|
371
|
+
dateTimeArgumentTypeId: t.NumberC;
|
372
|
+
allow_create: t.BooleanC;
|
373
|
+
allow_create_label: t.StringC;
|
374
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
375
|
+
type: t.LiteralC<"dependent">;
|
376
|
+
value: t.StringC;
|
377
|
+
order_key: t.NumberC;
|
378
|
+
}>, t.PartialC<{
|
379
|
+
label: t.StringC;
|
380
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
381
|
+
selected: t.ArrayC<t.AnyC>;
|
382
|
+
input_type: t.StringC;
|
383
|
+
preselected_key: t.StringC;
|
384
|
+
label_field: t.StringC;
|
385
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
386
|
+
field: t.StringC;
|
387
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
388
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
389
|
+
}>>;
|
390
|
+
loaded: t.ArrayC<t.AnyC>;
|
391
|
+
allow_create: t.BooleanC;
|
392
|
+
allow_create_label: t.StringC;
|
393
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
394
|
+
type: t.LiteralC<"function">;
|
395
|
+
value: t.StringC;
|
396
|
+
order_key: t.NumberC;
|
397
|
+
}>, t.PartialC<{
|
398
|
+
label: t.StringC;
|
399
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
400
|
+
selected: t.ArrayC<t.AnyC>;
|
401
|
+
input_type: t.StringC;
|
402
|
+
preselected_key: t.StringC;
|
403
|
+
label_field: t.StringC;
|
404
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
405
|
+
field: t.StringC;
|
406
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
407
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
408
|
+
}>>;
|
409
|
+
loaded: t.ArrayC<t.AnyC>;
|
410
|
+
allow_create: t.BooleanC;
|
411
|
+
allow_create_label: t.StringC;
|
412
|
+
}>]>]>]>;
|
@@ -0,0 +1,191 @@
|
|
1
|
+
/*******************************************************************************/
|
2
|
+
import * as t from 'io-ts';
|
3
|
+
/*******************************************************************************/
|
4
|
+
export declare const TemplateOptionsV: t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
5
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
6
|
+
object: t.StringC;
|
7
|
+
hoverTooltip: t.BooleanC;
|
8
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
9
|
+
}>]>;
|
10
|
+
export declare const AdminTemplateV: t.IntersectionC<[t.TypeC<{
|
11
|
+
type: t.LiteralC<"admin">;
|
12
|
+
value: t.StringC;
|
13
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
14
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
15
|
+
object: t.StringC;
|
16
|
+
hoverTooltip: t.BooleanC;
|
17
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
18
|
+
}>]>]>;
|
19
|
+
export declare const CallbackTemplateV: t.IntersectionC<[t.TypeC<{
|
20
|
+
type: t.LiteralC<"callback">;
|
21
|
+
value: t.StringC;
|
22
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
23
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
24
|
+
object: t.StringC;
|
25
|
+
hoverTooltip: t.BooleanC;
|
26
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
27
|
+
}>]>]>;
|
28
|
+
export declare const LinkTemplateV: t.IntersectionC<[t.TypeC<{
|
29
|
+
type: t.LiteralC<"link">;
|
30
|
+
value: t.StringC;
|
31
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
32
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
33
|
+
object: t.StringC;
|
34
|
+
hoverTooltip: t.BooleanC;
|
35
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
36
|
+
}>]>]>;
|
37
|
+
export declare const ClickTemplateV: t.IntersectionC<[t.TypeC<{
|
38
|
+
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
39
|
+
value: t.ArrayC<t.StringC>;
|
40
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
41
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
42
|
+
object: t.StringC;
|
43
|
+
hoverTooltip: t.BooleanC;
|
44
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
45
|
+
}>]>]>;
|
46
|
+
export declare const BuiltInTemplateV: t.IntersectionC<[t.TypeC<{
|
47
|
+
type: t.LiteralC<"builtin">;
|
48
|
+
value: t.StringC;
|
49
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
50
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
51
|
+
object: t.StringC;
|
52
|
+
hoverTooltip: t.BooleanC;
|
53
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
54
|
+
}>]>]>;
|
55
|
+
export declare const WebhookTemplateV: t.IntersectionC<[t.TypeC<{
|
56
|
+
type: t.LiteralC<"webhook">;
|
57
|
+
value: t.StringC;
|
58
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
59
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
60
|
+
object: t.StringC;
|
61
|
+
hoverTooltip: t.BooleanC;
|
62
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
63
|
+
}>]>]>;
|
64
|
+
export declare const AppCuesTemplateV: t.IntersectionC<[t.TypeC<{
|
65
|
+
type: t.LiteralC<"appcues">;
|
66
|
+
value: t.StringC;
|
67
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
68
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
69
|
+
object: t.StringC;
|
70
|
+
hoverTooltip: t.BooleanC;
|
71
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
72
|
+
}>]>]>;
|
73
|
+
export declare const ScriptTemplateV: t.IntersectionC<[t.TypeC<{
|
74
|
+
type: t.LiteralC<"script">;
|
75
|
+
value: t.StringC;
|
76
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
77
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
78
|
+
object: t.StringC;
|
79
|
+
hoverTooltip: t.BooleanC;
|
80
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
81
|
+
}>]>]>;
|
82
|
+
export declare const RequestV: t.IntersectionC<[t.TypeC<{
|
83
|
+
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
84
|
+
url: t.StringC;
|
85
|
+
}>, t.PartialC<{
|
86
|
+
headers: t.UnknownRecordC;
|
87
|
+
body: t.UnknownRecordC;
|
88
|
+
onSend: t.StringC;
|
89
|
+
onSuccess: t.StringC;
|
90
|
+
onError: t.StringC;
|
91
|
+
}>]>;
|
92
|
+
export declare const RequestTemplateV: t.IntersectionC<[t.TypeC<{
|
93
|
+
type: t.LiteralC<"request">;
|
94
|
+
value: t.IntersectionC<[t.TypeC<{
|
95
|
+
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
96
|
+
url: t.StringC;
|
97
|
+
}>, t.PartialC<{
|
98
|
+
headers: t.UnknownRecordC;
|
99
|
+
body: t.UnknownRecordC;
|
100
|
+
onSend: t.StringC;
|
101
|
+
onSuccess: t.StringC;
|
102
|
+
onError: t.StringC;
|
103
|
+
}>]>;
|
104
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
105
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
106
|
+
object: t.StringC;
|
107
|
+
hoverTooltip: t.BooleanC;
|
108
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
109
|
+
}>]>]>;
|
110
|
+
export declare const TemplateV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
111
|
+
type: t.LiteralC<"admin">;
|
112
|
+
value: t.StringC;
|
113
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
114
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
115
|
+
object: t.StringC;
|
116
|
+
hoverTooltip: t.BooleanC;
|
117
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
118
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
119
|
+
type: t.LiteralC<"callback">;
|
120
|
+
value: t.StringC;
|
121
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
122
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
123
|
+
object: t.StringC;
|
124
|
+
hoverTooltip: t.BooleanC;
|
125
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
126
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
127
|
+
type: t.LiteralC<"link">;
|
128
|
+
value: t.StringC;
|
129
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
130
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
131
|
+
object: t.StringC;
|
132
|
+
hoverTooltip: t.BooleanC;
|
133
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
134
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
135
|
+
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
136
|
+
value: t.ArrayC<t.StringC>;
|
137
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
138
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
139
|
+
object: t.StringC;
|
140
|
+
hoverTooltip: t.BooleanC;
|
141
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
142
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
143
|
+
type: t.LiteralC<"builtin">;
|
144
|
+
value: t.StringC;
|
145
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
146
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
147
|
+
object: t.StringC;
|
148
|
+
hoverTooltip: t.BooleanC;
|
149
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
150
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
151
|
+
type: t.LiteralC<"webhook">;
|
152
|
+
value: t.StringC;
|
153
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
154
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
155
|
+
object: t.StringC;
|
156
|
+
hoverTooltip: t.BooleanC;
|
157
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
158
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
159
|
+
type: t.LiteralC<"script">;
|
160
|
+
value: t.StringC;
|
161
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
162
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
163
|
+
object: t.StringC;
|
164
|
+
hoverTooltip: t.BooleanC;
|
165
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
166
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
167
|
+
type: t.LiteralC<"request">;
|
168
|
+
value: t.IntersectionC<[t.TypeC<{
|
169
|
+
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
170
|
+
url: t.StringC;
|
171
|
+
}>, t.PartialC<{
|
172
|
+
headers: t.UnknownRecordC;
|
173
|
+
body: t.UnknownRecordC;
|
174
|
+
onSend: t.StringC;
|
175
|
+
onSuccess: t.StringC;
|
176
|
+
onError: t.StringC;
|
177
|
+
}>]>;
|
178
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
179
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
180
|
+
object: t.StringC;
|
181
|
+
hoverTooltip: t.BooleanC;
|
182
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
183
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
184
|
+
type: t.LiteralC<"appcues">;
|
185
|
+
value: t.StringC;
|
186
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
187
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
188
|
+
object: t.StringC;
|
189
|
+
hoverTooltip: t.BooleanC;
|
190
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
191
|
+
}>]>]>]>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as t from 'io-ts';
|
2
|
+
export declare const EndUserV: t.TypeC<{
|
3
|
+
username: t.StringC;
|
4
|
+
slug: t.StringC;
|
5
|
+
organization: t.StringC;
|
6
|
+
has_access: t.BooleanC;
|
7
|
+
has_opened: t.BooleanC;
|
8
|
+
hotkeys_debug: t.BooleanC;
|
9
|
+
hmac: t.UnionC<[t.StringC, t.UndefinedC]>;
|
10
|
+
}>;
|