@looker/sdk
Version:
1,432 lines (1,431 loc) • 148 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Looker40SDK = void 0;
var _sdkRtl = require("@looker/sdk-rtl");
var _constants = require("../constants");
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
class Looker40SDK extends _sdkRtl.APIMethods {
constructor(authSession) {
super(authSession, _constants.sdkVersion);
this.apiVersion = Looker40SDK.ApiVersion;
this.apiPath = authSession.settings.base_url === '' ? '' : authSession.settings.base_url + '/api/' + this.apiVersion;
}
follow_alert(alert_id, options) {
var _this = this;
return _asyncToGenerator(function* () {
alert_id = (0, _sdkRtl.encodeParam)(alert_id);
return _this.post("/alerts/".concat(alert_id, "/follow"), null, null, options);
})();
}
unfollow_alert(alert_id, options) {
var _this2 = this;
return _asyncToGenerator(function* () {
alert_id = (0, _sdkRtl.encodeParam)(alert_id);
return _this2.delete("/alerts/".concat(alert_id, "/follow"), null, null, options);
})();
}
search_alerts(request, options) {
var _this3 = this;
return _asyncToGenerator(function* () {
return _this3.get('/alerts/search', {
limit: request.limit,
offset: request.offset,
group_by: request.group_by,
fields: request.fields,
disabled: request.disabled,
frequency: request.frequency,
condition_met: request.condition_met,
last_run_start: request.last_run_start,
last_run_end: request.last_run_end,
all_owners: request.all_owners
}, null, options);
})();
}
get_alert(alert_id, options) {
var _this4 = this;
return _asyncToGenerator(function* () {
alert_id = (0, _sdkRtl.encodeParam)(alert_id);
return _this4.get("/alerts/".concat(alert_id), null, null, options);
})();
}
update_alert(alert_id, body, options) {
var _this5 = this;
return _asyncToGenerator(function* () {
alert_id = (0, _sdkRtl.encodeParam)(alert_id);
return _this5.put("/alerts/".concat(alert_id), null, body, options);
})();
}
update_alert_field(alert_id, body, options) {
var _this6 = this;
return _asyncToGenerator(function* () {
alert_id = (0, _sdkRtl.encodeParam)(alert_id);
return _this6.patch("/alerts/".concat(alert_id), null, body, options);
})();
}
delete_alert(alert_id, options) {
var _this7 = this;
return _asyncToGenerator(function* () {
alert_id = (0, _sdkRtl.encodeParam)(alert_id);
return _this7.delete("/alerts/".concat(alert_id), null, null, options);
})();
}
create_alert(body, options) {
var _this8 = this;
return _asyncToGenerator(function* () {
return _this8.post('/alerts', null, body, options);
})();
}
enqueue_alert(alert_id, force, options) {
var _this9 = this;
return _asyncToGenerator(function* () {
alert_id = (0, _sdkRtl.encodeParam)(alert_id);
return _this9.post("/alerts/".concat(alert_id, "/enqueue"), {
force
}, null, options);
})();
}
alert_notifications(request, options) {
var _this0 = this;
return _asyncToGenerator(function* () {
return _this0.get('/alert_notifications', {
limit: request.limit,
offset: request.offset
}, null, options);
})();
}
read_alert_notification(alert_notification_id, options) {
var _this1 = this;
return _asyncToGenerator(function* () {
alert_notification_id = (0, _sdkRtl.encodeParam)(alert_notification_id);
return _this1.patch("/alert_notifications/".concat(alert_notification_id), null, null, options);
})();
}
login(request, options) {
var _this10 = this;
return _asyncToGenerator(function* () {
return _this10.post('/login', null, new URLSearchParams({
client_id: request.client_id,
client_secret: request.client_secret
}), options);
})();
}
login_user(user_id, options) {
var _this11 = this;
return _asyncToGenerator(function* () {
user_id = (0, _sdkRtl.encodeParam)(user_id);
return _this11.post("/login/".concat(user_id), null, null, options);
})();
}
logout(options) {
var _this12 = this;
return _asyncToGenerator(function* () {
return _this12.delete('/logout', null, null, options);
})();
}
artifact_usage(fields, options) {
var _this13 = this;
return _asyncToGenerator(function* () {
return _this13.get('/artifact/usage', {
fields
}, null, options);
})();
}
artifact_namespaces(request, options) {
var _this14 = this;
return _asyncToGenerator(function* () {
return _this14.get('/artifact/namespaces', {
fields: request.fields,
limit: request.limit,
offset: request.offset
}, null, options);
})();
}
artifact_value(namespace, key, options) {
var _this15 = this;
return _asyncToGenerator(function* () {
namespace = (0, _sdkRtl.encodeParam)(namespace);
return _this15.get("/artifact/".concat(namespace, "/value"), {
key
}, null, options);
})();
}
purge_artifacts(namespace, options) {
var _this16 = this;
return _asyncToGenerator(function* () {
namespace = (0, _sdkRtl.encodeParam)(namespace);
return _this16.delete("/artifact/".concat(namespace, "/purge"), null, null, options);
})();
}
search_artifacts(request, options) {
var _this17 = this;
return _asyncToGenerator(function* () {
request.namespace = (0, _sdkRtl.encodeParam)(request.namespace);
return _this17.get("/artifact/".concat(request.namespace, "/search"), {
fields: request.fields,
key: request.key,
user_ids: request.user_ids,
min_size: request.min_size,
max_size: request.max_size,
limit: request.limit,
offset: request.offset,
tally: request.tally
}, null, options);
})();
}
artifact(request, options) {
var _this18 = this;
return _asyncToGenerator(function* () {
request.namespace = (0, _sdkRtl.encodeParam)(request.namespace);
return _this18.get("/artifact/".concat(request.namespace), {
key: request.key,
fields: request.fields,
limit: request.limit,
offset: request.offset,
tally: request.tally
}, null, options);
})();
}
delete_artifact(namespace, key, options) {
var _this19 = this;
return _asyncToGenerator(function* () {
namespace = (0, _sdkRtl.encodeParam)(namespace);
return _this19.delete("/artifact/".concat(namespace), {
key
}, null, options);
})();
}
update_artifacts(namespace, body, fields, options) {
var _this20 = this;
return _asyncToGenerator(function* () {
namespace = (0, _sdkRtl.encodeParam)(namespace);
return _this20.put("/artifacts/".concat(namespace), {
fields
}, body, options);
})();
}
create_embed_secret(body, options) {
var _this21 = this;
return _asyncToGenerator(function* () {
return _this21.post('/embed_config/secrets', null, body, options);
})();
}
delete_embed_secret(embed_secret_id, options) {
var _this22 = this;
return _asyncToGenerator(function* () {
embed_secret_id = (0, _sdkRtl.encodeParam)(embed_secret_id);
return _this22.delete("/embed_config/secrets/".concat(embed_secret_id), null, null, options);
})();
}
create_sso_embed_url(body, options) {
var _this23 = this;
return _asyncToGenerator(function* () {
return _this23.post('/embed/sso_url', null, body, options);
})();
}
create_embed_url_as_me(body, options) {
var _this24 = this;
return _asyncToGenerator(function* () {
return _this24.post('/embed/token_url/me', null, body, options);
})();
}
validate_embed_url(url, options) {
var _this25 = this;
return _asyncToGenerator(function* () {
return _this25.get('/embed/sso/validate', {
url
}, null, options);
})();
}
acquire_embed_cookieless_session(body, options) {
var _this26 = this;
return _asyncToGenerator(function* () {
return _this26.post('/embed/cookieless_session/acquire', null, body, options);
})();
}
delete_embed_cookieless_session(session_reference_token, options) {
var _this27 = this;
return _asyncToGenerator(function* () {
session_reference_token = (0, _sdkRtl.encodeParam)(session_reference_token);
return _this27.delete("/embed/cookieless_session/".concat(session_reference_token), null, null, options);
})();
}
generate_tokens_for_cookieless_session(body, options) {
var _this28 = this;
return _asyncToGenerator(function* () {
return _this28.put('/embed/cookieless_session/generate_tokens', null, body, options);
})();
}
ldap_config(options) {
var _this29 = this;
return _asyncToGenerator(function* () {
return _this29.get('/ldap_config', null, null, options);
})();
}
update_ldap_config(body, options) {
var _this30 = this;
return _asyncToGenerator(function* () {
return _this30.patch('/ldap_config', null, body, options);
})();
}
test_ldap_config_connection(body, options) {
var _this31 = this;
return _asyncToGenerator(function* () {
return _this31.put('/ldap_config/test_connection', null, body, options);
})();
}
test_ldap_config_auth(body, options) {
var _this32 = this;
return _asyncToGenerator(function* () {
return _this32.put('/ldap_config/test_auth', null, body, options);
})();
}
test_ldap_config_user_info(body, options) {
var _this33 = this;
return _asyncToGenerator(function* () {
return _this33.put('/ldap_config/test_user_info', null, body, options);
})();
}
test_ldap_config_user_auth(body, options) {
var _this34 = this;
return _asyncToGenerator(function* () {
return _this34.put('/ldap_config/test_user_auth', null, body, options);
})();
}
register_mobile_device(body, options) {
var _this35 = this;
return _asyncToGenerator(function* () {
return _this35.post('/mobile/device', null, body, options);
})();
}
update_mobile_device_registration(device_id, options) {
var _this36 = this;
return _asyncToGenerator(function* () {
device_id = (0, _sdkRtl.encodeParam)(device_id);
return _this36.patch("/mobile/device/".concat(device_id), null, null, options);
})();
}
deregister_mobile_device(device_id, options) {
var _this37 = this;
return _asyncToGenerator(function* () {
device_id = (0, _sdkRtl.encodeParam)(device_id);
return _this37.delete("/mobile/device/".concat(device_id), null, null, options);
})();
}
all_oauth_client_apps(fields, options) {
var _this38 = this;
return _asyncToGenerator(function* () {
return _this38.get('/oauth_client_apps', {
fields
}, null, options);
})();
}
oauth_client_app(client_guid, fields, options) {
var _this39 = this;
return _asyncToGenerator(function* () {
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
return _this39.get("/oauth_client_apps/".concat(client_guid), {
fields
}, null, options);
})();
}
register_oauth_client_app(client_guid, body, fields, options) {
var _this40 = this;
return _asyncToGenerator(function* () {
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
return _this40.post("/oauth_client_apps/".concat(client_guid), {
fields
}, body, options);
})();
}
update_oauth_client_app(client_guid, body, fields, options) {
var _this41 = this;
return _asyncToGenerator(function* () {
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
return _this41.patch("/oauth_client_apps/".concat(client_guid), {
fields
}, body, options);
})();
}
delete_oauth_client_app(client_guid, options) {
var _this42 = this;
return _asyncToGenerator(function* () {
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
return _this42.delete("/oauth_client_apps/".concat(client_guid), null, null, options);
})();
}
invalidate_tokens(client_guid, options) {
var _this43 = this;
return _asyncToGenerator(function* () {
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
return _this43.delete("/oauth_client_apps/".concat(client_guid, "/tokens"), null, null, options);
})();
}
activate_app_user(client_guid, user_id, fields, options) {
var _this44 = this;
return _asyncToGenerator(function* () {
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
user_id = (0, _sdkRtl.encodeParam)(user_id);
return _this44.post("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
fields
}, null, options);
})();
}
deactivate_app_user(client_guid, user_id, fields, options) {
var _this45 = this;
return _asyncToGenerator(function* () {
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
user_id = (0, _sdkRtl.encodeParam)(user_id);
return _this45.delete("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
fields
}, null, options);
})();
}
oidc_config(options) {
var _this46 = this;
return _asyncToGenerator(function* () {
return _this46.get('/oidc_config', null, null, options);
})();
}
update_oidc_config(body, options) {
var _this47 = this;
return _asyncToGenerator(function* () {
return _this47.patch('/oidc_config', null, body, options);
})();
}
oidc_test_config(test_slug, options) {
var _this48 = this;
return _asyncToGenerator(function* () {
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
return _this48.get("/oidc_test_configs/".concat(test_slug), null, null, options);
})();
}
delete_oidc_test_config(test_slug, options) {
var _this49 = this;
return _asyncToGenerator(function* () {
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
return _this49.delete("/oidc_test_configs/".concat(test_slug), null, null, options);
})();
}
create_oidc_test_config(body, options) {
var _this50 = this;
return _asyncToGenerator(function* () {
return _this50.post('/oidc_test_configs', null, body, options);
})();
}
password_config(options) {
var _this51 = this;
return _asyncToGenerator(function* () {
return _this51.get('/password_config', null, null, options);
})();
}
update_password_config(body, options) {
var _this52 = this;
return _asyncToGenerator(function* () {
return _this52.patch('/password_config', null, body, options);
})();
}
force_password_reset_at_next_login_for_all_users(options) {
var _this53 = this;
return _asyncToGenerator(function* () {
return _this53.put('/password_config/force_password_reset_at_next_login_for_all_users', null, null, options);
})();
}
saml_config(options) {
var _this54 = this;
return _asyncToGenerator(function* () {
return _this54.get('/saml_config', null, null, options);
})();
}
update_saml_config(body, options) {
var _this55 = this;
return _asyncToGenerator(function* () {
return _this55.patch('/saml_config', null, body, options);
})();
}
saml_test_config(test_slug, options) {
var _this56 = this;
return _asyncToGenerator(function* () {
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
return _this56.get("/saml_test_configs/".concat(test_slug), null, null, options);
})();
}
delete_saml_test_config(test_slug, options) {
var _this57 = this;
return _asyncToGenerator(function* () {
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
return _this57.delete("/saml_test_configs/".concat(test_slug), null, null, options);
})();
}
create_saml_test_config(body, options) {
var _this58 = this;
return _asyncToGenerator(function* () {
return _this58.post('/saml_test_configs', null, body, options);
})();
}
parse_saml_idp_metadata(body, options) {
var _this59 = this;
return _asyncToGenerator(function* () {
return _this59.post('/parse_saml_idp_metadata', null, body, options);
})();
}
fetch_and_parse_saml_idp_metadata(body, options) {
var _this60 = this;
return _asyncToGenerator(function* () {
return _this60.post('/fetch_and_parse_saml_idp_metadata', null, body, options);
})();
}
session_config(options) {
var _this61 = this;
return _asyncToGenerator(function* () {
return _this61.get('/session_config', null, null, options);
})();
}
update_session_config(body, options) {
var _this62 = this;
return _asyncToGenerator(function* () {
return _this62.patch('/session_config', null, body, options);
})();
}
get_support_access_allowlist_entries(fields, options) {
var _this63 = this;
return _asyncToGenerator(function* () {
return _this63.get('/support_access/allowlist', {
fields
}, null, options);
})();
}
add_support_access_allowlist_entries(body, options) {
var _this64 = this;
return _asyncToGenerator(function* () {
return _this64.post('/support_access/allowlist', null, body, options);
})();
}
delete_support_access_allowlist_entry(entry_id, options) {
var _this65 = this;
return _asyncToGenerator(function* () {
entry_id = (0, _sdkRtl.encodeParam)(entry_id);
return _this65.delete("/support_access/allowlist/".concat(entry_id), null, null, options);
})();
}
enable_support_access(body, options) {
var _this66 = this;
return _asyncToGenerator(function* () {
return _this66.put('/support_access/enable', null, body, options);
})();
}
disable_support_access(options) {
var _this67 = this;
return _asyncToGenerator(function* () {
return _this67.put('/support_access/disable', null, null, options);
})();
}
support_access_status(options) {
var _this68 = this;
return _asyncToGenerator(function* () {
return _this68.get('/support_access/status', null, null, options);
})();
}
all_user_login_lockouts(fields, options) {
var _this69 = this;
return _asyncToGenerator(function* () {
return _this69.get('/user_login_lockouts', {
fields
}, null, options);
})();
}
search_user_login_lockouts(request, options) {
var _this70 = this;
return _asyncToGenerator(function* () {
return _this70.get('/user_login_lockouts/search', {
fields: request.fields,
page: request.page,
per_page: request.per_page,
limit: request.limit,
offset: request.offset,
sorts: request.sorts,
auth_type: request.auth_type,
full_name: request.full_name,
email: request.email,
remote_id: request.remote_id,
filter_or: request.filter_or
}, null, options);
})();
}
delete_user_login_lockout(key, options) {
var _this71 = this;
return _asyncToGenerator(function* () {
key = (0, _sdkRtl.encodeParam)(key);
return _this71.delete("/user_login_lockout/".concat(key), null, null, options);
})();
}
all_boards(fields, options) {
var _this72 = this;
return _asyncToGenerator(function* () {
return _this72.get('/boards', {
fields
}, null, options);
})();
}
create_board(body, fields, options) {
var _this73 = this;
return _asyncToGenerator(function* () {
return _this73.post('/boards', {
fields
}, body, options);
})();
}
search_boards(request, options) {
var _this74 = this;
return _asyncToGenerator(function* () {
return _this74.get('/boards/search', {
title: request.title,
created_at: request.created_at,
first_name: request.first_name,
last_name: request.last_name,
fields: request.fields,
favorited: request.favorited,
creator_id: request.creator_id,
sorts: request.sorts,
page: request.page,
per_page: request.per_page,
offset: request.offset,
limit: request.limit,
filter_or: request.filter_or,
permission: request.permission
}, null, options);
})();
}
board(board_id, fields, options) {
var _this75 = this;
return _asyncToGenerator(function* () {
board_id = (0, _sdkRtl.encodeParam)(board_id);
return _this75.get("/boards/".concat(board_id), {
fields
}, null, options);
})();
}
update_board(board_id, body, fields, options) {
var _this76 = this;
return _asyncToGenerator(function* () {
board_id = (0, _sdkRtl.encodeParam)(board_id);
return _this76.patch("/boards/".concat(board_id), {
fields
}, body, options);
})();
}
delete_board(board_id, options) {
var _this77 = this;
return _asyncToGenerator(function* () {
board_id = (0, _sdkRtl.encodeParam)(board_id);
return _this77.delete("/boards/".concat(board_id), null, null, options);
})();
}
all_board_items(request, options) {
var _this78 = this;
return _asyncToGenerator(function* () {
return _this78.get('/board_items', {
fields: request.fields,
sorts: request.sorts,
board_section_id: request.board_section_id
}, null, options);
})();
}
create_board_item(body, fields, options) {
var _this79 = this;
return _asyncToGenerator(function* () {
return _this79.post('/board_items', {
fields
}, body, options);
})();
}
board_item(board_item_id, fields, options) {
var _this80 = this;
return _asyncToGenerator(function* () {
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
return _this80.get("/board_items/".concat(board_item_id), {
fields
}, null, options);
})();
}
update_board_item(board_item_id, body, fields, options) {
var _this81 = this;
return _asyncToGenerator(function* () {
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
return _this81.patch("/board_items/".concat(board_item_id), {
fields
}, body, options);
})();
}
delete_board_item(board_item_id, options) {
var _this82 = this;
return _asyncToGenerator(function* () {
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
return _this82.delete("/board_items/".concat(board_item_id), null, null, options);
})();
}
all_board_sections(request, options) {
var _this83 = this;
return _asyncToGenerator(function* () {
return _this83.get('/board_sections', {
fields: request.fields,
sorts: request.sorts
}, null, options);
})();
}
create_board_section(body, fields, options) {
var _this84 = this;
return _asyncToGenerator(function* () {
return _this84.post('/board_sections', {
fields
}, body, options);
})();
}
board_section(board_section_id, fields, options) {
var _this85 = this;
return _asyncToGenerator(function* () {
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
return _this85.get("/board_sections/".concat(board_section_id), {
fields
}, null, options);
})();
}
update_board_section(board_section_id, body, fields, options) {
var _this86 = this;
return _asyncToGenerator(function* () {
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
return _this86.patch("/board_sections/".concat(board_section_id), {
fields
}, body, options);
})();
}
delete_board_section(board_section_id, options) {
var _this87 = this;
return _asyncToGenerator(function* () {
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
return _this87.delete("/board_sections/".concat(board_section_id), null, null, options);
})();
}
all_color_collections(fields, options) {
var _this88 = this;
return _asyncToGenerator(function* () {
return _this88.get('/color_collections', {
fields
}, null, options);
})();
}
create_color_collection(body, options) {
var _this89 = this;
return _asyncToGenerator(function* () {
return _this89.post('/color_collections', null, body, options);
})();
}
color_collections_custom(fields, options) {
var _this90 = this;
return _asyncToGenerator(function* () {
return _this90.get('/color_collections/custom', {
fields
}, null, options);
})();
}
color_collections_standard(fields, options) {
var _this91 = this;
return _asyncToGenerator(function* () {
return _this91.get('/color_collections/standard', {
fields
}, null, options);
})();
}
default_color_collection(options) {
var _this92 = this;
return _asyncToGenerator(function* () {
return _this92.get('/color_collections/default', null, null, options);
})();
}
set_default_color_collection(collection_id, options) {
var _this93 = this;
return _asyncToGenerator(function* () {
return _this93.put('/color_collections/default', {
collection_id
}, null, options);
})();
}
color_collection(collection_id, fields, options) {
var _this94 = this;
return _asyncToGenerator(function* () {
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
return _this94.get("/color_collections/".concat(collection_id), {
fields
}, null, options);
})();
}
update_color_collection(collection_id, body, options) {
var _this95 = this;
return _asyncToGenerator(function* () {
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
return _this95.patch("/color_collections/".concat(collection_id), null, body, options);
})();
}
delete_color_collection(collection_id, options) {
var _this96 = this;
return _asyncToGenerator(function* () {
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
return _this96.delete("/color_collections/".concat(collection_id), null, null, options);
})();
}
cloud_storage_configuration(options) {
var _this97 = this;
return _asyncToGenerator(function* () {
return _this97.get('/cloud_storage', null, null, options);
})();
}
update_cloud_storage_configuration(body, options) {
var _this98 = this;
return _asyncToGenerator(function* () {
return _this98.patch('/cloud_storage', null, body, options);
})();
}
custom_welcome_email(options) {
var _this99 = this;
return _asyncToGenerator(function* () {
return _this99.get('/custom_welcome_email', null, null, options);
})();
}
update_custom_welcome_email(body, send_test_welcome_email, options) {
var _this100 = this;
return _asyncToGenerator(function* () {
return _this100.patch('/custom_welcome_email', {
send_test_welcome_email
}, body, options);
})();
}
update_custom_welcome_email_test(body, options) {
var _this101 = this;
return _asyncToGenerator(function* () {
return _this101.put('/custom_welcome_email_test', null, body, options);
})();
}
digest_emails_enabled(options) {
var _this102 = this;
return _asyncToGenerator(function* () {
return _this102.get('/digest_emails_enabled', null, null, options);
})();
}
update_digest_emails_enabled(body, options) {
var _this103 = this;
return _asyncToGenerator(function* () {
return _this103.patch('/digest_emails_enabled', null, body, options);
})();
}
create_digest_email_send(options) {
var _this104 = this;
return _asyncToGenerator(function* () {
return _this104.post('/digest_email_send', null, null, options);
})();
}
public_egress_ip_addresses(options) {
var _this105 = this;
return _asyncToGenerator(function* () {
return _this105.get('/public_egress_ip_addresses', null, null, options);
})();
}
internal_help_resources_content(options) {
var _this106 = this;
return _asyncToGenerator(function* () {
return _this106.get('/internal_help_resources_content', null, null, options);
})();
}
update_internal_help_resources_content(body, options) {
var _this107 = this;
return _asyncToGenerator(function* () {
return _this107.patch('/internal_help_resources_content', null, body, options);
})();
}
internal_help_resources(options) {
var _this108 = this;
return _asyncToGenerator(function* () {
return _this108.get('/internal_help_resources_enabled', null, null, options);
})();
}
update_internal_help_resources(body, options) {
var _this109 = this;
return _asyncToGenerator(function* () {
return _this109.patch('/internal_help_resources', null, body, options);
})();
}
all_legacy_features(options) {
var _this110 = this;
return _asyncToGenerator(function* () {
return _this110.get('/legacy_features', null, null, options);
})();
}
legacy_feature(legacy_feature_id, options) {
var _this111 = this;
return _asyncToGenerator(function* () {
legacy_feature_id = (0, _sdkRtl.encodeParam)(legacy_feature_id);
return _this111.get("/legacy_features/".concat(legacy_feature_id), null, null, options);
})();
}
update_legacy_feature(legacy_feature_id, body, options) {
var _this112 = this;
return _asyncToGenerator(function* () {
legacy_feature_id = (0, _sdkRtl.encodeParam)(legacy_feature_id);
return _this112.patch("/legacy_features/".concat(legacy_feature_id), null, body, options);
})();
}
all_locales(options) {
var _this113 = this;
return _asyncToGenerator(function* () {
return _this113.get('/locales', null, null, options);
})();
}
mobile_settings(options) {
var _this114 = this;
return _asyncToGenerator(function* () {
return _this114.get('/mobile/settings', null, null, options);
})();
}
get_setting(fields, options) {
var _this115 = this;
return _asyncToGenerator(function* () {
return _this115.get('/setting', {
fields
}, null, options);
})();
}
set_setting(body, fields, options) {
var _this116 = this;
return _asyncToGenerator(function* () {
return _this116.patch('/setting', {
fields
}, body, options);
})();
}
set_smtp_settings(body, options) {
var _this117 = this;
return _asyncToGenerator(function* () {
return _this117.post('/smtp_settings', null, body, options);
})();
}
smtp_status(fields, options) {
var _this118 = this;
return _asyncToGenerator(function* () {
return _this118.get('/smtp_status', {
fields
}, null, options);
})();
}
all_timezones(options) {
var _this119 = this;
return _asyncToGenerator(function* () {
return _this119.get('/timezones', null, null, options);
})();
}
versions(fields, options) {
var _this120 = this;
return _asyncToGenerator(function* () {
return _this120.get('/versions', {
fields
}, null, options);
})();
}
api_spec(api_version, specification, options) {
var _this121 = this;
return _asyncToGenerator(function* () {
api_version = (0, _sdkRtl.encodeParam)(api_version);
specification = (0, _sdkRtl.encodeParam)(specification);
return _this121.get("/api_spec/".concat(api_version, "/").concat(specification), null, null, options);
})();
}
whitelabel_configuration(fields, options) {
var _this122 = this;
return _asyncToGenerator(function* () {
return _this122.get('/whitelabel_configuration', {
fields
}, null, options);
})();
}
update_whitelabel_configuration(body, options) {
var _this123 = this;
return _asyncToGenerator(function* () {
return _this123.put('/whitelabel_configuration', null, body, options);
})();
}
all_connections(fields, options) {
var _this124 = this;
return _asyncToGenerator(function* () {
return _this124.get('/connections', {
fields
}, null, options);
})();
}
create_connection(body, options) {
var _this125 = this;
return _asyncToGenerator(function* () {
return _this125.post('/connections', null, body, options);
})();
}
connection(connection_name, fields, options) {
var _this126 = this;
return _asyncToGenerator(function* () {
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
return _this126.get("/connections/".concat(connection_name), {
fields
}, null, options);
})();
}
update_connection(connection_name, body, options) {
var _this127 = this;
return _asyncToGenerator(function* () {
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
return _this127.patch("/connections/".concat(connection_name), null, body, options);
})();
}
delete_connection(connection_name, options) {
var _this128 = this;
return _asyncToGenerator(function* () {
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
return _this128.delete("/connections/".concat(connection_name), null, null, options);
})();
}
delete_connection_override(connection_name, override_context, options) {
var _this129 = this;
return _asyncToGenerator(function* () {
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
override_context = (0, _sdkRtl.encodeParam)(override_context);
return _this129.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
})();
}
test_connection(connection_name, tests, options) {
var _this130 = this;
return _asyncToGenerator(function* () {
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
return _this130.put("/connections/".concat(connection_name, "/test"), {
tests
}, null, options);
})();
}
test_connection_config(body, tests, options) {
var _this131 = this;
return _asyncToGenerator(function* () {
return _this131.put('/connections/test', {
tests
}, body, options);
})();
}
all_dialect_infos(fields, options) {
var _this132 = this;
return _asyncToGenerator(function* () {
return _this132.get('/dialect_info', {
fields
}, null, options);
})();
}
all_external_oauth_applications(request, options) {
var _this133 = this;
return _asyncToGenerator(function* () {
return _this133.get('/external_oauth_applications', {
name: request.name,
client_id: request.client_id
}, null, options);
})();
}
create_external_oauth_application(body, options) {
var _this134 = this;
return _asyncToGenerator(function* () {
return _this134.post('/external_oauth_applications', null, body, options);
})();
}
update_external_oauth_application(client_id, body, options) {
var _this135 = this;
return _asyncToGenerator(function* () {
client_id = (0, _sdkRtl.encodeParam)(client_id);
return _this135.patch("/external_oauth_applications/".concat(client_id), null, body, options);
})();
}
delete_external_oauth_application(client_id, options) {
var _this136 = this;
return _asyncToGenerator(function* () {
client_id = (0, _sdkRtl.encodeParam)(client_id);
return _this136.delete("/external_oauth_applications/".concat(client_id), null, null, options);
})();
}
create_oauth_application_user_state(body, options) {
var _this137 = this;
return _asyncToGenerator(function* () {
return _this137.post('/external_oauth_applications/user_state', null, body, options);
})();
}
all_ssh_servers(fields, options) {
var _this138 = this;
return _asyncToGenerator(function* () {
return _this138.get('/ssh_servers', {
fields
}, null, options);
})();
}
create_ssh_server(body, options) {
var _this139 = this;
return _asyncToGenerator(function* () {
return _this139.post('/ssh_servers', null, body, options);
})();
}
ssh_server(ssh_server_id, options) {
var _this140 = this;
return _asyncToGenerator(function* () {
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
return _this140.get("/ssh_server/".concat(ssh_server_id), null, null, options);
})();
}
update_ssh_server(ssh_server_id, body, options) {
var _this141 = this;
return _asyncToGenerator(function* () {
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
return _this141.patch("/ssh_server/".concat(ssh_server_id), null, body, options);
})();
}
delete_ssh_server(ssh_server_id, options) {
var _this142 = this;
return _asyncToGenerator(function* () {
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
return _this142.delete("/ssh_server/".concat(ssh_server_id), null, null, options);
})();
}
test_ssh_server(ssh_server_id, options) {
var _this143 = this;
return _asyncToGenerator(function* () {
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
return _this143.get("/ssh_server/".concat(ssh_server_id, "/test"), null, null, options);
})();
}
all_ssh_tunnels(fields, options) {
var _this144 = this;
return _asyncToGenerator(function* () {
return _this144.get('/ssh_tunnels', {
fields
}, null, options);
})();
}
create_ssh_tunnel(body, options) {
var _this145 = this;
return _asyncToGenerator(function* () {
return _this145.post('/ssh_tunnels', null, body, options);
})();
}
ssh_tunnel(ssh_tunnel_id, options) {
var _this146 = this;
return _asyncToGenerator(function* () {
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
return _this146.get("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
})();
}
update_ssh_tunnel(ssh_tunnel_id, body, options) {
var _this147 = this;
return _asyncToGenerator(function* () {
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
return _this147.patch("/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options);
})();
}
delete_ssh_tunnel(ssh_tunnel_id, options) {
var _this148 = this;
return _asyncToGenerator(function* () {
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
return _this148.delete("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
})();
}
test_ssh_tunnel(ssh_tunnel_id, options) {
var _this149 = this;
return _asyncToGenerator(function* () {
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
return _this149.get("/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options);
})();
}
ssh_public_key(options) {
var _this150 = this;
return _asyncToGenerator(function* () {
return _this150.get('/ssh_public_key', null, null, options);
})();
}
search_content_favorites(request, options) {
var _this151 = this;
return _asyncToGenerator(function* () {
return _this151.get('/content_favorite/search', {
id: request.id,
user_id: request.user_id,
content_metadata_id: request.content_metadata_id,
dashboard_id: request.dashboard_id,
look_id: request.look_id,
board_id: request.board_id,
lookml_dashboard_id: request.lookml_dashboard_id,
include_board_items: request.include_board_items,
limit: request.limit,
offset: request.offset,
sorts: request.sorts,
fields: request.fields,
filter_or: request.filter_or
}, null, options);
})();
}
content_favorite(content_favorite_id, fields, options) {
var _this152 = this;
return _asyncToGenerator(function* () {
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
return _this152.get("/content_favorite/".concat(content_favorite_id), {
fields
}, null, options);
})();
}
delete_content_favorite(content_favorite_id, options) {
var _this153 = this;
return _asyncToGenerator(function* () {
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
return _this153.delete("/content_favorite/".concat(content_favorite_id), null, null, options);
})();
}
create_content_favorite(body, options) {
var _this154 = this;
return _asyncToGenerator(function* () {
return _this154.post('/content_favorite', null, body, options);
})();
}
all_content_metadatas(parent_id, fields, options) {
var _this155 = this;
return _asyncToGenerator(function* () {
return _this155.get('/content_metadata', {
parent_id,
fields
}, null, options);
})();
}
content_metadata(content_metadata_id, fields, options) {
var _this156 = this;
return _asyncToGenerator(function* () {
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
return _this156.get("/content_metadata/".concat(content_metadata_id), {
fields
}, null, options);
})();
}
update_content_metadata(content_metadata_id, body, options) {
var _this157 = this;
return _asyncToGenerator(function* () {
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
return _this157.patch("/content_metadata/".concat(content_metadata_id), null, body, options);
})();
}
all_content_metadata_accesses(content_metadata_id, fields, options) {
var _this158 = this;
return _asyncToGenerator(function* () {
return _this158.get('/content_metadata_access', {
content_metadata_id,
fields
}, null, options);
})();
}
create_content_metadata_access(body, send_boards_notification_email, options) {
var _this159 = this;
return _asyncToGenerator(function* () {
return _this159.post('/content_metadata_access', {
send_boards_notification_email
}, body, options);
})();
}
update_content_metadata_access(content_metadata_access_id, body, options) {
var _this160 = this;
return _asyncToGenerator(function* () {
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
return _this160.put("/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
})();
}
delete_content_metadata_access(content_metadata_access_id, options) {
var _this161 = this;
return _asyncToGenerator(function* () {
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
return _this161.delete("/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
})();
}
search_content(request, options) {
var _this162 = this;
return _asyncToGenerator(function* () {
request.terms = (0, _sdkRtl.encodeParam)(request.terms);
return _this162.get("/content/".concat(request.terms), {
fields: request.fields,
types: request.types,
limit: request.limit,
offset: request.offset,
page: request.page,
per_page: request.per_page
}, null, options);
})();
}
content_summary(request, options) {
var _this163 = this;
return _asyncToGenerator(function* () {
return _this163.get('/content_summary', {
fields: request.fields,
limit: request.limit,
offset: request.offset,
target_group_id: request.target_group_id,
target_user_id: request.target_user_id,
target_content_type: request.target_content_type,
sorts: request.sorts
}, null, options);
})();
}
content_thumbnail(request, options) {
var _this164 = this;
return _asyncToGenerator(function* () {
request.type = (0, _sdkRtl.encodeParam)(request.type);
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
return _this164.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
reload: request.reload,
theme: request.theme,
format: request.format,
width: request.width,
height: request.height
}, null, options);
})();
}
content_validation(request, options) {
var _this165 = this;
return _asyncToGenerator(function* () {
return _this165.get('/content_validation', {
fields: request.fields,
project_names: request.project_names,
space_ids: request.space_ids
}, null, options);
})();
}
search_content_views(request, options) {
var _this166 = this;
return _asyncToGenerator(function* () {
return _this166.get('/content_view/search', {
view_count: request.view_count,
group_id: request.group_id,
look_id: request.look_id,
dashboard_id: request.dashboard_id,
content_metadata_id: request.content_metadata_id,
start_of_week_date: request.start_of_week_date,
all_time: request.all_time,
user_id: request.user_id,
fields: request.fields,
limit: request.limit,
offset: request.offset,
sorts: request.sorts,
filter_or: request.filter_or
}, null, options);
})();
}
vector_thumbnail(type, resource_id, reload, options) {
var _this167 = this;
return _asyncToGenerator(function* () {
type = (0, _sdkRtl.encodeParam)(type);
resource_id = (0, _sdkRtl.encodeParam)(resource_id);
return _this167.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
reload
}, null, options);
})();
}
search_agents(request, options) {
var _this168 = this;
return _asyncToGenerator(function* () {
return _this168.get('/agents/search', {
id: request.id,
name: request.name,
description: request.description,
created_by_user_id: request.created_by_user_id,
fields: request.fields,
limit: request.limit,
category: request.category,
offset: request.offset,
sorts: request.sorts,
filter_or: request.filter_or,
not_owned_by: request.not_owned_by,
deleted: request.deleted
}, null, options);
})();
}
create_agent(body, fields, options) {
var _this169 = this;
return _asyncToGenerator(function* () {
return _this169.post('/agents', {
fields
}, body, options);
})();
}
delete_agent(id, fields, options) {
var _this170 = this;
return _asyncToGenerator(function* () {
return _this170.delete('/agents', {
id,
fields
}, null, options);
})();
}
get_agent(agent_id, fields, options) {
var _this171 = this;
return _asyncToGenerator(function* () {
agent_id = (0, _sdkRtl.encodeParam)(agent_id);
return _this171.get("/agents/".concat(agent_id), {
fields
}, null, options);
})();
}
update_agent(agent_id, body, fields, options) {
var _this172 = this;
return _asyncToGenerator(function* () {
agent_id = (0, _sdkRtl.encodeParam)(agent_id);
return _this172.patch("/agents/".concat(agent_id), {
fields
}, body, options);
})();
}
all_conversation_messages(conversation_id, fields, options) {
var _this173 = this;
return _asyncToGenerator(function* () {
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
return _this173.get("/conversations/".concat(conversation_id, "/messages"), {
fields
}, null, options);
})();
}
create_conversation_message(conversation_id, body, fields, options) {
var _this174 = this;
return _asyncToGenerator(function* () {
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
return _this174.post("/conversations/".concat(conversation_id, "/messages"), {
fields
}, body, options);
})();
}
delete_conversation_message(conversation_id, id, fields, options) {
var _this175 = this;
return _asyncToGenerator(function* () {
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
return _this175.delete("/conversations/".concat(conversation_id, "/messages"), {
id,
fields
}, null, options);
})();
}
get_conversation_message(conversation_id, message_id, fields, options) {
var _this176 = this;
return _asyncToGenerator(function* () {
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
message_id = (0, _sdkRtl.encodeParam)(message_id);
return _this176.get("/conversations/".concat(conversation_id, "/messages/").concat(message_id), {
fields
}, null, options);
})();
}
update_conversation_message(conversation_id, message_id, body, fields, options) {
var _this177 = this;
return _asyncToGenerator(function* () {
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
message_id = (0, _sdkRtl.encodeParam)(message_id);
return _this177.patch("/conversations/".concat(conversation_id, "/m