@looker/sdk 23.4.0 → 23.8.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/funcs.d.ts +5 -5
- package/lib/3.1/funcs.js +1 -0
- package/lib/3.1/funcs.js.map +1 -1
- package/lib/3.1/methods.d.ts +5 -5
- package/lib/3.1/methods.js +1 -0
- package/lib/3.1/methods.js.map +1 -1
- package/lib/3.1/methodsInterface.d.ts +5 -5
- package/lib/3.1/methodsInterface.js.map +1 -1
- package/lib/3.1/models.d.ts +3 -29
- package/lib/3.1/models.js +68 -68
- package/lib/3.1/models.js.map +1 -1
- package/lib/3.1/streams.d.ts +4 -4
- package/lib/3.1/streams.js +1 -0
- package/lib/3.1/streams.js.map +1 -1
- package/lib/4.0/funcs.d.ts +8 -8
- package/lib/4.0/funcs.js +1 -0
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +8 -8
- package/lib/4.0/methods.js +1 -0
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +8 -8
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +7 -54
- package/lib/4.0/models.js +88 -88
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +7 -7
- package/lib/4.0/streams.js +1 -0
- package/lib/4.0/streams.js.map +1 -1
- package/lib/browserSdk.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 +1 -0
- package/lib/esm/3.1/funcs.js.map +1 -1
- package/lib/esm/3.1/methods.js +1 -0
- package/lib/esm/3.1/methods.js.map +1 -1
- package/lib/esm/3.1/methodsInterface.js.map +1 -1
- package/lib/esm/3.1/models.js +68 -68
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/3.1/streams.js +1 -0
- package/lib/esm/3.1/streams.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1 -0
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +1 -0
- 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 +88 -88
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +1 -0
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.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, 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,
|
|
4
|
+
import type { IAccessToken, IAlert, IAlertNotifications, IAlertPatch, IApiSession, IApiVersion, IArtifact, IArtifactNamespace, IArtifactUsage, IBackupConfiguration, IBoard, IBoardItem, IBoardSection, IColorCollection, IColumnSearch, IConnectionFeatures, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentSearch, 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, IRequestAllRoles, IRequestAllScheduledPlans, IRequestAllUsers, IRequestArtifact, IRequestArtifactNamespaces, 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, IRequestSearchArtifacts, IRequestSearchBoards, IRequestSearchContent, IRequestSearchContentFavorites, IRequestSearchContentViews, IRequestSearchCredentialsEmail, IRequestSearchDashboardElements, IRequestSearchDashboards, IRequestSearchFolders, IRequestSearchGroups, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchRoles, 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, 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, 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);
|
|
@@ -166,7 +166,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
166
166
|
update_content_metadata_access(content_metadata_access_id: string, body: Partial<IContentMetaGroupUser>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IContentMetaGroupUser, IError | IValidationError>>;
|
|
167
167
|
delete_content_metadata_access(content_metadata_access_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
168
168
|
search_content(request: IRequestSearchContent, options?: Partial<ITransportSettings>): Promise<SDKResponse<IContentSearch[], IError>>;
|
|
169
|
-
content_thumbnail(request: IRequestContentThumbnail, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
169
|
+
content_thumbnail(request: IRequestContentThumbnail, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
170
170
|
content_validation(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IContentValidation, IError | IValidationError>>;
|
|
171
171
|
search_content_views(request: IRequestSearchContentViews, options?: Partial<ITransportSettings>): Promise<SDKResponse<IContentView[], IError>>;
|
|
172
172
|
vector_thumbnail(type: string, resource_id: string, reload?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
@@ -228,8 +228,8 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
228
228
|
all_groups(request: IRequestAllGroups, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup[], IError>>;
|
|
229
229
|
create_group(body: Partial<IWriteGroup>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup, IError | IValidationError>>;
|
|
230
230
|
search_groups(request: IRequestSearchGroups, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup[], IError>>;
|
|
231
|
-
search_groups_with_roles(request:
|
|
232
|
-
search_groups_with_hierarchy(request:
|
|
231
|
+
search_groups_with_roles(request: IRequestSearchGroups, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroupSearch[], IError>>;
|
|
232
|
+
search_groups_with_hierarchy(request: IRequestSearchGroups, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroupHierarchy[], IError>>;
|
|
233
233
|
group(group_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup, IError>>;
|
|
234
234
|
update_group(group_id: string, body: Partial<IWriteGroup>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGroup, IError | IValidationError>>;
|
|
235
235
|
delete_group(group_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
@@ -262,7 +262,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
262
262
|
run_look(request: IRequestRunLook, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
263
263
|
copy_look(look_id: string, folder_id?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILookWithQuery, IError | IValidationError>>;
|
|
264
264
|
move_look(look_id: string, folder_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILookWithQuery, IError | IValidationError>>;
|
|
265
|
-
all_lookml_models(request:
|
|
265
|
+
all_lookml_models(request: IRequestArtifactNamespaces, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILookmlModel[], IError>>;
|
|
266
266
|
create_lookml_model(body: Partial<IWriteLookmlModel>, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILookmlModel, IError | IValidationError>>;
|
|
267
267
|
lookml_model(lookml_model_name: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILookmlModel, IError>>;
|
|
268
268
|
update_lookml_model(lookml_model_name: string, body: Partial<IWriteLookmlModel>, options?: Partial<ITransportSettings>): Promise<SDKResponse<ILookmlModel, IError | IValidationError>>;
|
|
@@ -338,7 +338,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
338
338
|
all_model_sets(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IModelSet[], IError>>;
|
|
339
339
|
create_model_set(body: Partial<IWriteModelSet>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IModelSet, IError | IValidationError>>;
|
|
340
340
|
all_permissions(options?: Partial<ITransportSettings>): Promise<SDKResponse<IPermission[], IError>>;
|
|
341
|
-
search_permission_sets(request:
|
|
341
|
+
search_permission_sets(request: IRequestSearchModelSets, options?: Partial<ITransportSettings>): Promise<SDKResponse<IPermissionSet[], IError>>;
|
|
342
342
|
permission_set(permission_set_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IPermissionSet, IError>>;
|
|
343
343
|
update_permission_set(permission_set_id: string, body: Partial<IWritePermissionSet>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IPermissionSet, IError | IValidationError>>;
|
|
344
344
|
delete_permission_set(permission_set_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
@@ -347,7 +347,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
347
347
|
all_roles(request: IRequestAllRoles, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole[], IError>>;
|
|
348
348
|
create_role(body: Partial<IWriteRole>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole, IError | IValidationError>>;
|
|
349
349
|
search_roles(request: IRequestSearchRoles, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole[], IError>>;
|
|
350
|
-
search_roles_with_user_count(request:
|
|
350
|
+
search_roles_with_user_count(request: IRequestSearchRoles, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRoleSearch[], IError>>;
|
|
351
351
|
role(role_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole, IError>>;
|
|
352
352
|
update_role(role_id: string, body: Partial<IWriteRole>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IRole, IError | IValidationError>>;
|
|
353
353
|
delete_role(role_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
@@ -425,7 +425,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
425
425
|
send_user_credentials_email_password_reset(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsEmail, IError>>;
|
|
426
426
|
wipeout_user_emails(user_id: string, body: Partial<IUserEmailOnly>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUser, IError | IValidationError>>;
|
|
427
427
|
create_embed_user(body: Partial<ICreateEmbedUserRequest>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserPublic, IError>>;
|
|
428
|
-
all_user_attributes(request:
|
|
428
|
+
all_user_attributes(request: IRequestAllBoardSections, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttribute[], IError>>;
|
|
429
429
|
create_user_attribute(body: Partial<IWriteUserAttribute>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttribute, IError | IValidationError>>;
|
|
430
430
|
user_attribute(user_attribute_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttribute, IError>>;
|
|
431
431
|
update_user_attribute(user_attribute_id: string, body: Partial<IWriteUserAttribute>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IUserAttribute, IError | IValidationError>>;
|
package/lib/4.0/methods.js
CHANGED
|
@@ -1247,6 +1247,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1247
1247
|
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
|
|
1248
1248
|
return _this162.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1249
1249
|
reload: request.reload,
|
|
1250
|
+
theme: request.theme,
|
|
1250
1251
|
format: request.format,
|
|
1251
1252
|
width: request.width,
|
|
1252
1253
|
height: request.height
|