UNPKG

@looker/sdk

Version:
1,290 lines 149 kB
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(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); } import { APIMethods, agentPrefix, encodeParam } from '@looker/sdk-rtl'; import { sdkVersion } from '../constants'; export class Looker40SDKStream extends APIMethods { constructor(authSession) { super(authSession, sdkVersion); this.apiVersion = Looker40SDKStream.ApiVersion; this.apiPath = authSession.settings.base_url === '' ? '' : authSession.settings.base_url + '/api/' + this.apiVersion; authSession.settings.agentTag = agentPrefix + ' Streaming ' + sdkVersion; } follow_alert(callback, alert_id, options) { var _this = this; return _asyncToGenerator(function* () { alert_id = encodeParam(alert_id); return _this.authStream(callback, 'POST', "/alerts/".concat(alert_id, "/follow"), null, null, options); })(); } unfollow_alert(callback, alert_id, options) { var _this2 = this; return _asyncToGenerator(function* () { alert_id = encodeParam(alert_id); return _this2.authStream(callback, 'DELETE', "/alerts/".concat(alert_id, "/follow"), null, null, options); })(); } search_alerts(callback, request, options) { var _this3 = this; return _asyncToGenerator(function* () { return _this3.authStream(callback, '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(callback, alert_id, options) { var _this4 = this; return _asyncToGenerator(function* () { alert_id = encodeParam(alert_id); return _this4.authStream(callback, 'GET', "/alerts/".concat(alert_id), null, null, options); })(); } update_alert(callback, alert_id, body, options) { var _this5 = this; return _asyncToGenerator(function* () { alert_id = encodeParam(alert_id); return _this5.authStream(callback, 'PUT', "/alerts/".concat(alert_id), null, body, options); })(); } update_alert_field(callback, alert_id, body, options) { var _this6 = this; return _asyncToGenerator(function* () { alert_id = encodeParam(alert_id); return _this6.authStream(callback, 'PATCH', "/alerts/".concat(alert_id), null, body, options); })(); } delete_alert(callback, alert_id, options) { var _this7 = this; return _asyncToGenerator(function* () { alert_id = encodeParam(alert_id); return _this7.authStream(callback, 'DELETE', "/alerts/".concat(alert_id), null, null, options); })(); } create_alert(callback, body, options) { var _this8 = this; return _asyncToGenerator(function* () { return _this8.authStream(callback, 'POST', '/alerts', null, body, options); })(); } enqueue_alert(callback, alert_id, force, options) { var _this9 = this; return _asyncToGenerator(function* () { alert_id = encodeParam(alert_id); return _this9.authStream(callback, 'POST', "/alerts/".concat(alert_id, "/enqueue"), { force }, null, options); })(); } alert_notifications(callback, request, options) { var _this10 = this; return _asyncToGenerator(function* () { return _this10.authStream(callback, 'GET', '/alert_notifications', { limit: request.limit, offset: request.offset }, null, options); })(); } read_alert_notification(callback, alert_notification_id, options) { var _this11 = this; return _asyncToGenerator(function* () { alert_notification_id = encodeParam(alert_notification_id); return _this11.authStream(callback, 'PATCH', "/alert_notifications/".concat(alert_notification_id), null, null, options); })(); } login(callback, request, options) { var _this12 = this; return _asyncToGenerator(function* () { return _this12.authStream(callback, 'POST', '/login', { client_id: request.client_id, client_secret: request.client_secret }, null, options); })(); } login_user(callback, user_id, associative, options) { var _this13 = this; return _asyncToGenerator(function* () { user_id = encodeParam(user_id); return _this13.authStream(callback, 'POST', "/login/".concat(user_id), { associative }, null, options); })(); } logout(callback, options) { var _this14 = this; return _asyncToGenerator(function* () { return _this14.authStream(callback, 'DELETE', '/logout', null, null, options); })(); } artifact_usage(callback, fields, options) { var _this15 = this; return _asyncToGenerator(function* () { return _this15.authStream(callback, 'GET', '/artifact/usage', { fields }, null, options); })(); } artifact_namespaces(callback, request, options) { var _this16 = this; return _asyncToGenerator(function* () { return _this16.authStream(callback, 'GET', '/artifact/namespaces', { fields: request.fields, limit: request.limit, offset: request.offset }, null, options); })(); } artifact_value(callback, namespace, key, options) { var _this17 = this; return _asyncToGenerator(function* () { namespace = encodeParam(namespace); return _this17.authStream(callback, 'GET', "/artifact/".concat(namespace, "/value"), { key }, null, options); })(); } purge_artifacts(callback, namespace, options) { var _this18 = this; return _asyncToGenerator(function* () { namespace = encodeParam(namespace); return _this18.authStream(callback, 'DELETE', "/artifact/".concat(namespace, "/purge"), null, null, options); })(); } search_artifacts(callback, request, options) { var _this19 = this; return _asyncToGenerator(function* () { request.namespace = encodeParam(request.namespace); return _this19.authStream(callback, '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(callback, request, options) { var _this20 = this; return _asyncToGenerator(function* () { request.namespace = encodeParam(request.namespace); return _this20.authStream(callback, 'GET', "/artifact/".concat(request.namespace), { key: request.key, fields: request.fields, limit: request.limit, offset: request.offset, tally: request.tally }, null, options); })(); } delete_artifact(callback, namespace, key, options) { var _this21 = this; return _asyncToGenerator(function* () { namespace = encodeParam(namespace); return _this21.authStream(callback, 'DELETE', "/artifact/".concat(namespace), { key }, null, options); })(); } update_artifacts(callback, namespace, body, fields, options) { var _this22 = this; return _asyncToGenerator(function* () { namespace = encodeParam(namespace); return _this22.authStream(callback, 'PUT', "/artifacts/".concat(namespace), { fields }, body, options); })(); } create_embed_secret(callback, body, options) { var _this23 = this; return _asyncToGenerator(function* () { return _this23.authStream(callback, 'POST', '/embed_config/secrets', null, body, options); })(); } delete_embed_secret(callback, embed_secret_id, options) { var _this24 = this; return _asyncToGenerator(function* () { embed_secret_id = encodeParam(embed_secret_id); return _this24.authStream(callback, 'DELETE', "/embed_config/secrets/".concat(embed_secret_id), null, null, options); })(); } create_sso_embed_url(callback, body, options) { var _this25 = this; return _asyncToGenerator(function* () { return _this25.authStream(callback, 'POST', '/embed/sso_url', null, body, options); })(); } create_embed_url_as_me(callback, body, options) { var _this26 = this; return _asyncToGenerator(function* () { return _this26.authStream(callback, 'POST', '/embed/token_url/me', null, body, options); })(); } validate_embed_url(callback, url, options) { var _this27 = this; return _asyncToGenerator(function* () { return _this27.authStream(callback, 'GET', '/embed/sso/validate', { url }, null, options); })(); } acquire_embed_cookieless_session(callback, body, options) { var _this28 = this; return _asyncToGenerator(function* () { return _this28.authStream(callback, 'POST', '/embed/cookieless_session/acquire', null, body, options); })(); } delete_embed_cookieless_session(callback, session_reference_token, options) { var _this29 = this; return _asyncToGenerator(function* () { session_reference_token = encodeParam(session_reference_token); return _this29.authStream(callback, 'DELETE', "/embed/cookieless_session/".concat(session_reference_token), null, null, options); })(); } generate_tokens_for_cookieless_session(callback, body, options) { var _this30 = this; return _asyncToGenerator(function* () { return _this30.authStream(callback, 'PUT', '/embed/cookieless_session/generate_tokens', null, body, options); })(); } ldap_config(callback, options) { var _this31 = this; return _asyncToGenerator(function* () { return _this31.authStream(callback, 'GET', '/ldap_config', null, null, options); })(); } update_ldap_config(callback, body, options) { var _this32 = this; return _asyncToGenerator(function* () { return _this32.authStream(callback, 'PATCH', '/ldap_config', null, body, options); })(); } test_ldap_config_connection(callback, body, options) { var _this33 = this; return _asyncToGenerator(function* () { return _this33.authStream(callback, 'PUT', '/ldap_config/test_connection', null, body, options); })(); } test_ldap_config_auth(callback, body, options) { var _this34 = this; return _asyncToGenerator(function* () { return _this34.authStream(callback, 'PUT', '/ldap_config/test_auth', null, body, options); })(); } test_ldap_config_user_info(callback, body, options) { var _this35 = this; return _asyncToGenerator(function* () { return _this35.authStream(callback, 'PUT', '/ldap_config/test_user_info', null, body, options); })(); } test_ldap_config_user_auth(callback, body, options) { var _this36 = this; return _asyncToGenerator(function* () { return _this36.authStream(callback, 'PUT', '/ldap_config/test_user_auth', null, body, options); })(); } register_mobile_device(callback, body, options) { var _this37 = this; return _asyncToGenerator(function* () { return _this37.authStream(callback, 'POST', '/mobile/device', null, body, options); })(); } update_mobile_device_registration(callback, device_id, options) { var _this38 = this; return _asyncToGenerator(function* () { device_id = encodeParam(device_id); return _this38.authStream(callback, 'PATCH', "/mobile/device/".concat(device_id), null, null, options); })(); } deregister_mobile_device(callback, device_id, options) { var _this39 = this; return _asyncToGenerator(function* () { device_id = encodeParam(device_id); return _this39.authStream(callback, 'DELETE', "/mobile/device/".concat(device_id), null, null, options); })(); } all_oauth_client_apps(callback, fields, options) { var _this40 = this; return _asyncToGenerator(function* () { return _this40.authStream(callback, 'GET', '/oauth_client_apps', { fields }, null, options); })(); } oauth_client_app(callback, client_guid, fields, options) { var _this41 = this; return _asyncToGenerator(function* () { client_guid = encodeParam(client_guid); return _this41.authStream(callback, 'GET', "/oauth_client_apps/".concat(client_guid), { fields }, null, options); })(); } register_oauth_client_app(callback, client_guid, body, fields, options) { var _this42 = this; return _asyncToGenerator(function* () { client_guid = encodeParam(client_guid); return _this42.authStream(callback, 'POST', "/oauth_client_apps/".concat(client_guid), { fields }, body, options); })(); } update_oauth_client_app(callback, client_guid, body, fields, options) { var _this43 = this; return _asyncToGenerator(function* () { client_guid = encodeParam(client_guid); return _this43.authStream(callback, 'PATCH', "/oauth_client_apps/".concat(client_guid), { fields }, body, options); })(); } delete_oauth_client_app(callback, client_guid, options) { var _this44 = this; return _asyncToGenerator(function* () { client_guid = encodeParam(client_guid); return _this44.authStream(callback, 'DELETE', "/oauth_client_apps/".concat(client_guid), null, null, options); })(); } invalidate_tokens(callback, client_guid, options) { var _this45 = this; return _asyncToGenerator(function* () { client_guid = encodeParam(client_guid); return _this45.authStream(callback, 'DELETE', "/oauth_client_apps/".concat(client_guid, "/tokens"), null, null, options); })(); } activate_app_user(callback, client_guid, user_id, fields, options) { var _this46 = this; return _asyncToGenerator(function* () { client_guid = encodeParam(client_guid); user_id = encodeParam(user_id); return _this46.authStream(callback, 'POST', "/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), { fields }, null, options); })(); } deactivate_app_user(callback, client_guid, user_id, fields, options) { var _this47 = this; return _asyncToGenerator(function* () { client_guid = encodeParam(client_guid); user_id = encodeParam(user_id); return _this47.authStream(callback, 'DELETE', "/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), { fields }, null, options); })(); } oidc_config(callback, options) { var _this48 = this; return _asyncToGenerator(function* () { return _this48.authStream(callback, 'GET', '/oidc_config', null, null, options); })(); } update_oidc_config(callback, body, options) { var _this49 = this; return _asyncToGenerator(function* () { return _this49.authStream(callback, 'PATCH', '/oidc_config', null, body, options); })(); } oidc_test_config(callback, test_slug, options) { var _this50 = this; return _asyncToGenerator(function* () { test_slug = encodeParam(test_slug); return _this50.authStream(callback, 'GET', "/oidc_test_configs/".concat(test_slug), null, null, options); })(); } delete_oidc_test_config(callback, test_slug, options) { var _this51 = this; return _asyncToGenerator(function* () { test_slug = encodeParam(test_slug); return _this51.authStream(callback, 'DELETE', "/oidc_test_configs/".concat(test_slug), null, null, options); })(); } create_oidc_test_config(callback, body, options) { var _this52 = this; return _asyncToGenerator(function* () { return _this52.authStream(callback, 'POST', '/oidc_test_configs', null, body, options); })(); } password_config(callback, options) { var _this53 = this; return _asyncToGenerator(function* () { return _this53.authStream(callback, 'GET', '/password_config', null, null, options); })(); } update_password_config(callback, body, options) { var _this54 = this; return _asyncToGenerator(function* () { return _this54.authStream(callback, 'PATCH', '/password_config', null, body, options); })(); } force_password_reset_at_next_login_for_all_users(callback, options) { var _this55 = this; return _asyncToGenerator(function* () { return _this55.authStream(callback, 'PUT', '/password_config/force_password_reset_at_next_login_for_all_users', null, null, options); })(); } saml_config(callback, options) { var _this56 = this; return _asyncToGenerator(function* () { return _this56.authStream(callback, 'GET', '/saml_config', null, null, options); })(); } update_saml_config(callback, body, options) { var _this57 = this; return _asyncToGenerator(function* () { return _this57.authStream(callback, 'PATCH', '/saml_config', null, body, options); })(); } saml_test_config(callback, test_slug, options) { var _this58 = this; return _asyncToGenerator(function* () { test_slug = encodeParam(test_slug); return _this58.authStream(callback, 'GET', "/saml_test_configs/".concat(test_slug), null, null, options); })(); } delete_saml_test_config(callback, test_slug, options) { var _this59 = this; return _asyncToGenerator(function* () { test_slug = encodeParam(test_slug); return _this59.authStream(callback, 'DELETE', "/saml_test_configs/".concat(test_slug), null, null, options); })(); } create_saml_test_config(callback, body, options) { var _this60 = this; return _asyncToGenerator(function* () { return _this60.authStream(callback, 'POST', '/saml_test_configs', null, body, options); })(); } parse_saml_idp_metadata(callback, body, options) { var _this61 = this; return _asyncToGenerator(function* () { return _this61.authStream(callback, 'POST', '/parse_saml_idp_metadata', null, body, options); })(); } fetch_and_parse_saml_idp_metadata(callback, body, options) { var _this62 = this; return _asyncToGenerator(function* () { return _this62.authStream(callback, 'POST', '/fetch_and_parse_saml_idp_metadata', null, body, options); })(); } session_config(callback, options) { var _this63 = this; return _asyncToGenerator(function* () { return _this63.authStream(callback, 'GET', '/session_config', null, null, options); })(); } update_session_config(callback, body, options) { var _this64 = this; return _asyncToGenerator(function* () { return _this64.authStream(callback, 'PATCH', '/session_config', null, body, options); })(); } get_support_access_allowlist_entries(callback, fields, options) { var _this65 = this; return _asyncToGenerator(function* () { return _this65.authStream(callback, 'GET', '/support_access/allowlist', { fields }, null, options); })(); } add_support_access_allowlist_entries(callback, body, options) { var _this66 = this; return _asyncToGenerator(function* () { return _this66.authStream(callback, 'POST', '/support_access/allowlist', null, body, options); })(); } delete_support_access_allowlist_entry(callback, entry_id, options) { var _this67 = this; return _asyncToGenerator(function* () { entry_id = encodeParam(entry_id); return _this67.authStream(callback, 'DELETE', "/support_access/allowlist/".concat(entry_id), null, null, options); })(); } enable_support_access(callback, body, options) { var _this68 = this; return _asyncToGenerator(function* () { return _this68.authStream(callback, 'PUT', '/support_access/enable', null, body, options); })(); } disable_support_access(callback, options) { var _this69 = this; return _asyncToGenerator(function* () { return _this69.authStream(callback, 'PUT', '/support_access/disable', null, null, options); })(); } support_access_status(callback, options) { var _this70 = this; return _asyncToGenerator(function* () { return _this70.authStream(callback, 'GET', '/support_access/status', null, null, options); })(); } all_user_login_lockouts(callback, fields, options) { var _this71 = this; return _asyncToGenerator(function* () { return _this71.authStream(callback, 'GET', '/user_login_lockouts', { fields }, null, options); })(); } search_user_login_lockouts(callback, request, options) { var _this72 = this; return _asyncToGenerator(function* () { return _this72.authStream(callback, '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(callback, key, options) { var _this73 = this; return _asyncToGenerator(function* () { key = encodeParam(key); return _this73.authStream(callback, 'DELETE', "/user_login_lockout/".concat(key), null, null, options); })(); } all_boards(callback, fields, options) { var _this74 = this; return _asyncToGenerator(function* () { return _this74.authStream(callback, 'GET', '/boards', { fields }, null, options); })(); } create_board(callback, body, fields, options) { var _this75 = this; return _asyncToGenerator(function* () { return _this75.authStream(callback, 'POST', '/boards', { fields }, body, options); })(); } search_boards(callback, request, options) { var _this76 = this; return _asyncToGenerator(function* () { return _this76.authStream(callback, '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(callback, board_id, fields, options) { var _this77 = this; return _asyncToGenerator(function* () { board_id = encodeParam(board_id); return _this77.authStream(callback, 'GET', "/boards/".concat(board_id), { fields }, null, options); })(); } update_board(callback, board_id, body, fields, options) { var _this78 = this; return _asyncToGenerator(function* () { board_id = encodeParam(board_id); return _this78.authStream(callback, 'PATCH', "/boards/".concat(board_id), { fields }, body, options); })(); } delete_board(callback, board_id, options) { var _this79 = this; return _asyncToGenerator(function* () { board_id = encodeParam(board_id); return _this79.authStream(callback, 'DELETE', "/boards/".concat(board_id), null, null, options); })(); } all_board_items(callback, request, options) { var _this80 = this; return _asyncToGenerator(function* () { return _this80.authStream(callback, 'GET', '/board_items', { fields: request.fields, sorts: request.sorts, board_section_id: request.board_section_id }, null, options); })(); } create_board_item(callback, body, fields, options) { var _this81 = this; return _asyncToGenerator(function* () { return _this81.authStream(callback, 'POST', '/board_items', { fields }, body, options); })(); } board_item(callback, board_item_id, fields, options) { var _this82 = this; return _asyncToGenerator(function* () { board_item_id = encodeParam(board_item_id); return _this82.authStream(callback, 'GET', "/board_items/".concat(board_item_id), { fields }, null, options); })(); } update_board_item(callback, board_item_id, body, fields, options) { var _this83 = this; return _asyncToGenerator(function* () { board_item_id = encodeParam(board_item_id); return _this83.authStream(callback, 'PATCH', "/board_items/".concat(board_item_id), { fields }, body, options); })(); } delete_board_item(callback, board_item_id, options) { var _this84 = this; return _asyncToGenerator(function* () { board_item_id = encodeParam(board_item_id); return _this84.authStream(callback, 'DELETE', "/board_items/".concat(board_item_id), null, null, options); })(); } all_board_sections(callback, request, options) { var _this85 = this; return _asyncToGenerator(function* () { return _this85.authStream(callback, 'GET', '/board_sections', { fields: request.fields, sorts: request.sorts }, null, options); })(); } create_board_section(callback, body, fields, options) { var _this86 = this; return _asyncToGenerator(function* () { return _this86.authStream(callback, 'POST', '/board_sections', { fields }, body, options); })(); } board_section(callback, board_section_id, fields, options) { var _this87 = this; return _asyncToGenerator(function* () { board_section_id = encodeParam(board_section_id); return _this87.authStream(callback, 'GET', "/board_sections/".concat(board_section_id), { fields }, null, options); })(); } update_board_section(callback, board_section_id, body, fields, options) { var _this88 = this; return _asyncToGenerator(function* () { board_section_id = encodeParam(board_section_id); return _this88.authStream(callback, 'PATCH', "/board_sections/".concat(board_section_id), { fields }, body, options); })(); } delete_board_section(callback, board_section_id, options) { var _this89 = this; return _asyncToGenerator(function* () { board_section_id = encodeParam(board_section_id); return _this89.authStream(callback, 'DELETE', "/board_sections/".concat(board_section_id), null, null, options); })(); } all_color_collections(callback, fields, options) { var _this90 = this; return _asyncToGenerator(function* () { return _this90.authStream(callback, 'GET', '/color_collections', { fields }, null, options); })(); } create_color_collection(callback, body, options) { var _this91 = this; return _asyncToGenerator(function* () { return _this91.authStream(callback, 'POST', '/color_collections', null, body, options); })(); } color_collections_custom(callback, fields, options) { var _this92 = this; return _asyncToGenerator(function* () { return _this92.authStream(callback, 'GET', '/color_collections/custom', { fields }, null, options); })(); } color_collections_standard(callback, fields, options) { var _this93 = this; return _asyncToGenerator(function* () { return _this93.authStream(callback, 'GET', '/color_collections/standard', { fields }, null, options); })(); } default_color_collection(callback, options) { var _this94 = this; return _asyncToGenerator(function* () { return _this94.authStream(callback, 'GET', '/color_collections/default', null, null, options); })(); } set_default_color_collection(callback, collection_id, options) { var _this95 = this; return _asyncToGenerator(function* () { return _this95.authStream(callback, 'PUT', '/color_collections/default', { collection_id }, null, options); })(); } color_collection(callback, collection_id, fields, options) { var _this96 = this; return _asyncToGenerator(function* () { collection_id = encodeParam(collection_id); return _this96.authStream(callback, 'GET', "/color_collections/".concat(collection_id), { fields }, null, options); })(); } update_color_collection(callback, collection_id, body, options) { var _this97 = this; return _asyncToGenerator(function* () { collection_id = encodeParam(collection_id); return _this97.authStream(callback, 'PATCH', "/color_collections/".concat(collection_id), null, body, options); })(); } delete_color_collection(callback, collection_id, options) { var _this98 = this; return _asyncToGenerator(function* () { collection_id = encodeParam(collection_id); return _this98.authStream(callback, 'DELETE', "/color_collections/".concat(collection_id), null, null, options); })(); } cloud_storage_configuration(callback, options) { var _this99 = this; return _asyncToGenerator(function* () { return _this99.authStream(callback, 'GET', '/cloud_storage', null, null, options); })(); } update_cloud_storage_configuration(callback, body, options) { var _this100 = this; return _asyncToGenerator(function* () { return _this100.authStream(callback, 'PATCH', '/cloud_storage', null, body, options); })(); } custom_welcome_email(callback, options) { var _this101 = this; return _asyncToGenerator(function* () { return _this101.authStream(callback, 'GET', '/custom_welcome_email', null, null, options); })(); } update_custom_welcome_email(callback, body, send_test_welcome_email, options) { var _this102 = this; return _asyncToGenerator(function* () { return _this102.authStream(callback, 'PATCH', '/custom_welcome_email', { send_test_welcome_email }, body, options); })(); } update_custom_welcome_email_test(callback, body, options) { var _this103 = this; return _asyncToGenerator(function* () { return _this103.authStream(callback, 'PUT', '/custom_welcome_email_test', null, body, options); })(); } digest_emails_enabled(callback, options) { var _this104 = this; return _asyncToGenerator(function* () { return _this104.authStream(callback, 'GET', '/digest_emails_enabled', null, null, options); })(); } update_digest_emails_enabled(callback, body, options) { var _this105 = this; return _asyncToGenerator(function* () { return _this105.authStream(callback, 'PATCH', '/digest_emails_enabled', null, body, options); })(); } create_digest_email_send(callback, options) { var _this106 = this; return _asyncToGenerator(function* () { return _this106.authStream(callback, 'POST', '/digest_email_send', null, null, options); })(); } public_egress_ip_addresses(callback, options) { var _this107 = this; return _asyncToGenerator(function* () { return _this107.authStream(callback, 'GET', '/public_egress_ip_addresses', null, null, options); })(); } internal_help_resources_content(callback, options) { var _this108 = this; return _asyncToGenerator(function* () { return _this108.authStream(callback, 'GET', '/internal_help_resources_content', null, null, options); })(); } update_internal_help_resources_content(callback, body, options) { var _this109 = this; return _asyncToGenerator(function* () { return _this109.authStream(callback, 'PATCH', '/internal_help_resources_content', null, body, options); })(); } internal_help_resources(callback, options) { var _this110 = this; return _asyncToGenerator(function* () { return _this110.authStream(callback, 'GET', '/internal_help_resources_enabled', null, null, options); })(); } update_internal_help_resources(callback, body, options) { var _this111 = this; return _asyncToGenerator(function* () { return _this111.authStream(callback, 'PATCH', '/internal_help_resources', null, body, options); })(); } all_legacy_features(callback, options) { var _this112 = this; return _asyncToGenerator(function* () { return _this112.authStream(callback, 'GET', '/legacy_features', null, null, options); })(); } legacy_feature(callback, legacy_feature_id, options) { var _this113 = this; return _asyncToGenerator(function* () { legacy_feature_id = encodeParam(legacy_feature_id); return _this113.authStream(callback, 'GET', "/legacy_features/".concat(legacy_feature_id), null, null, options); })(); } update_legacy_feature(callback, legacy_feature_id, body, options) { var _this114 = this; return _asyncToGenerator(function* () { legacy_feature_id = encodeParam(legacy_feature_id); return _this114.authStream(callback, 'PATCH', "/legacy_features/".concat(legacy_feature_id), null, body, options); })(); } all_locales(callback, options) { var _this115 = this; return _asyncToGenerator(function* () { return _this115.authStream(callback, 'GET', '/locales', null, null, options); })(); } mobile_settings(callback, options) { var _this116 = this; return _asyncToGenerator(function* () { return _this116.authStream(callback, 'GET', '/mobile/settings', null, null, options); })(); } get_setting(callback, fields, options) { var _this117 = this; return _asyncToGenerator(function* () { return _this117.authStream(callback, 'GET', '/setting', { fields }, null, options); })(); } set_setting(callback, body, fields, options) { var _this118 = this; return _asyncToGenerator(function* () { return _this118.authStream(callback, 'PATCH', '/setting', { fields }, body, options); })(); } set_smtp_settings(callback, body, options) { var _this119 = this; return _asyncToGenerator(function* () { return _this119.authStream(callback, 'POST', '/smtp_settings', null, body, options); })(); } smtp_status(callback, fields, options) { var _this120 = this; return _asyncToGenerator(function* () { return _this120.authStream(callback, 'GET', '/smtp_status', { fields }, null, options); })(); } all_timezones(callback, options) { var _this121 = this; return _asyncToGenerator(function* () { return _this121.authStream(callback, 'GET', '/timezones', null, null, options); })(); } versions(callback, fields, options) { var _this122 = this; return _asyncToGenerator(function* () { return _this122.authStream(callback, 'GET', '/versions', { fields }, null, options); })(); } api_spec(callback, api_version, specification, options) { var _this123 = this; return _asyncToGenerator(function* () { api_version = encodeParam(api_version); specification = encodeParam(specification); return _this123.authStream(callback, 'GET', "/api_spec/".concat(api_version, "/").concat(specification), null, null, options); })(); } whitelabel_configuration(callback, fields, options) { var _this124 = this; return _asyncToGenerator(function* () { return _this124.authStream(callback, 'GET', '/whitelabel_configuration', { fields }, null, options); })(); } update_whitelabel_configuration(callback, body, options) { var _this125 = this; return _asyncToGenerator(function* () { return _this125.authStream(callback, 'PUT', '/whitelabel_configuration', null, body, options); })(); } all_connections(callback, fields, options) { var _this126 = this; return _asyncToGenerator(function* () { return _this126.authStream(callback, 'GET', '/connections', { fields }, null, options); })(); } create_connection(callback, body, options) { var _this127 = this; return _asyncToGenerator(function* () { return _this127.authStream(callback, 'POST', '/connections', null, body, options); })(); } connection(callback, connection_name, fields, options) { var _this128 = this; return _asyncToGenerator(function* () { connection_name = encodeParam(connection_name); return _this128.authStream(callback, 'GET', "/connections/".concat(connection_name), { fields }, null, options); })(); } update_connection(callback, connection_name, body, options) { var _this129 = this; return _asyncToGenerator(function* () { connection_name = encodeParam(connection_name); return _this129.authStream(callback, 'PATCH', "/connections/".concat(connection_name), null, body, options); })(); } delete_connection(callback, connection_name, options) { var _this130 = this; return _asyncToGenerator(function* () { connection_name = encodeParam(connection_name); return _this130.authStream(callback, 'DELETE', "/connections/".concat(connection_name), null, null, options); })(); } delete_connection_override(callback, connection_name, override_context, options) { var _this131 = this; return _asyncToGenerator(function* () { connection_name = encodeParam(connection_name); override_context = encodeParam(override_context); return _this131.authStream(callback, 'DELETE', "/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options); })(); } test_connection(callback, connection_name, tests, options) { var _this132 = this; return _asyncToGenerator(function* () { connection_name = encodeParam(connection_name); return _this132.authStream(callback, 'PUT', "/connections/".concat(connection_name, "/test"), { tests }, null, options); })(); } test_connection_config(callback, body, tests, options) { var _this133 = this; return _asyncToGenerator(function* () { return _this133.authStream(callback, 'PUT', '/connections/test', { tests }, body, options); })(); } all_dialect_infos(callback, fields, options) { var _this134 = this; return _asyncToGenerator(function* () { return _this134.authStream(callback, 'GET', '/dialect_info', { fields }, null, options); })(); } all_external_oauth_applications(callback, request, options) { var _this135 = this; return _asyncToGenerator(function* () { return _this135.authStream(callback, 'GET', '/external_oauth_applications', { name: request.name, client_id: request.client_id }, null, options); })(); } create_external_oauth_application(callback, body, options) { var _this136 = this; return _asyncToGenerator(function* () { return _this136.authStream(callback, 'POST', '/external_oauth_applications', null, body, options); })(); } update_external_oauth_application(callback, client_id, body, options) { var _this137 = this; return _asyncToGenerator(function* () { client_id = encodeParam(client_id); return _this137.authStream(callback, 'PATCH', "/external_oauth_applications/".concat(client_id), null, body, options); })(); } create_oauth_application_user_state(callback, body, options) { var _this138 = this; return _asyncToGenerator(function* () { return _this138.authStream(callback, 'POST', '/external_oauth_applications/user_state', null, body, options); })(); } all_ssh_servers(callback, fields, options) { var _this139 = this; return _asyncToGenerator(function* () { return _this139.authStream(callback, 'GET', '/ssh_servers', { fields }, null, options); })(); } create_ssh_server(callback, body, options) { var _this140 = this; return _asyncToGenerator(function* () { return _this140.authStream(callback, 'POST', '/ssh_servers', null, body, options); })(); } ssh_server(callback, ssh_server_id, options) { var _this141 = this; return _asyncToGenerator(function* () { ssh_server_id = encodeParam(ssh_server_id); return _this141.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id), null, null, options); })(); } update_ssh_server(callback, ssh_server_id, body, options) { var _this142 = this; return _asyncToGenerator(function* () { ssh_server_id = encodeParam(ssh_server_id); return _this142.authStream(callback, 'PATCH', "/ssh_server/".concat(ssh_server_id), null, body, options); })(); } delete_ssh_server(callback, ssh_server_id, options) { var _this143 = this; return _asyncToGenerator(function* () { ssh_server_id = encodeParam(ssh_server_id); return _this143.authStream(callback, 'DELETE', "/ssh_server/".concat(ssh_server_id), null, null, options); })(); } test_ssh_server(callback, ssh_server_id, options) { var _this144 = this; return _asyncToGenerator(function* () { ssh_server_id = encodeParam(ssh_server_id); return _this144.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id, "/test"), null, null, options); })(); } all_ssh_tunnels(callback, fields, options) { var _this145 = this; return _asyncToGenerator(function* () { return _this145.authStream(callback, 'GET', '/ssh_tunnels', { fields }, null, options); })(); } create_ssh_tunnel(callback, body, options) { var _this146 = this; return _asyncToGenerator(function* () { return _this146.authStream(callback, 'POST', '/ssh_tunnels', null, body, options); })(); } ssh_tunnel(callback, ssh_tunnel_id, options) { var _this147 = this; return _asyncToGenerator(function* () { ssh_tunnel_id = encodeParam(ssh_tunnel_id); return _this147.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options); })(); } update_ssh_tunnel(callback, ssh_tunnel_id, body, options) { var _this148 = this; return _asyncToGenerator(function* () { ssh_tunnel_id = encodeParam(ssh_tunnel_id); return _this148.authStream(callback, 'PATCH', "/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options); })(); } delete_ssh_tunnel(callback, ssh_tunnel_id, options) { var _this149 = this; return _asyncToGenerator(function* () { ssh_tunnel_id = encodeParam(ssh_tunnel_id); return _this149.authStream(callback, 'DELETE', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options); })(); } test_ssh_tunnel(callback, ssh_tunnel_id, options) { var _this150 = this; return _asyncToGenerator(function* () { ssh_tunnel_id = encodeParam(ssh_tunnel_id); return _this150.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options); })(); } ssh_public_key(callback, options) { var _this151 = this; return _asyncToGenerator(function* () { return _this151.authStream(callback, 'GET', '/ssh_public_key', null, null, options); })(); } search_content_favorites(callback, request, options) { var _this152 = this; return _asyncToGenerator(function* () { return _this152.authStream(callback, '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, limit: request.limit, offset: request.offset, sorts: request.sorts, fields: request.fields, filter_or: request.filter_or }, null, options); })(); } content_favorite(callback, content_favorite_id, fields, options) { var _this153 = this; return _asyncToGenerator(function* () { content_favorite_id = encodeParam(content_favorite_id); return _this153.authStream(callback, 'GET', "/content_favorite/".concat(content_favorite_id), { fields }, null, options); })(); } delete_content_favorite(callback, content_favorite_id, options) { var _this154 = this; return _asyncToGenerator(function* () { content_favorite_id = encodeParam(content_favorite_id); return _this154.authStream(callback, 'DELETE', "/content_favorite/".concat(content_favorite_id), null, null, options); })(); } create_content_favorite(callback, body, options) { var _this155 = this; return _asyncToGenerator(function* () { return _this155.authStream(callback, 'POST', '/content_favorite', null, body, options); })(); } all_content_metadatas(callback, parent_id, fields, options) { var _this156 = this; return _asyncToGenerator(function* () { return _this156.authStream(callback, 'GET', '/content_metadata', { parent_id, fields }, null, options); })(); } content_metadata(callback, content_metadata_id, fields, options) { var _this157 = this; return _asyncToGenerator(function* () { content_metadata_id = encodeParam(content_metadata_id); return _this157.authStream(callback, 'GET', "/content_metadata/".concat(content_metadata_id), { fields }, null, options); })(); } update_content_metadata(callback, content_metadata_id, body, options) { var _this158 = this; return _asyncToGenerator(function* () { content_metadata_id = encodeParam(content_metadata_id); return _this158.authStream(callback, 'PATCH', "/content_metadata/".concat(content_metadata_id), null, body, options); })(); } all_content_metadata_accesses(callback, content_metadata_id, fields, options) { var _this159 = this; return _asyncToGenerator(function* () { return _this159.authStream(callback, 'GET', '/content_metadata_access', { content_metadata_id, fields }, null, options); })(); } create_content_metadata_access(callback, body, send_boards_notification_email, options) { var _this160 = this; return _asyncToGenerator(function* () { return _this160.authStream(callback, 'POST', '/content_metadata_access', { send_boards_notification_email }, body, options); })(); } update_content_metadata_access(callback, content_metadata_access_id, body, options) { var _this161 = this; return _asyncToGenerator(function* () { content_metadata_access_id = encodeParam(content_metadata_access_id); return _this161.authStream(callback, 'PUT', "/content_metadata_access/".concat(content_metadata_access_id), null, body, options); })(); } delete_content_metadata_access(callback, content_metadata_access_id, options) { var _this162 = this; return _asyncToGenerator(function* () { content_metadata_access_id = encodeParam(content_metadata_access_id); return _this162.authStream(callback, 'DELETE', "/content_metadata_access/".concat(content_metadata_access_id), null, null, options); })(); } search_content(callback, request, options) { var _this163 = this; return _asyncToGenerator(function* () { request.terms = encodeParam(request.terms); return _this163.authStream(callback, '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(callback, request, options) { var _this164 = this; return _asyncToGenerator(function* () { return _this164.authStream(callback, '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(callback, request, options) { var _this165 = this; return _asyncToGenerator(function* () { request.type = encodeParam(request.type); request.resource_id = encodeParam(request.resource_id); return _this165.authStream(callback, '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(callback, request, options) { var _this166 = this; return _asyncToGenerator(function* () { return _this166.authStream(callback, 'GET', '/content_validation', { fields: request.fields, project_names: request.project_names, space_ids: request.space_ids }, n