@integry/sdk 3.9.1 → 3.9.2
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/esm/index.csm.d.ts +11 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +7 -0
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -114,6 +114,10 @@ type IntegrySDKEvents = {
|
|
|
114
114
|
"did-click-close-button": EventCallback<"did-click-close-button">;
|
|
115
115
|
"did-app-load": EventCallback<"did-app-load">;
|
|
116
116
|
};
|
|
117
|
+
declare enum ViewStyles {
|
|
118
|
+
COMPACT = "COMPACT",
|
|
119
|
+
COMFORTABLE = "COMFORTABLE"
|
|
120
|
+
}
|
|
117
121
|
declare enum TemplateFormRenderModes {
|
|
118
122
|
MODAL = "MODAL",
|
|
119
123
|
INLINE = "INLINE",
|
|
@@ -278,6 +282,7 @@ interface TemplateField {
|
|
|
278
282
|
description: string;
|
|
279
283
|
summary: string | null;
|
|
280
284
|
activity_field: {
|
|
285
|
+
is_editable?: boolean;
|
|
281
286
|
id: number;
|
|
282
287
|
machine_name: string;
|
|
283
288
|
type: string;
|
|
@@ -317,7 +322,10 @@ interface TemplateField {
|
|
|
317
322
|
app_user_data?: {
|
|
318
323
|
app_user: number;
|
|
319
324
|
id: number;
|
|
320
|
-
value:
|
|
325
|
+
value: /**
|
|
326
|
+
* Render the template form we ship
|
|
327
|
+
* @param data
|
|
328
|
+
*/ string | number;
|
|
321
329
|
is_changed: boolean;
|
|
322
330
|
changed_dynamic_fields: string;
|
|
323
331
|
}[];
|
|
@@ -364,6 +372,7 @@ interface InitConfig {
|
|
|
364
372
|
skipAccountConnectionOnLoad?: boolean;
|
|
365
373
|
deploymentIdFromConfig?: number;
|
|
366
374
|
testMultipurpose?: boolean;
|
|
375
|
+
viewStyle?: string;
|
|
367
376
|
}
|
|
368
377
|
interface MarketplaceConfig {
|
|
369
378
|
containerId: string;
|
|
@@ -442,6 +451,7 @@ declare class IntegryJS {
|
|
|
442
451
|
eventEmitter: EventEmitter<IntegrySDKEvents>;
|
|
443
452
|
static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
|
|
444
453
|
static RenderModes: typeof TemplateFormRenderModes;
|
|
454
|
+
static ViewStyles: typeof ViewStyles;
|
|
445
455
|
static MarketplaceRenderModes: typeof MarketplaceRenderModes;
|
|
446
456
|
static Helpers: {
|
|
447
457
|
getAuthHash: (key: string, message: string) => Promise<string>;
|