@looker/sdk 24.16.2 → 24.18.1
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/4.0/funcs.d.ts +5 -4
- package/lib/4.0/funcs.js +254 -228
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +5 -4
- package/lib/4.0/methods.js +175 -151
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +5 -4
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +26 -12
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +5 -4
- package/lib/4.0/streams.js +175 -151
- 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/4.0/funcs.js +252 -226
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +175 -151
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +175 -151
- 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
package/lib/4.0/methods.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DelimArray, IDictionary, IAuthSession, ITransportSettings, SDKResponse } from '@looker/sdk-rtl';
|
|
2
2
|
import { APIMethods } from '@looker/sdk-rtl';
|
|
3
3
|
import type { ILooker40SDK } from './methodsInterface';
|
|
4
|
-
import type { IAccessToken, IAlert, IAlertNotifications, IAlertPatch, IApiSession, IApiVersion, IArtifact, IArtifactNamespace, IArtifactUsage, IBackupConfiguration, IBoard, IBoardItem, IBoardSection, IColorCollection, IColumnSearch, IConnectionFeatures, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentSearch, IContentSummary, 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,
|
|
4
|
+
import type { IAccessToken, IAlert, IAlertNotifications, IAlertPatch, IApiSession, IApiVersion, IArtifact, IArtifactNamespace, IArtifactUsage, IBackupConfiguration, IBoard, IBoardItem, IBoardSection, IColorCollection, IColumnSearch, IConnectionFeatures, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentSearch, IContentSummary, 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, IFolderBase, IGitBranch, IGitConnectionTest, IGitConnectionTestResult, IGroup, IGroupHierarchy, IGroupIdForGroupInclusion, IGroupIdForGroupUserInclusion, IGroupSearch, IHomepageSection, IIntegration, IIntegrationHub, IIntegrationTestResult, IInternalHelpResources, IInternalHelpResourcesContent, IJsonBi, 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, IRequestArtifact, IRequestArtifactNamespaces, IRequestConnectionColumns, IRequestConnectionSchemas, IRequestConnectionSearchColumns, IRequestConnectionTables, IRequestContentSummary, IRequestContentThumbnail, IRequestCreateDashboardElement, IRequestCreateDashboardRenderTask, IRequestCreateQueryTask, IRequestCreateUserCredentialsEmailPasswordReset, IRequestDeployRefToProduction, IRequestFolderChildren, IRequestFolderChildrenSearch, IRequestGraphDerivedTablesForModel, IRequestGraphDerivedTablesForView, IRequestLogin, IRequestLookmlModelExplore, IRequestModelFieldnameSuggestions, IRequestRoleUsers, IRequestRunGitConnectionTest, IRequestRunInlineQuery, IRequestRunLook, IRequestRunLookmlTest, IRequestRunQuery, IRequestScheduledPlansForDashboard, IRequestScheduledPlansForLook, IRequestScheduledPlansForLookmlDashboard, IRequestSearchAlerts, IRequestSearchArtifacts, IRequestSearchBoards, IRequestSearchContent, IRequestSearchContentFavorites, IRequestSearchContentViews, IRequestSearchCredentialsEmail, IRequestSearchDashboardElements, IRequestSearchDashboards, IRequestSearchFolders, IRequestSearchGroups, IRequestSearchGroupsWithHierarchy, IRequestSearchGroupsWithRoles, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchPermissionSets, IRequestSearchRoles, IRequestSearchRolesWithUserCount, IRequestSearchScheduledPlans, IRequestSearchThemes, IRequestSearchUserLoginLockouts, IRequestSearchUsers, IRequestSearchUsersNames, IRequestStartPdtBuild, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRoleSearch, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISchema, ISchemaColumns, ISchemaTables, ISession, ISessionConfig, ISetting, ISmtpSettings, ISmtpStatus, ISqlInterfaceQuery, ISqlInterfaceQueryMetadata, ISqlQuery, ISqlQueryCreate, ISshPublicKey, ISshServer, ISshTunnel, ISupportAccessAddEntries, ISupportAccessAllowlistEntry, ISupportAccessEnable, ISupportAccessStatus, ITheme, ITimezone, IUpdateArtifact, 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, IWriteSqlInterfaceQueryCreate, IWriteSshServer, IWriteSshTunnel, IWriteTheme, IWriteUser, IWriteUserAttribute, IWriteUserAttributeWithValue, IWriteWhitelabelConfiguration } from './models';
|
|
5
5
|
export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
6
6
|
static readonly ApiVersion = "4.0";
|
|
7
7
|
constructor(authSession: IAuthSession);
|
|
@@ -220,7 +220,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
220
220
|
folder(folder_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder, IError>>;
|
|
221
221
|
update_folder(folder_id: string, body: Partial<IUpdateFolder>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder, IError | IValidationError>>;
|
|
222
222
|
delete_folder(folder_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
223
|
-
all_folders(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<
|
|
223
|
+
all_folders(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolderBase[], IError>>;
|
|
224
224
|
create_folder(body: Partial<ICreateFolder>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder, IError | IValidationError>>;
|
|
225
225
|
folder_children(request: IRequestFolderChildren, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder[], IError>>;
|
|
226
226
|
folder_children_search(request: IRequestFolderChildrenSearch, options?: Partial<ITransportSettings>): Promise<SDKResponse<IFolder[], IError>>;
|
|
@@ -314,7 +314,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
314
314
|
create_query_task(request: IRequestCreateQueryTask, options?: Partial<ITransportSettings>): Promise<SDKResponse<IQueryTask, IError | IValidationError>>;
|
|
315
315
|
query_task_multi_results(query_task_ids: DelimArray<string>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDictionary<any>, IError>>;
|
|
316
316
|
query_task(query_task_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IQueryTask, IError>>;
|
|
317
|
-
query_task_results(query_task_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<
|
|
317
|
+
query_task_results(query_task_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
318
318
|
query(query_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IQuery, IError>>;
|
|
319
319
|
query_for_slug(slug: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IQuery, IError>>;
|
|
320
320
|
create_query(body: Partial<IWriteQuery>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IQuery, IError | IValidationError>>;
|
|
@@ -365,6 +365,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
365
365
|
all_scheduled_plans(request: IRequestAllScheduledPlans, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan[], IError | IValidationError>>;
|
|
366
366
|
create_scheduled_plan(body: Partial<IWriteScheduledPlan>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan, IError | IValidationError>>;
|
|
367
367
|
scheduled_plan_run_once(body: Partial<IWriteScheduledPlan>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan, IError | IValidationError>>;
|
|
368
|
+
search_scheduled_plans(request: IRequestSearchScheduledPlans, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan[], IError | IValidationError>>;
|
|
368
369
|
scheduled_plans_for_look(request: IRequestScheduledPlansForLook, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan[], IError>>;
|
|
369
370
|
scheduled_plans_for_dashboard(request: IRequestScheduledPlansForDashboard, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan[], IError>>;
|
|
370
371
|
scheduled_plans_for_lookml_dashboard(request: IRequestScheduledPlansForLookmlDashboard, options?: Partial<ITransportSettings>): Promise<SDKResponse<IScheduledPlan[], IError>>;
|
|
@@ -372,7 +373,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
372
373
|
session(options?: Partial<ITransportSettings>): Promise<SDKResponse<IApiSession, IError>>;
|
|
373
374
|
update_session(body: Partial<IWriteApiSession>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IApiSession, IError | IValidationError>>;
|
|
374
375
|
sql_interface_metadata(avatica_request?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ISqlInterfaceQueryMetadata, IError>>;
|
|
375
|
-
run_sql_interface_query(query_id: number, result_format: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<
|
|
376
|
+
run_sql_interface_query(query_id: number, result_format: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IJsonBi, IError | IValidationError>>;
|
|
376
377
|
create_sql_interface_query(body: Partial<IWriteSqlInterfaceQueryCreate>, options?: Partial<ITransportSettings>): Promise<SDKResponse<ISqlInterfaceQuery, IError | IValidationError>>;
|
|
377
378
|
all_themes(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ITheme[], IError>>;
|
|
378
379
|
create_theme(body: Partial<IWriteTheme>, options?: Partial<ITransportSettings>): Promise<SDKResponse<ITheme, IError | IValidationError>>;
|