@looker/sdk 25.10.0 → 25.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 +15 -0
- package/lib/4.0/funcs.d.ts +8 -3
- package/lib/4.0/funcs.js +857 -794
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +8 -3
- package/lib/4.0/methods.js +581 -528
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +8 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +94 -25
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +7 -2
- package/lib/4.0/streams.js +581 -528
- 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 +853 -790
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +581 -528
- 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 +581 -528
- 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, IArtifact, IArtifactNamespace, IArtifactUsage, IBackupConfiguration, IBoard, IBoardItem, IBoardSection, IColorCollection, IColumnSearch, IConnectionFeatures, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentSearch, IContentSummary, IContentValidation, IContentView, ICostEstimate, ICreateCIRunRequest, ICreateCIRunResponse, 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,
|
|
2
|
+
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, ICreateCIRunRequest, ICreateCIRunResponse, 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, IIntegrationHubHealthResult, 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, IProjectRun, IProjectValidation, IProjectValidationCache, IProjectWorkspace, IQuery, IQueryTask, IRenderTask, IReport, IRepositoryCredential, IRequestActiveThemes, IRequestAlertNotifications, IRequestAllBoardItems, IRequestAllBoardSections, IRequestAllExternalOauthApplications, IRequestAllGroups, IRequestAllGroupUsers, IRequestAllIntegrations, IRequestAllLookmlModels, IRequestAllRoles, IRequestAllScheduledPlans, IRequestAllUserAttributes, IRequestAllUsers, IRequestArtifact, IRequestArtifactNamespaces, IRequestConnectionColumns, IRequestConnectionSchemas, IRequestConnectionSearchColumns, IRequestConnectionTables, IRequestContentSummary, IRequestContentThumbnail, IRequestContentValidation, 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, IRequestSearchLookmlDashboards, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchPermissionSets, IRequestSearchReports, IRequestSearchRoles, IRequestSearchRolesWithUserCount, IRequestSearchScheduledPlans, IRequestSearchThemes, IRequestSearchUserLoginLockouts, IRequestSearchUsers, IRequestSearchUsersNames, IRequestStartPdtBuild, IRequestSyncLookmlDashboard, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRoleSearch, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISchema, ISchemaColumns, ISchemaTables, IServiceAccount, 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, IWriteCredentialsApi3, 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, IWriteServiceAccount, IWriteSessionConfig, IWriteSetting, IWriteSqlInterfaceQueryCreate, 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>>;
|
|
@@ -133,7 +133,7 @@ export interface ILooker40SDK extends IAPIMethods {
|
|
|
133
133
|
delete_connection(connection_name: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
134
134
|
delete_connection_override(connection_name: string, override_context: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
135
135
|
test_connection(connection_name: string, tests?: DelimArray<string>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDBConnectionTestResult[], IError | IValidationError>>;
|
|
136
|
-
test_connection_config(body: Partial<IWriteDBConnection>, tests?: DelimArray<string>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDBConnectionTestResult[], IError>>;
|
|
136
|
+
test_connection_config(body: Partial<IWriteDBConnection>, tests?: DelimArray<string>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDBConnectionTestResult[], IError | IValidationError>>;
|
|
137
137
|
all_dialect_infos(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDialectInfo[], IError>>;
|
|
138
138
|
all_external_oauth_applications(request: IRequestAllExternalOauthApplications, options?: Partial<ITransportSettings>): Promise<SDKResponse<IExternalOauthApplication[], IError>>;
|
|
139
139
|
create_external_oauth_application(body: Partial<IWriteExternalOauthApplication>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IExternalOauthApplication, IError | IValidationError>>;
|
|
@@ -178,6 +178,7 @@ export interface ILooker40SDK extends IAPIMethods {
|
|
|
178
178
|
update_dashboard(dashboard_id: string, body: Partial<IWriteDashboard>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboard, IError | IValidationError>>;
|
|
179
179
|
delete_dashboard(dashboard_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
180
180
|
dashboard_aggregate_table_lookml(dashboard_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardAggregateTableLookml, IError>>;
|
|
181
|
+
search_lookml_dashboards(request: IRequestSearchLookmlDashboards, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardLookml, IError>>;
|
|
181
182
|
dashboard_lookml(dashboard_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboardLookml, IError>>;
|
|
182
183
|
move_dashboard(dashboard_id: string, folder_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboard, IError | IValidationError>>;
|
|
183
184
|
import_dashboard_from_lookml(body: Partial<IWriteDashboardLookml>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDashboard, IError | IValidationError>>;
|
|
@@ -246,6 +247,7 @@ export interface ILooker40SDK extends IAPIMethods {
|
|
|
246
247
|
integration_hub(integration_hub_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IIntegrationHub, IError>>;
|
|
247
248
|
update_integration_hub(integration_hub_id: string, body: Partial<IWriteIntegrationHub>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IIntegrationHub, IError | IValidationError>>;
|
|
248
249
|
delete_integration_hub(integration_hub_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
250
|
+
get_integration_hub_health(integration_hub_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IIntegrationHubHealthResult, IError | IValidationError>>;
|
|
249
251
|
accept_integration_hub_legal_agreement(integration_hub_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IIntegrationHub, IError | IValidationError>>;
|
|
250
252
|
all_integrations(request: IRequestAllIntegrations, options?: Partial<ITransportSettings>): Promise<SDKResponse<IIntegration[], IError>>;
|
|
251
253
|
integration(integration_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IIntegration, IError>>;
|
|
@@ -276,7 +278,7 @@ export interface ILooker40SDK extends IAPIMethods {
|
|
|
276
278
|
connection_columns(request: IRequestConnectionColumns, options?: Partial<ITransportSettings>): Promise<SDKResponse<ISchemaColumns[], IError | IValidationError>>;
|
|
277
279
|
connection_search_columns(request: IRequestConnectionSearchColumns, options?: Partial<ITransportSettings>): Promise<SDKResponse<IColumnSearch[], IError | IValidationError>>;
|
|
278
280
|
connection_cost_estimate(connection_name: string, body: Partial<ICreateCostEstimate>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICostEstimate, IError | IValidationError>>;
|
|
279
|
-
get_ci_run(project_id: string, run_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<
|
|
281
|
+
get_ci_run(project_id: string, run_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IProjectRun, IError>>;
|
|
280
282
|
create_ci_run(project_id: string, body: Partial<ICreateCIRunRequest>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICreateCIRunResponse, IError | IValidationError>>;
|
|
281
283
|
lock_all(project_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
282
284
|
all_git_branches(project_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGitBranch[], IError>>;
|
|
@@ -411,6 +413,7 @@ export interface ILooker40SDK extends IAPIMethods {
|
|
|
411
413
|
user_credentials_oidc(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsOIDC, IError>>;
|
|
412
414
|
delete_user_credentials_oidc(user_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
413
415
|
user_credentials_api3(user_id: string, credentials_api3_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsApi3, IError>>;
|
|
416
|
+
update_user_credentials_api3(user_id: string, credentials_api3_id: string, body: Partial<IWriteCredentialsApi3>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsApi3, IError | IValidationError>>;
|
|
414
417
|
delete_user_credentials_api3(user_id: string, credentials_api3_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
415
418
|
all_user_credentials_api3s(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsApi3[], IError>>;
|
|
416
419
|
create_user_credentials_api3(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICreateCredentialsApi3, IError | IValidationError>>;
|
|
@@ -431,6 +434,8 @@ export interface ILooker40SDK extends IAPIMethods {
|
|
|
431
434
|
send_user_credentials_email_password_reset(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsEmail, IError>>;
|
|
432
435
|
wipeout_user_emails(user_id: string, body: Partial<IUserEmailOnly>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUser, IError | IValidationError>>;
|
|
433
436
|
create_embed_user(body: Partial<ICreateEmbedUserRequest>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserPublic, IError>>;
|
|
437
|
+
create_service_account(body: Partial<IWriteServiceAccount>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IServiceAccount, IError | IValidationError>>;
|
|
438
|
+
update_service_account(user_id: string, body: Partial<IWriteServiceAccount>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IServiceAccount, IError | IValidationError>>;
|
|
434
439
|
all_user_attributes(request: IRequestAllUserAttributes, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttribute[], IError>>;
|
|
435
440
|
create_user_attribute(body: Partial<IWriteUserAttribute>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttribute, IError | IValidationError>>;
|
|
436
441
|
user_attribute(user_attribute_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttribute, IError>>;
|