@looker/sdk 25.10.0 → 25.16.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 +8 -0
- package/lib/4.0/funcs.d.ts +4 -3
- package/lib/4.0/funcs.js +103 -89
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +4 -3
- package/lib/4.0/methods.js +71 -59
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +4 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +44 -22
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +3 -2
- package/lib/4.0/streams.js +71 -59
- 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 +102 -88
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +71 -59
- 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 +71 -59
- 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, 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,
|
|
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, 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, 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, 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, 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, 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);
|
|
@@ -137,7 +137,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
137
137
|
delete_connection(connection_name: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
138
138
|
delete_connection_override(connection_name: string, override_context: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
139
139
|
test_connection(connection_name: string, tests?: DelimArray<string>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDBConnectionTestResult[], IError | IValidationError>>;
|
|
140
|
-
test_connection_config(body: Partial<IWriteDBConnection>, tests?: DelimArray<string>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDBConnectionTestResult[], IError>>;
|
|
140
|
+
test_connection_config(body: Partial<IWriteDBConnection>, tests?: DelimArray<string>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDBConnectionTestResult[], IError | IValidationError>>;
|
|
141
141
|
all_dialect_infos(fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IDialectInfo[], IError>>;
|
|
142
142
|
all_external_oauth_applications(request: IRequestAllExternalOauthApplications, options?: Partial<ITransportSettings>): Promise<SDKResponse<IExternalOauthApplication[], IError>>;
|
|
143
143
|
create_external_oauth_application(body: Partial<IWriteExternalOauthApplication>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IExternalOauthApplication, IError | IValidationError>>;
|
|
@@ -280,7 +280,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
280
280
|
connection_columns(request: IRequestConnectionColumns, options?: Partial<ITransportSettings>): Promise<SDKResponse<ISchemaColumns[], IError | IValidationError>>;
|
|
281
281
|
connection_search_columns(request: IRequestConnectionSearchColumns, options?: Partial<ITransportSettings>): Promise<SDKResponse<IColumnSearch[], IError | IValidationError>>;
|
|
282
282
|
connection_cost_estimate(connection_name: string, body: Partial<ICreateCostEstimate>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICostEstimate, IError | IValidationError>>;
|
|
283
|
-
get_ci_run(project_id: string, run_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<
|
|
283
|
+
get_ci_run(project_id: string, run_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IProjectRun, IError>>;
|
|
284
284
|
create_ci_run(project_id: string, body: Partial<ICreateCIRunRequest>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICreateCIRunResponse, IError | IValidationError>>;
|
|
285
285
|
lock_all(project_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError | IValidationError>>;
|
|
286
286
|
all_git_branches(project_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IGitBranch[], IError>>;
|
|
@@ -415,6 +415,7 @@ export declare class Looker40SDK extends APIMethods implements ILooker40SDK {
|
|
|
415
415
|
user_credentials_oidc(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsOIDC, IError>>;
|
|
416
416
|
delete_user_credentials_oidc(user_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
417
417
|
user_credentials_api3(user_id: string, credentials_api3_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsApi3, IError>>;
|
|
418
|
+
update_user_credentials_api3(user_id: string, credentials_api3_id: string, body: Partial<IWriteCredentialsApi3>, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsApi3, IError | IValidationError>>;
|
|
418
419
|
delete_user_credentials_api3(user_id: string, credentials_api3_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<string, IError>>;
|
|
419
420
|
all_user_credentials_api3s(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICredentialsApi3[], IError>>;
|
|
420
421
|
create_user_credentials_api3(user_id: string, fields?: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<ICreateCredentialsApi3, IError | IValidationError>>;
|
package/lib/4.0/methods.js
CHANGED
|
@@ -1157,6 +1157,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1157
1157
|
dashboard_id: request.dashboard_id,
|
|
1158
1158
|
look_id: request.look_id,
|
|
1159
1159
|
board_id: request.board_id,
|
|
1160
|
+
include_board_items: request.include_board_items,
|
|
1160
1161
|
limit: request.limit,
|
|
1161
1162
|
offset: request.offset,
|
|
1162
1163
|
sorts: request.sorts,
|
|
@@ -3391,7 +3392,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3391
3392
|
is_disabled: request.is_disabled,
|
|
3392
3393
|
filter_or: request.filter_or,
|
|
3393
3394
|
content_metadata_id: request.content_metadata_id,
|
|
3394
|
-
group_id: request.group_id
|
|
3395
|
+
group_id: request.group_id,
|
|
3396
|
+
can_manage_api3_creds: request.can_manage_api3_creds
|
|
3395
3397
|
}, null, options);
|
|
3396
3398
|
})();
|
|
3397
3399
|
}
|
|
@@ -3583,136 +3585,146 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3583
3585
|
}, null, options);
|
|
3584
3586
|
})();
|
|
3585
3587
|
}
|
|
3586
|
-
|
|
3588
|
+
update_user_credentials_api3(user_id, credentials_api3_id, body, fields, options) {
|
|
3587
3589
|
var _this411 = this;
|
|
3588
3590
|
return _asyncToGenerator(function* () {
|
|
3589
3591
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3590
3592
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3591
|
-
return _this411.
|
|
3593
|
+
return _this411.patch("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3594
|
+
fields
|
|
3595
|
+
}, body, options);
|
|
3592
3596
|
})();
|
|
3593
3597
|
}
|
|
3594
|
-
|
|
3598
|
+
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3595
3599
|
var _this412 = this;
|
|
3596
3600
|
return _asyncToGenerator(function* () {
|
|
3597
3601
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3598
|
-
|
|
3602
|
+
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3603
|
+
return _this412.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3604
|
+
})();
|
|
3605
|
+
}
|
|
3606
|
+
all_user_credentials_api3s(user_id, fields, options) {
|
|
3607
|
+
var _this413 = this;
|
|
3608
|
+
return _asyncToGenerator(function* () {
|
|
3609
|
+
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3610
|
+
return _this413.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3599
3611
|
fields
|
|
3600
3612
|
}, null, options);
|
|
3601
3613
|
})();
|
|
3602
3614
|
}
|
|
3603
3615
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3604
|
-
var
|
|
3616
|
+
var _this414 = this;
|
|
3605
3617
|
return _asyncToGenerator(function* () {
|
|
3606
3618
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3607
|
-
return
|
|
3619
|
+
return _this414.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3608
3620
|
fields
|
|
3609
3621
|
}, null, options);
|
|
3610
3622
|
})();
|
|
3611
3623
|
}
|
|
3612
3624
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3613
|
-
var
|
|
3625
|
+
var _this415 = this;
|
|
3614
3626
|
return _asyncToGenerator(function* () {
|
|
3615
3627
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3616
3628
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3617
|
-
return
|
|
3629
|
+
return _this415.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3618
3630
|
fields
|
|
3619
3631
|
}, null, options);
|
|
3620
3632
|
})();
|
|
3621
3633
|
}
|
|
3622
3634
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3623
|
-
var
|
|
3635
|
+
var _this416 = this;
|
|
3624
3636
|
return _asyncToGenerator(function* () {
|
|
3625
3637
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3626
3638
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3627
|
-
return
|
|
3639
|
+
return _this416.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3628
3640
|
})();
|
|
3629
3641
|
}
|
|
3630
3642
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3631
|
-
var
|
|
3643
|
+
var _this417 = this;
|
|
3632
3644
|
return _asyncToGenerator(function* () {
|
|
3633
3645
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3634
|
-
return
|
|
3646
|
+
return _this417.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3635
3647
|
fields
|
|
3636
3648
|
}, null, options);
|
|
3637
3649
|
})();
|
|
3638
3650
|
}
|
|
3639
3651
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3640
|
-
var
|
|
3652
|
+
var _this418 = this;
|
|
3641
3653
|
return _asyncToGenerator(function* () {
|
|
3642
3654
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3643
|
-
return
|
|
3655
|
+
return _this418.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3644
3656
|
fields
|
|
3645
3657
|
}, null, options);
|
|
3646
3658
|
})();
|
|
3647
3659
|
}
|
|
3648
3660
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3649
|
-
var
|
|
3661
|
+
var _this419 = this;
|
|
3650
3662
|
return _asyncToGenerator(function* () {
|
|
3651
3663
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3652
|
-
return
|
|
3664
|
+
return _this419.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3653
3665
|
})();
|
|
3654
3666
|
}
|
|
3655
3667
|
user_session(user_id, session_id, fields, options) {
|
|
3656
|
-
var
|
|
3668
|
+
var _this420 = this;
|
|
3657
3669
|
return _asyncToGenerator(function* () {
|
|
3658
3670
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3659
3671
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3660
|
-
return
|
|
3672
|
+
return _this420.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3661
3673
|
fields
|
|
3662
3674
|
}, null, options);
|
|
3663
3675
|
})();
|
|
3664
3676
|
}
|
|
3665
3677
|
delete_user_session(user_id, session_id, options) {
|
|
3666
|
-
var
|
|
3678
|
+
var _this421 = this;
|
|
3667
3679
|
return _asyncToGenerator(function* () {
|
|
3668
3680
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3669
3681
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3670
|
-
return
|
|
3682
|
+
return _this421.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3671
3683
|
})();
|
|
3672
3684
|
}
|
|
3673
3685
|
all_user_sessions(user_id, fields, options) {
|
|
3674
|
-
var
|
|
3686
|
+
var _this422 = this;
|
|
3675
3687
|
return _asyncToGenerator(function* () {
|
|
3676
3688
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3677
|
-
return
|
|
3689
|
+
return _this422.get("/users/".concat(user_id, "/sessions"), {
|
|
3678
3690
|
fields
|
|
3679
3691
|
}, null, options);
|
|
3680
3692
|
})();
|
|
3681
3693
|
}
|
|
3682
3694
|
create_user_credentials_email_password_reset(request, options) {
|
|
3683
|
-
var
|
|
3695
|
+
var _this423 = this;
|
|
3684
3696
|
return _asyncToGenerator(function* () {
|
|
3685
3697
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3686
|
-
return
|
|
3698
|
+
return _this423.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3687
3699
|
expires: request.expires,
|
|
3688
3700
|
fields: request.fields
|
|
3689
3701
|
}, null, options);
|
|
3690
3702
|
})();
|
|
3691
3703
|
}
|
|
3692
3704
|
user_roles(request, options) {
|
|
3693
|
-
var
|
|
3705
|
+
var _this424 = this;
|
|
3694
3706
|
return _asyncToGenerator(function* () {
|
|
3695
3707
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3696
|
-
return
|
|
3708
|
+
return _this424.get("/users/".concat(request.user_id, "/roles"), {
|
|
3697
3709
|
fields: request.fields,
|
|
3698
3710
|
direct_association_only: request.direct_association_only
|
|
3699
3711
|
}, null, options);
|
|
3700
3712
|
})();
|
|
3701
3713
|
}
|
|
3702
3714
|
set_user_roles(user_id, body, fields, options) {
|
|
3703
|
-
var
|
|
3715
|
+
var _this425 = this;
|
|
3704
3716
|
return _asyncToGenerator(function* () {
|
|
3705
3717
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3706
|
-
return
|
|
3718
|
+
return _this425.put("/users/".concat(user_id, "/roles"), {
|
|
3707
3719
|
fields
|
|
3708
3720
|
}, body, options);
|
|
3709
3721
|
})();
|
|
3710
3722
|
}
|
|
3711
3723
|
user_attribute_user_values(request, options) {
|
|
3712
|
-
var
|
|
3724
|
+
var _this426 = this;
|
|
3713
3725
|
return _asyncToGenerator(function* () {
|
|
3714
3726
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3715
|
-
return
|
|
3727
|
+
return _this426.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3716
3728
|
fields: request.fields,
|
|
3717
3729
|
user_attribute_ids: request.user_attribute_ids,
|
|
3718
3730
|
all_values: request.all_values,
|
|
@@ -3721,114 +3733,114 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3721
3733
|
})();
|
|
3722
3734
|
}
|
|
3723
3735
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3724
|
-
var
|
|
3736
|
+
var _this427 = this;
|
|
3725
3737
|
return _asyncToGenerator(function* () {
|
|
3726
3738
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3727
3739
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3728
|
-
return
|
|
3740
|
+
return _this427.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3729
3741
|
})();
|
|
3730
3742
|
}
|
|
3731
3743
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3732
|
-
var
|
|
3744
|
+
var _this428 = this;
|
|
3733
3745
|
return _asyncToGenerator(function* () {
|
|
3734
3746
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3735
3747
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3736
|
-
return
|
|
3748
|
+
return _this428.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3737
3749
|
})();
|
|
3738
3750
|
}
|
|
3739
3751
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3740
|
-
var
|
|
3752
|
+
var _this429 = this;
|
|
3741
3753
|
return _asyncToGenerator(function* () {
|
|
3742
3754
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3743
|
-
return
|
|
3755
|
+
return _this429.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3744
3756
|
fields
|
|
3745
3757
|
}, null, options);
|
|
3746
3758
|
})();
|
|
3747
3759
|
}
|
|
3748
3760
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3749
|
-
var
|
|
3761
|
+
var _this430 = this;
|
|
3750
3762
|
return _asyncToGenerator(function* () {
|
|
3751
3763
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3752
|
-
return
|
|
3764
|
+
return _this430.post("/users/".concat(user_id, "/update_emails"), {
|
|
3753
3765
|
fields
|
|
3754
3766
|
}, body, options);
|
|
3755
3767
|
})();
|
|
3756
3768
|
}
|
|
3757
3769
|
create_embed_user(body, options) {
|
|
3758
|
-
var
|
|
3770
|
+
var _this431 = this;
|
|
3759
3771
|
return _asyncToGenerator(function* () {
|
|
3760
|
-
return
|
|
3772
|
+
return _this431.post('/users/embed_user', null, body, options);
|
|
3761
3773
|
})();
|
|
3762
3774
|
}
|
|
3763
3775
|
all_user_attributes(request, options) {
|
|
3764
|
-
var
|
|
3776
|
+
var _this432 = this;
|
|
3765
3777
|
return _asyncToGenerator(function* () {
|
|
3766
|
-
return
|
|
3778
|
+
return _this432.get('/user_attributes', {
|
|
3767
3779
|
fields: request.fields,
|
|
3768
3780
|
sorts: request.sorts
|
|
3769
3781
|
}, null, options);
|
|
3770
3782
|
})();
|
|
3771
3783
|
}
|
|
3772
3784
|
create_user_attribute(body, fields, options) {
|
|
3773
|
-
var
|
|
3785
|
+
var _this433 = this;
|
|
3774
3786
|
return _asyncToGenerator(function* () {
|
|
3775
|
-
return
|
|
3787
|
+
return _this433.post('/user_attributes', {
|
|
3776
3788
|
fields
|
|
3777
3789
|
}, body, options);
|
|
3778
3790
|
})();
|
|
3779
3791
|
}
|
|
3780
3792
|
user_attribute(user_attribute_id, fields, options) {
|
|
3781
|
-
var
|
|
3793
|
+
var _this434 = this;
|
|
3782
3794
|
return _asyncToGenerator(function* () {
|
|
3783
3795
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3784
|
-
return
|
|
3796
|
+
return _this434.get("/user_attributes/".concat(user_attribute_id), {
|
|
3785
3797
|
fields
|
|
3786
3798
|
}, null, options);
|
|
3787
3799
|
})();
|
|
3788
3800
|
}
|
|
3789
3801
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3790
|
-
var
|
|
3802
|
+
var _this435 = this;
|
|
3791
3803
|
return _asyncToGenerator(function* () {
|
|
3792
3804
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3793
|
-
return
|
|
3805
|
+
return _this435.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3794
3806
|
fields
|
|
3795
3807
|
}, body, options);
|
|
3796
3808
|
})();
|
|
3797
3809
|
}
|
|
3798
3810
|
delete_user_attribute(user_attribute_id, options) {
|
|
3799
|
-
var
|
|
3811
|
+
var _this436 = this;
|
|
3800
3812
|
return _asyncToGenerator(function* () {
|
|
3801
3813
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3802
|
-
return
|
|
3814
|
+
return _this436.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3803
3815
|
})();
|
|
3804
3816
|
}
|
|
3805
3817
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3806
|
-
var
|
|
3818
|
+
var _this437 = this;
|
|
3807
3819
|
return _asyncToGenerator(function* () {
|
|
3808
3820
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3809
|
-
return
|
|
3821
|
+
return _this437.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3810
3822
|
fields
|
|
3811
3823
|
}, null, options);
|
|
3812
3824
|
})();
|
|
3813
3825
|
}
|
|
3814
3826
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3815
|
-
var
|
|
3827
|
+
var _this438 = this;
|
|
3816
3828
|
return _asyncToGenerator(function* () {
|
|
3817
3829
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3818
|
-
return
|
|
3830
|
+
return _this438.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3819
3831
|
})();
|
|
3820
3832
|
}
|
|
3821
3833
|
all_workspaces(options) {
|
|
3822
|
-
var
|
|
3834
|
+
var _this439 = this;
|
|
3823
3835
|
return _asyncToGenerator(function* () {
|
|
3824
|
-
return
|
|
3836
|
+
return _this439.get('/workspaces', null, null, options);
|
|
3825
3837
|
})();
|
|
3826
3838
|
}
|
|
3827
3839
|
workspace(workspace_id, options) {
|
|
3828
|
-
var
|
|
3840
|
+
var _this440 = this;
|
|
3829
3841
|
return _asyncToGenerator(function* () {
|
|
3830
3842
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3831
|
-
return
|
|
3843
|
+
return _this440.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3832
3844
|
})();
|
|
3833
3845
|
}
|
|
3834
3846
|
}
|