commandbar 1.12.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -0
  2. package/build/commandbar-js/src/index.js +1 -1
  3. package/build/commandbar-js/src/init.d.ts +10 -1
  4. package/build/commandbar-js/src/snippet.d.ts +0 -1
  5. package/build/internal/src/client/CommandBarClientSDK.d.ts +5 -0
  6. package/build/internal/src/client/CommandBarProxySDK.d.ts +2 -3
  7. package/build/internal/src/client/SDKConfig.d.ts +1 -0
  8. package/build/internal/src/client/symbols.d.ts +2 -0
  9. package/build/internal/src/middleware/CommandFromClientV.d.ts +7 -0
  10. package/build/internal/src/middleware/OrganizationV.d.ts +104 -12
  11. package/build/internal/src/middleware/additionalResource.d.ts +208 -118
  12. package/build/internal/src/middleware/api.d.ts +7 -7
  13. package/build/internal/src/middleware/chat.d.ts +23641 -12011
  14. package/build/internal/src/middleware/checklist.d.ts +221 -121
  15. package/build/internal/src/middleware/command.d.ts +2611 -2021
  16. package/build/internal/src/middleware/endUser.d.ts +0 -32
  17. package/build/internal/src/middleware/experienceTemplate.d.ts +407 -223
  18. package/build/internal/src/middleware/experiencesSearch.d.ts +818 -657
  19. package/build/internal/src/middleware/flags.d.ts +9 -8
  20. package/build/internal/src/middleware/helpDocsSearch.d.ts +586 -471
  21. package/build/internal/src/middleware/helpers/actions.d.ts +83 -30
  22. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +32 -6
  23. package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
  24. package/build/internal/src/middleware/keyword.d.ts +82 -0
  25. package/build/internal/src/middleware/network.d.ts +2 -2
  26. package/build/internal/src/middleware/nudge.d.ts +520 -247
  27. package/build/internal/src/middleware/organization.d.ts +886 -607
  28. package/build/internal/src/middleware/organizationSettings.d.ts +282 -114
  29. package/build/internal/src/middleware/profile.d.ts +1 -1
  30. package/build/internal/src/middleware/recommendationSet.d.ts +208 -118
  31. package/build/internal/src/middleware/theme.d.ts +7 -0
  32. package/build/internal/src/middleware/types.d.ts +21 -20
  33. package/package.json +1 -1
  34. package/src/init.ts +13 -2
  35. package/src/snippet.ts +1 -14
  36. package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +0 -13
  37. package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +0 -54
  38. package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +0 -6
  39. package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +0 -152
  40. package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +0 -4
  41. package/build/internal/src/client/CommandBarSDK.d.ts +0 -99
  42. package/build/internal/src/client/globals.d.ts +0 -27
  43. package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -14
  44. 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
- };