commandbar 1.8.6 → 1.9.0
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 +4 -0
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +25 -7
- package/build/internal/src/client/CommandBarProxySDK.d.ts +3 -3
- package/build/internal/src/client/CommandBarSDK.d.ts +23 -12
- package/build/internal/src/client/EventHandler.d.ts +19 -5
- package/build/internal/src/client/globals.d.ts +6 -0
- package/build/internal/src/client/symbols.d.ts +11 -6
- package/build/internal/src/middleware/CommandFromClientV.d.ts +68 -10
- package/build/internal/src/middleware/OrganizationV.d.ts +124 -20
- package/build/internal/src/middleware/additionalResource.d.ts +178 -16
- package/build/internal/src/middleware/billing.d.ts +33 -0
- package/build/internal/src/middleware/chat.d.ts +10913 -0
- package/build/internal/src/middleware/checklist.d.ts +106 -28
- package/build/internal/src/middleware/command.d.ts +3778 -446
- package/build/internal/src/middleware/detailPreview.d.ts +12 -1
- package/build/internal/src/middleware/endUser.d.ts +104 -0
- package/build/internal/src/middleware/generics.d.ts +12 -11
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +54 -8
- package/build/internal/src/middleware/helpDocsSearch.d.ts +2204 -0
- package/build/internal/src/middleware/helpHub.d.ts +26 -0
- package/build/internal/src/middleware/helpers/actions.d.ts +116 -8
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +82 -2
- package/build/internal/src/middleware/helpers/pushTrigger.d.ts +6 -0
- package/build/internal/src/middleware/helpers/rules.d.ts +285 -26
- package/build/internal/src/middleware/network.d.ts +18 -3
- package/build/internal/src/middleware/nudge.d.ts +1193 -43
- package/build/internal/src/middleware/organization.d.ts +1051 -141
- package/build/internal/src/middleware/organizationSettings.d.ts +129 -22
- package/build/internal/src/middleware/recommendationSet.d.ts +408 -1007
- package/build/internal/src/middleware/types.d.ts +43 -25
- package/build/internal/src/util/dispatchCustomEvent.d.ts +3 -1
- package/build/internal/src/util/operatingSystem.d.ts +13 -0
- package/build/internal/src/util/sentry.d.ts +23 -0
- package/package.json +4 -4
- package/build/internal/src/client/SentryReporter.d.ts +0 -63
- package/build/internal/src/middleware/chatAnalytics.d.ts +0 -2601
- package/build/internal/src/middleware/helpers/endUser.d.ts +0 -11
- package/build/internal/src/middleware/qaPair.d.ts +0 -676
- package/build/internal/src/util/integrations.d.ts +0 -1
- package/src/commandbar-launcher.d.ts +0 -7
@@ -1,4 +1,19 @@
|
|
1
1
|
import * as t from 'io-ts';
|
2
|
+
export declare const BillingProfileV: t.TypeC<{
|
3
|
+
organization: t.StringC;
|
4
|
+
price_cents: t.NumberC;
|
5
|
+
tier: t.StringC;
|
6
|
+
discount_cents: t.NumberC;
|
7
|
+
name: t.StringC;
|
8
|
+
invoice_description: t.StringC;
|
9
|
+
customer_id: t.UnionC<[t.StringC, t.NullC]>;
|
10
|
+
publishable_key: t.StringC;
|
11
|
+
balance: t.UnionC<[t.NumberC, t.NullC]>;
|
12
|
+
currency: t.UnionC<[t.StringC, t.NullC]>;
|
13
|
+
on_free_trial: t.BooleanC;
|
14
|
+
free_trial_end_date: t.UnionC<[t.StringC, t.NullC]>;
|
15
|
+
appsumo_invoice_item_id: t.UnionC<[t.StringC, t.NullC]>;
|
16
|
+
}>;
|
2
17
|
export declare const StripInfoV: t.IntersectionC<[t.TypeC<{
|
3
18
|
invoice_date_start: t.UnionC<[t.StringC, t.NullC]>;
|
4
19
|
invoice_date_end: t.UnionC<[t.StringC, t.NullC]>;
|
@@ -38,4 +53,22 @@ export declare class Billing {
|
|
38
53
|
questlists_live_limit: number;
|
39
54
|
questlists_live_usage: number;
|
40
55
|
} & {}>;
|
56
|
+
static readProfile: (params?: Record<string, string> | undefined, callbacks?: {
|
57
|
+
onSuccess?: (() => void) | undefined;
|
58
|
+
onError?: ((err: string) => void) | undefined;
|
59
|
+
} | undefined) => Promise<{
|
60
|
+
organization: string;
|
61
|
+
price_cents: number;
|
62
|
+
tier: string;
|
63
|
+
discount_cents: number;
|
64
|
+
name: string;
|
65
|
+
invoice_description: string;
|
66
|
+
customer_id: string | null;
|
67
|
+
publishable_key: string;
|
68
|
+
balance: number | null;
|
69
|
+
currency: string | null;
|
70
|
+
on_free_trial: boolean;
|
71
|
+
free_trial_end_date: string | null;
|
72
|
+
appsumo_invoice_item_id: string | null;
|
73
|
+
}>;
|
41
74
|
}
|