commandbar 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -0
- package/build/commandbar-js/src/index.js +1 -1
- package/build/commandbar-js/src/init.d.ts +10 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +4 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +2 -3
- package/build/internal/src/client/SDKConfig.d.ts +1 -0
- package/build/internal/src/client/symbols.d.ts +2 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +4 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +56 -8
- package/build/internal/src/middleware/additionalResource.d.ts +200 -137
- package/build/internal/src/middleware/api.d.ts +7 -7
- package/build/internal/src/middleware/chat.d.ts +22868 -11601
- package/build/internal/src/middleware/checklist.d.ts +209 -139
- package/build/internal/src/middleware/command.d.ts +2547 -2170
- package/build/internal/src/middleware/endUser.d.ts +0 -32
- package/build/internal/src/middleware/experienceTemplate.d.ts +399 -263
- package/build/internal/src/middleware/experiencesSearch.d.ts +816 -718
- package/build/internal/src/middleware/flags.d.ts +6 -3
- package/build/internal/src/middleware/helpDocsSearch.d.ts +584 -514
- package/build/internal/src/middleware/helpers/actions.d.ts +66 -28
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +18 -4
- package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
- package/build/internal/src/middleware/nudge.d.ts +482 -281
- package/build/internal/src/middleware/organization.d.ts +825 -670
- package/build/internal/src/middleware/organizationSettings.d.ts +210 -130
- package/build/internal/src/middleware/profile.d.ts +1 -1
- package/build/internal/src/middleware/recommendationSet.d.ts +200 -137
- package/build/internal/src/middleware/theme.d.ts +7 -0
- package/build/internal/src/middleware/types.d.ts +16 -20
- package/package.json +1 -1
- package/src/init.ts +13 -2
- package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +0 -13
- package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +0 -53
- package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +0 -6
- package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +0 -152
- package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +0 -4
- package/build/internal/src/client/CommandBarSDK.d.ts +0 -99
- package/build/internal/src/client/globals.d.ts +0 -27
- package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -14
- package/build/internal/src/util/sentry.d.ts +0 -23
@@ -1,6 +1,4 @@
|
|
1
1
|
import * as t from 'io-ts';
|
2
|
-
import { UserProperties } from '../client/CommandBarClientSDK';
|
3
|
-
import { IDecideResponseType, IEndUserType } from './types';
|
4
2
|
export declare const ChecklistInteractionStateV: t.IntersectionC<[t.PartialC<{
|
5
3
|
isSkipped: t.BooleanC;
|
6
4
|
isCompleted: t.BooleanC;
|
@@ -102,33 +100,3 @@ export declare const DecideResponseV: t.UnionC<[t.TypeC<{
|
|
102
100
|
recommendation_sets: t.UnionC<[t.RecordC<t.UnionC<[t.StringC, t.NumberC]>, t.UnionC<[t.BooleanC, t.RecordC<t.StringC, t.AnyC>, t.UndefinedC, t.NullC]>>, t.UndefinedC, t.NullC]>;
|
103
101
|
commands: t.UnionC<[t.RecordC<t.UnionC<[t.StringC, t.NumberC]>, t.UnionC<[t.BooleanC, t.RecordC<t.StringC, t.AnyC>, t.UndefinedC, t.NullC]>>, t.UndefinedC, t.NullC]>;
|
104
102
|
}>, t.UndefinedC, t.NullC]>;
|
105
|
-
export declare const addDeviceProperties: (properties: UserProperties) => UserProperties;
|
106
|
-
export declare const EndUser: {
|
107
|
-
preferences: (_identifier: string | null | undefined, _hmac: string) => Promise<never>;
|
108
|
-
decide: (orgId: string | number, distinctId: string | null | undefined, options: {
|
109
|
-
properties?: UserProperties;
|
110
|
-
envOverride: {
|
111
|
-
env: string;
|
112
|
-
} | {
|
113
|
-
version: string;
|
114
|
-
} | null;
|
115
|
-
env: string | null;
|
116
|
-
version?: string;
|
117
|
-
}) => Promise<IDecideResponseType | null>;
|
118
|
-
identify: (orgId: string | number, distinctId: string, options: {
|
119
|
-
properties?: UserProperties;
|
120
|
-
}, hmac?: string) => Promise<IEndUserType | null>;
|
121
|
-
};
|
122
|
-
export declare function getEnvOrVersion({ envOverride, env, version, }: {
|
123
|
-
envOverride?: {
|
124
|
-
env: string;
|
125
|
-
} | {
|
126
|
-
version: string;
|
127
|
-
} | null;
|
128
|
-
env?: string | null;
|
129
|
-
version?: string | null;
|
130
|
-
}): {
|
131
|
-
env: string;
|
132
|
-
} | {
|
133
|
-
version: string;
|
134
|
-
};
|