commandbar 1.8.5 → 1.8.7
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar-js/src/index.js +1 -1
- package/build/internal/src/client/AddContextOptions.d.ts +141 -0
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -0
- package/build/internal/src/client/CommandBarClientSDK.d.ts +403 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +49 -0
- package/build/internal/src/client/CommandBarSDK.d.ts +79 -0
- package/build/internal/src/client/EventHandler.d.ts +282 -0
- package/build/internal/src/client/OrgConfig.d.ts +5 -0
- package/build/internal/src/client/SDKConfig.d.ts +13 -0
- package/build/internal/src/client/SentryReporter.d.ts +63 -0
- package/build/internal/src/client/globals.d.ts +20 -0
- package/build/internal/src/client/proxy.d.ts +15 -0
- package/build/internal/src/client/symbols.d.ts +50 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +283 -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 +329 -0
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +119 -0
- package/build/internal/src/middleware/additionalResource.d.ts +302 -0
- package/build/internal/src/middleware/billing.d.ts +41 -0
- package/build/internal/src/middleware/chatAnalytics.d.ts +2601 -0
- package/build/internal/src/middleware/checklist.d.ts +1014 -0
- package/build/internal/src/middleware/command.d.ts +8908 -0
- package/build/internal/src/middleware/commandCategory.d.ts +192 -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/dashboardFlags.d.ts +9 -0
- package/build/internal/src/middleware/detailPreview.d.ts +24 -0
- package/build/internal/src/middleware/environment.d.ts +11 -0
- package/build/internal/src/middleware/generics.d.ts +42 -0
- package/build/internal/src/middleware/guide.d.ts +37 -0
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +72 -0
- package/build/internal/src/middleware/helpDocsSync.d.ts +63 -0
- package/build/internal/src/middleware/helpers/actions.d.ts +184 -0
- package/build/internal/src/middleware/helpers/argument.d.ts +318 -0
- package/build/internal/src/middleware/helpers/audience.d.ts +15 -0
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +252 -0
- package/build/internal/src/middleware/helpers/endUser.d.ts +11 -0
- package/build/internal/src/middleware/helpers/frequencyLimit.d.ts +2 -0
- package/build/internal/src/middleware/helpers/goals.d.ts +26 -0
- package/build/internal/src/middleware/helpers/optionGroup.d.ts +2 -0
- package/build/internal/src/middleware/helpers/pushTrigger.d.ts +26 -0
- package/build/internal/src/middleware/helpers/rules.d.ts +289 -0
- package/build/internal/src/middleware/helpers/tags.d.ts +7 -0
- package/build/internal/src/middleware/historyEvent.d.ts +21 -0
- package/build/internal/src/middleware/network.d.ts +3 -0
- package/build/internal/src/middleware/nudge.d.ts +1669 -0
- package/build/internal/src/middleware/organization.d.ts +1540 -0
- package/build/internal/src/middleware/organizationSettings.d.ts +330 -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/qaPair.d.ts +676 -0
- package/build/internal/src/middleware/recommendationSet.d.ts +1199 -0
- package/build/internal/src/middleware/releases.d.ts +261 -0
- package/build/internal/src/middleware/skin.d.ts +102 -0
- package/build/internal/src/middleware/tab.d.ts +27 -0
- package/build/internal/src/middleware/types.d.ts +218 -0
- package/build/internal/src/middleware/user.d.ts +15 -0
- package/build/internal/src/middleware/utils.d.ts +11 -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 +12 -0
- package/build/internal/src/util/integrations.d.ts +1 -0
- package/package.json +3 -3
- package/jest.config.js +0 -4
- package/scripts/minify-snippet.ts +0 -36
- package/scripts/watch.ts +0 -5
- package/src/commandbar-launcher.d.ts +0 -7
- package/test/init.test.ts +0 -3
- package/tsconfig.json +0 -24
- package/webpack.config.js +0 -35
@@ -0,0 +1,252 @@
|
|
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<"help_hub">, 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<"help_hub">, 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<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
27
|
+
}>]>]>;
|
28
|
+
export declare const LinkTemplateV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
29
|
+
type: t.LiteralC<"link">;
|
30
|
+
value: t.StringC;
|
31
|
+
}>, t.PartialC<{
|
32
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
33
|
+
}>]>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
34
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
35
|
+
object: t.StringC;
|
36
|
+
hoverTooltip: t.BooleanC;
|
37
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
38
|
+
}>]>]>;
|
39
|
+
export declare const ClickTemplateV: t.IntersectionC<[t.TypeC<{
|
40
|
+
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
41
|
+
value: t.ArrayC<t.StringC>;
|
42
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
43
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
44
|
+
object: t.StringC;
|
45
|
+
hoverTooltip: t.BooleanC;
|
46
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
47
|
+
}>]>]>;
|
48
|
+
export declare const BuiltInTemplateV: t.IntersectionC<[t.TypeC<{
|
49
|
+
type: t.LiteralC<"builtin">;
|
50
|
+
value: t.StringC;
|
51
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
52
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
53
|
+
object: t.StringC;
|
54
|
+
hoverTooltip: t.BooleanC;
|
55
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
56
|
+
}>]>]>;
|
57
|
+
export declare const WebhookTemplateV: t.IntersectionC<[t.TypeC<{
|
58
|
+
type: t.LiteralC<"webhook">;
|
59
|
+
value: t.StringC;
|
60
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
61
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
62
|
+
object: t.StringC;
|
63
|
+
hoverTooltip: t.BooleanC;
|
64
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
65
|
+
}>]>]>;
|
66
|
+
export declare const ScriptTemplateV: t.IntersectionC<[t.TypeC<{
|
67
|
+
type: t.LiteralC<"script">;
|
68
|
+
value: t.StringC;
|
69
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
70
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
71
|
+
object: t.StringC;
|
72
|
+
hoverTooltip: t.BooleanC;
|
73
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
74
|
+
}>]>]>;
|
75
|
+
export declare const RequestTemplateV: t.IntersectionC<[t.TypeC<{
|
76
|
+
type: t.LiteralC<"request">;
|
77
|
+
value: t.IntersectionC<[t.TypeC<{
|
78
|
+
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
79
|
+
url: t.StringC;
|
80
|
+
}>, t.PartialC<{
|
81
|
+
headers: t.UnknownRecordC;
|
82
|
+
body: t.UnknownRecordC;
|
83
|
+
onSend: t.StringC;
|
84
|
+
onSuccess: t.StringC;
|
85
|
+
onError: t.StringC;
|
86
|
+
}>]>;
|
87
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
88
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
89
|
+
object: t.StringC;
|
90
|
+
hoverTooltip: t.BooleanC;
|
91
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
92
|
+
}>]>]>;
|
93
|
+
export declare const AppcuesTemplateV: t.IntersectionC<[t.TypeC<{
|
94
|
+
type: t.LiteralC<"appcues">;
|
95
|
+
value: t.StringC;
|
96
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
97
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
98
|
+
object: t.StringC;
|
99
|
+
hoverTooltip: t.BooleanC;
|
100
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
101
|
+
}>]>]>;
|
102
|
+
export declare const VideoTemplateV: t.IntersectionC<[t.TypeC<{
|
103
|
+
type: t.LiteralC<"video">;
|
104
|
+
value: t.StringC;
|
105
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
106
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
107
|
+
object: t.StringC;
|
108
|
+
hoverTooltip: t.BooleanC;
|
109
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
110
|
+
}>]>]>;
|
111
|
+
export declare const HelpDocTemplateV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
112
|
+
type: t.LiteralC<"helpdoc">;
|
113
|
+
value: t.StringC;
|
114
|
+
}>, t.PartialC<{
|
115
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.LiteralC<"help_hub">, t.UndefinedC]>;
|
116
|
+
doc_metadata: t.PartialC<{
|
117
|
+
content_type: t.StringC;
|
118
|
+
date: t.StringC;
|
119
|
+
}>;
|
120
|
+
}>]>, t.PartialC<{
|
121
|
+
doc_type: t.UnionC<[t.LiteralC<"answer">, t.LiteralC<"doc">]>;
|
122
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
123
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
124
|
+
object: t.StringC;
|
125
|
+
hoverTooltip: t.BooleanC;
|
126
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
127
|
+
}>]>]>;
|
128
|
+
export declare const TriggerTemplateV: t.IntersectionC<[t.TypeC<{
|
129
|
+
type: t.LiteralC<"trigger">;
|
130
|
+
value: t.AnyC;
|
131
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
132
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
133
|
+
object: t.StringC;
|
134
|
+
hoverTooltip: t.BooleanC;
|
135
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
136
|
+
}>]>]>;
|
137
|
+
export declare const TemplateV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
138
|
+
type: t.LiteralC<"admin">;
|
139
|
+
value: t.StringC;
|
140
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
141
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
142
|
+
object: t.StringC;
|
143
|
+
hoverTooltip: t.BooleanC;
|
144
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
145
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
146
|
+
type: t.LiteralC<"callback">;
|
147
|
+
value: t.StringC;
|
148
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
149
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
150
|
+
object: t.StringC;
|
151
|
+
hoverTooltip: t.BooleanC;
|
152
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
153
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
154
|
+
type: t.LiteralC<"link">;
|
155
|
+
value: t.StringC;
|
156
|
+
}>, t.PartialC<{
|
157
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
158
|
+
}>]>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
159
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
160
|
+
object: t.StringC;
|
161
|
+
hoverTooltip: t.BooleanC;
|
162
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
163
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
164
|
+
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
165
|
+
value: t.ArrayC<t.StringC>;
|
166
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
167
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
168
|
+
object: t.StringC;
|
169
|
+
hoverTooltip: t.BooleanC;
|
170
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
171
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
172
|
+
type: t.LiteralC<"builtin">;
|
173
|
+
value: t.StringC;
|
174
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
175
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
176
|
+
object: t.StringC;
|
177
|
+
hoverTooltip: t.BooleanC;
|
178
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
179
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
180
|
+
type: t.LiteralC<"webhook">;
|
181
|
+
value: t.StringC;
|
182
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
183
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
184
|
+
object: t.StringC;
|
185
|
+
hoverTooltip: t.BooleanC;
|
186
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
187
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
188
|
+
type: t.LiteralC<"script">;
|
189
|
+
value: t.StringC;
|
190
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
191
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
192
|
+
object: t.StringC;
|
193
|
+
hoverTooltip: t.BooleanC;
|
194
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
195
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
196
|
+
type: t.LiteralC<"request">;
|
197
|
+
value: t.IntersectionC<[t.TypeC<{
|
198
|
+
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
199
|
+
url: t.StringC;
|
200
|
+
}>, t.PartialC<{
|
201
|
+
headers: t.UnknownRecordC;
|
202
|
+
body: t.UnknownRecordC;
|
203
|
+
onSend: t.StringC;
|
204
|
+
onSuccess: t.StringC;
|
205
|
+
onError: t.StringC;
|
206
|
+
}>]>;
|
207
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
208
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
209
|
+
object: t.StringC;
|
210
|
+
hoverTooltip: t.BooleanC;
|
211
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
212
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
213
|
+
type: t.LiteralC<"appcues">;
|
214
|
+
value: t.StringC;
|
215
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
216
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
217
|
+
object: t.StringC;
|
218
|
+
hoverTooltip: t.BooleanC;
|
219
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
220
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
221
|
+
type: t.LiteralC<"video">;
|
222
|
+
value: t.StringC;
|
223
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
224
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
225
|
+
object: t.StringC;
|
226
|
+
hoverTooltip: t.BooleanC;
|
227
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
228
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
229
|
+
type: t.LiteralC<"helpdoc">;
|
230
|
+
value: t.StringC;
|
231
|
+
}>, t.PartialC<{
|
232
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.LiteralC<"help_hub">, t.UndefinedC]>;
|
233
|
+
doc_metadata: t.PartialC<{
|
234
|
+
content_type: t.StringC;
|
235
|
+
date: t.StringC;
|
236
|
+
}>;
|
237
|
+
}>]>, t.PartialC<{
|
238
|
+
doc_type: t.UnionC<[t.LiteralC<"answer">, t.LiteralC<"doc">]>;
|
239
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
240
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
241
|
+
object: t.StringC;
|
242
|
+
hoverTooltip: t.BooleanC;
|
243
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
244
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
245
|
+
type: t.LiteralC<"trigger">;
|
246
|
+
value: t.AnyC;
|
247
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
248
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
249
|
+
object: t.StringC;
|
250
|
+
hoverTooltip: t.BooleanC;
|
251
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
|
252
|
+
}>]>]>]>;
|
@@ -0,0 +1,11 @@
|
|
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
|
+
identifier: t.StringC;
|
11
|
+
}>;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import * as t from 'io-ts';
|
2
|
+
export declare const CommandGoal: t.TypeC<{
|
3
|
+
type: t.LiteralC<"command_executed">;
|
4
|
+
meta: t.TypeC<{
|
5
|
+
command: t.StringC;
|
6
|
+
}>;
|
7
|
+
}>;
|
8
|
+
export declare const PageVisitedGoal: t.TypeC<{
|
9
|
+
type: t.LiteralC<"page_visited">;
|
10
|
+
value: t.StringC;
|
11
|
+
}>;
|
12
|
+
export declare const ElementClickedGoal: t.TypeC<{
|
13
|
+
type: t.LiteralC<"element_clicked">;
|
14
|
+
value: t.StringC;
|
15
|
+
}>;
|
16
|
+
export declare const ConditionsMetGoal: t.TypeC<{
|
17
|
+
type: t.LiteralC<"conditions_met">;
|
18
|
+
expression: t.Type<import("./rules").RuleExpression, import("./rules").RuleExpression, unknown>;
|
19
|
+
}>;
|
20
|
+
export declare const CTAClickedGoal: t.TypeC<{
|
21
|
+
type: t.LiteralC<"cta_clicked">;
|
22
|
+
}>;
|
23
|
+
export declare const EventTrackedGoal: t.TypeC<{
|
24
|
+
type: t.LiteralC<"event_tracked">;
|
25
|
+
event: t.StringC;
|
26
|
+
}>;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import * as t from 'io-ts';
|
2
|
+
export declare const PushTriggerV: t.UnionC<[t.TypeC<{
|
3
|
+
type: t.LiteralC<"when_conditions_pass">;
|
4
|
+
}>, t.TypeC<{
|
5
|
+
type: t.LiteralC<"when_page_reached">;
|
6
|
+
meta: t.TypeC<{
|
7
|
+
url: t.StringC;
|
8
|
+
}>;
|
9
|
+
}>, t.TypeC<{
|
10
|
+
type: t.LiteralC<"on_command_execution">;
|
11
|
+
meta: t.TypeC<{
|
12
|
+
command: t.StringC;
|
13
|
+
}>;
|
14
|
+
}>, t.TypeC<{
|
15
|
+
type: t.LiteralC<"on_event">;
|
16
|
+
meta: t.TypeC<{
|
17
|
+
event: t.StringC;
|
18
|
+
}>;
|
19
|
+
}>, t.TypeC<{
|
20
|
+
type: t.LiteralC<"when_element_appears">;
|
21
|
+
meta: t.TypeC<{
|
22
|
+
selector: t.StringC;
|
23
|
+
}>;
|
24
|
+
}>, t.TypeC<{
|
25
|
+
type: t.LiteralC<"when_share_link_viewed">;
|
26
|
+
}>]>;
|
@@ -0,0 +1,289 @@
|
|
1
|
+
import * as t from 'io-ts';
|
2
|
+
export declare const operators: readonly ["is", "isNot", "isTrue", "isFalse", "isTruthy", "isFalsy", "startsWith", "endsWith", "includes", "doesNotInclude", "matchesRegex", "isGreaterThan", "isLessThan", "isBefore", "isAfter", "isDefined", "isNotDefined", "classnameOnPage", "idOnPage", "selectorOnPage", "classnameNotOnPage", "idNotOnPage", "selectorNotOnPage"];
|
3
|
+
declare const OperatorV: t.KeyofC<{
|
4
|
+
includes: null;
|
5
|
+
endsWith: null;
|
6
|
+
startsWith: null;
|
7
|
+
is: null;
|
8
|
+
isNot: null;
|
9
|
+
isTrue: null;
|
10
|
+
isFalse: null;
|
11
|
+
isTruthy: null;
|
12
|
+
isFalsy: null;
|
13
|
+
doesNotInclude: null;
|
14
|
+
matchesRegex: null;
|
15
|
+
isGreaterThan: null;
|
16
|
+
isLessThan: null;
|
17
|
+
isBefore: null;
|
18
|
+
isAfter: null;
|
19
|
+
isDefined: null;
|
20
|
+
isNotDefined: null;
|
21
|
+
classnameOnPage: null;
|
22
|
+
idOnPage: null;
|
23
|
+
selectorOnPage: null;
|
24
|
+
classnameNotOnPage: null;
|
25
|
+
idNotOnPage: null;
|
26
|
+
selectorNotOnPage: null;
|
27
|
+
}>;
|
28
|
+
export declare const ConditionV: t.IntersectionC<[t.TypeC<{
|
29
|
+
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">]>;
|
30
|
+
operator: t.KeyofC<{
|
31
|
+
includes: null;
|
32
|
+
endsWith: null;
|
33
|
+
startsWith: null;
|
34
|
+
is: null;
|
35
|
+
isNot: null;
|
36
|
+
isTrue: null;
|
37
|
+
isFalse: null;
|
38
|
+
isTruthy: null;
|
39
|
+
isFalsy: null;
|
40
|
+
doesNotInclude: null;
|
41
|
+
matchesRegex: null;
|
42
|
+
isGreaterThan: null;
|
43
|
+
isLessThan: null;
|
44
|
+
isBefore: null;
|
45
|
+
isAfter: null;
|
46
|
+
isDefined: null;
|
47
|
+
isNotDefined: null;
|
48
|
+
classnameOnPage: null;
|
49
|
+
idOnPage: null;
|
50
|
+
selectorOnPage: null;
|
51
|
+
classnameNotOnPage: null;
|
52
|
+
idNotOnPage: null;
|
53
|
+
selectorNotOnPage: null;
|
54
|
+
}>;
|
55
|
+
}>, t.PartialC<{
|
56
|
+
field: t.StringC;
|
57
|
+
value: t.StringC;
|
58
|
+
reason: t.StringC;
|
59
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
60
|
+
}>]>;
|
61
|
+
export declare const getConditions: (expr: RuleExpression) => ExpressionCondition[];
|
62
|
+
export declare const canonicalize: (expr: RuleExpression) => RuleExpression;
|
63
|
+
export declare function isCompoundExpression(expr: RuleExpression): expr is RuleExpressionAnd | RuleExpressionOr;
|
64
|
+
export type ExpressionCondition = t.TypeOf<typeof ConditionV> | t.TypeOf<typeof NamedRuleReferenceV>;
|
65
|
+
export type RuleExpression = RuleExpressionAnd | RuleExpressionOr | RuleExpressionLiteral | RuleExpressionCondition;
|
66
|
+
export type RuleExpressionAnd = {
|
67
|
+
type: 'AND';
|
68
|
+
exprs: RuleExpression[];
|
69
|
+
};
|
70
|
+
export type RuleExpressionOr = {
|
71
|
+
type: 'OR';
|
72
|
+
exprs: RuleExpression[];
|
73
|
+
};
|
74
|
+
export type RuleExpressionLiteral = {
|
75
|
+
type: 'LITERAL';
|
76
|
+
value: boolean;
|
77
|
+
};
|
78
|
+
export type RuleExpressionCondition = {
|
79
|
+
type: 'CONDITION';
|
80
|
+
condition: ExpressionCondition;
|
81
|
+
};
|
82
|
+
export declare const RuleExpressionAndV: t.Type<RuleExpressionAnd>;
|
83
|
+
export declare const RuleExpressionOrV: t.Type<RuleExpressionOr>;
|
84
|
+
export declare const RuleExpressionLiteralV: t.Type<RuleExpressionLiteral>;
|
85
|
+
export declare const RuleExpressionConditionV: t.Type<RuleExpressionCondition>;
|
86
|
+
export declare const RuleExpressionV: t.Type<RuleExpression>;
|
87
|
+
export declare const RuleExpressionTrue: t.TypeOf<typeof RuleExpressionLiteralV>;
|
88
|
+
export declare const RuleExpressionFalse: t.TypeOf<typeof RuleExpressionLiteralV>;
|
89
|
+
export declare const NamedRuleReferenceV: t.IntersectionC<[t.TypeC<{
|
90
|
+
type: t.LiteralC<"named_rule">;
|
91
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
92
|
+
}>, t.PartialC<{
|
93
|
+
reason: t.StringC;
|
94
|
+
}>]>;
|
95
|
+
export declare const RecommendationRuleAlwaysV: t.IntersectionC<[t.TypeC<{
|
96
|
+
type: t.LiteralC<"always">;
|
97
|
+
}>, t.PartialC<{
|
98
|
+
operator: t.UnionC<[t.UndefinedC, t.NullC]>;
|
99
|
+
field: t.UnionC<[t.UndefinedC, t.NullC]>;
|
100
|
+
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
101
|
+
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
102
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
103
|
+
}>]>;
|
104
|
+
export declare const AvailabilityRuleV: t.IntersectionC<[t.TypeC<{
|
105
|
+
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">]>;
|
106
|
+
operator: t.KeyofC<{
|
107
|
+
includes: null;
|
108
|
+
endsWith: null;
|
109
|
+
startsWith: null;
|
110
|
+
is: null;
|
111
|
+
isNot: null;
|
112
|
+
isTrue: null;
|
113
|
+
isFalse: null;
|
114
|
+
isTruthy: null;
|
115
|
+
isFalsy: null;
|
116
|
+
doesNotInclude: null;
|
117
|
+
matchesRegex: null;
|
118
|
+
isGreaterThan: null;
|
119
|
+
isLessThan: null;
|
120
|
+
isBefore: null;
|
121
|
+
isAfter: null;
|
122
|
+
isDefined: null;
|
123
|
+
isNotDefined: null;
|
124
|
+
classnameOnPage: null;
|
125
|
+
idOnPage: null;
|
126
|
+
selectorOnPage: null;
|
127
|
+
classnameNotOnPage: null;
|
128
|
+
idNotOnPage: null;
|
129
|
+
selectorNotOnPage: null;
|
130
|
+
}>;
|
131
|
+
}>, t.PartialC<{
|
132
|
+
field: t.StringC;
|
133
|
+
value: t.StringC;
|
134
|
+
reason: t.StringC;
|
135
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
136
|
+
}>]>;
|
137
|
+
export declare const RecommendationRuleV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
138
|
+
type: t.LiteralC<"always">;
|
139
|
+
}>, t.PartialC<{
|
140
|
+
operator: t.UnionC<[t.UndefinedC, t.NullC]>;
|
141
|
+
field: t.UnionC<[t.UndefinedC, t.NullC]>;
|
142
|
+
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
143
|
+
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
144
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
145
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
146
|
+
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">]>;
|
147
|
+
operator: t.KeyofC<{
|
148
|
+
includes: null;
|
149
|
+
endsWith: null;
|
150
|
+
startsWith: null;
|
151
|
+
is: null;
|
152
|
+
isNot: null;
|
153
|
+
isTrue: null;
|
154
|
+
isFalse: null;
|
155
|
+
isTruthy: null;
|
156
|
+
isFalsy: null;
|
157
|
+
doesNotInclude: null;
|
158
|
+
matchesRegex: null;
|
159
|
+
isGreaterThan: null;
|
160
|
+
isLessThan: null;
|
161
|
+
isBefore: null;
|
162
|
+
isAfter: null;
|
163
|
+
isDefined: null;
|
164
|
+
isNotDefined: null;
|
165
|
+
classnameOnPage: null;
|
166
|
+
idOnPage: null;
|
167
|
+
selectorOnPage: null;
|
168
|
+
classnameNotOnPage: null;
|
169
|
+
idNotOnPage: null;
|
170
|
+
selectorNotOnPage: null;
|
171
|
+
}>;
|
172
|
+
}>, t.PartialC<{
|
173
|
+
field: t.StringC;
|
174
|
+
value: t.StringC;
|
175
|
+
reason: t.StringC;
|
176
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
177
|
+
}>]>]>;
|
178
|
+
export declare const EditorAvailabilityRuleV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
179
|
+
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">]>;
|
180
|
+
operator: t.KeyofC<{
|
181
|
+
includes: null;
|
182
|
+
endsWith: null;
|
183
|
+
startsWith: null;
|
184
|
+
is: null;
|
185
|
+
isNot: null;
|
186
|
+
isTrue: null;
|
187
|
+
isFalse: null;
|
188
|
+
isTruthy: null;
|
189
|
+
isFalsy: null;
|
190
|
+
doesNotInclude: null;
|
191
|
+
matchesRegex: null;
|
192
|
+
isGreaterThan: null;
|
193
|
+
isLessThan: null;
|
194
|
+
isBefore: null;
|
195
|
+
isAfter: null;
|
196
|
+
isDefined: null;
|
197
|
+
isNotDefined: null;
|
198
|
+
classnameOnPage: null;
|
199
|
+
idOnPage: null;
|
200
|
+
selectorOnPage: null;
|
201
|
+
classnameNotOnPage: null;
|
202
|
+
idNotOnPage: null;
|
203
|
+
selectorNotOnPage: null;
|
204
|
+
}>;
|
205
|
+
}>, t.PartialC<{
|
206
|
+
field: t.StringC;
|
207
|
+
value: t.StringC;
|
208
|
+
reason: t.StringC;
|
209
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
210
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
211
|
+
type: t.LiteralC<"named_rule">;
|
212
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
213
|
+
}>, t.PartialC<{
|
214
|
+
reason: t.StringC;
|
215
|
+
}>]>]>;
|
216
|
+
export declare const EditorRecommendationRuleV: t.UnionC<[t.UnionC<[t.IntersectionC<[t.TypeC<{
|
217
|
+
type: t.LiteralC<"always">;
|
218
|
+
}>, t.PartialC<{
|
219
|
+
operator: t.UnionC<[t.UndefinedC, t.NullC]>;
|
220
|
+
field: t.UnionC<[t.UndefinedC, t.NullC]>;
|
221
|
+
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
222
|
+
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
223
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
224
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
225
|
+
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">]>;
|
226
|
+
operator: t.KeyofC<{
|
227
|
+
includes: null;
|
228
|
+
endsWith: null;
|
229
|
+
startsWith: null;
|
230
|
+
is: null;
|
231
|
+
isNot: null;
|
232
|
+
isTrue: null;
|
233
|
+
isFalse: null;
|
234
|
+
isTruthy: null;
|
235
|
+
isFalsy: null;
|
236
|
+
doesNotInclude: null;
|
237
|
+
matchesRegex: null;
|
238
|
+
isGreaterThan: null;
|
239
|
+
isLessThan: null;
|
240
|
+
isBefore: null;
|
241
|
+
isAfter: null;
|
242
|
+
isDefined: null;
|
243
|
+
isNotDefined: null;
|
244
|
+
classnameOnPage: null;
|
245
|
+
idOnPage: null;
|
246
|
+
selectorOnPage: null;
|
247
|
+
classnameNotOnPage: null;
|
248
|
+
idNotOnPage: null;
|
249
|
+
selectorNotOnPage: null;
|
250
|
+
}>;
|
251
|
+
}>, t.PartialC<{
|
252
|
+
field: t.StringC;
|
253
|
+
value: t.StringC;
|
254
|
+
reason: t.StringC;
|
255
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
256
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
257
|
+
type: t.LiteralC<"named_rule">;
|
258
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
259
|
+
}>, t.PartialC<{
|
260
|
+
reason: t.StringC;
|
261
|
+
}>]>]>;
|
262
|
+
export declare const NamedRuleBaseV: t.TypeC<{
|
263
|
+
id: t.UnionC<[t.NumberC, t.StringC]>;
|
264
|
+
name: t.StringC;
|
265
|
+
expression: t.Type<RuleExpression, RuleExpression, unknown>;
|
266
|
+
}>;
|
267
|
+
declare const NamedRuleAdditionalV: t.TypeC<{
|
268
|
+
is_audience: t.BooleanC;
|
269
|
+
}>;
|
270
|
+
export declare const defaults: t.TypeOf<typeof NamedRuleAdditionalV>;
|
271
|
+
export declare const NamedRuleV: t.IntersectionC<[t.TypeC<{
|
272
|
+
id: t.UnionC<[t.NumberC, t.StringC]>;
|
273
|
+
name: t.StringC;
|
274
|
+
expression: t.Type<RuleExpression, RuleExpression, unknown>;
|
275
|
+
}>, t.TypeC<{
|
276
|
+
is_audience: t.BooleanC;
|
277
|
+
}>]>;
|
278
|
+
export type IRuleOperator = t.TypeOf<typeof OperatorV>;
|
279
|
+
export type IAvailabilityRule = t.TypeOf<typeof AvailabilityRuleV>;
|
280
|
+
export type IEditorAvailabilityRule = t.TypeOf<typeof EditorAvailabilityRuleV>;
|
281
|
+
export type IRecommendationRule = t.TypeOf<typeof RecommendationRuleV>;
|
282
|
+
export type IEditorRecommendationRule = t.TypeOf<typeof EditorRecommendationRuleV>;
|
283
|
+
export type ICondition = t.TypeOf<typeof ConditionV>;
|
284
|
+
export type IAvailabilityRuleType = IAvailabilityRule['type'];
|
285
|
+
export type IRecommendationRuleType = IRecommendationRule['type'];
|
286
|
+
export type IRule = IAvailabilityRule | IRecommendationRule;
|
287
|
+
export type IEditorRule = IEditorAvailabilityRule | IEditorRecommendationRule;
|
288
|
+
export type INamedRule = t.TypeOf<typeof NamedRuleV>;
|
289
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as t from 'io-ts';
|
2
|
+
export declare const GeneratedTagsV: t.PartialC<{
|
3
|
+
automated: t.UnionC<[t.ArrayC<t.StringC>, t.NullC]>;
|
4
|
+
manual: t.UnionC<[t.ArrayC<t.StringC>, t.NullC]>;
|
5
|
+
deny: t.UnionC<[t.ArrayC<t.StringC>, t.NullC]>;
|
6
|
+
}>;
|
7
|
+
export type IGeneratedTags = t.TypeOf<typeof GeneratedTagsV>;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import * as t from 'io-ts';
|
2
|
+
export declare const HistoryEventV: t.IntersectionC<[t.TypeC<{
|
3
|
+
id: t.NumberC;
|
4
|
+
organization: t.StringC;
|
5
|
+
changed_by: t.StringC;
|
6
|
+
description: t.StringC;
|
7
|
+
created: t.StringC;
|
8
|
+
sha1: t.StringC;
|
9
|
+
version_num: t.NumberC;
|
10
|
+
}>, t.PartialC<{}>]>;
|
11
|
+
export declare class HistoryEvent {
|
12
|
+
static list: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
|
13
|
+
id: number;
|
14
|
+
organization: string;
|
15
|
+
changed_by: string;
|
16
|
+
description: string;
|
17
|
+
created: string;
|
18
|
+
sha1: string;
|
19
|
+
version_num: number;
|
20
|
+
} & {})[]>;
|
21
|
+
}
|