commandbar 1.13.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) 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/internal/src/client/CommandBarClientSDK.d.ts +4 -0
  5. package/build/internal/src/client/CommandBarProxySDK.d.ts +2 -3
  6. package/build/internal/src/client/SDKConfig.d.ts +1 -0
  7. package/build/internal/src/client/symbols.d.ts +2 -0
  8. package/build/internal/src/middleware/CommandFromClientV.d.ts +4 -0
  9. package/build/internal/src/middleware/OrganizationV.d.ts +56 -8
  10. package/build/internal/src/middleware/additionalResource.d.ts +200 -137
  11. package/build/internal/src/middleware/api.d.ts +7 -7
  12. package/build/internal/src/middleware/chat.d.ts +22868 -11601
  13. package/build/internal/src/middleware/checklist.d.ts +209 -139
  14. package/build/internal/src/middleware/command.d.ts +2547 -2170
  15. package/build/internal/src/middleware/endUser.d.ts +0 -32
  16. package/build/internal/src/middleware/experienceTemplate.d.ts +399 -263
  17. package/build/internal/src/middleware/experiencesSearch.d.ts +816 -718
  18. package/build/internal/src/middleware/flags.d.ts +6 -3
  19. package/build/internal/src/middleware/helpDocsSearch.d.ts +584 -514
  20. package/build/internal/src/middleware/helpers/actions.d.ts +66 -28
  21. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +18 -4
  22. package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
  23. package/build/internal/src/middleware/nudge.d.ts +482 -281
  24. package/build/internal/src/middleware/organization.d.ts +825 -670
  25. package/build/internal/src/middleware/organizationSettings.d.ts +210 -130
  26. package/build/internal/src/middleware/profile.d.ts +1 -1
  27. package/build/internal/src/middleware/recommendationSet.d.ts +200 -137
  28. package/build/internal/src/middleware/theme.d.ts +7 -0
  29. package/build/internal/src/middleware/types.d.ts +16 -20
  30. package/package.json +1 -1
  31. package/src/init.ts +13 -2
  32. package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +0 -13
  33. package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +0 -53
  34. package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +0 -6
  35. package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +0 -152
  36. package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +0 -4
  37. package/build/internal/src/client/CommandBarSDK.d.ts +0 -99
  38. package/build/internal/src/client/globals.d.ts +0 -27
  39. package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -14
  40. 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
- };