@kizenapps/engine 1.3.0 → 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.
- package/dist/{ThirdPartyScript-SJ9auPZm.d.ts → ThirdPartyScript-Bg-ZNlC4.d.ts} +17 -2
- package/dist/{automation-V0iUhnR7.d.ts → automation-nAOwIFAV.d.ts} +1 -1
- package/dist/{chunk-MH5PHO6V.js → chunk-4U7AGDGE.js} +5 -5
- package/dist/{chunk-MH5PHO6V.js.map → chunk-4U7AGDGE.js.map} +1 -1
- package/dist/{chunk-EFIJAPTR.js → chunk-566JDWZK.js} +8 -4
- package/dist/chunk-566JDWZK.js.map +1 -0
- package/dist/{chunk-OWSNCND3.js → chunk-66LV36OV.js} +3 -3
- package/dist/{chunk-OWSNCND3.js.map → chunk-66LV36OV.js.map} +1 -1
- package/dist/{chunk-6MOFWE4S.js → chunk-66QQE5I2.js} +3 -3
- package/dist/{chunk-6MOFWE4S.js.map → chunk-66QQE5I2.js.map} +1 -1
- package/dist/{chunk-DBOOGEEF.js → chunk-AL7FIWSH.js} +3 -3
- package/dist/{chunk-DBOOGEEF.js.map → chunk-AL7FIWSH.js.map} +1 -1
- package/dist/{chunk-FWN7T3WB.js → chunk-GSH5DRWA.js} +5 -5
- package/dist/{chunk-FWN7T3WB.js.map → chunk-GSH5DRWA.js.map} +1 -1
- package/dist/{chunk-FQB442MR.js → chunk-GSUCUVXR.js} +3 -3
- package/dist/{chunk-FQB442MR.js.map → chunk-GSUCUVXR.js.map} +1 -1
- package/dist/{chunk-ULFX2VOC.js → chunk-I5B5DRUT.js} +3 -3
- package/dist/{chunk-ULFX2VOC.js.map → chunk-I5B5DRUT.js.map} +1 -1
- package/dist/{chunk-PJRGATVY.js → chunk-LODMJH2K.js} +4 -4
- package/dist/{chunk-PJRGATVY.js.map → chunk-LODMJH2K.js.map} +1 -1
- package/dist/communication.d.ts +2 -2
- package/dist/communication.js +2 -2
- package/dist/contexts/base.d.ts +1 -1
- package/dist/contexts/base.js +4 -4
- package/dist/contexts/floatingFrame.d.ts +1 -1
- package/dist/contexts/floatingFrame.js +5 -5
- package/dist/contexts/recordDetail.d.ts +1 -1
- package/dist/contexts/recordDetail.js +5 -5
- package/dist/{generic-StPcwyG1.d.ts → generic-B_BmEHix.d.ts} +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +5 -5
- package/dist/{routeScript-BsZNrggO.d.ts → routeScript-BExlCmGg.d.ts} +1 -1
- package/dist/types.d.ts +6 -6
- package/dist/util.d.ts +8 -4
- package/dist/util.js +55 -7
- package/dist/util.js.map +1 -1
- package/dist/workers/calendarSource.worker.js +6 -6
- package/dist/workers/floatingFrame.worker.js +7 -7
- package/dist/workers/generic.worker.js +6 -6
- package/dist/workers/recordDetail.worker.js +7 -7
- package/package.json +1 -1
- package/dist/chunk-EFIJAPTR.js.map +0 -1
|
@@ -186,9 +186,14 @@ interface AssistantConfigAction {
|
|
|
186
186
|
name: string;
|
|
187
187
|
hint_object_name?: string;
|
|
188
188
|
}
|
|
189
|
+
interface AssistantLink {
|
|
190
|
+
href: string;
|
|
191
|
+
text: string;
|
|
192
|
+
}
|
|
193
|
+
type IncludeOption = 'email' | 'name' | 'business_id' | 'user_id' | 'base_url';
|
|
189
194
|
interface AssistantField {
|
|
190
195
|
key: string;
|
|
191
|
-
type: 'custom_object' | 'description' | 'container' | 'field' | 'text' | 'number' | 'select' | 'boolean';
|
|
196
|
+
type: 'custom_object' | 'description' | 'container' | 'field' | 'text' | 'number' | 'select' | 'boolean' | 'qr' | 'image' | 'link';
|
|
192
197
|
columns?: number;
|
|
193
198
|
fields?: AssistantField[];
|
|
194
199
|
content?: string;
|
|
@@ -212,6 +217,16 @@ interface AssistantField {
|
|
|
212
217
|
dependencies?: string[];
|
|
213
218
|
validation_pattern?: string;
|
|
214
219
|
match_hint?: string;
|
|
220
|
+
src?: string;
|
|
221
|
+
link?: AssistantLink;
|
|
222
|
+
title?: string;
|
|
223
|
+
width?: number;
|
|
224
|
+
height?: number;
|
|
225
|
+
href?: string;
|
|
226
|
+
text?: string;
|
|
227
|
+
size?: number;
|
|
228
|
+
value?: string;
|
|
229
|
+
include?: IncludeOption[];
|
|
215
230
|
}
|
|
216
231
|
type BooleanCleanValue = boolean;
|
|
217
232
|
interface BooleanValueStore {
|
|
@@ -471,4 +486,4 @@ declare class ThirdPartyScript {
|
|
|
471
486
|
call(...params: unknown[]): void;
|
|
472
487
|
}
|
|
473
488
|
|
|
474
|
-
export { type
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import { generateUUIDV4, getPartialLocation } from './chunk-
|
|
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-
|
|
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.
|
|
2431
|
+
var version = "1.3.1-a0c3bfb";
|
|
2432
2432
|
|
|
2433
2433
|
export { getHash, getStableHash, isFlagEnabled, runExpression, runObjectExpression, runOptionExpression, runScript, runStringExpression, version };
|
|
2434
|
-
//# sourceMappingURL=chunk-
|
|
2435
|
-
//# sourceMappingURL=chunk-
|
|
2434
|
+
//# sourceMappingURL=chunk-4U7AGDGE.js.map
|
|
2435
|
+
//# sourceMappingURL=chunk-4U7AGDGE.js.map
|