@kizenapps/engine 1.3.1-797c57c → 1.3.1-a0c3bfb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{ThirdPartyScript-DHXgfzWk.d.ts → ThirdPartyScript-Bg-ZNlC4.d.ts} +3 -2
  2. package/dist/{automation-DI3owkME.d.ts → automation-nAOwIFAV.d.ts} +1 -1
  3. package/dist/{chunk-EUG6ABVJ.js → chunk-4U7AGDGE.js} +5 -5
  4. package/dist/{chunk-EUG6ABVJ.js.map → chunk-4U7AGDGE.js.map} +1 -1
  5. package/dist/{chunk-C4C6KZM6.js → chunk-566JDWZK.js} +3 -3
  6. package/dist/{chunk-C4C6KZM6.js.map → chunk-566JDWZK.js.map} +1 -1
  7. package/dist/{chunk-VFBFND3H.js → chunk-66LV36OV.js} +3 -3
  8. package/dist/{chunk-VFBFND3H.js.map → chunk-66LV36OV.js.map} +1 -1
  9. package/dist/{chunk-GBS7K6LL.js → chunk-66QQE5I2.js} +3 -3
  10. package/dist/{chunk-GBS7K6LL.js.map → chunk-66QQE5I2.js.map} +1 -1
  11. package/dist/{chunk-SWJ5XPRZ.js → chunk-AL7FIWSH.js} +3 -3
  12. package/dist/{chunk-SWJ5XPRZ.js.map → chunk-AL7FIWSH.js.map} +1 -1
  13. package/dist/{chunk-226PGUAL.js → chunk-GSH5DRWA.js} +5 -5
  14. package/dist/{chunk-226PGUAL.js.map → chunk-GSH5DRWA.js.map} +1 -1
  15. package/dist/{chunk-3T2QOANN.js → chunk-GSUCUVXR.js} +3 -3
  16. package/dist/{chunk-3T2QOANN.js.map → chunk-GSUCUVXR.js.map} +1 -1
  17. package/dist/{chunk-27XR4ETN.js → chunk-I5B5DRUT.js} +3 -3
  18. package/dist/{chunk-27XR4ETN.js.map → chunk-I5B5DRUT.js.map} +1 -1
  19. package/dist/{chunk-C7OXTXTQ.js → chunk-LODMJH2K.js} +4 -4
  20. package/dist/{chunk-C7OXTXTQ.js.map → chunk-LODMJH2K.js.map} +1 -1
  21. package/dist/communication.d.ts +2 -2
  22. package/dist/communication.js +2 -2
  23. package/dist/contexts/base.d.ts +1 -1
  24. package/dist/contexts/base.js +4 -4
  25. package/dist/contexts/floatingFrame.d.ts +1 -1
  26. package/dist/contexts/floatingFrame.js +5 -5
  27. package/dist/contexts/recordDetail.d.ts +1 -1
  28. package/dist/contexts/recordDetail.js +5 -5
  29. package/dist/{generic-DUbe-gcb.d.ts → generic-B_BmEHix.d.ts} +1 -1
  30. package/dist/index.d.ts +6 -6
  31. package/dist/index.js +3 -3
  32. package/dist/react.d.ts +3 -3
  33. package/dist/react.js +5 -5
  34. package/dist/{routeScript-DUmNDi2z.d.ts → routeScript-BExlCmGg.d.ts} +1 -1
  35. package/dist/types.d.ts +6 -6
  36. package/dist/util.d.ts +8 -4
  37. package/dist/util.js +55 -7
  38. package/dist/util.js.map +1 -1
  39. package/dist/workers/calendarSource.worker.js +6 -6
  40. package/dist/workers/floatingFrame.worker.js +7 -7
  41. package/dist/workers/generic.worker.js +6 -6
  42. package/dist/workers/recordDetail.worker.js +7 -7
  43. package/package.json +1 -1
@@ -190,6 +190,7 @@ interface AssistantLink {
190
190
  href: string;
191
191
  text: string;
192
192
  }
