@looker/sdk 22.0.0 → 22.2.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 +7 -0
- package/lib/3.1/funcs.d.ts +5 -1
- package/lib/3.1/funcs.js +945 -886
- package/lib/3.1/funcs.js.map +1 -1
- package/lib/3.1/methods.d.ts +5 -1
- package/lib/3.1/methods.js +631 -588
- package/lib/3.1/methods.js.map +1 -1
- package/lib/3.1/methodsInterface.d.ts +5 -1
- package/lib/3.1/models.d.ts +27 -0
- package/lib/3.1/models.js +10 -1
- package/lib/3.1/models.js.map +1 -1
- package/lib/3.1/streams.d.ts +5 -1
- package/lib/3.1/streams.js +631 -588
- package/lib/3.1/streams.js.map +1 -1
- package/lib/4.0/funcs.d.ts +7 -1
- package/lib/4.0/funcs.js +1036 -953
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +7 -1
- package/lib/4.0/methods.js +691 -632
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +7 -1
- package/lib/4.0/models.d.ts +38 -0
- package/lib/4.0/models.js +10 -1
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +7 -1
- package/lib/4.0/streams.js +691 -632
- 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 +929 -882
- package/lib/esm/3.1/funcs.js.map +1 -1
- package/lib/esm/3.1/methods.js +631 -588
- package/lib/esm/3.1/methods.js.map +1 -1
- package/lib/esm/3.1/models.js +8 -0
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/3.1/streams.js +631 -588
- package/lib/esm/3.1/streams.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1013 -948
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +691 -632
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/models.js +8 -0
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +691 -632
- 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, 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, 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>>;
|
|
@@ -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>>;
|
package/lib/3.1/models.d.ts
CHANGED
|
@@ -498,6 +498,7 @@ export interface IDashboardLayoutComponent {
|
|
|
498
498
|
}
|
|
499
499
|
export interface IDashboardLookml {
|
|
500
500
|
dashboard_id?: string | null;
|
|
501
|
+
folder_id?: string | null;
|
|
501
502
|
lookml?: string | null;
|
|
502
503
|
}
|
|
503
504
|
export interface IDataActionForm {
|
|
@@ -1384,6 +1385,10 @@ export interface IManifest {
|
|
|
1384
1385
|
imports?: IImportedProject[] | null;
|
|
1385
1386
|
localization_settings?: ILocalizationSettings;
|
|
1386
1387
|
}
|
|
1388
|
+
export interface IMaterializePDT {
|
|
1389
|
+
materialization_id?: string;
|
|
1390
|
+
resp_text?: string | null;
|
|
1391
|
+
}
|
|
1387
1392
|
export interface IMergeFields {
|
|
1388
1393
|
field_name?: string | null;
|
|
1389
1394
|
source_field_name?: string | null;
|
|
@@ -2092,6 +2097,14 @@ export interface IRequestSpaceChildrenSearch {
|
|
|
2092
2097
|
sorts?: string | null;
|
|
2093
2098
|
name?: string | null;
|
|
2094
2099
|
}
|
|
2100
|
+
export interface IRequestStartPdtBuild {
|
|
2101
|
+
model_name: string;
|
|
2102
|
+
view_name: string;
|
|
2103
|
+
force_rebuild?: string | null;
|
|
2104
|
+
force_full_incremental?: string | null;
|
|
2105
|
+
workspace?: string | null;
|
|
2106
|
+
source?: string | null;
|
|
2107
|
+
}
|
|
2095
2108
|
export interface IRequestTagRef {
|
|
2096
2109
|
project_id: string;
|
|
2097
2110
|
body: IWriteProject;
|
|
@@ -2322,6 +2335,15 @@ export interface ISessionConfig {
|
|
|
2322
2335
|
use_inactivity_based_logout?: boolean;
|
|
2323
2336
|
track_session_location?: boolean;
|
|
2324
2337
|
}
|
|
2338
|
+
export interface ISmtpSettings {
|
|
2339
|
+
address?: string;
|
|
2340
|
+
from?: string;
|
|
2341
|
+
user_name?: string;
|
|
2342
|
+
password?: string;
|
|
2343
|
+
port?: number;
|
|
2344
|
+
enable_starttls_auto?: boolean;
|
|
2345
|
+
ssl_version?: SslVersion | null;
|
|
2346
|
+
}
|
|
2325
2347
|
export interface ISnippet {
|
|
2326
2348
|
name?: string;
|
|
2327
2349
|
label?: string;
|
|
@@ -2389,6 +2411,11 @@ export interface ISqlQueryCreate {
|
|
|
2389
2411
|
sql?: string | null;
|
|
2390
2412
|
vis_config?: IDictionary<any> | null;
|
|
2391
2413
|
}
|
|
2414
|
+
export declare enum SslVersion {
|
|
2415
|
+
TLSv1_1 = "TLSv1_1",
|
|
2416
|
+
SSLv23 = "SSLv23",
|
|
2417
|
+
TLSv1_2 = "TLSv1_2"
|
|
2418
|
+
}
|
|
2392
2419
|
export declare enum SupportedActionTypes {
|
|
2393
2420
|
cell = "cell",
|
|
2394
2421
|
query = "query",
|
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
|
|