@looker/sdk 22.2.0 → 22.6.0
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/CHANGELOG.md +31 -1
- package/lib/3.1/funcs.d.ts +5 -5
- package/lib/3.1/funcs.js +258 -261
- package/lib/3.1/funcs.js.map +1 -1
- package/lib/3.1/methods.d.ts +5 -5
- package/lib/3.1/methods.js +4 -7
- package/lib/3.1/methods.js.map +1 -1
- package/lib/3.1/methodsInterface.d.ts +5 -5
- package/lib/3.1/models.d.ts +55 -49
- package/lib/3.1/models.js +1 -0
- package/lib/3.1/models.js.map +1 -1
- package/lib/3.1/streams.d.ts +5 -5
- package/lib/3.1/streams.js +4 -7
- package/lib/3.1/streams.js.map +1 -1
- package/lib/4.0/funcs.d.ts +106 -109
- package/lib/4.0/funcs.js +1353 -1265
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +106 -109
- package/lib/4.0/methods.js +943 -843
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +106 -109
- package/lib/4.0/models.d.ts +306 -261
- package/lib/4.0/models.js +2 -9
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +106 -109
- package/lib/4.0/streams.js +943 -843
- package/lib/4.0/streams.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/3.1/funcs.js +258 -261
- package/lib/esm/3.1/funcs.js.map +1 -1
- package/lib/esm/3.1/methods.js +4 -7
- package/lib/esm/3.1/methods.js.map +1 -1
- package/lib/esm/3.1/models.js +1 -0
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/3.1/streams.js +4 -7
- package/lib/esm/3.1/streams.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1344 -1247
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +943 -843
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/models.js +1 -7
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +943 -843
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DelimArray, IDictionary, IAPIMethods, ITransportSettings, SDKResponse } from '@looker/sdk-rtl';
|
|
2
|
-
import type { IAccessToken, IApiSession, IApiVersion, IBackupConfiguration, IColorCollection, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentValidation, IContentView, ICreateFolder, ICreateSpace, ICredentialsApi3, ICredentialsEmail, ICredentialsEmbed, ICredentialsGoogle, ICredentialsLDAP, ICredentialsLookerOpenid, ICredentialsOIDC, ICredentialsSaml, ICredentialsTotp, ICustomWelcomeEmail, IDashboard, IDashboardAggregateTableLookml, IDashboardBase, IDashboardElement, IDashboardFilter, IDashboardLayout, IDashboardLayoutComponent, IDashboardLookml, IDataActionForm, IDataActionRequest, IDataActionResponse, IDatagroup, IDBConnection, IDBConnectionTestResult, IDependencyGraph, IDialectInfo, IDigestEmails, IDigestEmailSend, IEmbedSsoParams, IEmbedUrlResponse, IError, IFolder, IGitBranch, IGitConnectionTest, IGitConnectionTestResult, IGroup, IGroupIdForGroupInclusion, IGroupIdForGroupUserInclusion, IHomepage, IHomepageItem, IHomepageSection, IIntegration, IIntegrationHub, IIntegrationTestResult, IInternalHelpResources, IInternalHelpResourcesContent, ILDAPConfig, ILDAPConfigTestResult, ILegacyFeature, ILocale, ILook, ILookmlModel, ILookmlModelExplore, ILookmlTest, ILookmlTestResult, ILookWithQuery, IManifest, IMaterializePDT, IMergeQuery, IModelSet, IOIDCConfig, IPasswordConfig, IPermission, IPermissionSet, IProject, IProjectFile, IProjectValidation, IProjectValidationCache, IProjectWorkspace, IQuery, IQueryTask, IRenderTask, IRepositoryCredential, IRequestActiveThemes, IRequestAllGroups, IRequestAllGroupUsers, IRequestAllHomepageItems, IRequestAllHomepageSections, IRequestAllIntegrations, IRequestAllRoles, IRequestAllScheduledPlans, IRequestAllUsers, IRequestContentThumbnail, IRequestCreateDashboardRenderTask, IRequestCreateLookmlDashboardRenderTask, IRequestCreateQueryTask, IRequestCreateUserCredentialsEmailPasswordReset, IRequestDeployRefToProduction, IRequestFolderChildren, IRequestFolderChildrenSearch, IRequestGraphDerivedTablesForModel, IRequestGraphDerivedTablesForView, IRequestLogin, IRequestRoleUsers, IRequestRunGitConnectionTest, IRequestRunInlineQuery, IRequestRunLook, IRequestRunLookmlTest, IRequestRunQuery, IRequestScheduledPlansForDashboard, IRequestScheduledPlansForLook, IRequestScheduledPlansForLookmlDashboard, IRequestSearchContentFavorites, IRequestSearchContentViews, IRequestSearchDashboardElements, IRequestSearchDashboards, IRequestSearchGroups, IRequestSearchHomepages, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchRoles, IRequestSearchSpaces, IRequestSearchThemes, IRequestSearchUserLoginLockouts, IRequestSearchUsers, IRequestSearchUsersNames, IRequestSpaceChildren, IRequestSpaceChildrenSearch, IRequestStartPdtBuild, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISession, ISessionConfig, ISmtpSettings, ISpace, ISpaceBase, ISqlQuery, ISqlQueryCreate, ITheme, ITimezone, IUpdateFolder, IUpdateSpace, IUser, IUserAttribute, IUserAttributeGroupValue, IUserAttributeWithValue, IUserLoginLockout, IValidationError, IWelcomeEmailTest, IWhitelabelConfiguration, IWorkspace, IWriteApiSession, IWriteBackupConfiguration, IWriteColorCollection, IWriteContentFavorite, IWriteContentMeta, IWriteCreateDashboardFilter, IWriteCredentialsEmail, IWriteCustomWelcomeEmail, IWriteDashboard, IWriteDashboardElement, IWriteDashboardFilter, IWriteDashboardLayout, IWriteDashboardLayoutComponent, IWriteDatagroup, IWriteDBConnection, IWriteGitBranch, IWriteGroup, IWriteHomepage, IWriteHomepageItem, IWriteHomepageSection, IWriteIntegration, IWriteIntegrationHub, IWriteInternalHelpResources, IWriteInternalHelpResourcesContent, IWriteLDAPConfig, IWriteLegacyFeature, IWriteLookmlModel, IWriteLookWithQuery, IWriteMergeQuery, IWriteModelSet, IWriteOIDCConfig, IWritePasswordConfig, IWritePermissionSet, IWriteProject, IWriteQuery, IWriteRepositoryCredential, IWriteRole, IWriteSamlConfig, IWriteScheduledPlan, IWriteSessionConfig, IWriteTheme, IWriteUser, IWriteUserAttribute, IWriteUserAttributeWithValue, IWriteWhitelabelConfiguration } from './models';
|
|
2
|
+
import type { IAccessToken, IApiSession, IApiVersion, IBackupConfiguration, IColorCollection, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentValidation, IContentView, ICreateFolder, ICreateSpace, ICredentialsApi3, ICredentialsEmail, ICredentialsEmbed, ICredentialsGoogle, ICredentialsLDAP, ICredentialsLookerOpenid, ICredentialsOIDC, ICredentialsSaml, ICredentialsTotp, ICustomWelcomeEmail, IDashboard, IDashboardAggregateTableLookml, IDashboardBase, IDashboardElement, IDashboardFilter, IDashboardLayout, IDashboardLayoutComponent, IDashboardLookml, IDataActionForm, IDataActionRequest, IDataActionResponse, IDatagroup, IDBConnection, IDBConnectionTestResult, IDependencyGraph, IDialectInfo, IDigestEmails, IDigestEmailSend, IEmbedSsoParams, IEmbedUrlResponse, IError, IFolder, IGitBranch, IGitConnectionTest, IGitConnectionTestResult, IGroup, IGroupIdForGroupInclusion, IGroupIdForGroupUserInclusion, IHomepage, IHomepageItem, IHomepageSection, IIntegration, IIntegrationHub, IIntegrationTestResult, IInternalHelpResources, IInternalHelpResourcesContent, ILDAPConfig, ILDAPConfigTestResult, ILegacyFeature, ILocale, ILook, ILookmlModel, ILookmlModelExplore, ILookmlTest, ILookmlTestResult, ILookWithQuery, IManifest, IMaterializePDT, IMergeQuery, IModelSet, IOIDCConfig, IPasswordConfig, IPermission, IPermissionSet, IProject, IProjectFile, IProjectValidation, IProjectValidationCache, IProjectWorkspace, IQuery, IQueryTask, IRenderTask, IRepositoryCredential, IRequestActiveThemes, IRequestAllGroups, IRequestAllGroupUsers, IRequestAllHomepageItems, IRequestAllHomepageSections, IRequestAllIntegrations, IRequestAllRoles, IRequestAllScheduledPlans, IRequestAllUsers, IRequestContentThumbnail, IRequestCreateDashboardElement, IRequestCreateDashboardRenderTask, IRequestCreateLookmlDashboardRenderTask, IRequestCreateQueryTask, IRequestCreateUserCredentialsEmailPasswordReset, IRequestDeployRefToProduction, IRequestFolderChildren, IRequestFolderChildrenSearch, IRequestGraphDerivedTablesForModel, IRequestGraphDerivedTablesForView, IRequestLogin, IRequestRoleUsers, IRequestRunGitConnectionTest, IRequestRunInlineQuery, IRequestRunLook, IRequestRunLookmlTest, IRequestRunQuery, IRequestScheduledPlansForDashboard, IRequestScheduledPlansForLook, IRequestScheduledPlansForLookmlDashboard, IRequestSearchContentFavorites, IRequestSearchContentViews, IRequestSearchDashboardElements, IRequestSearchDashboards, IRequestSearchGroups, IRequestSearchHomepages, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchRoles, IRequestSearchSpaces, IRequestSearchThemes, IRequestSearchUserLoginLockouts, IRequestSearchUsers, IRequestSearchUsersNames, IRequestSpaceChildren, IRequestSpaceChildrenSearch, IRequestStartPdtBuild, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISession, ISessionConfig, ISmtpSettings, ISpace, ISpaceBase, ISqlQuery, ISqlQueryCreate, ITheme, ITimezone, IUpdateFolder, IUpdateSpace, IUser, IUserAttribute, IUserAttributeGroupValue, IUserAttributeWithValue, IUserLoginLockout, IValidationError, IWelcomeEmailTest, IWhitelabelConfiguration, IWorkspace, IWriteApiSession, IWriteBackupConfiguration, IWriteColorCollection, IWriteContentFavorite, IWriteContentMeta, IWriteCreateDashboardFilter, IWriteCredentialsEmail, IWriteCustomWelcomeEmail, IWriteDashboard, IWriteDashboardElement, IWriteDashboardFilter, IWriteDashboardLayout, IWriteDashboardLayoutComponent, IWriteDatagroup, IWriteDBConnection, IWriteGitBranch, IWriteGroup, IWriteHomepage, IWriteHomepageItem, IWriteHomepageSection, IWriteIntegration, IWriteIntegrationHub, IWriteInternalHelpResources, IWriteInternalHelpResourcesContent, IWriteLDAPConfig, IWriteLegacyFeature, IWriteLookmlModel, IWriteLookWithQuery, IWriteMergeQuery, IWriteModelSet, IWriteOIDCConfig, IWritePasswordConfig, IWritePermissionSet, IWriteProject, IWriteQuery, IWriteRepositoryCredential, IWriteRole, IWriteSamlConfig, IWriteScheduledPlan, IWriteSessionConfig, IWriteTheme, IWriteUser, IWriteUserAttribute, IWriteUserAttributeWithValue, IWriteWhitelabelConfiguration } from './models';
|
|
3
3
|
export interface ILooker31SDK extends IAPIMethods {
|
|
4
4
|
login(request: IRequestLogin, options?: Partial<ITransportSettings>): Promise<SDKResponse<IAccessToken, IError>>;
|
|
5
5
|
login_user(user_id: number, associative?: boolean, options?: Partial<ITransportSettings>): Promise<SDKResponse<IAccessToken, IError>>;
|
|
@@ -102,7 +102,7 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
102
102
|
update_dashboard_element(dashboard_element_id: string, body: Partial<IWriteDashboardElement>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardElement, IError | IValidationError>>;
|
|
103
103
|
delete_dashboard_element(dashboard_element_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
104
104
|
dashboard_dashboard_elements(dashboard_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardElement[], IError>>;
|
|
105
|
-
create_dashboard_element(
|
|
105
|
+
create_dashboard_element(request: IRequestCreateDashboardElement, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardElement, IError | IValidationError>>;
|
|
106
106
|
dashboard_filter(dashboard_filter_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardFilter, IError>>;
|
|
107
107
|
update_dashboard_filter(dashboard_filter_id: string, body: Partial<IWriteDashboardFilter>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardFilter, IError | IValidationError>>;
|
|
108
108
|
delete_dashboard_filter(dashboard_filter_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
@@ -266,9 +266,9 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
266
266
|
update_role(role_id: number, body: Partial<IWriteRole>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole, IError | IValidationError>>;
|
|
267
267
|
delete_role(role_id: number, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
268
268
|
role_groups(role_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup[], IError>>;
|
|
269
|
-
set_role_groups(role_id: number, body: Partial<
|
|
269
|
+
set_role_groups(role_id: number, body: Partial<string[]>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup[], IError | IValidationError>>;
|
|
270
270
|
role_users(request: IRequestRoleUsers, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUser[], IError>>;
|
|
271
|
-
set_role_users(role_id: number, body: Partial<
|
|
271
|
+
set_role_users(role_id: number, body: Partial<string[]>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUser[], IError | IValidationError>>;
|
|
272
272
|
scheduled_plans_for_space(space_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan[], IError>>;
|
|
273
273
|
scheduled_plan(scheduled_plan_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan, IError>>;
|
|
274
274
|
update_scheduled_plan(scheduled_plan_id: number, body: Partial<IWriteScheduledPlan>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan, IError | IValidationError>>;
|
|
@@ -343,7 +343,7 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
343
343
|
all_user_sessions(user_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ISession[], IError>>;
|
|
344
344
|
create_user_credentials_email_password_reset(request: IRequestCreateUserCredentialsEmailPasswordReset, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsEmail, IError>>;
|
|
345
345
|
user_roles(request: IRequestUserRoles, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole[], IError>>;
|
|
346
|
-
set_user_roles(user_id: number, body: Partial<
|
|
346
|
+
set_user_roles(user_id: number, body: Partial<string[]>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole[], IError>>;
|
|
347
347
|
user_attribute_user_values(request: IRequestUserAttributeUserValues, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttributeWithValue[], IError>>;
|
|
348
348
|
set_user_attribute_user_value(user_id: number, user_attribute_id: number, body: Partial<IWriteUserAttributeWithValue>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttributeWithValue, IError | IValidationError>>;
|
|
349
349
|
delete_user_attribute_user_value(user_id: number, user_attribute_id: number, options?: Partial<ITransportSettings>): Promise<SDKResponse<void, IError>>;
|
package/lib/3.1/models.d.ts
CHANGED
|
@@ -121,6 +121,7 @@ export interface IContentValidationDashboardElement {
|
|
|
121
121
|
title_hidden?: boolean;
|
|
122
122
|
title_text?: string | null;
|
|
123
123
|
type?: string | null;
|
|
124
|
+
rich_content_json?: string | null;
|
|
124
125
|
}
|
|
125
126
|
export interface IContentValidationDashboardFilter {
|
|
126
127
|
id?: string;
|
|
@@ -348,7 +349,7 @@ export interface IDashboard {
|
|
|
348
349
|
hidden?: boolean;
|
|
349
350
|
id?: string;
|
|
350
351
|
model?: ILookModel;
|
|
351
|
-
query_timezone?: string
|
|
352
|
+
query_timezone?: string;
|
|
352
353
|
readonly?: boolean;
|
|
353
354
|
refresh_interval?: string | null;
|
|
354
355
|
refresh_interval_to_i?: number | null;
|
|
@@ -359,7 +360,7 @@ export interface IDashboard {
|
|
|
359
360
|
preferred_viewer?: string | null;
|
|
360
361
|
space?: ISpaceBase;
|
|
361
362
|
alert_sync_with_dashboard_filter_enabled?: boolean;
|
|
362
|
-
background_color?: string
|
|
363
|
+
background_color?: string;
|
|
363
364
|
created_at?: Date | null;
|
|
364
365
|
crossfilter_enabled?: boolean;
|
|
365
366
|
dashboard_elements?: IDashboardElement[] | null;
|
|
@@ -383,10 +384,10 @@ export interface IDashboard {
|
|
|
383
384
|
show_title?: boolean;
|
|
384
385
|
space_id?: string | null;
|
|
385
386
|
folder_id?: string | null;
|
|
386
|
-
text_tile_text_color?: string
|
|
387
|
-
tile_background_color?: string
|
|
388
|
-
tile_text_color?: string
|
|
389
|
-
title_color?: string
|
|
387
|
+
text_tile_text_color?: string;
|
|
388
|
+
tile_background_color?: string;
|
|
389
|
+
tile_text_color?: string;
|
|
390
|
+
title_color?: string;
|
|
390
391
|
view_count?: number | null;
|
|
391
392
|
appearance?: IDashboardAppearance;
|
|
392
393
|
}
|
|
@@ -411,7 +412,7 @@ export interface IDashboardBase {
|
|
|
411
412
|
hidden?: boolean;
|
|
412
413
|
id?: string;
|
|
413
414
|
model?: ILookModel;
|
|
414
|
-
query_timezone?: string
|
|
415
|
+
query_timezone?: string;
|
|
415
416
|
readonly?: boolean;
|
|
416
417
|
refresh_interval?: string | null;
|
|
417
418
|
refresh_interval_to_i?: number | null;
|
|
@@ -449,6 +450,7 @@ export interface IDashboardElement {
|
|
|
449
450
|
title_text?: string | null;
|
|
450
451
|
type?: string | null;
|
|
451
452
|
alert_count?: number | null;
|
|
453
|
+
rich_content_json?: string | null;
|
|
452
454
|
title_text_as_html?: string | null;
|
|
453
455
|
subtitle_text_as_html?: string | null;
|
|
454
456
|
}
|
|
@@ -538,7 +540,7 @@ export interface IDataActionUserState {
|
|
|
538
540
|
export interface IDatagroup {
|
|
539
541
|
can?: IDictionary<boolean>;
|
|
540
542
|
created_at?: number | null;
|
|
541
|
-
id?:
|
|
543
|
+
id?: number;
|
|
542
544
|
model_name?: string | null;
|
|
543
545
|
name?: string | null;
|
|
544
546
|
stale_before?: number | null;
|
|
@@ -633,6 +635,7 @@ export interface IDialect {
|
|
|
633
635
|
name?: string;
|
|
634
636
|
label?: string;
|
|
635
637
|
supports_cost_estimate?: boolean;
|
|
638
|
+
cost_estimate_style?: string | null;
|
|
636
639
|
persistent_table_indexes?: string;
|
|
637
640
|
persistent_table_sortkeys?: string;
|
|
638
641
|
persistent_table_distkey?: string;
|
|
@@ -762,7 +765,7 @@ export interface IGitBranch {
|
|
|
762
765
|
is_production?: boolean;
|
|
763
766
|
ahead_count?: number | null;
|
|
764
767
|
behind_count?: number | null;
|
|
765
|
-
commit_at?: number
|
|
768
|
+
commit_at?: number;
|
|
766
769
|
ref?: string | null;
|
|
767
770
|
remote_ref?: string | null;
|
|
768
771
|
}
|
|
@@ -808,7 +811,7 @@ export interface IHomepage {
|
|
|
808
811
|
deleted_at?: Date | null;
|
|
809
812
|
description?: string | null;
|
|
810
813
|
homepage_sections?: IHomepageSection[] | null;
|
|
811
|
-
id?:
|
|
814
|
+
id?: number;
|
|
812
815
|
section_order?: number[] | null;
|
|
813
816
|
title?: string | null;
|
|
814
817
|
updated_at?: Date | null;
|
|
@@ -829,8 +832,8 @@ export interface IHomepageItem {
|
|
|
829
832
|
dashboard_id?: number | null;
|
|
830
833
|
description?: string | null;
|
|
831
834
|
favorite_count?: number | null;
|
|
832
|
-
homepage_section_id?:
|
|
833
|
-
id?:
|
|
835
|
+
homepage_section_id?: number | null;
|
|
836
|
+
id?: number;
|
|
834
837
|
image_url?: string | null;
|
|
835
838
|
location?: string | null;
|
|
836
839
|
look_id?: number | null;
|
|
@@ -852,13 +855,13 @@ export interface IHomepageSection {
|
|
|
852
855
|
detail_url?: string | null;
|
|
853
856
|
homepage_id?: number | null;
|
|
854
857
|
homepage_items?: IHomepageItem[] | null;
|
|
855
|
-
id?:
|
|
858
|
+
id?: number;
|
|
856
859
|
is_header?: boolean;
|
|
857
860
|
item_order?: number[] | null;
|
|
858
861
|
title?: string | null;
|
|
859
862
|
updated_at?: Date | null;
|
|
860
863
|
description?: string | null;
|
|
861
|
-
visible_item_order?:
|
|
864
|
+
visible_item_order?: string[] | null;
|
|
862
865
|
}
|
|
863
866
|
export interface IImportedProject {
|
|
864
867
|
name?: string | null;
|
|
@@ -1605,28 +1608,28 @@ export interface IQuery {
|
|
|
1605
1608
|
model: string;
|
|
1606
1609
|
view: string;
|
|
1607
1610
|
fields?: string[] | null;
|
|
1608
|
-
pivots?: string[]
|
|
1609
|
-
fill_fields?: string[]
|
|
1610
|
-
filters?: IDictionary<string
|
|
1611
|
-
filter_expression?: string
|
|
1611
|
+
pivots?: string[];
|
|
1612
|
+
fill_fields?: string[];
|
|
1613
|
+
filters?: IDictionary<string>;
|
|
1614
|
+
filter_expression?: string;
|
|
1612
1615
|
sorts?: string[] | null;
|
|
1613
|
-
limit?: string
|
|
1614
|
-
column_limit?: string
|
|
1616
|
+
limit?: string;
|
|
1617
|
+
column_limit?: string;
|
|
1615
1618
|
total?: boolean | null;
|
|
1616
|
-
row_total?: string
|
|
1617
|
-
subtotals?: string[]
|
|
1619
|
+
row_total?: string;
|
|
1620
|
+
subtotals?: string[];
|
|
1618
1621
|
vis_config?: IDictionary<any> | null;
|
|
1619
1622
|
filter_config?: IDictionary<any> | null;
|
|
1620
|
-
visible_ui_sections?: string
|
|
1623
|
+
visible_ui_sections?: string;
|
|
1621
1624
|
slug?: string | null;
|
|
1622
|
-
dynamic_fields?: string
|
|
1625
|
+
dynamic_fields?: string;
|
|
1623
1626
|
client_id?: string | null;
|
|
1624
1627
|
share_url?: string | null;
|
|
1625
1628
|
expanded_share_url?: string | null;
|
|
1626
1629
|
url?: string | null;
|
|
1627
|
-
query_timezone?: string
|
|
1630
|
+
query_timezone?: string;
|
|
1628
1631
|
has_table_calculations?: boolean;
|
|
1629
|
-
runtime?: number
|
|
1632
|
+
runtime?: number;
|
|
1630
1633
|
}
|
|
1631
1634
|
export interface IQueryTask {
|
|
1632
1635
|
can?: IDictionary<boolean>;
|
|
@@ -1739,6 +1742,11 @@ export interface IRequestContentThumbnail {
|
|
|
1739
1742
|
width?: number | null;
|
|
1740
1743
|
height?: number | null;
|
|
1741
1744
|
}
|
|
1745
|
+
export interface IRequestCreateDashboardElement {
|
|
1746
|
+
body: IWriteDashboardElement;
|
|
1747
|
+
fields?: string | null;
|
|
1748
|
+
apply_filters?: boolean | null;
|
|
1749
|
+
}
|
|
1742
1750
|
export interface IRequestCreateDashboardRenderTask {
|
|
1743
1751
|
dashboard_id: number;
|
|
1744
1752
|
result_format: string;
|
|
@@ -1947,8 +1955,6 @@ export interface IRequestSearchDashboards {
|
|
|
1947
1955
|
fields?: string | null;
|
|
1948
1956
|
page?: number | null;
|
|
1949
1957
|
per_page?: number | null;
|
|
1950
|
-
limit?: number | null;
|
|
1951
|
-
offset?: number | null;
|
|
1952
1958
|
sorts?: string | null;
|
|
1953
1959
|
filter_or?: boolean | null;
|
|
1954
1960
|
}
|
|
@@ -1993,8 +1999,6 @@ export interface IRequestSearchLooks {
|
|
|
1993
1999
|
fields?: string | null;
|
|
1994
2000
|
page?: number | null;
|
|
1995
2001
|
per_page?: number | null;
|
|
1996
|
-
limit?: number | null;
|
|
1997
|
-
offset?: number | null;
|
|
1998
2002
|
sorts?: string | null;
|
|
1999
2003
|
filter_or?: boolean | null;
|
|
2000
2004
|
}
|
|
@@ -2419,7 +2423,8 @@ export declare enum SslVersion {
|
|
|
2419
2423
|
export declare enum SupportedActionTypes {
|
|
2420
2424
|
cell = "cell",
|
|
2421
2425
|
query = "query",
|
|
2422
|
-
dashboard = "dashboard"
|
|
2426
|
+
dashboard = "dashboard",
|
|
2427
|
+
none = "none"
|
|
2423
2428
|
}
|
|
2424
2429
|
export declare enum SupportedDownloadSettings {
|
|
2425
2430
|
push = "push",
|
|
@@ -2539,7 +2544,7 @@ export interface IUserAttribute {
|
|
|
2539
2544
|
value_is_hidden?: boolean;
|
|
2540
2545
|
user_can_view?: boolean;
|
|
2541
2546
|
user_can_edit?: boolean;
|
|
2542
|
-
hidden_value_domain_whitelist?: string
|
|
2547
|
+
hidden_value_domain_whitelist?: string;
|
|
2543
2548
|
}
|
|
2544
2549
|
export declare enum UserAttributeFilterTypes {
|
|
2545
2550
|
advanced_filter_string = "advanced_filter_string",
|
|
@@ -2572,7 +2577,7 @@ export interface IUserAttributeWithValue {
|
|
|
2572
2577
|
value_is_hidden?: boolean;
|
|
2573
2578
|
user_attribute_id?: number | null;
|
|
2574
2579
|
source?: string | null;
|
|
2575
|
-
hidden_value_domain_whitelist?: string
|
|
2580
|
+
hidden_value_domain_whitelist?: string;
|
|
2576
2581
|
}
|
|
2577
2582
|
export interface IUserIdOnly {
|
|
2578
2583
|
id?: number;
|
|
@@ -2706,7 +2711,7 @@ export interface IWriteCustomWelcomeEmail {
|
|
|
2706
2711
|
export interface IWriteDashboard {
|
|
2707
2712
|
description?: string | null;
|
|
2708
2713
|
hidden?: boolean;
|
|
2709
|
-
query_timezone?: string
|
|
2714
|
+
query_timezone?: string;
|
|
2710
2715
|
refresh_interval?: string | null;
|
|
2711
2716
|
folder?: IWriteFolderBase | null;
|
|
2712
2717
|
title?: string | null;
|
|
@@ -2714,7 +2719,7 @@ export interface IWriteDashboard {
|
|
|
2714
2719
|
preferred_viewer?: string | null;
|
|
2715
2720
|
space?: IWriteSpaceBase | null;
|
|
2716
2721
|
alert_sync_with_dashboard_filter_enabled?: boolean;
|
|
2717
|
-
background_color?: string
|
|
2722
|
+
background_color?: string;
|
|
2718
2723
|
crossfilter_enabled?: boolean;
|
|
2719
2724
|
deleted?: boolean;
|
|
2720
2725
|
filters_bar_collapsed?: boolean;
|
|
@@ -2724,10 +2729,10 @@ export interface IWriteDashboard {
|
|
|
2724
2729
|
show_title?: boolean;
|
|
2725
2730
|
space_id?: string | null;
|
|
2726
2731
|
folder_id?: string | null;
|
|
2727
|
-
text_tile_text_color?: string
|
|
2728
|
-
tile_background_color?: string
|
|
2729
|
-
tile_text_color?: string
|
|
2730
|
-
title_color?: string
|
|
2732
|
+
text_tile_text_color?: string;
|
|
2733
|
+
tile_background_color?: string;
|
|
2734
|
+
tile_text_color?: string;
|
|
2735
|
+
title_color?: string;
|
|
2731
2736
|
appearance?: IDashboardAppearance | null;
|
|
2732
2737
|
}
|
|
2733
2738
|
export interface IWriteDashboardBase {
|
|
@@ -2753,6 +2758,7 @@ export interface IWriteDashboardElement {
|
|
|
2753
2758
|
title_hidden?: boolean;
|
|
2754
2759
|
title_text?: string | null;
|
|
2755
2760
|
type?: string | null;
|
|
2761
|
+
rich_content_json?: string | null;
|
|
2756
2762
|
}
|
|
2757
2763
|
export interface IWriteDashboardFilter {
|
|
2758
2764
|
name?: string | null;
|
|
@@ -2852,7 +2858,7 @@ export interface IWriteHomepageItem {
|
|
|
2852
2858
|
custom_title?: string | null;
|
|
2853
2859
|
custom_url?: string | null;
|
|
2854
2860
|
dashboard_id?: number | null;
|
|
2855
|
-
homepage_section_id?:
|
|
2861
|
+
homepage_section_id?: number | null;
|
|
2856
2862
|
look_id?: number | null;
|
|
2857
2863
|
lookml_dashboard_id?: string | null;
|
|
2858
2864
|
order?: number | null;
|
|
@@ -3018,20 +3024,20 @@ export interface IWriteQuery {
|
|
|
3018
3024
|
pivots?: string[] | null;
|
|
3019
3025
|
fill_fields?: string[] | null;
|
|
3020
3026
|
filters?: IDictionary<string> | null;
|
|
3021
|
-
filter_expression?: string
|
|
3027
|
+
filter_expression?: string;
|
|
3022
3028
|
sorts?: string[] | null;
|
|
3023
|
-
limit?: string
|
|
3024
|
-
column_limit?: string
|
|
3029
|
+
limit?: string;
|
|
3030
|
+
column_limit?: string;
|
|
3025
3031
|
total?: boolean | null;
|
|
3026
|
-
row_total?: string
|
|
3032
|
+
row_total?: string;
|
|
3027
3033
|
subtotals?: string[] | null;
|
|
3028
3034
|
vis_config?: IDictionary<any> | null;
|
|
3029
3035
|
filter_config?: IDictionary<any> | null;
|
|
3030
|
-
visible_ui_sections?: string
|
|
3031
|
-
dynamic_fields?: string
|
|
3036
|
+
visible_ui_sections?: string;
|
|
3037
|
+
dynamic_fields?: string;
|
|
3032
3038
|
client_id?: string | null;
|
|
3033
|
-
query_timezone?: string
|
|
3034
|
-
runtime?: number
|
|
3039
|
+
query_timezone?: string;
|
|
3040
|
+
runtime?: number;
|
|
3035
3041
|
}
|
|
3036
3042
|
export interface IWriteRepositoryCredential {
|
|
3037
3043
|
git_username?: string | null;
|
|
@@ -3138,7 +3144,7 @@ export interface IWriteUserAttribute {
|
|
|
3138
3144
|
value_is_hidden?: boolean;
|
|
3139
3145
|
user_can_view?: boolean;
|
|
3140
3146
|
user_can_edit?: boolean;
|
|
3141
|
-
hidden_value_domain_whitelist?: string
|
|
3147
|
+
hidden_value_domain_whitelist?: string;
|
|
3142
3148
|
}
|
|
3143
3149
|
export interface IWriteUserAttributeWithValue {
|
|
3144
3150
|
value?: string | null;
|
package/lib/3.1/models.js
CHANGED
|
@@ -114,6 +114,7 @@ exports.SupportedActionTypes = SupportedActionTypes;
|
|
|
114
114
|
SupportedActionTypes["cell"] = "cell";
|
|
115
115
|
SupportedActionTypes["query"] = "query";
|
|
116
116
|
SupportedActionTypes["dashboard"] = "dashboard";
|
|
117
|
+
SupportedActionTypes["none"] = "none";
|
|
117
118
|
})(SupportedActionTypes || (exports.SupportedActionTypes = SupportedActionTypes = {}));
|
|
118
119
|
|
|
119
120
|
var SupportedDownloadSettings;
|