193
+ type IncludeOption = 'email' | 'name' | 'business_id' | 'user_id' | 'base_url';
193
194
  interface AssistantField {
194
195
  key: string;
195
196
  type: 'custom_object' | 'description' | 'container' | 'field' | 'text' | 'number' | 'select' | 'boolean' | 'qr' | 'image' | 'link';
@@ -225,7 +226,7 @@ interface AssistantField {
225
226
  text?: string;
226
227
  size?: number;
227
228
  value?: string;
228
- include?: ['email', 'name', 'business_id', 'user_id'];
229
+ include?: IncludeOption[];
229
230
  }
230
231
  type BooleanCleanValue = boolean;
231
232
  interface BooleanValueStore {
@@ -485,4 +486,4 @@ declare class ThirdPartyScript {
485
486
  call(...params: unknown[]): void;
486
487
  }
487
488
 
488
- export { type EmployeeConfig as $, type Args as A, type BaseAPI as B, type CurrentUser as C, type DataCache as D, type CurriedDynamicPromptFn as E, type CurriedInstallThirdPartyScriptFn as F, type GetOptions as G, type CurriedKizenRequestFn as H, type Instance as I, type CurriedOpenCreateRecordFn as J, type CurriedOpenCreateRelatedRecordFn as K, type CurriedPostFormDataFn as L, type ModalConfig as M, type CurriedPromptFn as N, type CurriedRefreshEntityFn as O, type PartialEntity as P, type CurriedUploadFileFn as Q, type RequestWithErrorsResponse as R, type StateChangePayload as S, ThirdPartyScript as T, type UnknownJSON as U, type CustomObjectCleanValue as V, type WorkerContextArgs as W, type CustomObjectValueStore as X, type DataCacheEntry as Y, type DeleteReturnValue as Z, type DynamicPromptFn as _, type PartialCustomObject as a, type ErrorHandler as a0, type ErrorResponse as a1, type FieldCleanValue as a2, type FieldValueStore as a3, type GetReturnValue as a4, type InstallThirdPartyScriptFn as a5, type JSONArray as a6, type JSONObject as a7, type JSONPrimitive as a8, type JSONValue as a9, type PromiseReject as aA, type PromiseResolve as aB, type PromiseState as aC, type PromptFn as aD, type PutReturnValue as aE, type RefreshEntityFn as aF, type ReleaseBlockingScriptHandler as aG, type SelectCleanValue as aH, type SelectValueStore as aI, type SetInternalSessionDataFn as aJ, type SetupAssistantConfig as aK, type SetupAssistantField as aL, type TextValueStore as aM, type UnknownFunction as aN, type UploadFileData as aO, type UploadFileFn as aP, type UserConfig as aQ, type ValueStore as aR, ACTIONS as aS, ALLOWED_INTEGRATIONS as aT, KizenRequestError as aU, IFRAME_PREFIX as aV, INDICATOR_TYPE as aW, type KizenConfig as aa, type KizenNetworkResponse as ab, type KizenProxySuccessResponse as ac, type KizenRequestFn as ad, type KizenRequestFnHandler as ae, type KnownArgs as af, type MatchSetupAssistantField as ag, type MaybeMessageError as ah, type ModalBlock as ai, type ModalCancelEventSource as aj, type ModalContainer as ak, type ModalQueue as al, type NumberCleanValue as am, type NumberValueStore as an, type OnNetworkErrorFn as ao, type OnShowCreateRecordModalFn as ap, type OnShowCreateRelatedRecordModalFn as aq, type OnShowModalFn as ar, type OpenCreateRecordFn as as, type OpenCreateRelatedRecordFn as at, type PartialRelatedObject as au, type PatchReturnValue as av, type PostFormDataPayload as aw, type PostReturnValue as ax, type Profile as ay, type PromiseMap as az, type PartialUser as b, type PartialTeamMember as c, type PartialBusiness as d, type PartialClientObject as e, type PostFormDataFn as f, type PromptState as g, type InternalSessionData as h, type PartialLocation as i, type RequestOptions as j, type ShowToastOptions as k, type DynamicPromptConfig as l, type SelectOption as m, type AppPlugin as n, type AppPlugins as o, type AssistantConfigAction as p, type AssistantField as q, type AssistantLink as r, type BooleanCleanValue as s, type BooleanValueStore as t, type ButtonConfig as u, type CleanValueStore as v, type CleanValueStoreType as w, type ConfigService as x, type CreateRecordModalQueue as y, type CreateRelatedRecordModalQueue as z };
489
+ export { type EmployeeConfig as $, type Args as A, type BaseAPI as B, type CurrentUser as C, type DataCache as D, type CurriedDynamicPromptFn as E, type CurriedInstallThirdPartyScriptFn as F, type GetOptions as G, type CurriedKizenRequestFn as H, type Instance as I, type CurriedOpenCreateRecordFn as J, type CurriedOpenCreateRelatedRecordFn as K, type CurriedPostFormDataFn as L, type ModalConfig as M, type CurriedPromptFn as N, type CurriedRefreshEntityFn as O, type PartialEntity as P, type CurriedUploadFileFn as Q, type RequestWithErrorsResponse as R, type StateChangePayload as S, ThirdPartyScript as T, type UnknownJSON as U, type CustomObjectCleanValue as V, type WorkerContextArgs as W, type CustomObjectValueStore as X, type DataCacheEntry as Y, type DeleteReturnValue as Z, type DynamicPromptFn as _, type PartialCustomObject as a, type ErrorHandler as a0, type ErrorResponse as a1, type FieldCleanValue as a2, type FieldValueStore as a3, type GetReturnValue as a4, type IncludeOption as a5, type InstallThirdPartyScriptFn as a6, type JSONArray as a7, type JSONObject as a8, type JSONPrimitive as a9, type PromiseMap as aA, type PromiseReject as aB, type PromiseResolve as aC, type PromiseState as aD, type PromptFn as aE, type PutReturnValue as aF, type RefreshEntityFn as aG, type ReleaseBlockingScriptHandler as aH, type SelectCleanValue as aI, type SelectValueStore as aJ, type SetInternalSessionDataFn as aK, type SetupAssistantConfig as aL, type SetupAssistantField as aM, type TextValueStore as aN, type UnknownFunction as aO, type UploadFileData as aP, type UploadFileFn as aQ, type UserConfig as aR, type ValueStore as aS, ACTIONS as aT, ALLOWED_INTEGRATIONS as aU, KizenRequestError as aV, IFRAME_PREFIX as aW, INDICATOR_TYPE as aX, type JSONValue as aa, type KizenConfig as ab, type KizenNetworkResponse as ac, type KizenProxySuccessResponse as ad, type KizenRequestFn as ae, type KizenRequestFnHandler as af, type KnownArgs as ag, type MatchSetupAssistantField as ah, type MaybeMessageError as ai, type ModalBlock as aj, type ModalCancelEventSource as ak, type ModalContainer as al, type ModalQueue as am, type NumberCleanValue as an, type NumberValueStore as ao, type OnNetworkErrorFn as ap, type OnShowCreateRecordModalFn as aq, type OnShowCreateRelatedRecordModalFn as ar, type OnShowModalFn as as, type OpenCreateRecordFn as at, type OpenCreateRelatedRecordFn as au, type PartialRelatedObject as av, type PatchReturnValue as aw, type PostFormDataPayload as ax, type PostReturnValue as ay, type Profile as az, type PartialUser as b, type PartialTeamMember as c, type PartialBusiness as d, type PartialClientObject as e, type PostFormDataFn as f, type PromptState as g, type InternalSessionData as h, type PartialLocation as i, type RequestOptions as j, type ShowToastOptions as k, type DynamicPromptConfig as l, type SelectOption as m, type AppPlugin as n, type AppPlugins as o, type AssistantConfigAction as p, type AssistantField as q, type AssistantLink as r, type BooleanCleanValue as s, type BooleanValueStore as t, type ButtonConfig as u, type CleanValueStore as v, type CleanValueStoreType as w, type ConfigService as x, type CreateRecordModalQueue as y, type CreateRelatedRecordModalQueue as z };
@@ -1,4 +1,4 @@
1
- import { a as CommonPluginDefinition } from './routeScript-DUmNDi2z.js';
1
+ import { a as CommonPluginDefinition } from './routeScript-BExlCmGg.js';
2
2
 
3
3
  interface DataAdornmentConfig extends CommonPluginDefinition {
4
4
  id?: string;
@@ -1,6 +1,6 @@
1
- import { generateUUIDV4, getPartialLocation } from './chunk-GBS7K6LL.js';
1
+ import { generateUUIDV4, getPartialLocation } from './chunk-66QQE5I2.js';
2
2
  import { KizenRequestError } from './chunk-7ALAP3YN.js';
3
- import { IFRAME_PREFIX, ACTIONS, RESPONSES, COMMUNICATIONS, thirdPartyGlobalNames, getScriptIntegrationType, thirdPartySetupScripts, thirdPartyReadyPredicates } from './chunk-27XR4ETN.js';
3
+ import { IFRAME_PREFIX, ACTIONS, RESPONSES, COMMUNICATIONS, thirdPartyGlobalNames, getScriptIntegrationType, thirdPartySetupScripts, thirdPartyReadyPredicates } from './chunk-I5B5DRUT.js';
4
4
  import { __commonJS, __toESM } from './chunk-5WRI5ZAA.js';
5
5
  import DOMPurify from 'dompurify';
6
6
 
@@ -2428,8 +2428,8 @@ var runObjectExpression = async (expression, values) => {
2428
2428
  };
2429
2429
 
2430
2430
  // src/index.ts
2431
- var version = "1.3.1-797c57c";
2431
+ var version = "1.3.1-a0c3bfb";
2432
2432
 
2433
2433
  export { getHash, getStableHash, isFlagEnabled, runExpression, runObjectExpression, runOptionExpression, runScript, runStringExpression, version };
2434
- //# sourceMappingURL=chunk-EUG6ABVJ.js.map
2435
- //# sourceMappingURL=chunk-EUG6ABVJ.js.map
2434
+ //# sourceMappingURL=chunk-4U7AGDGE.js.map
2435
+ //# sourceMappingURL=chunk-4U7AGDGE.js.map