UNPKG

@looker/sdk

Version:
1,345 lines 191 kB
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); }); }; } import { encodeParam, functionalSdk } from '@looker/sdk-rtl'; import { sdkVersion } from '../constants'; export var functionalSdk40 = authSession => { return functionalSdk(authSession, '4.0', sdkVersion); }; export var follow_alert = function () { var _ref = _asyncToGenerator(function* (sdk, alert_id, options) { alert_id = encodeParam(alert_id); return sdk.post("/alerts/".concat(alert_id, "/follow"), null, null, options); }); return function follow_alert(_x, _x2, _x3) { return _ref.apply(this, arguments); }; }(); export var unfollow_alert = function () { var _ref2 = _asyncToGenerator(function* (sdk, alert_id, options) { alert_id = encodeParam(alert_id); return sdk.delete("/alerts/".concat(alert_id, "/follow"), null, null, options); }); return function unfollow_alert(_x4, _x5, _x6) { return _ref2.apply(this, arguments); }; }(); export var search_alerts = function () { var _ref3 = _asyncToGenerator(function* (sdk, request, options) { return sdk.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); }); return function search_alerts(_x7, _x8, _x9) { return _ref3.apply(this, arguments); }; }(); export var get_alert = function () { var _ref4 = _asyncToGenerator(function* (sdk, alert_id, options) { alert_id = encodeParam(alert_id); return sdk.get("/alerts/".concat(alert_id), null, null, options); }); return function get_alert(_x0, _x1, _x10) { return _ref4.apply(this, arguments); }; }(); export var update_alert = function () { var _ref5 = _asyncToGenerator(function* (sdk, alert_id, body, options) { alert_id = encodeParam(alert_id); return sdk.put("/alerts/".concat(alert_id), null, body, options); }); return function update_alert(_x11, _x12, _x13, _x14) { return _ref5.apply(this, arguments); }; }(); export var update_alert_field = function () { var _ref6 = _asyncToGenerator(function* (sdk, alert_id, body, options) { alert_id = encodeParam(alert_id); return sdk.patch("/alerts/".concat(alert_id), null, body, options); }); return function update_alert_field(_x15, _x16, _x17, _x18) { return _ref6.apply(this, arguments); }; }(); export var delete_alert = function () { var _ref7 = _asyncToGenerator(function* (sdk, alert_id, options) { alert_id = encodeParam(alert_id); return sdk.delete("/alerts/".concat(alert_id), null, null, options); }); return function delete_alert(_x19, _x20, _x21) { return _ref7.apply(this, arguments); }; }(); export var create_alert = function () { var _ref8 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/alerts', null, body, options); }); return function create_alert(_x22, _x23, _x24) { return _ref8.apply(this, arguments); }; }(); export var enqueue_alert = function () { var _ref9 = _asyncToGenerator(function* (sdk, alert_id, force, options) { alert_id = encodeParam(alert_id); return sdk.post("/alerts/".concat(alert_id, "/enqueue"), { force }, null, options); }); return function enqueue_alert(_x25, _x26, _x27, _x28) { return _ref9.apply(this, arguments); }; }(); export var alert_notifications = function () { var _ref0 = _asyncToGenerator(function* (sdk, request, options) { return sdk.get('/alert_notifications', { limit: request.limit, offset: request.offset }, null, options); }); return function alert_notifications(_x29, _x30, _x31) { return _ref0.apply(this, arguments); }; }(); export var read_alert_notification = function () { var _ref1 = _asyncToGenerator(function* (sdk, alert_notification_id, options) { alert_notification_id = encodeParam(alert_notification_id); return sdk.patch("/alert_notifications/".concat(alert_notification_id), null, null, options); }); return function read_alert_notification(_x32, _x33, _x34) { return _ref1.apply(this, arguments); }; }(); export var login = function () { var _ref10 = _asyncToGenerator(function* (sdk, request, options) { return sdk.post('/login', null, new URLSearchParams({ client_id: request.client_id, client_secret: request.client_secret }), options); }); return function login(_x35, _x36, _x37) { return _ref10.apply(this, arguments); }; }(); export var login_user = function () { var _ref11 = _asyncToGenerator(function* (sdk, user_id, options) { user_id = encodeParam(user_id); return sdk.post("/login/".concat(user_id), null, null, options); }); return function login_user(_x38, _x39, _x40) { return _ref11.apply(this, arguments); }; }(); export var logout = function () { var _ref12 = _asyncToGenerator(function* (sdk, options) { return sdk.delete('/logout', null, null, options); }); return function logout(_x41, _x42) { return _ref12.apply(this, arguments); }; }(); export var artifact_usage = function () { var _ref13 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/artifact/usage', { fields }, null, options); }); return function artifact_usage(_x43, _x44, _x45) { return _ref13.apply(this, arguments); }; }(); export var artifact_namespaces = function () { var _ref14 = _asyncToGenerator(function* (sdk, request, options) { return sdk.get('/artifact/namespaces', { fields: request.fields, limit: request.limit, offset: request.offset }, null, options); }); return function artifact_namespaces(_x46, _x47, _x48) { return _ref14.apply(this, arguments); }; }(); export var artifact_value = function () { var _ref15 = _asyncToGenerator(function* (sdk, namespace, key, options) { namespace = encodeParam(namespace); return sdk.get("/artifact/".concat(namespace, "/value"), { key }, null, options); }); return function artifact_value(_x49, _x50, _x51, _x52) { return _ref15.apply(this, arguments); }; }(); export var purge_artifacts = function () { var _ref16 = _asyncToGenerator(function* (sdk, namespace, options) { namespace = encodeParam(namespace); return sdk.delete("/artifact/".concat(namespace, "/purge"), null, null, options); }); return function purge_artifacts(_x53, _x54, _x55) { return _ref16.apply(this, arguments); }; }(); export var search_artifacts = function () { var _ref17 = _asyncToGenerator(function* (sdk, request, options) { request.namespace = encodeParam(request.namespace); return sdk.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); }); return function search_artifacts(_x56, _x57, _x58) { return _ref17.apply(this, arguments); }; }(); export var artifact = function () { var _ref18 = _asyncToGenerator(function* (sdk, request, options) { request.namespace = encodeParam(request.namespace); return sdk.get("/artifact/".concat(request.namespace), { key: request.key, fields: request.fields, limit: request.limit, offset: request.offset, tally: request.tally }, null, options); }); return function artifact(_x59, _x60, _x61) { return _ref18.apply(this, arguments); }; }(); export var delete_artifact = function () { var _ref19 = _asyncToGenerator(function* (sdk, namespace, key, options) { namespace = encodeParam(namespace); return sdk.delete("/artifact/".concat(namespace), { key }, null, options); }); return function delete_artifact(_x62, _x63, _x64, _x65) { return _ref19.apply(this, arguments); }; }(); export var update_artifacts = function () { var _ref20 = _asyncToGenerator(function* (sdk, namespace, body, fields, options) { namespace = encodeParam(namespace); return sdk.put("/artifacts/".concat(namespace), { fields }, body, options); }); return function update_artifacts(_x66, _x67, _x68, _x69, _x70) { return _ref20.apply(this, arguments); }; }(); export var create_embed_secret = function () { var _ref21 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/embed_config/secrets', null, body, options); }); return function create_embed_secret(_x71, _x72, _x73) { return _ref21.apply(this, arguments); }; }(); export var delete_embed_secret = function () { var _ref22 = _asyncToGenerator(function* (sdk, embed_secret_id, options) { embed_secret_id = encodeParam(embed_secret_id); return sdk.delete("/embed_config/secrets/".concat(embed_secret_id), null, null, options); }); return function delete_embed_secret(_x74, _x75, _x76) { return _ref22.apply(this, arguments); }; }(); export var create_sso_embed_url = function () { var _ref23 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/embed/sso_url', null, body, options); }); return function create_sso_embed_url(_x77, _x78, _x79) { return _ref23.apply(this, arguments); }; }(); export var create_embed_url_as_me = function () { var _ref24 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/embed/token_url/me', null, body, options); }); return function create_embed_url_as_me(_x80, _x81, _x82) { return _ref24.apply(this, arguments); }; }(); export var validate_embed_url = function () { var _ref25 = _asyncToGenerator(function* (sdk, url, options) { return sdk.get('/embed/sso/validate', { url }, null, options); }); return function validate_embed_url(_x83, _x84, _x85) { return _ref25.apply(this, arguments); }; }(); export var acquire_embed_cookieless_session = function () { var _ref26 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/embed/cookieless_session/acquire', null, body, options); }); return function acquire_embed_cookieless_session(_x86, _x87, _x88) { return _ref26.apply(this, arguments); }; }(); export var delete_embed_cookieless_session = function () { var _ref27 = _asyncToGenerator(function* (sdk, session_reference_token, options) { session_reference_token = encodeParam(session_reference_token); return sdk.delete("/embed/cookieless_session/".concat(session_reference_token), null, null, options); }); return function delete_embed_cookieless_session(_x89, _x90, _x91) { return _ref27.apply(this, arguments); }; }(); export var generate_tokens_for_cookieless_session = function () { var _ref28 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/embed/cookieless_session/generate_tokens', null, body, options); }); return function generate_tokens_for_cookieless_session(_x92, _x93, _x94) { return _ref28.apply(this, arguments); }; }(); export var ldap_config = function () { var _ref29 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/ldap_config', null, null, options); }); return function ldap_config(_x95, _x96) { return _ref29.apply(this, arguments); }; }(); export var update_ldap_config = function () { var _ref30 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/ldap_config', null, body, options); }); return function update_ldap_config(_x97, _x98, _x99) { return _ref30.apply(this, arguments); }; }(); export var test_ldap_config_connection = function () { var _ref31 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/ldap_config/test_connection', null, body, options); }); return function test_ldap_config_connection(_x100, _x101, _x102) { return _ref31.apply(this, arguments); }; }(); export var test_ldap_config_auth = function () { var _ref32 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/ldap_config/test_auth', null, body, options); }); return function test_ldap_config_auth(_x103, _x104, _x105) { return _ref32.apply(this, arguments); }; }(); export var test_ldap_config_user_info = function () { var _ref33 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/ldap_config/test_user_info', null, body, options); }); return function test_ldap_config_user_info(_x106, _x107, _x108) { return _ref33.apply(this, arguments); }; }(); export var test_ldap_config_user_auth = function () { var _ref34 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/ldap_config/test_user_auth', null, body, options); }); return function test_ldap_config_user_auth(_x109, _x110, _x111) { return _ref34.apply(this, arguments); }; }(); export var register_mobile_device = function () { var _ref35 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/mobile/device', null, body, options); }); return function register_mobile_device(_x112, _x113, _x114) { return _ref35.apply(this, arguments); }; }(); export var update_mobile_device_registration = function () { var _ref36 = _asyncToGenerator(function* (sdk, device_id, options) { device_id = encodeParam(device_id); return sdk.patch("/mobile/device/".concat(device_id), null, null, options); }); return function update_mobile_device_registration(_x115, _x116, _x117) { return _ref36.apply(this, arguments); }; }(); export var deregister_mobile_device = function () { var _ref37 = _asyncToGenerator(function* (sdk, device_id, options) { device_id = encodeParam(device_id); return sdk.delete("/mobile/device/".concat(device_id), null, null, options); }); return function deregister_mobile_device(_x118, _x119, _x120) { return _ref37.apply(this, arguments); }; }(); export var all_oauth_client_apps = function () { var _ref38 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/oauth_client_apps', { fields }, null, options); }); return function all_oauth_client_apps(_x121, _x122, _x123) { return _ref38.apply(this, arguments); }; }(); export var oauth_client_app = function () { var _ref39 = _asyncToGenerator(function* (sdk, client_guid, fields, options) { client_guid = encodeParam(client_guid); return sdk.get("/oauth_client_apps/".concat(client_guid), { fields }, null, options); }); return function oauth_client_app(_x124, _x125, _x126, _x127) { return _ref39.apply(this, arguments); }; }(); export var register_oauth_client_app = function () { var _ref40 = _asyncToGenerator(function* (sdk, client_guid, body, fields, options) { client_guid = encodeParam(client_guid); return sdk.post("/oauth_client_apps/".concat(client_guid), { fields }, body, options); }); return function register_oauth_client_app(_x128, _x129, _x130, _x131, _x132) { return _ref40.apply(this, arguments); }; }(); export var update_oauth_client_app = function () { var _ref41 = _asyncToGenerator(function* (sdk, client_guid, body, fields, options) { client_guid = encodeParam(client_guid); return sdk.patch("/oauth_client_apps/".concat(client_guid), { fields }, body, options); }); return function update_oauth_client_app(_x133, _x134, _x135, _x136, _x137) { return _ref41.apply(this, arguments); }; }(); export var delete_oauth_client_app = function () { var _ref42 = _asyncToGenerator(function* (sdk, client_guid, options) { client_guid = encodeParam(client_guid); return sdk.delete("/oauth_client_apps/".concat(client_guid), null, null, options); }); return function delete_oauth_client_app(_x138, _x139, _x140) { return _ref42.apply(this, arguments); }; }(); export var invalidate_tokens = function () { var _ref43 = _asyncToGenerator(function* (sdk, client_guid, options) { client_guid = encodeParam(client_guid); return sdk.delete("/oauth_client_apps/".concat(client_guid, "/tokens"), null, null, options); }); return function invalidate_tokens(_x141, _x142, _x143) { return _ref43.apply(this, arguments); }; }(); export var activate_app_user = function () { var _ref44 = _asyncToGenerator(function* (sdk, client_guid, user_id, fields, options) { client_guid = encodeParam(client_guid); user_id = encodeParam(user_id); return sdk.post("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), { fields }, null, options); }); return function activate_app_user(_x144, _x145, _x146, _x147, _x148) { return _ref44.apply(this, arguments); }; }(); export var deactivate_app_user = function () { var _ref45 = _asyncToGenerator(function* (sdk, client_guid, user_id, fields, options) { client_guid = encodeParam(client_guid); user_id = encodeParam(user_id); return sdk.delete("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), { fields }, null, options); }); return function deactivate_app_user(_x149, _x150, _x151, _x152, _x153) { return _ref45.apply(this, arguments); }; }(); export var oidc_config = function () { var _ref46 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/oidc_config', null, null, options); }); return function oidc_config(_x154, _x155) { return _ref46.apply(this, arguments); }; }(); export var update_oidc_config = function () { var _ref47 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/oidc_config', null, body, options); }); return function update_oidc_config(_x156, _x157, _x158) { return _ref47.apply(this, arguments); }; }(); export var oidc_test_config = function () { var _ref48 = _asyncToGenerator(function* (sdk, test_slug, options) { test_slug = encodeParam(test_slug); return sdk.get("/oidc_test_configs/".concat(test_slug), null, null, options); }); return function oidc_test_config(_x159, _x160, _x161) { return _ref48.apply(this, arguments); }; }(); export var delete_oidc_test_config = function () { var _ref49 = _asyncToGenerator(function* (sdk, test_slug, options) { test_slug = encodeParam(test_slug); return sdk.delete("/oidc_test_configs/".concat(test_slug), null, null, options); }); return function delete_oidc_test_config(_x162, _x163, _x164) { return _ref49.apply(this, arguments); }; }(); export var create_oidc_test_config = function () { var _ref50 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/oidc_test_configs', null, body, options); }); return function create_oidc_test_config(_x165, _x166, _x167) { return _ref50.apply(this, arguments); }; }(); export var password_config = function () { var _ref51 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/password_config', null, null, options); }); return function password_config(_x168, _x169) { return _ref51.apply(this, arguments); }; }(); export var update_password_config = function () { var _ref52 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/password_config', null, body, options); }); return function update_password_config(_x170, _x171, _x172) { return _ref52.apply(this, arguments); }; }(); export var force_password_reset_at_next_login_for_all_users = function () { var _ref53 = _asyncToGenerator(function* (sdk, options) { return sdk.put('/password_config/force_password_reset_at_next_login_for_all_users', null, null, options); }); return function force_password_reset_at_next_login_for_all_users(_x173, _x174) { return _ref53.apply(this, arguments); }; }(); export var saml_config = function () { var _ref54 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/saml_config', null, null, options); }); return function saml_config(_x175, _x176) { return _ref54.apply(this, arguments); }; }(); export var update_saml_config = function () { var _ref55 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/saml_config', null, body, options); }); return function update_saml_config(_x177, _x178, _x179) { return _ref55.apply(this, arguments); }; }(); export var saml_test_config = function () { var _ref56 = _asyncToGenerator(function* (sdk, test_slug, options) { test_slug = encodeParam(test_slug); return sdk.get("/saml_test_configs/".concat(test_slug), null, null, options); }); return function saml_test_config(_x180, _x181, _x182) { return _ref56.apply(this, arguments); }; }(); export var delete_saml_test_config = function () { var _ref57 = _asyncToGenerator(function* (sdk, test_slug, options) { test_slug = encodeParam(test_slug); return sdk.delete("/saml_test_configs/".concat(test_slug), null, null, options); }); return function delete_saml_test_config(_x183, _x184, _x185) { return _ref57.apply(this, arguments); }; }(); export var create_saml_test_config = function () { var _ref58 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/saml_test_configs', null, body, options); }); return function create_saml_test_config(_x186, _x187, _x188) { return _ref58.apply(this, arguments); }; }(); export var parse_saml_idp_metadata = function () { var _ref59 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/parse_saml_idp_metadata', null, body, options); }); return function parse_saml_idp_metadata(_x189, _x190, _x191) { return _ref59.apply(this, arguments); }; }(); export var fetch_and_parse_saml_idp_metadata = function () { var _ref60 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/fetch_and_parse_saml_idp_metadata', null, body, options); }); return function fetch_and_parse_saml_idp_metadata(_x192, _x193, _x194) { return _ref60.apply(this, arguments); }; }(); export var session_config = function () { var _ref61 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/session_config', null, null, options); }); return function session_config(_x195, _x196) { return _ref61.apply(this, arguments); }; }(); export var update_session_config = function () { var _ref62 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/session_config', null, body, options); }); return function update_session_config(_x197, _x198, _x199) { return _ref62.apply(this, arguments); }; }(); export var get_support_access_allowlist_entries = function () { var _ref63 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/support_access/allowlist', { fields }, null, options); }); return function get_support_access_allowlist_entries(_x200, _x201, _x202) { return _ref63.apply(this, arguments); }; }(); export var add_support_access_allowlist_entries = function () { var _ref64 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/support_access/allowlist', null, body, options); }); return function add_support_access_allowlist_entries(_x203, _x204, _x205) { return _ref64.apply(this, arguments); }; }(); export var delete_support_access_allowlist_entry = function () { var _ref65 = _asyncToGenerator(function* (sdk, entry_id, options) { entry_id = encodeParam(entry_id); return sdk.delete("/support_access/allowlist/".concat(entry_id), null, null, options); }); return function delete_support_access_allowlist_entry(_x206, _x207, _x208) { return _ref65.apply(this, arguments); }; }(); export var enable_support_access = function () { var _ref66 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/support_access/enable', null, body, options); }); return function enable_support_access(_x209, _x210, _x211) { return _ref66.apply(this, arguments); }; }(); export var disable_support_access = function () { var _ref67 = _asyncToGenerator(function* (sdk, options) { return sdk.put('/support_access/disable', null, null, options); }); return function disable_support_access(_x212, _x213) { return _ref67.apply(this, arguments); }; }(); export var support_access_status = function () { var _ref68 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/support_access/status', null, null, options); }); return function support_access_status(_x214, _x215) { return _ref68.apply(this, arguments); }; }(); export var all_user_login_lockouts = function () { var _ref69 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/user_login_lockouts', { fields }, null, options); }); return function all_user_login_lockouts(_x216, _x217, _x218) { return _ref69.apply(this, arguments); }; }(); export var search_user_login_lockouts = function () { var _ref70 = _asyncToGenerator(function* (sdk, request, options) { return sdk.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); }); return function search_user_login_lockouts(_x219, _x220, _x221) { return _ref70.apply(this, arguments); }; }(); export var delete_user_login_lockout = function () { var _ref71 = _asyncToGenerator(function* (sdk, key, options) { key = encodeParam(key); return sdk.delete("/user_login_lockout/".concat(key), null, null, options); }); return function delete_user_login_lockout(_x222, _x223, _x224) { return _ref71.apply(this, arguments); }; }(); export var all_boards = function () { var _ref72 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/boards', { fields }, null, options); }); return function all_boards(_x225, _x226, _x227) { return _ref72.apply(this, arguments); }; }(); export var create_board = function () { var _ref73 = _asyncToGenerator(function* (sdk, body, fields, options) { return sdk.post('/boards', { fields }, body, options); }); return function create_board(_x228, _x229, _x230, _x231) { return _ref73.apply(this, arguments); }; }(); export var search_boards = function () { var _ref74 = _asyncToGenerator(function* (sdk, request, options) { return sdk.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); }); return function search_boards(_x232, _x233, _x234) { return _ref74.apply(this, arguments); }; }(); export var board = function () { var _ref75 = _asyncToGenerator(function* (sdk, board_id, fields, options) { board_id = encodeParam(board_id); return sdk.get("/boards/".concat(board_id), { fields }, null, options); }); return function board(_x235, _x236, _x237, _x238) { return _ref75.apply(this, arguments); }; }(); export var update_board = function () { var _ref76 = _asyncToGenerator(function* (sdk, board_id, body, fields, options) { board_id = encodeParam(board_id); return sdk.patch("/boards/".concat(board_id), { fields }, body, options); }); return function update_board(_x239, _x240, _x241, _x242, _x243) { return _ref76.apply(this, arguments); }; }(); export var delete_board = function () { var _ref77 = _asyncToGenerator(function* (sdk, board_id, options) { board_id = encodeParam(board_id); return sdk.delete("/boards/".concat(board_id), null, null, options); }); return function delete_board(_x244, _x245, _x246) { return _ref77.apply(this, arguments); }; }(); export var all_board_items = function () { var _ref78 = _asyncToGenerator(function* (sdk, request, options) { return sdk.get('/board_items', { fields: request.fields, sorts: request.sorts, board_section_id: request.board_section_id }, null, options); }); return function all_board_items(_x247, _x248, _x249) { return _ref78.apply(this, arguments); }; }(); export var create_board_item = function () { var _ref79 = _asyncToGenerator(function* (sdk, body, fields, options) { return sdk.post('/board_items', { fields }, body, options); }); return function create_board_item(_x250, _x251, _x252, _x253) { return _ref79.apply(this, arguments); }; }(); export var board_item = function () { var _ref80 = _asyncToGenerator(function* (sdk, board_item_id, fields, options) { board_item_id = encodeParam(board_item_id); return sdk.get("/board_items/".concat(board_item_id), { fields }, null, options); }); return function board_item(_x254, _x255, _x256, _x257) { return _ref80.apply(this, arguments); }; }(); export var update_board_item = function () { var _ref81 = _asyncToGenerator(function* (sdk, board_item_id, body, fields, options) { board_item_id = encodeParam(board_item_id); return sdk.patch("/board_items/".concat(board_item_id), { fields }, body, options); }); return function update_board_item(_x258, _x259, _x260, _x261, _x262) { return _ref81.apply(this, arguments); }; }(); export var delete_board_item = function () { var _ref82 = _asyncToGenerator(function* (sdk, board_item_id, options) { board_item_id = encodeParam(board_item_id); return sdk.delete("/board_items/".concat(board_item_id), null, null, options); }); return function delete_board_item(_x263, _x264, _x265) { return _ref82.apply(this, arguments); }; }(); export var all_board_sections = function () { var _ref83 = _asyncToGenerator(function* (sdk, request, options) { return sdk.get('/board_sections', { fields: request.fields, sorts: request.sorts }, null, options); }); return function all_board_sections(_x266, _x267, _x268) { return _ref83.apply(this, arguments); }; }(); export var create_board_section = function () { var _ref84 = _asyncToGenerator(function* (sdk, body, fields, options) { return sdk.post('/board_sections', { fields }, body, options); }); return function create_board_section(_x269, _x270, _x271, _x272) { return _ref84.apply(this, arguments); }; }(); export var board_section = function () { var _ref85 = _asyncToGenerator(function* (sdk, board_section_id, fields, options) { board_section_id = encodeParam(board_section_id); return sdk.get("/board_sections/".concat(board_section_id), { fields }, null, options); }); return function board_section(_x273, _x274, _x275, _x276) { return _ref85.apply(this, arguments); }; }(); export var update_board_section = function () { var _ref86 = _asyncToGenerator(function* (sdk, board_section_id, body, fields, options) { board_section_id = encodeParam(board_section_id); return sdk.patch("/board_sections/".concat(board_section_id), { fields }, body, options); }); return function update_board_section(_x277, _x278, _x279, _x280, _x281) { return _ref86.apply(this, arguments); }; }(); export var delete_board_section = function () { var _ref87 = _asyncToGenerator(function* (sdk, board_section_id, options) { board_section_id = encodeParam(board_section_id); return sdk.delete("/board_sections/".concat(board_section_id), null, null, options); }); return function delete_board_section(_x282, _x283, _x284) { return _ref87.apply(this, arguments); }; }(); export var all_color_collections = function () { var _ref88 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/color_collections', { fields }, null, options); }); return function all_color_collections(_x285, _x286, _x287) { return _ref88.apply(this, arguments); }; }(); export var create_color_collection = function () { var _ref89 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/color_collections', null, body, options); }); return function create_color_collection(_x288, _x289, _x290) { return _ref89.apply(this, arguments); }; }(); export var color_collections_custom = function () { var _ref90 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/color_collections/custom', { fields }, null, options); }); return function color_collections_custom(_x291, _x292, _x293) { return _ref90.apply(this, arguments); }; }(); export var color_collections_standard = function () { var _ref91 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/color_collections/standard', { fields }, null, options); }); return function color_collections_standard(_x294, _x295, _x296) { return _ref91.apply(this, arguments); }; }(); export var default_color_collection = function () { var _ref92 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/color_collections/default', null, null, options); }); return function default_color_collection(_x297, _x298) { return _ref92.apply(this, arguments); }; }(); export var set_default_color_collection = function () { var _ref93 = _asyncToGenerator(function* (sdk, collection_id, options) { return sdk.put('/color_collections/default', { collection_id }, null, options); }); return function set_default_color_collection(_x299, _x300, _x301) { return _ref93.apply(this, arguments); }; }(); export var color_collection = function () { var _ref94 = _asyncToGenerator(function* (sdk, collection_id, fields, options) { collection_id = encodeParam(collection_id); return sdk.get("/color_collections/".concat(collection_id), { fields }, null, options); }); return function color_collection(_x302, _x303, _x304, _x305) { return _ref94.apply(this, arguments); }; }(); export var update_color_collection = function () { var _ref95 = _asyncToGenerator(function* (sdk, collection_id, body, options) { collection_id = encodeParam(collection_id); return sdk.patch("/color_collections/".concat(collection_id), null, body, options); }); return function update_color_collection(_x306, _x307, _x308, _x309) { return _ref95.apply(this, arguments); }; }(); export var delete_color_collection = function () { var _ref96 = _asyncToGenerator(function* (sdk, collection_id, options) { collection_id = encodeParam(collection_id); return sdk.delete("/color_collections/".concat(collection_id), null, null, options); }); return function delete_color_collection(_x310, _x311, _x312) { return _ref96.apply(this, arguments); }; }(); export var cloud_storage_configuration = function () { var _ref97 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/cloud_storage', null, null, options); }); return function cloud_storage_configuration(_x313, _x314) { return _ref97.apply(this, arguments); }; }(); export var update_cloud_storage_configuration = function () { var _ref98 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/cloud_storage', null, body, options); }); return function update_cloud_storage_configuration(_x315, _x316, _x317) { return _ref98.apply(this, arguments); }; }(); export var custom_welcome_email = function () { var _ref99 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/custom_welcome_email', null, null, options); }); return function custom_welcome_email(_x318, _x319) { return _ref99.apply(this, arguments); }; }(); export var update_custom_welcome_email = function () { var _ref100 = _asyncToGenerator(function* (sdk, body, send_test_welcome_email, options) { return sdk.patch('/custom_welcome_email', { send_test_welcome_email }, body, options); }); return function update_custom_welcome_email(_x320, _x321, _x322, _x323) { return _ref100.apply(this, arguments); }; }(); export var update_custom_welcome_email_test = function () { var _ref101 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/custom_welcome_email_test', null, body, options); }); return function update_custom_welcome_email_test(_x324, _x325, _x326) { return _ref101.apply(this, arguments); }; }(); export var digest_emails_enabled = function () { var _ref102 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/digest_emails_enabled', null, null, options); }); return function digest_emails_enabled(_x327, _x328) { return _ref102.apply(this, arguments); }; }(); export var update_digest_emails_enabled = function () { var _ref103 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/digest_emails_enabled', null, body, options); }); return function update_digest_emails_enabled(_x329, _x330, _x331) { return _ref103.apply(this, arguments); }; }(); export var create_digest_email_send = function () { var _ref104 = _asyncToGenerator(function* (sdk, options) { return sdk.post('/digest_email_send', null, null, options); }); return function create_digest_email_send(_x332, _x333) { return _ref104.apply(this, arguments); }; }(); export var public_egress_ip_addresses = function () { var _ref105 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/public_egress_ip_addresses', null, null, options); }); return function public_egress_ip_addresses(_x334, _x335) { return _ref105.apply(this, arguments); }; }(); export var internal_help_resources_content = function () { var _ref106 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/internal_help_resources_content', null, null, options); }); return function internal_help_resources_content(_x336, _x337) { return _ref106.apply(this, arguments); }; }(); export var update_internal_help_resources_content = function () { var _ref107 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/internal_help_resources_content', null, body, options); }); return function update_internal_help_resources_content(_x338, _x339, _x340) { return _ref107.apply(this, arguments); }; }(); export var internal_help_resources = function () { var _ref108 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/internal_help_resources_enabled', null, null, options); }); return function internal_help_resources(_x341, _x342) { return _ref108.apply(this, arguments); }; }(); export var update_internal_help_resources = function () { var _ref109 = _asyncToGenerator(function* (sdk, body, options) { return sdk.patch('/internal_help_resources', null, body, options); }); return function update_internal_help_resources(_x343, _x344, _x345) { return _ref109.apply(this, arguments); }; }(); export var all_legacy_features = function () { var _ref110 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/legacy_features', null, null, options); }); return function all_legacy_features(_x346, _x347) { return _ref110.apply(this, arguments); }; }(); export var legacy_feature = function () { var _ref111 = _asyncToGenerator(function* (sdk, legacy_feature_id, options) { legacy_feature_id = encodeParam(legacy_feature_id); return sdk.get("/legacy_features/".concat(legacy_feature_id), null, null, options); }); return function legacy_feature(_x348, _x349, _x350) { return _ref111.apply(this, arguments); }; }(); export var update_legacy_feature = function () { var _ref112 = _asyncToGenerator(function* (sdk, legacy_feature_id, body, options) { legacy_feature_id = encodeParam(legacy_feature_id); return sdk.patch("/legacy_features/".concat(legacy_feature_id), null, body, options); }); return function update_legacy_feature(_x351, _x352, _x353, _x354) { return _ref112.apply(this, arguments); }; }(); export var all_locales = function () { var _ref113 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/locales', null, null, options); }); return function all_locales(_x355, _x356) { return _ref113.apply(this, arguments); }; }(); export var mobile_settings = function () { var _ref114 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/mobile/settings', null, null, options); }); return function mobile_settings(_x357, _x358) { return _ref114.apply(this, arguments); }; }(); export var get_setting = function () { var _ref115 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/setting', { fields }, null, options); }); return function get_setting(_x359, _x360, _x361) { return _ref115.apply(this, arguments); }; }(); export var set_setting = function () { var _ref116 = _asyncToGenerator(function* (sdk, body, fields, options) { return sdk.patch('/setting', { fields }, body, options); }); return function set_setting(_x362, _x363, _x364, _x365) { return _ref116.apply(this, arguments); }; }(); export var set_smtp_settings = function () { var _ref117 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/smtp_settings', null, body, options); }); return function set_smtp_settings(_x366, _x367, _x368) { return _ref117.apply(this, arguments); }; }(); export var smtp_status = function () { var _ref118 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/smtp_status', { fields }, null, options); }); return function smtp_status(_x369, _x370, _x371) { return _ref118.apply(this, arguments); }; }(); export var all_timezones = function () { var _ref119 = _asyncToGenerator(function* (sdk, options) { return sdk.get('/timezones', null, null, options); }); return function all_timezones(_x372, _x373) { return _ref119.apply(this, arguments); }; }(); export var versions = function () { var _ref120 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/versions', { fields }, null, options); }); return function versions(_x374, _x375, _x376) { return _ref120.apply(this, arguments); }; }(); export var api_spec = function () { var _ref121 = _asyncToGenerator(function* (sdk, api_version, specification, options) { api_version = encodeParam(api_version); specification = encodeParam(specification); return sdk.get("/api_spec/".concat(api_version, "/").concat(specification), null, null, options); }); return function api_spec(_x377, _x378, _x379, _x380) { return _ref121.apply(this, arguments); }; }(); export var whitelabel_configuration = function () { var _ref122 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/whitelabel_configuration', { fields }, null, options); }); return function whitelabel_configuration(_x381, _x382, _x383) { return _ref122.apply(this, arguments); }; }(); export var update_whitelabel_configuration = function () { var _ref123 = _asyncToGenerator(function* (sdk, body, options) { return sdk.put('/whitelabel_configuration', null, body, options); }); return function update_whitelabel_configuration(_x384, _x385, _x386) { return _ref123.apply(this, arguments); }; }(); export var all_connections = function () { var _ref124 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/connections', { fields }, null, options); }); return function all_connections(_x387, _x388, _x389) { return _ref124.apply(this, arguments); }; }(); export var create_connection = function () { var _ref125 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/connections', null, body, options); }); return function create_connection(_x390, _x391, _x392) { return _ref125.apply(this, arguments); }; }(); export var connection = function () { var _ref126 = _asyncToGenerator(function* (sdk, connection_name, fields, options) { connection_name = encodeParam(connection_name); return sdk.get("/connections/".concat(connection_name), { fields }, null, options); }); return function connection(_x393, _x394, _x395, _x396) { return _ref126.apply(this, arguments); }; }(); export var update_connection = function () { var _ref127 = _asyncToGenerator(function* (sdk, connection_name, body, options) { connection_name = encodeParam(connection_name); return sdk.patch("/connections/".concat(connection_name), null, body, options); }); return function update_connection(_x397, _x398, _x399, _x400) { return _ref127.apply(this, arguments); }; }(); export var delete_connection = function () { var _ref128 = _asyncToGenerator(function* (sdk, connection_name, options) { connection_name = encodeParam(connection_name); return sdk.delete("/connections/".concat(connection_name), null, null, options); }); return function delete_connection(_x401, _x402, _x403) { return _ref128.apply(this, arguments); }; }(); export var delete_connection_override = function () { var _ref129 = _asyncToGenerator(function* (sdk, connection_name, override_context, options) { connection_name = encodeParam(connection_name); override_context = encodeParam(override_context); return sdk.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options); }); return function delete_connection_override(_x404, _x405, _x406, _x407) { return _ref129.apply(this, arguments); }; }(); export var test_connection = function () { var _ref130 = _asyncToGenerator(function* (sdk, connection_name, tests, options) { connection_name = encodeParam(connection_name); return sdk.put("/connections/".concat(connection_name, "/test"), { tests }, null, options); }); return function test_connection(_x408, _x409, _x410, _x411) { return _ref130.apply(this, arguments); }; }(); export var test_connection_config = function () { var _ref131 = _asyncToGenerator(function* (sdk, body, tests, options) { return sdk.put('/connections/test', { tests }, body, options); }); return function test_connection_config(_x412, _x413, _x414, _x415) { return _ref131.apply(this, arguments); }; }(); export var all_dialect_infos = function () { var _ref132 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/dialect_info', { fields }, null, options); }); return function all_dialect_infos(_x416, _x417, _x418) { return _ref132.apply(this, arguments); }; }(); export var all_external_oauth_applications = function () { var _ref133 = _asyncToGenerator(function* (sdk, request, options) { return sdk.get('/external_oauth_applications', { name: request.name, client_id: request.client_id }, null, options); }); return function all_external_oauth_applications(_x419, _x420, _x421) { return _ref133.apply(this, arguments); }; }(); export var create_external_oauth_application = function () { var _ref134 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/external_oauth_applications', null, body, options); }); return function create_external_oauth_application(_x422, _x423, _x424) { return _ref134.apply(this, arguments); }; }(); export var update_external_oauth_application = function () { var _ref135 = _asyncToGenerator(function* (sdk, client_id, body, options) { client_id = encodeParam(client_id); return sdk.patch("/external_oauth_applications/".concat(client_id), null, body, options); }); return function update_external_oauth_application(_x425, _x426, _x427, _x428) { return _ref135.apply(this, arguments); }; }(); export var delete_external_oauth_application = function () { var _ref136 = _asyncToGenerator(function* (sdk, client_id, options) { client_id = encodeParam(client_id); return sdk.delete("/external_oauth_applications/".concat(client_id), null, null, options); }); return function delete_external_oauth_application(_x429, _x430, _x431) { return _ref136.apply(this, arguments); }; }(); export var create_oauth_application_user_state = function () { var _ref137 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/external_oauth_applications/user_state', null, body, options); }); return function create_oauth_application_user_state(_x432, _x433, _x434) { return _ref137.apply(this, arguments); }; }(); export var all_ssh_servers = function () { var _ref138 = _asyncToGenerator(function* (sdk, fields, options) { return sdk.get('/ssh_servers', { fields }, null, options); }); return function all_ssh_servers(_x435, _x436, _x437) { return _ref138.apply(this, arguments); }; }(); export var create_ssh_server = function () { var _ref139 = _asyncToGenerator(function* (sdk, body, options) { return sdk.post('/ssh_servers', null, body, options); }); return function create_ssh_server(