@pitcher/js-api 1.21.0-beta.7 → 1.21.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/js-api.esm.js +63 -41
- 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/main.lib.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +2 -1
- package/lib/sdk/api/modules/users.d.ts +2 -1
- package/lib/sdk/main.d.ts +6 -3
- package/lib/sdk/utils/object.d.ts +1 -0
- package/lib/sdk/utils/object.spec.d.ts +1 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/package.json +1 -1
package/lib/main.lib.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ export { default as CTags } from './components/CTags/CTags.vue';
|
|
|
87
87
|
export { default as CMovableWidget } from './components/CMovableWidget/CMovableWidget.vue';
|
|
88
88
|
export { default as CUserMenu } from './components/CUserMenu/CUserMenu.vue';
|
|
89
89
|
export { default as CList } from './components/CList/CList.vue';
|
|
90
|
+
export { default as CKnockNotificationsAppWrapper } from './components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue';
|
|
90
91
|
export { default as CanvasBuilderApp } from '@canvas-builder/App.vue';
|
|
91
92
|
export { type CanvasBuilderProps, CanvasBuilderMode } from '@canvas-builder/types/canvas';
|
|
92
93
|
export { default as Browser } from '@browser/App.vue';
|
|
@@ -71,7 +71,8 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
71
71
|
includeExpired?: boolean;
|
|
72
72
|
}): Promise<any>;
|
|
73
73
|
getUsers(payload?: import('../../main.lib').GetUsersParams): Promise<import('../../main.lib').PaginatedData<import('../../main.lib').User>>;
|
|
74
|
-
refreshServiceToken(payload
|
|
74
|
+
refreshServiceToken(payload?: import('../../main.lib').RefreshServiceTokenRequest): Promise<import('../../main.lib').RefreshServiceTokenResponse>;
|
|
75
|
+
refreshAccessToken(): any;
|
|
75
76
|
fetchDocumentInfo(payload: {
|
|
76
77
|
fileId: import('../../main.lib').File["id"];
|
|
77
78
|
}): Promise<{
|
|
@@ -3,4 +3,5 @@ import { PaginatedData } from '../../../types/paginatedData';
|
|
|
3
3
|
import { User } from '../../../../types/openapi';
|
|
4
4
|
|
|
5
5
|
export declare function getUsers(payload?: GetUsersParams): Promise<PaginatedData<User>>;
|
|
6
|
-
export declare function refreshServiceToken(payload
|
|
6
|
+
export declare function refreshServiceToken(payload?: RefreshServiceTokenRequest): Promise<RefreshServiceTokenResponse>;
|
|
7
|
+
export declare function refreshAccessToken(): any;
|
package/lib/sdk/main.d.ts
CHANGED
|
@@ -124,7 +124,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
124
124
|
includeExpired?: boolean;
|
|
125
125
|
}): Promise<any>;
|
|
126
126
|
getUsers(payload?: import('../main.lib').GetUsersParams): Promise<import('../main.lib').PaginatedData<import('../main.lib').User>>;
|
|
127
|
-
refreshServiceToken(payload
|
|
127
|
+
refreshServiceToken(payload?: import('../main.lib').RefreshServiceTokenRequest): Promise<import('../main.lib').RefreshServiceTokenResponse>;
|
|
128
|
+
refreshAccessToken(): any;
|
|
128
129
|
fetchDocumentInfo(payload: {
|
|
129
130
|
fileId: import('../main.lib').File["id"];
|
|
130
131
|
}): Promise<{
|
|
@@ -288,7 +289,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
288
289
|
includeExpired?: boolean;
|
|
289
290
|
}): Promise<any>;
|
|
290
291
|
getUsers(payload?: import('../main.lib').GetUsersParams): Promise<import('../main.lib').PaginatedData<import('../main.lib').User>>;
|
|
291
|
-
refreshServiceToken(payload
|
|
292
|
+
refreshServiceToken(payload?: import('../main.lib').RefreshServiceTokenRequest): Promise<import('../main.lib').RefreshServiceTokenResponse>;
|
|
293
|
+
refreshAccessToken(): any;
|
|
292
294
|
fetchDocumentInfo(payload: {
|
|
293
295
|
fileId: import('../main.lib').File["id"];
|
|
294
296
|
}): Promise<{
|
|
@@ -435,7 +437,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
435
437
|
includeExpired?: boolean;
|
|
436
438
|
}): Promise<any>;
|
|
437
439
|
getUsers(payload?: import('../main.lib').GetUsersParams): Promise<import('../main.lib').PaginatedData<import('../main.lib').User>>;
|
|
438
|
-
refreshServiceToken(payload
|
|
440
|
+
refreshServiceToken(payload?: import('../main.lib').RefreshServiceTokenRequest): Promise<import('../main.lib').RefreshServiceTokenResponse>;
|
|
441
|
+
refreshAccessToken(): any;
|
|
439
442
|
fetchDocumentInfo(payload: {
|
|
440
443
|
fileId: import('../main.lib').File["id"];
|
|
441
444
|
}): Promise<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function truncateObject(obj: any, currentDepth?: number, lengthTrigger?: number): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TranslationOverrides } from './translations';
|
|
2
2
|
|
|
3
|
-
export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_upload' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_analytics' | 'enable_canvas_node_debugging' | 'enable_experimental_canvas_builder_dnd' | 'hide_asset_uploader' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_meeting_bar_account_selection_disabled' | 'is_meeting_bar_hidden' | 'is_rep_canvas_creation_disabled' | 'is_shared_link_creation_disabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'launch_in_present_mode_on_creation' | 'reorder_component_in_drawer' | 'show_asset_manager_for_multimedia' | 'show_popularity_icons' | 'show_system_filters' | 'prefer_online_handlers' | 'use_short_url_for_shared_link';
|
|
3
|
+
export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_upload' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_analytics' | 'enable_canvas_node_debugging' | 'enable_experimental_canvas_builder_dnd' | 'enable_knock_notifications' | 'hide_asset_uploader' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_meeting_bar_account_selection_disabled' | 'is_meeting_bar_hidden' | 'is_rep_canvas_creation_disabled' | 'is_shared_link_creation_disabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'launch_in_present_mode_on_creation' | 'reorder_component_in_drawer' | 'show_asset_manager_for_multimedia' | 'show_popularity_icons' | 'show_system_filters' | 'prefer_online_handlers' | 'use_short_url_for_shared_link';
|
|
4
4
|
type LaunchDarklyObjectFlags = {
|
|
5
5
|
canvas_table_pagination: CanvasTablePagination;
|
|
6
6
|
canvas_manager_table_columns: CanvasManagerTableColumns;
|