commandbar 1.7.2 → 1.8.2
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/commandbar-js/src/init.d.ts +1 -1
- package/package.json +3 -4
- package/src/init.ts +1 -1
- package/src/snippet.ts +1 -0
- package/build/internal/src/client/AddContextOptions.d.ts +0 -124
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +0 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +0 -387
- package/build/internal/src/client/CommandBarProxySDK.d.ts +0 -49
- package/build/internal/src/client/CommandBarSDK.d.ts +0 -51
- package/build/internal/src/client/EventHandler.d.ts +0 -142
- package/build/internal/src/client/OrgConfig.d.ts +0 -5
- package/build/internal/src/client/SDKConfig.d.ts +0 -13
- package/build/internal/src/client/SentryReporter.d.ts +0 -62
- package/build/internal/src/client/globals.d.ts +0 -19
- package/build/internal/src/client/proxy.d.ts +0 -15
- package/build/internal/src/client/symbols.d.ts +0 -35
- package/build/internal/src/middleware/CommandFromClientV.d.ts +0 -307
- package/build/internal/src/middleware/ICommandFromClientType.d.ts +0 -5
- package/build/internal/src/middleware/IResourceSettings.d.ts +0 -3
- package/build/internal/src/middleware/OrganizationV.d.ts +0 -170
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +0 -89
- package/build/internal/src/middleware/command.d.ts +0 -6975
- package/build/internal/src/middleware/commandCategory.d.ts +0 -192
- package/build/internal/src/middleware/confetti.d.ts +0 -16
- package/build/internal/src/middleware/context.d.ts +0 -40
- package/build/internal/src/middleware/detailPreview.d.ts +0 -21
- package/build/internal/src/middleware/environment.d.ts +0 -11
- package/build/internal/src/middleware/generics.d.ts +0 -40
- package/build/internal/src/middleware/guide.d.ts +0 -37
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +0 -66
- package/build/internal/src/middleware/helpDocsSync.d.ts +0 -42
- package/build/internal/src/middleware/helpers/argument.d.ts +0 -568
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +0 -225
- package/build/internal/src/middleware/helpers/endUser.d.ts +0 -10
- package/build/internal/src/middleware/helpers/optionGroup.d.ts +0 -2
- package/build/internal/src/middleware/helpers/rules.d.ts +0 -234
- package/build/internal/src/middleware/historyEvent.d.ts +0 -40
- package/build/internal/src/middleware/network.d.ts +0 -4
- package/build/internal/src/middleware/nudge.d.ts +0 -261
- package/build/internal/src/middleware/organization.d.ts +0 -946
- package/build/internal/src/middleware/placeholder.d.ts +0 -47
- package/build/internal/src/middleware/profile.d.ts +0 -11
- package/build/internal/src/middleware/releases.d.ts +0 -261
- package/build/internal/src/middleware/skin.d.ts +0 -83
- package/build/internal/src/middleware/tab.d.ts +0 -27
- package/build/internal/src/middleware/types.d.ts +0 -137
- package/build/internal/src/middleware/user.d.ts +0 -14
- package/build/internal/src/util/Disposable.d.ts +0 -17
- package/build/internal/src/util/LocalStorage.d.ts +0 -6
- package/build/internal/src/util/Logger.d.ts +0 -18
- package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -2
@@ -1,261 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
export declare const NudgeV: t.IntersectionC<[t.TypeC<{
|
3
|
-
id: t.NumberC;
|
4
|
-
organization: t.StringC;
|
5
|
-
slug: t.StringC;
|
6
|
-
content: t.StringC;
|
7
|
-
show_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
8
|
-
trigger: t.UnionC<[t.TypeC<{
|
9
|
-
type: t.LiteralC<"when_conditions_pass">;
|
10
|
-
}>, t.TypeC<{
|
11
|
-
type: t.LiteralC<"on_command_execution">;
|
12
|
-
meta: t.TypeC<{
|
13
|
-
command: t.StringC;
|
14
|
-
}>;
|
15
|
-
}>, t.TypeC<{
|
16
|
-
type: t.LiteralC<"on_event">;
|
17
|
-
meta: t.TypeC<{
|
18
|
-
event: t.StringC;
|
19
|
-
}>;
|
20
|
-
}>]>;
|
21
|
-
on_select: t.TypeC<{
|
22
|
-
type: t.LiteralC<"execute_command">;
|
23
|
-
meta: t.TypeC<{
|
24
|
-
command: t.StringC;
|
25
|
-
}>;
|
26
|
-
}>;
|
27
|
-
timeout_ms: t.UnionC<[t.NumberC, t.NullC]>;
|
28
|
-
frequency_limit: t.UnionC<[t.LiteralC<"no_limit">, t.LiteralC<"once_per_session">, t.LiteralC<"once_per_user">, t.LiteralC<"until_interaction">]>;
|
29
|
-
}>, t.PartialC<{
|
30
|
-
title: t.StringC;
|
31
|
-
cta: t.StringC;
|
32
|
-
is_live: t.BooleanC;
|
33
|
-
}>]>;
|
34
|
-
export declare class Nudge {
|
35
|
-
static decode: (data: any) => {
|
36
|
-
id: number;
|
37
|
-
organization: string;
|
38
|
-
slug: string;
|
39
|
-
content: string;
|
40
|
-
show_expression: import("./helpers/rules").RuleExpression;
|
41
|
-
trigger: {
|
42
|
-
type: "when_conditions_pass";
|
43
|
-
} | {
|
44
|
-
type: "on_command_execution";
|
45
|
-
meta: {
|
46
|
-
command: string;
|
47
|
-
};
|
48
|
-
} | {
|
49
|
-
type: "on_event";
|
50
|
-
meta: {
|
51
|
-
event: string;
|
52
|
-
};
|
53
|
-
};
|
54
|
-
on_select: {
|
55
|
-
type: "execute_command";
|
56
|
-
meta: {
|
57
|
-
command: string;
|
58
|
-
};
|
59
|
-
};
|
60
|
-
timeout_ms: number | null;
|
61
|
-
frequency_limit: "no_limit" | "once_per_session" | "once_per_user" | "until_interaction";
|
62
|
-
} & {
|
63
|
-
title?: string | undefined;
|
64
|
-
cta?: string | undefined;
|
65
|
-
is_live?: boolean | undefined;
|
66
|
-
};
|
67
|
-
static create: (object: {
|
68
|
-
id: number;
|
69
|
-
organization: string;
|
70
|
-
slug: string;
|
71
|
-
content: string;
|
72
|
-
show_expression: import("./helpers/rules").RuleExpression;
|
73
|
-
trigger: {
|
74
|
-
type: "when_conditions_pass";
|
75
|
-
} | {
|
76
|
-
type: "on_command_execution";
|
77
|
-
meta: {
|
78
|
-
command: string;
|
79
|
-
};
|
80
|
-
} | {
|
81
|
-
type: "on_event";
|
82
|
-
meta: {
|
83
|
-
event: string;
|
84
|
-
};
|
85
|
-
};
|
86
|
-
on_select: {
|
87
|
-
type: "execute_command";
|
88
|
-
meta: {
|
89
|
-
command: string;
|
90
|
-
};
|
91
|
-
};
|
92
|
-
timeout_ms: number | null;
|
93
|
-
frequency_limit: "no_limit" | "once_per_session" | "once_per_user" | "until_interaction";
|
94
|
-
} & {
|
95
|
-
title?: string | undefined;
|
96
|
-
cta?: string | undefined;
|
97
|
-
is_live?: boolean | undefined;
|
98
|
-
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
99
|
-
id: number;
|
100
|
-
organization: string;
|
101
|
-
slug: string;
|
102
|
-
content: string;
|
103
|
-
show_expression: import("./helpers/rules").RuleExpression;
|
104
|
-
trigger: {
|
105
|
-
type: "when_conditions_pass";
|
106
|
-
} | {
|
107
|
-
type: "on_command_execution";
|
108
|
-
meta: {
|
109
|
-
command: string;
|
110
|
-
};
|
111
|
-
} | {
|
112
|
-
type: "on_event";
|
113
|
-
meta: {
|
114
|
-
event: string;
|
115
|
-
};
|
116
|
-
};
|
117
|
-
on_select: {
|
118
|
-
type: "execute_command";
|
119
|
-
meta: {
|
120
|
-
command: string;
|
121
|
-
};
|
122
|
-
};
|
123
|
-
timeout_ms: number | null;
|
124
|
-
frequency_limit: "no_limit" | "once_per_session" | "once_per_user" | "until_interaction";
|
125
|
-
} & {
|
126
|
-
title?: string | undefined;
|
127
|
-
cta?: string | undefined;
|
128
|
-
is_live?: boolean | undefined;
|
129
|
-
}>;
|
130
|
-
static update: (object: {
|
131
|
-
id: number;
|
132
|
-
organization: string;
|
133
|
-
slug: string;
|
134
|
-
content: string;
|
135
|
-
show_expression: import("./helpers/rules").RuleExpression;
|
136
|
-
trigger: {
|
137
|
-
type: "when_conditions_pass";
|
138
|
-
} | {
|
139
|
-
type: "on_command_execution";
|
140
|
-
meta: {
|
141
|
-
command: string;
|
142
|
-
};
|
143
|
-
} | {
|
144
|
-
type: "on_event";
|
145
|
-
meta: {
|
146
|
-
event: string;
|
147
|
-
};
|
148
|
-
};
|
149
|
-
on_select: {
|
150
|
-
type: "execute_command";
|
151
|
-
meta: {
|
152
|
-
command: string;
|
153
|
-
};
|
154
|
-
};
|
155
|
-
timeout_ms: number | null;
|
156
|
-
frequency_limit: "no_limit" | "once_per_session" | "once_per_user" | "until_interaction";
|
157
|
-
} & {
|
158
|
-
title?: string | undefined;
|
159
|
-
cta?: string | undefined;
|
160
|
-
is_live?: boolean | undefined;
|
161
|
-
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
162
|
-
id: number;
|
163
|
-
organization: string;
|
164
|
-
slug: string;
|
165
|
-
content: string;
|
166
|
-
show_expression: import("./helpers/rules").RuleExpression;
|
167
|
-
trigger: {
|
168
|
-
type: "when_conditions_pass";
|
169
|
-
} | {
|
170
|
-
type: "on_command_execution";
|
171
|
-
meta: {
|
172
|
-
command: string;
|
173
|
-
};
|
174
|
-
} | {
|
175
|
-
type: "on_event";
|
176
|
-
meta: {
|
177
|
-
event: string;
|
178
|
-
};
|
179
|
-
};
|
180
|
-
on_select: {
|
181
|
-
type: "execute_command";
|
182
|
-
meta: {
|
183
|
-
command: string;
|
184
|
-
};
|
185
|
-
};
|
186
|
-
timeout_ms: number | null;
|
187
|
-
frequency_limit: "no_limit" | "once_per_session" | "once_per_user" | "until_interaction";
|
188
|
-
} & {
|
189
|
-
title?: string | undefined;
|
190
|
-
cta?: string | undefined;
|
191
|
-
is_live?: boolean | undefined;
|
192
|
-
}>;
|
193
|
-
static delete: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
|
194
|
-
static list: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
|
195
|
-
id: number;
|
196
|
-
organization: string;
|
197
|
-
slug: string;
|
198
|
-
content: string;
|
199
|
-
show_expression: import("./helpers/rules").RuleExpression;
|
200
|
-
trigger: {
|
201
|
-
type: "when_conditions_pass";
|
202
|
-
} | {
|
203
|
-
type: "on_command_execution";
|
204
|
-
meta: {
|
205
|
-
command: string;
|
206
|
-
};
|
207
|
-
} | {
|
208
|
-
type: "on_event";
|
209
|
-
meta: {
|
210
|
-
event: string;
|
211
|
-
};
|
212
|
-
};
|
213
|
-
on_select: {
|
214
|
-
type: "execute_command";
|
215
|
-
meta: {
|
216
|
-
command: string;
|
217
|
-
};
|
218
|
-
};
|
219
|
-
timeout_ms: number | null;
|
220
|
-
frequency_limit: "no_limit" | "once_per_session" | "once_per_user" | "until_interaction";
|
221
|
-
} & {
|
222
|
-
title?: string | undefined;
|
223
|
-
cta?: string | undefined;
|
224
|
-
is_live?: boolean | undefined;
|
225
|
-
})[]>;
|
226
|
-
static read: (arg0: string, params?: Record<string, string> | undefined, callbacks?: {
|
227
|
-
onSuccess?: (() => void) | undefined;
|
228
|
-
onError?: ((err: string) => void) | undefined;
|
229
|
-
} | undefined) => Promise<{
|
230
|
-
id: number;
|
231
|
-
organization: string;
|
232
|
-
slug: string;
|
233
|
-
content: string;
|
234
|
-
show_expression: import("./helpers/rules").RuleExpression;
|
235
|
-
trigger: {
|
236
|
-
type: "when_conditions_pass";
|
237
|
-
} | {
|
238
|
-
type: "on_command_execution";
|
239
|
-
meta: {
|
240
|
-
command: string;
|
241
|
-
};
|
242
|
-
} | {
|
243
|
-
type: "on_event";
|
244
|
-
meta: {
|
245
|
-
event: string;
|
246
|
-
};
|
247
|
-
};
|
248
|
-
on_select: {
|
249
|
-
type: "execute_command";
|
250
|
-
meta: {
|
251
|
-
command: string;
|
252
|
-
};
|
253
|
-
};
|
254
|
-
timeout_ms: number | null;
|
255
|
-
frequency_limit: "no_limit" | "once_per_session" | "once_per_user" | "until_interaction";
|
256
|
-
} & {
|
257
|
-
title?: string | undefined;
|
258
|
-
cta?: string | undefined;
|
259
|
-
is_live?: boolean | undefined;
|
260
|
-
}>;
|
261
|
-
}
|