@looker/sdk 22.14.0 → 22.18.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 +14 -0
- package/lib/3.1/models.d.ts +1 -0
- package/lib/3.1/models.js.map +1 -1
- package/lib/4.0/funcs.d.ts +4 -1
- package/lib/4.0/funcs.js +1239 -1202
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +4 -1
- package/lib/4.0/methods.js +823 -798
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +4 -1
- package/lib/4.0/models.d.ts +42 -0
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +4 -1
- package/lib/4.0/streams.js +823 -798
- 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/models.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1225 -1197
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +823 -798
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +823 -798
- 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 +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DelimArray, IDictionary, IAPIMethods, ITransportSettings, SDKResponse } from '@looker/sdk-rtl';
|
|
2
|
-
import type { IAccessToken, IAlert, IAlertNotifications, IAlertPatch, IApiSession, IApiVersion, IBackupConfiguration, IBoard, IBoardItem, IBoardSection, IColorCollection, IColumnSearch, IConnectionFeatures, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentValidation, IContentView, ICostEstimate, ICreateCostEstimate, ICreateCredentialsApi3, ICreateEmbedUserRequest, ICreateFolder, ICreateOAuthApplicationUserStateRequest, ICreateOAuthApplicationUserStateResponse, ICredentialsApi3, ICredentialsEmail, ICredentialsEmailSearch, 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, IEgressIpAddresses, IEmbedParams, IEmbedSecret, IEmbedSsoParams, IEmbedUrlResponse, IError, IExternalOauthApplication, IFolder, IGitBranch, IGitConnectionTest, IGitConnectionTestResult, IGroup, IGroupHierarchy, IGroupIdForGroupInclusion, IGroupIdForGroupUserInclusion, IGroupSearch, IHomepageSection, IIntegration, IIntegrationHub, IIntegrationTestResult, IInternalHelpResources, IInternalHelpResourcesContent, ILDAPConfig, ILDAPConfigTestResult, ILegacyFeature, ILocale, ILook, ILookmlModel, ILookmlModelExplore, ILookmlTest, ILookmlTestResult, ILookWithQuery, IManifest, IMaterializePDT, IMergeQuery, IMobileSettings, IMobileToken, IModel, IModelFieldSuggestions, IModelSet, IOauthClientApp, IOIDCConfig, IPasswordConfig, IPermission, IPermissionSet, IProject, IProjectFile, IProjectValidation, IProjectValidationCache, IProjectWorkspace, IQuery, IQueryTask, IRenderTask, IRepositoryCredential, IRequestActiveThemes, IRequestAlertNotifications, IRequestAllBoardItems, IRequestAllBoardSections, IRequestAllExternalOauthApplications, IRequestAllGroups, IRequestAllGroupUsers, IRequestAllIntegrations, IRequestAllLookmlModels, IRequestAllRoles, IRequestAllScheduledPlans, IRequestAllUserAttributes, IRequestAllUsers, IRequestConnectionColumns, IRequestConnectionSchemas, IRequestConnectionSearchColumns, IRequestConnectionTables, IRequestContentThumbnail, IRequestCreateDashboardElement, IRequestCreateDashboardRenderTask, IRequestCreateQueryTask, IRequestCreateUserCredentialsEmailPasswordReset, IRequestDeployRefToProduction, IRequestFolderChildren, IRequestFolderChildrenSearch, IRequestGraphDerivedTablesForModel, IRequestGraphDerivedTablesForView, IRequestLogin, IRequestModelFieldnameSuggestions, IRequestRoleUsers, IRequestRunGitConnectionTest, IRequestRunInlineQuery, IRequestRunLook, IRequestRunLookmlTest, IRequestRunQuery, IRequestScheduledPlansForDashboard, IRequestScheduledPlansForLook, IRequestScheduledPlansForLookmlDashboard, IRequestSearchAlerts, IRequestSearchBoards, IRequestSearchContentFavorites, IRequestSearchContentViews, IRequestSearchCredentialsEmail, IRequestSearchDashboardElements, IRequestSearchDashboards, IRequestSearchFolders, IRequestSearchGroups, IRequestSearchGroupsWithHierarchy, IRequestSearchGroupsWithRoles, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchPermissionSets, IRequestSearchRoles, IRequestSearchRolesWithUserCount, IRequestSearchThemes, IRequestSearchUserLoginLockouts, IRequestSearchUsers, IRequestSearchUsersNames, IRequestStartPdtBuild, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRoleSearch, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISchema, ISchemaColumns, ISchemaTables, ISession, ISessionConfig, ISetting, ISmtpSettings, ISmtpStatus, ISqlQuery, ISqlQueryCreate, ISshPublicKey, ISshServer, ISshTunnel, ISupportAccessAddEntries, ISupportAccessAllowlistEntry, ISupportAccessEnable, ISupportAccessStatus, ITheme, ITimezone, IUpdateFolder, IUser, IUserAttribute, IUserAttributeGroupValue, IUserAttributeWithValue, IUserEmailOnly, IUserLoginLockout, IUserPublic, IValidationError, IWelcomeEmailTest, IWhitelabelConfiguration, IWorkspace, IWriteAlert, IWriteApiSession, IWriteBackupConfiguration, IWriteBoard, IWriteBoardItem, IWriteBoardSection, IWriteColorCollection, IWriteContentFavorite, IWriteContentMeta, IWriteCreateDashboardFilter, IWriteCredentialsEmail, IWriteDashboard, IWriteDashboardElement, IWriteDashboardFilter, IWriteDashboardLayout, IWriteDashboardLayoutComponent, IWriteDashboardLookml, IWriteDatagroup, IWriteDBConnection, IWriteEmbedSecret, IWriteExternalOauthApplication, IWriteGitBranch, IWriteGroup, IWriteIntegration, IWriteIntegrationHub, IWriteInternalHelpResources, IWriteInternalHelpResourcesContent, IWriteLDAPConfig, IWriteLegacyFeature, IWriteLookmlModel, IWriteLookWithQuery, IWriteMergeQuery, IWriteMobileToken, IWriteModelSet, IWriteOauthClientApp, IWriteOIDCConfig, IWritePasswordConfig, IWritePermissionSet, IWriteProject, IWriteQuery, IWriteRepositoryCredential, IWriteRole, IWriteSamlConfig, IWriteScheduledPlan, IWriteSessionConfig, IWriteSetting, IWriteSshServer, IWriteSshTunnel, IWriteTheme, IWriteUser, IWriteUserAttribute, IWriteUserAttributeWithValue, IWriteWhitelabelConfiguration } from './models';
|
|
2
|
+
import type { IAccessToken, IAlert, IAlertNotifications, IAlertPatch, IApiSession, IApiVersion, IBackupConfiguration, IBoard, IBoardItem, IBoardSection, IColorCollection, IColumnSearch, IConnectionFeatures, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentValidation, IContentView, ICostEstimate, ICreateCostEstimate, ICreateCredentialsApi3, ICreateEmbedUserRequest, ICreateFolder, ICreateOAuthApplicationUserStateRequest, ICreateOAuthApplicationUserStateResponse, ICredentialsApi3, ICredentialsEmail, ICredentialsEmailSearch, 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, IEgressIpAddresses, IEmbedCookielessSessionAcquire, IEmbedCookielessSessionAcquireResponse, IEmbedCookielessSessionGenerateTokens, IEmbedCookielessSessionGenerateTokensResponse, IEmbedParams, IEmbedSecret, IEmbedSsoParams, IEmbedUrlResponse, IError, IExternalOauthApplication, IFolder, IGitBranch, IGitConnectionTest, IGitConnectionTestResult, IGroup, IGroupHierarchy, IGroupIdForGroupInclusion, IGroupIdForGroupUserInclusion, IGroupSearch, IHomepageSection, IIntegration, IIntegrationHub, IIntegrationTestResult, IInternalHelpResources, IInternalHelpResourcesContent, ILDAPConfig, ILDAPConfigTestResult, ILegacyFeature, ILocale, ILook, ILookmlModel, ILookmlModelExplore, ILookmlTest, ILookmlTestResult, ILookWithQuery, IManifest, IMaterializePDT, IMergeQuery, IMobileSettings, IMobileToken, IModel, IModelFieldSuggestions, IModelSet, IOauthClientApp, IOIDCConfig, IPasswordConfig, IPermission, IPermissionSet, IProject, IProjectFile, IProjectValidation, IProjectValidationCache, IProjectWorkspace, IQuery, IQueryTask, IRenderTask, IRepositoryCredential, IRequestActiveThemes, IRequestAlertNotifications, IRequestAllBoardItems, IRequestAllBoardSections, IRequestAllExternalOauthApplications, IRequestAllGroups, IRequestAllGroupUsers, IRequestAllIntegrations, IRequestAllLookmlModels, IRequestAllRoles, IRequestAllScheduledPlans, IRequestAllUserAttributes, IRequestAllUsers, IRequestConnectionColumns, IRequestConnectionSchemas, IRequestConnectionSearchColumns, IRequestConnectionTables, IRequestContentThumbnail, IRequestCreateDashboardElement, IRequestCreateDashboardRenderTask, IRequestCreateQueryTask, IRequestCreateUserCredentialsEmailPasswordReset, IRequestDeployRefToProduction, IRequestFolderChildren, IRequestFolderChildrenSearch, IRequestGraphDerivedTablesForModel, IRequestGraphDerivedTablesForView, IRequestLogin, IRequestModelFieldnameSuggestions, IRequestRoleUsers, IRequestRunGitConnectionTest, IRequestRunInlineQuery, IRequestRunLook, IRequestRunLookmlTest, IRequestRunQuery, IRequestScheduledPlansForDashboard, IRequestScheduledPlansForLook, IRequestScheduledPlansForLookmlDashboard, IRequestSearchAlerts, IRequestSearchBoards, IRequestSearchContentFavorites, IRequestSearchContentViews, IRequestSearchCredentialsEmail, IRequestSearchDashboardElements, IRequestSearchDashboards, IRequestSearchFolders, IRequestSearchGroups, IRequestSearchGroupsWithHierarchy, IRequestSearchGroupsWithRoles, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchPermissionSets, IRequestSearchRoles, IRequestSearchRolesWithUserCount, IRequestSearchThemes, IRequestSearchUserLoginLockouts, IRequestSearchUsers, IRequestSearchUsersNames, IRequestStartPdtBuild, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRoleSearch, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISchema, ISchemaColumns, ISchemaTables, ISession, ISessionConfig, ISetting, ISmtpSettings, ISmtpStatus, ISqlQuery, ISqlQueryCreate, ISshPublicKey, ISshServer, ISshTunnel, ISupportAccessAddEntries, ISupportAccessAllowlistEntry, ISupportAccessEnable, ISupportAccessStatus, ITheme, ITimezone, IUpdateFolder, IUser, IUserAttribute, IUserAttributeGroupValue, IUserAttributeWithValue, IUserEmailOnly, IUserLoginLockout, IUserPublic, IValidationError, IWelcomeEmailTest, IWhitelabelConfiguration, IWorkspace, IWriteAlert, IWriteApiSession, IWriteBackupConfiguration, IWriteBoard, IWriteBoardItem, IWriteBoardSection, IWriteColorCollection, IWriteContentFavorite, IWriteContentMeta, IWriteCreateDashboardFilter, IWriteCredentialsEmail, IWriteDashboard, IWriteDashboardElement, IWriteDashboardFilter, IWriteDashboardLayout, IWriteDashboardLayoutComponent, IWriteDashboardLookml, IWriteDatagroup, IWriteDBConnection, IWriteEmbedSecret, IWriteExternalOauthApplication, IWriteGitBranch, IWriteGroup, IWriteIntegration, IWriteIntegrationHub, IWriteInternalHelpResources, IWriteInternalHelpResourcesContent, IWriteLDAPConfig, IWriteLegacyFeature, IWriteLookmlModel, IWriteLookWithQuery, IWriteMergeQuery, IWriteMobileToken, IWriteModelSet, IWriteOauthClientApp, IWriteOIDCConfig, IWritePasswordConfig, IWritePermissionSet, IWriteProject, IWriteQuery, IWriteRepositoryCredential, IWriteRole, IWriteSamlConfig, IWriteScheduledPlan, IWriteSessionConfig, IWriteSetting, IWriteSshServer, IWriteSshTunnel, IWriteTheme, IWriteUser, IWriteUserAttribute, IWriteUserAttributeWithValue, IWriteWhitelabelConfiguration } from './models';
|
|
3
3
|
export interface ILooker40SDK extends IAPIMethods {
|
|
4
4
|
follow_alert(alert_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<void, IError>>;
|
|
5
5
|
unfollow_alert(alert_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<void, IError>>;
|
|
@@ -19,6 +19,9 @@ export interface ILooker40SDK extends IAPIMethods {
|
|
|
19
19
|
delete_embed_secret(embed_secret_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
20
20
|
create_sso_embed_url(body: Partial<IEmbedSsoParams>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IEmbedUrlResponse, IError | IValidationError>>;
|
|
21
21
|
create_embed_url_as_me(body: Partial<IEmbedParams>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IEmbedUrlResponse, IError | IValidationError>>;
|
|
22
|
+
acquire_embed_cookieless_session(body: Partial<IEmbedCookielessSessionAcquire>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IEmbedCookielessSessionAcquireResponse, IError | IValidationError>>;
|
|
23
|
+
delete_embed_cookieless_session(session_reference_token: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
24
|
+
generate_tokens_for_cookieless_session(body: Partial<IEmbedCookielessSessionGenerateTokens>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IEmbedCookielessSessionGenerateTokensResponse, IError | IValidationError>>;
|
|
22
25
|
ldap_config(options?: Partial<ITransportSettings>): Promise<SDKResponse<ILDAPConfig, IError>>;
|
|
23
26
|
update_ldap_config(body: Partial<IWriteLDAPConfig>, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILDAPConfig, IError | IValidationError>>;
|
|
24
27
|
test_ldap_config_connection(body: Partial<IWriteLDAPConfig>, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILDAPConfigTestResult, IError | IValidationError>>;
|
package/lib/4.0/models.d.ts
CHANGED
|
@@ -894,6 +894,43 @@ export interface IDiscretePalette {
|
|
|
894
894
|
export interface IEgressIpAddresses {
|
|
895
895
|
egress_ip_addresses?: string[] | null;
|
|
896
896
|
}
|
|
897
|
+
export interface IEmbedCookielessSessionAcquire {
|
|
898
|
+
session_length?: number | null;
|
|
899
|
+
force_logout_login?: boolean;
|
|
900
|
+
external_user_id?: string | null;
|
|
901
|
+
first_name?: string | null;
|
|
902
|
+
last_name?: string | null;
|
|
903
|
+
user_timezone?: string | null;
|
|
904
|
+
permissions?: string[] | null;
|
|
905
|
+
models?: string[] | null;
|
|
906
|
+
group_ids?: string[] | null;
|
|
907
|
+
external_group_id?: string | null;
|
|
908
|
+
user_attributes?: IDictionary<any> | null;
|
|
909
|
+
session_reference_token?: string | null;
|
|
910
|
+
}
|
|
911
|
+
export interface IEmbedCookielessSessionAcquireResponse {
|
|
912
|
+
authentication_token?: string | null;
|
|
913
|
+
authentication_token_ttl?: number | null;
|
|
914
|
+
navigation_token?: string | null;
|
|
915
|
+
navigation_token_ttl?: number | null;
|
|
916
|
+
api_token?: string | null;
|
|
917
|
+
api_token_ttl?: number | null;
|
|
918
|
+
session_reference_token?: string | null;
|
|
919
|
+
session_reference_token_ttl?: number | null;
|
|
920
|
+
}
|
|
921
|
+
export interface IEmbedCookielessSessionGenerateTokens {
|
|
922
|
+
session_reference_token: string;
|
|
923
|
+
navigation_token?: string | null;
|
|
924
|
+
api_token?: string | null;
|
|
925
|
+
}
|
|
926
|
+
export interface IEmbedCookielessSessionGenerateTokensResponse {
|
|
927
|
+
navigation_token?: string | null;
|
|
928
|
+
navigation_token_ttl?: number | null;
|
|
929
|
+
api_token?: string | null;
|
|
930
|
+
api_token_ttl?: number | null;
|
|
931
|
+
session_reference_token: string;
|
|
932
|
+
session_reference_token_ttl?: number | null;
|
|
933
|
+
}
|
|
897
934
|
export interface IEmbedParams {
|
|
898
935
|
target_url: string;
|
|
899
936
|
session_length?: number | null;
|
|
@@ -1129,6 +1166,7 @@ export interface IIntegration {
|
|
|
1129
1166
|
icon_url?: string | null;
|
|
1130
1167
|
uses_oauth?: boolean | null;
|
|
1131
1168
|
required_fields?: IIntegrationRequiredField[];
|
|
1169
|
+
privacy_link?: string | null;
|
|
1132
1170
|
delegate_oauth?: boolean | null;
|
|
1133
1171
|
installed_delegate_oauth_targets?: string[];
|
|
1134
1172
|
}
|
|
@@ -2821,6 +2859,8 @@ export interface ISetting {
|
|
|
2821
2859
|
privatelabel_configuration?: IPrivatelabelConfiguration;
|
|
2822
2860
|
custom_welcome_email?: ICustomWelcomeEmail;
|
|
2823
2861
|
onboarding_enabled?: boolean;
|
|
2862
|
+
timezone?: string;
|
|
2863
|
+
allow_user_timezones?: boolean;
|
|
2824
2864
|
}
|
|
2825
2865
|
export interface ISmtpNodeStatus {
|
|
2826
2866
|
is_valid?: boolean;
|
|
@@ -3678,6 +3718,8 @@ export interface IWriteSetting {
|
|
|
3678
3718
|
privatelabel_configuration?: IWritePrivatelabelConfiguration | null;
|
|
3679
3719
|
custom_welcome_email?: ICustomWelcomeEmail | null;
|
|
3680
3720
|
onboarding_enabled?: boolean;
|
|
3721
|
+
timezone?: string;
|
|
3722
|
+
allow_user_timezones?: boolean;
|
|
3681
3723
|
}
|
|
3682
3724
|
export interface IWriteSshServer {
|
|
3683
3725
|
ssh_server_name?: string;
|