@looker/sdk 23.14.1 → 23.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -3
  3. package/lib/4.0/funcs.d.ts +6 -3
  4. package/lib/4.0/funcs.js +922 -891
  5. package/lib/4.0/funcs.js.map +1 -1
  6. package/lib/4.0/methods.d.ts +6 -3
  7. package/lib/4.0/methods.js +612 -590
  8. package/lib/4.0/methods.js.map +1 -1
  9. package/lib/4.0/methodsInterface.d.ts +6 -3
  10. package/lib/4.0/methodsInterface.js.map +1 -1
  11. package/lib/4.0/models.d.ts +18 -3
  12. package/lib/4.0/models.js.map +1 -1
  13. package/lib/4.0/streams.d.ts +6 -3
  14. package/lib/4.0/streams.js +612 -590
  15. package/lib/4.0/streams.js.map +1 -1
  16. package/lib/browserSdk.d.ts +0 -2
  17. package/lib/browserSdk.js +2 -9
  18. package/lib/browserSdk.js.map +1 -1
  19. package/lib/constants.d.ts +1 -1
  20. package/lib/constants.js +1 -1
  21. package/lib/constants.js.map +1 -1
  22. package/lib/esm/4.0/funcs.js +1633 -2046
  23. package/lib/esm/4.0/funcs.js.map +1 -1
  24. package/lib/esm/4.0/methods.js +915 -900
  25. package/lib/esm/4.0/methods.js.map +1 -1
  26. package/lib/esm/4.0/methodsInterface.js.map +1 -1
  27. package/lib/esm/4.0/models.js +22 -50
  28. package/lib/esm/4.0/models.js.map +1 -1
  29. package/lib/esm/4.0/streams.js +915 -900
  30. package/lib/esm/4.0/streams.js.map +1 -1
  31. package/lib/esm/browserSdk.js +8 -23
  32. package/lib/esm/browserSdk.js.map +1 -1
  33. package/lib/esm/constants.js +2 -10
  34. package/lib/esm/constants.js.map +1 -1
  35. package/lib/esm/extensionSdk.js +5 -12
  36. package/lib/esm/extensionSdk.js.map +1 -1
  37. package/lib/esm/index.js +9 -141
  38. package/lib/esm/index.js.map +1 -1
  39. package/lib/extensionSdk.js.map +1 -1
  40. package/lib/index.d.ts +0 -8
  41. package/lib/index.js +15 -56
  42. package/lib/index.js.map +1 -1
  43. package/package.json +2 -2
  44. package/lib/3.1/funcs.d.ts +0 -358
  45. package/lib/3.1/funcs.js +0 -4025
  46. package/lib/3.1/funcs.js.map +0 -1
  47. package/lib/3.1/methods.d.ts +0 -363
  48. package/lib/3.1/methods.js +0 -2965
  49. package/lib/3.1/methods.js.map +0 -1
  50. package/lib/3.1/methodsInterface.d.ts +0 -359
  51. package/lib/3.1/methodsInterface.js +0 -2
  52. package/lib/3.1/methodsInterface.js.map +0 -1
  53. package/lib/3.1/models.d.ts +0 -3263
  54. package/lib/3.1/models.js +0 -159
  55. package/lib/3.1/models.js.map +0 -1
  56. package/lib/3.1/streams.d.ts +0 -363
  57. package/lib/3.1/streams.js +0 -2965
  58. package/lib/3.1/streams.js.map +0 -1
  59. package/lib/esm/3.1/funcs.js +0 -4025
  60. package/lib/esm/3.1/funcs.js.map +0 -1
  61. package/lib/esm/3.1/methods.js +0 -2965
  62. package/lib/esm/3.1/methods.js.map +0 -1
  63. package/lib/esm/3.1/methodsInterface.js +0 -2
  64. package/lib/esm/3.1/methodsInterface.js.map +0 -1
  65. package/lib/esm/3.1/models.js +0 -159
  66. package/lib/esm/3.1/models.js.map +0 -1
  67. package/lib/esm/3.1/streams.js +0 -2965
  68. package/lib/esm/3.1/streams.js.map +0 -1
