@looker/sdk 22.0.0 → 22.4.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/CHANGELOG.md +23 -0
- package/lib/3.1/funcs.d.ts +9 -5
- package/lib/3.1/funcs.js +948 -892
- package/lib/3.1/funcs.js.map +1 -1
- package/lib/3.1/methods.d.ts +9 -5
- package/lib/3.1/methods.js +635 -595
- package/lib/3.1/methods.js.map +1 -1
- package/lib/3.1/methodsInterface.d.ts +9 -5
- package/lib/3.1/models.d.ts +82 -49
- package/lib/3.1/models.js +11 -1
- package/lib/3.1/models.js.map +1 -1
- package/lib/3.1/streams.d.ts +9 -5
- package/lib/3.1/streams.js +635 -595
- package/lib/3.1/streams.js.map +1 -1
- package/lib/4.0/funcs.d.ts +111 -109
- package/lib/4.0/funcs.js +1190 -1031
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +111 -109
- package/lib/4.0/methods.js +840 -689
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +111 -109
- package/lib/4.0/models.d.ts +332 -261
- package/lib/4.0/models.js +11 -9
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +111 -109
- package/lib/4.0/streams.js +840 -689
- 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 +932 -888
- package/lib/esm/3.1/funcs.js.map +1 -1
- package/lib/esm/3.1/methods.js +635 -595
- package/lib/esm/3.1/methods.js.map +1 -1
- package/lib/esm/3.1/models.js +9 -0
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/3.1/streams.js +635 -595
- package/lib/esm/3.1/streams.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1166 -1013
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +840 -689
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/models.js +9 -7
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +840 -689
- 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, 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, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISession, ISessionConfig, 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>>;
|
|
@@ -58,6 +58,7 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
58
58
|
legacy_feature(legacy_feature_id: number, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILegacyFeature, IError>>;
|
|
59
59
|
update_legacy_feature(legacy_feature_id: number, body: Partial<IWriteLegacyFeature>, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILegacyFeature, IError | IValidationError>>;
|
|
60
60
|
all_locales(options?: Partial<ITransportSettings>): Promise<SDKResponse<ILocale[], IError>>;
|
|
61
|
+
set_smtp_settings(body: Partial<ISmtpSettings>, options?: Partial<ITransportSettings>): Promise<SDKResponse<void, IError | IValidationError>>;
|
|
61
62
|
all_timezones(options?: Partial<ITransportSettings>): Promise<SDKResponse<ITimezone[], IError>>;
|
|
62
63
|
versions(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IApiVersion, IError>>;
|
|
63
64
|
whitelabel_configuration(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IWhitelabelConfiguration, IError>>;
|
|
@@ -101,7 +102,7 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
101
102
|
update_dashboard_element(dashboard_element_id: string, body: Partial<IWriteDashboardElement>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardElement, IError | IValidationError>>;
|
|
102
103
|
delete_dashboard_element(dashboard_element_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
103
104
|
dashboard_dashboard_elements(dashboard_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardElement[], IError>>;
|
|
104
|
-
create_dashboard_element(
|
|
105
|
+
create_dashboard_element(request: IRequestCreateDashboardElement, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardElement, IError | IValidationError>>;
|
|
105
106
|
dashboard_filter(dashboard_filter_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardFilter, IError>>;
|
|
106
107
|
update_dashboard_filter(dashboard_filter_id: string, body: Partial<IWriteDashboardFilter>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardFilter, IError | IValidationError>>;
|
|
107
108
|
delete_dashboard_filter(dashboard_filter_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
@@ -122,6 +123,9 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
122
123
|
update_datagroup(datagroup_id: string, body: Partial<IWriteDatagroup>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDatagroup, IError | IValidationError>>;
|
|
123
124
|
graph_derived_tables_for_model(request: IRequestGraphDerivedTablesForModel, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDependencyGraph, IError>>;
|
|
124
125
|
graph_derived_tables_for_view(request: IRequestGraphDerivedTablesForView, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDependencyGraph, IError>>;
|
|
126
|
+
start_pdt_build(request: IRequestStartPdtBuild, options?: Partial<ITransportSettings>): Promise<SDKResponse<IMaterializePDT, IError>>;
|
|
127
|
+
check_pdt_build(materialization_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IMaterializePDT, IError>>;
|
|
128
|
+
stop_pdt_build(materialization_id: string, source?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IMaterializePDT, IError>>;
|
|
125
129
|
search_folders(request: IRequestSearchSpaces, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder[], IError>>;
|
|
126
130
|
folder(folder_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder, IError>>;
|
|
127
131
|
update_folder(folder_id: string, body: Partial<IUpdateFolder>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder, IError | IValidationError>>;
|
|
@@ -262,9 +266,9 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
262
266
|
update_role(role_id: number, body: Partial<IWriteRole>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole, IError | IValidationError>>;
|
|
263
267
|
delete_role(role_id: number, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
264
268
|
role_groups(role_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup[], IError>>;
|
|
265
|
-
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>>;
|
|
266
270
|
role_users(request: IRequestRoleUsers, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUser[], IError>>;
|
|
267
|
-
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>>;
|
|
268
272
|
scheduled_plans_for_space(space_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan[], IError>>;
|
|
269
273
|
scheduled_plan(scheduled_plan_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan, IError>>;
|
|
270
274
|
update_scheduled_plan(scheduled_plan_id: number, body: Partial<IWriteScheduledPlan>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan, IError | IValidationError>>;
|
|
@@ -339,7 +343,7 @@ export interface ILooker31SDK extends IAPIMethods {
|
|
|
339
343
|
all_user_sessions(user_id: number, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ISession[], IError>>;
|
|
340
344
|
create_user_credentials_email_password_reset(request: IRequestCreateUserCredentialsEmailPasswordReset, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsEmail, IError>>;
|
|
341
345
|
user_roles(request: IRequestUserRoles, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole[], IError>>;
|
|
342
|
-
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>>;
|
|
343
347
|
user_attribute_user_values(request: IRequestUserAttributeUserValues, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttributeWithValue[], IError>>;
|
|
344
348
|
set_user_attribute_user_value(user_id: number, user_attribute_id: number, body: Partial<IWriteUserAttributeWithValue>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttributeWithValue, IError | IValidationError>>;
|
|
345
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
|
}
|
|
@@ -498,6 +500,7 @@ export interface IDashboardLayoutComponent {
|
|
|
498
500
|
}
|
|
499
501
|
export interface IDashboardLookml {
|
|
500
502
|
dashboard_id?: string | null;
|
|
503
|
+
folder_id?: string | null;
|
|
501
504
|
lookml?: string | null;
|
|
502
505
|
}
|
|
503
506
|
export interface IDataActionForm {
|
|
@@ -537,7 +540,7 @@ export interface IDataActionUserState {
|
|
|
537
540
|
export interface IDatagroup {
|
|
538
541
|
can?: IDictionary<boolean>;
|
|
539
542
|
created_at?: number | null;
|
|
540
|
-
id?:
|
|
543
|
+
id?: number;
|
|
541
544
|
model_name?: string | null;
|
|
542
545
|
name?: string | null;
|
|
543
546
|
stale_before?: number | null;
|
|
@@ -632,6 +635,7 @@ export interface IDialect {
|
|
|
632
635
|
name?: string;
|
|
633
636
|
label?: string;
|
|
634
637
|
supports_cost_estimate?: boolean;
|
|
638
|
+
cost_estimate_style?: string | null;
|
|
635
639
|
persistent_table_indexes?: string;
|
|
636
640
|
persistent_table_sortkeys?: string;
|
|
637
641
|
persistent_table_distkey?: string;
|
|
@@ -761,7 +765,7 @@ export interface IGitBranch {
|
|
|
761
765
|
is_production?: boolean;
|
|
762
766
|
ahead_count?: number | null;
|
|
763
767
|
behind_count?: number | null;
|
|
764
|
-
commit_at?: number
|
|
768
|
+
commit_at?: number;
|
|
765
769
|
ref?: string | null;
|
|
766
770
|
remote_ref?: string | null;
|
|
767
771
|
}
|
|
@@ -807,7 +811,7 @@ export interface IHomepage {
|
|
|
807
811
|
deleted_at?: Date | null;
|
|
808
812
|
description?: string | null;
|
|
809
813
|
homepage_sections?: IHomepageSection[] | null;
|
|
810
|
-
id?:
|
|
814
|
+
id?: number;
|
|
811
815
|
section_order?: number[] | null;
|
|
812
816
|
title?: string | null;
|
|
813
817
|
updated_at?: Date | null;
|
|
@@ -828,8 +832,8 @@ export interface IHomepageItem {
|
|
|
828
832
|
dashboard_id?: number | null;
|
|
829
833
|
description?: string | null;
|
|
830
834
|
favorite_count?: number | null;
|
|
831
|
-
homepage_section_id?:
|
|
832
|
-
id?:
|
|
835
|
+
homepage_section_id?: number | null;
|
|
836
|
+
id?: number;
|
|
833
837
|
image_url?: string | null;
|
|
834
838
|
location?: string | null;
|
|
835
839
|
look_id?: number | null;
|
|
@@ -851,13 +855,13 @@ export interface IHomepageSection {
|
|
|
851
855
|
detail_url?: string | null;
|
|
852
856
|
homepage_id?: number | null;
|
|
853
857
|
homepage_items?: IHomepageItem[] | null;
|
|
854
|
-
id?:
|
|
858
|
+
id?: number;
|
|
855
859
|
is_header?: boolean;
|
|
856
860
|
item_order?: number[] | null;
|
|
857
861
|
title?: string | null;
|
|
858
862
|
updated_at?: Date | null;
|
|
859
863
|
description?: string | null;
|
|
860
|
-
visible_item_order?:
|
|
864
|
+
visible_item_order?: string[] | null;
|
|
861
865
|
}
|
|
862
866
|
export interface IImportedProject {
|
|
863
867
|
name?: string | null;
|
|
@@ -1384,6 +1388,10 @@ export interface IManifest {
|
|
|
1384
1388
|
imports?: IImportedProject[] | null;
|
|
1385
1389
|
localization_settings?: ILocalizationSettings;
|
|
1386
1390
|
}
|
|
1391
|
+
export interface IMaterializePDT {
|
|
1392
|
+
materialization_id?: string;
|
|
1393
|
+
resp_text?: string | null;
|
|
1394
|
+
}
|
|
1387
1395
|
export interface IMergeFields {
|
|
1388
1396
|
field_name?: string | null;
|
|
1389
1397
|
source_field_name?: string | null;
|
|
@@ -1600,28 +1608,28 @@ export interface IQuery {
|
|
|
1600
1608
|
model: string;
|
|
1601
1609
|
view: string;
|
|
1602
1610
|
fields?: string[] | null;
|
|
1603
|
-
pivots?: string[]
|
|
1604
|
-
fill_fields?: string[]
|
|
1605
|
-
filters?: IDictionary<string
|
|
1606
|
-
filter_expression?: string
|
|
1611
|
+
pivots?: string[];
|
|
1612
|
+
fill_fields?: string[];
|
|
1613
|
+
filters?: IDictionary<string>;
|
|
1614
|
+
filter_expression?: string;
|
|
1607
1615
|
sorts?: string[] | null;
|
|
1608
|
-
limit?: string
|
|
1609
|
-
column_limit?: string
|
|
1616
|
+
limit?: string;
|
|
1617
|
+
column_limit?: string;
|
|
1610
1618
|
total?: boolean | null;
|
|
1611
|
-
row_total?: string
|
|
1612
|
-
subtotals?: string[]
|
|
1619
|
+
row_total?: string;
|
|
1620
|
+
subtotals?: string[];
|
|
1613
1621
|
vis_config?: IDictionary<any> | null;
|
|
1614
1622
|
filter_config?: IDictionary<any> | null;
|
|
1615
|
-
visible_ui_sections?: string
|
|
1623
|
+
visible_ui_sections?: string;
|
|
1616
1624
|
slug?: string | null;
|
|
1617
|
-
dynamic_fields?: string
|
|
1625
|
+
dynamic_fields?: string;
|
|
1618
1626
|
client_id?: string | null;
|
|
1619
1627
|
share_url?: string | null;
|
|
1620
1628
|
expanded_share_url?: string | null;
|
|
1621
1629
|
url?: string | null;
|
|
1622
|
-
query_timezone?: string
|
|
1630
|
+
query_timezone?: string;
|
|
1623
1631
|
has_table_calculations?: boolean;
|
|
1624
|
-
runtime?: number
|
|
1632
|
+
runtime?: number;
|
|
1625
1633
|
}
|
|
1626
1634
|
export interface IQueryTask {
|
|
1627
1635
|
can?: IDictionary<boolean>;
|
|
@@ -1734,6 +1742,11 @@ export interface IRequestContentThumbnail {
|
|
|
1734
1742
|
width?: number | null;
|
|
1735
1743
|
height?: number | null;
|
|
1736
1744
|
}
|
|
1745
|
+
export interface IRequestCreateDashboardElement {
|
|
1746
|
+
body: IWriteDashboardElement;
|
|
1747
|
+
fields?: string | null;
|
|
1748
|
+
apply_filters?: boolean | null;
|
|
1749
|
+
}
|
|
1737
1750
|
export interface IRequestCreateDashboardRenderTask {
|
|
1738
1751
|
dashboard_id: number;
|
|
1739
1752
|
result_format: string;
|
|
@@ -1942,8 +1955,6 @@ export interface IRequestSearchDashboards {
|
|
|
1942
1955
|
fields?: string | null;
|
|
1943
1956
|
page?: number | null;
|
|
1944
1957
|
per_page?: number | null;
|
|
1945
|
-
limit?: number | null;
|
|
1946
|
-
offset?: number | null;
|
|
1947
1958
|
sorts?: string | null;
|
|
1948
1959
|
filter_or?: boolean | null;
|
|
1949
1960
|
}
|
|
@@ -1988,8 +1999,6 @@ export interface IRequestSearchLooks {
|
|
|
1988
1999
|
fields?: string | null;
|
|
1989
2000
|
page?: number | null;
|
|
1990
2001
|
per_page?: number | null;
|
|
1991
|
-
limit?: number | null;
|
|
1992
|
-
offset?: number | null;
|
|
1993
2002
|
sorts?: string | null;
|
|
1994
2003
|
filter_or?: boolean | null;
|
|
1995
2004
|
}
|
|
@@ -2092,6 +2101,14 @@ export interface IRequestSpaceChildrenSearch {
|
|
|
2092
2101
|
sorts?: string | null;
|
|
2093
2102
|
name?: string | null;
|
|
2094
2103
|
}
|
|
2104
|
+
export interface IRequestStartPdtBuild {
|
|
2105
|
+
model_name: string;
|
|
2106
|
+
view_name: string;
|
|
2107
|
+
force_rebuild?: string | null;
|
|
2108
|
+
force_full_incremental?: string | null;
|
|
2109
|
+
workspace?: string | null;
|
|
2110
|
+
source?: string | null;
|
|
2111
|
+
}
|
|
2095
2112
|
export interface IRequestTagRef {
|
|
2096
2113
|
project_id: string;
|
|
2097
2114
|
body: IWriteProject;
|
|
@@ -2322,6 +2339,15 @@ export interface ISessionConfig {
|
|
|
2322
2339
|
use_inactivity_based_logout?: boolean;
|
|
2323
2340
|
track_session_location?: boolean;
|
|
2324
2341
|
}
|
|
2342
|
+
export interface ISmtpSettings {
|
|
2343
|
+
address?: string;
|
|
2344
|
+
from?: string;
|
|
2345
|
+
user_name?: string;
|
|
2346
|
+
password?: string;
|
|
2347
|
+
port?: number;
|
|
2348
|
+
enable_starttls_auto?: boolean;
|
|
2349
|
+
ssl_version?: SslVersion | null;
|
|
2350
|
+
}
|
|
2325
2351
|
export interface ISnippet {
|
|
2326
2352
|
name?: string;
|
|
2327
2353
|
label?: string;
|
|
@@ -2389,10 +2415,16 @@ export interface ISqlQueryCreate {
|
|
|
2389
2415
|
sql?: string | null;
|
|
2390
2416
|
vis_config?: IDictionary<any> | null;
|
|
2391
2417
|
}
|
|
2418
|
+
export declare enum SslVersion {
|
|
2419
|
+
TLSv1_1 = "TLSv1_1",
|
|
2420
|
+
SSLv23 = "SSLv23",
|
|
2421
|
+
TLSv1_2 = "TLSv1_2"
|
|
2422
|
+
}
|
|
2392
2423
|
export declare enum SupportedActionTypes {
|
|
2393
2424
|
cell = "cell",
|
|
2394
2425
|
query = "query",
|
|
2395
|
-
dashboard = "dashboard"
|
|
2426
|
+
dashboard = "dashboard",
|
|
2427
|
+
none = "none"
|
|
2396
2428
|
}
|
|
2397
2429
|
export declare enum SupportedDownloadSettings {
|
|
2398
2430
|
push = "push",
|
|
@@ -2512,7 +2544,7 @@ export interface IUserAttribute {
|
|
|
2512
2544
|
value_is_hidden?: boolean;
|
|
2513
2545
|
user_can_view?: boolean;
|
|
2514
2546
|
user_can_edit?: boolean;
|
|
2515
|
-
hidden_value_domain_whitelist?: string
|
|
2547
|
+
hidden_value_domain_whitelist?: string;
|
|
2516
2548
|
}
|
|
2517
2549
|
export declare enum UserAttributeFilterTypes {
|
|
2518
2550
|
advanced_filter_string = "advanced_filter_string",
|
|
@@ -2545,7 +2577,7 @@ export interface IUserAttributeWithValue {
|
|
|
2545
2577
|
value_is_hidden?: boolean;
|
|
2546
2578
|
user_attribute_id?: number | null;
|
|
2547
2579
|
source?: string | null;
|
|
2548
|
-
hidden_value_domain_whitelist?: string
|
|
2580
|
+
hidden_value_domain_whitelist?: string;
|
|
2549
2581
|
}
|
|
2550
2582
|
export interface IUserIdOnly {
|
|
2551
2583
|
id?: number;
|
|
@@ -2679,7 +2711,7 @@ export interface IWriteCustomWelcomeEmail {
|
|
|
2679
2711
|
export interface IWriteDashboard {
|
|
2680
2712
|
description?: string | null;
|
|
2681
2713
|
hidden?: boolean;
|
|
2682
|
-
query_timezone?: string
|
|
2714
|
+
query_timezone?: string;
|
|
2683
2715
|
refresh_interval?: string | null;
|
|
2684
2716
|
folder?: IWriteFolderBase | null;
|
|
2685
2717
|
title?: string | null;
|
|
@@ -2687,7 +2719,7 @@ export interface IWriteDashboard {
|
|
|
2687
2719
|
preferred_viewer?: string | null;
|
|
2688
2720
|
space?: IWriteSpaceBase | null;
|
|
2689
2721
|
alert_sync_with_dashboard_filter_enabled?: boolean;
|
|
2690
|
-
background_color?: string
|
|
2722
|
+
background_color?: string;
|
|
2691
2723
|
crossfilter_enabled?: boolean;
|
|
2692
2724
|
deleted?: boolean;
|
|
2693
2725
|
filters_bar_collapsed?: boolean;
|
|
@@ -2697,10 +2729,10 @@ export interface IWriteDashboard {
|
|
|
2697
2729
|
show_title?: boolean;
|
|
2698
2730
|
space_id?: string | null;
|
|
2699
2731
|
folder_id?: string | null;
|
|
2700
|
-
text_tile_text_color?: string
|
|
2701
|
-
tile_background_color?: string
|
|
2702
|
-
tile_text_color?: string
|
|
2703
|
-
title_color?: string
|
|
2732
|
+
text_tile_text_color?: string;
|
|
2733
|
+
tile_background_color?: string;
|
|
2734
|
+
tile_text_color?: string;
|
|
2735
|
+
title_color?: string;
|
|
2704
2736
|
appearance?: IDashboardAppearance | null;
|
|
2705
2737
|
}
|
|
2706
2738
|
export interface IWriteDashboardBase {
|
|
@@ -2726,6 +2758,7 @@ export interface IWriteDashboardElement {
|
|
|
2726
2758
|
title_hidden?: boolean;
|
|
2727
2759
|
title_text?: string | null;
|
|
2728
2760
|
type?: string | null;
|
|
2761
|
+
rich_content_json?: string | null;
|
|
2729
2762
|
}
|
|
2730
2763
|
export interface IWriteDashboardFilter {
|
|
2731
2764
|
name?: string | null;
|
|
@@ -2825,7 +2858,7 @@ export interface IWriteHomepageItem {
|
|
|
2825
2858
|
custom_title?: string | null;
|
|
2826
2859
|
custom_url?: string | null;
|
|
2827
2860
|
dashboard_id?: number | null;
|
|
2828
|
-
homepage_section_id?:
|
|
2861
|
+
homepage_section_id?: number | null;
|
|
2829
2862
|
look_id?: number | null;
|
|
2830
2863
|
lookml_dashboard_id?: string | null;
|
|
2831
2864
|
order?: number | null;
|
|
@@ -2991,20 +3024,20 @@ export interface IWriteQuery {
|
|
|
2991
3024
|
pivots?: string[] | null;
|
|
2992
3025
|
fill_fields?: string[] | null;
|
|
2993
3026
|
filters?: IDictionary<string> | null;
|
|
2994
|
-
filter_expression?: string
|
|
3027
|
+
filter_expression?: string;
|
|
2995
3028
|
sorts?: string[] | null;
|
|
2996
|
-
limit?: string
|
|
2997
|
-
column_limit?: string
|
|
3029
|
+
limit?: string;
|
|
3030
|
+
column_limit?: string;
|
|
2998
3031
|
total?: boolean | null;
|
|
2999
|
-
row_total?: string
|
|
3032
|
+
row_total?: string;
|
|
3000
3033
|
subtotals?: string[] | null;
|
|
3001
3034
|
vis_config?: IDictionary<any> | null;
|
|
3002
3035
|
filter_config?: IDictionary<any> | null;
|
|
3003
|
-
visible_ui_sections?: string
|
|
3004
|
-
dynamic_fields?: string
|
|
3036
|
+
visible_ui_sections?: string;
|
|
3037
|
+
dynamic_fields?: string;
|
|
3005
3038
|
client_id?: string | null;
|
|
3006
|
-
query_timezone?: string
|
|
3007
|
-
runtime?: number
|
|
3039
|
+
query_timezone?: string;
|
|
3040
|
+
runtime?: number;
|
|
3008
3041
|
}
|
|
3009
3042
|
export interface IWriteRepositoryCredential {
|
|
3010
3043
|
git_username?: string | null;
|
|
@@ -3111,7 +3144,7 @@ export interface IWriteUserAttribute {
|
|
|
3111
3144
|
value_is_hidden?: boolean;
|
|
3112
3145
|
user_can_view?: boolean;
|
|
3113
3146
|
user_can_edit?: boolean;
|
|
3114
|
-
hidden_value_domain_whitelist?: string
|
|
3147
|
+
hidden_value_domain_whitelist?: string;
|
|
3115
3148
|
}
|
|
3116
3149
|
export interface IWriteUserAttributeWithValue {
|
|
3117
3150
|
value?: string | null;
|
package/lib/3.1/models.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.WeekStartDay = exports.UserAttributeFilterTypes = exports.SupportedVisualizationFormattings = exports.SupportedFormattings = exports.SupportedFormats = exports.SupportedDownloadSettings = exports.SupportedActionTypes = exports.ResultFormat = exports.PullRequestMode = exports.PermissionType = exports.Name = exports.Format = exports.FillStyle = exports.DependencyStatus = exports.Category = exports.Align = void 0;
|
|
6
|
+
exports.WeekStartDay = exports.UserAttributeFilterTypes = exports.SupportedVisualizationFormattings = exports.SupportedFormattings = exports.SupportedFormats = exports.SupportedDownloadSettings = exports.SupportedActionTypes = exports.SslVersion = exports.ResultFormat = exports.PullRequestMode = exports.PermissionType = exports.Name = exports.Format = exports.FillStyle = exports.DependencyStatus = exports.Category = exports.Align = void 0;
|
|
7
7
|
var Align;
|
|
8
8
|
exports.Align = Align;
|
|
9
9
|
|
|
@@ -98,6 +98,15 @@ exports.ResultFormat = ResultFormat;
|
|
|
98
98
|
ResultFormat["gsxml"] = "gsxml";
|
|
99
99
|
})(ResultFormat || (exports.ResultFormat = ResultFormat = {}));
|
|
100
100
|
|
|
101
|
+
var SslVersion;
|
|
102
|
+
exports.SslVersion = SslVersion;
|
|
103
|
+
|
|
104
|
+
(function (SslVersion) {
|
|
105
|
+
SslVersion["TLSv1_1"] = "TLSv1_1";
|
|
106
|
+
SslVersion["SSLv23"] = "SSLv23";
|
|
107
|
+
SslVersion["TLSv1_2"] = "TLSv1_2";
|
|
108
|
+
})(SslVersion || (exports.SslVersion = SslVersion = {}));
|
|
109
|
+
|
|
101
110
|
var SupportedActionTypes;
|
|
102
111
|
exports.SupportedActionTypes = SupportedActionTypes;
|
|
103
112
|
|
|
@@ -105,6 +114,7 @@ exports.SupportedActionTypes = SupportedActionTypes;
|
|
|
105
114
|
SupportedActionTypes["cell"] = "cell";
|
|
106
115
|
SupportedActionTypes["query"] = "query";
|
|
107
116
|
SupportedActionTypes["dashboard"] = "dashboard";
|
|
117
|
+
SupportedActionTypes["none"] = "none";
|
|
108
118
|
})(SupportedActionTypes || (exports.SupportedActionTypes = SupportedActionTypes = {}));
|
|
109
119
|
|
|
110
120
|
var SupportedDownloadSettings;
|