@looker/sdk 23.16.0 → 23.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -3
- package/lib/4.0/funcs.d.ts +6 -6
- package/lib/4.0/funcs.js +377 -379
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +6 -6
- package/lib/4.0/methods.js +250 -252
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +6 -6
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +55 -5
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +5 -5
- package/lib/4.0/streams.js +250 -252
- package/lib/4.0/streams.js.map +1 -1
- package/lib/browserSdk.d.ts +0 -2
- package/lib/browserSdk.js +2 -9
- package/lib/browserSdk.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1105 -1551
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +555 -564
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js +22 -50
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +555 -564
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js +8 -23
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +2 -10
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js +5 -12
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js +9 -141
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.d.ts +0 -8
- package/lib/index.js +15 -56
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/3.1/funcs.d.ts +0 -358
- package/lib/3.1/funcs.js +0 -4025
- package/lib/3.1/funcs.js.map +0 -1
- package/lib/3.1/methods.d.ts +0 -363
- package/lib/3.1/methods.js +0 -2965
- package/lib/3.1/methods.js.map +0 -1
- package/lib/3.1/methodsInterface.d.ts +0 -359
- package/lib/3.1/methodsInterface.js +0 -2
- package/lib/3.1/methodsInterface.js.map +0 -1
- package/lib/3.1/models.d.ts +0 -3263
- package/lib/3.1/models.js +0 -159
- package/lib/3.1/models.js.map +0 -1
- package/lib/3.1/streams.d.ts +0 -363
- package/lib/3.1/streams.js +0 -2965
- package/lib/3.1/streams.js.map +0 -1
- package/lib/esm/3.1/funcs.js +0 -4025
- package/lib/esm/3.1/funcs.js.map +0 -1
- package/lib/esm/3.1/methods.js +0 -2965
- package/lib/esm/3.1/methods.js.map +0 -1
- package/lib/esm/3.1/methodsInterface.js +0 -2
- package/lib/esm/3.1/methodsInterface.js.map +0 -1
- package/lib/esm/3.1/models.js +0 -159
- package/lib/esm/3.1/models.js.map +0 -1
- package/lib/esm/3.1/streams.js +0 -2965
- package/lib/esm/3.1/streams.js.map +0 -1
package/lib/3.1/methods.js
DELETED
|
@@ -1,2965 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Looker31SDK = void 0;
|
|
7
|
-
var _sdkRtl = require("@looker/sdk-rtl");
|
|
8
|
-
var _constants = require("../constants");
|
|
9
|
-
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); } }
|
|
10
|
-
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); }); }; }
|
|
11
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
13
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
14
|
-
class Looker31SDK extends _sdkRtl.APIMethods {
|
|
15
|
-
constructor(authSession) {
|
|
16
|
-
super(authSession, _constants.sdkVersion);
|
|
17
|
-
this.apiVersion = Looker31SDK.ApiVersion;
|
|
18
|
-
this.apiPath = authSession.settings.base_url === '' ? '' : authSession.settings.base_url + '/api/' + this.apiVersion;
|
|
19
|
-
}
|
|
20
|
-
login(request, options) {
|
|
21
|
-
var _this = this;
|
|
22
|
-
return _asyncToGenerator(function* () {
|
|
23
|
-
return _this.post('/login', {
|
|
24
|
-
client_id: request.client_id,
|
|
25
|
-
client_secret: request.client_secret
|
|
26
|
-
}, null, options);
|
|
27
|
-
})();
|
|
28
|
-
}
|
|
29
|
-
login_user(user_id, associative, options) {
|
|
30
|
-
var _this2 = this;
|
|
31
|
-
return _asyncToGenerator(function* () {
|
|
32
|
-
return _this2.post("/login/".concat(user_id), {
|
|
33
|
-
associative
|
|
34
|
-
}, null, options);
|
|
35
|
-
})();
|
|
36
|
-
}
|
|
37
|
-
logout(options) {
|
|
38
|
-
var _this3 = this;
|
|
39
|
-
return _asyncToGenerator(function* () {
|
|
40
|
-
return _this3.delete('/logout', null, null, options);
|
|
41
|
-
})();
|
|
42
|
-
}
|
|
43
|
-
create_sso_embed_url(body, options) {
|
|
44
|
-
var _this4 = this;
|
|
45
|
-
return _asyncToGenerator(function* () {
|
|
46
|
-
return _this4.post('/embed/sso_url', null, body, options);
|
|
47
|
-
})();
|
|
48
|
-
}
|
|
49
|
-
ldap_config(options) {
|
|
50
|
-
var _this5 = this;
|
|
51
|
-
return _asyncToGenerator(function* () {
|
|
52
|
-
return _this5.get('/ldap_config', null, null, options);
|
|
53
|
-
})();
|
|
54
|
-
}
|
|
55
|
-
update_ldap_config(body, options) {
|
|
56
|
-
var _this6 = this;
|
|
57
|
-
return _asyncToGenerator(function* () {
|
|
58
|
-
return _this6.patch('/ldap_config', null, body, options);
|
|
59
|
-
})();
|
|
60
|
-
}
|
|
61
|
-
test_ldap_config_connection(body, options) {
|
|
62
|
-
var _this7 = this;
|
|
63
|
-
return _asyncToGenerator(function* () {
|
|
64
|
-
return _this7.put('/ldap_config/test_connection', null, body, options);
|
|
65
|
-
})();
|
|
66
|
-
}
|
|
67
|
-
test_ldap_config_auth(body, options) {
|
|
68
|
-
var _this8 = this;
|
|
69
|
-
return _asyncToGenerator(function* () {
|
|
70
|
-
return _this8.put('/ldap_config/test_auth', null, body, options);
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
|
-
test_ldap_config_user_info(body, options) {
|
|
74
|
-
var _this9 = this;
|
|
75
|
-
return _asyncToGenerator(function* () {
|
|
76
|
-
return _this9.put('/ldap_config/test_user_info', null, body, options);
|
|
77
|
-
})();
|
|
78
|
-
}
|
|
79
|
-
test_ldap_config_user_auth(body, options) {
|
|
80
|
-
var _this10 = this;
|
|
81
|
-
return _asyncToGenerator(function* () {
|
|
82
|
-
return _this10.put('/ldap_config/test_user_auth', null, body, options);
|
|
83
|
-
})();
|
|
84
|
-
}
|
|
85
|
-
oidc_config(options) {
|
|
86
|
-
var _this11 = this;
|
|
87
|
-
return _asyncToGenerator(function* () {
|
|
88
|
-
return _this11.get('/oidc_config', null, null, options);
|
|
89
|
-
})();
|
|
90
|
-
}
|
|
91
|
-
update_oidc_config(body, options) {
|
|
92
|
-
var _this12 = this;
|
|
93
|
-
return _asyncToGenerator(function* () {
|
|
94
|
-
return _this12.patch('/oidc_config', null, body, options);
|
|
95
|
-
})();
|
|
96
|
-
}
|
|
97
|
-
oidc_test_config(test_slug, options) {
|
|
98
|
-
var _this13 = this;
|
|
99
|
-
return _asyncToGenerator(function* () {
|
|
100
|
-
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
101
|
-
return _this13.get("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
102
|
-
})();
|
|
103
|
-
}
|
|
104
|
-
delete_oidc_test_config(test_slug, options) {
|
|
105
|
-
var _this14 = this;
|
|
106
|
-
return _asyncToGenerator(function* () {
|
|
107
|
-
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
108
|
-
return _this14.delete("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
109
|
-
})();
|
|
110
|
-
}
|
|
111
|
-
create_oidc_test_config(body, options) {
|
|
112
|
-
var _this15 = this;
|
|
113
|
-
return _asyncToGenerator(function* () {
|
|
114
|
-
return _this15.post('/oidc_test_configs', null, body, options);
|
|
115
|
-
})();
|
|
116
|
-
}
|
|
117
|
-
password_config(options) {
|
|
118
|
-
var _this16 = this;
|
|
119
|
-
return _asyncToGenerator(function* () {
|
|
120
|
-
return _this16.get('/password_config', null, null, options);
|
|
121
|
-
})();
|
|
122
|
-
}
|
|
123
|
-
update_password_config(body, options) {
|
|
124
|
-
var _this17 = this;
|
|
125
|
-
return _asyncToGenerator(function* () {
|
|
126
|
-
return _this17.patch('/password_config', null, body, options);
|
|
127
|
-
})();
|
|
128
|
-
}
|
|
129
|
-
force_password_reset_at_next_login_for_all_users(options) {
|
|
130
|
-
var _this18 = this;
|
|
131
|
-
return _asyncToGenerator(function* () {
|
|
132
|
-
return _this18.put('/password_config/force_password_reset_at_next_login_for_all_users', null, null, options);
|
|
133
|
-
})();
|
|
134
|
-
}
|
|
135
|
-
saml_config(options) {
|
|
136
|
-
var _this19 = this;
|
|
137
|
-
return _asyncToGenerator(function* () {
|
|
138
|
-
return _this19.get('/saml_config', null, null, options);
|
|
139
|
-
})();
|
|
140
|
-
}
|
|
141
|
-
update_saml_config(body, options) {
|
|
142
|
-
var _this20 = this;
|
|
143
|
-
return _asyncToGenerator(function* () {
|
|
144
|
-
return _this20.patch('/saml_config', null, body, options);
|
|
145
|
-
})();
|
|
146
|
-
}
|
|
147
|
-
saml_test_config(test_slug, options) {
|
|
148
|
-
var _this21 = this;
|
|
149
|
-
return _asyncToGenerator(function* () {
|
|
150
|
-
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
151
|
-
return _this21.get("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
152
|
-
})();
|
|
153
|
-
}
|
|
154
|
-
delete_saml_test_config(test_slug, options) {
|
|
155
|
-
var _this22 = this;
|
|
156
|
-
return _asyncToGenerator(function* () {
|
|
157
|
-
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
158
|
-
return _this22.delete("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
159
|
-
})();
|
|
160
|
-
}
|
|
161
|
-
create_saml_test_config(body, options) {
|
|
162
|
-
var _this23 = this;
|
|
163
|
-
return _asyncToGenerator(function* () {
|
|
164
|
-
return _this23.post('/saml_test_configs', null, body, options);
|
|
165
|
-
})();
|
|
166
|
-
}
|
|
167
|
-
parse_saml_idp_metadata(body, options) {
|
|
168
|
-
var _this24 = this;
|
|
169
|
-
return _asyncToGenerator(function* () {
|
|
170
|
-
return _this24.post('/parse_saml_idp_metadata', null, body, options);
|
|
171
|
-
})();
|
|
172
|
-
}
|
|
173
|
-
fetch_and_parse_saml_idp_metadata(body, options) {
|
|
174
|
-
var _this25 = this;
|
|
175
|
-
return _asyncToGenerator(function* () {
|
|
176
|
-
return _this25.post('/fetch_and_parse_saml_idp_metadata', null, body, options);
|
|
177
|
-
})();
|
|
178
|
-
}
|
|
179
|
-
session_config(options) {
|
|
180
|
-
var _this26 = this;
|
|
181
|
-
return _asyncToGenerator(function* () {
|
|
182
|
-
return _this26.get('/session_config', null, null, options);
|
|
183
|
-
})();
|
|
184
|
-
}
|
|
185
|
-
update_session_config(body, options) {
|
|
186
|
-
var _this27 = this;
|
|
187
|
-
return _asyncToGenerator(function* () {
|
|
188
|
-
return _this27.patch('/session_config', null, body, options);
|
|
189
|
-
})();
|
|
190
|
-
}
|
|
191
|
-
all_user_login_lockouts(fields, options) {
|
|
192
|
-
var _this28 = this;
|
|
193
|
-
return _asyncToGenerator(function* () {
|
|
194
|
-
return _this28.get('/user_login_lockouts', {
|
|
195
|
-
fields
|
|
196
|
-
}, null, options);
|
|
197
|
-
})();
|
|
198
|
-
}
|
|
199
|
-
search_user_login_lockouts(request, options) {
|
|
200
|
-
var _this29 = this;
|
|
201
|
-
return _asyncToGenerator(function* () {
|
|
202
|
-
return _this29.get('/user_login_lockouts/search', {
|
|
203
|
-
fields: request.fields,
|
|
204
|
-
page: request.page,
|
|
205
|
-
per_page: request.per_page,
|
|
206
|
-
sorts: request.sorts,
|
|
207
|
-
auth_type: request.auth_type,
|
|
208
|
-
full_name: request.full_name,
|
|
209
|
-
email: request.email,
|
|
210
|
-
remote_id: request.remote_id,
|
|
211
|
-
filter_or: request.filter_or
|
|
212
|
-
}, null, options);
|
|
213
|
-
})();
|
|
214
|
-
}
|
|
215
|
-
delete_user_login_lockout(key, options) {
|
|
216
|
-
var _this30 = this;
|
|
217
|
-
return _asyncToGenerator(function* () {
|
|
218
|
-
key = (0, _sdkRtl.encodeParam)(key);
|
|
219
|
-
return _this30.delete("/user_login_lockout/".concat(key), null, null, options);
|
|
220
|
-
})();
|
|
221
|
-
}
|
|
222
|
-
all_color_collections(fields, options) {
|
|
223
|
-
var _this31 = this;
|
|
224
|
-
return _asyncToGenerator(function* () {
|
|
225
|
-
return _this31.get('/color_collections', {
|
|
226
|
-
fields
|
|
227
|
-
}, null, options);
|
|
228
|
-
})();
|
|
229
|
-
}
|
|
230
|
-
create_color_collection(body, options) {
|
|
231
|
-
var _this32 = this;
|
|
232
|
-
return _asyncToGenerator(function* () {
|
|
233
|
-
return _this32.post('/color_collections', null, body, options);
|
|
234
|
-
})();
|
|
235
|
-
}
|
|
236
|
-
color_collections_custom(fields, options) {
|
|
237
|
-
var _this33 = this;
|
|
238
|
-
return _asyncToGenerator(function* () {
|
|
239
|
-
return _this33.get('/color_collections/custom', {
|
|
240
|
-
fields
|
|
241
|
-
}, null, options);
|
|
242
|
-
})();
|
|
243
|
-
}
|
|
244
|
-
color_collections_standard(fields, options) {
|
|
245
|
-
var _this34 = this;
|
|
246
|
-
return _asyncToGenerator(function* () {
|
|
247
|
-
return _this34.get('/color_collections/standard', {
|
|
248
|
-
fields
|
|
249
|
-
}, null, options);
|
|
250
|
-
})();
|
|
251
|
-
}
|
|
252
|
-
default_color_collection(options) {
|
|
253
|
-
var _this35 = this;
|
|
254
|
-
return _asyncToGenerator(function* () {
|
|
255
|
-
return _this35.get('/color_collections/default', null, null, options);
|
|
256
|
-
})();
|
|
257
|
-
}
|
|
258
|
-
set_default_color_collection(collection_id, options) {
|
|
259
|
-
var _this36 = this;
|
|
260
|
-
return _asyncToGenerator(function* () {
|
|
261
|
-
return _this36.put('/color_collections/default', {
|
|
262
|
-
collection_id
|
|
263
|
-
}, null, options);
|
|
264
|
-
})();
|
|
265
|
-
}
|
|
266
|
-
color_collection(collection_id, fields, options) {
|
|
267
|
-
var _this37 = this;
|
|
268
|
-
return _asyncToGenerator(function* () {
|
|
269
|
-
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
270
|
-
return _this37.get("/color_collections/".concat(collection_id), {
|
|
271
|
-
fields
|
|
272
|
-
}, null, options);
|
|
273
|
-
})();
|
|
274
|
-
}
|
|
275
|
-
update_color_collection(collection_id, body, options) {
|
|
276
|
-
var _this38 = this;
|
|
277
|
-
return _asyncToGenerator(function* () {
|
|
278
|
-
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
279
|
-
return _this38.patch("/color_collections/".concat(collection_id), null, body, options);
|
|
280
|
-
})();
|
|
281
|
-
}
|
|
282
|
-
delete_color_collection(collection_id, options) {
|
|
283
|
-
var _this39 = this;
|
|
284
|
-
return _asyncToGenerator(function* () {
|
|
285
|
-
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
286
|
-
return _this39.delete("/color_collections/".concat(collection_id), null, null, options);
|
|
287
|
-
})();
|
|
288
|
-
}
|
|
289
|
-
backup_configuration(options) {
|
|
290
|
-
var _this40 = this;
|
|
291
|
-
return _asyncToGenerator(function* () {
|
|
292
|
-
return _this40.get('/backup_configuration', null, null, options);
|
|
293
|
-
})();
|
|
294
|
-
}
|
|
295
|
-
update_backup_configuration(body, options) {
|
|
296
|
-
var _this41 = this;
|
|
297
|
-
return _asyncToGenerator(function* () {
|
|
298
|
-
return _this41.patch('/backup_configuration', null, body, options);
|
|
299
|
-
})();
|
|
300
|
-
}
|
|
301
|
-
cloud_storage_configuration(options) {
|
|
302
|
-
var _this42 = this;
|
|
303
|
-
return _asyncToGenerator(function* () {
|
|
304
|
-
return _this42.get('/cloud_storage', null, null, options);
|
|
305
|
-
})();
|
|
306
|
-
}
|
|
307
|
-
update_cloud_storage_configuration(body, options) {
|
|
308
|
-
var _this43 = this;
|
|
309
|
-
return _asyncToGenerator(function* () {
|
|
310
|
-
return _this43.patch('/cloud_storage', null, body, options);
|
|
311
|
-
})();
|
|
312
|
-
}
|
|
313
|
-
custom_welcome_email(options) {
|
|
314
|
-
var _this44 = this;
|
|
315
|
-
return _asyncToGenerator(function* () {
|
|
316
|
-
return _this44.get('/custom_welcome_email', null, null, options);
|
|
317
|
-
})();
|
|
318
|
-
}
|
|
319
|
-
update_custom_welcome_email(body, send_test_welcome_email, options) {
|
|
320
|
-
var _this45 = this;
|
|
321
|
-
return _asyncToGenerator(function* () {
|
|
322
|
-
return _this45.patch('/custom_welcome_email', {
|
|
323
|
-
send_test_welcome_email
|
|
324
|
-
}, body, options);
|
|
325
|
-
})();
|
|
326
|
-
}
|
|
327
|
-
update_custom_welcome_email_test(body, options) {
|
|
328
|
-
var _this46 = this;
|
|
329
|
-
return _asyncToGenerator(function* () {
|
|
330
|
-
return _this46.put('/custom_welcome_email_test', null, body, options);
|
|
331
|
-
})();
|
|
332
|
-
}
|
|
333
|
-
digest_emails_enabled(options) {
|
|
334
|
-
var _this47 = this;
|
|
335
|
-
return _asyncToGenerator(function* () {
|
|
336
|
-
return _this47.get('/digest_emails_enabled', null, null, options);
|
|
337
|
-
})();
|
|
338
|
-
}
|
|
339
|
-
update_digest_emails_enabled(body, options) {
|
|
340
|
-
var _this48 = this;
|
|
341
|
-
return _asyncToGenerator(function* () {
|
|
342
|
-
return _this48.patch('/digest_emails_enabled', null, body, options);
|
|
343
|
-
})();
|
|
344
|
-
}
|
|
345
|
-
create_digest_email_send(options) {
|
|
346
|
-
var _this49 = this;
|
|
347
|
-
return _asyncToGenerator(function* () {
|
|
348
|
-
return _this49.post('/digest_email_send', null, null, options);
|
|
349
|
-
})();
|
|
350
|
-
}
|
|
351
|
-
internal_help_resources_content(options) {
|
|
352
|
-
var _this50 = this;
|
|
353
|
-
return _asyncToGenerator(function* () {
|
|
354
|
-
return _this50.get('/internal_help_resources_content', null, null, options);
|
|
355
|
-
})();
|
|
356
|
-
}
|
|
357
|
-
update_internal_help_resources_content(body, options) {
|
|
358
|
-
var _this51 = this;
|
|
359
|
-
return _asyncToGenerator(function* () {
|
|
360
|
-
return _this51.patch('/internal_help_resources_content', null, body, options);
|
|
361
|
-
})();
|
|
362
|
-
}
|
|
363
|
-
internal_help_resources(options) {
|
|
364
|
-
var _this52 = this;
|
|
365
|
-
return _asyncToGenerator(function* () {
|
|
366
|
-
return _this52.get('/internal_help_resources_enabled', null, null, options);
|
|
367
|
-
})();
|
|
368
|
-
}
|
|
369
|
-
update_internal_help_resources(body, options) {
|
|
370
|
-
var _this53 = this;
|
|
371
|
-
return _asyncToGenerator(function* () {
|
|
372
|
-
return _this53.patch('/internal_help_resources', null, body, options);
|
|
373
|
-
})();
|
|
374
|
-
}
|
|
375
|
-
all_legacy_features(options) {
|
|
376
|
-
var _this54 = this;
|
|
377
|
-
return _asyncToGenerator(function* () {
|
|
378
|
-
return _this54.get('/legacy_features', null, null, options);
|
|
379
|
-
})();
|
|
380
|
-
}
|
|
381
|
-
legacy_feature(legacy_feature_id, options) {
|
|
382
|
-
var _this55 = this;
|
|
383
|
-
return _asyncToGenerator(function* () {
|
|
384
|
-
return _this55.get("/legacy_features/".concat(legacy_feature_id), null, null, options);
|
|
385
|
-
})();
|
|
386
|
-
}
|
|
387
|
-
update_legacy_feature(legacy_feature_id, body, options) {
|
|
388
|
-
var _this56 = this;
|
|
389
|
-
return _asyncToGenerator(function* () {
|
|
390
|
-
return _this56.patch("/legacy_features/".concat(legacy_feature_id), null, body, options);
|
|
391
|
-
})();
|
|
392
|
-
}
|
|
393
|
-
all_locales(options) {
|
|
394
|
-
var _this57 = this;
|
|
395
|
-
return _asyncToGenerator(function* () {
|
|
396
|
-
return _this57.get('/locales', null, null, options);
|
|
397
|
-
})();
|
|
398
|
-
}
|
|
399
|
-
set_smtp_settings(body, options) {
|
|
400
|
-
var _this58 = this;
|
|
401
|
-
return _asyncToGenerator(function* () {
|
|
402
|
-
return _this58.post('/smtp_settings', null, body, options);
|
|
403
|
-
})();
|
|
404
|
-
}
|
|
405
|
-
all_timezones(options) {
|
|
406
|
-
var _this59 = this;
|
|
407
|
-
return _asyncToGenerator(function* () {
|
|
408
|
-
return _this59.get('/timezones', null, null, options);
|
|
409
|
-
})();
|
|
410
|
-
}
|
|
411
|
-
versions(fields, options) {
|
|
412
|
-
var _this60 = this;
|
|
413
|
-
return _asyncToGenerator(function* () {
|
|
414
|
-
return _this60.get('/versions', {
|
|
415
|
-
fields
|
|
416
|
-
}, null, options);
|
|
417
|
-
})();
|
|
418
|
-
}
|
|
419
|
-
whitelabel_configuration(fields, options) {
|
|
420
|
-
var _this61 = this;
|
|
421
|
-
return _asyncToGenerator(function* () {
|
|
422
|
-
return _this61.get('/whitelabel_configuration', {
|
|
423
|
-
fields
|
|
424
|
-
}, null, options);
|
|
425
|
-
})();
|
|
426
|
-
}
|
|
427
|
-
update_whitelabel_configuration(body, options) {
|
|
428
|
-
var _this62 = this;
|
|
429
|
-
return _asyncToGenerator(function* () {
|
|
430
|
-
return _this62.put('/whitelabel_configuration', null, body, options);
|
|
431
|
-
})();
|
|
432
|
-
}
|
|
433
|
-
all_connections(fields, options) {
|
|
434
|
-
var _this63 = this;
|
|
435
|
-
return _asyncToGenerator(function* () {
|
|
436
|
-
return _this63.get('/connections', {
|
|
437
|
-
fields
|
|
438
|
-
}, null, options);
|
|
439
|
-
})();
|
|
440
|
-
}
|
|
441
|
-
create_connection(body, options) {
|
|
442
|
-
var _this64 = this;
|
|
443
|
-
return _asyncToGenerator(function* () {
|
|
444
|
-
return _this64.post('/connections', null, body, options);
|
|
445
|
-
})();
|
|
446
|
-
}
|
|
447
|
-
connection(connection_name, fields, options) {
|
|
448
|
-
var _this65 = this;
|
|
449
|
-
return _asyncToGenerator(function* () {
|
|
450
|
-
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
451
|
-
return _this65.get("/connections/".concat(connection_name), {
|
|
452
|
-
fields
|
|
453
|
-
}, null, options);
|
|
454
|
-
})();
|
|
455
|
-
}
|
|
456
|
-
update_connection(connection_name, body, options) {
|
|
457
|
-
var _this66 = this;
|
|
458
|
-
return _asyncToGenerator(function* () {
|
|
459
|
-
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
460
|
-
return _this66.patch("/connections/".concat(connection_name), null, body, options);
|
|
461
|
-
})();
|
|
462
|
-
}
|
|
463
|
-
delete_connection(connection_name, options) {
|
|
464
|
-
var _this67 = this;
|
|
465
|
-
return _asyncToGenerator(function* () {
|
|
466
|
-
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
467
|
-
return _this67.delete("/connections/".concat(connection_name), null, null, options);
|
|
468
|
-
})();
|
|
469
|
-
}
|
|
470
|
-
delete_connection_override(connection_name, override_context, options) {
|
|
471
|
-
var _this68 = this;
|
|
472
|
-
return _asyncToGenerator(function* () {
|
|
473
|
-
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
474
|
-
override_context = (0, _sdkRtl.encodeParam)(override_context);
|
|
475
|
-
return _this68.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
476
|
-
})();
|
|
477
|
-
}
|
|
478
|
-
test_connection(connection_name, tests, options) {
|
|
479
|
-
var _this69 = this;
|
|
480
|
-
return _asyncToGenerator(function* () {
|
|
481
|
-
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
482
|
-
return _this69.put("/connections/".concat(connection_name, "/test"), {
|
|
483
|
-
tests
|
|
484
|
-
}, null, options);
|
|
485
|
-
})();
|
|
486
|
-
}
|
|
487
|
-
test_connection_config(body, tests, options) {
|
|
488
|
-
var _this70 = this;
|
|
489
|
-
return _asyncToGenerator(function* () {
|
|
490
|
-
return _this70.put('/connections/test', {
|
|
491
|
-
tests
|
|
492
|
-
}, body, options);
|
|
493
|
-
})();
|
|
494
|
-
}
|
|
495
|
-
all_dialect_infos(fields, options) {
|
|
496
|
-
var _this71 = this;
|
|
497
|
-
return _asyncToGenerator(function* () {
|
|
498
|
-
return _this71.get('/dialect_info', {
|
|
499
|
-
fields
|
|
500
|
-
}, null, options);
|
|
501
|
-
})();
|
|
502
|
-
}
|
|
503
|
-
search_content_favorites(request, options) {
|
|
504
|
-
var _this72 = this;
|
|
505
|
-
return _asyncToGenerator(function* () {
|
|
506
|
-
return _this72.get('/content_favorite/search', {
|
|
507
|
-
id: request.id,
|
|
508
|
-
user_id: request.user_id,
|
|
509
|
-
content_metadata_id: request.content_metadata_id,
|
|
510
|
-
dashboard_id: request.dashboard_id,
|
|
511
|
-
look_id: request.look_id,
|
|
512
|
-
limit: request.limit,
|
|
513
|
-
offset: request.offset,
|
|
514
|
-
sorts: request.sorts,
|
|
515
|
-
fields: request.fields,
|
|
516
|
-
filter_or: request.filter_or
|
|
517
|
-
}, null, options);
|
|
518
|
-
})();
|
|
519
|
-
}
|
|
520
|
-
content_favorite(content_favorite_id, fields, options) {
|
|
521
|
-
var _this73 = this;
|
|
522
|
-
return _asyncToGenerator(function* () {
|
|
523
|
-
return _this73.get("/content_favorite/".concat(content_favorite_id), {
|
|
524
|
-
fields
|
|
525
|
-
}, null, options);
|
|
526
|
-
})();
|
|
527
|
-
}
|
|
528
|
-
delete_content_favorite(content_favorite_id, options) {
|
|
529
|
-
var _this74 = this;
|
|
530
|
-
return _asyncToGenerator(function* () {
|
|
531
|
-
return _this74.delete("/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
532
|
-
})();
|
|
533
|
-
}
|
|
534
|
-
create_content_favorite(body, options) {
|
|
535
|
-
var _this75 = this;
|
|
536
|
-
return _asyncToGenerator(function* () {
|
|
537
|
-
return _this75.post('/content_favorite', null, body, options);
|
|
538
|
-
})();
|
|
539
|
-
}
|
|
540
|
-
all_content_metadatas(parent_id, fields, options) {
|
|
541
|
-
var _this76 = this;
|
|
542
|
-
return _asyncToGenerator(function* () {
|
|
543
|
-
return _this76.get('/content_metadata', {
|
|
544
|
-
parent_id,
|
|
545
|
-
fields
|
|
546
|
-
}, null, options);
|
|
547
|
-
})();
|
|
548
|
-
}
|
|
549
|
-
content_metadata(content_metadata_id, fields, options) {
|
|
550
|
-
var _this77 = this;
|
|
551
|
-
return _asyncToGenerator(function* () {
|
|
552
|
-
return _this77.get("/content_metadata/".concat(content_metadata_id), {
|
|
553
|
-
fields
|
|
554
|
-
}, null, options);
|
|
555
|
-
})();
|
|
556
|
-
}
|
|
557
|
-
update_content_metadata(content_metadata_id, body, options) {
|
|
558
|
-
var _this78 = this;
|
|
559
|
-
return _asyncToGenerator(function* () {
|
|
560
|
-
return _this78.patch("/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
561
|
-
})();
|
|
562
|
-
}
|
|
563
|
-
all_content_metadata_accesses(content_metadata_id, fields, options) {
|
|
564
|
-
var _this79 = this;
|
|
565
|
-
return _asyncToGenerator(function* () {
|
|
566
|
-
return _this79.get('/content_metadata_access', {
|
|
567
|
-
content_metadata_id,
|
|
568
|
-
fields
|
|
569
|
-
}, null, options);
|
|
570
|
-
})();
|
|
571
|
-
}
|
|
572
|
-
create_content_metadata_access(body, send_boards_notification_email, options) {
|
|
573
|
-
var _this80 = this;
|
|
574
|
-
return _asyncToGenerator(function* () {
|
|
575
|
-
return _this80.post('/content_metadata_access', {
|
|
576
|
-
send_boards_notification_email
|
|
577
|
-
}, body, options);
|
|
578
|
-
})();
|
|
579
|
-
}
|
|
580
|
-
update_content_metadata_access(content_metadata_access_id, body, options) {
|
|
581
|
-
var _this81 = this;
|
|
582
|
-
return _asyncToGenerator(function* () {
|
|
583
|
-
return _this81.put("/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
584
|
-
})();
|
|
585
|
-
}
|
|
586
|
-
delete_content_metadata_access(content_metadata_access_id, options) {
|
|
587
|
-
var _this82 = this;
|
|
588
|
-
return _asyncToGenerator(function* () {
|
|
589
|
-
return _this82.delete("/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
590
|
-
})();
|
|
591
|
-
}
|
|
592
|
-
content_thumbnail(request, options) {
|
|
593
|
-
var _this83 = this;
|
|
594
|
-
return _asyncToGenerator(function* () {
|
|
595
|
-
request.type = (0, _sdkRtl.encodeParam)(request.type);
|
|
596
|
-
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
|
|
597
|
-
return _this83.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
598
|
-
reload: request.reload,
|
|
599
|
-
theme: request.theme,
|
|
600
|
-
format: request.format,
|
|
601
|
-
width: request.width,
|
|
602
|
-
height: request.height
|
|
603
|
-
}, null, options);
|
|
604
|
-
})();
|
|
605
|
-
}
|
|
606
|
-
content_validation(fields, options) {
|
|
607
|
-
var _this84 = this;
|
|
608
|
-
return _asyncToGenerator(function* () {
|
|
609
|
-
return _this84.get('/content_validation', {
|
|
610
|
-
fields
|
|
611
|
-
}, null, options);
|
|
612
|
-
})();
|
|
613
|
-
}
|
|
614
|
-
search_content_views(request, options) {
|
|
615
|
-
var _this85 = this;
|
|
616
|
-
return _asyncToGenerator(function* () {
|
|
617
|
-
return _this85.get('/content_view/search', {
|
|
618
|
-
view_count: request.view_count,
|
|
619
|
-
group_id: request.group_id,
|
|
620
|
-
look_id: request.look_id,
|
|
621
|
-
dashboard_id: request.dashboard_id,
|
|
622
|
-
content_metadata_id: request.content_metadata_id,
|
|
623
|
-
start_of_week_date: request.start_of_week_date,
|
|
624
|
-
all_time: request.all_time,
|
|
625
|
-
user_id: request.user_id,
|
|
626
|
-
fields: request.fields,
|
|
627
|
-
limit: request.limit,
|
|
628
|
-
offset: request.offset,
|
|
629
|
-
sorts: request.sorts,
|
|
630
|
-
filter_or: request.filter_or
|
|
631
|
-
}, null, options);
|
|
632
|
-
})();
|
|
633
|
-
}
|
|
634
|
-
vector_thumbnail(type, resource_id, reload, options) {
|
|
635
|
-
var _this86 = this;
|
|
636
|
-
return _asyncToGenerator(function* () {
|
|
637
|
-
type = (0, _sdkRtl.encodeParam)(type);
|
|
638
|
-
resource_id = (0, _sdkRtl.encodeParam)(resource_id);
|
|
639
|
-
return _this86.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
640
|
-
reload
|
|
641
|
-
}, null, options);
|
|
642
|
-
})();
|
|
643
|
-
}
|
|
644
|
-
all_dashboards(fields, options) {
|
|
645
|
-
var _this87 = this;
|
|
646
|
-
return _asyncToGenerator(function* () {
|
|
647
|
-
return _this87.get('/dashboards', {
|
|
648
|
-
fields
|
|
649
|
-
}, null, options);
|
|
650
|
-
})();
|
|
651
|
-
}
|
|
652
|
-
create_dashboard(body, options) {
|
|
653
|
-
var _this88 = this;
|
|
654
|
-
return _asyncToGenerator(function* () {
|
|
655
|
-
return _this88.post('/dashboards', null, body, options);
|
|
656
|
-
})();
|
|
657
|
-
}
|
|
658
|
-
search_dashboards(request, options) {
|
|
659
|
-
var _this89 = this;
|
|
660
|
-
return _asyncToGenerator(function* () {
|
|
661
|
-
return _this89.get('/dashboards/search', {
|
|
662
|
-
id: request.id,
|
|
663
|
-
slug: request.slug,
|
|
664
|
-
title: request.title,
|
|
665
|
-
description: request.description,
|
|
666
|
-
content_favorite_id: request.content_favorite_id,
|
|
667
|
-
space_id: request.space_id,
|
|
668
|
-
folder_id: request.folder_id,
|
|
669
|
-
deleted: request.deleted,
|
|
670
|
-
user_id: request.user_id,
|
|
671
|
-
view_count: request.view_count,
|
|
672
|
-
content_metadata_id: request.content_metadata_id,
|
|
673
|
-
curate: request.curate,
|
|
674
|
-
fields: request.fields,
|
|
675
|
-
page: request.page,
|
|
676
|
-
per_page: request.per_page,
|
|
677
|
-
sorts: request.sorts,
|
|
678
|
-
filter_or: request.filter_or
|
|
679
|
-
}, null, options);
|
|
680
|
-
})();
|
|
681
|
-
}
|
|
682
|
-
import_lookml_dashboard(lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
683
|
-
var _this90 = this;
|
|
684
|
-
return _asyncToGenerator(function* () {
|
|
685
|
-
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
686
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
687
|
-
return _this90.post("/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
688
|
-
raw_locale
|
|
689
|
-
}, body, options);
|
|
690
|
-
})();
|
|
691
|
-
}
|
|
692
|
-
sync_lookml_dashboard(lookml_dashboard_id, body, raw_locale, options) {
|
|
693
|
-
var _this91 = this;
|
|
694
|
-
return _asyncToGenerator(function* () {
|
|
695
|
-
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
696
|
-
return _this91.patch("/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
697
|
-
raw_locale
|
|
698
|
-
}, body, options);
|
|
699
|
-
})();
|
|
700
|
-
}
|
|
701
|
-
dashboard(dashboard_id, fields, options) {
|
|
702
|
-
var _this92 = this;
|
|
703
|
-
return _asyncToGenerator(function* () {
|
|
704
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
705
|
-
return _this92.get("/dashboards/".concat(dashboard_id), {
|
|
706
|
-
fields
|
|
707
|
-
}, null, options);
|
|
708
|
-
})();
|
|
709
|
-
}
|
|
710
|
-
update_dashboard(dashboard_id, body, options) {
|
|
711
|
-
var _this93 = this;
|
|
712
|
-
return _asyncToGenerator(function* () {
|
|
713
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
714
|
-
return _this93.patch("/dashboards/".concat(dashboard_id), null, body, options);
|
|
715
|
-
})();
|
|
716
|
-
}
|
|
717
|
-
delete_dashboard(dashboard_id, options) {
|
|
718
|
-
var _this94 = this;
|
|
719
|
-
return _asyncToGenerator(function* () {
|
|
720
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
721
|
-
return _this94.delete("/dashboards/".concat(dashboard_id), null, null, options);
|
|
722
|
-
})();
|
|
723
|
-
}
|
|
724
|
-
dashboard_aggregate_table_lookml(dashboard_id, options) {
|
|
725
|
-
var _this95 = this;
|
|
726
|
-
return _asyncToGenerator(function* () {
|
|
727
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
728
|
-
return _this95.get("/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
729
|
-
})();
|
|
730
|
-
}
|
|
731
|
-
dashboard_lookml(dashboard_id, options) {
|
|
732
|
-
var _this96 = this;
|
|
733
|
-
return _asyncToGenerator(function* () {
|
|
734
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
735
|
-
return _this96.get("/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
736
|
-
})();
|
|
737
|
-
}
|
|
738
|
-
search_dashboard_elements(request, options) {
|
|
739
|
-
var _this97 = this;
|
|
740
|
-
return _asyncToGenerator(function* () {
|
|
741
|
-
return _this97.get('/dashboard_elements/search', {
|
|
742
|
-
dashboard_id: request.dashboard_id,
|
|
743
|
-
look_id: request.look_id,
|
|
744
|
-
title: request.title,
|
|
745
|
-
deleted: request.deleted,
|
|
746
|
-
fields: request.fields,
|
|
747
|
-
filter_or: request.filter_or,
|
|
748
|
-
sorts: request.sorts
|
|
749
|
-
}, null, options);
|
|
750
|
-
})();
|
|
751
|
-
}
|
|
752
|
-
dashboard_element(dashboard_element_id, fields, options) {
|
|
753
|
-
var _this98 = this;
|
|
754
|
-
return _asyncToGenerator(function* () {
|
|
755
|
-
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
756
|
-
return _this98.get("/dashboard_elements/".concat(dashboard_element_id), {
|
|
757
|
-
fields
|
|
758
|
-
}, null, options);
|
|
759
|
-
})();
|
|
760
|
-
}
|
|
761
|
-
update_dashboard_element(dashboard_element_id, body, fields, options) {
|
|
762
|
-
var _this99 = this;
|
|
763
|
-
return _asyncToGenerator(function* () {
|
|
764
|
-
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
765
|
-
return _this99.patch("/dashboard_elements/".concat(dashboard_element_id), {
|
|
766
|
-
fields
|
|
767
|
-
}, body, options);
|
|
768
|
-
})();
|
|
769
|
-
}
|
|
770
|
-
delete_dashboard_element(dashboard_element_id, options) {
|
|
771
|
-
var _this100 = this;
|
|
772
|
-
return _asyncToGenerator(function* () {
|
|
773
|
-
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
774
|
-
return _this100.delete("/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
775
|
-
})();
|
|
776
|
-
}
|
|
777
|
-
dashboard_dashboard_elements(dashboard_id, fields, options) {
|
|
778
|
-
var _this101 = this;
|
|
779
|
-
return _asyncToGenerator(function* () {
|
|
780
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
781
|
-
return _this101.get("/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
782
|
-
fields
|
|
783
|
-
}, null, options);
|
|
784
|
-
})();
|
|
785
|
-
}
|
|
786
|
-
create_dashboard_element(request, options) {
|
|
787
|
-
var _this102 = this;
|
|
788
|
-
return _asyncToGenerator(function* () {
|
|
789
|
-
return _this102.post('/dashboard_elements', {
|
|
790
|
-
fields: request.fields,
|
|
791
|
-
apply_filters: request.apply_filters
|
|
792
|
-
}, request.body, options);
|
|
793
|
-
})();
|
|
794
|
-
}
|
|
795
|
-
dashboard_filter(dashboard_filter_id, fields, options) {
|
|
796
|
-
var _this103 = this;
|
|
797
|
-
return _asyncToGenerator(function* () {
|
|
798
|
-
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
799
|
-
return _this103.get("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
800
|
-
fields
|
|
801
|
-
}, null, options);
|
|
802
|
-
})();
|
|
803
|
-
}
|
|
804
|
-
update_dashboard_filter(dashboard_filter_id, body, fields, options) {
|
|
805
|
-
var _this104 = this;
|
|
806
|
-
return _asyncToGenerator(function* () {
|
|
807
|
-
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
808
|
-
return _this104.patch("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
809
|
-
fields
|
|
810
|
-
}, body, options);
|
|
811
|
-
})();
|
|
812
|
-
}
|
|
813
|
-
delete_dashboard_filter(dashboard_filter_id, options) {
|
|
814
|
-
var _this105 = this;
|
|
815
|
-
return _asyncToGenerator(function* () {
|
|
816
|
-
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
817
|
-
return _this105.delete("/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
818
|
-
})();
|
|
819
|
-
}
|
|
820
|
-
dashboard_dashboard_filters(dashboard_id, fields, options) {
|
|
821
|
-
var _this106 = this;
|
|
822
|
-
return _asyncToGenerator(function* () {
|
|
823
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
824
|
-
return _this106.get("/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
825
|
-
fields
|
|
826
|
-
}, null, options);
|
|
827
|
-
})();
|
|
828
|
-
}
|
|
829
|
-
create_dashboard_filter(body, fields, options) {
|
|
830
|
-
var _this107 = this;
|
|
831
|
-
return _asyncToGenerator(function* () {
|
|
832
|
-
return _this107.post('/dashboard_filters', {
|
|
833
|
-
fields
|
|
834
|
-
}, body, options);
|
|
835
|
-
})();
|
|
836
|
-
}
|
|
837
|
-
dashboard_layout_component(dashboard_layout_component_id, fields, options) {
|
|
838
|
-
var _this108 = this;
|
|
839
|
-
return _asyncToGenerator(function* () {
|
|
840
|
-
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
841
|
-
return _this108.get("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
842
|
-
fields
|
|
843
|
-
}, null, options);
|
|
844
|
-
})();
|
|
845
|
-
}
|
|
846
|
-
update_dashboard_layout_component(dashboard_layout_component_id, body, fields, options) {
|
|
847
|
-
var _this109 = this;
|
|
848
|
-
return _asyncToGenerator(function* () {
|
|
849
|
-
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
850
|
-
return _this109.patch("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
851
|
-
fields
|
|
852
|
-
}, body, options);
|
|
853
|
-
})();
|
|
854
|
-
}
|
|
855
|
-
dashboard_layout_dashboard_layout_components(dashboard_layout_id, fields, options) {
|
|
856
|
-
var _this110 = this;
|
|
857
|
-
return _asyncToGenerator(function* () {
|
|
858
|
-
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
859
|
-
return _this110.get("/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
860
|
-
fields
|
|
861
|
-
}, null, options);
|
|
862
|
-
})();
|
|
863
|
-
}
|
|
864
|
-
dashboard_layout(dashboard_layout_id, fields, options) {
|
|
865
|
-
var _this111 = this;
|
|
866
|
-
return _asyncToGenerator(function* () {
|
|
867
|
-
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
868
|
-
return _this111.get("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
869
|
-
fields
|
|
870
|
-
}, null, options);
|
|
871
|
-
})();
|
|
872
|
-
}
|
|
873
|
-
update_dashboard_layout(dashboard_layout_id, body, fields, options) {
|
|
874
|
-
var _this112 = this;
|
|
875
|
-
return _asyncToGenerator(function* () {
|
|
876
|
-
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
877
|
-
return _this112.patch("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
878
|
-
fields
|
|
879
|
-
}, body, options);
|
|
880
|
-
})();
|
|
881
|
-
}
|
|
882
|
-
delete_dashboard_layout(dashboard_layout_id, options) {
|
|
883
|
-
var _this113 = this;
|
|
884
|
-
return _asyncToGenerator(function* () {
|
|
885
|
-
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
886
|
-
return _this113.delete("/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
887
|
-
})();
|
|
888
|
-
}
|
|
889
|
-
dashboard_dashboard_layouts(dashboard_id, fields, options) {
|
|
890
|
-
var _this114 = this;
|
|
891
|
-
return _asyncToGenerator(function* () {
|
|
892
|
-
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
893
|
-
return _this114.get("/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
894
|
-
fields
|
|
895
|
-
}, null, options);
|
|
896
|
-
})();
|
|
897
|
-
}
|
|
898
|
-
create_dashboard_layout(body, fields, options) {
|
|
899
|
-
var _this115 = this;
|
|
900
|
-
return _asyncToGenerator(function* () {
|
|
901
|
-
return _this115.post('/dashboard_layouts', {
|
|
902
|
-
fields
|
|
903
|
-
}, body, options);
|
|
904
|
-
})();
|
|
905
|
-
}
|
|
906
|
-
perform_data_action(body, options) {
|
|
907
|
-
var _this116 = this;
|
|
908
|
-
return _asyncToGenerator(function* () {
|
|
909
|
-
return _this116.post('/data_actions', null, body, options);
|
|
910
|
-
})();
|
|
911
|
-
}
|
|
912
|
-
fetch_remote_data_action_form(body, options) {
|
|
913
|
-
var _this117 = this;
|
|
914
|
-
return _asyncToGenerator(function* () {
|
|
915
|
-
return _this117.post('/data_actions/form', null, body, options);
|
|
916
|
-
})();
|
|
917
|
-
}
|
|
918
|
-
all_datagroups(options) {
|
|
919
|
-
var _this118 = this;
|
|
920
|
-
return _asyncToGenerator(function* () {
|
|
921
|
-
return _this118.get('/datagroups', null, null, options);
|
|
922
|
-
})();
|
|
923
|
-
}
|
|
924
|
-
datagroup(datagroup_id, options) {
|
|
925
|
-
var _this119 = this;
|
|
926
|
-
return _asyncToGenerator(function* () {
|
|
927
|
-
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
928
|
-
return _this119.get("/datagroups/".concat(datagroup_id), null, null, options);
|
|
929
|
-
})();
|
|
930
|
-
}
|
|
931
|
-
update_datagroup(datagroup_id, body, options) {
|
|
932
|
-
var _this120 = this;
|
|
933
|
-
return _asyncToGenerator(function* () {
|
|
934
|
-
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
935
|
-
return _this120.patch("/datagroups/".concat(datagroup_id), null, body, options);
|
|
936
|
-
})();
|
|
937
|
-
}
|
|
938
|
-
graph_derived_tables_for_model(request, options) {
|
|
939
|
-
var _this121 = this;
|
|
940
|
-
return _asyncToGenerator(function* () {
|
|
941
|
-
request.model = (0, _sdkRtl.encodeParam)(request.model);
|
|
942
|
-
return _this121.get("/derived_table/graph/model/".concat(request.model), {
|
|
943
|
-
format: request.format,
|
|
944
|
-
color: request.color
|
|
945
|
-
}, null, options);
|
|
946
|
-
})();
|
|
947
|
-
}
|
|
948
|
-
graph_derived_tables_for_view(request, options) {
|
|
949
|
-
var _this122 = this;
|
|
950
|
-
return _asyncToGenerator(function* () {
|
|
951
|
-
request.view = (0, _sdkRtl.encodeParam)(request.view);
|
|
952
|
-
return _this122.get("/derived_table/graph/view/".concat(request.view), {
|
|
953
|
-
models: request.models,
|
|
954
|
-
workspace: request.workspace
|
|
955
|
-
}, null, options);
|
|
956
|
-
})();
|
|
957
|
-
}
|
|
958
|
-
start_pdt_build(request, options) {
|
|
959
|
-
var _this123 = this;
|
|
960
|
-
return _asyncToGenerator(function* () {
|
|
961
|
-
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
962
|
-
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
963
|
-
return _this123.get("/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
964
|
-
force_rebuild: request.force_rebuild,
|
|
965
|
-
force_full_incremental: request.force_full_incremental,
|
|
966
|
-
workspace: request.workspace,
|
|
967
|
-
source: request.source
|
|
968
|
-
}, null, options);
|
|
969
|
-
})();
|
|
970
|
-
}
|
|
971
|
-
check_pdt_build(materialization_id, options) {
|
|
972
|
-
var _this124 = this;
|
|
973
|
-
return _asyncToGenerator(function* () {
|
|
974
|
-
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
975
|
-
return _this124.get("/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
976
|
-
})();
|
|
977
|
-
}
|
|
978
|
-
stop_pdt_build(materialization_id, source, options) {
|
|
979
|
-
var _this125 = this;
|
|
980
|
-
return _asyncToGenerator(function* () {
|
|
981
|
-
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
982
|
-
return _this125.get("/derived_table/".concat(materialization_id, "/stop"), {
|
|
983
|
-
source
|
|
984
|
-
}, null, options);
|
|
985
|
-
})();
|
|
986
|
-
}
|
|
987
|
-
search_folders(request, options) {
|
|
988
|
-
var _this126 = this;
|
|
989
|
-
return _asyncToGenerator(function* () {
|
|
990
|
-
return _this126.get('/folders/search', {
|
|
991
|
-
fields: request.fields,
|
|
992
|
-
page: request.page,
|
|
993
|
-
per_page: request.per_page,
|
|
994
|
-
limit: request.limit,
|
|
995
|
-
offset: request.offset,
|
|
996
|
-
sorts: request.sorts,
|
|
997
|
-
name: request.name,
|
|
998
|
-
id: request.id,
|
|
999
|
-
parent_id: request.parent_id,
|
|
1000
|
-
creator_id: request.creator_id,
|
|
1001
|
-
filter_or: request.filter_or,
|
|
1002
|
-
is_shared_root: request.is_shared_root,
|
|
1003
|
-
is_users_root: request.is_users_root
|
|
1004
|
-
}, null, options);
|
|
1005
|
-
})();
|
|
1006
|
-
}
|
|
1007
|
-
folder(folder_id, fields, options) {
|
|
1008
|
-
var _this127 = this;
|
|
1009
|
-
return _asyncToGenerator(function* () {
|
|
1010
|
-
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1011
|
-
return _this127.get("/folders/".concat(folder_id), {
|
|
1012
|
-
fields
|
|
1013
|
-
}, null, options);
|
|
1014
|
-
})();
|
|
1015
|
-
}
|
|
1016
|
-
update_folder(folder_id, body, options) {
|
|
1017
|
-
var _this128 = this;
|
|
1018
|
-
return _asyncToGenerator(function* () {
|
|
1019
|
-
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1020
|
-
return _this128.patch("/folders/".concat(folder_id), null, body, options);
|
|
1021
|
-
})();
|
|
1022
|
-
}
|
|
1023
|
-
delete_folder(folder_id, options) {
|
|
1024
|
-
var _this129 = this;
|
|
1025
|
-
return _asyncToGenerator(function* () {
|
|
1026
|
-
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1027
|
-
return _this129.delete("/folders/".concat(folder_id), null, null, options);
|
|
1028
|
-
})();
|
|
1029
|
-
}
|
|
1030
|
-
all_folders(fields, options) {
|
|
1031
|
-
var _this130 = this;
|
|
1032
|
-
return _asyncToGenerator(function* () {
|
|
1033
|
-
return _this130.get('/folders', {
|
|
1034
|
-
fields
|
|
1035
|
-
}, null, options);
|
|
1036
|
-
})();
|
|
1037
|
-
}
|
|
1038
|
-
create_folder(body, options) {
|
|
1039
|
-
var _this131 = this;
|
|
1040
|
-
return _asyncToGenerator(function* () {
|
|
1041
|
-
return _this131.post('/folders', null, body, options);
|
|
1042
|
-
})();
|
|
1043
|
-
}
|
|
1044
|
-
folder_children(request, options) {
|
|
1045
|
-
var _this132 = this;
|
|
1046
|
-
return _asyncToGenerator(function* () {
|
|
1047
|
-
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1048
|
-
return _this132.get("/folders/".concat(request.folder_id, "/children"), {
|
|
1049
|
-
fields: request.fields,
|
|
1050
|
-
page: request.page,
|
|
1051
|
-
per_page: request.per_page,
|
|
1052
|
-
sorts: request.sorts
|
|
1053
|
-
}, null, options);
|
|
1054
|
-
})();
|
|
1055
|
-
}
|
|
1056
|
-
folder_children_search(request, options) {
|
|
1057
|
-
var _this133 = this;
|
|
1058
|
-
return _asyncToGenerator(function* () {
|
|
1059
|
-
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1060
|
-
return _this133.get("/folders/".concat(request.folder_id, "/children/search"), {
|
|
1061
|
-
fields: request.fields,
|
|
1062
|
-
sorts: request.sorts,
|
|
1063
|
-
name: request.name
|
|
1064
|
-
}, null, options);
|
|
1065
|
-
})();
|
|
1066
|
-
}
|
|
1067
|
-
folder_parent(folder_id, fields, options) {
|
|
1068
|
-
var _this134 = this;
|
|
1069
|
-
return _asyncToGenerator(function* () {
|
|
1070
|
-
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1071
|
-
return _this134.get("/folders/".concat(folder_id, "/parent"), {
|
|
1072
|
-
fields
|
|
1073
|
-
}, null, options);
|
|
1074
|
-
})();
|
|
1075
|
-
}
|
|
1076
|
-
folder_ancestors(folder_id, fields, options) {
|
|
1077
|
-
var _this135 = this;
|
|
1078
|
-
return _asyncToGenerator(function* () {
|
|
1079
|
-
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1080
|
-
return _this135.get("/folders/".concat(folder_id, "/ancestors"), {
|
|
1081
|
-
fields
|
|
1082
|
-
}, null, options);
|
|
1083
|
-
})();
|
|
1084
|
-
}
|
|
1085
|
-
folder_looks(folder_id, fields, options) {
|
|
1086
|
-
var _this136 = this;
|
|
1087
|
-
return _asyncToGenerator(function* () {
|
|
1088
|
-
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1089
|
-
return _this136.get("/folders/".concat(folder_id, "/looks"), {
|
|
1090
|
-
fields
|
|
1091
|
-
}, null, options);
|
|
1092
|
-
})();
|
|
1093
|
-
}
|
|
1094
|
-
folder_dashboards(folder_id, fields, options) {
|
|
1095
|
-
var _this137 = this;
|
|
1096
|
-
return _asyncToGenerator(function* () {
|
|
1097
|
-
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1098
|
-
return _this137.get("/folders/".concat(folder_id, "/dashboards"), {
|
|
1099
|
-
fields
|
|
1100
|
-
}, null, options);
|
|
1101
|
-
})();
|
|
1102
|
-
}
|
|
1103
|
-
all_groups(request, options) {
|
|
1104
|
-
var _this138 = this;
|
|
1105
|
-
return _asyncToGenerator(function* () {
|
|
1106
|
-
return _this138.get('/groups', {
|
|
1107
|
-
fields: request.fields,
|
|
1108
|
-
page: request.page,
|
|
1109
|
-
per_page: request.per_page,
|
|
1110
|
-
sorts: request.sorts,
|
|
1111
|
-
ids: request.ids,
|
|
1112
|
-
content_metadata_id: request.content_metadata_id,
|
|
1113
|
-
can_add_to_content_metadata: request.can_add_to_content_metadata
|
|
1114
|
-
}, null, options);
|
|
1115
|
-
})();
|
|
1116
|
-
}
|
|
1117
|
-
create_group(body, fields, options) {
|
|
1118
|
-
var _this139 = this;
|
|
1119
|
-
return _asyncToGenerator(function* () {
|
|
1120
|
-
return _this139.post('/groups', {
|
|
1121
|
-
fields
|
|
1122
|
-
}, body, options);
|
|
1123
|
-
})();
|
|
1124
|
-
}
|
|
1125
|
-
search_groups(request, options) {
|
|
1126
|
-
var _this140 = this;
|
|
1127
|
-
return _asyncToGenerator(function* () {
|
|
1128
|
-
return _this140.get('/groups/search', {
|
|
1129
|
-
fields: request.fields,
|
|
1130
|
-
limit: request.limit,
|
|
1131
|
-
offset: request.offset,
|
|
1132
|
-
sorts: request.sorts,
|
|
1133
|
-
filter_or: request.filter_or,
|
|
1134
|
-
id: request.id,
|
|
1135
|
-
name: request.name,
|
|
1136
|
-
external_group_id: request.external_group_id,
|
|
1137
|
-
externally_managed: request.externally_managed,
|
|
1138
|
-
externally_orphaned: request.externally_orphaned
|
|
1139
|
-
}, null, options);
|
|
1140
|
-
})();
|
|
1141
|
-
}
|
|
1142
|
-
group(group_id, fields, options) {
|
|
1143
|
-
var _this141 = this;
|
|
1144
|
-
return _asyncToGenerator(function* () {
|
|
1145
|
-
return _this141.get("/groups/".concat(group_id), {
|
|
1146
|
-
fields
|
|
1147
|
-
}, null, options);
|
|
1148
|
-
})();
|
|
1149
|
-
}
|
|
1150
|
-
update_group(group_id, body, fields, options) {
|
|
1151
|
-
var _this142 = this;
|
|
1152
|
-
return _asyncToGenerator(function* () {
|
|
1153
|
-
return _this142.patch("/groups/".concat(group_id), {
|
|
1154
|
-
fields
|
|
1155
|
-
}, body, options);
|
|
1156
|
-
})();
|
|
1157
|
-
}
|
|
1158
|
-
delete_group(group_id, options) {
|
|
1159
|
-
var _this143 = this;
|
|
1160
|
-
return _asyncToGenerator(function* () {
|
|
1161
|
-
return _this143.delete("/groups/".concat(group_id), null, null, options);
|
|
1162
|
-
})();
|
|
1163
|
-
}
|
|
1164
|
-
all_group_groups(group_id, fields, options) {
|
|
1165
|
-
var _this144 = this;
|
|
1166
|
-
return _asyncToGenerator(function* () {
|
|
1167
|
-
return _this144.get("/groups/".concat(group_id, "/groups"), {
|
|
1168
|
-
fields
|
|
1169
|
-
}, null, options);
|
|
1170
|
-
})();
|
|
1171
|
-
}
|
|
1172
|
-
add_group_group(group_id, body, options) {
|
|
1173
|
-
var _this145 = this;
|
|
1174
|
-
return _asyncToGenerator(function* () {
|
|
1175
|
-
return _this145.post("/groups/".concat(group_id, "/groups"), null, body, options);
|
|
1176
|
-
})();
|
|
1177
|
-
}
|
|
1178
|
-
all_group_users(request, options) {
|
|
1179
|
-
var _this146 = this;
|
|
1180
|
-
return _asyncToGenerator(function* () {
|
|
1181
|
-
return _this146.get("/groups/".concat(request.group_id, "/users"), {
|
|
1182
|
-
fields: request.fields,
|
|
1183
|
-
page: request.page,
|
|
1184
|
-
per_page: request.per_page,
|
|
1185
|
-
sorts: request.sorts
|
|
1186
|
-
}, null, options);
|
|
1187
|
-
})();
|
|
1188
|
-
}
|
|
1189
|
-
add_group_user(group_id, body, options) {
|
|
1190
|
-
var _this147 = this;
|
|
1191
|
-
return _asyncToGenerator(function* () {
|
|
1192
|
-
return _this147.post("/groups/".concat(group_id, "/users"), null, body, options);
|
|
1193
|
-
})();
|
|
1194
|
-
}
|
|
1195
|
-
delete_group_user(group_id, user_id, options) {
|
|
1196
|
-
var _this148 = this;
|
|
1197
|
-
return _asyncToGenerator(function* () {
|
|
1198
|
-
return _this148.delete("/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
1199
|
-
})();
|
|
1200
|
-
}
|
|
1201
|
-
delete_group_from_group(group_id, deleting_group_id, options) {
|
|
1202
|
-
var _this149 = this;
|
|
1203
|
-
return _asyncToGenerator(function* () {
|
|
1204
|
-
return _this149.delete("/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
1205
|
-
})();
|
|
1206
|
-
}
|
|
1207
|
-
update_user_attribute_group_value(group_id, user_attribute_id, body, options) {
|
|
1208
|
-
var _this150 = this;
|
|
1209
|
-
return _asyncToGenerator(function* () {
|
|
1210
|
-
return _this150.patch("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
1211
|
-
})();
|
|
1212
|
-
}
|
|
1213
|
-
delete_user_attribute_group_value(group_id, user_attribute_id, options) {
|
|
1214
|
-
var _this151 = this;
|
|
1215
|
-
return _asyncToGenerator(function* () {
|
|
1216
|
-
return _this151.delete("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
1217
|
-
})();
|
|
1218
|
-
}
|
|
1219
|
-
all_homepages(fields, options) {
|
|
1220
|
-
var _this152 = this;
|
|
1221
|
-
return _asyncToGenerator(function* () {
|
|
1222
|
-
return _this152.get('/homepages', {
|
|
1223
|
-
fields
|
|
1224
|
-
}, null, options);
|
|
1225
|
-
})();
|
|
1226
|
-
}
|
|
1227
|
-
create_homepage(body, fields, options) {
|
|
1228
|
-
var _this153 = this;
|
|
1229
|
-
return _asyncToGenerator(function* () {
|
|
1230
|
-
return _this153.post('/homepages', {
|
|
1231
|
-
fields
|
|
1232
|
-
}, body, options);
|
|
1233
|
-
})();
|
|
1234
|
-
}
|
|
1235
|
-
search_homepages(request, options) {
|
|
1236
|
-
var _this154 = this;
|
|
1237
|
-
return _asyncToGenerator(function* () {
|
|
1238
|
-
return _this154.get('/homepages/search', {
|
|
1239
|
-
title: request.title,
|
|
1240
|
-
created_at: request.created_at,
|
|
1241
|
-
first_name: request.first_name,
|
|
1242
|
-
last_name: request.last_name,
|
|
1243
|
-
fields: request.fields,
|
|
1244
|
-
favorited: request.favorited,
|
|
1245
|
-
creator_id: request.creator_id,
|
|
1246
|
-
page: request.page,
|
|
1247
|
-
per_page: request.per_page,
|
|
1248
|
-
offset: request.offset,
|
|
1249
|
-
limit: request.limit,
|
|
1250
|
-
sorts: request.sorts,
|
|
1251
|
-
filter_or: request.filter_or
|
|
1252
|
-
}, null, options);
|
|
1253
|
-
})();
|
|
1254
|
-
}
|
|
1255
|
-
homepage(homepage_id, fields, options) {
|
|
1256
|
-
var _this155 = this;
|
|
1257
|
-
return _asyncToGenerator(function* () {
|
|
1258
|
-
return _this155.get("/homepages/".concat(homepage_id), {
|
|
1259
|
-
fields
|
|
1260
|
-
}, null, options);
|
|
1261
|
-
})();
|
|
1262
|
-
}
|
|
1263
|
-
update_homepage(homepage_id, body, fields, options) {
|
|
1264
|
-
var _this156 = this;
|
|
1265
|
-
return _asyncToGenerator(function* () {
|
|
1266
|
-
return _this156.patch("/homepages/".concat(homepage_id), {
|
|
1267
|
-
fields
|
|
1268
|
-
}, body, options);
|
|
1269
|
-
})();
|
|
1270
|
-
}
|
|
1271
|
-
delete_homepage(homepage_id, options) {
|
|
1272
|
-
var _this157 = this;
|
|
1273
|
-
return _asyncToGenerator(function* () {
|
|
1274
|
-
return _this157.delete("/homepages/".concat(homepage_id), null, null, options);
|
|
1275
|
-
})();
|
|
1276
|
-
}
|
|
1277
|
-
all_homepage_items(request, options) {
|
|
1278
|
-
var _this158 = this;
|
|
1279
|
-
return _asyncToGenerator(function* () {
|
|
1280
|
-
return _this158.get('/homepage_items', {
|
|
1281
|
-
fields: request.fields,
|
|
1282
|
-
sorts: request.sorts,
|
|
1283
|
-
homepage_section_id: request.homepage_section_id
|
|
1284
|
-
}, null, options);
|
|
1285
|
-
})();
|
|
1286
|
-
}
|
|
1287
|
-
create_homepage_item(body, fields, options) {
|
|
1288
|
-
var _this159 = this;
|
|
1289
|
-
return _asyncToGenerator(function* () {
|
|
1290
|
-
return _this159.post('/homepage_items', {
|
|
1291
|
-
fields
|
|
1292
|
-
}, body, options);
|
|
1293
|
-
})();
|
|
1294
|
-
}
|
|
1295
|
-
homepage_item(homepage_item_id, fields, options) {
|
|
1296
|
-
var _this160 = this;
|
|
1297
|
-
return _asyncToGenerator(function* () {
|
|
1298
|
-
return _this160.get("/homepage_items/".concat(homepage_item_id), {
|
|
1299
|
-
fields
|
|
1300
|
-
}, null, options);
|
|
1301
|
-
})();
|
|
1302
|
-
}
|
|
1303
|
-
update_homepage_item(homepage_item_id, body, fields, options) {
|
|
1304
|
-
var _this161 = this;
|
|
1305
|
-
return _asyncToGenerator(function* () {
|
|
1306
|
-
return _this161.patch("/homepage_items/".concat(homepage_item_id), {
|
|
1307
|
-
fields
|
|
1308
|
-
}, body, options);
|
|
1309
|
-
})();
|
|
1310
|
-
}
|
|
1311
|
-
delete_homepage_item(homepage_item_id, options) {
|
|
1312
|
-
var _this162 = this;
|
|
1313
|
-
return _asyncToGenerator(function* () {
|
|
1314
|
-
return _this162.delete("/homepage_items/".concat(homepage_item_id), null, null, options);
|
|
1315
|
-
})();
|
|
1316
|
-
}
|
|
1317
|
-
all_homepage_sections(request, options) {
|
|
1318
|
-
var _this163 = this;
|
|
1319
|
-
return _asyncToGenerator(function* () {
|
|
1320
|
-
return _this163.get('/homepage_sections', {
|
|
1321
|
-
fields: request.fields,
|
|
1322
|
-
sorts: request.sorts
|
|
1323
|
-
}, null, options);
|
|
1324
|
-
})();
|
|
1325
|
-
}
|
|
1326
|
-
create_homepage_section(body, fields, options) {
|
|
1327
|
-
var _this164 = this;
|
|
1328
|
-
return _asyncToGenerator(function* () {
|
|
1329
|
-
return _this164.post('/homepage_sections', {
|
|
1330
|
-
fields
|
|
1331
|
-
}, body, options);
|
|
1332
|
-
})();
|
|
1333
|
-
}
|
|
1334
|
-
homepage_section(homepage_section_id, fields, options) {
|
|
1335
|
-
var _this165 = this;
|
|
1336
|
-
return _asyncToGenerator(function* () {
|
|
1337
|
-
return _this165.get("/homepage_sections/".concat(homepage_section_id), {
|
|
1338
|
-
fields
|
|
1339
|
-
}, null, options);
|
|
1340
|
-
})();
|
|
1341
|
-
}
|
|
1342
|
-
update_homepage_section(homepage_section_id, body, fields, options) {
|
|
1343
|
-
var _this166 = this;
|
|
1344
|
-
return _asyncToGenerator(function* () {
|
|
1345
|
-
return _this166.patch("/homepage_sections/".concat(homepage_section_id), {
|
|
1346
|
-
fields
|
|
1347
|
-
}, body, options);
|
|
1348
|
-
})();
|
|
1349
|
-
}
|
|
1350
|
-
delete_homepage_section(homepage_section_id, options) {
|
|
1351
|
-
var _this167 = this;
|
|
1352
|
-
return _asyncToGenerator(function* () {
|
|
1353
|
-
return _this167.delete("/homepage_sections/".concat(homepage_section_id), null, null, options);
|
|
1354
|
-
})();
|
|
1355
|
-
}
|
|
1356
|
-
all_primary_homepage_sections(fields, options) {
|
|
1357
|
-
var _this168 = this;
|
|
1358
|
-
return _asyncToGenerator(function* () {
|
|
1359
|
-
return _this168.get('/primary_homepage_sections', {
|
|
1360
|
-
fields
|
|
1361
|
-
}, null, options);
|
|
1362
|
-
})();
|
|
1363
|
-
}
|
|
1364
|
-
all_integration_hubs(fields, options) {
|
|
1365
|
-
var _this169 = this;
|
|
1366
|
-
return _asyncToGenerator(function* () {
|
|
1367
|
-
return _this169.get('/integration_hubs', {
|
|
1368
|
-
fields
|
|
1369
|
-
}, null, options);
|
|
1370
|
-
})();
|
|
1371
|
-
}
|
|
1372
|
-
create_integration_hub(body, fields, options) {
|
|
1373
|
-
var _this170 = this;
|
|
1374
|
-
return _asyncToGenerator(function* () {
|
|
1375
|
-
return _this170.post('/integration_hubs', {
|
|
1376
|
-
fields
|
|
1377
|
-
}, body, options);
|
|
1378
|
-
})();
|
|
1379
|
-
}
|
|
1380
|
-
integration_hub(integration_hub_id, fields, options) {
|
|
1381
|
-
var _this171 = this;
|
|
1382
|
-
return _asyncToGenerator(function* () {
|
|
1383
|
-
return _this171.get("/integration_hubs/".concat(integration_hub_id), {
|
|
1384
|
-
fields
|
|
1385
|
-
}, null, options);
|
|
1386
|
-
})();
|
|
1387
|
-
}
|
|
1388
|
-
update_integration_hub(integration_hub_id, body, fields, options) {
|
|
1389
|
-
var _this172 = this;
|
|
1390
|
-
return _asyncToGenerator(function* () {
|
|
1391
|
-
return _this172.patch("/integration_hubs/".concat(integration_hub_id), {
|
|
1392
|
-
fields
|
|
1393
|
-
}, body, options);
|
|
1394
|
-
})();
|
|
1395
|
-
}
|
|
1396
|
-
delete_integration_hub(integration_hub_id, options) {
|
|
1397
|
-
var _this173 = this;
|
|
1398
|
-
return _asyncToGenerator(function* () {
|
|
1399
|
-
return _this173.delete("/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
1400
|
-
})();
|
|
1401
|
-
}
|
|
1402
|
-
accept_integration_hub_legal_agreement(integration_hub_id, options) {
|
|
1403
|
-
var _this174 = this;
|
|
1404
|
-
return _asyncToGenerator(function* () {
|
|
1405
|
-
return _this174.post("/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
1406
|
-
})();
|
|
1407
|
-
}
|
|
1408
|
-
all_integrations(request, options) {
|
|
1409
|
-
var _this175 = this;
|
|
1410
|
-
return _asyncToGenerator(function* () {
|
|
1411
|
-
return _this175.get('/integrations', {
|
|
1412
|
-
fields: request.fields,
|
|
1413
|
-
integration_hub_id: request.integration_hub_id
|
|
1414
|
-
}, null, options);
|
|
1415
|
-
})();
|
|
1416
|
-
}
|
|
1417
|
-
integration(integration_id, fields, options) {
|
|
1418
|
-
var _this176 = this;
|
|
1419
|
-
return _asyncToGenerator(function* () {
|
|
1420
|
-
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1421
|
-
return _this176.get("/integrations/".concat(integration_id), {
|
|
1422
|
-
fields
|
|
1423
|
-
}, null, options);
|
|
1424
|
-
})();
|
|
1425
|
-
}
|
|
1426
|
-
update_integration(integration_id, body, fields, options) {
|
|
1427
|
-
var _this177 = this;
|
|
1428
|
-
return _asyncToGenerator(function* () {
|
|
1429
|
-
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1430
|
-
return _this177.patch("/integrations/".concat(integration_id), {
|
|
1431
|
-
fields
|
|
1432
|
-
}, body, options);
|
|
1433
|
-
})();
|
|
1434
|
-
}
|
|
1435
|
-
fetch_integration_form(integration_id, body, options) {
|
|
1436
|
-
var _this178 = this;
|
|
1437
|
-
return _asyncToGenerator(function* () {
|
|
1438
|
-
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1439
|
-
return _this178.post("/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
1440
|
-
})();
|
|
1441
|
-
}
|
|
1442
|
-
test_integration(integration_id, options) {
|
|
1443
|
-
var _this179 = this;
|
|
1444
|
-
return _asyncToGenerator(function* () {
|
|
1445
|
-
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1446
|
-
return _this179.post("/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
1447
|
-
})();
|
|
1448
|
-
}
|
|
1449
|
-
all_looks(fields, options) {
|
|
1450
|
-
var _this180 = this;
|
|
1451
|
-
return _asyncToGenerator(function* () {
|
|
1452
|
-
return _this180.get('/looks', {
|
|
1453
|
-
fields
|
|
1454
|
-
}, null, options);
|
|
1455
|
-
})();
|
|
1456
|
-
}
|
|
1457
|
-
create_look(body, fields, options) {
|
|
1458
|
-
var _this181 = this;
|
|
1459
|
-
return _asyncToGenerator(function* () {
|
|
1460
|
-
return _this181.post('/looks', {
|
|
1461
|
-
fields
|
|
1462
|
-
}, body, options);
|
|
1463
|
-
})();
|
|
1464
|
-
}
|
|
1465
|
-
search_looks(request, options) {
|
|
1466
|
-
var _this182 = this;
|
|
1467
|
-
return _asyncToGenerator(function* () {
|
|
1468
|
-
return _this182.get('/looks/search', {
|
|
1469
|
-
id: request.id,
|
|
1470
|
-
title: request.title,
|
|
1471
|
-
description: request.description,
|
|
1472
|
-
content_favorite_id: request.content_favorite_id,
|
|
1473
|
-
space_id: request.space_id,
|
|
1474
|
-
user_id: request.user_id,
|
|
1475
|
-
view_count: request.view_count,
|
|
1476
|
-
deleted: request.deleted,
|
|
1477
|
-
query_id: request.query_id,
|
|
1478
|
-
curate: request.curate,
|
|
1479
|
-
fields: request.fields,
|
|
1480
|
-
page: request.page,
|
|
1481
|
-
per_page: request.per_page,
|
|
1482
|
-
sorts: request.sorts,
|
|
1483
|
-
filter_or: request.filter_or
|
|
1484
|
-
}, null, options);
|
|
1485
|
-
})();
|
|
1486
|
-
}
|
|
1487
|
-
look(look_id, fields, options) {
|
|
1488
|
-
var _this183 = this;
|
|
1489
|
-
return _asyncToGenerator(function* () {
|
|
1490
|
-
return _this183.get("/looks/".concat(look_id), {
|
|
1491
|
-
fields
|
|
1492
|
-
}, null, options);
|
|
1493
|
-
})();
|
|
1494
|
-
}
|
|
1495
|
-
update_look(look_id, body, fields, options) {
|
|
1496
|
-
var _this184 = this;
|
|
1497
|
-
return _asyncToGenerator(function* () {
|
|
1498
|
-
return _this184.patch("/looks/".concat(look_id), {
|
|
1499
|
-
fields
|
|
1500
|
-
}, body, options);
|
|
1501
|
-
})();
|
|
1502
|
-
}
|
|
1503
|
-
delete_look(look_id, options) {
|
|
1504
|
-
var _this185 = this;
|
|
1505
|
-
return _asyncToGenerator(function* () {
|
|
1506
|
-
return _this185.delete("/looks/".concat(look_id), null, null, options);
|
|
1507
|
-
})();
|
|
1508
|
-
}
|
|
1509
|
-
run_look(request, options) {
|
|
1510
|
-
var _this186 = this;
|
|
1511
|
-
return _asyncToGenerator(function* () {
|
|
1512
|
-
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
1513
|
-
return _this186.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
1514
|
-
limit: request.limit,
|
|
1515
|
-
apply_formatting: request.apply_formatting,
|
|
1516
|
-
apply_vis: request.apply_vis,
|
|
1517
|
-
cache: request.cache,
|
|
1518
|
-
image_width: request.image_width,
|
|
1519
|
-
image_height: request.image_height,
|
|
1520
|
-
generate_drill_links: request.generate_drill_links,
|
|
1521
|
-
force_production: request.force_production,
|
|
1522
|
-
cache_only: request.cache_only,
|
|
1523
|
-
path_prefix: request.path_prefix,
|
|
1524
|
-
rebuild_pdts: request.rebuild_pdts,
|
|
1525
|
-
server_table_calcs: request.server_table_calcs
|
|
1526
|
-
}, null, options);
|
|
1527
|
-
})();
|
|
1528
|
-
}
|
|
1529
|
-
all_lookml_models(fields, options) {
|
|
1530
|
-
var _this187 = this;
|
|
1531
|
-
return _asyncToGenerator(function* () {
|
|
1532
|
-
return _this187.get('/lookml_models', {
|
|
1533
|
-
fields
|
|
1534
|
-
}, null, options);
|
|
1535
|
-
})();
|
|
1536
|
-
}
|
|
1537
|
-
create_lookml_model(body, options) {
|
|
1538
|
-
var _this188 = this;
|
|
1539
|
-
return _asyncToGenerator(function* () {
|
|
1540
|
-
return _this188.post('/lookml_models', null, body, options);
|
|
1541
|
-
})();
|
|
1542
|
-
}
|
|
1543
|
-
lookml_model(lookml_model_name, fields, options) {
|
|
1544
|
-
var _this189 = this;
|
|
1545
|
-
return _asyncToGenerator(function* () {
|
|
1546
|
-
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1547
|
-
return _this189.get("/lookml_models/".concat(lookml_model_name), {
|
|
1548
|
-
fields
|
|
1549
|
-
}, null, options);
|
|
1550
|
-
})();
|
|
1551
|
-
}
|
|
1552
|
-
update_lookml_model(lookml_model_name, body, options) {
|
|
1553
|
-
var _this190 = this;
|
|
1554
|
-
return _asyncToGenerator(function* () {
|
|
1555
|
-
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1556
|
-
return _this190.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
1557
|
-
})();
|
|
1558
|
-
}
|
|
1559
|
-
delete_lookml_model(lookml_model_name, options) {
|
|
1560
|
-
var _this191 = this;
|
|
1561
|
-
return _asyncToGenerator(function* () {
|
|
1562
|
-
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1563
|
-
return _this191.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
1564
|
-
})();
|
|
1565
|
-
}
|
|
1566
|
-
lookml_model_explore(lookml_model_name, explore_name, fields, options) {
|
|
1567
|
-
var _this192 = this;
|
|
1568
|
-
return _asyncToGenerator(function* () {
|
|
1569
|
-
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1570
|
-
explore_name = (0, _sdkRtl.encodeParam)(explore_name);
|
|
1571
|
-
return _this192.get("/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
1572
|
-
fields
|
|
1573
|
-
}, null, options);
|
|
1574
|
-
})();
|
|
1575
|
-
}
|
|
1576
|
-
all_git_branches(project_id, options) {
|
|
1577
|
-
var _this193 = this;
|
|
1578
|
-
return _asyncToGenerator(function* () {
|
|
1579
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1580
|
-
return _this193.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
1581
|
-
})();
|
|
1582
|
-
}
|
|
1583
|
-
git_branch(project_id, options) {
|
|
1584
|
-
var _this194 = this;
|
|
1585
|
-
return _asyncToGenerator(function* () {
|
|
1586
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1587
|
-
return _this194.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
1588
|
-
})();
|
|
1589
|
-
}
|
|
1590
|
-
update_git_branch(project_id, body, options) {
|
|
1591
|
-
var _this195 = this;
|
|
1592
|
-
return _asyncToGenerator(function* () {
|
|
1593
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1594
|
-
return _this195.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
1595
|
-
})();
|
|
1596
|
-
}
|
|
1597
|
-
create_git_branch(project_id, body, options) {
|
|
1598
|
-
var _this196 = this;
|
|
1599
|
-
return _asyncToGenerator(function* () {
|
|
1600
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1601
|
-
return _this196.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
1602
|
-
})();
|
|
1603
|
-
}
|
|
1604
|
-
find_git_branch(project_id, branch_name, options) {
|
|
1605
|
-
var _this197 = this;
|
|
1606
|
-
return _asyncToGenerator(function* () {
|
|
1607
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1608
|
-
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
1609
|
-
return _this197.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
1610
|
-
})();
|
|
1611
|
-
}
|
|
1612
|
-
delete_git_branch(project_id, branch_name, options) {
|
|
1613
|
-
var _this198 = this;
|
|
1614
|
-
return _asyncToGenerator(function* () {
|
|
1615
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1616
|
-
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
1617
|
-
return _this198.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
1618
|
-
})();
|
|
1619
|
-
}
|
|
1620
|
-
deploy_ref_to_production(request, options) {
|
|
1621
|
-
var _this199 = this;
|
|
1622
|
-
return _asyncToGenerator(function* () {
|
|
1623
|
-
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
1624
|
-
return _this199.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
1625
|
-
branch: request.branch,
|
|
1626
|
-
ref: request.ref
|
|
1627
|
-
}, null, options);
|
|
1628
|
-
})();
|
|
1629
|
-
}
|
|
1630
|
-
deploy_to_production(project_id, options) {
|
|
1631
|
-
var _this200 = this;
|
|
1632
|
-
return _asyncToGenerator(function* () {
|
|
1633
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1634
|
-
return _this200.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
1635
|
-
})();
|
|
1636
|
-
}
|
|
1637
|
-
reset_project_to_production(project_id, options) {
|
|
1638
|
-
var _this201 = this;
|
|
1639
|
-
return _asyncToGenerator(function* () {
|
|
1640
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1641
|
-
return _this201.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
1642
|
-
})();
|
|
1643
|
-
}
|
|
1644
|
-
reset_project_to_remote(project_id, options) {
|
|
1645
|
-
var _this202 = this;
|
|
1646
|
-
return _asyncToGenerator(function* () {
|
|
1647
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1648
|
-
return _this202.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
1649
|
-
})();
|
|
1650
|
-
}
|
|
1651
|
-
all_projects(fields, options) {
|
|
1652
|
-
var _this203 = this;
|
|
1653
|
-
return _asyncToGenerator(function* () {
|
|
1654
|
-
return _this203.get('/projects', {
|
|
1655
|
-
fields
|
|
1656
|
-
}, null, options);
|
|
1657
|
-
})();
|
|
1658
|
-
}
|
|
1659
|
-
create_project(body, options) {
|
|
1660
|
-
var _this204 = this;
|
|
1661
|
-
return _asyncToGenerator(function* () {
|
|
1662
|
-
return _this204.post('/projects', null, body, options);
|
|
1663
|
-
})();
|
|
1664
|
-
}
|
|
1665
|
-
project(project_id, fields, options) {
|
|
1666
|
-
var _this205 = this;
|
|
1667
|
-
return _asyncToGenerator(function* () {
|
|
1668
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1669
|
-
return _this205.get("/projects/".concat(project_id), {
|
|
1670
|
-
fields
|
|
1671
|
-
}, null, options);
|
|
1672
|
-
})();
|
|
1673
|
-
}
|
|
1674
|
-
update_project(project_id, body, fields, options) {
|
|
1675
|
-
var _this206 = this;
|
|
1676
|
-
return _asyncToGenerator(function* () {
|
|
1677
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1678
|
-
return _this206.patch("/projects/".concat(project_id), {
|
|
1679
|
-
fields
|
|
1680
|
-
}, body, options);
|
|
1681
|
-
})();
|
|
1682
|
-
}
|
|
1683
|
-
manifest(project_id, options) {
|
|
1684
|
-
var _this207 = this;
|
|
1685
|
-
return _asyncToGenerator(function* () {
|
|
1686
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1687
|
-
return _this207.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
1688
|
-
})();
|
|
1689
|
-
}
|
|
1690
|
-
git_deploy_key(project_id, options) {
|
|
1691
|
-
var _this208 = this;
|
|
1692
|
-
return _asyncToGenerator(function* () {
|
|
1693
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1694
|
-
return _this208.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
1695
|
-
})();
|
|
1696
|
-
}
|
|
1697
|
-
create_git_deploy_key(project_id, options) {
|
|
1698
|
-
var _this209 = this;
|
|
1699
|
-
return _asyncToGenerator(function* () {
|
|
1700
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1701
|
-
return _this209.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
1702
|
-
})();
|
|
1703
|
-
}
|
|
1704
|
-
project_validation_results(project_id, fields, options) {
|
|
1705
|
-
var _this210 = this;
|
|
1706
|
-
return _asyncToGenerator(function* () {
|
|
1707
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1708
|
-
return _this210.get("/projects/".concat(project_id, "/validate"), {
|
|
1709
|
-
fields
|
|
1710
|
-
}, null, options);
|
|
1711
|
-
})();
|
|
1712
|
-
}
|
|
1713
|
-
validate_project(project_id, fields, options) {
|
|
1714
|
-
var _this211 = this;
|
|
1715
|
-
return _asyncToGenerator(function* () {
|
|
1716
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1717
|
-
return _this211.post("/projects/".concat(project_id, "/validate"), {
|
|
1718
|
-
fields
|
|
1719
|
-
}, null, options);
|
|
1720
|
-
})();
|
|
1721
|
-
}
|
|
1722
|
-
project_workspace(project_id, fields, options) {
|
|
1723
|
-
var _this212 = this;
|
|
1724
|
-
return _asyncToGenerator(function* () {
|
|
1725
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1726
|
-
return _this212.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
1727
|
-
fields
|
|
1728
|
-
}, null, options);
|
|
1729
|
-
})();
|
|
1730
|
-
}
|
|
1731
|
-
all_project_files(project_id, fields, options) {
|
|
1732
|
-
var _this213 = this;
|
|
1733
|
-
return _asyncToGenerator(function* () {
|
|
1734
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1735
|
-
return _this213.get("/projects/".concat(project_id, "/files"), {
|
|
1736
|
-
fields
|
|
1737
|
-
}, null, options);
|
|
1738
|
-
})();
|
|
1739
|
-
}
|
|
1740
|
-
project_file(project_id, file_id, fields, options) {
|
|
1741
|
-
var _this214 = this;
|
|
1742
|
-
return _asyncToGenerator(function* () {
|
|
1743
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1744
|
-
return _this214.get("/projects/".concat(project_id, "/files/file"), {
|
|
1745
|
-
file_id,
|
|
1746
|
-
fields
|
|
1747
|
-
}, null, options);
|
|
1748
|
-
})();
|
|
1749
|
-
}
|
|
1750
|
-
all_git_connection_tests(project_id, remote_url, options) {
|
|
1751
|
-
var _this215 = this;
|
|
1752
|
-
return _asyncToGenerator(function* () {
|
|
1753
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1754
|
-
return _this215.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
1755
|
-
remote_url
|
|
1756
|
-
}, null, options);
|
|
1757
|
-
})();
|
|
1758
|
-
}
|
|
1759
|
-
run_git_connection_test(request, options) {
|
|
1760
|
-
var _this216 = this;
|
|
1761
|
-
return _asyncToGenerator(function* () {
|
|
1762
|
-
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
1763
|
-
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
1764
|
-
return _this216.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
1765
|
-
remote_url: request.remote_url,
|
|
1766
|
-
use_production: request.use_production
|
|
1767
|
-
}, null, options);
|
|
1768
|
-
})();
|
|
1769
|
-
}
|
|
1770
|
-
all_lookml_tests(project_id, file_id, options) {
|
|
1771
|
-
var _this217 = this;
|
|
1772
|
-
return _asyncToGenerator(function* () {
|
|
1773
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1774
|
-
return _this217.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
1775
|
-
file_id
|
|
1776
|
-
}, null, options);
|
|
1777
|
-
})();
|
|
1778
|
-
}
|
|
1779
|
-
run_lookml_test(request, options) {
|
|
1780
|
-
var _this218 = this;
|
|
1781
|
-
return _asyncToGenerator(function* () {
|
|
1782
|
-
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
1783
|
-
return _this218.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
1784
|
-
file_id: request.file_id,
|
|
1785
|
-
test: request.test,
|
|
1786
|
-
model: request.model
|
|
1787
|
-
}, null, options);
|
|
1788
|
-
})();
|
|
1789
|
-
}
|
|
1790
|
-
tag_ref(request, options) {
|
|
1791
|
-
var _this219 = this;
|
|
1792
|
-
return _asyncToGenerator(function* () {
|
|
1793
|
-
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
1794
|
-
return _this219.post("/projects/".concat(request.project_id, "/tag"), {
|
|
1795
|
-
commit_sha: request.commit_sha,
|
|
1796
|
-
tag_name: request.tag_name,
|
|
1797
|
-
tag_message: request.tag_message
|
|
1798
|
-
}, request.body, options);
|
|
1799
|
-
})();
|
|
1800
|
-
}
|
|
1801
|
-
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
1802
|
-
var _this220 = this;
|
|
1803
|
-
return _asyncToGenerator(function* () {
|
|
1804
|
-
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
1805
|
-
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
1806
|
-
return _this220.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
1807
|
-
})();
|
|
1808
|
-
}
|
|
1809
|
-
delete_repository_credential(root_project_id, credential_id, options) {
|
|
1810
|
-
var _this221 = this;
|
|
1811
|
-
return _asyncToGenerator(function* () {
|
|
1812
|
-
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
1813
|
-
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
1814
|
-
return _this221.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
1815
|
-
})();
|
|
1816
|
-
}
|
|
1817
|
-
get_all_repository_credentials(root_project_id, options) {
|
|
1818
|
-
var _this222 = this;
|
|
1819
|
-
return _asyncToGenerator(function* () {
|
|
1820
|
-
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
1821
|
-
return _this222.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
1822
|
-
})();
|
|
1823
|
-
}
|
|
1824
|
-
create_query_task(request, options) {
|
|
1825
|
-
var _this223 = this;
|
|
1826
|
-
return _asyncToGenerator(function* () {
|
|
1827
|
-
return _this223.post('/query_tasks', {
|
|
1828
|
-
limit: request.limit,
|
|
1829
|
-
apply_formatting: request.apply_formatting,
|
|
1830
|
-
apply_vis: request.apply_vis,
|
|
1831
|
-
cache: request.cache,
|
|
1832
|
-
generate_drill_links: request.generate_drill_links,
|
|
1833
|
-
force_production: request.force_production,
|
|
1834
|
-
cache_only: request.cache_only,
|
|
1835
|
-
path_prefix: request.path_prefix,
|
|
1836
|
-
rebuild_pdts: request.rebuild_pdts,
|
|
1837
|
-
server_table_calcs: request.server_table_calcs,
|
|
1838
|
-
image_width: request.image_width,
|
|
1839
|
-
image_height: request.image_height,
|
|
1840
|
-
fields: request.fields
|
|
1841
|
-
}, request.body, options);
|
|
1842
|
-
})();
|
|
1843
|
-
}
|
|
1844
|
-
query_task_multi_results(query_task_ids, options) {
|
|
1845
|
-
var _this224 = this;
|
|
1846
|
-
return _asyncToGenerator(function* () {
|
|
1847
|
-
return _this224.get('/query_tasks/multi_results', {
|
|
1848
|
-
query_task_ids
|
|
1849
|
-
}, null, options);
|
|
1850
|
-
})();
|
|
1851
|
-
}
|
|
1852
|
-
query_task(query_task_id, fields, options) {
|
|
1853
|
-
var _this225 = this;
|
|
1854
|
-
return _asyncToGenerator(function* () {
|
|
1855
|
-
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
1856
|
-
return _this225.get("/query_tasks/".concat(query_task_id), {
|
|
1857
|
-
fields
|
|
1858
|
-
}, null, options);
|
|
1859
|
-
})();
|
|
1860
|
-
}
|
|
1861
|
-
query_task_results(query_task_id, options) {
|
|
1862
|
-
var _this226 = this;
|
|
1863
|
-
return _asyncToGenerator(function* () {
|
|
1864
|
-
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
1865
|
-
return _this226.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
1866
|
-
})();
|
|
1867
|
-
}
|
|
1868
|
-
query(query_id, fields, options) {
|
|
1869
|
-
var _this227 = this;
|
|
1870
|
-
return _asyncToGenerator(function* () {
|
|
1871
|
-
return _this227.get("/queries/".concat(query_id), {
|
|
1872
|
-
fields
|
|
1873
|
-
}, null, options);
|
|
1874
|
-
})();
|
|
1875
|
-
}
|
|
1876
|
-
query_for_slug(slug, fields, options) {
|
|
1877
|
-
var _this228 = this;
|
|
1878
|
-
return _asyncToGenerator(function* () {
|
|
1879
|
-
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
1880
|
-
return _this228.get("/queries/slug/".concat(slug), {
|
|
1881
|
-
fields
|
|
1882
|
-
}, null, options);
|
|
1883
|
-
})();
|
|
1884
|
-
}
|
|
1885
|
-
create_query(body, fields, options) {
|
|
1886
|
-
var _this229 = this;
|
|
1887
|
-
return _asyncToGenerator(function* () {
|
|
1888
|
-
return _this229.post('/queries', {
|
|
1889
|
-
fields
|
|
1890
|
-
}, body, options);
|
|
1891
|
-
})();
|
|
1892
|
-
}
|
|
1893
|
-
run_query(request, options) {
|
|
1894
|
-
var _this230 = this;
|
|
1895
|
-
return _asyncToGenerator(function* () {
|
|
1896
|
-
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
1897
|
-
return _this230.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
1898
|
-
limit: request.limit,
|
|
1899
|
-
apply_formatting: request.apply_formatting,
|
|
1900
|
-
apply_vis: request.apply_vis,
|
|
1901
|
-
cache: request.cache,
|
|
1902
|
-
image_width: request.image_width,
|
|
1903
|
-
image_height: request.image_height,
|
|
1904
|
-
generate_drill_links: request.generate_drill_links,
|
|
1905
|
-
force_production: request.force_production,
|
|
1906
|
-
cache_only: request.cache_only,
|
|
1907
|
-
path_prefix: request.path_prefix,
|
|
1908
|
-
rebuild_pdts: request.rebuild_pdts,
|
|
1909
|
-
server_table_calcs: request.server_table_calcs
|
|
1910
|
-
}, null, options);
|
|
1911
|
-
})();
|
|
1912
|
-
}
|
|
1913
|
-
run_inline_query(request, options) {
|
|
1914
|
-
var _this231 = this;
|
|
1915
|
-
return _asyncToGenerator(function* () {
|
|
1916
|
-
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
1917
|
-
return _this231.post("/queries/run/".concat(request.result_format), {
|
|
1918
|
-
limit: request.limit,
|
|
1919
|
-
apply_formatting: request.apply_formatting,
|
|
1920
|
-
apply_vis: request.apply_vis,
|
|
1921
|
-
cache: request.cache,
|
|
1922
|
-
image_width: request.image_width,
|
|
1923
|
-
image_height: request.image_height,
|
|
1924
|
-
generate_drill_links: request.generate_drill_links,
|
|
1925
|
-
force_production: request.force_production,
|
|
1926
|
-
cache_only: request.cache_only,
|
|
1927
|
-
path_prefix: request.path_prefix,
|
|
1928
|
-
rebuild_pdts: request.rebuild_pdts,
|
|
1929
|
-
server_table_calcs: request.server_table_calcs
|
|
1930
|
-
}, request.body, options);
|
|
1931
|
-
})();
|
|
1932
|
-
}
|
|
1933
|
-
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
1934
|
-
var _this232 = this;
|
|
1935
|
-
return _asyncToGenerator(function* () {
|
|
1936
|
-
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
1937
|
-
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
1938
|
-
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
1939
|
-
return _this232.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
1940
|
-
})();
|
|
1941
|
-
}
|
|
1942
|
-
merge_query(merge_query_id, fields, options) {
|
|
1943
|
-
var _this233 = this;
|
|
1944
|
-
return _asyncToGenerator(function* () {
|
|
1945
|
-
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
1946
|
-
return _this233.get("/merge_queries/".concat(merge_query_id), {
|
|
1947
|
-
fields
|
|
1948
|
-
}, null, options);
|
|
1949
|
-
})();
|
|
1950
|
-
}
|
|
1951
|
-
create_merge_query(body, fields, options) {
|
|
1952
|
-
var _this234 = this;
|
|
1953
|
-
return _asyncToGenerator(function* () {
|
|
1954
|
-
return _this234.post('/merge_queries', {
|
|
1955
|
-
fields
|
|
1956
|
-
}, body, options);
|
|
1957
|
-
})();
|
|
1958
|
-
}
|
|
1959
|
-
all_running_queries(options) {
|
|
1960
|
-
var _this235 = this;
|
|
1961
|
-
return _asyncToGenerator(function* () {
|
|
1962
|
-
return _this235.get('/running_queries', null, null, options);
|
|
1963
|
-
})();
|
|
1964
|
-
}
|
|
1965
|
-
kill_query(query_task_id, options) {
|
|
1966
|
-
var _this236 = this;
|
|
1967
|
-
return _asyncToGenerator(function* () {
|
|
1968
|
-
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
1969
|
-
return _this236.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
1970
|
-
})();
|
|
1971
|
-
}
|
|
1972
|
-
sql_query(slug, options) {
|
|
1973
|
-
var _this237 = this;
|
|
1974
|
-
return _asyncToGenerator(function* () {
|
|
1975
|
-
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
1976
|
-
return _this237.get("/sql_queries/".concat(slug), null, null, options);
|
|
1977
|
-
})();
|
|
1978
|
-
}
|
|
1979
|
-
create_sql_query(body, options) {
|
|
1980
|
-
var _this238 = this;
|
|
1981
|
-
return _asyncToGenerator(function* () {
|
|
1982
|
-
return _this238.post('/sql_queries', null, body, options);
|
|
1983
|
-
})();
|
|
1984
|
-
}
|
|
1985
|
-
run_sql_query(slug, result_format, download, options) {
|
|
1986
|
-
var _this239 = this;
|
|
1987
|
-
return _asyncToGenerator(function* () {
|
|
1988
|
-
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
1989
|
-
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
1990
|
-
return _this239.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
1991
|
-
download
|
|
1992
|
-
}, null, options);
|
|
1993
|
-
})();
|
|
1994
|
-
}
|
|
1995
|
-
create_lookml_dashboard_render_task(request, options) {
|
|
1996
|
-
var _this240 = this;
|
|
1997
|
-
return _asyncToGenerator(function* () {
|
|
1998
|
-
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
1999
|
-
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2000
|
-
return _this240.post("/render_tasks/lookml_dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2001
|
-
width: request.width,
|
|
2002
|
-
height: request.height,
|
|
2003
|
-
fields: request.fields,
|
|
2004
|
-
pdf_paper_size: request.pdf_paper_size,
|
|
2005
|
-
pdf_landscape: request.pdf_landscape
|
|
2006
|
-
}, request.body, options);
|
|
2007
|
-
})();
|
|
2008
|
-
}
|
|
2009
|
-
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
2010
|
-
var _this241 = this;
|
|
2011
|
-
return _asyncToGenerator(function* () {
|
|
2012
|
-
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2013
|
-
return _this241.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2014
|
-
width,
|
|
2015
|
-
height,
|
|
2016
|
-
fields
|
|
2017
|
-
}, null, options);
|
|
2018
|
-
})();
|
|
2019
|
-
}
|
|
2020
|
-
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
2021
|
-
var _this242 = this;
|
|
2022
|
-
return _asyncToGenerator(function* () {
|
|
2023
|
-
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2024
|
-
return _this242.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2025
|
-
width,
|
|
2026
|
-
height,
|
|
2027
|
-
fields
|
|
2028
|
-
}, null, options);
|
|
2029
|
-
})();
|
|
2030
|
-
}
|
|
2031
|
-
create_dashboard_render_task(request, options) {
|
|
2032
|
-
var _this243 = this;
|
|
2033
|
-
return _asyncToGenerator(function* () {
|
|
2034
|
-
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2035
|
-
return _this243.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2036
|
-
width: request.width,
|
|
2037
|
-
height: request.height,
|
|
2038
|
-
fields: request.fields,
|
|
2039
|
-
pdf_paper_size: request.pdf_paper_size,
|
|
2040
|
-
pdf_landscape: request.pdf_landscape
|
|
2041
|
-
}, request.body, options);
|
|
2042
|
-
})();
|
|
2043
|
-
}
|
|
2044
|
-
render_task(render_task_id, fields, options) {
|
|
2045
|
-
var _this244 = this;
|
|
2046
|
-
return _asyncToGenerator(function* () {
|
|
2047
|
-
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2048
|
-
return _this244.get("/render_tasks/".concat(render_task_id), {
|
|
2049
|
-
fields
|
|
2050
|
-
}, null, options);
|
|
2051
|
-
})();
|
|
2052
|
-
}
|
|
2053
|
-
render_task_results(render_task_id, options) {
|
|
2054
|
-
var _this245 = this;
|
|
2055
|
-
return _asyncToGenerator(function* () {
|
|
2056
|
-
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2057
|
-
return _this245.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2058
|
-
})();
|
|
2059
|
-
}
|
|
2060
|
-
search_model_sets(request, options) {
|
|
2061
|
-
var _this246 = this;
|
|
2062
|
-
return _asyncToGenerator(function* () {
|
|
2063
|
-
return _this246.get('/model_sets/search', {
|
|
2064
|
-
fields: request.fields,
|
|
2065
|
-
limit: request.limit,
|
|
2066
|
-
offset: request.offset,
|
|
2067
|
-
sorts: request.sorts,
|
|
2068
|
-
id: request.id,
|
|
2069
|
-
name: request.name,
|
|
2070
|
-
all_access: request.all_access,
|
|
2071
|
-
built_in: request.built_in,
|
|
2072
|
-
filter_or: request.filter_or
|
|
2073
|
-
}, null, options);
|
|
2074
|
-
})();
|
|
2075
|
-
}
|
|
2076
|
-
model_set(model_set_id, fields, options) {
|
|
2077
|
-
var _this247 = this;
|
|
2078
|
-
return _asyncToGenerator(function* () {
|
|
2079
|
-
return _this247.get("/model_sets/".concat(model_set_id), {
|
|
2080
|
-
fields
|
|
2081
|
-
}, null, options);
|
|
2082
|
-
})();
|
|
2083
|
-
}
|
|
2084
|
-
update_model_set(model_set_id, body, options) {
|
|
2085
|
-
var _this248 = this;
|
|
2086
|
-
return _asyncToGenerator(function* () {
|
|
2087
|
-
return _this248.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
2088
|
-
})();
|
|
2089
|
-
}
|
|
2090
|
-
delete_model_set(model_set_id, options) {
|
|
2091
|
-
var _this249 = this;
|
|
2092
|
-
return _asyncToGenerator(function* () {
|
|
2093
|
-
return _this249.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
2094
|
-
})();
|
|
2095
|
-
}
|
|
2096
|
-
all_model_sets(fields, options) {
|
|
2097
|
-
var _this250 = this;
|
|
2098
|
-
return _asyncToGenerator(function* () {
|
|
2099
|
-
return _this250.get('/model_sets', {
|
|
2100
|
-
fields
|
|
2101
|
-
}, null, options);
|
|
2102
|
-
})();
|
|
2103
|
-
}
|
|
2104
|
-
create_model_set(body, options) {
|
|
2105
|
-
var _this251 = this;
|
|
2106
|
-
return _asyncToGenerator(function* () {
|
|
2107
|
-
return _this251.post('/model_sets', null, body, options);
|
|
2108
|
-
})();
|
|
2109
|
-
}
|
|
2110
|
-
all_permissions(options) {
|
|
2111
|
-
var _this252 = this;
|
|
2112
|
-
return _asyncToGenerator(function* () {
|
|
2113
|
-
return _this252.get('/permissions', null, null, options);
|
|
2114
|
-
})();
|
|
2115
|
-
}
|
|
2116
|
-
search_permission_sets(request, options) {
|
|
2117
|
-
var _this253 = this;
|
|
2118
|
-
return _asyncToGenerator(function* () {
|
|
2119
|
-
return _this253.get('/permission_sets/search', {
|
|
2120
|
-
fields: request.fields,
|
|
2121
|
-
limit: request.limit,
|
|
2122
|
-
offset: request.offset,
|
|
2123
|
-
sorts: request.sorts,
|
|
2124
|
-
id: request.id,
|
|
2125
|
-
name: request.name,
|
|
2126
|
-
all_access: request.all_access,
|
|
2127
|
-
built_in: request.built_in,
|
|
2128
|
-
filter_or: request.filter_or
|
|
2129
|
-
}, null, options);
|
|
2130
|
-
})();
|
|
2131
|
-
}
|
|
2132
|
-
permission_set(permission_set_id, fields, options) {
|
|
2133
|
-
var _this254 = this;
|
|
2134
|
-
return _asyncToGenerator(function* () {
|
|
2135
|
-
return _this254.get("/permission_sets/".concat(permission_set_id), {
|
|
2136
|
-
fields
|
|
2137
|
-
}, null, options);
|
|
2138
|
-
})();
|
|
2139
|
-
}
|
|
2140
|
-
update_permission_set(permission_set_id, body, options) {
|
|
2141
|
-
var _this255 = this;
|
|
2142
|
-
return _asyncToGenerator(function* () {
|
|
2143
|
-
return _this255.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2144
|
-
})();
|
|
2145
|
-
}
|
|
2146
|
-
delete_permission_set(permission_set_id, options) {
|
|
2147
|
-
var _this256 = this;
|
|
2148
|
-
return _asyncToGenerator(function* () {
|
|
2149
|
-
return _this256.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2150
|
-
})();
|
|
2151
|
-
}
|
|
2152
|
-
all_permission_sets(fields, options) {
|
|
2153
|
-
var _this257 = this;
|
|
2154
|
-
return _asyncToGenerator(function* () {
|
|
2155
|
-
return _this257.get('/permission_sets', {
|
|
2156
|
-
fields
|
|
2157
|
-
}, null, options);
|
|
2158
|
-
})();
|
|
2159
|
-
}
|
|
2160
|
-
create_permission_set(body, options) {
|
|
2161
|
-
var _this258 = this;
|
|
2162
|
-
return _asyncToGenerator(function* () {
|
|
2163
|
-
return _this258.post('/permission_sets', null, body, options);
|
|
2164
|
-
})();
|
|
2165
|
-
}
|
|
2166
|
-
all_roles(request, options) {
|
|
2167
|
-
var _this259 = this;
|
|
2168
|
-
return _asyncToGenerator(function* () {
|
|
2169
|
-
return _this259.get('/roles', {
|
|
2170
|
-
fields: request.fields,
|
|
2171
|
-
ids: request.ids
|
|
2172
|
-
}, null, options);
|
|
2173
|
-
})();
|
|
2174
|
-
}
|
|
2175
|
-
create_role(body, options) {
|
|
2176
|
-
var _this260 = this;
|
|
2177
|
-
return _asyncToGenerator(function* () {
|
|
2178
|
-
return _this260.post('/roles', null, body, options);
|
|
2179
|
-
})();
|
|
2180
|
-
}
|
|
2181
|
-
search_roles(request, options) {
|
|
2182
|
-
var _this261 = this;
|
|
2183
|
-
return _asyncToGenerator(function* () {
|
|
2184
|
-
return _this261.get('/roles/search', {
|
|
2185
|
-
fields: request.fields,
|
|
2186
|
-
limit: request.limit,
|
|
2187
|
-
offset: request.offset,
|
|
2188
|
-
sorts: request.sorts,
|
|
2189
|
-
id: request.id,
|
|
2190
|
-
name: request.name,
|
|
2191
|
-
built_in: request.built_in,
|
|
2192
|
-
filter_or: request.filter_or
|
|
2193
|
-
}, null, options);
|
|
2194
|
-
})();
|
|
2195
|
-
}
|
|
2196
|
-
role(role_id, options) {
|
|
2197
|
-
var _this262 = this;
|
|
2198
|
-
return _asyncToGenerator(function* () {
|
|
2199
|
-
return _this262.get("/roles/".concat(role_id), null, null, options);
|
|
2200
|
-
})();
|
|
2201
|
-
}
|
|
2202
|
-
update_role(role_id, body, options) {
|
|
2203
|
-
var _this263 = this;
|
|
2204
|
-
return _asyncToGenerator(function* () {
|
|
2205
|
-
return _this263.patch("/roles/".concat(role_id), null, body, options);
|
|
2206
|
-
})();
|
|
2207
|
-
}
|
|
2208
|
-
delete_role(role_id, options) {
|
|
2209
|
-
var _this264 = this;
|
|
2210
|
-
return _asyncToGenerator(function* () {
|
|
2211
|
-
return _this264.delete("/roles/".concat(role_id), null, null, options);
|
|
2212
|
-
})();
|
|
2213
|
-
}
|
|
2214
|
-
role_groups(role_id, fields, options) {
|
|
2215
|
-
var _this265 = this;
|
|
2216
|
-
return _asyncToGenerator(function* () {
|
|
2217
|
-
return _this265.get("/roles/".concat(role_id, "/groups"), {
|
|
2218
|
-
fields
|
|
2219
|
-
}, null, options);
|
|
2220
|
-
})();
|
|
2221
|
-
}
|
|
2222
|
-
set_role_groups(role_id, body, options) {
|
|
2223
|
-
var _this266 = this;
|
|
2224
|
-
return _asyncToGenerator(function* () {
|
|
2225
|
-
return _this266.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
2226
|
-
})();
|
|
2227
|
-
}
|
|
2228
|
-
role_users(request, options) {
|
|
2229
|
-
var _this267 = this;
|
|
2230
|
-
return _asyncToGenerator(function* () {
|
|
2231
|
-
return _this267.get("/roles/".concat(request.role_id, "/users"), {
|
|
2232
|
-
fields: request.fields,
|
|
2233
|
-
direct_association_only: request.direct_association_only
|
|
2234
|
-
}, null, options);
|
|
2235
|
-
})();
|
|
2236
|
-
}
|
|
2237
|
-
set_role_users(role_id, body, options) {
|
|
2238
|
-
var _this268 = this;
|
|
2239
|
-
return _asyncToGenerator(function* () {
|
|
2240
|
-
return _this268.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
2241
|
-
})();
|
|
2242
|
-
}
|
|
2243
|
-
scheduled_plans_for_space(space_id, fields, options) {
|
|
2244
|
-
var _this269 = this;
|
|
2245
|
-
return _asyncToGenerator(function* () {
|
|
2246
|
-
return _this269.get("/scheduled_plans/space/".concat(space_id), {
|
|
2247
|
-
fields
|
|
2248
|
-
}, null, options);
|
|
2249
|
-
})();
|
|
2250
|
-
}
|
|
2251
|
-
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
2252
|
-
var _this270 = this;
|
|
2253
|
-
return _asyncToGenerator(function* () {
|
|
2254
|
-
return _this270.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
2255
|
-
fields
|
|
2256
|
-
}, null, options);
|
|
2257
|
-
})();
|
|
2258
|
-
}
|
|
2259
|
-
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
2260
|
-
var _this271 = this;
|
|
2261
|
-
return _asyncToGenerator(function* () {
|
|
2262
|
-
return _this271.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
2263
|
-
})();
|
|
2264
|
-
}
|
|
2265
|
-
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
2266
|
-
var _this272 = this;
|
|
2267
|
-
return _asyncToGenerator(function* () {
|
|
2268
|
-
return _this272.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
2269
|
-
})();
|
|
2270
|
-
}
|
|
2271
|
-
all_scheduled_plans(request, options) {
|
|
2272
|
-
var _this273 = this;
|
|
2273
|
-
return _asyncToGenerator(function* () {
|
|
2274
|
-
return _this273.get('/scheduled_plans', {
|
|
2275
|
-
user_id: request.user_id,
|
|
2276
|
-
fields: request.fields,
|
|
2277
|
-
all_users: request.all_users
|
|
2278
|
-
}, null, options);
|
|
2279
|
-
})();
|
|
2280
|
-
}
|
|
2281
|
-
create_scheduled_plan(body, options) {
|
|
2282
|
-
var _this274 = this;
|
|
2283
|
-
return _asyncToGenerator(function* () {
|
|
2284
|
-
return _this274.post('/scheduled_plans', null, body, options);
|
|
2285
|
-
})();
|
|
2286
|
-
}
|
|
2287
|
-
scheduled_plan_run_once(body, options) {
|
|
2288
|
-
var _this275 = this;
|
|
2289
|
-
return _asyncToGenerator(function* () {
|
|
2290
|
-
return _this275.post('/scheduled_plans/run_once', null, body, options);
|
|
2291
|
-
})();
|
|
2292
|
-
}
|
|
2293
|
-
scheduled_plans_for_look(request, options) {
|
|
2294
|
-
var _this276 = this;
|
|
2295
|
-
return _asyncToGenerator(function* () {
|
|
2296
|
-
return _this276.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
2297
|
-
user_id: request.user_id,
|
|
2298
|
-
fields: request.fields,
|
|
2299
|
-
all_users: request.all_users
|
|
2300
|
-
}, null, options);
|
|
2301
|
-
})();
|
|
2302
|
-
}
|
|
2303
|
-
scheduled_plans_for_dashboard(request, options) {
|
|
2304
|
-
var _this277 = this;
|
|
2305
|
-
return _asyncToGenerator(function* () {
|
|
2306
|
-
return _this277.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
2307
|
-
user_id: request.user_id,
|
|
2308
|
-
all_users: request.all_users,
|
|
2309
|
-
fields: request.fields
|
|
2310
|
-
}, null, options);
|
|
2311
|
-
})();
|
|
2312
|
-
}
|
|
2313
|
-
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
2314
|
-
var _this278 = this;
|
|
2315
|
-
return _asyncToGenerator(function* () {
|
|
2316
|
-
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
2317
|
-
return _this278.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
2318
|
-
user_id: request.user_id,
|
|
2319
|
-
fields: request.fields,
|
|
2320
|
-
all_users: request.all_users
|
|
2321
|
-
}, null, options);
|
|
2322
|
-
})();
|
|
2323
|
-
}
|
|
2324
|
-
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
2325
|
-
var _this279 = this;
|
|
2326
|
-
return _asyncToGenerator(function* () {
|
|
2327
|
-
return _this279.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
2328
|
-
})();
|
|
2329
|
-
}
|
|
2330
|
-
session(options) {
|
|
2331
|
-
var _this280 = this;
|
|
2332
|
-
return _asyncToGenerator(function* () {
|
|
2333
|
-
return _this280.get('/session', null, null, options);
|
|
2334
|
-
})();
|
|
2335
|
-
}
|
|
2336
|
-
update_session(body, options) {
|
|
2337
|
-
var _this281 = this;
|
|
2338
|
-
return _asyncToGenerator(function* () {
|
|
2339
|
-
return _this281.patch('/session', null, body, options);
|
|
2340
|
-
})();
|
|
2341
|
-
}
|
|
2342
|
-
search_spaces(request, options) {
|
|
2343
|
-
var _this282 = this;
|
|
2344
|
-
return _asyncToGenerator(function* () {
|
|
2345
|
-
return _this282.get('/spaces/search', {
|
|
2346
|
-
fields: request.fields,
|
|
2347
|
-
page: request.page,
|
|
2348
|
-
per_page: request.per_page,
|
|
2349
|
-
limit: request.limit,
|
|
2350
|
-
offset: request.offset,
|
|
2351
|
-
sorts: request.sorts,
|
|
2352
|
-
name: request.name,
|
|
2353
|
-
id: request.id,
|
|
2354
|
-
parent_id: request.parent_id,
|
|
2355
|
-
creator_id: request.creator_id,
|
|
2356
|
-
filter_or: request.filter_or,
|
|
2357
|
-
is_shared_root: request.is_shared_root,
|
|
2358
|
-
is_users_root: request.is_users_root
|
|
2359
|
-
}, null, options);
|
|
2360
|
-
})();
|
|
2361
|
-
}
|
|
2362
|
-
space(space_id, fields, options) {
|
|
2363
|
-
var _this283 = this;
|
|
2364
|
-
return _asyncToGenerator(function* () {
|
|
2365
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2366
|
-
return _this283.get("/spaces/".concat(space_id), {
|
|
2367
|
-
fields
|
|
2368
|
-
}, null, options);
|
|
2369
|
-
})();
|
|
2370
|
-
}
|
|
2371
|
-
update_space(space_id, body, options) {
|
|
2372
|
-
var _this284 = this;
|
|
2373
|
-
return _asyncToGenerator(function* () {
|
|
2374
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2375
|
-
return _this284.patch("/spaces/".concat(space_id), null, body, options);
|
|
2376
|
-
})();
|
|
2377
|
-
}
|
|
2378
|
-
delete_space(space_id, options) {
|
|
2379
|
-
var _this285 = this;
|
|
2380
|
-
return _asyncToGenerator(function* () {
|
|
2381
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2382
|
-
return _this285.delete("/spaces/".concat(space_id), null, null, options);
|
|
2383
|
-
})();
|
|
2384
|
-
}
|
|
2385
|
-
all_spaces(fields, options) {
|
|
2386
|
-
var _this286 = this;
|
|
2387
|
-
return _asyncToGenerator(function* () {
|
|
2388
|
-
return _this286.get('/spaces', {
|
|
2389
|
-
fields
|
|
2390
|
-
}, null, options);
|
|
2391
|
-
})();
|
|
2392
|
-
}
|
|
2393
|
-
create_space(body, options) {
|
|
2394
|
-
var _this287 = this;
|
|
2395
|
-
return _asyncToGenerator(function* () {
|
|
2396
|
-
return _this287.post('/spaces', null, body, options);
|
|
2397
|
-
})();
|
|
2398
|
-
}
|
|
2399
|
-
space_children(request, options) {
|
|
2400
|
-
var _this288 = this;
|
|
2401
|
-
return _asyncToGenerator(function* () {
|
|
2402
|
-
request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
|
|
2403
|
-
return _this288.get("/spaces/".concat(request.space_id, "/children"), {
|
|
2404
|
-
fields: request.fields,
|
|
2405
|
-
page: request.page,
|
|
2406
|
-
per_page: request.per_page,
|
|
2407
|
-
sorts: request.sorts
|
|
2408
|
-
}, null, options);
|
|
2409
|
-
})();
|
|
2410
|
-
}
|
|
2411
|
-
space_children_search(request, options) {
|
|
2412
|
-
var _this289 = this;
|
|
2413
|
-
return _asyncToGenerator(function* () {
|
|
2414
|
-
request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
|
|
2415
|
-
return _this289.get("/spaces/".concat(request.space_id, "/children/search"), {
|
|
2416
|
-
fields: request.fields,
|
|
2417
|
-
sorts: request.sorts,
|
|
2418
|
-
name: request.name
|
|
2419
|
-
}, null, options);
|
|
2420
|
-
})();
|
|
2421
|
-
}
|
|
2422
|
-
space_parent(space_id, fields, options) {
|
|
2423
|
-
var _this290 = this;
|
|
2424
|
-
return _asyncToGenerator(function* () {
|
|
2425
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2426
|
-
return _this290.get("/spaces/".concat(space_id, "/parent"), {
|
|
2427
|
-
fields
|
|
2428
|
-
}, null, options);
|
|
2429
|
-
})();
|
|
2430
|
-
}
|
|
2431
|
-
space_ancestors(space_id, fields, options) {
|
|
2432
|
-
var _this291 = this;
|
|
2433
|
-
return _asyncToGenerator(function* () {
|
|
2434
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2435
|
-
return _this291.get("/spaces/".concat(space_id, "/ancestors"), {
|
|
2436
|
-
fields
|
|
2437
|
-
}, null, options);
|
|
2438
|
-
})();
|
|
2439
|
-
}
|
|
2440
|
-
space_looks(space_id, fields, options) {
|
|
2441
|
-
var _this292 = this;
|
|
2442
|
-
return _asyncToGenerator(function* () {
|
|
2443
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2444
|
-
return _this292.get("/spaces/".concat(space_id, "/looks"), {
|
|
2445
|
-
fields
|
|
2446
|
-
}, null, options);
|
|
2447
|
-
})();
|
|
2448
|
-
}
|
|
2449
|
-
space_dashboards(space_id, fields, options) {
|
|
2450
|
-
var _this293 = this;
|
|
2451
|
-
return _asyncToGenerator(function* () {
|
|
2452
|
-
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2453
|
-
return _this293.get("/spaces/".concat(space_id, "/dashboards"), {
|
|
2454
|
-
fields
|
|
2455
|
-
}, null, options);
|
|
2456
|
-
})();
|
|
2457
|
-
}
|
|
2458
|
-
all_themes(fields, options) {
|
|
2459
|
-
var _this294 = this;
|
|
2460
|
-
return _asyncToGenerator(function* () {
|
|
2461
|
-
return _this294.get('/themes', {
|
|
2462
|
-
fields
|
|
2463
|
-
}, null, options);
|
|
2464
|
-
})();
|
|
2465
|
-
}
|
|
2466
|
-
create_theme(body, options) {
|
|
2467
|
-
var _this295 = this;
|
|
2468
|
-
return _asyncToGenerator(function* () {
|
|
2469
|
-
return _this295.post('/themes', null, body, options);
|
|
2470
|
-
})();
|
|
2471
|
-
}
|
|
2472
|
-
search_themes(request, options) {
|
|
2473
|
-
var _this296 = this;
|
|
2474
|
-
return _asyncToGenerator(function* () {
|
|
2475
|
-
return _this296.get('/themes/search', {
|
|
2476
|
-
id: request.id,
|
|
2477
|
-
name: request.name,
|
|
2478
|
-
begin_at: request.begin_at,
|
|
2479
|
-
end_at: request.end_at,
|
|
2480
|
-
limit: request.limit,
|
|
2481
|
-
offset: request.offset,
|
|
2482
|
-
sorts: request.sorts,
|
|
2483
|
-
fields: request.fields,
|
|
2484
|
-
filter_or: request.filter_or
|
|
2485
|
-
}, null, options);
|
|
2486
|
-
})();
|
|
2487
|
-
}
|
|
2488
|
-
default_theme(ts, options) {
|
|
2489
|
-
var _this297 = this;
|
|
2490
|
-
return _asyncToGenerator(function* () {
|
|
2491
|
-
return _this297.get('/themes/default', {
|
|
2492
|
-
ts
|
|
2493
|
-
}, null, options);
|
|
2494
|
-
})();
|
|
2495
|
-
}
|
|
2496
|
-
set_default_theme(name, options) {
|
|
2497
|
-
var _this298 = this;
|
|
2498
|
-
return _asyncToGenerator(function* () {
|
|
2499
|
-
return _this298.put('/themes/default', {
|
|
2500
|
-
name
|
|
2501
|
-
}, null, options);
|
|
2502
|
-
})();
|
|
2503
|
-
}
|
|
2504
|
-
active_themes(request, options) {
|
|
2505
|
-
var _this299 = this;
|
|
2506
|
-
return _asyncToGenerator(function* () {
|
|
2507
|
-
return _this299.get('/themes/active', {
|
|
2508
|
-
name: request.name,
|
|
2509
|
-
ts: request.ts,
|
|
2510
|
-
fields: request.fields
|
|
2511
|
-
}, null, options);
|
|
2512
|
-
})();
|
|
2513
|
-
}
|
|
2514
|
-
theme_or_default(name, ts, options) {
|
|
2515
|
-
var _this300 = this;
|
|
2516
|
-
return _asyncToGenerator(function* () {
|
|
2517
|
-
return _this300.get('/themes/theme_or_default', {
|
|
2518
|
-
name,
|
|
2519
|
-
ts
|
|
2520
|
-
}, null, options);
|
|
2521
|
-
})();
|
|
2522
|
-
}
|
|
2523
|
-
validate_theme(body, options) {
|
|
2524
|
-
var _this301 = this;
|
|
2525
|
-
return _asyncToGenerator(function* () {
|
|
2526
|
-
return _this301.post('/themes/validate', null, body, options);
|
|
2527
|
-
})();
|
|
2528
|
-
}
|
|
2529
|
-
theme(theme_id, fields, options) {
|
|
2530
|
-
var _this302 = this;
|
|
2531
|
-
return _asyncToGenerator(function* () {
|
|
2532
|
-
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
2533
|
-
return _this302.get("/themes/".concat(theme_id), {
|
|
2534
|
-
fields
|
|
2535
|
-
}, null, options);
|
|
2536
|
-
})();
|
|
2537
|
-
}
|
|
2538
|
-
update_theme(theme_id, body, options) {
|
|
2539
|
-
var _this303 = this;
|
|
2540
|
-
return _asyncToGenerator(function* () {
|
|
2541
|
-
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
2542
|
-
return _this303.patch("/themes/".concat(theme_id), null, body, options);
|
|
2543
|
-
})();
|
|
2544
|
-
}
|
|
2545
|
-
delete_theme(theme_id, options) {
|
|
2546
|
-
var _this304 = this;
|
|
2547
|
-
return _asyncToGenerator(function* () {
|
|
2548
|
-
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
2549
|
-
return _this304.delete("/themes/".concat(theme_id), null, null, options);
|
|
2550
|
-
})();
|
|
2551
|
-
}
|
|
2552
|
-
me(fields, options) {
|
|
2553
|
-
var _this305 = this;
|
|
2554
|
-
return _asyncToGenerator(function* () {
|
|
2555
|
-
return _this305.get('/user', {
|
|
2556
|
-
fields
|
|
2557
|
-
}, null, options);
|
|
2558
|
-
})();
|
|
2559
|
-
}
|
|
2560
|
-
all_users(request, options) {
|
|
2561
|
-
var _this306 = this;
|
|
2562
|
-
return _asyncToGenerator(function* () {
|
|
2563
|
-
return _this306.get('/users', {
|
|
2564
|
-
fields: request.fields,
|
|
2565
|
-
page: request.page,
|
|
2566
|
-
per_page: request.per_page,
|
|
2567
|
-
sorts: request.sorts,
|
|
2568
|
-
ids: request.ids
|
|
2569
|
-
}, null, options);
|
|
2570
|
-
})();
|
|
2571
|
-
}
|
|
2572
|
-
create_user(body, fields, options) {
|
|
2573
|
-
var _this307 = this;
|
|
2574
|
-
return _asyncToGenerator(function* () {
|
|
2575
|
-
return _this307.post('/users', {
|
|
2576
|
-
fields
|
|
2577
|
-
}, body, options);
|
|
2578
|
-
})();
|
|
2579
|
-
}
|
|
2580
|
-
search_users(request, options) {
|
|
2581
|
-
var _this308 = this;
|
|
2582
|
-
return _asyncToGenerator(function* () {
|
|
2583
|
-
return _this308.get('/users/search', {
|
|
2584
|
-
fields: request.fields,
|
|
2585
|
-
page: request.page,
|
|
2586
|
-
per_page: request.per_page,
|
|
2587
|
-
sorts: request.sorts,
|
|
2588
|
-
id: request.id,
|
|
2589
|
-
first_name: request.first_name,
|
|
2590
|
-
last_name: request.last_name,
|
|
2591
|
-
verified_looker_employee: request.verified_looker_employee,
|
|
2592
|
-
embed_user: request.embed_user,
|
|
2593
|
-
email: request.email,
|
|
2594
|
-
is_disabled: request.is_disabled,
|
|
2595
|
-
filter_or: request.filter_or,
|
|
2596
|
-
content_metadata_id: request.content_metadata_id,
|
|
2597
|
-
group_id: request.group_id
|
|
2598
|
-
}, null, options);
|
|
2599
|
-
})();
|
|
2600
|
-
}
|
|
2601
|
-
search_users_names(request, options) {
|
|
2602
|
-
var _this309 = this;
|
|
2603
|
-
return _asyncToGenerator(function* () {
|
|
2604
|
-
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
2605
|
-
return _this309.get("/users/search/names/".concat(request.pattern), {
|
|
2606
|
-
fields: request.fields,
|
|
2607
|
-
page: request.page,
|
|
2608
|
-
per_page: request.per_page,
|
|
2609
|
-
sorts: request.sorts,
|
|
2610
|
-
id: request.id,
|
|
2611
|
-
first_name: request.first_name,
|
|
2612
|
-
last_name: request.last_name,
|
|
2613
|
-
verified_looker_employee: request.verified_looker_employee,
|
|
2614
|
-
email: request.email,
|
|
2615
|
-
is_disabled: request.is_disabled
|
|
2616
|
-
}, null, options);
|
|
2617
|
-
})();
|
|
2618
|
-
}
|
|
2619
|
-
user(user_id, fields, options) {
|
|
2620
|
-
var _this310 = this;
|
|
2621
|
-
return _asyncToGenerator(function* () {
|
|
2622
|
-
return _this310.get("/users/".concat(user_id), {
|
|
2623
|
-
fields
|
|
2624
|
-
}, null, options);
|
|
2625
|
-
})();
|
|
2626
|
-
}
|
|
2627
|
-
update_user(user_id, body, fields, options) {
|
|
2628
|
-
var _this311 = this;
|
|
2629
|
-
return _asyncToGenerator(function* () {
|
|
2630
|
-
return _this311.patch("/users/".concat(user_id), {
|
|
2631
|
-
fields
|
|
2632
|
-
}, body, options);
|
|
2633
|
-
})();
|
|
2634
|
-
}
|
|
2635
|
-
delete_user(user_id, options) {
|
|
2636
|
-
var _this312 = this;
|
|
2637
|
-
return _asyncToGenerator(function* () {
|
|
2638
|
-
return _this312.delete("/users/".concat(user_id), null, null, options);
|
|
2639
|
-
})();
|
|
2640
|
-
}
|
|
2641
|
-
user_for_credential(credential_type, credential_id, fields, options) {
|
|
2642
|
-
var _this313 = this;
|
|
2643
|
-
return _asyncToGenerator(function* () {
|
|
2644
|
-
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
2645
|
-
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2646
|
-
return _this313.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
2647
|
-
fields
|
|
2648
|
-
}, null, options);
|
|
2649
|
-
})();
|
|
2650
|
-
}
|
|
2651
|
-
user_credentials_email(user_id, fields, options) {
|
|
2652
|
-
var _this314 = this;
|
|
2653
|
-
return _asyncToGenerator(function* () {
|
|
2654
|
-
return _this314.get("/users/".concat(user_id, "/credentials_email"), {
|
|
2655
|
-
fields
|
|
2656
|
-
}, null, options);
|
|
2657
|
-
})();
|
|
2658
|
-
}
|
|
2659
|
-
create_user_credentials_email(user_id, body, fields, options) {
|
|
2660
|
-
var _this315 = this;
|
|
2661
|
-
return _asyncToGenerator(function* () {
|
|
2662
|
-
return _this315.post("/users/".concat(user_id, "/credentials_email"), {
|
|
2663
|
-
fields
|
|
2664
|
-
}, body, options);
|
|
2665
|
-
})();
|
|
2666
|
-
}
|
|
2667
|
-
update_user_credentials_email(user_id, body, fields, options) {
|
|
2668
|
-
var _this316 = this;
|
|
2669
|
-
return _asyncToGenerator(function* () {
|
|
2670
|
-
return _this316.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
2671
|
-
fields
|
|
2672
|
-
}, body, options);
|
|
2673
|
-
})();
|
|
2674
|
-
}
|
|
2675
|
-
delete_user_credentials_email(user_id, options) {
|
|
2676
|
-
var _this317 = this;
|
|
2677
|
-
return _asyncToGenerator(function* () {
|
|
2678
|
-
return _this317.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
2679
|
-
})();
|
|
2680
|
-
}
|
|
2681
|
-
user_credentials_totp(user_id, fields, options) {
|
|
2682
|
-
var _this318 = this;
|
|
2683
|
-
return _asyncToGenerator(function* () {
|
|
2684
|
-
return _this318.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
2685
|
-
fields
|
|
2686
|
-
}, null, options);
|
|
2687
|
-
})();
|
|
2688
|
-
}
|
|
2689
|
-
create_user_credentials_totp(user_id, body, fields, options) {
|
|
2690
|
-
var _this319 = this;
|
|
2691
|
-
return _asyncToGenerator(function* () {
|
|
2692
|
-
return _this319.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
2693
|
-
fields
|
|
2694
|
-
}, body, options);
|
|
2695
|
-
})();
|
|
2696
|
-
}
|
|
2697
|
-
delete_user_credentials_totp(user_id, options) {
|
|
2698
|
-
var _this320 = this;
|
|
2699
|
-
return _asyncToGenerator(function* () {
|
|
2700
|
-
return _this320.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
2701
|
-
})();
|
|
2702
|
-
}
|
|
2703
|
-
user_credentials_ldap(user_id, fields, options) {
|
|
2704
|
-
var _this321 = this;
|
|
2705
|
-
return _asyncToGenerator(function* () {
|
|
2706
|
-
return _this321.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
2707
|
-
fields
|
|
2708
|
-
}, null, options);
|
|
2709
|
-
})();
|
|
2710
|
-
}
|
|
2711
|
-
delete_user_credentials_ldap(user_id, options) {
|
|
2712
|
-
var _this322 = this;
|
|
2713
|
-
return _asyncToGenerator(function* () {
|
|
2714
|
-
return _this322.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
2715
|
-
})();
|
|
2716
|
-
}
|
|
2717
|
-
user_credentials_google(user_id, fields, options) {
|
|
2718
|
-
var _this323 = this;
|
|
2719
|
-
return _asyncToGenerator(function* () {
|
|
2720
|
-
return _this323.get("/users/".concat(user_id, "/credentials_google"), {
|
|
2721
|
-
fields
|
|
2722
|
-
}, null, options);
|
|
2723
|
-
})();
|
|
2724
|
-
}
|
|
2725
|
-
delete_user_credentials_google(user_id, options) {
|
|
2726
|
-
var _this324 = this;
|
|
2727
|
-
return _asyncToGenerator(function* () {
|
|
2728
|
-
return _this324.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
2729
|
-
})();
|
|
2730
|
-
}
|
|
2731
|
-
user_credentials_saml(user_id, fields, options) {
|
|
2732
|
-
var _this325 = this;
|
|
2733
|
-
return _asyncToGenerator(function* () {
|
|
2734
|
-
return _this325.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
2735
|
-
fields
|
|
2736
|
-
}, null, options);
|
|
2737
|
-
})();
|
|
2738
|
-
}
|
|
2739
|
-
delete_user_credentials_saml(user_id, options) {
|
|
2740
|
-
var _this326 = this;
|
|
2741
|
-
return _asyncToGenerator(function* () {
|
|
2742
|
-
return _this326.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
2743
|
-
})();
|
|
2744
|
-
}
|
|
2745
|
-
user_credentials_oidc(user_id, fields, options) {
|
|
2746
|
-
var _this327 = this;
|
|
2747
|
-
return _asyncToGenerator(function* () {
|
|
2748
|
-
return _this327.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
2749
|
-
fields
|
|
2750
|
-
}, null, options);
|
|
2751
|
-
})();
|
|
2752
|
-
}
|
|
2753
|
-
delete_user_credentials_oidc(user_id, options) {
|
|
2754
|
-
var _this328 = this;
|
|
2755
|
-
return _asyncToGenerator(function* () {
|
|
2756
|
-
return _this328.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
2757
|
-
})();
|
|
2758
|
-
}
|
|
2759
|
-
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
2760
|
-
var _this329 = this;
|
|
2761
|
-
return _asyncToGenerator(function* () {
|
|
2762
|
-
return _this329.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
2763
|
-
fields
|
|
2764
|
-
}, null, options);
|
|
2765
|
-
})();
|
|
2766
|
-
}
|
|
2767
|
-
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
2768
|
-
var _this330 = this;
|
|
2769
|
-
return _asyncToGenerator(function* () {
|
|
2770
|
-
return _this330.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
2771
|
-
})();
|
|
2772
|
-
}
|
|
2773
|
-
all_user_credentials_api3s(user_id, fields, options) {
|
|
2774
|
-
var _this331 = this;
|
|
2775
|
-
return _asyncToGenerator(function* () {
|
|
2776
|
-
return _this331.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
2777
|
-
fields
|
|
2778
|
-
}, null, options);
|
|
2779
|
-
})();
|
|
2780
|
-
}
|
|
2781
|
-
create_user_credentials_api3(user_id, body, fields, options) {
|
|
2782
|
-
var _this332 = this;
|
|
2783
|
-
return _asyncToGenerator(function* () {
|
|
2784
|
-
return _this332.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
2785
|
-
fields
|
|
2786
|
-
}, body, options);
|
|
2787
|
-
})();
|
|
2788
|
-
}
|
|
2789
|
-
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
2790
|
-
var _this333 = this;
|
|
2791
|
-
return _asyncToGenerator(function* () {
|
|
2792
|
-
return _this333.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
2793
|
-
fields
|
|
2794
|
-
}, null, options);
|
|
2795
|
-
})();
|
|
2796
|
-
}
|
|
2797
|
-
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
2798
|
-
var _this334 = this;
|
|
2799
|
-
return _asyncToGenerator(function* () {
|
|
2800
|
-
return _this334.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
2801
|
-
})();
|
|
2802
|
-
}
|
|
2803
|
-
all_user_credentials_embeds(user_id, fields, options) {
|
|
2804
|
-
var _this335 = this;
|
|
2805
|
-
return _asyncToGenerator(function* () {
|
|
2806
|
-
return _this335.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
2807
|
-
fields
|
|
2808
|
-
}, null, options);
|
|
2809
|
-
})();
|
|
2810
|
-
}
|
|
2811
|
-
user_credentials_looker_openid(user_id, fields, options) {
|
|
2812
|
-
var _this336 = this;
|
|
2813
|
-
return _asyncToGenerator(function* () {
|
|
2814
|
-
return _this336.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
2815
|
-
fields
|
|
2816
|
-
}, null, options);
|
|
2817
|
-
})();
|
|
2818
|
-
}
|
|
2819
|
-
delete_user_credentials_looker_openid(user_id, options) {
|
|
2820
|
-
var _this337 = this;
|
|
2821
|
-
return _asyncToGenerator(function* () {
|
|
2822
|
-
return _this337.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
2823
|
-
})();
|
|
2824
|
-
}
|
|
2825
|
-
user_session(user_id, session_id, fields, options) {
|
|
2826
|
-
var _this338 = this;
|
|
2827
|
-
return _asyncToGenerator(function* () {
|
|
2828
|
-
return _this338.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
2829
|
-
fields
|
|
2830
|
-
}, null, options);
|
|
2831
|
-
})();
|
|
2832
|
-
}
|
|
2833
|
-
delete_user_session(user_id, session_id, options) {
|
|
2834
|
-
var _this339 = this;
|
|
2835
|
-
return _asyncToGenerator(function* () {
|
|
2836
|
-
return _this339.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
2837
|
-
})();
|
|
2838
|
-
}
|
|
2839
|
-
all_user_sessions(user_id, fields, options) {
|
|
2840
|
-
var _this340 = this;
|
|
2841
|
-
return _asyncToGenerator(function* () {
|
|
2842
|
-
return _this340.get("/users/".concat(user_id, "/sessions"), {
|
|
2843
|
-
fields
|
|
2844
|
-
}, null, options);
|
|
2845
|
-
})();
|
|
2846
|
-
}
|
|
2847
|
-
create_user_credentials_email_password_reset(request, options) {
|
|
2848
|
-
var _this341 = this;
|
|
2849
|
-
return _asyncToGenerator(function* () {
|
|
2850
|
-
return _this341.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
2851
|
-
expires: request.expires,
|
|
2852
|
-
fields: request.fields
|
|
2853
|
-
}, null, options);
|
|
2854
|
-
})();
|
|
2855
|
-
}
|
|
2856
|
-
user_roles(request, options) {
|
|
2857
|
-
var _this342 = this;
|
|
2858
|
-
return _asyncToGenerator(function* () {
|
|
2859
|
-
return _this342.get("/users/".concat(request.user_id, "/roles"), {
|
|
2860
|
-
fields: request.fields,
|
|
2861
|
-
direct_association_only: request.direct_association_only
|
|
2862
|
-
}, null, options);
|
|
2863
|
-
})();
|
|
2864
|
-
}
|
|
2865
|
-
set_user_roles(user_id, body, fields, options) {
|
|
2866
|
-
var _this343 = this;
|
|
2867
|
-
return _asyncToGenerator(function* () {
|
|
2868
|
-
return _this343.put("/users/".concat(user_id, "/roles"), {
|
|
2869
|
-
fields
|
|
2870
|
-
}, body, options);
|
|
2871
|
-
})();
|
|
2872
|
-
}
|
|
2873
|
-
user_attribute_user_values(request, options) {
|
|
2874
|
-
var _this344 = this;
|
|
2875
|
-
return _asyncToGenerator(function* () {
|
|
2876
|
-
return _this344.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
2877
|
-
fields: request.fields,
|
|
2878
|
-
user_attribute_ids: request.user_attribute_ids,
|
|
2879
|
-
all_values: request.all_values,
|
|
2880
|
-
include_unset: request.include_unset
|
|
2881
|
-
}, null, options);
|
|
2882
|
-
})();
|
|
2883
|
-
}
|
|
2884
|
-
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
2885
|
-
var _this345 = this;
|
|
2886
|
-
return _asyncToGenerator(function* () {
|
|
2887
|
-
return _this345.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
2888
|
-
})();
|
|
2889
|
-
}
|
|
2890
|
-
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
2891
|
-
var _this346 = this;
|
|
2892
|
-
return _asyncToGenerator(function* () {
|
|
2893
|
-
return _this346.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
2894
|
-
})();
|
|
2895
|
-
}
|
|
2896
|
-
all_user_attributes(request, options) {
|
|
2897
|
-
var _this347 = this;
|
|
2898
|
-
return _asyncToGenerator(function* () {
|
|
2899
|
-
return _this347.get('/user_attributes', {
|
|
2900
|
-
fields: request.fields,
|
|
2901
|
-
sorts: request.sorts
|
|
2902
|
-
}, null, options);
|
|
2903
|
-
})();
|
|
2904
|
-
}
|
|
2905
|
-
create_user_attribute(body, fields, options) {
|
|
2906
|
-
var _this348 = this;
|
|
2907
|
-
return _asyncToGenerator(function* () {
|
|
2908
|
-
return _this348.post('/user_attributes', {
|
|
2909
|
-
fields
|
|
2910
|
-
}, body, options);
|
|
2911
|
-
})();
|
|
2912
|
-
}
|
|
2913
|
-
user_attribute(user_attribute_id, fields, options) {
|
|
2914
|
-
var _this349 = this;
|
|
2915
|
-
return _asyncToGenerator(function* () {
|
|
2916
|
-
return _this349.get("/user_attributes/".concat(user_attribute_id), {
|
|
2917
|
-
fields
|
|
2918
|
-
}, null, options);
|
|
2919
|
-
})();
|
|
2920
|
-
}
|
|
2921
|
-
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
2922
|
-
var _this350 = this;
|
|
2923
|
-
return _asyncToGenerator(function* () {
|
|
2924
|
-
return _this350.patch("/user_attributes/".concat(user_attribute_id), {
|
|
2925
|
-
fields
|
|
2926
|
-
}, body, options);
|
|
2927
|
-
})();
|
|
2928
|
-
}
|
|
2929
|
-
delete_user_attribute(user_attribute_id, options) {
|
|
2930
|
-
var _this351 = this;
|
|
2931
|
-
return _asyncToGenerator(function* () {
|
|
2932
|
-
return _this351.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
2933
|
-
})();
|
|
2934
|
-
}
|
|
2935
|
-
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
2936
|
-
var _this352 = this;
|
|
2937
|
-
return _asyncToGenerator(function* () {
|
|
2938
|
-
return _this352.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
2939
|
-
fields
|
|
2940
|
-
}, null, options);
|
|
2941
|
-
})();
|
|
2942
|
-
}
|
|
2943
|
-
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
2944
|
-
var _this353 = this;
|
|
2945
|
-
return _asyncToGenerator(function* () {
|
|
2946
|
-
return _this353.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
2947
|
-
})();
|
|
2948
|
-
}
|
|
2949
|
-
all_workspaces(options) {
|
|
2950
|
-
var _this354 = this;
|
|
2951
|
-
return _asyncToGenerator(function* () {
|
|
2952
|
-
return _this354.get('/workspaces', null, null, options);
|
|
2953
|
-
})();
|
|
2954
|
-
}
|
|
2955
|
-
workspace(workspace_id, options) {
|
|
2956
|
-
var _this355 = this;
|
|
2957
|
-
return _asyncToGenerator(function* () {
|
|
2958
|
-
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
2959
|
-
return _this355.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
2960
|
-
})();
|
|
2961
|
-
}
|
|
2962
|
-
}
|
|
2963
|
-
exports.Looker31SDK = Looker31SDK;
|
|
2964
|
-
_defineProperty(Looker31SDK, "ApiVersion", '3.1');
|
|
2965
|
-
//# sourceMappingURL=methods.js.map
|