@pitcher/js-api 1.26.0-beta.6 → 1.26.0-beta.8
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/impact-js-api.spec.json +12 -0
- package/js-api.esm.js +283 -1
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +148 -36
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +2 -2
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +16 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +14 -1
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +148 -36
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +162 -37
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +20 -20
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.raw.vue.d.ts +30 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.vue.d.ts +76 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentListItems.vue.d.ts +21 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/content.store.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +392 -202
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +26 -0
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +26 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +7 -9
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +0 -6
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useTemporaryContext.d.ts +1 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +20 -2
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -4
- package/lib/apps/content-selector/components/Assets.vue.d.ts +2 -2
- package/lib/apps/content-selector/components/Content.vue.d.ts +2 -2
- package/lib/components/CCarousel/CCarousel.vue.d.ts +98 -20
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +8 -8
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +2 -2
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +1 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +2 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +14 -3
- package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +3 -0
- package/lib/components/CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts +2 -2
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +10 -8
- package/lib/components/CDataTable/CDataTable.vue.d.ts +876 -100
- package/lib/components/CFileAccessManagement/CFileAccessManagement.vue.d.ts +6 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +2 -2
- package/lib/components/CImage/CImage.vue.d.ts +99 -20
- package/lib/components/CInput/CInput.vue.d.ts +148 -36
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +288 -80
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +468 -130
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +288 -80
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +148 -36
- package/lib/components/CTableInput/CTableInput.vue.d.ts +296 -72
- package/lib/components/CTableTag/CTableTag.vue.d.ts +290 -38
- package/lib/components/CTags/CTags.vue.d.ts +290 -38
- package/lib/components/CUpsertFolderModal/CUpsertFolderModal.vue.d.ts +2 -2
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +108 -30
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +176 -46
- package/lib/constants/cdp.const.d.ts +3 -0
- package/lib/main.lib.d.ts +2 -0
- package/lib/sdk/api/HighLevelApi.d.ts +7 -0
- package/lib/sdk/api/modules/files.d.ts +10 -0
- package/lib/sdk/api/modules/query.d.ts +88 -1
- package/lib/sdk/interfaces.d.ts +4 -1
- package/lib/sdk/main.d.ts +22 -0
- package/lib/sdk/payload.types.d.ts +51 -0
- package/lib/sdk/peer-connectivity/index.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.constants.d.ts +13 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.d.ts +3 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.types.d.ts +35 -0
- package/lib/theme/light.d.ts +113 -8
- package/lib/types/app.d.ts +7 -0
- package/lib/types/instanceSettings.types.d.ts +2 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationMetadata.types.d.ts +3 -2
- package/lib/types/organizationSettings.types.d.ts +10 -0
- package/package.json +1 -1
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +0 -111
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +0 -59
- /package/lib/apps/canvas-builder/components/{ui/SectionList/SectionSearch.vue.d.ts → container/Search/Search.vue.d.ts} +0 -0
|
@@ -1,3 +1,90 @@
|
|
|
1
|
-
import { QueryPayload, CRMQueryPayload } from '../../payload.types';
|
|
1
|
+
import { QueryPayload, CRMQueryPayload, UpsertCRMObjectsPayload, CRMSmartObjectValidationRulesPayload, CRMSmartObjectMetadataPayload } from '../../payload.types';
|
|
2
2
|
export declare function query(payload: QueryPayload): Promise<any>;
|
|
3
3
|
export declare function crmQuery(payload: CRMQueryPayload): Promise<any>;
|
|
4
|
+
/**
|
|
5
|
+
* Executes a SmartStore query against local CRM data (iOS only).
|
|
6
|
+
* Uses Salesforce Mobile SDK SmartStore query syntax.
|
|
7
|
+
* Validates that the query uses SmartStore syntax before execution.
|
|
8
|
+
*
|
|
9
|
+
* @param {CRMQueryPayload} payload - The query payload containing the SmartStore query string.
|
|
10
|
+
* @returns {Promise<Array<any>>} - Promise resolving with an array of query results from SmartStore.
|
|
11
|
+
* @throws {Error} - Throws an error if the query is not a valid SmartStore query.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // iOS only method to execute a SmartStore query.
|
|
15
|
+
* api.crmSmartQuery({ query: 'SELECT {Account:Id}, {Account:Name} FROM {Account} ORDER BY {Account:Name} LIMIT 10' })
|
|
16
|
+
*/
|
|
17
|
+
export declare function crmSmartQuery(payload: CRMQueryPayload): Promise<Array<any>>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves metadata for a CRM smart object (iOS only).
|
|
20
|
+
* Fetches object metadata from the Salesforce Mobile SDK cache.
|
|
21
|
+
*
|
|
22
|
+
* @param {CRMSmartObjectMetadataPayload} payload - The payload containing the object name.
|
|
23
|
+
* @returns {Promise<any>} - Promise resolving with the object metadata.
|
|
24
|
+
* @throws {Error} - Throws an error if the object name is not provided.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // iOS only method to retrieve CRM object metadata.
|
|
28
|
+
* api.crmSmartObjectMetadata({ object: 'Account' })
|
|
29
|
+
*/
|
|
30
|
+
export declare function crmSmartObjectMetadata(payload: CRMSmartObjectMetadataPayload): Promise<any>;
|
|
31
|
+
/**
|
|
32
|
+
* Upserts CRM objects into local CRM data (iOS only).
|
|
33
|
+
* Uses Salesforce Mobile SDK SmartStore to insert or update records.
|
|
34
|
+
* Each object in the payload specifies a table name, the objects to upsert, and an optional external ID path.
|
|
35
|
+
*
|
|
36
|
+
* **Important**: Always provide `external_id_path` when performing updates to ensure records are
|
|
37
|
+
* matched correctly. Without it, the operation may create duplicate records instead of updating existing ones.
|
|
38
|
+
*
|
|
39
|
+
* **Note**: When creating new records, you must provide an explicit identifier field (e.g., `Id`)
|
|
40
|
+
* in each record object passed from the frontend. The backend does not auto-generate IDs.
|
|
41
|
+
*
|
|
42
|
+
* @param {UpsertCRMObjectsPayload} payload - The upsert payload containing an array of UpsertCRMObject items.
|
|
43
|
+
* @returns {Promise<any>} - Promise resolving with the result of the upsert operation.
|
|
44
|
+
* @throws {Error} - Throws an error if the payload is invalid.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* // iOS only method to upsert CRM objects.
|
|
48
|
+
*
|
|
49
|
+
* // Updating existing records - always include external_id_path
|
|
50
|
+
* api.crmSmartUpsertObjects({
|
|
51
|
+
* objects: [
|
|
52
|
+
* {
|
|
53
|
+
* table_name: 'Account',
|
|
54
|
+
* objects: [{ Id: '001xx000003DGbQAAW', Name: 'Acme Corp Updated' }],
|
|
55
|
+
* external_id_path: 'Id' // Required for updates to match existing records
|
|
56
|
+
* }
|
|
57
|
+
* ]
|
|
58
|
+
* })
|
|
59
|
+
*
|
|
60
|
+
* // Creating new records - explicit ID required in each record
|
|
61
|
+
* api.crmSmartUpsertObjects({
|
|
62
|
+
* objects: [
|
|
63
|
+
* {
|
|
64
|
+
* table_name: 'Account',
|
|
65
|
+
* objects: [
|
|
66
|
+
* { Id: '001xx000003NEW001', Name: 'New Company' }, // Explicit ID required
|
|
67
|
+
* { Id: '001xx000003NEW002', Name: 'Another Company' }
|
|
68
|
+
* ]
|
|
69
|
+
* }
|
|
70
|
+
* ]
|
|
71
|
+
* })
|
|
72
|
+
*/
|
|
73
|
+
export declare function crmSmartUpsertObjects(payload: UpsertCRMObjectsPayload): Promise<any>;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves validation rules for a CRM smart object (iOS only).
|
|
76
|
+
* This method fetches the validation rules configured for a specific CRM object type
|
|
77
|
+
* from the local SmartStore cache.
|
|
78
|
+
*
|
|
79
|
+
* @param {CRMSmartObjectValidationRulesPayload} payload - The payload containing the object name.
|
|
80
|
+
* @returns {Promise<any>} - Promise resolving with the validation rules for the specified object.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* // iOS only method to get validation rules for an Account object.
|
|
84
|
+
* api.crmSmartObjectValidationRules({ object: 'Account' })
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* // Get validation rules for a Contact object.
|
|
88
|
+
* api.crmSmartObjectValidationRules({ object: 'Contact' })
|
|
89
|
+
*/
|
|
90
|
+
export declare function crmSmartObjectValidationRules(payload: CRMSmartObjectValidationRulesPayload): Promise<any>;
|
package/lib/sdk/interfaces.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { PitcherInstance } from '../types/instance.types';
|
|
|
5
5
|
import { PaginatedData } from '../types/paginatedData';
|
|
6
6
|
import { LaunchDarklyEnv } from '../types/launchDarkly.types';
|
|
7
7
|
import { CDP_EVENT_TYPE, CLIENT_TYPE } from '../constants/cdp.const';
|
|
8
|
+
import { PeerConnectivityEvent } from './peer-connectivity';
|
|
8
9
|
export declare const PITCHER_EVENT: "PITCHER_EVENT";
|
|
9
10
|
export declare enum PitcherMessageType {
|
|
10
11
|
REQUEST = "PITCHER_REQUEST",
|
|
@@ -145,7 +146,8 @@ export declare enum PitcherEventName {
|
|
|
145
146
|
ITEM_SHAREBOX_STATUS_UPDATED = "item_sharebox_status_updated",
|
|
146
147
|
ITEM_SHAREBOX_ADD_REQUESTED = "item_sharebox_add_requested",
|
|
147
148
|
ITEM_SHAREBOX_ADD_COMPLETED = "item_sharebox_add_completed",
|
|
148
|
-
SYNC_BADGE_VALUE_REPORTED = "sync_badge_value_reported"
|
|
149
|
+
SYNC_BADGE_VALUE_REPORTED = "sync_badge_value_reported",
|
|
150
|
+
PEER_CONNECTIVITY_EVENT = "peer_connectivity_event"
|
|
149
151
|
}
|
|
150
152
|
export declare enum PitcherBroadcastedEventName {
|
|
151
153
|
UI_SHOW_MODAL = "ui:show-modal",
|
|
@@ -442,6 +444,7 @@ export interface PitcherEventMap {
|
|
|
442
444
|
[PitcherEventName.SYNC_BADGE_VALUE_REPORTED]: {
|
|
443
445
|
count: number;
|
|
444
446
|
};
|
|
447
|
+
[PitcherEventName.PEER_CONNECTIVITY_EVENT]: PeerConnectivityEvent;
|
|
445
448
|
[PitcherBroadcastedEventName.UI_SHOW_MODAL]: void;
|
|
446
449
|
[PitcherBroadcastedEventName.UI_HIDE_MODAL]: void;
|
|
447
450
|
[PitcherBroadcastedEventName.FAVORITES_CHANGED]: {
|
package/lib/sdk/main.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './payload.types';
|
|
|
5
5
|
export * from './api/modules/ui/types.ui';
|
|
6
6
|
export * from './api/modules/admin/types.admin';
|
|
7
7
|
export * from './api/modules/dsr/types.dsr';
|
|
8
|
+
export * from './peer-connectivity';
|
|
8
9
|
export declare let highLevelApi: ReturnType<typeof createHighLevelApi>;
|
|
9
10
|
/**
|
|
10
11
|
* Check out the returned object documentation for the list of available methods.
|
|
@@ -265,6 +266,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
265
266
|
}): Promise<import('../main.lib').File["id"]>;
|
|
266
267
|
createFile(payload: Omit<import('../main.lib').AllFileCreateRequest, "instance_id">): Promise<import('../main.lib').FileRetrieve>;
|
|
267
268
|
selectDeviceFile(): Promise<import('../main.lib').DeviceFile>;
|
|
269
|
+
deleteLocalFile(payload: {
|
|
270
|
+
url: string;
|
|
271
|
+
}): Promise<void>;
|
|
268
272
|
getFileRevisions(payload: {
|
|
269
273
|
id?: import('../main.lib').FileRetrieve["id"];
|
|
270
274
|
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
@@ -298,6 +302,10 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
298
302
|
}): Promise<void>;
|
|
299
303
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
300
304
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
305
|
+
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
306
|
+
crmSmartObjectMetadata(payload: import('./payload.types').CRMSmartObjectMetadataPayload): Promise<any>;
|
|
307
|
+
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
308
|
+
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
301
309
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
302
310
|
getFolder(payload?: {
|
|
303
311
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -538,6 +546,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
538
546
|
}): Promise<import('../main.lib').File["id"]>;
|
|
539
547
|
createFile(payload: Omit<import('../main.lib').AllFileCreateRequest, "instance_id">): Promise<import('../main.lib').FileRetrieve>;
|
|
540
548
|
selectDeviceFile(): Promise<import('../main.lib').DeviceFile>;
|
|
549
|
+
deleteLocalFile(payload: {
|
|
550
|
+
url: string;
|
|
551
|
+
}): Promise<void>;
|
|
541
552
|
getFileRevisions(payload: {
|
|
542
553
|
id?: import('../main.lib').FileRetrieve["id"];
|
|
543
554
|
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
@@ -571,6 +582,10 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
571
582
|
}): Promise<void>;
|
|
572
583
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
573
584
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
585
|
+
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
586
|
+
crmSmartObjectMetadata(payload: import('./payload.types').CRMSmartObjectMetadataPayload): Promise<any>;
|
|
587
|
+
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
588
|
+
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
574
589
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
575
590
|
getFolder(payload?: {
|
|
576
591
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -751,6 +766,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
751
766
|
}): Promise<import('../main.lib').File["id"]>;
|
|
752
767
|
createFile(payload: Omit<import('../main.lib').AllFileCreateRequest, "instance_id">): Promise<import('../main.lib').FileRetrieve>;
|
|
753
768
|
selectDeviceFile(): Promise<import('../main.lib').DeviceFile>;
|
|
769
|
+
deleteLocalFile(payload: {
|
|
770
|
+
url: string;
|
|
771
|
+
}): Promise<void>;
|
|
754
772
|
getFileRevisions(payload: {
|
|
755
773
|
id?: import('../main.lib').FileRetrieve["id"];
|
|
756
774
|
file_id?: import('../main.lib').FileRetrieve["id"];
|
|
@@ -780,6 +798,10 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
780
798
|
}): Promise<ArrayBuffer>;
|
|
781
799
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
782
800
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
801
|
+
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
802
|
+
crmSmartObjectMetadata(payload: import('./payload.types').CRMSmartObjectMetadataPayload): Promise<any>;
|
|
803
|
+
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
804
|
+
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
783
805
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
784
806
|
getFolder(payload?: {
|
|
785
807
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -98,6 +98,15 @@ export interface CRMQueryPayload {
|
|
|
98
98
|
*/
|
|
99
99
|
service?: CRMServiceType;
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Payload for retrieving CRM smart object metadata (iOS only).
|
|
103
|
+
*/
|
|
104
|
+
export interface CRMSmartObjectMetadataPayload {
|
|
105
|
+
/**
|
|
106
|
+
* The name of the CRM object to retrieve metadata for (e.g., 'Account', 'Contact', 'Opportunity').
|
|
107
|
+
*/
|
|
108
|
+
object: string;
|
|
109
|
+
}
|
|
101
110
|
/**
|
|
102
111
|
* Payload for submitting user feedback.
|
|
103
112
|
*/
|
|
@@ -288,3 +297,45 @@ export type FolderListRequest = {
|
|
|
288
297
|
page_size?: number;
|
|
289
298
|
id__in?: string[];
|
|
290
299
|
};
|
|
300
|
+
/**
|
|
301
|
+
* Represents a single CRM object to be upserted.
|
|
302
|
+
*/
|
|
303
|
+
export interface UpsertCRMObject {
|
|
304
|
+
/**
|
|
305
|
+
* The name of the CRM table/object to upsert into.
|
|
306
|
+
*/
|
|
307
|
+
table_name: string;
|
|
308
|
+
/**
|
|
309
|
+
* Array of objects to upsert. Each object is a key-value map of field names to values.
|
|
310
|
+
*
|
|
311
|
+
* **Important**: When creating new records, each object must include an explicit identifier field
|
|
312
|
+
* (e.g., `Id`) passed from the frontend. The backend does not auto-generate IDs.
|
|
313
|
+
*/
|
|
314
|
+
objects: Array<Record<string, any>>;
|
|
315
|
+
/**
|
|
316
|
+
* Optional external ID path for identifying records during upsert.
|
|
317
|
+
* Used to determine if a record should be created or updated.
|
|
318
|
+
*
|
|
319
|
+
* **Important**: Always provide this field when performing updates to ensure records are
|
|
320
|
+
* matched correctly. Without it, the operation may create duplicate records instead of updating existing ones.
|
|
321
|
+
*/
|
|
322
|
+
external_id_path?: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Payload for upserting CRM objects (iOS only).
|
|
326
|
+
*/
|
|
327
|
+
export interface UpsertCRMObjectsPayload {
|
|
328
|
+
/**
|
|
329
|
+
* Array of CRM objects to be upserted.
|
|
330
|
+
*/
|
|
331
|
+
objects: UpsertCRMObject[];
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Payload for getting CRM smart object validation rules (iOS only).
|
|
335
|
+
*/
|
|
336
|
+
export interface CRMSmartObjectValidationRulesPayload {
|
|
337
|
+
/**
|
|
338
|
+
* The name of the CRM object (e.g., 'Account', 'Contact', 'Opportunity').
|
|
339
|
+
*/
|
|
340
|
+
object: string;
|
|
341
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const PEER_CONNECTIVITY_EVENT = "peer_connectivity_event";
|
|
2
|
+
export declare const PeerConnectivityActions: {
|
|
3
|
+
readonly CANVAS_PAGE_NEXT: "canvas.navigate.next";
|
|
4
|
+
readonly CANVAS_PAGE_PREVIOUS: "canvas.navigate.previous";
|
|
5
|
+
readonly CANVAS_OPEN: "canvas.open";
|
|
6
|
+
readonly CANVAS_CLOSE: "canvas.close";
|
|
7
|
+
readonly ROUTE_CHANGE: "route.change";
|
|
8
|
+
readonly FILE_OPEN: "file.open";
|
|
9
|
+
readonly FILE_CLOSE: "file.close";
|
|
10
|
+
readonly BROWSER_FOLDER_OPEN: "browser.folder.open";
|
|
11
|
+
};
|
|
12
|
+
export declare const DEFAULT_PEER_CONNECTIVITY_VERSION = 1;
|
|
13
|
+
export declare const PEER_CONNECTIVITY_HANDLER_MATCH_ALL = "*";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PeerConnectivityDispatchOptions, PeerConnectivityEventHandler, PeerConnectivityEventPayload } from './peerConnectivity.types';
|
|
2
|
+
export declare function registerPeerConnectivityHandler(actionOrActions: string | string[], handler: PeerConnectivityEventHandler): () => void;
|
|
3
|
+
export declare function sendPeerConnectivityEvent(payload: PeerConnectivityEventPayload, options?: PeerConnectivityDispatchOptions): Promise<void>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PeerConnectivityActions } from './peerConnectivity.constants';
|
|
2
|
+
export interface PeerConnectivityContext {
|
|
3
|
+
canvasId?: string;
|
|
4
|
+
fileId?: string;
|
|
5
|
+
routeName?: string;
|
|
6
|
+
routePath?: string;
|
|
7
|
+
viewId?: string;
|
|
8
|
+
viewType?: string;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface PeerConnectivityMetadata {
|
|
12
|
+
correlationId: string;
|
|
13
|
+
source: string;
|
|
14
|
+
timestamp: number;
|
|
15
|
+
extras?: Record<string, unknown>;
|
|
16
|
+
}
|
|
17
|
+
export interface PeerConnectivityEventPayload<TData extends Record<string, unknown> = Record<string, unknown>, TContext extends PeerConnectivityContext = PeerConnectivityContext> {
|
|
18
|
+
version?: number;
|
|
19
|
+
action: string;
|
|
20
|
+
context?: TContext;
|
|
21
|
+
data?: TData;
|
|
22
|
+
metadata?: Partial<PeerConnectivityMetadata>;
|
|
23
|
+
}
|
|
24
|
+
export interface PeerConnectivityEvent<TData extends Record<string, unknown> = Record<string, unknown>, TContext extends PeerConnectivityContext = PeerConnectivityContext> extends PeerConnectivityEventPayload<TData, TContext> {
|
|
25
|
+
version: number;
|
|
26
|
+
metadata: PeerConnectivityMetadata;
|
|
27
|
+
}
|
|
28
|
+
export type PeerConnectivityAction = (typeof PeerConnectivityActions)[keyof typeof PeerConnectivityActions] | string;
|
|
29
|
+
export type PeerConnectivityEventHandler<TData extends Record<string, unknown> = Record<string, unknown>, TContext extends PeerConnectivityContext = PeerConnectivityContext> = (event: PeerConnectivityEvent<TData, TContext>) => void;
|
|
30
|
+
export interface PeerConnectivityDispatchOptions {
|
|
31
|
+
/**
|
|
32
|
+
* Guards if feature flag is enabled for the current organization.
|
|
33
|
+
*/
|
|
34
|
+
isFeatureEnabled?: boolean;
|
|
35
|
+
}
|
package/lib/theme/light.d.ts
CHANGED
|
@@ -741,7 +741,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
741
741
|
arrowOffsetVertical: string;
|
|
742
742
|
arrowHeight: string;
|
|
743
743
|
padding: string;
|
|
744
|
-
},
|
|
744
|
+
}, {
|
|
745
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
746
|
+
height: string;
|
|
747
|
+
width: string;
|
|
748
|
+
borderRadius: string;
|
|
749
|
+
color: string;
|
|
750
|
+
colorHover: string;
|
|
751
|
+
railInsetHorizontalBottom: string;
|
|
752
|
+
railInsetHorizontalTop: string;
|
|
753
|
+
railInsetVerticalRight: string;
|
|
754
|
+
railInsetVerticalLeft: string;
|
|
755
|
+
railColor: string;
|
|
756
|
+
}, any>;
|
|
757
|
+
}>;
|
|
745
758
|
}>> | undefined;
|
|
746
759
|
InternalSelectMenu?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"InternalSelectMenu", {
|
|
747
760
|
optionFontSizeTiny: string;
|
|
@@ -948,7 +961,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
948
961
|
paddingMedium: string;
|
|
949
962
|
paddingLarge: string;
|
|
950
963
|
clearSize: string;
|
|
951
|
-
},
|
|
964
|
+
}, {
|
|
965
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
966
|
+
height: string;
|
|
967
|
+
width: string;
|
|
968
|
+
borderRadius: string;
|
|
969
|
+
color: string;
|
|
970
|
+
colorHover: string;
|
|
971
|
+
railInsetHorizontalBottom: string;
|
|
972
|
+
railInsetHorizontalTop: string;
|
|
973
|
+
railInsetVerticalRight: string;
|
|
974
|
+
railInsetVerticalLeft: string;
|
|
975
|
+
railColor: string;
|
|
976
|
+
}, any>;
|
|
977
|
+
}>> | undefined;
|
|
952
978
|
} | undefined;
|
|
953
979
|
} & {
|
|
954
980
|
common?: Partial<ThemeCommonVars>;
|
|
@@ -1538,7 +1564,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1538
1564
|
arrowOffsetVertical: string;
|
|
1539
1565
|
arrowHeight: string;
|
|
1540
1566
|
padding: string;
|
|
1541
|
-
},
|
|
1567
|
+
}, {
|
|
1568
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1569
|
+
height: string;
|
|
1570
|
+
width: string;
|
|
1571
|
+
borderRadius: string;
|
|
1572
|
+
color: string;
|
|
1573
|
+
colorHover: string;
|
|
1574
|
+
railInsetHorizontalBottom: string;
|
|
1575
|
+
railInsetHorizontalTop: string;
|
|
1576
|
+
railInsetVerticalRight: string;
|
|
1577
|
+
railInsetVerticalLeft: string;
|
|
1578
|
+
railColor: string;
|
|
1579
|
+
}, any>;
|
|
1580
|
+
}>;
|
|
1542
1581
|
}>;
|
|
1543
1582
|
InternalSelectMenu: import('naive-ui/es/_mixins').Theme<"InternalSelectMenu", {
|
|
1544
1583
|
optionFontSizeTiny: string;
|
|
@@ -1669,7 +1708,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1669
1708
|
paddingMedium: string;
|
|
1670
1709
|
paddingLarge: string;
|
|
1671
1710
|
clearSize: string;
|
|
1672
|
-
},
|
|
1711
|
+
}, {
|
|
1712
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1713
|
+
height: string;
|
|
1714
|
+
width: string;
|
|
1715
|
+
borderRadius: string;
|
|
1716
|
+
color: string;
|
|
1717
|
+
colorHover: string;
|
|
1718
|
+
railInsetHorizontalBottom: string;
|
|
1719
|
+
railInsetHorizontalTop: string;
|
|
1720
|
+
railInsetVerticalRight: string;
|
|
1721
|
+
railInsetVerticalLeft: string;
|
|
1722
|
+
railColor: string;
|
|
1723
|
+
}, any>;
|
|
1724
|
+
}>;
|
|
1673
1725
|
Popselect: import('naive-ui/es/_mixins').Theme<"Popselect", {
|
|
1674
1726
|
menuBoxShadow: string;
|
|
1675
1727
|
}, {
|
|
@@ -1686,7 +1738,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1686
1738
|
arrowOffsetVertical: string;
|
|
1687
1739
|
arrowHeight: string;
|
|
1688
1740
|
padding: string;
|
|
1689
|
-
},
|
|
1741
|
+
}, {
|
|
1742
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1743
|
+
height: string;
|
|
1744
|
+
width: string;
|
|
1745
|
+
borderRadius: string;
|
|
1746
|
+
color: string;
|
|
1747
|
+
colorHover: string;
|
|
1748
|
+
railInsetHorizontalBottom: string;
|
|
1749
|
+
railInsetHorizontalTop: string;
|
|
1750
|
+
railInsetVerticalRight: string;
|
|
1751
|
+
railInsetVerticalLeft: string;
|
|
1752
|
+
railColor: string;
|
|
1753
|
+
}, any>;
|
|
1754
|
+
}>;
|
|
1690
1755
|
InternalSelectMenu: import('naive-ui/es/_mixins').Theme<"InternalSelectMenu", {
|
|
1691
1756
|
optionFontSizeTiny: string;
|
|
1692
1757
|
optionFontSizeSmall: string;
|
|
@@ -1796,7 +1861,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1796
1861
|
arrowOffsetVertical: string;
|
|
1797
1862
|
arrowHeight: string;
|
|
1798
1863
|
padding: string;
|
|
1799
|
-
},
|
|
1864
|
+
}, {
|
|
1865
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1866
|
+
height: string;
|
|
1867
|
+
width: string;
|
|
1868
|
+
borderRadius: string;
|
|
1869
|
+
color: string;
|
|
1870
|
+
colorHover: string;
|
|
1871
|
+
railInsetHorizontalBottom: string;
|
|
1872
|
+
railInsetHorizontalTop: string;
|
|
1873
|
+
railInsetVerticalRight: string;
|
|
1874
|
+
railInsetVerticalLeft: string;
|
|
1875
|
+
railColor: string;
|
|
1876
|
+
}, any>;
|
|
1877
|
+
}>> | undefined;
|
|
1800
1878
|
Ellipsis?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Ellipsis", unknown, {
|
|
1801
1879
|
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
1802
1880
|
borderRadius: string;
|
|
@@ -1818,7 +1896,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1818
1896
|
arrowOffsetVertical: string;
|
|
1819
1897
|
arrowHeight: string;
|
|
1820
1898
|
padding: string;
|
|
1821
|
-
},
|
|
1899
|
+
}, {
|
|
1900
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1901
|
+
height: string;
|
|
1902
|
+
width: string;
|
|
1903
|
+
borderRadius: string;
|
|
1904
|
+
color: string;
|
|
1905
|
+
colorHover: string;
|
|
1906
|
+
railInsetHorizontalBottom: string;
|
|
1907
|
+
railInsetHorizontalTop: string;
|
|
1908
|
+
railInsetVerticalRight: string;
|
|
1909
|
+
railInsetVerticalLeft: string;
|
|
1910
|
+
railColor: string;
|
|
1911
|
+
}, any>;
|
|
1912
|
+
}>;
|
|
1822
1913
|
}>;
|
|
1823
1914
|
}>> | undefined;
|
|
1824
1915
|
Dropdown?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Dropdown", {
|
|
@@ -1889,7 +1980,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1889
1980
|
arrowOffsetVertical: string;
|
|
1890
1981
|
arrowHeight: string;
|
|
1891
1982
|
padding: string;
|
|
1892
|
-
},
|
|
1983
|
+
}, {
|
|
1984
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1985
|
+
height: string;
|
|
1986
|
+
width: string;
|
|
1987
|
+
borderRadius: string;
|
|
1988
|
+
color: string;
|
|
1989
|
+
colorHover: string;
|
|
1990
|
+
railInsetHorizontalBottom: string;
|
|
1991
|
+
railInsetHorizontalTop: string;
|
|
1992
|
+
railInsetVerticalRight: string;
|
|
1993
|
+
railInsetVerticalLeft: string;
|
|
1994
|
+
railColor: string;
|
|
1995
|
+
}, any>;
|
|
1996
|
+
}>;
|
|
1893
1997
|
}>> | undefined;
|
|
1894
1998
|
} | undefined;
|
|
1895
1999
|
} & {
|
|
@@ -2241,6 +2345,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
2241
2345
|
loadingColor: string;
|
|
2242
2346
|
lineHeight: string;
|
|
2243
2347
|
borderRadius: string;
|
|
2348
|
+
border: string;
|
|
2244
2349
|
margin: string;
|
|
2245
2350
|
padding: string;
|
|
2246
2351
|
maxWidth: string;
|
package/lib/types/app.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { File, MetadataTemplateFieldTypeEnum } from '../../types/openapi';
|
|
2
2
|
export type EmbedLocation = 'ui_app' | 'canvas' | 'dsr' | 'admin_instance' | 'overlay_app' | 'canvas_section_execution' | 'canvas_drawer';
|
|
3
|
+
export interface AppRouteConfig {
|
|
4
|
+
display_name?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export type AppRoutesMap = Record<string, AppRouteConfig>;
|
|
3
9
|
export type ModuleSettingsOption = {
|
|
4
10
|
label: string;
|
|
5
11
|
value: string;
|
|
@@ -86,6 +92,7 @@ export type AppJson = {
|
|
|
86
92
|
app_type?: 'canvas-popup' | 'section-selector' | 'sharebox';
|
|
87
93
|
app_options?: AppTypeJsonOptions;
|
|
88
94
|
order_override?: number;
|
|
95
|
+
has_multiple_routes?: boolean;
|
|
89
96
|
};
|
|
90
97
|
export type AppFile = File & {
|
|
91
98
|
app_metadata?: AppJson;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LaunchDarklyBooleanFlagKey = 'ai_code_generation_model' | 'ai_text_generation_model' | 'ai_image_generation_model' | 'ai_video_generation_model' | 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_content_grid_autofill' | 'allow_canvas_duplication' | 'allow_canvases_tables_columns_settings' | 'allow_table_column_resizing' | 'allow_creating_canvas_with_no_template' | 'allow_dynamic_data_table_for_scribble_component' | 'allow_html_for_scribble_component' | 'allow_embeddable_for_scribble_component' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'enable_canvas_core_distributions' | 'enable_file_core_distributions' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_custom_tooltips' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'disable_download_canvas' | 'enable_ai_generated_thumbnails' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_algolia_search' | 'enable_background_image_theme_options' | 'enable_better_canvas_builder_control_bars_on_zoom' | 'enable_bulk_update_file_attributes' | 'enable_canvas_as_home' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_locks' | 'enable_canvas_template_edit_in_impact' | 'enable_canvas_tokens' | 'enable_collaborations' | 'enable_collection_player_data_accessor' | 'enable_content_grid_data_accessor' | 'enable_content_type_change_in_content_selector' | 'enable_cross_tab_instance_reload_for_ld_sync' | 'enable_create_section_from_section_template' | 'enable_custom_display_overrides' | 'enable_default_crm_shape' | 'enable_detailed_date_format' | 'enable_dsr_readonly_annotations' | 'enable_dynamic_data_table_component' | 'enable_custom_data_tables' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_canvas_drawer_app' | 'enable_enhanced_indicators' | 'enable_enhanced_section_execution_states' | 'enable_experimental_canvas_builder_dnd' | 'enable_extra_file_data' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_hotspot_visibility' | 'enable_improved_canvas_node_updating' | 'enable_insearch_in_section_selector' | 'enable_instance_cloner' | 'enable_advanced_cloner' | 'enable_instance_editor_role' | 'enable_instance_navigation_from_management' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_more_intuitive_component_spacing' | 'enable_multimedia_component_ai_images' | 'enable_new_meeting_bar' | 'enable_original_pdf_link' | 'enable_scale_content' | 'enable_sorting_in_tiptap_table' | 'enable_theme_assets' | 'enable_toc_enhancements_to_support_same_section_in_section_list' | 'enable_pia_assistant' | 'enable_pipe_character_multi_search' | 'enable_popup_apps' | 'enable_reorder_search' | 'enable_reorder_scribble_isolation' | 'enable_reorder_component_options_menu' | 'enable_resizable_multimedia_component' | 'enable_responsive_scribble_component' | 'enable_saved_canvases_filters' | 'enable_short_tag_column_in_tables' | 'enable_scribble_component' | 'enable_scribble_content_as_background' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_selectors_dnd' | 'enable_section_selector_edit_section' | 'enable_smart_folders' | 'enable_smart_folders_for_sections' | 'enable_smart_folders_in_section_selector' | 'enable_smart_folders_in_files' | 'enable_sorting_in_sections' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'prefer_online_handlers' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_metadata_filters_in_all_canvas_things' | 'show_only_preview_mode_for_html_component' | 'show_popularity_icons' | 'use_core_endpoint_for_analytics' | 'convert_pptx_to_section_with_scribble_pdfjs' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi' | 'enable_new_section_list' | 'enable_sharebox_apps' | 'enable_sharebox_bulk_filtering' | 'enable_back_to_previous_location_in_canvas' | 'enable_crm_shape_for_external_links' | 'enable_adaptive_popup_apps' | 'enable_file_version_polling' | 'skip_pspdfkit_wait_for_high_res_thumbs' | 'enable_reactive_scribble_component_toolbar' | 'enable_embeddable_full_screen_mode' | 'enable_enhanced_user_management' | 'keep_static_pptx_editable' | 'enable_canvas_pdf_dimensions' | 'enable_editable_pptx_of_canvas' | 'enable_canvas_control_bars_collapse';
|
|
1
|
+
export type LaunchDarklyBooleanFlagKey = 'ai_code_generation_model' | 'ai_text_generation_model' | 'ai_image_generation_model' | 'ai_video_generation_model' | 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_content_grid_autofill' | 'allow_canvas_duplication' | 'allow_canvases_tables_columns_settings' | 'allow_table_column_resizing' | 'allow_creating_canvas_with_no_template' | 'allow_dynamic_data_table_for_scribble_component' | 'allow_html_for_scribble_component' | 'allow_embeddable_for_scribble_component' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_distributions' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'enable_canvas_core_distributions' | 'enable_file_core_distributions' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_custom_tooltips' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'disable_download_canvas' | 'enable_ai_generated_thumbnails' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_algolia_search' | 'enable_background_image_theme_options' | 'enable_better_canvas_builder_control_bars_on_zoom' | 'enable_bulk_update_file_attributes' | 'enable_canvas_as_home' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_locks' | 'enable_canvas_template_edit_in_impact' | 'enable_canvas_tokens' | 'enable_collaborations' | 'enable_collection_player_data_accessor' | 'enable_content_grid_data_accessor' | 'enable_content_type_change_in_content_selector' | 'enable_cross_tab_instance_reload_for_ld_sync' | 'enable_create_section_from_section_template' | 'enable_custom_display_overrides' | 'enable_default_crm_shape' | 'enable_detailed_date_format' | 'enable_dsr_readonly_annotations' | 'enable_dynamic_data_table_component' | 'enable_custom_data_tables' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_canvas_drawer_app' | 'enable_enhanced_indicators' | 'enable_enhanced_section_execution_states' | 'enable_experimental_canvas_builder_dnd' | 'enable_extra_file_data' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_hotspot_visibility' | 'enable_improved_canvas_node_updating' | 'enable_individual_users_in_file_distribution' | 'enable_insearch_in_section_selector' | 'enable_instance_cloner' | 'enable_advanced_cloner' | 'enable_instance_editor_role' | 'enable_instance_navigation_from_management' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_more_intuitive_component_spacing' | 'enable_multimedia_component_ai_images' | 'enable_new_meeting_bar' | 'enable_original_pdf_link' | 'enable_scale_content' | 'enable_sorting_in_section_picker' | 'enable_sorting_in_tiptap_table' | 'enable_theme_assets' | 'enable_toc_enhancements_to_support_same_section_in_section_list' | 'enable_pia_assistant' | 'enable_pipe_character_multi_search' | 'enable_popup_apps' | 'enable_reorder_search' | 'enable_reorder_scribble_isolation' | 'enable_reorder_component_options_menu' | 'enable_resizable_multimedia_component' | 'enable_responsive_scribble_component' | 'enable_saved_canvases_filters' | 'enable_short_tag_column_in_tables' | 'enable_scribble_component' | 'enable_scribble_content_as_background' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_selectors_dnd' | 'enable_section_selector_edit_section' | 'enable_smart_folders' | 'enable_smart_folders_for_sections' | 'enable_smart_folders_in_section_selector' | 'enable_smart_folders_in_files' | 'enable_sorting_in_sections' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'prefer_online_handlers' | 'restrict_owned_files_from_admins' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_metadata_filters_in_all_canvas_things' | 'show_only_preview_mode_for_html_component' | 'show_popularity_icons' | 'use_core_endpoint_for_analytics' | 'convert_pptx_to_section_with_scribble_pdfjs' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi' | 'enable_new_section_list' | 'enable_sharebox_apps' | 'enable_sharebox_bulk_filtering' | 'enable_back_to_previous_location_in_canvas' | 'enable_crm_shape_for_external_links' | 'enable_adaptive_popup_apps' | 'enable_file_version_polling' | 'skip_pspdfkit_wait_for_high_res_thumbs' | 'enable_reactive_scribble_component_toolbar' | 'enable_embeddable_full_screen_mode' | 'enable_enhanced_user_management' | 'keep_static_pptx_editable' | 'enable_canvas_pdf_dimensions' | 'enable_editable_pptx_of_canvas' | 'enable_canvas_control_bars_collapse';
|
|
2
2
|
export type LaunchDarklyNumberFlagKey = 'canvas_section_selector_page_size' | 'canvas_section_selector_selected_items_with_thumbnail_size';
|
|
3
3
|
type LaunchDarklyObjectFlags = {
|
|
4
4
|
canvas_manager_table_columns: CanvasManagerTableColumns;
|
|
@@ -80,6 +80,8 @@ export type OrganizationSettings = {
|
|
|
80
80
|
use_collection_player_as_default_file_viewer_for_original_extensions?: string[];
|
|
81
81
|
enable_ppt_converter_in_canvas_templates?: boolean;
|
|
82
82
|
generate_only_sections_in_ppt_converter?: boolean;
|
|
83
|
+
convert_pptx_to_html?: boolean;
|
|
84
|
+
convert_pptx_to_html_default_value?: boolean;
|
|
83
85
|
enable_search_with_suggestions?: boolean;
|
|
84
86
|
enable_search_filter_with_suggestions?: boolean;
|
|
85
87
|
enable_quick_filters_for_search_metadata_filters?: boolean;
|
|
@@ -102,5 +104,13 @@ export type OrganizationSettings = {
|
|
|
102
104
|
is_meeting_bar_account_selection_disabled?: boolean;
|
|
103
105
|
disable_postcall?: boolean;
|
|
104
106
|
launch_in_present_mode_on_creation?: boolean;
|
|
107
|
+
slotty_ui_route_config?: {
|
|
108
|
+
name: string;
|
|
109
|
+
enabled: boolean;
|
|
110
|
+
type: 'base' | 'app';
|
|
111
|
+
}[];
|
|
112
|
+
sfdc?: {
|
|
113
|
+
use_static_ip_proxy?: boolean;
|
|
114
|
+
};
|
|
105
115
|
};
|
|
106
116
|
export {};
|