@@ -1,4025 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.create_user_credentials_email_password_reset = exports.create_user_credentials_email = exports.create_user_credentials_api3 = exports.create_user_attribute = exports.create_user = exports.create_theme = exports.create_sso_embed_url = exports.create_sql_query = exports.create_space = exports.create_scheduled_plan = exports.create_saml_test_config = exports.create_role = exports.create_query_task = exports.create_query_render_task = exports.create_query = exports.create_project = exports.create_permission_set = exports.create_oidc_test_config = exports.create_model_set = exports.create_merge_query = exports.create_lookml_model = exports.create_lookml_dashboard_render_task = exports.create_look_render_task = exports.create_look = exports.create_integration_hub = exports.create_homepage_section = exports.create_homepage_item = exports.create_homepage = exports.create_group = exports.create_git_deploy_key = exports.create_git_branch = exports.create_folder = exports.create_digest_email_send = exports.create_dashboard_render_task = exports.create_dashboard_layout = exports.create_dashboard_filter = exports.create_dashboard_element = exports.create_dashboard = exports.create_content_metadata_access = exports.create_content_favorite = exports.create_connection = exports.create_color_collection = exports.content_validation = exports.content_thumbnail = exports.content_metadata = exports.content_favorite = exports.connection = exports.color_collections_standard = exports.color_collections_custom = exports.color_collection = exports.cloud_storage_configuration = exports.check_pdt_build = exports.backup_configuration = exports.all_workspaces = exports.all_users = exports.all_user_sessions = exports.all_user_login_lockouts = exports.all_user_credentials_embeds = exports.all_user_credentials_api3s = exports.all_user_attributes = exports.all_user_attribute_group_values = exports.all_timezones = exports.all_themes = exports.all_spaces = exports.all_scheduled_plans = exports.all_running_queries = exports.all_roles = exports.all_projects = exports.all_project_files = exports.all_primary_homepage_sections = exports.all_permissions = exports.all_permission_sets = exports.all_model_sets = exports.all_looks = exports.all_lookml_tests = exports.all_lookml_models = exports.all_locales = exports.all_legacy_features = exports.all_integrations = exports.all_integration_hubs = exports.all_homepages = exports.all_homepage_sections = exports.all_homepage_items = exports.all_groups = exports.all_group_users = exports.all_group_groups = exports.all_git_connection_tests = exports.all_git_branches = exports.all_folders = exports.all_dialect_infos = exports.all_datagroups = exports.all_dashboards = exports.all_content_metadatas = exports.all_content_metadata_accesses = exports.all_connections = exports.all_color_collections = exports.add_group_user = exports.add_group_group = exports.active_themes = exports.accept_integration_hub_legal_agreement = void 0;
7
- exports.manifest = exports.lookml_model_explore = exports.lookml_model = exports.look = exports.logout = exports.login_user = exports.login = exports.legacy_feature = exports.ldap_config = exports.kill_query = exports.internal_help_resources_content = exports.internal_help_resources = exports.integration_hub = exports.integration = exports.import_lookml_dashboard = exports.homepage_section = exports.homepage_item = exports.homepage = exports.group = exports.graph_derived_tables_for_view = exports.graph_derived_tables_for_model = exports.git_deploy_key = exports.git_branch = exports.get_all_repository_credentials = exports.functionalSdk31 = exports.force_password_reset_at_next_login_for_all_users = exports.folder_parent = exports.folder_looks = exports.folder_dashboards = exports.folder_children_search = exports.folder_children = exports.folder_ancestors = exports.folder = exports.find_git_branch = exports.fetch_remote_data_action_form = exports.fetch_integration_form = exports.fetch_and_parse_saml_idp_metadata = exports.digest_emails_enabled = exports.deploy_to_production = exports.deploy_ref_to_production = exports.delete_user_session = exports.delete_user_login_lockout = exports.delete_user_credentials_totp = exports.delete_user_credentials_saml = exports.delete_user_credentials_oidc = exports.delete_user_credentials_looker_openid = exports.delete_user_credentials_ldap = exports.delete_user_credentials_google = exports.delete_user_credentials_embed = exports.delete_user_credentials_email = exports.delete_user_credentials_api3 = exports.delete_user_attribute_user_value = exports.delete_user_attribute_group_value = exports.delete_user_attribute = exports.delete_user = exports.delete_theme = exports.delete_space = exports.delete_scheduled_plan = exports.delete_saml_test_config = exports.delete_role = exports.delete_repository_credential = exports.delete_permission_set = exports.delete_oidc_test_config = exports.delete_model_set = exports.delete_lookml_model = exports.delete_look = exports.delete_integration_hub = exports.delete_homepage_section = exports.delete_homepage_item = exports.delete_homepage = exports.delete_group_user = exports.delete_group_from_group = exports.delete_group = exports.delete_git_branch = exports.delete_folder = exports.delete_dashboard_layout = exports.delete_dashboard_filter = exports.delete_dashboard_element = exports.delete_dashboard = exports.delete_content_metadata_access = exports.delete_content_favorite = exports.delete_connection_override = exports.delete_connection = exports.delete_color_collection = exports.default_theme = exports.default_color_collection = exports.datagroup = exports.dashboard_lookml = exports.dashboard_layout_dashboard_layout_components = exports.dashboard_layout_component = exports.dashboard_layout = exports.dashboard_filter = exports.dashboard_element = exports.dashboard_dashboard_layouts = exports.dashboard_dashboard_filters = exports.dashboard_dashboard_elements = exports.dashboard_aggregate_table_lookml = exports.dashboard = exports.custom_welcome_email = exports.create_user_credentials_totp = void 0;
8
- exports.update_dashboard_layout = exports.update_dashboard_filter = exports.update_dashboard_element = exports.update_dashboard = exports.update_custom_welcome_email_test = exports.update_custom_welcome_email = exports.update_content_metadata_access = exports.update_content_metadata = exports.update_connection = exports.update_color_collection = exports.update_cloud_storage_configuration = exports.update_backup_configuration = exports.theme_or_default = exports.theme = exports.test_ldap_config_user_info = exports.test_ldap_config_user_auth = exports.test_ldap_config_connection = exports.test_ldap_config_auth = exports.test_integration = exports.test_connection_config = exports.test_connection = exports.tag_ref = exports.sync_lookml_dashboard = exports.stop_pdt_build = exports.start_pdt_build = exports.sql_query = exports.space_parent = exports.space_looks = exports.space_dashboards = exports.space_children_search = exports.space_children = exports.space_ancestors = exports.space = exports.set_user_roles = exports.set_user_attribute_user_value = exports.set_user_attribute_group_values = exports.set_smtp_settings = exports.set_role_users = exports.set_role_groups = exports.set_default_theme = exports.set_default_color_collection = exports.session_config = exports.session = exports.search_users_names = exports.search_users = exports.search_user_login_lockouts = exports.search_themes = exports.search_spaces = exports.search_roles = exports.search_permission_sets = exports.search_model_sets = exports.search_looks = exports.search_homepages = exports.search_groups = exports.search_folders = exports.search_dashboards = exports.search_dashboard_elements = exports.search_content_views = exports.search_content_favorites = exports.scheduled_plans_for_space = exports.scheduled_plans_for_lookml_dashboard = exports.scheduled_plans_for_look = exports.scheduled_plans_for_dashboard = exports.scheduled_plan_run_once_by_id = exports.scheduled_plan_run_once = exports.scheduled_plan = exports.saml_test_config = exports.saml_config = exports.run_url_encoded_query = exports.run_sql_query = exports.run_query = exports.run_lookml_test = exports.run_look = exports.run_inline_query = exports.run_git_connection_test = exports.role_users = exports.role_groups = exports.role = exports.reset_project_to_remote = exports.reset_project_to_production = exports.render_task_results = exports.render_task = exports.query_task_results = exports.query_task_multi_results = exports.query_task = exports.query_for_slug = exports.query = exports.project_workspace = exports.project_validation_results = exports.project_file = exports.project = exports.permission_set = exports.perform_data_action = exports.password_config = exports.parse_saml_idp_metadata = exports.oidc_test_config = exports.oidc_config = exports.model_set = exports.merge_query = exports.me = void 0;
9
- exports.workspace = exports.whitelabel_configuration = exports.versions = exports.vector_thumbnail = exports.validate_theme = exports.validate_project = exports.user_session = exports.user_roles = exports.user_for_credential = exports.user_credentials_totp = exports.user_credentials_saml = exports.user_credentials_oidc = exports.user_credentials_looker_openid = exports.user_credentials_ldap = exports.user_credentials_google = exports.user_credentials_embed = exports.user_credentials_email = exports.user_credentials_api3 = exports.user_attribute_user_values = exports.user_attribute = exports.user = exports.update_whitelabel_configuration = exports.update_user_credentials_email = exports.update_user_attribute_group_value = exports.update_user_attribute = exports.update_user = exports.update_theme = exports.update_space = exports.update_session_config = exports.update_session = exports.update_scheduled_plan = exports.update_saml_config = exports.update_role = exports.update_repository_credential = exports.update_project = exports.update_permission_set = exports.update_password_config = exports.update_oidc_config = exports.update_model_set = exports.update_lookml_model = exports.update_look = exports.update_legacy_feature = exports.update_ldap_config = exports.update_internal_help_resources_content = exports.update_internal_help_resources = exports.update_integration_hub = exports.update_integration = exports.update_homepage_section = exports.update_homepage_item = exports.update_homepage = exports.update_group = exports.update_git_branch = exports.update_folder = exports.update_digest_emails_enabled = exports.update_datagroup = exports.update_dashboard_layout_component = void 0;
10
- var _sdkRtl = require("@looker/sdk-rtl");
11
- var _constants = require("../constants");
12
- 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); } }
13
- 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); }); }; }
14
- var functionalSdk31 = authSession => {
15
- return (0, _sdkRtl.functionalSdk)(authSession, '3.1', _constants.sdkVersion);
16
- };
17
- exports.functionalSdk31 = functionalSdk31;
18
- var login = function () {
19
- var _ref = _asyncToGenerator(function* (sdk, request, options) {
20
- return sdk.post('/login', {
21
- client_id: request.client_id,
22
- client_secret: request.client_secret
23
- }, null, options);
24
- });
25
- return function login(_x, _x2, _x3) {
26
- return _ref.apply(this, arguments);
27
- };
28
- }();
29
- exports.login = login;
30
- var login_user = function () {
31
- var _ref2 = _asyncToGenerator(function* (sdk, user_id, associative, options) {
32
- return sdk.post("/login/".concat(user_id), {
33
- associative
34
- }, null, options);
35
- });
36
- return function login_user(_x4, _x5, _x6, _x7) {
37
- return _ref2.apply(this, arguments);
38
- };
39
- }();
40
- exports.login_user = login_user;
41
- var logout = function () {
42
- var _ref3 = _asyncToGenerator(function* (sdk, options) {
43
- return sdk.delete('/logout', null, null, options);
44
- });
45
- return function logout(_x8, _x9) {
46
- return _ref3.apply(this, arguments);
47
- };
48
- }();
49
- exports.logout = logout;
50
- var create_sso_embed_url = function () {
51
- var _ref4 = _asyncToGenerator(function* (sdk, body, options) {
52
- return sdk.post('/embed/sso_url', null, body, options);
53
- });
54
- return function create_sso_embed_url(_x10, _x11, _x12) {
55
- return _ref4.apply(this, arguments);
56
- };
57
- }();
58
- exports.create_sso_embed_url = create_sso_embed_url;
59
- var ldap_config = function () {
60
- var _ref5 = _asyncToGenerator(function* (sdk, options) {
61
- return sdk.get('/ldap_config', null, null, options);
62
- });
63
- return function ldap_config(_x13, _x14) {
64
- return _ref5.apply(this, arguments);
65
- };
66
- }();
67
- exports.ldap_config = ldap_config;
68
- var update_ldap_config = function () {
69
- var _ref6 = _asyncToGenerator(function* (sdk, body, options) {
70
- return sdk.patch('/ldap_config', null, body, options);
71
- });
72
- return function update_ldap_config(_x15, _x16, _x17) {
73
- return _ref6.apply(this, arguments);
74
- };
75
- }();
76
- exports.update_ldap_config = update_ldap_config;
77
- var test_ldap_config_connection = function () {
78
- var _ref7 = _asyncToGenerator(function* (sdk, body, options) {
79
- return sdk.put('/ldap_config/test_connection', null, body, options);
80
- });
81
- return function test_ldap_config_connection(_x18, _x19, _x20) {
82
- return _ref7.apply(this, arguments);
83
- };
84
- }();
85
- exports.test_ldap_config_connection = test_ldap_config_connection;
86
- var test_ldap_config_auth = function () {
87
- var _ref8 = _asyncToGenerator(function* (sdk, body, options) {
88
- return sdk.put('/ldap_config/test_auth', null, body, options);
89
- });
90
- return function test_ldap_config_auth(_x21, _x22, _x23) {
91
- return _ref8.apply(this, arguments);
92
- };
93
- }();
94
- exports.test_ldap_config_auth = test_ldap_config_auth;
95
- var test_ldap_config_user_info = function () {
96
- var _ref9 = _asyncToGenerator(function* (sdk, body, options) {
97
- return sdk.put('/ldap_config/test_user_info', null, body, options);
98
- });
99
- return function test_ldap_config_user_info(_x24, _x25, _x26) {
100
- return _ref9.apply(this, arguments);
101
- };
102
- }();
103
- exports.test_ldap_config_user_info = test_ldap_config_user_info;
104
- var test_ldap_config_user_auth = function () {
105
- var _ref10 = _asyncToGenerator(function* (sdk, body, options) {
106
- return sdk.put('/ldap_config/test_user_auth', null, body, options);
107
- });
108
- return function test_ldap_config_user_auth(_x27, _x28, _x29) {
109
- return _ref10.apply(this, arguments);
110
- };
111
- }();
112
- exports.test_ldap_config_user_auth = test_ldap_config_user_auth;
113
- var oidc_config = function () {
114
- var _ref11 = _asyncToGenerator(function* (sdk, options) {
115
- return sdk.get('/oidc_config', null, null, options);
116
- });
117
- return function oidc_config(_x30, _x31) {
118
- return _ref11.apply(this, arguments);
119
- };
120
- }();
121
- exports.oidc_config = oidc_config;
122
- var update_oidc_config = function () {
123
- var _ref12 = _asyncToGenerator(function* (sdk, body, options) {
124
- return sdk.patch('/oidc_config', null, body, options);
125
- });
126
- return function update_oidc_config(_x32, _x33, _x34) {
127
- return _ref12.apply(this, arguments);
128
- };
129
- }();
130
- exports.update_oidc_config = update_oidc_config;
131
- var oidc_test_config = function () {
132
- var _ref13 = _asyncToGenerator(function* (sdk, test_slug, options) {
133
- test_slug = (0, _sdkRtl.encodeParam)(test_slug);
134
- return sdk.get("/oidc_test_configs/".concat(test_slug), null, null, options);
135
- });
136
- return function oidc_test_config(_x35, _x36, _x37) {
137
- return _ref13.apply(this, arguments);
138
- };
139
- }();
140
- exports.oidc_test_config = oidc_test_config;
141
- var delete_oidc_test_config = function () {
142
- var _ref14 = _asyncToGenerator(function* (sdk, test_slug, options) {
143
- test_slug = (0, _sdkRtl.encodeParam)(test_slug);
144
- return sdk.delete("/oidc_test_configs/".concat(test_slug), null, null, options);
145
- });
146
- return function delete_oidc_test_config(_x38, _x39, _x40) {
147
- return _ref14.apply(this, arguments);
148
- };
149
- }();
150
- exports.delete_oidc_test_config = delete_oidc_test_config;
151
- var create_oidc_test_config = function () {
152
- var _ref15 = _asyncToGenerator(function* (sdk, body, options) {
153
- return sdk.post('/oidc_test_configs', null, body, options);
154
- });
155
- return function create_oidc_test_config(_x41, _x42, _x43) {
156
- return _ref15.apply(this, arguments);
157
- };
158
- }();
159
- exports.create_oidc_test_config = create_oidc_test_config;
160
- var password_config = function () {
161
- var _ref16 = _asyncToGenerator(function* (sdk, options) {
162
- return sdk.get('/password_config', null, null, options);
163
- });
164
- return function password_config(_x44, _x45) {
165
- return _ref16.apply(this, arguments);
166
- };
167
- }();
168
- exports.password_config = password_config;
169
- var update_password_config = function () {
170
- var _ref17 = _asyncToGenerator(function* (sdk, body, options) {
171
- return sdk.patch('/password_config', null, body, options);
172
- });
173
- return function update_password_config(_x46, _x47, _x48) {
174
- return _ref17.apply(this, arguments);
175
- };
176
- }();
177
- exports.update_password_config = update_password_config;
178
- var force_password_reset_at_next_login_for_all_users = function () {
179
- var _ref18 = _asyncToGenerator(function* (sdk, options) {
180
- return sdk.put('/password_config/force_password_reset_at_next_login_for_all_users', null, null, options);
181
- });
182
- return function force_password_reset_at_next_login_for_all_users(_x49, _x50) {
183
- return _ref18.apply(this, arguments);
184
- };
185
- }();
186
- exports.force_password_reset_at_next_login_for_all_users = force_password_reset_at_next_login_for_all_users;
187
- var saml_config = function () {
188
- var _ref19 = _asyncToGenerator(function* (sdk, options) {
189
- return sdk.get('/saml_config', null, null, options);
190
- });
191
- return function saml_config(_x51, _x52) {
192
- return _ref19.apply(this, arguments);
193
- };
194
- }();
195
- exports.saml_config = saml_config;
196
- var update_saml_config = function () {
197
- var _ref20 = _asyncToGenerator(function* (sdk, body, options) {
198
- return sdk.patch('/saml_config', null, body, options);
199
- });
200
- return function update_saml_config(_x53, _x54, _x55) {
201
- return _ref20.apply(this, arguments);
202
- };
203
- }();
204
- exports.update_saml_config = update_saml_config;
205
- var saml_test_config = function () {
206
- var _ref21 = _asyncToGenerator(function* (sdk, test_slug, options) {
207
- test_slug = (0, _sdkRtl.encodeParam)(test_slug);
208
- return sdk.get("/saml_test_configs/".concat(test_slug), null, null, options);
209
- });
210
- return function saml_test_config(_x56, _x57, _x58) {
211
- return _ref21.apply(this, arguments);
212
- };
213
- }();
214
- exports.saml_test_config = saml_test_config;
215
- var delete_saml_test_config = function () {
216
- var _ref22 = _asyncToGenerator(function* (sdk, test_slug, options) {
217
- test_slug = (0, _sdkRtl.encodeParam)(test_slug);
218
- return sdk.delete("/saml_test_configs/".concat(test_slug), null, null, options);
219
- });
220
- return function delete_saml_test_config(_x59, _x60, _x61) {
221
- return _ref22.apply(this, arguments);
222
- };
223
- }();
224
- exports.delete_saml_test_config = delete_saml_test_config;
225
- var create_saml_test_config = function () {
226
- var _ref23 = _asyncToGenerator(function* (sdk, body, options) {
227
- return sdk.post('/saml_test_configs', null, body, options);
228
- });
229
- return function create_saml_test_config(_x62, _x63, _x64) {
230
- return _ref23.apply(this, arguments);
231
- };
232
- }();
233
- exports.create_saml_test_config = create_saml_test_config;
234
- var parse_saml_idp_metadata = function () {
235
- var _ref24 = _asyncToGenerator(function* (sdk, body, options) {
236
- return sdk.post('/parse_saml_idp_metadata', null, body, options);
237
- });
238
- return function parse_saml_idp_metadata(_x65, _x66, _x67) {
239
- return _ref24.apply(this, arguments);
240
- };
241
- }();
242
- exports.parse_saml_idp_metadata = parse_saml_idp_metadata;
243
- var fetch_and_parse_saml_idp_metadata = function () {
244
- var _ref25 = _asyncToGenerator(function* (sdk, body, options) {
245
- return sdk.post('/fetch_and_parse_saml_idp_metadata', null, body, options);
246
- });
247
- return function fetch_and_parse_saml_idp_metadata(_x68, _x69, _x70) {
248
- return _ref25.apply(this, arguments);
249
- };
250
- }();
251
- exports.fetch_and_parse_saml_idp_metadata = fetch_and_parse_saml_idp_metadata;
252
- var session_config = function () {
253
- var _ref26 = _asyncToGenerator(function* (sdk, options) {
254
- return sdk.get('/session_config', null, null, options);
255
- });
256
- return function session_config(_x71, _x72) {
257
- return _ref26.apply(this, arguments);
258
- };
259
- }();
260
- exports.session_config = session_config;
261
- var update_session_config = function () {
262
- var _ref27 = _asyncToGenerator(function* (sdk, body, options) {
263
- return sdk.patch('/session_config', null, body, options);
264
- });
265
- return function update_session_config(_x73, _x74, _x75) {
266
- return _ref27.apply(this, arguments);
267
- };
268
- }();
269
- exports.update_session_config = update_session_config;
270
- var all_user_login_lockouts = function () {
271
- var _ref28 = _asyncToGenerator(function* (sdk, fields, options) {
272
- return sdk.get('/user_login_lockouts', {
273
- fields
274
- }, null, options);
275
- });
276
- return function all_user_login_lockouts(_x76, _x77, _x78) {
277
- return _ref28.apply(this, arguments);
278
- };
279
- }();
280
- exports.all_user_login_lockouts = all_user_login_lockouts;
281
- var search_user_login_lockouts = function () {
282
- var _ref29 = _asyncToGenerator(function* (sdk, request, options) {
283
- return sdk.get('/user_login_lockouts/search', {
284
- fields: request.fields,
285
- page: request.page,
286
- per_page: request.per_page,
287
- sorts: request.sorts,
288
- auth_type: request.auth_type,
289
- full_name: request.full_name,
290
- email: request.email,
291
- remote_id: request.remote_id,
292
- filter_or: request.filter_or
293
- }, null, options);
294
- });
295
- return function search_user_login_lockouts(_x79, _x80, _x81) {
296
- return _ref29.apply(this, arguments);
297
- };
298
- }();
299
- exports.search_user_login_lockouts = search_user_login_lockouts;
300
- var delete_user_login_lockout = function () {
301
- var _ref30 = _asyncToGenerator(function* (sdk, key, options) {
302
- key = (0, _sdkRtl.encodeParam)(key);
303
- return sdk.delete("/user_login_lockout/".concat(key), null, null, options);
304
- });
305
- return function delete_user_login_lockout(_x82, _x83, _x84) {
306
- return _ref30.apply(this, arguments);
307
- };
308
- }();
309
- exports.delete_user_login_lockout = delete_user_login_lockout;
310
- var all_color_collections = function () {
311
- var _ref31 = _asyncToGenerator(function* (sdk, fields, options) {
312
- return sdk.get('/color_collections', {
313
- fields
314
- }, null, options);
315
- });
316
- return function all_color_collections(_x85, _x86, _x87) {
317
- return _ref31.apply(this, arguments);
318
- };
319
- }();
320
- exports.all_color_collections = all_color_collections;
321
- var create_color_collection = function () {
322
- var _ref32 = _asyncToGenerator(function* (sdk, body, options) {
323
- return sdk.post('/color_collections', null, body, options);
324
- });
325
- return function create_color_collection(_x88, _x89, _x90) {
326
- return _ref32.apply(this, arguments);
327
- };
328
- }();
329
- exports.create_color_collection = create_color_collection;
330
- var color_collections_custom = function () {
331
- var _ref33 = _asyncToGenerator(function* (sdk, fields, options) {
332
- return sdk.get('/color_collections/custom', {
333
- fields
334
- }, null, options);
335
- });
336
- return function color_collections_custom(_x91, _x92, _x93) {
337
- return _ref33.apply(this, arguments);
338
- };
339
- }();
340
- exports.color_collections_custom = color_collections_custom;
341
- var color_collections_standard = function () {
342
- var _ref34 = _asyncToGenerator(function* (sdk, fields, options) {
343
- return sdk.get('/color_collections/standard', {
344
- fields
345
- }, null, options);
346
- });
347
- return function color_collections_standard(_x94, _x95, _x96) {
348
- return _ref34.apply(this, arguments);
349
- };
350
- }();
351
- exports.color_collections_standard = color_collections_standard;
352
- var default_color_collection = function () {
353
- var _ref35 = _asyncToGenerator(function* (sdk, options) {
354
- return sdk.get('/color_collections/default', null, null, options);
355
- });
356
- return function default_color_collection(_x97, _x98) {
357
- return _ref35.apply(this, arguments);
358
- };
359
- }();
360
- exports.default_color_collection = default_color_collection;
361
- var set_default_color_collection = function () {
362
- var _ref36 = _asyncToGenerator(function* (sdk, collection_id, options) {
363
- return sdk.put('/color_collections/default', {
364
- collection_id
365
- }, null, options);
366
- });
367
- return function set_default_color_collection(_x99, _x100, _x101) {
368
- return _ref36.apply(this, arguments);
369
- };
370
- }();
371
- exports.set_default_color_collection = set_default_color_collection;
372
- var color_collection = function () {
373
- var _ref37 = _asyncToGenerator(function* (sdk, collection_id, fields, options) {
374
- collection_id = (0, _sdkRtl.encodeParam)(collection_id);
375
- return sdk.get("/color_collections/".concat(collection_id), {
376
- fields
377
- }, null, options);
378
- });
379
- return function color_collection(_x102, _x103, _x104, _x105) {
380
- return _ref37.apply(this, arguments);
381
- };
382
- }();
383
- exports.color_collection = color_collection;
384
- var update_color_collection = function () {
385
- var _ref38 = _asyncToGenerator(function* (sdk, collection_id, body, options) {
386
- collection_id = (0, _sdkRtl.encodeParam)(collection_id);
387
- return sdk.patch("/color_collections/".concat(collection_id), null, body, options);
388
- });
389
- return function update_color_collection(_x106, _x107, _x108, _x109) {
390
- return _ref38.apply(this, arguments);
391
- };
392
- }();
393
- exports.update_color_collection = update_color_collection;
394
- var delete_color_collection = function () {
395
- var _ref39 = _asyncToGenerator(function* (sdk, collection_id, options) {
396
- collection_id = (0, _sdkRtl.encodeParam)(collection_id);
397
- return sdk.delete("/color_collections/".concat(collection_id), null, null, options);
398
- });
399
- return function delete_color_collection(_x110, _x111, _x112) {
400
- return _ref39.apply(this, arguments);
401
- };
402
- }();
403
- exports.delete_color_collection = delete_color_collection;
404
- var backup_configuration = function () {
405
- var _ref40 = _asyncToGenerator(function* (sdk, options) {
406
- return sdk.get('/backup_configuration', null, null, options);
407
- });
408
- return function backup_configuration(_x113, _x114) {
409
- return _ref40.apply(this, arguments);
410
- };
411
- }();
412
- exports.backup_configuration = backup_configuration;
413
- var update_backup_configuration = function () {
414
- var _ref41 = _asyncToGenerator(function* (sdk, body, options) {
415
- return sdk.patch('/backup_configuration', null, body, options);
416
- });
417
- return function update_backup_configuration(_x115, _x116, _x117) {
418
- return _ref41.apply(this, arguments);
419
- };
420
- }();
421
- exports.update_backup_configuration = update_backup_configuration;
422
- var cloud_storage_configuration = function () {
423
- var _ref42 = _asyncToGenerator(function* (sdk, options) {
424
- return sdk.get('/cloud_storage', null, null, options);
425
- });
426
- return function cloud_storage_configuration(_x118, _x119) {
427
- return _ref42.apply(this, arguments);
428
- };
429
- }();
430
- exports.cloud_storage_configuration = cloud_storage_configuration;
431
- var update_cloud_storage_configuration = function () {
432
- var _ref43 = _asyncToGenerator(function* (sdk, body, options) {
433
- return sdk.patch('/cloud_storage', null, body, options);
434
- });
435
- return function update_cloud_storage_configuration(_x120, _x121, _x122) {
436
- return _ref43.apply(this, arguments);
437
- };
438
- }();
439
- exports.update_cloud_storage_configuration = update_cloud_storage_configuration;
440
- var custom_welcome_email = function () {
441
- var _ref44 = _asyncToGenerator(function* (sdk, options) {
442
- return sdk.get('/custom_welcome_email', null, null, options);
443
- });
444
- return function custom_welcome_email(_x123, _x124) {
445
- return _ref44.apply(this, arguments);
446
- };
447
- }();
448
- exports.custom_welcome_email = custom_welcome_email;
449
- var update_custom_welcome_email = function () {
450
- var _ref45 = _asyncToGenerator(function* (sdk, body, send_test_welcome_email, options) {
451
- return sdk.patch('/custom_welcome_email', {
452
- send_test_welcome_email
453
- }, body, options);
454
- });
455
- return function update_custom_welcome_email(_x125, _x126, _x127, _x128) {
456
- return _ref45.apply(this, arguments);
457
- };
458
- }();
459
- exports.update_custom_welcome_email = update_custom_welcome_email;
460
- var update_custom_welcome_email_test = function () {
461
- var _ref46 = _asyncToGenerator(function* (sdk, body, options) {
462
- return sdk.put('/custom_welcome_email_test', null, body, options);
463
- });
464
- return function update_custom_welcome_email_test(_x129, _x130, _x131) {
465
- return _ref46.apply(this, arguments);
466
- };
467
- }();
468
- exports.update_custom_welcome_email_test = update_custom_welcome_email_test;
469
- var digest_emails_enabled = function () {
470
- var _ref47 = _asyncToGenerator(function* (sdk, options) {
471
- return sdk.get('/digest_emails_enabled', null, null, options);
472
- });
473
- return function digest_emails_enabled(_x132, _x133) {
474
- return _ref47.apply(this, arguments);
475
- };
476
- }();
477
- exports.digest_emails_enabled = digest_emails_enabled;
478
- var update_digest_emails_enabled = function () {
479
- var _ref48 = _asyncToGenerator(function* (sdk, body, options) {
480
- return sdk.patch('/digest_emails_enabled', null, body, options);
481
- });
482
- return function update_digest_emails_enabled(_x134, _x135, _x136) {
483
- return _ref48.apply(this, arguments);
484
- };
485
- }();
486
- exports.update_digest_emails_enabled = update_digest_emails_enabled;
487
- var create_digest_email_send = function () {
488
- var _ref49 = _asyncToGenerator(function* (sdk, options) {
489
- return sdk.post('/digest_email_send', null, null, options);
490
- });
491
- return function create_digest_email_send(_x137, _x138) {
492
- return _ref49.apply(this, arguments);
493
- };
494
- }();
495
- exports.create_digest_email_send = create_digest_email_send;
496
- var internal_help_resources_content = function () {
497
- var _ref50 = _asyncToGenerator(function* (sdk, options) {
498
- return sdk.get('/internal_help_resources_content', null, null, options);
499
- });
500
- return function internal_help_resources_content(_x139, _x140) {
501
- return _ref50.apply(this, arguments);
502
- };
503
- }();
504
- exports.internal_help_resources_content = internal_help_resources_content;
505
- var update_internal_help_resources_content = function () {
506
- var _ref51 = _asyncToGenerator(function* (sdk, body, options) {
507
- return sdk.patch('/internal_help_resources_content', null, body, options);
508
- });
509
- return function update_internal_help_resources_content(_x141, _x142, _x143) {
510
- return _ref51.apply(this, arguments);
511
- };
512
- }();
513
- exports.update_internal_help_resources_content = update_internal_help_resources_content;
514
- var internal_help_resources = function () {
515
- var _ref52 = _asyncToGenerator(function* (sdk, options) {
516
- return sdk.get('/internal_help_resources_enabled', null, null, options);
517
- });
518
- return function internal_help_resources(_x144, _x145) {
519
- return _ref52.apply(this, arguments);
520
- };
521
- }();
522
- exports.internal_help_resources = internal_help_resources;
523
- var update_internal_help_resources = function () {
524
- var _ref53 = _asyncToGenerator(function* (sdk, body, options) {
525
- return sdk.patch('/internal_help_resources', null, body, options);
526
- });
527
- return function update_internal_help_resources(_x146, _x147, _x148) {
528
- return _ref53.apply(this, arguments);
529
- };
530
- }();
531
- exports.update_internal_help_resources = update_internal_help_resources;
532
- var all_legacy_features = function () {
533
- var _ref54 = _asyncToGenerator(function* (sdk, options) {
534
- return sdk.get('/legacy_features', null, null, options);
535
- });
536
- return function all_legacy_features(_x149, _x150) {
537
- return _ref54.apply(this, arguments);
538
- };
539
- }();
540
- exports.all_legacy_features = all_legacy_features;
541
- var legacy_feature = function () {
542
- var _ref55 = _asyncToGenerator(function* (sdk, legacy_feature_id, options) {
543
- return sdk.get("/legacy_features/".concat(legacy_feature_id), null, null, options);
544
- });
545
- return function legacy_feature(_x151, _x152, _x153) {
546
- return _ref55.apply(this, arguments);
547
- };
548
- }();
549
- exports.legacy_feature = legacy_feature;
550
- var update_legacy_feature = function () {
551
- var _ref56 = _asyncToGenerator(function* (sdk, legacy_feature_id, body, options) {
552
- return sdk.patch("/legacy_features/".concat(legacy_feature_id), null, body, options);
553
- });
554
- return function update_legacy_feature(_x154, _x155, _x156, _x157) {
555
- return _ref56.apply(this, arguments);
556
- };
557
- }();
558
- exports.update_legacy_feature = update_legacy_feature;
559
- var all_locales = function () {
560
- var _ref57 = _asyncToGenerator(function* (sdk, options) {
561
- return sdk.get('/locales', null, null, options);
562
- });
563
- return function all_locales(_x158, _x159) {
564
- return _ref57.apply(this, arguments);
565
- };
566
- }();
567
- exports.all_locales = all_locales;
568
- var set_smtp_settings = function () {
569
- var _ref58 = _asyncToGenerator(function* (sdk, body, options) {
570
- return sdk.post('/smtp_settings', null, body, options);
571
- });
572
- return function set_smtp_settings(_x160, _x161, _x162) {
573
- return _ref58.apply(this, arguments);
574
- };
575
- }();
576
- exports.set_smtp_settings = set_smtp_settings;
577
- var all_timezones = function () {
578
- var _ref59 = _asyncToGenerator(function* (sdk, options) {
579
- return sdk.get('/timezones', null, null, options);
580
- });
581
- return function all_timezones(_x163, _x164) {
582
- return _ref59.apply(this, arguments);
583
- };
584
- }();
585
- exports.all_timezones = all_timezones;
586
- var versions = function () {
587
- var _ref60 = _asyncToGenerator(function* (sdk, fields, options) {
588
- return sdk.get('/versions', {
589
- fields
590
- }, null, options);
591
- });
592
- return function versions(_x165, _x166, _x167) {
593
- return _ref60.apply(this, arguments);
594
- };
595
- }();
596
- exports.versions = versions;
597
- var whitelabel_configuration = function () {
598
- var _ref61 = _asyncToGenerator(function* (sdk, fields, options) {
599
- return sdk.get('/whitelabel_configuration', {
600
- fields
601
- }, null, options);
602
- });
603
- return function whitelabel_configuration(_x168, _x169, _x170) {
604
- return _ref61.apply(this, arguments);
605
- };
606
- }();
607
- exports.whitelabel_configuration = whitelabel_configuration;
608
- var update_whitelabel_configuration = function () {
609
- var _ref62 = _asyncToGenerator(function* (sdk, body, options) {
610
- return sdk.put('/whitelabel_configuration', null, body, options);
611
- });
612
- return function update_whitelabel_configuration(_x171, _x172, _x173) {
613
- return _ref62.apply(this, arguments);
614
- };
615
- }();
616
- exports.update_whitelabel_configuration = update_whitelabel_configuration;
617
- var all_connections = function () {
618
- var _ref63 = _asyncToGenerator(function* (sdk, fields, options) {
619
- return sdk.get('/connections', {
620
- fields
621
- }, null, options);
622
- });
623
- return function all_connections(_x174, _x175, _x176) {
624
- return _ref63.apply(this, arguments);
625
- };
626
- }();
627
- exports.all_connections = all_connections;
628
- var create_connection = function () {
629
- var _ref64 = _asyncToGenerator(function* (sdk, body, options) {
630
- return sdk.post('/connections', null, body, options);
631
- });
632
- return function create_connection(_x177, _x178, _x179) {
633
- return _ref64.apply(this, arguments);
634
- };
635
- }();
636
- exports.create_connection = create_connection;
637
- var connection = function () {
638
- var _ref65 = _asyncToGenerator(function* (sdk, connection_name, fields, options) {
639
- connection_name = (0, _sdkRtl.encodeParam)(connection_name);
640
- return sdk.get("/connections/".concat(connection_name), {
641
- fields
642
- }, null, options);
643
- });
644
- return function connection(_x180, _x181, _x182, _x183) {
645
- return _ref65.apply(this, arguments);
646
- };
647
- }();
648
- exports.connection = connection;
649
- var update_connection = function () {
650
- var _ref66 = _asyncToGenerator(function* (sdk, connection_name, body, options) {
651
- connection_name = (0, _sdkRtl.encodeParam)(connection_name);
652
- return sdk.patch("/connections/".concat(connection_name), null, body, options);
653
- });
654
- return function update_connection(_x184, _x185, _x186, _x187) {
655
- return _ref66.apply(this, arguments);
656
- };
657
- }();
658
- exports.update_connection = update_connection;
659
- var delete_connection = function () {
660
- var _ref67 = _asyncToGenerator(function* (sdk, connection_name, options) {
661
- connection_name = (0, _sdkRtl.encodeParam)(connection_name);
662
- return sdk.delete("/connections/".concat(connection_name), null, null, options);
663
- });
664
- return function delete_connection(_x188, _x189, _x190) {
665
- return _ref67.apply(this, arguments);
666
- };
667
- }();
668
- exports.delete_connection = delete_connection;
669
- var delete_connection_override = function () {
670
- var _ref68 = _asyncToGenerator(function* (sdk, connection_name, override_context, options) {
671
- connection_name = (0, _sdkRtl.encodeParam)(connection_name);
672
- override_context = (0, _sdkRtl.encodeParam)(override_context);
673
- return sdk.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
674
- });
675
- return function delete_connection_override(_x191, _x192, _x193, _x194) {
676
- return _ref68.apply(this, arguments);
677
- };
678
- }();
679
- exports.delete_connection_override = delete_connection_override;
680
- var test_connection = function () {
681
- var _ref69 = _asyncToGenerator(function* (sdk, connection_name, tests, options) {
682
- connection_name = (0, _sdkRtl.encodeParam)(connection_name);
683
- return sdk.put("/connections/".concat(connection_name, "/test"), {
684
- tests
685
- }, null, options);
686
- });
687
- return function test_connection(_x195, _x196, _x197, _x198) {
688
- return _ref69.apply(this, arguments);
689
- };
690
- }();
691
- exports.test_connection = test_connection;
692
- var test_connection_config = function () {
693
- var _ref70 = _asyncToGenerator(function* (sdk, body, tests, options) {
694
- return sdk.put('/connections/test', {
695
- tests
696
- }, body, options);
697
- });
698
- return function test_connection_config(_x199, _x200, _x201, _x202) {
699
- return _ref70.apply(this, arguments);
700
- };
701
- }();
702
- exports.test_connection_config = test_connection_config;
703
- var all_dialect_infos = function () {
704
- var _ref71 = _asyncToGenerator(function* (sdk, fields, options) {
705
- return sdk.get('/dialect_info', {
706
- fields
707
- }, null, options);
708
- });
709
- return function all_dialect_infos(_x203, _x204, _x205) {
710
- return _ref71.apply(this, arguments);
711
- };
712
- }();
713
- exports.all_dialect_infos = all_dialect_infos;
714
- var search_content_favorites = function () {
715
- var _ref72 = _asyncToGenerator(function* (sdk, request, options) {
716
- return sdk.get('/content_favorite/search', {
717
- id: request.id,
718
- user_id: request.user_id,
719
- content_metadata_id: request.content_metadata_id,
720
- dashboard_id: request.dashboard_id,
721
- look_id: request.look_id,
722
- limit: request.limit,
723
- offset: request.offset,
724
- sorts: request.sorts,
725
- fields: request.fields,
726
- filter_or: request.filter_or
727
- }, null, options);
728
- });
729
- return function search_content_favorites(_x206, _x207, _x208) {
730
- return _ref72.apply(this, arguments);
731
- };
732
- }();
733
- exports.search_content_favorites = search_content_favorites;
734
- var content_favorite = function () {
735
- var _ref73 = _asyncToGenerator(function* (sdk, content_favorite_id, fields, options) {
736
- return sdk.get("/content_favorite/".concat(content_favorite_id), {
737
- fields
738
- }, null, options);
739
- });
740
- return function content_favorite(_x209, _x210, _x211, _x212) {
741
- return _ref73.apply(this, arguments);
742
- };
743
- }();
744
- exports.content_favorite = content_favorite;
745
- var delete_content_favorite = function () {
746
- var _ref74 = _asyncToGenerator(function* (sdk, content_favorite_id, options) {
747
- return sdk.delete("/content_favorite/".concat(content_favorite_id), null, null, options);
748
- });
749
- return function delete_content_favorite(_x213, _x214, _x215) {
750
- return _ref74.apply(this, arguments);
751
- };
752
- }();
753
- exports.delete_content_favorite = delete_content_favorite;
754
- var create_content_favorite = function () {
755
- var _ref75 = _asyncToGenerator(function* (sdk, body, options) {
756
- return sdk.post('/content_favorite', null, body, options);
757
- });
758
- return function create_content_favorite(_x216, _x217, _x218) {
759
- return _ref75.apply(this, arguments);
760
- };
761
- }();
762
- exports.create_content_favorite = create_content_favorite;
763
- var all_content_metadatas = function () {
764
- var _ref76 = _asyncToGenerator(function* (sdk, parent_id, fields, options) {
765
- return sdk.get('/content_metadata', {
766
- parent_id,
767
- fields
768
- }, null, options);
769
- });
770
- return function all_content_metadatas(_x219, _x220, _x221, _x222) {
771
- return _ref76.apply(this, arguments);
772
- };
773
- }();
774
- exports.all_content_metadatas = all_content_metadatas;
775
- var content_metadata = function () {
776
- var _ref77 = _asyncToGenerator(function* (sdk, content_metadata_id, fields, options) {
777
- return sdk.get("/content_metadata/".concat(content_metadata_id), {
778
- fields
779
- }, null, options);
780
- });
781
- return function content_metadata(_x223, _x224, _x225, _x226) {
782
- return _ref77.apply(this, arguments);
783
- };
784
- }();
785
- exports.content_metadata = content_metadata;
786
- var update_content_metadata = function () {
787
- var _ref78 = _asyncToGenerator(function* (sdk, content_metadata_id, body, options) {
788
- return sdk.patch("/content_metadata/".concat(content_metadata_id), null, body, options);
789
- });
790
- return function update_content_metadata(_x227, _x228, _x229, _x230) {
791
- return _ref78.apply(this, arguments);
792
- };
793
- }();
794
- exports.update_content_metadata = update_content_metadata;
795
- var all_content_metadata_accesses = function () {
796
- var _ref79 = _asyncToGenerator(function* (sdk, content_metadata_id, fields, options) {
797
- return sdk.get('/content_metadata_access', {
798
- content_metadata_id,
799
- fields
800
- }, null, options);
801
- });
802
- return function all_content_metadata_accesses(_x231, _x232, _x233, _x234) {
803
- return _ref79.apply(this, arguments);
804
- };
805
- }();
806
- exports.all_content_metadata_accesses = all_content_metadata_accesses;
807
- var create_content_metadata_access = function () {
808
- var _ref80 = _asyncToGenerator(function* (sdk, body, send_boards_notification_email, options) {
809
- return sdk.post('/content_metadata_access', {
810
- send_boards_notification_email
811
- }, body, options);
812
- });
813
- return function create_content_metadata_access(_x235, _x236, _x237, _x238) {
814
- return _ref80.apply(this, arguments);
815
- };
816
- }();
817
- exports.create_content_metadata_access = create_content_metadata_access;
818
- var update_content_metadata_access = function () {
819
- var _ref81 = _asyncToGenerator(function* (sdk, content_metadata_access_id, body, options) {
820
- return sdk.put("/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
821
- });
822
- return function update_content_metadata_access(_x239, _x240, _x241, _x242) {
823
- return _ref81.apply(this, arguments);
824
- };
825
- }();
826
- exports.update_content_metadata_access = update_content_metadata_access;
827
- var delete_content_metadata_access = function () {
828
- var _ref82 = _asyncToGenerator(function* (sdk, content_metadata_access_id, options) {
829
- return sdk.delete("/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
830
- });
831
- return function delete_content_metadata_access(_x243, _x244, _x245) {
832
- return _ref82.apply(this, arguments);
833
- };
834
- }();
835
- exports.delete_content_metadata_access = delete_content_metadata_access;
836
- var content_thumbnail = function () {
837
- var _ref83 = _asyncToGenerator(function* (sdk, request, options) {
838
- request.type = (0, _sdkRtl.encodeParam)(request.type);
839
- request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
840
- return sdk.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
841
- reload: request.reload,
842
- theme: request.theme,
843
- format: request.format,
844
- width: request.width,
845
- height: request.height
846
- }, null, options);
847
- });
848
- return function content_thumbnail(_x246, _x247, _x248) {
849
- return _ref83.apply(this, arguments);
850
- };
851
- }();
852
- exports.content_thumbnail = content_thumbnail;
853
- var content_validation = function () {
854
- var _ref84 = _asyncToGenerator(function* (sdk, fields, options) {
855
- return sdk.get('/content_validation', {
856
- fields
857
- }, null, options);
858
- });
859
- return function content_validation(_x249, _x250, _x251) {
860
- return _ref84.apply(this, arguments);
861
- };
862
- }();
863
- exports.content_validation = content_validation;
864
- var search_content_views = function () {
865
- var _ref85 = _asyncToGenerator(function* (sdk, request, options) {
866
- return sdk.get('/content_view/search', {
867
- view_count: request.view_count,
868
- group_id: request.group_id,
869
- look_id: request.look_id,
870
- dashboard_id: request.dashboard_id,
871
- content_metadata_id: request.content_metadata_id,
872
- start_of_week_date: request.start_of_week_date,
873
- all_time: request.all_time,
874
- user_id: request.user_id,
875
- fields: request.fields,
876
- limit: request.limit,
877
- offset: request.offset,
878
- sorts: request.sorts,
879
- filter_or: request.filter_or
880
- }, null, options);
881
- });
882
- return function search_content_views(_x252, _x253, _x254) {
883
- return _ref85.apply(this, arguments);
884
- };
885
- }();
886
- exports.search_content_views = search_content_views;
887
- var vector_thumbnail = function () {
888
- var _ref86 = _asyncToGenerator(function* (sdk, type, resource_id, reload, options) {
889
- type = (0, _sdkRtl.encodeParam)(type);
890
- resource_id = (0, _sdkRtl.encodeParam)(resource_id);
891
- return sdk.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
892
- reload
893
- }, null, options);
894
- });
895
- return function vector_thumbnail(_x255, _x256, _x257, _x258, _x259) {
896
- return _ref86.apply(this, arguments);
897
- };
898
- }();
899
- exports.vector_thumbnail = vector_thumbnail;
900
- var all_dashboards = function () {
901
- var _ref87 = _asyncToGenerator(function* (sdk, fields, options) {
902
- return sdk.get('/dashboards', {
903
- fields
904
- }, null, options);
905
- });
906
- return function all_dashboards(_x260, _x261, _x262) {
907
- return _ref87.apply(this, arguments);
908
- };
909
- }();
910
- exports.all_dashboards = all_dashboards;
911
- var create_dashboard = function () {
912
- var _ref88 = _asyncToGenerator(function* (sdk, body, options) {
913
- return sdk.post('/dashboards', null, body, options);
914
- });
915
- return function create_dashboard(_x263, _x264, _x265) {
916
- return _ref88.apply(this, arguments);
917
- };
918
- }();
919
- exports.create_dashboard = create_dashboard;
920
- var search_dashboards = function () {
921
- var _ref89 = _asyncToGenerator(function* (sdk, request, options) {
922
- return sdk.get('/dashboards/search', {
923
- id: request.id,
924
- slug: request.slug,
925
- title: request.title,
926
- description: request.description,
927
- content_favorite_id: request.content_favorite_id,
928
- space_id: request.space_id,
929
- folder_id: request.folder_id,
930
- deleted: request.deleted,
931
- user_id: request.user_id,
932
- view_count: request.view_count,
933
- content_metadata_id: request.content_metadata_id,
934
- curate: request.curate,
935
- fields: request.fields,
936
- page: request.page,
937
- per_page: request.per_page,
938
- sorts: request.sorts,
939
- filter_or: request.filter_or
940
- }, null, options);
941
- });
942
- return function search_dashboards(_x266, _x267, _x268) {
943
- return _ref89.apply(this, arguments);
944
- };
945
- }();
946
- exports.search_dashboards = search_dashboards;
947
- var import_lookml_dashboard = function () {
948
- var _ref90 = _asyncToGenerator(function* (sdk, lookml_dashboard_id, space_id, body, raw_locale, options) {
949
- lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
950
- space_id = (0, _sdkRtl.encodeParam)(space_id);
951
- return sdk.post("/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
952
- raw_locale
953
- }, body, options);
954
- });
955
- return function import_lookml_dashboard(_x269, _x270, _x271, _x272, _x273, _x274) {
956
- return _ref90.apply(this, arguments);
957
- };
958
- }();
959
- exports.import_lookml_dashboard = import_lookml_dashboard;
960
- var sync_lookml_dashboard = function () {
961
- var _ref91 = _asyncToGenerator(function* (sdk, lookml_dashboard_id, body, raw_locale, options) {
962
- lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
963
- return sdk.patch("/dashboards/".concat(lookml_dashboard_id, "/sync"), {
964
- raw_locale
965
- }, body, options);
966
- });
967
- return function sync_lookml_dashboard(_x275, _x276, _x277, _x278, _x279) {
968
- return _ref91.apply(this, arguments);
969
- };
970
- }();
971
- exports.sync_lookml_dashboard = sync_lookml_dashboard;
972
- var dashboard = function () {
973
- var _ref92 = _asyncToGenerator(function* (sdk, dashboard_id, fields, options) {
974
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
975
- return sdk.get("/dashboards/".concat(dashboard_id), {
976
- fields
977
- }, null, options);
978
- });
979
- return function dashboard(_x280, _x281, _x282, _x283) {
980
- return _ref92.apply(this, arguments);
981
- };
982
- }();
983
- exports.dashboard = dashboard;
984
- var update_dashboard = function () {
985
- var _ref93 = _asyncToGenerator(function* (sdk, dashboard_id, body, options) {
986
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
987
- return sdk.patch("/dashboards/".concat(dashboard_id), null, body, options);
988
- });
989
- return function update_dashboard(_x284, _x285, _x286, _x287) {
990
- return _ref93.apply(this, arguments);
991
- };
992
- }();
993
- exports.update_dashboard = update_dashboard;
994
- var delete_dashboard = function () {
995
- var _ref94 = _asyncToGenerator(function* (sdk, dashboard_id, options) {
996
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
997
- return sdk.delete("/dashboards/".concat(dashboard_id), null, null, options);
998
- });
999
- return function delete_dashboard(_x288, _x289, _x290) {
1000
- return _ref94.apply(this, arguments);
1001
- };
1002
- }();
1003
- exports.delete_dashboard = delete_dashboard;
1004
- var dashboard_aggregate_table_lookml = function () {
1005
- var _ref95 = _asyncToGenerator(function* (sdk, dashboard_id, options) {
1006
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
1007
- return sdk.get("/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
1008
- });
1009
- return function dashboard_aggregate_table_lookml(_x291, _x292, _x293) {
1010
- return _ref95.apply(this, arguments);
1011
- };
1012
- }();
1013
- exports.dashboard_aggregate_table_lookml = dashboard_aggregate_table_lookml;
1014
- var dashboard_lookml = function () {
1015
- var _ref96 = _asyncToGenerator(function* (sdk, dashboard_id, options) {
1016
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
1017
- return sdk.get("/dashboards/lookml/".concat(dashboard_id), null, null, options);
1018
- });
1019
- return function dashboard_lookml(_x294, _x295, _x296) {
1020
- return _ref96.apply(this, arguments);
1021
- };
1022
- }();
1023
- exports.dashboard_lookml = dashboard_lookml;
1024
- var search_dashboard_elements = function () {
1025
- var _ref97 = _asyncToGenerator(function* (sdk, request, options) {
1026
- return sdk.get('/dashboard_elements/search', {
1027
- dashboard_id: request.dashboard_id,
1028
- look_id: request.look_id,
1029
- title: request.title,
1030
- deleted: request.deleted,
1031
- fields: request.fields,
1032
- filter_or: request.filter_or,
1033
- sorts: request.sorts
1034
- }, null, options);
1035
- });
1036
- return function search_dashboard_elements(_x297, _x298, _x299) {
1037
- return _ref97.apply(this, arguments);
1038
- };
1039
- }();
1040
- exports.search_dashboard_elements = search_dashboard_elements;
1041
- var dashboard_element = function () {
1042
- var _ref98 = _asyncToGenerator(function* (sdk, dashboard_element_id, fields, options) {
1043
- dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
1044
- return sdk.get("/dashboard_elements/".concat(dashboard_element_id), {
1045
- fields
1046
- }, null, options);
1047
- });
1048
- return function dashboard_element(_x300, _x301, _x302, _x303) {
1049
- return _ref98.apply(this, arguments);
1050
- };
1051
- }();
1052
- exports.dashboard_element = dashboard_element;
1053
- var update_dashboard_element = function () {
1054
- var _ref99 = _asyncToGenerator(function* (sdk, dashboard_element_id, body, fields, options) {
1055
- dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
1056
- return sdk.patch("/dashboard_elements/".concat(dashboard_element_id), {
1057
- fields
1058
- }, body, options);
1059
- });
1060
- return function update_dashboard_element(_x304, _x305, _x306, _x307, _x308) {
1061
- return _ref99.apply(this, arguments);
1062
- };
1063
- }();
1064
- exports.update_dashboard_element = update_dashboard_element;
1065
- var delete_dashboard_element = function () {
1066
- var _ref100 = _asyncToGenerator(function* (sdk, dashboard_element_id, options) {
1067
- dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
1068
- return sdk.delete("/dashboard_elements/".concat(dashboard_element_id), null, null, options);
1069
- });
1070
- return function delete_dashboard_element(_x309, _x310, _x311) {
1071
- return _ref100.apply(this, arguments);
1072
- };
1073
- }();
1074
- exports.delete_dashboard_element = delete_dashboard_element;
1075
- var dashboard_dashboard_elements = function () {
1076
- var _ref101 = _asyncToGenerator(function* (sdk, dashboard_id, fields, options) {
1077
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
1078
- return sdk.get("/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
1079
- fields
1080
- }, null, options);
1081
- });
1082
- return function dashboard_dashboard_elements(_x312, _x313, _x314, _x315) {
1083
- return _ref101.apply(this, arguments);
1084
- };
1085
- }();
1086
- exports.dashboard_dashboard_elements = dashboard_dashboard_elements;
1087
- var create_dashboard_element = function () {
1088
- var _ref102 = _asyncToGenerator(function* (sdk, request, options) {
1089
- return sdk.post('/dashboard_elements', {
1090
- fields: request.fields,
1091
- apply_filters: request.apply_filters
1092
- }, request.body, options);
1093
- });
1094
- return function create_dashboard_element(_x316, _x317, _x318) {
1095
- return _ref102.apply(this, arguments);
1096
- };
1097
- }();
1098
- exports.create_dashboard_element = create_dashboard_element;
1099
- var dashboard_filter = function () {
1100
- var _ref103 = _asyncToGenerator(function* (sdk, dashboard_filter_id, fields, options) {
1101
- dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
1102
- return sdk.get("/dashboard_filters/".concat(dashboard_filter_id), {
1103
- fields
1104
- }, null, options);
1105
- });
1106
- return function dashboard_filter(_x319, _x320, _x321, _x322) {
1107
- return _ref103.apply(this, arguments);
1108
- };
1109
- }();
1110
- exports.dashboard_filter = dashboard_filter;
1111
- var update_dashboard_filter = function () {
1112
- var _ref104 = _asyncToGenerator(function* (sdk, dashboard_filter_id, body, fields, options) {
1113
- dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
1114
- return sdk.patch("/dashboard_filters/".concat(dashboard_filter_id), {
1115
- fields
1116
- }, body, options);
1117
- });
1118
- return function update_dashboard_filter(_x323, _x324, _x325, _x326, _x327) {
1119
- return _ref104.apply(this, arguments);
1120
- };
1121
- }();
1122
- exports.update_dashboard_filter = update_dashboard_filter;
1123
- var delete_dashboard_filter = function () {
1124
- var _ref105 = _asyncToGenerator(function* (sdk, dashboard_filter_id, options) {
1125
- dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
1126
- return sdk.delete("/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
1127
- });
1128
- return function delete_dashboard_filter(_x328, _x329, _x330) {
1129
- return _ref105.apply(this, arguments);
1130
- };
1131
- }();
1132
- exports.delete_dashboard_filter = delete_dashboard_filter;
1133
- var dashboard_dashboard_filters = function () {
1134
- var _ref106 = _asyncToGenerator(function* (sdk, dashboard_id, fields, options) {
1135
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
1136
- return sdk.get("/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
1137
- fields
1138
- }, null, options);
1139
- });
1140
- return function dashboard_dashboard_filters(_x331, _x332, _x333, _x334) {
1141
- return _ref106.apply(this, arguments);
1142
- };
1143
- }();
1144
- exports.dashboard_dashboard_filters = dashboard_dashboard_filters;
1145
- var create_dashboard_filter = function () {
1146
- var _ref107 = _asyncToGenerator(function* (sdk, body, fields, options) {
1147
- return sdk.post('/dashboard_filters', {
1148
- fields
1149
- }, body, options);
1150
- });
1151
- return function create_dashboard_filter(_x335, _x336, _x337, _x338) {
1152
- return _ref107.apply(this, arguments);
1153
- };
1154
- }();
1155
- exports.create_dashboard_filter = create_dashboard_filter;
1156
- var dashboard_layout_component = function () {
1157
- var _ref108 = _asyncToGenerator(function* (sdk, dashboard_layout_component_id, fields, options) {
1158
- dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
1159
- return sdk.get("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
1160
- fields
1161
- }, null, options);
1162
- });
1163
- return function dashboard_layout_component(_x339, _x340, _x341, _x342) {
1164
- return _ref108.apply(this, arguments);
1165
- };
1166
- }();
1167
- exports.dashboard_layout_component = dashboard_layout_component;
1168
- var update_dashboard_layout_component = function () {
1169
- var _ref109 = _asyncToGenerator(function* (sdk, dashboard_layout_component_id, body, fields, options) {
1170
- dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
1171
- return sdk.patch("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
1172
- fields
1173
- }, body, options);
1174
- });
1175
- return function update_dashboard_layout_component(_x343, _x344, _x345, _x346, _x347) {
1176
- return _ref109.apply(this, arguments);
1177
- };
1178
- }();
1179
- exports.update_dashboard_layout_component = update_dashboard_layout_component;
1180
- var dashboard_layout_dashboard_layout_components = function () {
1181
- var _ref110 = _asyncToGenerator(function* (sdk, dashboard_layout_id, fields, options) {
1182
- dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
1183
- return sdk.get("/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
1184
- fields
1185
- }, null, options);
1186
- });
1187
- return function dashboard_layout_dashboard_layout_components(_x348, _x349, _x350, _x351) {
1188
- return _ref110.apply(this, arguments);
1189
- };
1190
- }();
1191
- exports.dashboard_layout_dashboard_layout_components = dashboard_layout_dashboard_layout_components;
1192
- var dashboard_layout = function () {
1193
- var _ref111 = _asyncToGenerator(function* (sdk, dashboard_layout_id, fields, options) {
1194
- dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
1195
- return sdk.get("/dashboard_layouts/".concat(dashboard_layout_id), {
1196
- fields
1197
- }, null, options);
1198
- });
1199
- return function dashboard_layout(_x352, _x353, _x354, _x355) {
1200
- return _ref111.apply(this, arguments);
1201
- };
1202
- }();
1203
- exports.dashboard_layout = dashboard_layout;
1204
- var update_dashboard_layout = function () {
1205
- var _ref112 = _asyncToGenerator(function* (sdk, dashboard_layout_id, body, fields, options) {
1206
- dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
1207
- return sdk.patch("/dashboard_layouts/".concat(dashboard_layout_id), {
1208
- fields
1209
- }, body, options);
1210
- });
1211
- return function update_dashboard_layout(_x356, _x357, _x358, _x359, _x360) {
1212
- return _ref112.apply(this, arguments);
1213
- };
1214
- }();
1215
- exports.update_dashboard_layout = update_dashboard_layout;
1216
- var delete_dashboard_layout = function () {
1217
- var _ref113 = _asyncToGenerator(function* (sdk, dashboard_layout_id, options) {
1218
- dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
1219
- return sdk.delete("/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
1220
- });
1221
- return function delete_dashboard_layout(_x361, _x362, _x363) {
1222
- return _ref113.apply(this, arguments);
1223
- };
1224
- }();
1225
- exports.delete_dashboard_layout = delete_dashboard_layout;
1226
- var dashboard_dashboard_layouts = function () {
1227
- var _ref114 = _asyncToGenerator(function* (sdk, dashboard_id, fields, options) {
1228
- dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
1229
- return sdk.get("/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
1230
- fields
1231
- }, null, options);
1232
- });
1233
- return function dashboard_dashboard_layouts(_x364, _x365, _x366, _x367) {
1234
- return _ref114.apply(this, arguments);
1235
- };
1236
- }();
1237
- exports.dashboard_dashboard_layouts = dashboard_dashboard_layouts;
1238
- var create_dashboard_layout = function () {
1239
- var _ref115 = _asyncToGenerator(function* (sdk, body, fields, options) {
1240
- return sdk.post('/dashboard_layouts', {
1241
- fields
1242
- }, body, options);
1243
- });
1244
- return function create_dashboard_layout(_x368, _x369, _x370, _x371) {
1245
- return _ref115.apply(this, arguments);
1246
- };
1247
- }();
1248
- exports.create_dashboard_layout = create_dashboard_layout;
1249
- var perform_data_action = function () {
1250
- var _ref116 = _asyncToGenerator(function* (sdk, body, options) {
1251
- return sdk.post('/data_actions', null, body, options);
1252
- });
1253
- return function perform_data_action(_x372, _x373, _x374) {
1254
- return _ref116.apply(this, arguments);
1255
- };
1256
- }();
1257
- exports.perform_data_action = perform_data_action;
1258
- var fetch_remote_data_action_form = function () {
1259
- var _ref117 = _asyncToGenerator(function* (sdk, body, options) {
1260
- return sdk.post('/data_actions/form', null, body, options);
1261
- });
1262
- return function fetch_remote_data_action_form(_x375, _x376, _x377) {
1263
- return _ref117.apply(this, arguments);
1264
- };
1265
- }();
1266
- exports.fetch_remote_data_action_form = fetch_remote_data_action_form;
1267
- var all_datagroups = function () {
1268
- var _ref118 = _asyncToGenerator(function* (sdk, options) {
1269
- return sdk.get('/datagroups', null, null, options);
1270
- });
1271
- return function all_datagroups(_x378, _x379) {
1272
- return _ref118.apply(this, arguments);
1273
- };
1274
- }();
1275
- exports.all_datagroups = all_datagroups;
1276
- var datagroup = function () {
1277
- var _ref119 = _asyncToGenerator(function* (sdk, datagroup_id, options) {
1278
- datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
1279
- return sdk.get("/datagroups/".concat(datagroup_id), null, null, options);
1280
- });
1281
- return function datagroup(_x380, _x381, _x382) {
1282
- return _ref119.apply(this, arguments);
1283
- };
1284
- }();
1285
- exports.datagroup = datagroup;
1286
- var update_datagroup = function () {
1287
- var _ref120 = _asyncToGenerator(function* (sdk, datagroup_id, body, options) {
1288
- datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
1289
- return sdk.patch("/datagroups/".concat(datagroup_id), null, body, options);
1290
- });
1291
- return function update_datagroup(_x383, _x384, _x385, _x386) {
1292
- return _ref120.apply(this, arguments);
1293
- };
1294
- }();
1295
- exports.update_datagroup = update_datagroup;
1296
- var graph_derived_tables_for_model = function () {
1297
- var _ref121 = _asyncToGenerator(function* (sdk, request, options) {
1298
- request.model = (0, _sdkRtl.encodeParam)(request.model);
1299
- return sdk.get("/derived_table/graph/model/".concat(request.model), {
1300
- format: request.format,
1301
- color: request.color
1302
- }, null, options);
1303
- });
1304
- return function graph_derived_tables_for_model(_x387, _x388, _x389) {
1305
- return _ref121.apply(this, arguments);
1306
- };
1307
- }();
1308
- exports.graph_derived_tables_for_model = graph_derived_tables_for_model;
1309
- var graph_derived_tables_for_view = function () {
1310
- var _ref122 = _asyncToGenerator(function* (sdk, request, options) {
1311
- request.view = (0, _sdkRtl.encodeParam)(request.view);
1312
- return sdk.get("/derived_table/graph/view/".concat(request.view), {
1313
- models: request.models,
1314
- workspace: request.workspace
1315
- }, null, options);
1316
- });
1317
- return function graph_derived_tables_for_view(_x390, _x391, _x392) {
1318
- return _ref122.apply(this, arguments);
1319
- };
1320
- }();
1321
- exports.graph_derived_tables_for_view = graph_derived_tables_for_view;
1322
- var start_pdt_build = function () {
1323
- var _ref123 = _asyncToGenerator(function* (sdk, request, options) {
1324
- request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
1325
- request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
1326
- return sdk.get("/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
1327
- force_rebuild: request.force_rebuild,
1328
- force_full_incremental: request.force_full_incremental,
1329
- workspace: request.workspace,
1330
- source: request.source
1331
- }, null, options);
1332
- });
1333
- return function start_pdt_build(_x393, _x394, _x395) {
1334
- return _ref123.apply(this, arguments);
1335
- };
1336
- }();
1337
- exports.start_pdt_build = start_pdt_build;
1338
- var check_pdt_build = function () {
1339
- var _ref124 = _asyncToGenerator(function* (sdk, materialization_id, options) {
1340
- materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
1341
- return sdk.get("/derived_table/".concat(materialization_id, "/status"), null, null, options);
1342
- });
1343
- return function check_pdt_build(_x396, _x397, _x398) {
1344
- return _ref124.apply(this, arguments);
1345
- };
1346
- }();
1347
- exports.check_pdt_build = check_pdt_build;
1348
- var stop_pdt_build = function () {
1349
- var _ref125 = _asyncToGenerator(function* (sdk, materialization_id, source, options) {
1350
- materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
1351
- return sdk.get("/derived_table/".concat(materialization_id, "/stop"), {
1352
- source
1353
- }, null, options);
1354
- });
1355
- return function stop_pdt_build(_x399, _x400, _x401, _x402) {
1356
- return _ref125.apply(this, arguments);
1357
- };
1358
- }();
1359
- exports.stop_pdt_build = stop_pdt_build;
1360
- var search_folders = function () {
1361
- var _ref126 = _asyncToGenerator(function* (sdk, request, options) {
1362
- return sdk.get('/folders/search', {
1363
- fields: request.fields,
1364
- page: request.page,
1365
- per_page: request.per_page,
1366
- limit: request.limit,
1367
- offset: request.offset,
1368
- sorts: request.sorts,
1369
- name: request.name,
1370
- id: request.id,
1371
- parent_id: request.parent_id,
1372
- creator_id: request.creator_id,
1373
- filter_or: request.filter_or,
1374
- is_shared_root: request.is_shared_root,
1375
- is_users_root: request.is_users_root
1376
- }, null, options);
1377
- });
1378
- return function search_folders(_x403, _x404, _x405) {
1379
- return _ref126.apply(this, arguments);
1380
- };
1381
- }();
1382
- exports.search_folders = search_folders;
1383
- var folder = function () {
1384
- var _ref127 = _asyncToGenerator(function* (sdk, folder_id, fields, options) {
1385
- folder_id = (0, _sdkRtl.encodeParam)(folder_id);
1386
- return sdk.get("/folders/".concat(folder_id), {
1387
- fields
1388
- }, null, options);
1389
- });
1390
- return function folder(_x406, _x407, _x408, _x409) {
1391
- return _ref127.apply(this, arguments);
1392
- };
1393
- }();
1394
- exports.folder = folder;
1395
- var update_folder = function () {
1396
- var _ref128 = _asyncToGenerator(function* (sdk, folder_id, body, options) {
1397
- folder_id = (0, _sdkRtl.encodeParam)(folder_id);
1398
- return sdk.patch("/folders/".concat(folder_id), null, body, options);
1399
- });
1400
- return function update_folder(_x410, _x411, _x412, _x413) {
1401
- return _ref128.apply(this, arguments);
1402
- };
1403
- }();
1404
- exports.update_folder = update_folder;
1405
- var delete_folder = function () {
1406
- var _ref129 = _asyncToGenerator(function* (sdk, folder_id, options) {
1407
- folder_id = (0, _sdkRtl.encodeParam)(folder_id);
1408
- return sdk.delete("/folders/".concat(folder_id), null, null, options);
1409
- });
1410
- return function delete_folder(_x414, _x415, _x416) {
1411
- return _ref129.apply(this, arguments);
1412
- };
1413
- }();
1414
- exports.delete_folder = delete_folder;
1415
- var all_folders = function () {
1416
- var _ref130 = _asyncToGenerator(function* (sdk, fields, options) {
1417
- return sdk.get('/folders', {
1418
- fields
1419
- }, null, options);
1420
- });
1421
- return function all_folders(_x417, _x418, _x419) {
1422
- return _ref130.apply(this, arguments);
1423
- };
1424
- }();
1425
- exports.all_folders = all_folders;
1426
- var create_folder = function () {
1427
- var _ref131 = _asyncToGenerator(function* (sdk, body, options) {
1428
- return sdk.post('/folders', null, body, options);
1429
- });
1430
- return function create_folder(_x420, _x421, _x422) {
1431
- return _ref131.apply(this, arguments);
1432
- };
1433
- }();
1434
- exports.create_folder = create_folder;
1435
- var folder_children = function () {
1436
- var _ref132 = _asyncToGenerator(function* (sdk, request, options) {
1437
- request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
1438
- return sdk.get("/folders/".concat(request.folder_id, "/children"), {
1439
- fields: request.fields,
1440
- page: request.page,
1441
- per_page: request.per_page,
1442
- sorts: request.sorts
1443
- }, null, options);
1444
- });
1445
- return function folder_children(_x423, _x424, _x425) {
1446
- return _ref132.apply(this, arguments);
1447
- };
1448
- }();
1449
- exports.folder_children = folder_children;
1450
- var folder_children_search = function () {
1451
- var _ref133 = _asyncToGenerator(function* (sdk, request, options) {
1452
- request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
1453
- return sdk.get("/folders/".concat(request.folder_id, "/children/search"), {
1454
- fields: request.fields,
1455
- sorts: request.sorts,
1456
- name: request.name
1457
- }, null, options);
1458
- });
1459
- return function folder_children_search(_x426, _x427, _x428) {
1460
- return _ref133.apply(this, arguments);
1461
- };
1462
- }();
1463
- exports.folder_children_search = folder_children_search;
1464
- var folder_parent = function () {
1465
- var _ref134 = _asyncToGenerator(function* (sdk, folder_id, fields, options) {
1466
- folder_id = (0, _sdkRtl.encodeParam)(folder_id);
1467
- return sdk.get("/folders/".concat(folder_id, "/parent"), {
1468
- fields
1469
- }, null, options);
1470
- });
1471
- return function folder_parent(_x429, _x430, _x431, _x432) {
1472
- return _ref134.apply(this, arguments);
1473
- };
1474
- }();
1475
- exports.folder_parent = folder_parent;
1476
- var folder_ancestors = function () {
1477
- var _ref135 = _asyncToGenerator(function* (sdk, folder_id, fields, options) {
1478
- folder_id = (0, _sdkRtl.encodeParam)(folder_id);
1479
- return sdk.get("/folders/".concat(folder_id, "/ancestors"), {
1480
- fields
1481
- }, null, options);
1482
- });
1483
- return function folder_ancestors(_x433, _x434, _x435, _x436) {
1484
- return _ref135.apply(this, arguments);
1485
- };
1486
- }();
1487
- exports.folder_ancestors = folder_ancestors;
1488
- var folder_looks = function () {
1489
- var _ref136 = _asyncToGenerator(function* (sdk, folder_id, fields, options) {
1490
- folder_id = (0, _sdkRtl.encodeParam)(folder_id);
1491
- return sdk.get("/folders/".concat(folder_id, "/looks"), {
1492
- fields
1493
- }, null, options);
1494
- });
1495
- return function folder_looks(_x437, _x438, _x439, _x440) {
1496
- return _ref136.apply(this, arguments);
1497
- };
1498
- }();
1499
- exports.folder_looks = folder_looks;
1500
- var folder_dashboards = function () {
1501
- var _ref137 = _asyncToGenerator(function* (sdk, folder_id, fields, options) {
1502
- folder_id = (0, _sdkRtl.encodeParam)(folder_id);
1503
- return sdk.get("/folders/".concat(folder_id, "/dashboards"), {
1504
- fields
1505
- }, null, options);
1506
- });
1507
- return function folder_dashboards(_x441, _x442, _x443, _x444) {
1508
- return _ref137.apply(this, arguments);
1509
- };
1510
- }();
1511
- exports.folder_dashboards = folder_dashboards;
1512
- var all_groups = function () {
1513
- var _ref138 = _asyncToGenerator(function* (sdk, request, options) {
1514
- return sdk.get('/groups', {
1515
- fields: request.fields,
1516
- page: request.page,
1517
- per_page: request.per_page,
1518
- sorts: request.sorts,
1519
- ids: request.ids,
1520
- content_metadata_id: request.content_metadata_id,
1521
- can_add_to_content_metadata: request.can_add_to_content_metadata
1522
- }, null, options);
1523
- });
1524
- return function all_groups(_x445, _x446, _x447) {
1525
- return _ref138.apply(this, arguments);
1526
- };
1527
- }();
1528
- exports.all_groups = all_groups;
1529
- var create_group = function () {
1530
- var _ref139 = _asyncToGenerator(function* (sdk, body, fields, options) {
1531
- return sdk.post('/groups', {
1532
- fields
1533
- }, body, options);
1534
- });
1535
- return function create_group(_x448, _x449, _x450, _x451) {
1536
- return _ref139.apply(this, arguments);
1537
- };
1538
- }();
1539
- exports.create_group = create_group;
1540
- var search_groups = function () {
1541
- var _ref140 = _asyncToGenerator(function* (sdk, request, options) {
1542
- return sdk.get('/groups/search', {
1543
- fields: request.fields,
1544
- limit: request.limit,
1545
- offset: request.offset,
1546
- sorts: request.sorts,
1547
- filter_or: request.filter_or,
1548
- id: request.id,
1549
- name: request.name,
1550
- external_group_id: request.external_group_id,
1551
- externally_managed: request.externally_managed,
1552
- externally_orphaned: request.externally_orphaned
1553
- }, null, options);
1554
- });
1555
- return function search_groups(_x452, _x453, _x454) {
1556
- return _ref140.apply(this, arguments);
1557
- };
1558
- }();
1559
- exports.search_groups = search_groups;
1560
- var group = function () {
1561
- var _ref141 = _asyncToGenerator(function* (sdk, group_id, fields, options) {
1562
- return sdk.get("/groups/".concat(group_id), {
1563
- fields
1564
- }, null, options);
1565
- });
1566
- return function group(_x455, _x456, _x457, _x458) {
1567
- return _ref141.apply(this, arguments);
1568
- };
1569
- }();
1570
- exports.group = group;
1571
- var update_group = function () {
1572
- var _ref142 = _asyncToGenerator(function* (sdk, group_id, body, fields, options) {
1573
- return sdk.patch("/groups/".concat(group_id), {
1574
- fields
1575
- }, body, options);
1576
- });
1577
- return function update_group(_x459, _x460, _x461, _x462, _x463) {
1578
- return _ref142.apply(this, arguments);
1579
- };
1580
- }();
1581
- exports.update_group = update_group;
1582
- var delete_group = function () {
1583
- var _ref143 = _asyncToGenerator(function* (sdk, group_id, options) {
1584
- return sdk.delete("/groups/".concat(group_id), null, null, options);
1585
- });
1586
- return function delete_group(_x464, _x465, _x466) {
1587
- return _ref143.apply(this, arguments);
1588
- };
1589
- }();
1590
- exports.delete_group = delete_group;
1591
- var all_group_groups = function () {
1592
- var _ref144 = _asyncToGenerator(function* (sdk, group_id, fields, options) {
1593
- return sdk.get("/groups/".concat(group_id, "/groups"), {
1594
- fields
1595
- }, null, options);
1596
- });
1597
- return function all_group_groups(_x467, _x468, _x469, _x470) {
1598
- return _ref144.apply(this, arguments);
1599
- };
1600
- }();
1601
- exports.all_group_groups = all_group_groups;
1602
- var add_group_group = function () {
1603
- var _ref145 = _asyncToGenerator(function* (sdk, group_id, body, options) {
1604
- return sdk.post("/groups/".concat(group_id, "/groups"), null, body, options);
1605
- });
1606
- return function add_group_group(_x471, _x472, _x473, _x474) {
1607
- return _ref145.apply(this, arguments);
1608
- };
1609
- }();
1610
- exports.add_group_group = add_group_group;
1611
- var all_group_users = function () {
1612
- var _ref146 = _asyncToGenerator(function* (sdk, request, options) {
1613
- return sdk.get("/groups/".concat(request.group_id, "/users"), {
1614
- fields: request.fields,
1615
- page: request.page,
1616
- per_page: request.per_page,
1617
- sorts: request.sorts
1618
- }, null, options);
1619
- });
1620
- return function all_group_users(_x475, _x476, _x477) {
1621
- return _ref146.apply(this, arguments);
1622
- };
1623
- }();
1624
- exports.all_group_users = all_group_users;
1625
- var add_group_user = function () {
1626
- var _ref147 = _asyncToGenerator(function* (sdk, group_id, body, options) {
1627
- return sdk.post("/groups/".concat(group_id, "/users"), null, body, options);
1628
- });
1629
- return function add_group_user(_x478, _x479, _x480, _x481) {
1630
- return _ref147.apply(this, arguments);
1631
- };
1632
- }();
1633
- exports.add_group_user = add_group_user;
1634
- var delete_group_user = function () {
1635
- var _ref148 = _asyncToGenerator(function* (sdk, group_id, user_id, options) {
1636
- return sdk.delete("/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
1637
- });
1638
- return function delete_group_user(_x482, _x483, _x484, _x485) {
1639
- return _ref148.apply(this, arguments);
1640
- };
1641
- }();
1642
- exports.delete_group_user = delete_group_user;
1643
- var delete_group_from_group = function () {
1644
- var _ref149 = _asyncToGenerator(function* (sdk, group_id, deleting_group_id, options) {
1645
- return sdk.delete("/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
1646
- });
1647
- return function delete_group_from_group(_x486, _x487, _x488, _x489) {
1648
- return _ref149.apply(this, arguments);
1649
- };
1650
- }();
1651
- exports.delete_group_from_group = delete_group_from_group;
1652
- var update_user_attribute_group_value = function () {
1653
- var _ref150 = _asyncToGenerator(function* (sdk, group_id, user_attribute_id, body, options) {
1654
- return sdk.patch("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
1655
- });
1656
- return function update_user_attribute_group_value(_x490, _x491, _x492, _x493, _x494) {
1657
- return _ref150.apply(this, arguments);
1658
- };
1659
- }();
1660
- exports.update_user_attribute_group_value = update_user_attribute_group_value;
1661
- var delete_user_attribute_group_value = function () {
1662
- var _ref151 = _asyncToGenerator(function* (sdk, group_id, user_attribute_id, options) {
1663
- return sdk.delete("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
1664
- });
1665
- return function delete_user_attribute_group_value(_x495, _x496, _x497, _x498) {
1666
- return _ref151.apply(this, arguments);
1667
- };
1668
- }();
1669
- exports.delete_user_attribute_group_value = delete_user_attribute_group_value;
1670
- var all_homepages = function () {
1671
- var _ref152 = _asyncToGenerator(function* (sdk, fields, options) {
1672
- return sdk.get('/homepages', {
1673
- fields
1674
- }, null, options);
1675
- });
1676
- return function all_homepages(_x499, _x500, _x501) {
1677
- return _ref152.apply(this, arguments);
1678
- };
1679
- }();
1680
- exports.all_homepages = all_homepages;
1681
- var create_homepage = function () {
1682
- var _ref153 = _asyncToGenerator(function* (sdk, body, fields, options) {
1683
- return sdk.post('/homepages', {
1684
- fields
1685
- }, body, options);
1686
- });
1687
- return function create_homepage(_x502, _x503, _x504, _x505) {
1688
- return _ref153.apply(this, arguments);
1689
- };
1690
- }();
1691
- exports.create_homepage = create_homepage;
1692
- var search_homepages = function () {
1693
- var _ref154 = _asyncToGenerator(function* (sdk, request, options) {
1694
- return sdk.get('/homepages/search', {
1695
- title: request.title,
1696
- created_at: request.created_at,
1697
- first_name: request.first_name,
1698
- last_name: request.last_name,
1699
- fields: request.fields,
1700
- favorited: request.favorited,
1701
- creator_id: request.creator_id,
1702
- page: request.page,
1703
- per_page: request.per_page,
1704
- offset: request.offset,
1705
- limit: request.limit,
1706
- sorts: request.sorts,
1707
- filter_or: request.filter_or
1708
- }, null, options);
1709
- });
1710
- return function search_homepages(_x506, _x507, _x508) {
1711
- return _ref154.apply(this, arguments);
1712
- };
1713
- }();
1714
- exports.search_homepages = search_homepages;
1715
- var homepage = function () {
1716
- var _ref155 = _asyncToGenerator(function* (sdk, homepage_id, fields, options) {
1717
- return sdk.get("/homepages/".concat(homepage_id), {
1718
- fields
1719
- }, null, options);
1720
- });
1721
- return function homepage(_x509, _x510, _x511, _x512) {
1722
- return _ref155.apply(this, arguments);
1723
- };
1724
- }();
1725
- exports.homepage = homepage;
1726
- var update_homepage = function () {
1727
- var _ref156 = _asyncToGenerator(function* (sdk, homepage_id, body, fields, options) {
1728
- return sdk.patch("/homepages/".concat(homepage_id), {
1729
- fields
1730
- }, body, options);
1731
- });
1732
- return function update_homepage(_x513, _x514, _x515, _x516, _x517) {
1733
- return _ref156.apply(this, arguments);
1734
- };
1735
- }();
1736
- exports.update_homepage = update_homepage;
1737
- var delete_homepage = function () {
1738
- var _ref157 = _asyncToGenerator(function* (sdk, homepage_id, options) {
1739
- return sdk.delete("/homepages/".concat(homepage_id), null, null, options);
1740
- });
1741
- return function delete_homepage(_x518, _x519, _x520) {
1742
- return _ref157.apply(this, arguments);
1743
- };
1744
- }();
1745
- exports.delete_homepage = delete_homepage;
1746
- var all_homepage_items = function () {
1747
- var _ref158 = _asyncToGenerator(function* (sdk, request, options) {
1748
- return sdk.get('/homepage_items', {
1749
- fields: request.fields,
1750
- sorts: request.sorts,
1751
- homepage_section_id: request.homepage_section_id
1752
- }, null, options);
1753
- });
1754
- return function all_homepage_items(_x521, _x522, _x523) {
1755
- return _ref158.apply(this, arguments);
1756
- };
1757
- }();
1758
- exports.all_homepage_items = all_homepage_items;
1759
- var create_homepage_item = function () {
1760
- var _ref159 = _asyncToGenerator(function* (sdk, body, fields, options) {
1761
- return sdk.post('/homepage_items', {
1762
- fields
1763
- }, body, options);
1764
- });
1765
- return function create_homepage_item(_x524, _x525, _x526, _x527) {
1766
- return _ref159.apply(this, arguments);
1767
- };
1768
- }();
1769
- exports.create_homepage_item = create_homepage_item;
1770
- var homepage_item = function () {
1771
- var _ref160 = _asyncToGenerator(function* (sdk, homepage_item_id, fields, options) {
1772
- return sdk.get("/homepage_items/".concat(homepage_item_id), {
1773
- fields
1774
- }, null, options);
1775
- });
1776
- return function homepage_item(_x528, _x529, _x530, _x531) {
1777
- return _ref160.apply(this, arguments);
1778
- };
1779
- }();
1780
- exports.homepage_item = homepage_item;
1781
- var update_homepage_item = function () {
1782
- var _ref161 = _asyncToGenerator(function* (sdk, homepage_item_id, body, fields, options) {
1783
- return sdk.patch("/homepage_items/".concat(homepage_item_id), {
1784
- fields
1785
- }, body, options);
1786
- });
1787
- return function update_homepage_item(_x532, _x533, _x534, _x535, _x536) {
1788
- return _ref161.apply(this, arguments);
1789
- };
1790
- }();
1791
- exports.update_homepage_item = update_homepage_item;
1792
- var delete_homepage_item = function () {
1793
- var _ref162 = _asyncToGenerator(function* (sdk, homepage_item_id, options) {
1794
- return sdk.delete("/homepage_items/".concat(homepage_item_id), null, null, options);
1795
- });
1796
- return function delete_homepage_item(_x537, _x538, _x539) {
1797
- return _ref162.apply(this, arguments);
1798
- };
1799
- }();
1800
- exports.delete_homepage_item = delete_homepage_item;
1801
- var all_homepage_sections = function () {
1802
- var _ref163 = _asyncToGenerator(function* (sdk, request, options) {
1803
- return sdk.get('/homepage_sections', {
1804
- fields: request.fields,
1805
- sorts: request.sorts
1806
- }, null, options);
1807
- });
1808
- return function all_homepage_sections(_x540, _x541, _x542) {
1809
- return _ref163.apply(this, arguments);
1810
- };
1811
- }();
1812
- exports.all_homepage_sections = all_homepage_sections;
1813
- var create_homepage_section = function () {
1814
- var _ref164 = _asyncToGenerator(function* (sdk, body, fields, options) {
1815
- return sdk.post('/homepage_sections', {
1816
- fields
1817
- }, body, options);
1818
- });
1819
- return function create_homepage_section(_x543, _x544, _x545, _x546) {
1820
- return _ref164.apply(this, arguments);
1821
- };
1822
- }();
1823
- exports.create_homepage_section = create_homepage_section;
1824
- var homepage_section = function () {
1825
- var _ref165 = _asyncToGenerator(function* (sdk, homepage_section_id, fields, options) {
1826
- return sdk.get("/homepage_sections/".concat(homepage_section_id), {
1827
- fields
1828
- }, null, options);
1829
- });
1830
- return function homepage_section(_x547, _x548, _x549, _x550) {
1831
- return _ref165.apply(this, arguments);
1832
- };
1833
- }();
1834
- exports.homepage_section = homepage_section;
1835
- var update_homepage_section = function () {
1836
- var _ref166 = _asyncToGenerator(function* (sdk, homepage_section_id, body, fields, options) {
1837
- return sdk.patch("/homepage_sections/".concat(homepage_section_id), {
1838
- fields
1839
- }, body, options);
1840
- });
1841
- return function update_homepage_section(_x551, _x552, _x553, _x554, _x555) {
1842
- return _ref166.apply(this, arguments);
1843
- };
1844
- }();
1845
- exports.update_homepage_section = update_homepage_section;
1846
- var delete_homepage_section = function () {
1847
- var _ref167 = _asyncToGenerator(function* (sdk, homepage_section_id, options) {
1848
- return sdk.delete("/homepage_sections/".concat(homepage_section_id), null, null, options);
1849
- });
1850
- return function delete_homepage_section(_x556, _x557, _x558) {
1851
- return _ref167.apply(this, arguments);
1852
- };
1853
- }();
1854
- exports.delete_homepage_section = delete_homepage_section;
1855
- var all_primary_homepage_sections = function () {
1856
- var _ref168 = _asyncToGenerator(function* (sdk, fields, options) {
1857
- return sdk.get('/primary_homepage_sections', {
1858
- fields
1859
- }, null, options);
1860
- });
1861
- return function all_primary_homepage_sections(_x559, _x560, _x561) {
1862
- return _ref168.apply(this, arguments);
1863
- };
1864
- }();
1865
- exports.all_primary_homepage_sections = all_primary_homepage_sections;
1866
- var all_integration_hubs = function () {
1867
- var _ref169 = _asyncToGenerator(function* (sdk, fields, options) {
1868
- return sdk.get('/integration_hubs', {
1869
- fields
1870
- }, null, options);
1871
- });
1872
- return function all_integration_hubs(_x562, _x563, _x564) {
1873
- return _ref169.apply(this, arguments);
1874
- };
1875
- }();
1876
- exports.all_integration_hubs = all_integration_hubs;
1877
- var create_integration_hub = function () {
1878
- var _ref170 = _asyncToGenerator(function* (sdk, body, fields, options) {
1879
- return sdk.post('/integration_hubs', {
1880
- fields
1881
- }, body, options);
1882
- });
1883
- return function create_integration_hub(_x565, _x566, _x567, _x568) {
1884
- return _ref170.apply(this, arguments);
1885
- };
1886
- }();
1887
- exports.create_integration_hub = create_integration_hub;
1888
- var integration_hub = function () {
1889
- var _ref171 = _asyncToGenerator(function* (sdk, integration_hub_id, fields, options) {
1890
- return sdk.get("/integration_hubs/".concat(integration_hub_id), {
1891
- fields
1892
- }, null, options);
1893
- });
1894
- return function integration_hub(_x569, _x570, _x571, _x572) {
1895
- return _ref171.apply(this, arguments);
1896
- };
1897
- }();
1898
- exports.integration_hub = integration_hub;
1899
- var update_integration_hub = function () {
1900
- var _ref172 = _asyncToGenerator(function* (sdk, integration_hub_id, body, fields, options) {
1901
- return sdk.patch("/integration_hubs/".concat(integration_hub_id), {
1902
- fields
1903
- }, body, options);
1904
- });
1905
- return function update_integration_hub(_x573, _x574, _x575, _x576, _x577) {
1906
- return _ref172.apply(this, arguments);
1907
- };
1908
- }();
1909
- exports.update_integration_hub = update_integration_hub;
1910
- var delete_integration_hub = function () {
1911
- var _ref173 = _asyncToGenerator(function* (sdk, integration_hub_id, options) {
1912
- return sdk.delete("/integration_hubs/".concat(integration_hub_id), null, null, options);
1913
- });
1914
- return function delete_integration_hub(_x578, _x579, _x580) {
1915
- return _ref173.apply(this, arguments);
1916
- };
1917
- }();
1918
- exports.delete_integration_hub = delete_integration_hub;
1919
- var accept_integration_hub_legal_agreement = function () {
1920
- var _ref174 = _asyncToGenerator(function* (sdk, integration_hub_id, options) {
1921
- return sdk.post("/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
1922
- });
1923
- return function accept_integration_hub_legal_agreement(_x581, _x582, _x583) {
1924
- return _ref174.apply(this, arguments);
1925
- };
1926
- }();
1927
- exports.accept_integration_hub_legal_agreement = accept_integration_hub_legal_agreement;
1928
- var all_integrations = function () {
1929
- var _ref175 = _asyncToGenerator(function* (sdk, request, options) {
1930
- return sdk.get('/integrations', {
1931
- fields: request.fields,
1932
- integration_hub_id: request.integration_hub_id
1933
- }, null, options);
1934
- });
1935
- return function all_integrations(_x584, _x585, _x586) {
1936
- return _ref175.apply(this, arguments);
1937
- };
1938
- }();
1939
- exports.all_integrations = all_integrations;
1940
- var integration = function () {
1941
- var _ref176 = _asyncToGenerator(function* (sdk, integration_id, fields, options) {
1942
- integration_id = (0, _sdkRtl.encodeParam)(integration_id);
1943
- return sdk.get("/integrations/".concat(integration_id), {
1944
- fields
1945
- }, null, options);
1946
- });
1947
- return function integration(_x587, _x588, _x589, _x590) {
1948
- return _ref176.apply(this, arguments);
1949
- };
1950
- }();
1951
- exports.integration = integration;
1952
- var update_integration = function () {
1953
- var _ref177 = _asyncToGenerator(function* (sdk, integration_id, body, fields, options) {
1954
- integration_id = (0, _sdkRtl.encodeParam)(integration_id);
1955
- return sdk.patch("/integrations/".concat(integration_id), {
1956
- fields
1957
- }, body, options);
1958
- });
1959
- return function update_integration(_x591, _x592, _x593, _x594, _x595) {
1960
- return _ref177.apply(this, arguments);
1961
- };
1962
- }();
1963
- exports.update_integration = update_integration;
1964
- var fetch_integration_form = function () {
1965
- var _ref178 = _asyncToGenerator(function* (sdk, integration_id, body, options) {
1966
- integration_id = (0, _sdkRtl.encodeParam)(integration_id);
1967
- return sdk.post("/integrations/".concat(integration_id, "/form"), null, body, options);
1968
- });
1969
- return function fetch_integration_form(_x596, _x597, _x598, _x599) {
1970
- return _ref178.apply(this, arguments);
1971
- };
1972
- }();
1973
- exports.fetch_integration_form = fetch_integration_form;
1974
- var test_integration = function () {
1975
- var _ref179 = _asyncToGenerator(function* (sdk, integration_id, options) {
1976
- integration_id = (0, _sdkRtl.encodeParam)(integration_id);
1977
- return sdk.post("/integrations/".concat(integration_id, "/test"), null, null, options);
1978
- });
1979
- return function test_integration(_x600, _x601, _x602) {
1980
- return _ref179.apply(this, arguments);
1981
- };
1982
- }();
1983
- exports.test_integration = test_integration;
1984
- var all_looks = function () {
1985
- var _ref180 = _asyncToGenerator(function* (sdk, fields, options) {
1986
- return sdk.get('/looks', {
1987
- fields
1988
- }, null, options);
1989
- });
1990
- return function all_looks(_x603, _x604, _x605) {
1991
- return _ref180.apply(this, arguments);
1992
- };
1993
- }();
1994
- exports.all_looks = all_looks;
1995
- var create_look = function () {
1996
- var _ref181 = _asyncToGenerator(function* (sdk, body, fields, options) {
1997
- return sdk.post('/looks', {
1998
- fields
1999
- }, body, options);
2000
- });
2001
- return function create_look(_x606, _x607, _x608, _x609) {
2002
- return _ref181.apply(this, arguments);
2003
- };
2004
- }();
2005
- exports.create_look = create_look;
2006
- var search_looks = function () {
2007
- var _ref182 = _asyncToGenerator(function* (sdk, request, options) {
2008
- return sdk.get('/looks/search', {
2009
- id: request.id,
2010
- title: request.title,
2011
- description: request.description,
2012
- content_favorite_id: request.content_favorite_id,
2013
- space_id: request.space_id,
2014
- user_id: request.user_id,
2015
- view_count: request.view_count,
2016
- deleted: request.deleted,
2017
- query_id: request.query_id,
2018
- curate: request.curate,
2019
- fields: request.fields,
2020
- page: request.page,
2021
- per_page: request.per_page,
2022
- sorts: request.sorts,
2023
- filter_or: request.filter_or
2024
- }, null, options);
2025
- });
2026
- return function search_looks(_x610, _x611, _x612) {
2027
- return _ref182.apply(this, arguments);
2028
- };
2029
- }();
2030
- exports.search_looks = search_looks;
2031
- var look = function () {
2032
- var _ref183 = _asyncToGenerator(function* (sdk, look_id, fields, options) {
2033
- return sdk.get("/looks/".concat(look_id), {
2034
- fields
2035
- }, null, options);
2036
- });
2037
- return function look(_x613, _x614, _x615, _x616) {
2038
- return _ref183.apply(this, arguments);
2039
- };
2040
- }();
2041
- exports.look = look;
2042
- var update_look = function () {
2043
- var _ref184 = _asyncToGenerator(function* (sdk, look_id, body, fields, options) {
2044
- return sdk.patch("/looks/".concat(look_id), {
2045
- fields
2046
- }, body, options);
2047
- });
2048
- return function update_look(_x617, _x618, _x619, _x620, _x621) {
2049
- return _ref184.apply(this, arguments);
2050
- };
2051
- }();
2052
- exports.update_look = update_look;
2053
- var delete_look = function () {
2054
- var _ref185 = _asyncToGenerator(function* (sdk, look_id, options) {
2055
- return sdk.delete("/looks/".concat(look_id), null, null, options);
2056
- });
2057
- return function delete_look(_x622, _x623, _x624) {
2058
- return _ref185.apply(this, arguments);
2059
- };
2060
- }();
2061
- exports.delete_look = delete_look;
2062
- var run_look = function () {
2063
- var _ref186 = _asyncToGenerator(function* (sdk, request, options) {
2064
- request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
2065
- return sdk.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
2066
- limit: request.limit,
2067
- apply_formatting: request.apply_formatting,
2068
- apply_vis: request.apply_vis,
2069
- cache: request.cache,
2070
- image_width: request.image_width,
2071
- image_height: request.image_height,
2072
- generate_drill_links: request.generate_drill_links,
2073
- force_production: request.force_production,
2074
- cache_only: request.cache_only,
2075
- path_prefix: request.path_prefix,
2076
- rebuild_pdts: request.rebuild_pdts,
2077
- server_table_calcs: request.server_table_calcs
2078
- }, null, options);
2079
- });
2080
- return function run_look(_x625, _x626, _x627) {
2081
- return _ref186.apply(this, arguments);
2082
- };
2083
- }();
2084
- exports.run_look = run_look;
2085
- var all_lookml_models = function () {
2086
- var _ref187 = _asyncToGenerator(function* (sdk, fields, options) {
2087
- return sdk.get('/lookml_models', {
2088
- fields
2089
- }, null, options);
2090
- });
2091
- return function all_lookml_models(_x628, _x629, _x630) {
2092
- return _ref187.apply(this, arguments);
2093
- };
2094
- }();
2095
- exports.all_lookml_models = all_lookml_models;
2096
- var create_lookml_model = function () {
2097
- var _ref188 = _asyncToGenerator(function* (sdk, body, options) {
2098
- return sdk.post('/lookml_models', null, body, options);
2099
- });
2100
- return function create_lookml_model(_x631, _x632, _x633) {
2101
- return _ref188.apply(this, arguments);
2102
- };
2103
- }();
2104
- exports.create_lookml_model = create_lookml_model;
2105
- var lookml_model = function () {
2106
- var _ref189 = _asyncToGenerator(function* (sdk, lookml_model_name, fields, options) {
2107
- lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
2108
- return sdk.get("/lookml_models/".concat(lookml_model_name), {
2109
- fields
2110
- }, null, options);
2111
- });
2112
- return function lookml_model(_x634, _x635, _x636, _x637) {
2113
- return _ref189.apply(this, arguments);
2114
- };
2115
- }();
2116
- exports.lookml_model = lookml_model;
2117
- var update_lookml_model = function () {
2118
- var _ref190 = _asyncToGenerator(function* (sdk, lookml_model_name, body, options) {
2119
- lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
2120
- return sdk.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
2121
- });
2122
- return function update_lookml_model(_x638, _x639, _x640, _x641) {
2123
- return _ref190.apply(this, arguments);
2124
- };
2125
- }();
2126
- exports.update_lookml_model = update_lookml_model;
2127
- var delete_lookml_model = function () {
2128
- var _ref191 = _asyncToGenerator(function* (sdk, lookml_model_name, options) {
2129
- lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
2130
- return sdk.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
2131
- });
2132
- return function delete_lookml_model(_x642, _x643, _x644) {
2133
- return _ref191.apply(this, arguments);
2134
- };
2135
- }();
2136
- exports.delete_lookml_model = delete_lookml_model;
2137
- var lookml_model_explore = function () {
2138
- var _ref192 = _asyncToGenerator(function* (sdk, lookml_model_name, explore_name, fields, options) {
2139
- lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
2140
- explore_name = (0, _sdkRtl.encodeParam)(explore_name);
2141
- return sdk.get("/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
2142
- fields
2143
- }, null, options);
2144
- });
2145
- return function lookml_model_explore(_x645, _x646, _x647, _x648, _x649) {
2146
- return _ref192.apply(this, arguments);
2147
- };
2148
- }();
2149
- exports.lookml_model_explore = lookml_model_explore;
2150
- var all_git_branches = function () {
2151
- var _ref193 = _asyncToGenerator(function* (sdk, project_id, options) {
2152
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2153
- return sdk.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
2154
- });
2155
- return function all_git_branches(_x650, _x651, _x652) {
2156
- return _ref193.apply(this, arguments);
2157
- };
2158
- }();
2159
- exports.all_git_branches = all_git_branches;
2160
- var git_branch = function () {
2161
- var _ref194 = _asyncToGenerator(function* (sdk, project_id, options) {
2162
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2163
- return sdk.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
2164
- });
2165
- return function git_branch(_x653, _x654, _x655) {
2166
- return _ref194.apply(this, arguments);
2167
- };
2168
- }();
2169
- exports.git_branch = git_branch;
2170
- var update_git_branch = function () {
2171
- var _ref195 = _asyncToGenerator(function* (sdk, project_id, body, options) {
2172
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2173
- return sdk.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
2174
- });
2175
- return function update_git_branch(_x656, _x657, _x658, _x659) {
2176
- return _ref195.apply(this, arguments);
2177
- };
2178
- }();
2179
- exports.update_git_branch = update_git_branch;
2180
- var create_git_branch = function () {
2181
- var _ref196 = _asyncToGenerator(function* (sdk, project_id, body, options) {
2182
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2183
- return sdk.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
2184
- });
2185
- return function create_git_branch(_x660, _x661, _x662, _x663) {
2186
- return _ref196.apply(this, arguments);
2187
- };
2188
- }();
2189
- exports.create_git_branch = create_git_branch;
2190
- var find_git_branch = function () {
2191
- var _ref197 = _asyncToGenerator(function* (sdk, project_id, branch_name, options) {
2192
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2193
- branch_name = (0, _sdkRtl.encodeParam)(branch_name);
2194
- return sdk.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
2195
- });
2196
- return function find_git_branch(_x664, _x665, _x666, _x667) {
2197
- return _ref197.apply(this, arguments);
2198
- };
2199
- }();
2200
- exports.find_git_branch = find_git_branch;
2201
- var delete_git_branch = function () {
2202
- var _ref198 = _asyncToGenerator(function* (sdk, project_id, branch_name, options) {
2203
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2204
- branch_name = (0, _sdkRtl.encodeParam)(branch_name);
2205
- return sdk.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
2206
- });
2207
- return function delete_git_branch(_x668, _x669, _x670, _x671) {
2208
- return _ref198.apply(this, arguments);
2209
- };
2210
- }();
2211
- exports.delete_git_branch = delete_git_branch;
2212
- var deploy_ref_to_production = function () {
2213
- var _ref199 = _asyncToGenerator(function* (sdk, request, options) {
2214
- request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
2215
- return sdk.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
2216
- branch: request.branch,
2217
- ref: request.ref
2218
- }, null, options);
2219
- });
2220
- return function deploy_ref_to_production(_x672, _x673, _x674) {
2221
- return _ref199.apply(this, arguments);
2222
- };
2223
- }();
2224
- exports.deploy_ref_to_production = deploy_ref_to_production;
2225
- var deploy_to_production = function () {
2226
- var _ref200 = _asyncToGenerator(function* (sdk, project_id, options) {
2227
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2228
- return sdk.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
2229
- });
2230
- return function deploy_to_production(_x675, _x676, _x677) {
2231
- return _ref200.apply(this, arguments);
2232
- };
2233
- }();
2234
- exports.deploy_to_production = deploy_to_production;
2235
- var reset_project_to_production = function () {
2236
- var _ref201 = _asyncToGenerator(function* (sdk, project_id, options) {
2237
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2238
- return sdk.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
2239
- });
2240
- return function reset_project_to_production(_x678, _x679, _x680) {
2241
- return _ref201.apply(this, arguments);
2242
- };
2243
- }();
2244
- exports.reset_project_to_production = reset_project_to_production;
2245
- var reset_project_to_remote = function () {
2246
- var _ref202 = _asyncToGenerator(function* (sdk, project_id, options) {
2247
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2248
- return sdk.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
2249
- });
2250
- return function reset_project_to_remote(_x681, _x682, _x683) {
2251
- return _ref202.apply(this, arguments);
2252
- };
2253
- }();
2254
- exports.reset_project_to_remote = reset_project_to_remote;
2255
- var all_projects = function () {
2256
- var _ref203 = _asyncToGenerator(function* (sdk, fields, options) {
2257
- return sdk.get('/projects', {
2258
- fields
2259
- }, null, options);
2260
- });
2261
- return function all_projects(_x684, _x685, _x686) {
2262
- return _ref203.apply(this, arguments);
2263
- };
2264
- }();
2265
- exports.all_projects = all_projects;
2266
- var create_project = function () {
2267
- var _ref204 = _asyncToGenerator(function* (sdk, body, options) {
2268
- return sdk.post('/projects', null, body, options);
2269
- });
2270
- return function create_project(_x687, _x688, _x689) {
2271
- return _ref204.apply(this, arguments);
2272
- };
2273
- }();
2274
- exports.create_project = create_project;
2275
- var project = function () {
2276
- var _ref205 = _asyncToGenerator(function* (sdk, project_id, fields, options) {
2277
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2278
- return sdk.get("/projects/".concat(project_id), {
2279
- fields
2280
- }, null, options);
2281
- });
2282
- return function project(_x690, _x691, _x692, _x693) {
2283
- return _ref205.apply(this, arguments);
2284
- };
2285
- }();
2286
- exports.project = project;
2287
- var update_project = function () {
2288
- var _ref206 = _asyncToGenerator(function* (sdk, project_id, body, fields, options) {
2289
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2290
- return sdk.patch("/projects/".concat(project_id), {
2291
- fields
2292
- }, body, options);
2293
- });
2294
- return function update_project(_x694, _x695, _x696, _x697, _x698) {
2295
- return _ref206.apply(this, arguments);
2296
- };
2297
- }();
2298
- exports.update_project = update_project;
2299
- var manifest = function () {
2300
- var _ref207 = _asyncToGenerator(function* (sdk, project_id, options) {
2301
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2302
- return sdk.get("/projects/".concat(project_id, "/manifest"), null, null, options);
2303
- });
2304
- return function manifest(_x699, _x700, _x701) {
2305
- return _ref207.apply(this, arguments);
2306
- };
2307
- }();
2308
- exports.manifest = manifest;
2309
- var git_deploy_key = function () {
2310
- var _ref208 = _asyncToGenerator(function* (sdk, project_id, options) {
2311
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2312
- return sdk.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
2313
- });
2314
- return function git_deploy_key(_x702, _x703, _x704) {
2315
- return _ref208.apply(this, arguments);
2316
- };
2317
- }();
2318
- exports.git_deploy_key = git_deploy_key;
2319
- var create_git_deploy_key = function () {
2320
- var _ref209 = _asyncToGenerator(function* (sdk, project_id, options) {
2321
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2322
- return sdk.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
2323
- });
2324
- return function create_git_deploy_key(_x705, _x706, _x707) {
2325
- return _ref209.apply(this, arguments);
2326
- };
2327
- }();
2328
- exports.create_git_deploy_key = create_git_deploy_key;
2329
- var project_validation_results = function () {
2330
- var _ref210 = _asyncToGenerator(function* (sdk, project_id, fields, options) {
2331
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2332
- return sdk.get("/projects/".concat(project_id, "/validate"), {
2333
- fields
2334
- }, null, options);
2335
- });
2336
- return function project_validation_results(_x708, _x709, _x710, _x711) {
2337
- return _ref210.apply(this, arguments);
2338
- };
2339
- }();
2340
- exports.project_validation_results = project_validation_results;
2341
- var validate_project = function () {
2342
- var _ref211 = _asyncToGenerator(function* (sdk, project_id, fields, options) {
2343
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2344
- return sdk.post("/projects/".concat(project_id, "/validate"), {
2345
- fields
2346
- }, null, options);
2347
- });
2348
- return function validate_project(_x712, _x713, _x714, _x715) {
2349
- return _ref211.apply(this, arguments);
2350
- };
2351
- }();
2352
- exports.validate_project = validate_project;
2353
- var project_workspace = function () {
2354
- var _ref212 = _asyncToGenerator(function* (sdk, project_id, fields, options) {
2355
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2356
- return sdk.get("/projects/".concat(project_id, "/current_workspace"), {
2357
- fields
2358
- }, null, options);
2359
- });
2360
- return function project_workspace(_x716, _x717, _x718, _x719) {
2361
- return _ref212.apply(this, arguments);
2362
- };
2363
- }();
2364
- exports.project_workspace = project_workspace;
2365
- var all_project_files = function () {
2366
- var _ref213 = _asyncToGenerator(function* (sdk, project_id, fields, options) {
2367
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2368
- return sdk.get("/projects/".concat(project_id, "/files"), {
2369
- fields
2370
- }, null, options);
2371
- });
2372
- return function all_project_files(_x720, _x721, _x722, _x723) {
2373
- return _ref213.apply(this, arguments);
2374
- };
2375
- }();
2376
- exports.all_project_files = all_project_files;
2377
- var project_file = function () {
2378
- var _ref214 = _asyncToGenerator(function* (sdk, project_id, file_id, fields, options) {
2379
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2380
- return sdk.get("/projects/".concat(project_id, "/files/file"), {
2381
- file_id,
2382
- fields
2383
- }, null, options);
2384
- });
2385
- return function project_file(_x724, _x725, _x726, _x727, _x728) {
2386
- return _ref214.apply(this, arguments);
2387
- };
2388
- }();
2389
- exports.project_file = project_file;
2390
- var all_git_connection_tests = function () {
2391
- var _ref215 = _asyncToGenerator(function* (sdk, project_id, remote_url, options) {
2392
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2393
- return sdk.get("/projects/".concat(project_id, "/git_connection_tests"), {
2394
- remote_url
2395
- }, null, options);
2396
- });
2397
- return function all_git_connection_tests(_x729, _x730, _x731, _x732) {
2398
- return _ref215.apply(this, arguments);
2399
- };
2400
- }();
2401
- exports.all_git_connection_tests = all_git_connection_tests;
2402
- var run_git_connection_test = function () {
2403
- var _ref216 = _asyncToGenerator(function* (sdk, request, options) {
2404
- request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
2405
- request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
2406
- return sdk.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
2407
- remote_url: request.remote_url,
2408
- use_production: request.use_production
2409
- }, null, options);
2410
- });
2411
- return function run_git_connection_test(_x733, _x734, _x735) {
2412
- return _ref216.apply(this, arguments);
2413
- };
2414
- }();
2415
- exports.run_git_connection_test = run_git_connection_test;
2416
- var all_lookml_tests = function () {
2417
- var _ref217 = _asyncToGenerator(function* (sdk, project_id, file_id, options) {
2418
- project_id = (0, _sdkRtl.encodeParam)(project_id);
2419
- return sdk.get("/projects/".concat(project_id, "/lookml_tests"), {
2420
- file_id
2421
- }, null, options);
2422
- });
2423
- return function all_lookml_tests(_x736, _x737, _x738, _x739) {
2424
- return _ref217.apply(this, arguments);
2425
- };
2426
- }();
2427
- exports.all_lookml_tests = all_lookml_tests;
2428
- var run_lookml_test = function () {
2429
- var _ref218 = _asyncToGenerator(function* (sdk, request, options) {
2430
- request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
2431
- return sdk.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
2432
- file_id: request.file_id,
2433
- test: request.test,
2434
- model: request.model
2435
- }, null, options);
2436
- });
2437
- return function run_lookml_test(_x740, _x741, _x742) {
2438
- return _ref218.apply(this, arguments);
2439
- };
2440
- }();
2441
- exports.run_lookml_test = run_lookml_test;
2442
- var tag_ref = function () {
2443
- var _ref219 = _asyncToGenerator(function* (sdk, request, options) {
2444
- request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
2445
- return sdk.post("/projects/".concat(request.project_id, "/tag"), {
2446
- commit_sha: request.commit_sha,
2447
- tag_name: request.tag_name,
2448
- tag_message: request.tag_message
2449
- }, request.body, options);
2450
- });
2451
- return function tag_ref(_x743, _x744, _x745) {
2452
- return _ref219.apply(this, arguments);
2453
- };
2454
- }();
2455
- exports.tag_ref = tag_ref;
2456
- var update_repository_credential = function () {
2457
- var _ref220 = _asyncToGenerator(function* (sdk, root_project_id, credential_id, body, options) {
2458
- root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
2459
- credential_id = (0, _sdkRtl.encodeParam)(credential_id);
2460
- return sdk.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
2461
- });
2462
- return function update_repository_credential(_x746, _x747, _x748, _x749, _x750) {
2463
- return _ref220.apply(this, arguments);
2464
- };
2465
- }();
2466
- exports.update_repository_credential = update_repository_credential;
2467
- var delete_repository_credential = function () {
2468
- var _ref221 = _asyncToGenerator(function* (sdk, root_project_id, credential_id, options) {
2469
- root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
2470
- credential_id = (0, _sdkRtl.encodeParam)(credential_id);
2471
- return sdk.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
2472
- });
2473
- return function delete_repository_credential(_x751, _x752, _x753, _x754) {
2474
- return _ref221.apply(this, arguments);
2475
- };
2476
- }();
2477
- exports.delete_repository_credential = delete_repository_credential;
2478
- var get_all_repository_credentials = function () {
2479
- var _ref222 = _asyncToGenerator(function* (sdk, root_project_id, options) {
2480
- root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
2481
- return sdk.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
2482
- });
2483
- return function get_all_repository_credentials(_x755, _x756, _x757) {
2484
- return _ref222.apply(this, arguments);
2485
- };
2486
- }();
2487
- exports.get_all_repository_credentials = get_all_repository_credentials;
2488
- var create_query_task = function () {
2489
- var _ref223 = _asyncToGenerator(function* (sdk, request, options) {
2490
- return sdk.post('/query_tasks', {
2491
- limit: request.limit,
2492
- apply_formatting: request.apply_formatting,
2493
- apply_vis: request.apply_vis,
2494
- cache: request.cache,
2495
- generate_drill_links: request.generate_drill_links,
2496
- force_production: request.force_production,
2497
- cache_only: request.cache_only,
2498
- path_prefix: request.path_prefix,
2499
- rebuild_pdts: request.rebuild_pdts,
2500
- server_table_calcs: request.server_table_calcs,
2501
- image_width: request.image_width,
2502
- image_height: request.image_height,
2503
- fields: request.fields
2504
- }, request.body, options);
2505
- });
2506
- return function create_query_task(_x758, _x759, _x760) {
2507
- return _ref223.apply(this, arguments);
2508
- };
2509
- }();
2510
- exports.create_query_task = create_query_task;
2511
- var query_task_multi_results = function () {
2512
- var _ref224 = _asyncToGenerator(function* (sdk, query_task_ids, options) {
2513
- return sdk.get('/query_tasks/multi_results', {
2514
- query_task_ids
2515
- }, null, options);
2516
- });
2517
- return function query_task_multi_results(_x761, _x762, _x763) {
2518
- return _ref224.apply(this, arguments);
2519
- };
2520
- }();
2521
- exports.query_task_multi_results = query_task_multi_results;
2522
- var query_task = function () {
2523
- var _ref225 = _asyncToGenerator(function* (sdk, query_task_id, fields, options) {
2524
- query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
2525
- return sdk.get("/query_tasks/".concat(query_task_id), {
2526
- fields
2527
- }, null, options);
2528
- });
2529
- return function query_task(_x764, _x765, _x766, _x767) {
2530
- return _ref225.apply(this, arguments);
2531
- };
2532
- }();
2533
- exports.query_task = query_task;
2534
- var query_task_results = function () {
2535
- var _ref226 = _asyncToGenerator(function* (sdk, query_task_id, options) {
2536
- query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
2537
- return sdk.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
2538
- });
2539
- return function query_task_results(_x768, _x769, _x770) {
2540
- return _ref226.apply(this, arguments);
2541
- };
2542
- }();
2543
- exports.query_task_results = query_task_results;
2544
- var query = function () {
2545
- var _ref227 = _asyncToGenerator(function* (sdk, query_id, fields, options) {
2546
- return sdk.get("/queries/".concat(query_id), {
2547
- fields
2548
- }, null, options);
2549
- });
2550
- return function query(_x771, _x772, _x773, _x774) {
2551
- return _ref227.apply(this, arguments);
2552
- };
2553
- }();
2554
- exports.query = query;
2555
- var query_for_slug = function () {
2556
- var _ref228 = _asyncToGenerator(function* (sdk, slug, fields, options) {
2557
- slug = (0, _sdkRtl.encodeParam)(slug);
2558
- return sdk.get("/queries/slug/".concat(slug), {
2559
- fields
2560
- }, null, options);
2561
- });
2562
- return function query_for_slug(_x775, _x776, _x777, _x778) {
2563
- return _ref228.apply(this, arguments);
2564
- };
2565
- }();
2566
- exports.query_for_slug = query_for_slug;
2567
- var create_query = function () {
2568
- var _ref229 = _asyncToGenerator(function* (sdk, body, fields, options) {
2569
- return sdk.post('/queries', {
2570
- fields
2571
- }, body, options);
2572
- });
2573
- return function create_query(_x779, _x780, _x781, _x782) {
2574
- return _ref229.apply(this, arguments);
2575
- };
2576
- }();
2577
- exports.create_query = create_query;
2578
- var run_query = function () {
2579
- var _ref230 = _asyncToGenerator(function* (sdk, request, options) {
2580
- request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
2581
- return sdk.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
2582
- limit: request.limit,
2583
- apply_formatting: request.apply_formatting,
2584
- apply_vis: request.apply_vis,
2585
- cache: request.cache,
2586
- image_width: request.image_width,
2587
- image_height: request.image_height,
2588
- generate_drill_links: request.generate_drill_links,
2589
- force_production: request.force_production,
2590
- cache_only: request.cache_only,
2591
- path_prefix: request.path_prefix,
2592
- rebuild_pdts: request.rebuild_pdts,
2593
- server_table_calcs: request.server_table_calcs
2594
- }, null, options);
2595
- });
2596
- return function run_query(_x783, _x784, _x785) {
2597
- return _ref230.apply(this, arguments);
2598
- };
2599
- }();
2600
- exports.run_query = run_query;
2601
- var run_inline_query = function () {
2602
- var _ref231 = _asyncToGenerator(function* (sdk, request, options) {
2603
- request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
2604
- return sdk.post("/queries/run/".concat(request.result_format), {
2605
- limit: request.limit,
2606
- apply_formatting: request.apply_formatting,
2607
- apply_vis: request.apply_vis,
2608
- cache: request.cache,
2609
- image_width: request.image_width,
2610
- image_height: request.image_height,
2611
- generate_drill_links: request.generate_drill_links,
2612
- force_production: request.force_production,
2613
- cache_only: request.cache_only,
2614
- path_prefix: request.path_prefix,
2615
- rebuild_pdts: request.rebuild_pdts,
2616
- server_table_calcs: request.server_table_calcs
2617
- }, request.body, options);
2618
- });
2619
- return function run_inline_query(_x786, _x787, _x788) {
2620
- return _ref231.apply(this, arguments);
2621
- };
2622
- }();
2623
- exports.run_inline_query = run_inline_query;
2624
- var run_url_encoded_query = function () {
2625
- var _ref232 = _asyncToGenerator(function* (sdk, model_name, view_name, result_format, options) {
2626
- model_name = (0, _sdkRtl.encodeParam)(model_name);
2627
- view_name = (0, _sdkRtl.encodeParam)(view_name);
2628
- result_format = (0, _sdkRtl.encodeParam)(result_format);
2629
- return sdk.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
2630
- });
2631
- return function run_url_encoded_query(_x789, _x790, _x791, _x792, _x793) {
2632
- return _ref232.apply(this, arguments);
2633
- };
2634
- }();
2635
- exports.run_url_encoded_query = run_url_encoded_query;
2636
- var merge_query = function () {
2637
- var _ref233 = _asyncToGenerator(function* (sdk, merge_query_id, fields, options) {
2638
- merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
2639
- return sdk.get("/merge_queries/".concat(merge_query_id), {
2640
- fields
2641
- }, null, options);
2642
- });
2643
- return function merge_query(_x794, _x795, _x796, _x797) {
2644
- return _ref233.apply(this, arguments);
2645
- };
2646
- }();
2647
- exports.merge_query = merge_query;
2648
- var create_merge_query = function () {
2649
- var _ref234 = _asyncToGenerator(function* (sdk, body, fields, options) {
2650
- return sdk.post('/merge_queries', {
2651
- fields
2652
- }, body, options);
2653
- });
2654
- return function create_merge_query(_x798, _x799, _x800, _x801) {
2655
- return _ref234.apply(this, arguments);
2656
- };
2657
- }();
2658
- exports.create_merge_query = create_merge_query;
2659
- var all_running_queries = function () {
2660
- var _ref235 = _asyncToGenerator(function* (sdk, options) {
2661
- return sdk.get('/running_queries', null, null, options);
2662
- });
2663
- return function all_running_queries(_x802, _x803) {
2664
- return _ref235.apply(this, arguments);
2665
- };
2666
- }();
2667
- exports.all_running_queries = all_running_queries;
2668
- var kill_query = function () {
2669
- var _ref236 = _asyncToGenerator(function* (sdk, query_task_id, options) {
2670
- query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
2671
- return sdk.delete("/running_queries/".concat(query_task_id), null, null, options);
2672
- });
2673
- return function kill_query(_x804, _x805, _x806) {
2674
- return _ref236.apply(this, arguments);
2675
- };
2676
- }();
2677
- exports.kill_query = kill_query;
2678
- var sql_query = function () {
2679
- var _ref237 = _asyncToGenerator(function* (sdk, slug, options) {
2680
- slug = (0, _sdkRtl.encodeParam)(slug);
2681
- return sdk.get("/sql_queries/".concat(slug), null, null, options);
2682
- });
2683
- return function sql_query(_x807, _x808, _x809) {
2684
- return _ref237.apply(this, arguments);
2685
- };
2686
- }();
2687
- exports.sql_query = sql_query;
2688
- var create_sql_query = function () {
2689
- var _ref238 = _asyncToGenerator(function* (sdk, body, options) {
2690
- return sdk.post('/sql_queries', null, body, options);
2691
- });
2692
- return function create_sql_query(_x810, _x811, _x812) {
2693
- return _ref238.apply(this, arguments);
2694
- };
2695
- }();
2696
- exports.create_sql_query = create_sql_query;
2697
- var run_sql_query = function () {
2698
- var _ref239 = _asyncToGenerator(function* (sdk, slug, result_format, download, options) {
2699
- slug = (0, _sdkRtl.encodeParam)(slug);
2700
- result_format = (0, _sdkRtl.encodeParam)(result_format);
2701
- return sdk.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
2702
- download
2703
- }, null, options);
2704
- });
2705
- return function run_sql_query(_x813, _x814, _x815, _x816, _x817) {
2706
- return _ref239.apply(this, arguments);
2707
- };
2708
- }();
2709
- exports.run_sql_query = run_sql_query;
2710
- var create_lookml_dashboard_render_task = function () {
2711
- var _ref240 = _asyncToGenerator(function* (sdk, request, options) {
2712
- request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
2713
- request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
2714
- return sdk.post("/render_tasks/lookml_dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
2715
- width: request.width,
2716
- height: request.height,
2717
- fields: request.fields,
2718
- pdf_paper_size: request.pdf_paper_size,
2719
- pdf_landscape: request.pdf_landscape
2720
- }, request.body, options);
2721
- });
2722
- return function create_lookml_dashboard_render_task(_x818, _x819, _x820) {
2723
- return _ref240.apply(this, arguments);
2724
- };
2725
- }();
2726
- exports.create_lookml_dashboard_render_task = create_lookml_dashboard_render_task;
2727
- var create_look_render_task = function () {
2728
- var _ref241 = _asyncToGenerator(function* (sdk, look_id, result_format, width, height, fields, options) {
2729
- result_format = (0, _sdkRtl.encodeParam)(result_format);
2730
- return sdk.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
2731
- width,
2732
- height,
2733
- fields
2734
- }, null, options);
2735
- });
2736
- return function create_look_render_task(_x821, _x822, _x823, _x824, _x825, _x826, _x827) {
2737
- return _ref241.apply(this, arguments);
2738
- };
2739
- }();
2740
- exports.create_look_render_task = create_look_render_task;
2741
- var create_query_render_task = function () {
2742
- var _ref242 = _asyncToGenerator(function* (sdk, query_id, result_format, width, height, fields, options) {
2743
- result_format = (0, _sdkRtl.encodeParam)(result_format);
2744
- return sdk.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
2745
- width,
2746
- height,
2747
- fields
2748
- }, null, options);
2749
- });
2750
- return function create_query_render_task(_x828, _x829, _x830, _x831, _x832, _x833, _x834) {
2751
- return _ref242.apply(this, arguments);
2752
- };
2753
- }();
2754
- exports.create_query_render_task = create_query_render_task;
2755
- var create_dashboard_render_task = function () {
2756
- var _ref243 = _asyncToGenerator(function* (sdk, request, options) {
2757
- request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
2758
- return sdk.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
2759
- width: request.width,
2760
- height: request.height,
2761
- fields: request.fields,
2762
- pdf_paper_size: request.pdf_paper_size,
2763
- pdf_landscape: request.pdf_landscape
2764
- }, request.body, options);
2765
- });
2766
- return function create_dashboard_render_task(_x835, _x836, _x837) {
2767
- return _ref243.apply(this, arguments);
2768
- };
2769
- }();
2770
- exports.create_dashboard_render_task = create_dashboard_render_task;
2771
- var render_task = function () {
2772
- var _ref244 = _asyncToGenerator(function* (sdk, render_task_id, fields, options) {
2773
- render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
2774
- return sdk.get("/render_tasks/".concat(render_task_id), {
2775
- fields
2776
- }, null, options);
2777
- });
2778
- return function render_task(_x838, _x839, _x840, _x841) {
2779
- return _ref244.apply(this, arguments);
2780
- };
2781
- }();
2782
- exports.render_task = render_task;
2783
- var render_task_results = function () {
2784
- var _ref245 = _asyncToGenerator(function* (sdk, render_task_id, options) {
2785
- render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
2786
- return sdk.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
2787
- });
2788
- return function render_task_results(_x842, _x843, _x844) {
2789
- return _ref245.apply(this, arguments);
2790
- };
2791
- }();
2792
- exports.render_task_results = render_task_results;
2793
- var search_model_sets = function () {
2794
- var _ref246 = _asyncToGenerator(function* (sdk, request, options) {
2795
- return sdk.get('/model_sets/search', {
2796
- fields: request.fields,
2797
- limit: request.limit,
2798
- offset: request.offset,
2799
- sorts: request.sorts,
2800
- id: request.id,
2801
- name: request.name,
2802
- all_access: request.all_access,
2803
- built_in: request.built_in,
2804
- filter_or: request.filter_or
2805
- }, null, options);
2806
- });
2807
- return function search_model_sets(_x845, _x846, _x847) {
2808
- return _ref246.apply(this, arguments);
2809
- };
2810
- }();
2811
- exports.search_model_sets = search_model_sets;
2812
- var model_set = function () {
2813
- var _ref247 = _asyncToGenerator(function* (sdk, model_set_id, fields, options) {
2814
- return sdk.get("/model_sets/".concat(model_set_id), {
2815
- fields
2816
- }, null, options);
2817
- });
2818
- return function model_set(_x848, _x849, _x850, _x851) {
2819
- return _ref247.apply(this, arguments);
2820
- };
2821
- }();
2822
- exports.model_set = model_set;
2823
- var update_model_set = function () {
2824
- var _ref248 = _asyncToGenerator(function* (sdk, model_set_id, body, options) {
2825
- return sdk.patch("/model_sets/".concat(model_set_id), null, body, options);
2826
- });
2827
- return function update_model_set(_x852, _x853, _x854, _x855) {
2828
- return _ref248.apply(this, arguments);
2829
- };
2830
- }();
2831
- exports.update_model_set = update_model_set;
2832
- var delete_model_set = function () {
2833
- var _ref249 = _asyncToGenerator(function* (sdk, model_set_id, options) {
2834
- return sdk.delete("/model_sets/".concat(model_set_id), null, null, options);
2835
- });
2836
- return function delete_model_set(_x856, _x857, _x858) {
2837
- return _ref249.apply(this, arguments);
2838
- };
2839
- }();
2840
- exports.delete_model_set = delete_model_set;
2841
- var all_model_sets = function () {
2842
- var _ref250 = _asyncToGenerator(function* (sdk, fields, options) {
2843
- return sdk.get('/model_sets', {
2844
- fields
2845
- }, null, options);
2846
- });
2847
- return function all_model_sets(_x859, _x860, _x861) {
2848
- return _ref250.apply(this, arguments);
2849
- };
2850
- }();
2851
- exports.all_model_sets = all_model_sets;
2852
- var create_model_set = function () {
2853
- var _ref251 = _asyncToGenerator(function* (sdk, body, options) {
2854
- return sdk.post('/model_sets', null, body, options);
2855
- });
2856
- return function create_model_set(_x862, _x863, _x864) {
2857
- return _ref251.apply(this, arguments);
2858
- };
2859
- }();
2860
- exports.create_model_set = create_model_set;
2861
- var all_permissions = function () {
2862
- var _ref252 = _asyncToGenerator(function* (sdk, options) {
2863
- return sdk.get('/permissions', null, null, options);
2864
- });
2865
- return function all_permissions(_x865, _x866) {
2866
- return _ref252.apply(this, arguments);
2867
- };
2868
- }();
2869
- exports.all_permissions = all_permissions;
2870
- var search_permission_sets = function () {
2871
- var _ref253 = _asyncToGenerator(function* (sdk, request, options) {
2872
- return sdk.get('/permission_sets/search', {
2873
- fields: request.fields,
2874
- limit: request.limit,
2875
- offset: request.offset,
2876
- sorts: request.sorts,
2877
- id: request.id,
2878
- name: request.name,
2879
- all_access: request.all_access,
2880
- built_in: request.built_in,
2881
- filter_or: request.filter_or
2882
- }, null, options);
2883
- });
2884
- return function search_permission_sets(_x867, _x868, _x869) {
2885
- return _ref253.apply(this, arguments);
2886
- };
2887
- }();
2888
- exports.search_permission_sets = search_permission_sets;
2889
- var permission_set = function () {
2890
- var _ref254 = _asyncToGenerator(function* (sdk, permission_set_id, fields, options) {
2891
- return sdk.get("/permission_sets/".concat(permission_set_id), {
2892
- fields
2893
- }, null, options);
2894
- });
2895
- return function permission_set(_x870, _x871, _x872, _x873) {
2896
- return _ref254.apply(this, arguments);
2897
- };
2898
- }();
2899
- exports.permission_set = permission_set;
2900
- var update_permission_set = function () {
2901
- var _ref255 = _asyncToGenerator(function* (sdk, permission_set_id, body, options) {
2902
- return sdk.patch("/permission_sets/".concat(permission_set_id), null, body, options);
2903
- });
2904
- return function update_permission_set(_x874, _x875, _x876, _x877) {
2905
- return _ref255.apply(this, arguments);
2906
- };
2907
- }();
2908
- exports.update_permission_set = update_permission_set;
2909
- var delete_permission_set = function () {
2910
- var _ref256 = _asyncToGenerator(function* (sdk, permission_set_id, options) {
2911
- return sdk.delete("/permission_sets/".concat(permission_set_id), null, null, options);
2912
- });
2913
- return function delete_permission_set(_x878, _x879, _x880) {
2914
- return _ref256.apply(this, arguments);
2915
- };
2916
- }();
2917
- exports.delete_permission_set = delete_permission_set;
2918
- var all_permission_sets = function () {
2919
- var _ref257 = _asyncToGenerator(function* (sdk, fields, options) {
2920
- return sdk.get('/permission_sets', {
2921
- fields
2922
- }, null, options);
2923
- });
2924
- return function all_permission_sets(_x881, _x882, _x883) {
2925
- return _ref257.apply(this, arguments);
2926
- };
2927
- }();
2928
- exports.all_permission_sets = all_permission_sets;
2929
- var create_permission_set = function () {
2930
- var _ref258 = _asyncToGenerator(function* (sdk, body, options) {
2931
- return sdk.post('/permission_sets', null, body, options);
2932
- });
2933
- return function create_permission_set(_x884, _x885, _x886) {
2934
- return _ref258.apply(this, arguments);
2935
- };
2936
- }();
2937
- exports.create_permission_set = create_permission_set;
2938
- var all_roles = function () {
2939
- var _ref259 = _asyncToGenerator(function* (sdk, request, options) {
2940
- return sdk.get('/roles', {
2941
- fields: request.fields,
2942
- ids: request.ids
2943
- }, null, options);
2944
- });
2945
- return function all_roles(_x887, _x888, _x889) {
2946
- return _ref259.apply(this, arguments);
2947
- };
2948
- }();
2949
- exports.all_roles = all_roles;
2950
- var create_role = function () {
2951
- var _ref260 = _asyncToGenerator(function* (sdk, body, options) {
2952
- return sdk.post('/roles', null, body, options);
2953
- });
2954
- return function create_role(_x890, _x891, _x892) {
2955
- return _ref260.apply(this, arguments);
2956
- };
2957
- }();
2958
- exports.create_role = create_role;
2959
- var search_roles = function () {
2960
- var _ref261 = _asyncToGenerator(function* (sdk, request, options) {
2961
- return sdk.get('/roles/search', {
2962
- fields: request.fields,
2963
- limit: request.limit,
2964
- offset: request.offset,
2965
- sorts: request.sorts,
2966
- id: request.id,
2967
- name: request.name,
2968
- built_in: request.built_in,
2969
- filter_or: request.filter_or
2970
- }, null, options);
2971
- });
2972
- return function search_roles(_x893, _x894, _x895) {
2973
- return _ref261.apply(this, arguments);
2974
- };
2975
- }();
2976
- exports.search_roles = search_roles;
2977
- var role = function () {
2978
- var _ref262 = _asyncToGenerator(function* (sdk, role_id, options) {
2979
- return sdk.get("/roles/".concat(role_id), null, null, options);
2980
- });
2981
- return function role(_x896, _x897, _x898) {
2982
- return _ref262.apply(this, arguments);
2983
- };
2984
- }();
2985
- exports.role = role;
2986
- var update_role = function () {
2987
- var _ref263 = _asyncToGenerator(function* (sdk, role_id, body, options) {
2988
- return sdk.patch("/roles/".concat(role_id), null, body, options);
2989
- });
2990
- return function update_role(_x899, _x900, _x901, _x902) {
2991
- return _ref263.apply(this, arguments);
2992
- };
2993
- }();
2994
- exports.update_role = update_role;
2995
- var delete_role = function () {
2996
- var _ref264 = _asyncToGenerator(function* (sdk, role_id, options) {
2997
- return sdk.delete("/roles/".concat(role_id), null, null, options);
2998
- });
2999
- return function delete_role(_x903, _x904, _x905) {
3000
- return _ref264.apply(this, arguments);
3001
- };
3002
- }();
3003
- exports.delete_role = delete_role;
3004
- var role_groups = function () {
3005
- var _ref265 = _asyncToGenerator(function* (sdk, role_id, fields, options) {
3006
- return sdk.get("/roles/".concat(role_id, "/groups"), {
3007
- fields
3008
- }, null, options);
3009
- });
3010
- return function role_groups(_x906, _x907, _x908, _x909) {
3011
- return _ref265.apply(this, arguments);
3012
- };
3013
- }();
3014
- exports.role_groups = role_groups;
3015
- var set_role_groups = function () {
3016
- var _ref266 = _asyncToGenerator(function* (sdk, role_id, body, options) {
3017
- return sdk.put("/roles/".concat(role_id, "/groups"), null, body, options);
3018
- });
3019
- return function set_role_groups(_x910, _x911, _x912, _x913) {
3020
- return _ref266.apply(this, arguments);
3021
- };
3022
- }();
3023
- exports.set_role_groups = set_role_groups;
3024
- var role_users = function () {
3025
- var _ref267 = _asyncToGenerator(function* (sdk, request, options) {
3026
- return sdk.get("/roles/".concat(request.role_id, "/users"), {
3027
- fields: request.fields,
3028
- direct_association_only: request.direct_association_only
3029
- }, null, options);
3030
- });
3031
- return function role_users(_x914, _x915, _x916) {
3032
- return _ref267.apply(this, arguments);
3033
- };
3034
- }();
3035
- exports.role_users = role_users;
3036
- var set_role_users = function () {
3037
- var _ref268 = _asyncToGenerator(function* (sdk, role_id, body, options) {
3038
- return sdk.put("/roles/".concat(role_id, "/users"), null, body, options);
3039
- });
3040
- return function set_role_users(_x917, _x918, _x919, _x920) {
3041
- return _ref268.apply(this, arguments);
3042
- };
3043
- }();
3044
- exports.set_role_users = set_role_users;
3045
- var scheduled_plans_for_space = function () {
3046
- var _ref269 = _asyncToGenerator(function* (sdk, space_id, fields, options) {
3047
- return sdk.get("/scheduled_plans/space/".concat(space_id), {
3048
- fields
3049
- }, null, options);
3050
- });
3051
- return function scheduled_plans_for_space(_x921, _x922, _x923, _x924) {
3052
- return _ref269.apply(this, arguments);
3053
- };
3054
- }();
3055
- exports.scheduled_plans_for_space = scheduled_plans_for_space;
3056
- var scheduled_plan = function () {
3057
- var _ref270 = _asyncToGenerator(function* (sdk, scheduled_plan_id, fields, options) {
3058
- return sdk.get("/scheduled_plans/".concat(scheduled_plan_id), {
3059
- fields
3060
- }, null, options);
3061
- });
3062
- return function scheduled_plan(_x925, _x926, _x927, _x928) {
3063
- return _ref270.apply(this, arguments);
3064
- };
3065
- }();
3066
- exports.scheduled_plan = scheduled_plan;
3067
- var update_scheduled_plan = function () {
3068
- var _ref271 = _asyncToGenerator(function* (sdk, scheduled_plan_id, body, options) {
3069
- return sdk.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
3070
- });
3071
- return function update_scheduled_plan(_x929, _x930, _x931, _x932) {
3072
- return _ref271.apply(this, arguments);
3073
- };
3074
- }();
3075
- exports.update_scheduled_plan = update_scheduled_plan;
3076
- var delete_scheduled_plan = function () {
3077
- var _ref272 = _asyncToGenerator(function* (sdk, scheduled_plan_id, options) {
3078
- return sdk.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
3079
- });
3080
- return function delete_scheduled_plan(_x933, _x934, _x935) {
3081
- return _ref272.apply(this, arguments);
3082
- };
3083
- }();
3084
- exports.delete_scheduled_plan = delete_scheduled_plan;
3085
- var all_scheduled_plans = function () {
3086
- var _ref273 = _asyncToGenerator(function* (sdk, request, options) {
3087
- return sdk.get('/scheduled_plans', {
3088
- user_id: request.user_id,
3089
- fields: request.fields,
3090
- all_users: request.all_users
3091
- }, null, options);
3092
- });
3093
- return function all_scheduled_plans(_x936, _x937, _x938) {
3094
- return _ref273.apply(this, arguments);
3095
- };
3096
- }();
3097
- exports.all_scheduled_plans = all_scheduled_plans;
3098
- var create_scheduled_plan = function () {
3099
- var _ref274 = _asyncToGenerator(function* (sdk, body, options) {
3100
- return sdk.post('/scheduled_plans', null, body, options);
3101
- });
3102
- return function create_scheduled_plan(_x939, _x940, _x941) {
3103
- return _ref274.apply(this, arguments);
3104
- };
3105
- }();
3106
- exports.create_scheduled_plan = create_scheduled_plan;
3107
- var scheduled_plan_run_once = function () {
3108
- var _ref275 = _asyncToGenerator(function* (sdk, body, options) {
3109
- return sdk.post('/scheduled_plans/run_once', null, body, options);
3110
- });
3111
- return function scheduled_plan_run_once(_x942, _x943, _x944) {
3112
- return _ref275.apply(this, arguments);
3113
- };
3114
- }();
3115
- exports.scheduled_plan_run_once = scheduled_plan_run_once;
3116
- var scheduled_plans_for_look = function () {
3117
- var _ref276 = _asyncToGenerator(function* (sdk, request, options) {
3118
- return sdk.get("/scheduled_plans/look/".concat(request.look_id), {
3119
- user_id: request.user_id,
3120
- fields: request.fields,
3121
- all_users: request.all_users
3122
- }, null, options);
3123
- });
3124
- return function scheduled_plans_for_look(_x945, _x946, _x947) {
3125
- return _ref276.apply(this, arguments);
3126
- };
3127
- }();
3128
- exports.scheduled_plans_for_look = scheduled_plans_for_look;
3129
- var scheduled_plans_for_dashboard = function () {
3130
- var _ref277 = _asyncToGenerator(function* (sdk, request, options) {
3131
- return sdk.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
3132
- user_id: request.user_id,
3133
- all_users: request.all_users,
3134
- fields: request.fields
3135
- }, null, options);
3136
- });
3137
- return function scheduled_plans_for_dashboard(_x948, _x949, _x950) {
3138
- return _ref277.apply(this, arguments);
3139
- };
3140
- }();
3141
- exports.scheduled_plans_for_dashboard = scheduled_plans_for_dashboard;
3142
- var scheduled_plans_for_lookml_dashboard = function () {
3143
- var _ref278 = _asyncToGenerator(function* (sdk, request, options) {
3144
- request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
3145
- return sdk.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
3146
- user_id: request.user_id,
3147
- fields: request.fields,
3148
- all_users: request.all_users
3149
- }, null, options);
3150
- });
3151
- return function scheduled_plans_for_lookml_dashboard(_x951, _x952, _x953) {
3152
- return _ref278.apply(this, arguments);
3153
- };
3154
- }();
3155
- exports.scheduled_plans_for_lookml_dashboard = scheduled_plans_for_lookml_dashboard;
3156
- var scheduled_plan_run_once_by_id = function () {
3157
- var _ref279 = _asyncToGenerator(function* (sdk, scheduled_plan_id, body, options) {
3158
- return sdk.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
3159
- });
3160
- return function scheduled_plan_run_once_by_id(_x954, _x955, _x956, _x957) {
3161
- return _ref279.apply(this, arguments);
3162
- };
3163
- }();
3164
- exports.scheduled_plan_run_once_by_id = scheduled_plan_run_once_by_id;
3165
- var session = function () {
3166
- var _ref280 = _asyncToGenerator(function* (sdk, options) {
3167
- return sdk.get('/session', null, null, options);
3168
- });
3169
- return function session(_x958, _x959) {
3170
- return _ref280.apply(this, arguments);
3171
- };
3172
- }();
3173
- exports.session = session;
3174
- var update_session = function () {
3175
- var _ref281 = _asyncToGenerator(function* (sdk, body, options) {
3176
- return sdk.patch('/session', null, body, options);
3177
- });
3178
- return function update_session(_x960, _x961, _x962) {
3179
- return _ref281.apply(this, arguments);
3180
- };
3181
- }();
3182
- exports.update_session = update_session;
3183
- var search_spaces = function () {
3184
- var _ref282 = _asyncToGenerator(function* (sdk, request, options) {
3185
- return sdk.get('/spaces/search', {
3186
- fields: request.fields,
3187
- page: request.page,
3188
- per_page: request.per_page,
3189
- limit: request.limit,
3190
- offset: request.offset,
3191
- sorts: request.sorts,
3192
- name: request.name,
3193
- id: request.id,
3194
- parent_id: request.parent_id,
3195
- creator_id: request.creator_id,
3196
- filter_or: request.filter_or,
3197
- is_shared_root: request.is_shared_root,
3198
- is_users_root: request.is_users_root
3199
- }, null, options);
3200
- });
3201
- return function search_spaces(_x963, _x964, _x965) {
3202
- return _ref282.apply(this, arguments);
3203
- };
3204
- }();
3205
- exports.search_spaces = search_spaces;
3206
- var space = function () {
3207
- var _ref283 = _asyncToGenerator(function* (sdk, space_id, fields, options) {
3208
- space_id = (0, _sdkRtl.encodeParam)(space_id);
3209
- return sdk.get("/spaces/".concat(space_id), {
3210
- fields
3211
- }, null, options);
3212
- });
3213
- return function space(_x966, _x967, _x968, _x969) {
3214
- return _ref283.apply(this, arguments);
3215
- };
3216
- }();
3217
- exports.space = space;
3218
- var update_space = function () {
3219
- var _ref284 = _asyncToGenerator(function* (sdk, space_id, body, options) {
3220
- space_id = (0, _sdkRtl.encodeParam)(space_id);
3221
- return sdk.patch("/spaces/".concat(space_id), null, body, options);
3222
- });
3223
- return function update_space(_x970, _x971, _x972, _x973) {
3224
- return _ref284.apply(this, arguments);
3225
- };
3226
- }();
3227
- exports.update_space = update_space;
3228
- var delete_space = function () {
3229
- var _ref285 = _asyncToGenerator(function* (sdk, space_id, options) {
3230
- space_id = (0, _sdkRtl.encodeParam)(space_id);
3231
- return sdk.delete("/spaces/".concat(space_id), null, null, options);
3232
- });
3233
- return function delete_space(_x974, _x975, _x976) {
3234
- return _ref285.apply(this, arguments);
3235
- };
3236
- }();
3237
- exports.delete_space = delete_space;
3238
- var all_spaces = function () {
3239
- var _ref286 = _asyncToGenerator(function* (sdk, fields, options) {
3240
- return sdk.get('/spaces', {
3241
- fields
3242
- }, null, options);
3243
- });
3244
- return function all_spaces(_x977, _x978, _x979) {
3245
- return _ref286.apply(this, arguments);
3246
- };
3247
- }();
3248
- exports.all_spaces = all_spaces;
3249
- var create_space = function () {
3250
- var _ref287 = _asyncToGenerator(function* (sdk, body, options) {
3251
- return sdk.post('/spaces', null, body, options);
3252
- });
3253
- return function create_space(_x980, _x981, _x982) {
3254
- return _ref287.apply(this, arguments);
3255
- };
3256
- }();
3257
- exports.create_space = create_space;
3258
- var space_children = function () {
3259
- var _ref288 = _asyncToGenerator(function* (sdk, request, options) {
3260
- request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
3261
- return sdk.get("/spaces/".concat(request.space_id, "/children"), {
3262
- fields: request.fields,
3263
- page: request.page,
3264
- per_page: request.per_page,
3265
- sorts: request.sorts
3266
- }, null, options);
3267
- });
3268
- return function space_children(_x983, _x984, _x985) {
3269
- return _ref288.apply(this, arguments);
3270
- };
3271
- }();
3272
- exports.space_children = space_children;
3273
- var space_children_search = function () {
3274
- var _ref289 = _asyncToGenerator(function* (sdk, request, options) {
3275
- request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
3276
- return sdk.get("/spaces/".concat(request.space_id, "/children/search"), {
3277
- fields: request.fields,
3278
- sorts: request.sorts,
3279
- name: request.name
3280
- }, null, options);
3281
- });
3282
- return function space_children_search(_x986, _x987, _x988) {
3283
- return _ref289.apply(this, arguments);
3284
- };
3285
- }();
3286
- exports.space_children_search = space_children_search;
3287
- var space_parent = function () {
3288
- var _ref290 = _asyncToGenerator(function* (sdk, space_id, fields, options) {
3289
- space_id = (0, _sdkRtl.encodeParam)(space_id);
3290
- return sdk.get("/spaces/".concat(space_id, "/parent"), {
3291
- fields
3292
- }, null, options);
3293
- });
3294
- return function space_parent(_x989, _x990, _x991, _x992) {
3295
- return _ref290.apply(this, arguments);
3296
- };
3297
- }();
3298
- exports.space_parent = space_parent;
3299
- var space_ancestors = function () {
3300
- var _ref291 = _asyncToGenerator(function* (sdk, space_id, fields, options) {
3301
- space_id = (0, _sdkRtl.encodeParam)(space_id);
3302
- return sdk.get("/spaces/".concat(space_id, "/ancestors"), {
3303
- fields
3304
- }, null, options);
3305
- });
3306
- return function space_ancestors(_x993, _x994, _x995, _x996) {
3307
- return _ref291.apply(this, arguments);
3308
- };
3309
- }();
3310
- exports.space_ancestors = space_ancestors;
3311
- var space_looks = function () {
3312
- var _ref292 = _asyncToGenerator(function* (sdk, space_id, fields, options) {
3313
- space_id = (0, _sdkRtl.encodeParam)(space_id);
3314
- return sdk.get("/spaces/".concat(space_id, "/looks"), {
3315
- fields
3316
- }, null, options);
3317
- });
3318
- return function space_looks(_x997, _x998, _x999, _x1000) {
3319
- return _ref292.apply(this, arguments);
3320
- };
3321
- }();
3322
- exports.space_looks = space_looks;
3323
- var space_dashboards = function () {
3324
- var _ref293 = _asyncToGenerator(function* (sdk, space_id, fields, options) {
3325
- space_id = (0, _sdkRtl.encodeParam)(space_id);
3326
- return sdk.get("/spaces/".concat(space_id, "/dashboards"), {
3327
- fields
3328
- }, null, options);
3329
- });
3330
- return function space_dashboards(_x1001, _x1002, _x1003, _x1004) {
3331
- return _ref293.apply(this, arguments);
3332
- };
3333
- }();
3334
- exports.space_dashboards = space_dashboards;
3335
- var all_themes = function () {
3336
- var _ref294 = _asyncToGenerator(function* (sdk, fields, options) {
3337
- return sdk.get('/themes', {
3338
- fields
3339
- }, null, options);
3340
- });
3341
- return function all_themes(_x1005, _x1006, _x1007) {
3342
- return _ref294.apply(this, arguments);
3343
- };
3344
- }();
3345
- exports.all_themes = all_themes;
3346
- var create_theme = function () {
3347
- var _ref295 = _asyncToGenerator(function* (sdk, body, options) {
3348
- return sdk.post('/themes', null, body, options);
3349
- });
3350
- return function create_theme(_x1008, _x1009, _x1010) {
3351
- return _ref295.apply(this, arguments);
3352
- };
3353
- }();
3354
- exports.create_theme = create_theme;
3355
- var search_themes = function () {
3356
- var _ref296 = _asyncToGenerator(function* (sdk, request, options) {
3357
- return sdk.get('/themes/search', {
3358
- id: request.id,
3359
- name: request.name,
3360
- begin_at: request.begin_at,
3361
- end_at: request.end_at,
3362
- limit: request.limit,
3363
- offset: request.offset,
3364
- sorts: request.sorts,
3365
- fields: request.fields,
3366
- filter_or: request.filter_or
3367
- }, null, options);
3368
- });
3369
- return function search_themes(_x1011, _x1012, _x1013) {
3370
- return _ref296.apply(this, arguments);
3371
- };
3372
- }();
3373
- exports.search_themes = search_themes;
3374
- var default_theme = function () {
3375
- var _ref297 = _asyncToGenerator(function* (sdk, ts, options) {
3376
- return sdk.get('/themes/default', {
3377
- ts
3378
- }, null, options);
3379
- });
3380
- return function default_theme(_x1014, _x1015, _x1016) {
3381
- return _ref297.apply(this, arguments);
3382
- };
3383
- }();
3384
- exports.default_theme = default_theme;
3385
- var set_default_theme = function () {
3386
- var _ref298 = _asyncToGenerator(function* (sdk, name, options) {
3387
- return sdk.put('/themes/default', {
3388
- name
3389
- }, null, options);
3390
- });
3391
- return function set_default_theme(_x1017, _x1018, _x1019) {
3392
- return _ref298.apply(this, arguments);
3393
- };
3394
- }();
3395
- exports.set_default_theme = set_default_theme;
3396
- var active_themes = function () {
3397
- var _ref299 = _asyncToGenerator(function* (sdk, request, options) {
3398
- return sdk.get('/themes/active', {
3399
- name: request.name,
3400
- ts: request.ts,
3401
- fields: request.fields
3402
- }, null, options);
3403
- });
3404
- return function active_themes(_x1020, _x1021, _x1022) {
3405
- return _ref299.apply(this, arguments);
3406
- };
3407
- }();
3408
- exports.active_themes = active_themes;
3409
- var theme_or_default = function () {
3410
- var _ref300 = _asyncToGenerator(function* (sdk, name, ts, options) {
3411
- return sdk.get('/themes/theme_or_default', {
3412
- name,
3413
- ts
3414
- }, null, options);
3415
- });
3416
- return function theme_or_default(_x1023, _x1024, _x1025, _x1026) {
3417
- return _ref300.apply(this, arguments);
3418
- };
3419
- }();
3420
- exports.theme_or_default = theme_or_default;
3421
- var validate_theme = function () {
3422
- var _ref301 = _asyncToGenerator(function* (sdk, body, options) {
3423
- return sdk.post('/themes/validate', null, body, options);
3424
- });
3425
- return function validate_theme(_x1027, _x1028, _x1029) {
3426
- return _ref301.apply(this, arguments);
3427
- };
3428
- }();
3429
- exports.validate_theme = validate_theme;
3430
- var theme = function () {
3431
- var _ref302 = _asyncToGenerator(function* (sdk, theme_id, fields, options) {
3432
- theme_id = (0, _sdkRtl.encodeParam)(theme_id);
3433
- return sdk.get("/themes/".concat(theme_id), {
3434
- fields
3435
- }, null, options);
3436
- });
3437
- return function theme(_x1030, _x1031, _x1032, _x1033) {
3438
- return _ref302.apply(this, arguments);
3439
- };
3440
- }();
3441
- exports.theme = theme;
3442
- var update_theme = function () {
3443
- var _ref303 = _asyncToGenerator(function* (sdk, theme_id, body, options) {
3444
- theme_id = (0, _sdkRtl.encodeParam)(theme_id);
3445
- return sdk.patch("/themes/".concat(theme_id), null, body, options);
3446
- });
3447
- return function update_theme(_x1034, _x1035, _x1036, _x1037) {
3448
- return _ref303.apply(this, arguments);
3449
- };
3450
- }();
3451
- exports.update_theme = update_theme;
3452
- var delete_theme = function () {
3453
- var _ref304 = _asyncToGenerator(function* (sdk, theme_id, options) {
3454
- theme_id = (0, _sdkRtl.encodeParam)(theme_id);
3455
- return sdk.delete("/themes/".concat(theme_id), null, null, options);
3456
- });
3457
- return function delete_theme(_x1038, _x1039, _x1040) {
3458
- return _ref304.apply(this, arguments);
3459
- };
3460
- }();
3461
- exports.delete_theme = delete_theme;
3462
- var me = function () {
3463
- var _ref305 = _asyncToGenerator(function* (sdk, fields, options) {
3464
- return sdk.get('/user', {
3465
- fields
3466
- }, null, options);
3467
- });
3468
- return function me(_x1041, _x1042, _x1043) {
3469
- return _ref305.apply(this, arguments);
3470
- };
3471
- }();
3472
- exports.me = me;
3473
- var all_users = function () {
3474
- var _ref306 = _asyncToGenerator(function* (sdk, request, options) {
3475
- return sdk.get('/users', {
3476
- fields: request.fields,
3477
- page: request.page,
3478
- per_page: request.per_page,
3479
- sorts: request.sorts,
3480
- ids: request.ids
3481
- }, null, options);
3482
- });
3483
- return function all_users(_x1044, _x1045, _x1046) {
3484
- return _ref306.apply(this, arguments);
3485
- };
3486
- }();
3487
- exports.all_users = all_users;
3488
- var create_user = function () {
3489
- var _ref307 = _asyncToGenerator(function* (sdk, body, fields, options) {
3490
- return sdk.post('/users', {
3491
- fields
3492
- }, body, options);
3493
- });
3494
- return function create_user(_x1047, _x1048, _x1049, _x1050) {
3495
- return _ref307.apply(this, arguments);
3496
- };
3497
- }();
3498
- exports.create_user = create_user;
3499
- var search_users = function () {
3500
- var _ref308 = _asyncToGenerator(function* (sdk, request, options) {
3501
- return sdk.get('/users/search', {
3502
- fields: request.fields,
3503
- page: request.page,
3504
- per_page: request.per_page,
3505
- sorts: request.sorts,
3506
- id: request.id,
3507
- first_name: request.first_name,
3508
- last_name: request.last_name,
3509
- verified_looker_employee: request.verified_looker_employee,
3510
- embed_user: request.embed_user,
3511
- email: request.email,
3512
- is_disabled: request.is_disabled,
3513
- filter_or: request.filter_or,
3514
- content_metadata_id: request.content_metadata_id,
3515
- group_id: request.group_id
3516
- }, null, options);
3517
- });
3518
- return function search_users(_x1051, _x1052, _x1053) {
3519
- return _ref308.apply(this, arguments);
3520
- };
3521
- }();
3522
- exports.search_users = search_users;
3523
- var search_users_names = function () {
3524
- var _ref309 = _asyncToGenerator(function* (sdk, request, options) {
3525
- request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
3526
- return sdk.get("/users/search/names/".concat(request.pattern), {
3527
- fields: request.fields,
3528
- page: request.page,
3529
- per_page: request.per_page,
3530
- sorts: request.sorts,
3531
- id: request.id,
3532
- first_name: request.first_name,
3533
- last_name: request.last_name,
3534
- verified_looker_employee: request.verified_looker_employee,
3535
- email: request.email,
3536
- is_disabled: request.is_disabled
3537
- }, null, options);
3538
- });
3539
- return function search_users_names(_x1054, _x1055, _x1056) {
3540
- return _ref309.apply(this, arguments);
3541
- };
3542
- }();
3543
- exports.search_users_names = search_users_names;
3544
- var user = function () {
3545
- var _ref310 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3546
- return sdk.get("/users/".concat(user_id), {
3547
- fields
3548
- }, null, options);
3549
- });
3550
- return function user(_x1057, _x1058, _x1059, _x1060) {
3551
- return _ref310.apply(this, arguments);
3552
- };
3553
- }();
3554
- exports.user = user;
3555
- var update_user = function () {
3556
- var _ref311 = _asyncToGenerator(function* (sdk, user_id, body, fields, options) {
3557
- return sdk.patch("/users/".concat(user_id), {
3558
- fields
3559
- }, body, options);
3560
- });
3561
- return function update_user(_x1061, _x1062, _x1063, _x1064, _x1065) {
3562
- return _ref311.apply(this, arguments);
3563
- };
3564
- }();
3565
- exports.update_user = update_user;
3566
- var delete_user = function () {
3567
- var _ref312 = _asyncToGenerator(function* (sdk, user_id, options) {
3568
- return sdk.delete("/users/".concat(user_id), null, null, options);
3569
- });
3570
- return function delete_user(_x1066, _x1067, _x1068) {
3571
- return _ref312.apply(this, arguments);
3572
- };
3573
- }();
3574
- exports.delete_user = delete_user;
3575
- var user_for_credential = function () {
3576
- var _ref313 = _asyncToGenerator(function* (sdk, credential_type, credential_id, fields, options) {
3577
- credential_type = (0, _sdkRtl.encodeParam)(credential_type);
3578
- credential_id = (0, _sdkRtl.encodeParam)(credential_id);
3579
- return sdk.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
3580
- fields
3581
- }, null, options);
3582
- });
3583
- return function user_for_credential(_x1069, _x1070, _x1071, _x1072, _x1073) {
3584
- return _ref313.apply(this, arguments);
3585
- };
3586
- }();
3587
- exports.user_for_credential = user_for_credential;
3588
- var user_credentials_email = function () {
3589
- var _ref314 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3590
- return sdk.get("/users/".concat(user_id, "/credentials_email"), {
3591
- fields
3592
- }, null, options);
3593
- });
3594
- return function user_credentials_email(_x1074, _x1075, _x1076, _x1077) {
3595
- return _ref314.apply(this, arguments);
3596
- };
3597
- }();
3598
- exports.user_credentials_email = user_credentials_email;
3599
- var create_user_credentials_email = function () {
3600
- var _ref315 = _asyncToGenerator(function* (sdk, user_id, body, fields, options) {
3601
- return sdk.post("/users/".concat(user_id, "/credentials_email"), {
3602
- fields
3603
- }, body, options);
3604
- });
3605
- return function create_user_credentials_email(_x1078, _x1079, _x1080, _x1081, _x1082) {
3606
- return _ref315.apply(this, arguments);
3607
- };
3608
- }();
3609
- exports.create_user_credentials_email = create_user_credentials_email;
3610
- var update_user_credentials_email = function () {
3611
- var _ref316 = _asyncToGenerator(function* (sdk, user_id, body, fields, options) {
3612
- return sdk.patch("/users/".concat(user_id, "/credentials_email"), {
3613
- fields
3614
- }, body, options);
3615
- });
3616
- return function update_user_credentials_email(_x1083, _x1084, _x1085, _x1086, _x1087) {
3617
- return _ref316.apply(this, arguments);
3618
- };
3619
- }();
3620
- exports.update_user_credentials_email = update_user_credentials_email;
3621
- var delete_user_credentials_email = function () {
3622
- var _ref317 = _asyncToGenerator(function* (sdk, user_id, options) {
3623
- return sdk.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
3624
- });
3625
- return function delete_user_credentials_email(_x1088, _x1089, _x1090) {
3626
- return _ref317.apply(this, arguments);
3627
- };
3628
- }();
3629
- exports.delete_user_credentials_email = delete_user_credentials_email;
3630
- var user_credentials_totp = function () {
3631
- var _ref318 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3632
- return sdk.get("/users/".concat(user_id, "/credentials_totp"), {
3633
- fields
3634
- }, null, options);
3635
- });
3636
- return function user_credentials_totp(_x1091, _x1092, _x1093, _x1094) {
3637
- return _ref318.apply(this, arguments);
3638
- };
3639
- }();
3640
- exports.user_credentials_totp = user_credentials_totp;
3641
- var create_user_credentials_totp = function () {
3642
- var _ref319 = _asyncToGenerator(function* (sdk, user_id, body, fields, options) {
3643
- return sdk.post("/users/".concat(user_id, "/credentials_totp"), {
3644
- fields
3645
- }, body, options);
3646
- });
3647
- return function create_user_credentials_totp(_x1095, _x1096, _x1097, _x1098, _x1099) {
3648
- return _ref319.apply(this, arguments);
3649
- };
3650
- }();
3651
- exports.create_user_credentials_totp = create_user_credentials_totp;
3652
- var delete_user_credentials_totp = function () {
3653
- var _ref320 = _asyncToGenerator(function* (sdk, user_id, options) {
3654
- return sdk.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
3655
- });
3656
- return function delete_user_credentials_totp(_x1100, _x1101, _x1102) {
3657
- return _ref320.apply(this, arguments);
3658
- };
3659
- }();
3660
- exports.delete_user_credentials_totp = delete_user_credentials_totp;
3661
- var user_credentials_ldap = function () {
3662
- var _ref321 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3663
- return sdk.get("/users/".concat(user_id, "/credentials_ldap"), {
3664
- fields
3665
- }, null, options);
3666
- });
3667
- return function user_credentials_ldap(_x1103, _x1104, _x1105, _x1106) {
3668
- return _ref321.apply(this, arguments);
3669
- };
3670
- }();
3671
- exports.user_credentials_ldap = user_credentials_ldap;
3672
- var delete_user_credentials_ldap = function () {
3673
- var _ref322 = _asyncToGenerator(function* (sdk, user_id, options) {
3674
- return sdk.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
3675
- });
3676
- return function delete_user_credentials_ldap(_x1107, _x1108, _x1109) {
3677
- return _ref322.apply(this, arguments);
3678
- };
3679
- }();
3680
- exports.delete_user_credentials_ldap = delete_user_credentials_ldap;
3681
- var user_credentials_google = function () {
3682
- var _ref323 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3683
- return sdk.get("/users/".concat(user_id, "/credentials_google"), {
3684
- fields
3685
- }, null, options);
3686
- });
3687
- return function user_credentials_google(_x1110, _x1111, _x1112, _x1113) {
3688
- return _ref323.apply(this, arguments);
3689
- };
3690
- }();
3691
- exports.user_credentials_google = user_credentials_google;
3692
- var delete_user_credentials_google = function () {
3693
- var _ref324 = _asyncToGenerator(function* (sdk, user_id, options) {
3694
- return sdk.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
3695
- });
3696
- return function delete_user_credentials_google(_x1114, _x1115, _x1116) {
3697
- return _ref324.apply(this, arguments);
3698
- };
3699
- }();
3700
- exports.delete_user_credentials_google = delete_user_credentials_google;
3701
- var user_credentials_saml = function () {
3702
- var _ref325 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3703
- return sdk.get("/users/".concat(user_id, "/credentials_saml"), {
3704
- fields
3705
- }, null, options);
3706
- });
3707
- return function user_credentials_saml(_x1117, _x1118, _x1119, _x1120) {
3708
- return _ref325.apply(this, arguments);
3709
- };
3710
- }();
3711
- exports.user_credentials_saml = user_credentials_saml;
3712
- var delete_user_credentials_saml = function () {
3713
- var _ref326 = _asyncToGenerator(function* (sdk, user_id, options) {
3714
- return sdk.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
3715
- });
3716
- return function delete_user_credentials_saml(_x1121, _x1122, _x1123) {
3717
- return _ref326.apply(this, arguments);
3718
- };
3719
- }();
3720
- exports.delete_user_credentials_saml = delete_user_credentials_saml;
3721
- var user_credentials_oidc = function () {
3722
- var _ref327 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3723
- return sdk.get("/users/".concat(user_id, "/credentials_oidc"), {
3724
- fields
3725
- }, null, options);
3726
- });
3727
- return function user_credentials_oidc(_x1124, _x1125, _x1126, _x1127) {
3728
- return _ref327.apply(this, arguments);
3729
- };
3730
- }();
3731
- exports.user_credentials_oidc = user_credentials_oidc;
3732
- var delete_user_credentials_oidc = function () {
3733
- var _ref328 = _asyncToGenerator(function* (sdk, user_id, options) {
3734
- return sdk.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
3735
- });
3736
- return function delete_user_credentials_oidc(_x1128, _x1129, _x1130) {
3737
- return _ref328.apply(this, arguments);
3738
- };
3739
- }();
3740
- exports.delete_user_credentials_oidc = delete_user_credentials_oidc;
3741
- var user_credentials_api3 = function () {
3742
- var _ref329 = _asyncToGenerator(function* (sdk, user_id, credentials_api3_id, fields, options) {
3743
- return sdk.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
3744
- fields
3745
- }, null, options);
3746
- });
3747
- return function user_credentials_api3(_x1131, _x1132, _x1133, _x1134, _x1135) {
3748
- return _ref329.apply(this, arguments);
3749
- };
3750
- }();
3751
- exports.user_credentials_api3 = user_credentials_api3;
3752
- var delete_user_credentials_api3 = function () {
3753
- var _ref330 = _asyncToGenerator(function* (sdk, user_id, credentials_api3_id, options) {
3754
- return sdk.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
3755
- });
3756
- return function delete_user_credentials_api3(_x1136, _x1137, _x1138, _x1139) {
3757
- return _ref330.apply(this, arguments);
3758
- };
3759
- }();
3760
- exports.delete_user_credentials_api3 = delete_user_credentials_api3;
3761
- var all_user_credentials_api3s = function () {
3762
- var _ref331 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3763
- return sdk.get("/users/".concat(user_id, "/credentials_api3"), {
3764
- fields
3765
- }, null, options);
3766
- });
3767
- return function all_user_credentials_api3s(_x1140, _x1141, _x1142, _x1143) {
3768
- return _ref331.apply(this, arguments);
3769
- };
3770
- }();
3771
- exports.all_user_credentials_api3s = all_user_credentials_api3s;
3772
- var create_user_credentials_api3 = function () {
3773
- var _ref332 = _asyncToGenerator(function* (sdk, user_id, body, fields, options) {
3774
- return sdk.post("/users/".concat(user_id, "/credentials_api3"), {
3775
- fields
3776
- }, body, options);
3777
- });
3778
- return function create_user_credentials_api3(_x1144, _x1145, _x1146, _x1147, _x1148) {
3779
- return _ref332.apply(this, arguments);
3780
- };
3781
- }();
3782
- exports.create_user_credentials_api3 = create_user_credentials_api3;
3783
- var user_credentials_embed = function () {
3784
- var _ref333 = _asyncToGenerator(function* (sdk, user_id, credentials_embed_id, fields, options) {
3785
- return sdk.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
3786
- fields
3787
- }, null, options);
3788
- });
3789
- return function user_credentials_embed(_x1149, _x1150, _x1151, _x1152, _x1153) {
3790
- return _ref333.apply(this, arguments);
3791
- };
3792
- }();
3793
- exports.user_credentials_embed = user_credentials_embed;
3794
- var delete_user_credentials_embed = function () {
3795
- var _ref334 = _asyncToGenerator(function* (sdk, user_id, credentials_embed_id, options) {
3796
- return sdk.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
3797
- });
3798
- return function delete_user_credentials_embed(_x1154, _x1155, _x1156, _x1157) {
3799
- return _ref334.apply(this, arguments);
3800
- };
3801
- }();
3802
- exports.delete_user_credentials_embed = delete_user_credentials_embed;
3803
- var all_user_credentials_embeds = function () {
3804
- var _ref335 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3805
- return sdk.get("/users/".concat(user_id, "/credentials_embed"), {
3806
- fields
3807
- }, null, options);
3808
- });
3809
- return function all_user_credentials_embeds(_x1158, _x1159, _x1160, _x1161) {
3810
- return _ref335.apply(this, arguments);
3811
- };
3812
- }();
3813
- exports.all_user_credentials_embeds = all_user_credentials_embeds;
3814
- var user_credentials_looker_openid = function () {
3815
- var _ref336 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3816
- return sdk.get("/users/".concat(user_id, "/credentials_looker_openid"), {
3817
- fields
3818
- }, null, options);
3819
- });
3820
- return function user_credentials_looker_openid(_x1162, _x1163, _x1164, _x1165) {
3821
- return _ref336.apply(this, arguments);
3822
- };
3823
- }();
3824
- exports.user_credentials_looker_openid = user_credentials_looker_openid;
3825
- var delete_user_credentials_looker_openid = function () {
3826
- var _ref337 = _asyncToGenerator(function* (sdk, user_id, options) {
3827
- return sdk.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
3828
- });
3829
- return function delete_user_credentials_looker_openid(_x1166, _x1167, _x1168) {
3830
- return _ref337.apply(this, arguments);
3831
- };
3832
- }();
3833
- exports.delete_user_credentials_looker_openid = delete_user_credentials_looker_openid;
3834
- var user_session = function () {
3835
- var _ref338 = _asyncToGenerator(function* (sdk, user_id, session_id, fields, options) {
3836
- return sdk.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
3837
- fields
3838
- }, null, options);
3839
- });
3840
- return function user_session(_x1169, _x1170, _x1171, _x1172, _x1173) {
3841
- return _ref338.apply(this, arguments);
3842
- };
3843
- }();
3844
- exports.user_session = user_session;
3845
- var delete_user_session = function () {
3846
- var _ref339 = _asyncToGenerator(function* (sdk, user_id, session_id, options) {
3847
- return sdk.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
3848
- });
3849
- return function delete_user_session(_x1174, _x1175, _x1176, _x1177) {
3850
- return _ref339.apply(this, arguments);
3851
- };
3852
- }();
3853
- exports.delete_user_session = delete_user_session;
3854
- var all_user_sessions = function () {
3855
- var _ref340 = _asyncToGenerator(function* (sdk, user_id, fields, options) {
3856
- return sdk.get("/users/".concat(user_id, "/sessions"), {
3857
- fields
3858
- }, null, options);
3859
- });
3860
- return function all_user_sessions(_x1178, _x1179, _x1180, _x1181) {
3861
- return _ref340.apply(this, arguments);
3862
- };
3863
- }();
3864
- exports.all_user_sessions = all_user_sessions;
3865
- var create_user_credentials_email_password_reset = function () {
3866
- var _ref341 = _asyncToGenerator(function* (sdk, request, options) {
3867
- return sdk.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
3868
- expires: request.expires,
3869
- fields: request.fields
3870
- }, null, options);
3871
- });
3872
- return function create_user_credentials_email_password_reset(_x1182, _x1183, _x1184) {
3873
- return _ref341.apply(this, arguments);
3874
- };
3875
- }();
3876
- exports.create_user_credentials_email_password_reset = create_user_credentials_email_password_reset;
3877
- var user_roles = function () {
3878
- var _ref342 = _asyncToGenerator(function* (sdk, request, options) {
3879
- return sdk.get("/users/".concat(request.user_id, "/roles"), {
3880
- fields: request.fields,
3881
- direct_association_only: request.direct_association_only
3882
- }, null, options);
3883
- });
3884
- return function user_roles(_x1185, _x1186, _x1187) {
3885
- return _ref342.apply(this, arguments);
3886
- };
3887
- }();
3888
- exports.user_roles = user_roles;
3889
- var set_user_roles = function () {
3890
- var _ref343 = _asyncToGenerator(function* (sdk, user_id, body, fields, options) {
3891
- return sdk.put("/users/".concat(user_id, "/roles"), {
3892
- fields
3893
- }, body, options);
3894
- });
3895
- return function set_user_roles(_x1188, _x1189, _x1190, _x1191, _x1192) {
3896
- return _ref343.apply(this, arguments);
3897
- };
3898
- }();
3899
- exports.set_user_roles = set_user_roles;
3900
- var user_attribute_user_values = function () {
3901
- var _ref344 = _asyncToGenerator(function* (sdk, request, options) {
3902
- return sdk.get("/users/".concat(request.user_id, "/attribute_values"), {
3903
- fields: request.fields,
3904
- user_attribute_ids: request.user_attribute_ids,
3905
- all_values: request.all_values,
3906
- include_unset: request.include_unset
3907
- }, null, options);
3908
- });
3909
- return function user_attribute_user_values(_x1193, _x1194, _x1195) {
3910
- return _ref344.apply(this, arguments);
3911
- };
3912
- }();
3913
- exports.user_attribute_user_values = user_attribute_user_values;
3914
- var set_user_attribute_user_value = function () {
3915
- var _ref345 = _asyncToGenerator(function* (sdk, user_id, user_attribute_id, body, options) {
3916
- return sdk.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
3917
- });
3918
- return function set_user_attribute_user_value(_x1196, _x1197, _x1198, _x1199, _x1200) {
3919
- return _ref345.apply(this, arguments);
3920
- };
3921
- }();
3922
- exports.set_user_attribute_user_value = set_user_attribute_user_value;
3923
- var delete_user_attribute_user_value = function () {
3924
- var _ref346 = _asyncToGenerator(function* (sdk, user_id, user_attribute_id, options) {
3925
- return sdk.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
3926
- });
3927
- return function delete_user_attribute_user_value(_x1201, _x1202, _x1203, _x1204) {
3928
- return _ref346.apply(this, arguments);
3929
- };
3930
- }();
3931
- exports.delete_user_attribute_user_value = delete_user_attribute_user_value;
3932
- var all_user_attributes = function () {
3933
- var _ref347 = _asyncToGenerator(function* (sdk, request, options) {
3934
- return sdk.get('/user_attributes', {
3935
- fields: request.fields,
3936
- sorts: request.sorts
3937
- }, null, options);
3938
- });
3939
- return function all_user_attributes(_x1205, _x1206, _x1207) {
3940
- return _ref347.apply(this, arguments);
3941
- };
3942
- }();
3943
- exports.all_user_attributes = all_user_attributes;
3944
- var create_user_attribute = function () {
3945
- var _ref348 = _asyncToGenerator(function* (sdk, body, fields, options) {
3946
- return sdk.post('/user_attributes', {
3947
- fields
3948
- }, body, options);
3949
- });
3950
- return function create_user_attribute(_x1208, _x1209, _x1210, _x1211) {
3951
- return _ref348.apply(this, arguments);
3952
- };
3953
- }();
3954
- exports.create_user_attribute = create_user_attribute;
3955
- var user_attribute = function () {
3956
- var _ref349 = _asyncToGenerator(function* (sdk, user_attribute_id, fields, options) {
3957
- return sdk.get("/user_attributes/".concat(user_attribute_id), {
3958
- fields
3959
- }, null, options);
3960
- });
3961
- return function user_attribute(_x1212, _x1213, _x1214, _x1215) {
3962
- return _ref349.apply(this, arguments);
3963
- };
3964
- }();
3965
- exports.user_attribute = user_attribute;
3966
- var update_user_attribute = function () {
3967
- var _ref350 = _asyncToGenerator(function* (sdk, user_attribute_id, body, fields, options) {
3968
- return sdk.patch("/user_attributes/".concat(user_attribute_id), {
3969
- fields
3970
- }, body, options);
3971
- });
3972
- return function update_user_attribute(_x1216, _x1217, _x1218, _x1219, _x1220) {
3973
- return _ref350.apply(this, arguments);
3974
- };
3975
- }();
3976
- exports.update_user_attribute = update_user_attribute;
3977
- var delete_user_attribute = function () {
3978
- var _ref351 = _asyncToGenerator(function* (sdk, user_attribute_id, options) {
3979
- return sdk.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
3980
- });
3981
- return function delete_user_attribute(_x1221, _x1222, _x1223) {
3982
- return _ref351.apply(this, arguments);
3983
- };
3984
- }();
3985
- exports.delete_user_attribute = delete_user_attribute;
3986
- var all_user_attribute_group_values = function () {
3987
- var _ref352 = _asyncToGenerator(function* (sdk, user_attribute_id, fields, options) {
3988
- return sdk.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
3989
- fields
3990
- }, null, options);
3991
- });
3992
- return function all_user_attribute_group_values(_x1224, _x1225, _x1226, _x1227) {
3993
- return _ref352.apply(this, arguments);
3994
- };
3995
- }();
3996
- exports.all_user_attribute_group_values = all_user_attribute_group_values;
3997
- var set_user_attribute_group_values = function () {
3998
- var _ref353 = _asyncToGenerator(function* (sdk, user_attribute_id, body, options) {
3999
- return sdk.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
4000
- });
4001
- return function set_user_attribute_group_values(_x1228, _x1229, _x1230, _x1231) {
4002
- return _ref353.apply(this, arguments);
4003
- };
4004
- }();
4005
- exports.set_user_attribute_group_values = set_user_attribute_group_values;
4006
- var all_workspaces = function () {
4007
- var _ref354 = _asyncToGenerator(function* (sdk, options) {
4008
- return sdk.get('/workspaces', null, null, options);
4009
- });
4010
- return function all_workspaces(_x1232, _x1233) {
4011
- return _ref354.apply(this, arguments);
4012
- };
4013
- }();
4014
- exports.all_workspaces = all_workspaces;
4015
- var workspace = function () {
4016
- var _ref355 = _asyncToGenerator(function* (sdk, workspace_id, options) {
4017
- workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
4018
- return sdk.get("/workspaces/".concat(workspace_id), null, null, options);
4019
- });
4020
- return function workspace(_x1234, _x1235, _x1236) {
4021
- return _ref355.apply(this, arguments);
4022
- };
4023
- }();
4024
- exports.workspace = workspace;
4025
- //# sourceMappingURL=funcs.js.map