@looker/sdk 26.6.0 → 26.8.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 +21 -0
- package/lib/4.0/funcs.d.ts +1 -1
- package/lib/4.0/funcs.js +1393 -1398
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +1 -1
- package/lib/4.0/methods.js +928 -933
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +1 -1
- package/lib/4.0/methodsInterface.js +4 -0
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +46 -3
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +1 -1
- package/lib/4.0/streams.js +928 -933
- package/lib/4.0/streams.js.map +1 -1
- 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 +1393 -1398
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +928 -933
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +928 -933
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/lib/4.0/methods.js
CHANGED
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Looker40SDK = void 0;
|
|
7
7
|
var _sdkRtl = require("@looker/sdk-rtl");
|
|
8
8
|
var _constants = require("../constants");
|
|
9
|
-
function asyncGeneratorStep(
|
|
10
|
-
function _asyncToGenerator(
|
|
11
|
-
function _defineProperty(
|
|
12
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
|
9
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
10
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
11
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14
14
|
class Looker40SDK extends _sdkRtl.APIMethods {
|
|
15
15
|
constructor(authSession) {
|
|
@@ -92,57 +92,55 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
92
92
|
})();
|
|
93
93
|
}
|
|
94
94
|
alert_notifications(request, options) {
|
|
95
|
-
var
|
|
95
|
+
var _this0 = this;
|
|
96
96
|
return _asyncToGenerator(function* () {
|
|
97
|
-
return
|
|
97
|
+
return _this0.get('/alert_notifications', {
|
|
98
98
|
limit: request.limit,
|
|
99
99
|
offset: request.offset
|
|
100
100
|
}, null, options);
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
103
|
read_alert_notification(alert_notification_id, options) {
|
|
104
|
-
var
|
|
104
|
+
var _this1 = this;
|
|
105
105
|
return _asyncToGenerator(function* () {
|
|
106
106
|
alert_notification_id = (0, _sdkRtl.encodeParam)(alert_notification_id);
|
|
107
|
-
return
|
|
107
|
+
return _this1.patch("/alert_notifications/".concat(alert_notification_id), null, null, options);
|
|
108
108
|
})();
|
|
109
109
|
}
|
|
110
110
|
login(request, options) {
|
|
111
|
-
var
|
|
111
|
+
var _this10 = this;
|
|
112
112
|
return _asyncToGenerator(function* () {
|
|
113
|
-
return
|
|
113
|
+
return _this10.post('/login', null, new URLSearchParams({
|
|
114
114
|
client_id: request.client_id,
|
|
115
115
|
client_secret: request.client_secret
|
|
116
|
-
}, options);
|
|
116
|
+
}), options);
|
|
117
117
|
})();
|
|
118
118
|
}
|
|
119
|
-
login_user(user_id,
|
|
120
|
-
var
|
|
119
|
+
login_user(user_id, options) {
|
|
120
|
+
var _this11 = this;
|
|
121
121
|
return _asyncToGenerator(function* () {
|
|
122
122
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
123
|
-
return
|
|
124
|
-
associative
|
|
125
|
-
}, null, options);
|
|
123
|
+
return _this11.post("/login/".concat(user_id), null, null, options);
|
|
126
124
|
})();
|
|
127
125
|
}
|
|
128
126
|
logout(options) {
|
|
129
|
-
var
|
|
127
|
+
var _this12 = this;
|
|
130
128
|
return _asyncToGenerator(function* () {
|
|
131
|
-
return
|
|
129
|
+
return _this12.delete('/logout', null, null, options);
|
|
132
130
|
})();
|
|
133
131
|
}
|
|
134
132
|
artifact_usage(fields, options) {
|
|
135
|
-
var
|
|
133
|
+
var _this13 = this;
|
|
136
134
|
return _asyncToGenerator(function* () {
|
|
137
|
-
return
|
|
135
|
+
return _this13.get('/artifact/usage', {
|
|
138
136
|
fields
|
|
139
137
|
}, null, options);
|
|
140
138
|
})();
|
|
141
139
|
}
|
|
142
140
|
artifact_namespaces(request, options) {
|
|
143
|
-
var
|
|
141
|
+
var _this14 = this;
|
|
144
142
|
return _asyncToGenerator(function* () {
|
|
145
|
-
return
|
|
143
|
+
return _this14.get('/artifact/namespaces', {
|
|
146
144
|
fields: request.fields,
|
|
147
145
|
limit: request.limit,
|
|
148
146
|
offset: request.offset
|
|
@@ -150,26 +148,26 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
150
148
|
})();
|
|
151
149
|
}
|
|
152
150
|
artifact_value(namespace, key, options) {
|
|
153
|
-
var
|
|
151
|
+
var _this15 = this;
|
|
154
152
|
return _asyncToGenerator(function* () {
|
|
155
153
|
namespace = (0, _sdkRtl.encodeParam)(namespace);
|
|
156
|
-
return
|
|
154
|
+
return _this15.get("/artifact/".concat(namespace, "/value"), {
|
|
157
155
|
key
|
|
158
156
|
}, null, options);
|
|
159
157
|
})();
|
|
160
158
|
}
|
|
161
159
|
purge_artifacts(namespace, options) {
|
|
162
|
-
var
|
|
160
|
+
var _this16 = this;
|
|
163
161
|
return _asyncToGenerator(function* () {
|
|
164
162
|
namespace = (0, _sdkRtl.encodeParam)(namespace);
|
|
165
|
-
return
|
|
163
|
+
return _this16.delete("/artifact/".concat(namespace, "/purge"), null, null, options);
|
|
166
164
|
})();
|
|
167
165
|
}
|
|
168
166
|
search_artifacts(request, options) {
|
|
169
|
-
var
|
|
167
|
+
var _this17 = this;
|
|
170
168
|
return _asyncToGenerator(function* () {
|
|
171
169
|
request.namespace = (0, _sdkRtl.encodeParam)(request.namespace);
|
|
172
|
-
return
|
|
170
|
+
return _this17.get("/artifact/".concat(request.namespace, "/search"), {
|
|
173
171
|
fields: request.fields,
|
|
174
172
|
key: request.key,
|
|
175
173
|
user_ids: request.user_ids,
|
|
@@ -182,10 +180,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
182
180
|
})();
|
|
183
181
|
}
|
|
184
182
|
artifact(request, options) {
|
|
185
|
-
var
|
|
183
|
+
var _this18 = this;
|
|
186
184
|
return _asyncToGenerator(function* () {
|
|
187
185
|
request.namespace = (0, _sdkRtl.encodeParam)(request.namespace);
|
|
188
|
-
return
|
|
186
|
+
return _this18.get("/artifact/".concat(request.namespace), {
|
|
189
187
|
key: request.key,
|
|
190
188
|
fields: request.fields,
|
|
191
189
|
limit: request.limit,
|
|
@@ -195,357 +193,357 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
195
193
|
})();
|
|
196
194
|
}
|
|
197
195
|
delete_artifact(namespace, key, options) {
|
|
198
|
-
var
|
|
196
|
+
var _this19 = this;
|
|
199
197
|
return _asyncToGenerator(function* () {
|
|
200
198
|
namespace = (0, _sdkRtl.encodeParam)(namespace);
|
|
201
|
-
return
|
|
199
|
+
return _this19.delete("/artifact/".concat(namespace), {
|
|
202
200
|
key
|
|
203
201
|
}, null, options);
|
|
204
202
|
})();
|
|
205
203
|
}
|
|
206
204
|
update_artifacts(namespace, body, fields, options) {
|
|
207
|
-
var
|
|
205
|
+
var _this20 = this;
|
|
208
206
|
return _asyncToGenerator(function* () {
|
|
209
207
|
namespace = (0, _sdkRtl.encodeParam)(namespace);
|
|
210
|
-
return
|
|
208
|
+
return _this20.put("/artifacts/".concat(namespace), {
|
|
211
209
|
fields
|
|
212
210
|
}, body, options);
|
|
213
211
|
})();
|
|
214
212
|
}
|
|
215
213
|
create_embed_secret(body, options) {
|
|
216
|
-
var
|
|
214
|
+
var _this21 = this;
|
|
217
215
|
return _asyncToGenerator(function* () {
|
|
218
|
-
return
|
|
216
|
+
return _this21.post('/embed_config/secrets', null, body, options);
|
|
219
217
|
})();
|
|
220
218
|
}
|
|
221
219
|
delete_embed_secret(embed_secret_id, options) {
|
|
222
|
-
var
|
|
220
|
+
var _this22 = this;
|
|
223
221
|
return _asyncToGenerator(function* () {
|
|
224
222
|
embed_secret_id = (0, _sdkRtl.encodeParam)(embed_secret_id);
|
|
225
|
-
return
|
|
223
|
+
return _this22.delete("/embed_config/secrets/".concat(embed_secret_id), null, null, options);
|
|
226
224
|
})();
|
|
227
225
|
}
|
|
228
226
|
create_sso_embed_url(body, options) {
|
|
229
|
-
var
|
|
227
|
+
var _this23 = this;
|
|
230
228
|
return _asyncToGenerator(function* () {
|
|
231
|
-
return
|
|
229
|
+
return _this23.post('/embed/sso_url', null, body, options);
|
|
232
230
|
})();
|
|
233
231
|
}
|
|
234
232
|
create_embed_url_as_me(body, options) {
|
|
235
|
-
var
|
|
233
|
+
var _this24 = this;
|
|
236
234
|
return _asyncToGenerator(function* () {
|
|
237
|
-
return
|
|
235
|
+
return _this24.post('/embed/token_url/me', null, body, options);
|
|
238
236
|
})();
|
|
239
237
|
}
|
|
240
238
|
validate_embed_url(url, options) {
|
|
241
|
-
var
|
|
239
|
+
var _this25 = this;
|
|
242
240
|
return _asyncToGenerator(function* () {
|
|
243
|
-
return
|
|
241
|
+
return _this25.get('/embed/sso/validate', {
|
|
244
242
|
url
|
|
245
243
|
}, null, options);
|
|
246
244
|
})();
|
|
247
245
|
}
|
|
248
246
|
acquire_embed_cookieless_session(body, options) {
|
|
249
|
-
var
|
|
247
|
+
var _this26 = this;
|
|
250
248
|
return _asyncToGenerator(function* () {
|
|
251
|
-
return
|
|
249
|
+
return _this26.post('/embed/cookieless_session/acquire', null, body, options);
|
|
252
250
|
})();
|
|
253
251
|
}
|
|
254
252
|
delete_embed_cookieless_session(session_reference_token, options) {
|
|
255
|
-
var
|
|
253
|
+
var _this27 = this;
|
|
256
254
|
return _asyncToGenerator(function* () {
|
|
257
255
|
session_reference_token = (0, _sdkRtl.encodeParam)(session_reference_token);
|
|
258
|
-
return
|
|
256
|
+
return _this27.delete("/embed/cookieless_session/".concat(session_reference_token), null, null, options);
|
|
259
257
|
})();
|
|
260
258
|
}
|
|
261
259
|
generate_tokens_for_cookieless_session(body, options) {
|
|
262
|
-
var
|
|
260
|
+
var _this28 = this;
|
|
263
261
|
return _asyncToGenerator(function* () {
|
|
264
|
-
return
|
|
262
|
+
return _this28.put('/embed/cookieless_session/generate_tokens', null, body, options);
|
|
265
263
|
})();
|
|
266
264
|
}
|
|
267
265
|
ldap_config(options) {
|
|
268
|
-
var
|
|
266
|
+
var _this29 = this;
|
|
269
267
|
return _asyncToGenerator(function* () {
|
|
270
|
-
return
|
|
268
|
+
return _this29.get('/ldap_config', null, null, options);
|
|
271
269
|
})();
|
|
272
270
|
}
|
|
273
271
|
update_ldap_config(body, options) {
|
|
274
|
-
var
|
|
272
|
+
var _this30 = this;
|
|
275
273
|
return _asyncToGenerator(function* () {
|
|
276
|
-
return
|
|
274
|
+
return _this30.patch('/ldap_config', null, body, options);
|
|
277
275
|
})();
|
|
278
276
|
}
|
|
279
277
|
test_ldap_config_connection(body, options) {
|
|
280
|
-
var
|
|
278
|
+
var _this31 = this;
|
|
281
279
|
return _asyncToGenerator(function* () {
|
|
282
|
-
return
|
|
280
|
+
return _this31.put('/ldap_config/test_connection', null, body, options);
|
|
283
281
|
})();
|
|
284
282
|
}
|
|
285
283
|
test_ldap_config_auth(body, options) {
|
|
286
|
-
var
|
|
284
|
+
var _this32 = this;
|
|
287
285
|
return _asyncToGenerator(function* () {
|
|
288
|
-
return
|
|
286
|
+
return _this32.put('/ldap_config/test_auth', null, body, options);
|
|
289
287
|
})();
|
|
290
288
|
}
|
|
291
289
|
test_ldap_config_user_info(body, options) {
|
|
292
|
-
var
|
|
290
|
+
var _this33 = this;
|
|
293
291
|
return _asyncToGenerator(function* () {
|
|
294
|
-
return
|
|
292
|
+
return _this33.put('/ldap_config/test_user_info', null, body, options);
|
|
295
293
|
})();
|
|
296
294
|
}
|
|
297
295
|
test_ldap_config_user_auth(body, options) {
|
|
298
|
-
var
|
|
296
|
+
var _this34 = this;
|
|
299
297
|
return _asyncToGenerator(function* () {
|
|
300
|
-
return
|
|
298
|
+
return _this34.put('/ldap_config/test_user_auth', null, body, options);
|
|
301
299
|
})();
|
|
302
300
|
}
|
|
303
301
|
register_mobile_device(body, options) {
|
|
304
|
-
var
|
|
302
|
+
var _this35 = this;
|
|
305
303
|
return _asyncToGenerator(function* () {
|
|
306
|
-
return
|
|
304
|
+
return _this35.post('/mobile/device', null, body, options);
|
|
307
305
|
})();
|
|
308
306
|
}
|
|
309
307
|
update_mobile_device_registration(device_id, options) {
|
|
310
|
-
var
|
|
308
|
+
var _this36 = this;
|
|
311
309
|
return _asyncToGenerator(function* () {
|
|
312
310
|
device_id = (0, _sdkRtl.encodeParam)(device_id);
|
|
313
|
-
return
|
|
311
|
+
return _this36.patch("/mobile/device/".concat(device_id), null, null, options);
|
|
314
312
|
})();
|
|
315
313
|
}
|
|
316
314
|
deregister_mobile_device(device_id, options) {
|
|
317
|
-
var
|
|
315
|
+
var _this37 = this;
|
|
318
316
|
return _asyncToGenerator(function* () {
|
|
319
317
|
device_id = (0, _sdkRtl.encodeParam)(device_id);
|
|
320
|
-
return
|
|
318
|
+
return _this37.delete("/mobile/device/".concat(device_id), null, null, options);
|
|
321
319
|
})();
|
|
322
320
|
}
|
|
323
321
|
all_oauth_client_apps(fields, options) {
|
|
324
|
-
var
|
|
322
|
+
var _this38 = this;
|
|
325
323
|
return _asyncToGenerator(function* () {
|
|
326
|
-
return
|
|
324
|
+
return _this38.get('/oauth_client_apps', {
|
|
327
325
|
fields
|
|
328
326
|
}, null, options);
|
|
329
327
|
})();
|
|
330
328
|
}
|
|
331
329
|
oauth_client_app(client_guid, fields, options) {
|
|
332
|
-
var
|
|
330
|
+
var _this39 = this;
|
|
333
331
|
return _asyncToGenerator(function* () {
|
|
334
332
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
335
|
-
return
|
|
333
|
+
return _this39.get("/oauth_client_apps/".concat(client_guid), {
|
|
336
334
|
fields
|
|
337
335
|
}, null, options);
|
|
338
336
|
})();
|
|
339
337
|
}
|
|
340
338
|
register_oauth_client_app(client_guid, body, fields, options) {
|
|
341
|
-
var
|
|
339
|
+
var _this40 = this;
|
|
342
340
|
return _asyncToGenerator(function* () {
|
|
343
341
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
344
|
-
return
|
|
342
|
+
return _this40.post("/oauth_client_apps/".concat(client_guid), {
|
|
345
343
|
fields
|
|
346
344
|
}, body, options);
|
|
347
345
|
})();
|
|
348
346
|
}
|
|
349
347
|
update_oauth_client_app(client_guid, body, fields, options) {
|
|
350
|
-
var
|
|
348
|
+
var _this41 = this;
|
|
351
349
|
return _asyncToGenerator(function* () {
|
|
352
350
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
353
|
-
return
|
|
351
|
+
return _this41.patch("/oauth_client_apps/".concat(client_guid), {
|
|
354
352
|
fields
|
|
355
353
|
}, body, options);
|
|
356
354
|
})();
|
|
357
355
|
}
|
|
358
356
|
delete_oauth_client_app(client_guid, options) {
|
|
359
|
-
var
|
|
357
|
+
var _this42 = this;
|
|
360
358
|
return _asyncToGenerator(function* () {
|
|
361
359
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
362
|
-
return
|
|
360
|
+
return _this42.delete("/oauth_client_apps/".concat(client_guid), null, null, options);
|
|
363
361
|
})();
|
|
364
362
|
}
|
|
365
363
|
invalidate_tokens(client_guid, options) {
|
|
366
|
-
var
|
|
364
|
+
var _this43 = this;
|
|
367
365
|
return _asyncToGenerator(function* () {
|
|
368
366
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
369
|
-
return
|
|
367
|
+
return _this43.delete("/oauth_client_apps/".concat(client_guid, "/tokens"), null, null, options);
|
|
370
368
|
})();
|
|
371
369
|
}
|
|
372
370
|
activate_app_user(client_guid, user_id, fields, options) {
|
|
373
|
-
var
|
|
371
|
+
var _this44 = this;
|
|
374
372
|
return _asyncToGenerator(function* () {
|
|
375
373
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
376
374
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
377
|
-
return
|
|
375
|
+
return _this44.post("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
378
376
|
fields
|
|
379
377
|
}, null, options);
|
|
380
378
|
})();
|
|
381
379
|
}
|
|
382
380
|
deactivate_app_user(client_guid, user_id, fields, options) {
|
|
383
|
-
var
|
|
381
|
+
var _this45 = this;
|
|
384
382
|
return _asyncToGenerator(function* () {
|
|
385
383
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
386
384
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
387
|
-
return
|
|
385
|
+
return _this45.delete("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
388
386
|
fields
|
|
389
387
|
}, null, options);
|
|
390
388
|
})();
|
|
391
389
|
}
|
|
392
390
|
oidc_config(options) {
|
|
393
|
-
var
|
|
391
|
+
var _this46 = this;
|
|
394
392
|
return _asyncToGenerator(function* () {
|
|
395
|
-
return
|
|
393
|
+
return _this46.get('/oidc_config', null, null, options);
|
|
396
394
|
})();
|
|
397
395
|
}
|
|
398
396
|
update_oidc_config(body, options) {
|
|
399
|
-
var
|
|
397
|
+
var _this47 = this;
|
|
400
398
|
return _asyncToGenerator(function* () {
|
|
401
|
-
return
|
|
399
|
+
return _this47.patch('/oidc_config', null, body, options);
|
|
402
400
|
})();
|
|
403
401
|
}
|
|
404
402
|
oidc_test_config(test_slug, options) {
|
|
405
|
-
var
|
|
403
|
+
var _this48 = this;
|
|
406
404
|
return _asyncToGenerator(function* () {
|
|
407
405
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
408
|
-
return
|
|
406
|
+
return _this48.get("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
409
407
|
})();
|
|
410
408
|
}
|
|
411
409
|
delete_oidc_test_config(test_slug, options) {
|
|
412
|
-
var
|
|
410
|
+
var _this49 = this;
|
|
413
411
|
return _asyncToGenerator(function* () {
|
|
414
412
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
415
|
-
return
|
|
413
|
+
return _this49.delete("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
416
414
|
})();
|
|
417
415
|
}
|
|
418
416
|
create_oidc_test_config(body, options) {
|
|
419
|
-
var
|
|
417
|
+
var _this50 = this;
|
|
420
418
|
return _asyncToGenerator(function* () {
|
|
421
|
-
return
|
|
419
|
+
return _this50.post('/oidc_test_configs', null, body, options);
|
|
422
420
|
})();
|
|
423
421
|
}
|
|
424
422
|
password_config(options) {
|
|
425
|
-
var
|
|
423
|
+
var _this51 = this;
|
|
426
424
|
return _asyncToGenerator(function* () {
|
|
427
|
-
return
|
|
425
|
+
return _this51.get('/password_config', null, null, options);
|
|
428
426
|
})();
|
|
429
427
|
}
|
|
430
428
|
update_password_config(body, options) {
|
|
431
|
-
var
|
|
429
|
+
var _this52 = this;
|
|
432
430
|
return _asyncToGenerator(function* () {
|
|
433
|
-
return
|
|
431
|
+
return _this52.patch('/password_config', null, body, options);
|
|
434
432
|
})();
|
|
435
433
|
}
|
|
436
434
|
force_password_reset_at_next_login_for_all_users(options) {
|
|
437
|
-
var
|
|
435
|
+
var _this53 = this;
|
|
438
436
|
return _asyncToGenerator(function* () {
|
|
439
|
-
return
|
|
437
|
+
return _this53.put('/password_config/force_password_reset_at_next_login_for_all_users', null, null, options);
|
|
440
438
|
})();
|
|
441
439
|
}
|
|
442
440
|
saml_config(options) {
|
|
443
|
-
var
|
|
441
|
+
var _this54 = this;
|
|
444
442
|
return _asyncToGenerator(function* () {
|
|
445
|
-
return
|
|
443
|
+
return _this54.get('/saml_config', null, null, options);
|
|
446
444
|
})();
|
|
447
445
|
}
|
|
448
446
|
update_saml_config(body, options) {
|
|
449
|
-
var
|
|
447
|
+
var _this55 = this;
|
|
450
448
|
return _asyncToGenerator(function* () {
|
|
451
|
-
return
|
|
449
|
+
return _this55.patch('/saml_config', null, body, options);
|
|
452
450
|
})();
|
|
453
451
|
}
|
|
454
452
|
saml_test_config(test_slug, options) {
|
|
455
|
-
var
|
|
453
|
+
var _this56 = this;
|
|
456
454
|
return _asyncToGenerator(function* () {
|
|
457
455
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
458
|
-
return
|
|
456
|
+
return _this56.get("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
459
457
|
})();
|
|
460
458
|
}
|
|
461
459
|
delete_saml_test_config(test_slug, options) {
|
|
462
|
-
var
|
|
460
|
+
var _this57 = this;
|
|
463
461
|
return _asyncToGenerator(function* () {
|
|
464
462
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
465
|
-
return
|
|
463
|
+
return _this57.delete("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
466
464
|
})();
|
|
467
465
|
}
|
|
468
466
|
create_saml_test_config(body, options) {
|
|
469
|
-
var
|
|
467
|
+
var _this58 = this;
|
|
470
468
|
return _asyncToGenerator(function* () {
|
|
471
|
-
return
|
|
469
|
+
return _this58.post('/saml_test_configs', null, body, options);
|
|
472
470
|
})();
|
|
473
471
|
}
|
|
474
472
|
parse_saml_idp_metadata(body, options) {
|
|
475
|
-
var
|
|
473
|
+
var _this59 = this;
|
|
476
474
|
return _asyncToGenerator(function* () {
|
|
477
|
-
return
|
|
475
|
+
return _this59.post('/parse_saml_idp_metadata', null, body, options);
|
|
478
476
|
})();
|
|
479
477
|
}
|
|
480
478
|
fetch_and_parse_saml_idp_metadata(body, options) {
|
|
481
|
-
var
|
|
479
|
+
var _this60 = this;
|
|
482
480
|
return _asyncToGenerator(function* () {
|
|
483
|
-
return
|
|
481
|
+
return _this60.post('/fetch_and_parse_saml_idp_metadata', null, body, options);
|
|
484
482
|
})();
|
|
485
483
|
}
|
|
486
484
|
session_config(options) {
|
|
487
|
-
var
|
|
485
|
+
var _this61 = this;
|
|
488
486
|
return _asyncToGenerator(function* () {
|
|
489
|
-
return
|
|
487
|
+
return _this61.get('/session_config', null, null, options);
|
|
490
488
|
})();
|
|
491
489
|
}
|
|
492
490
|
update_session_config(body, options) {
|
|
493
|
-
var
|
|
491
|
+
var _this62 = this;
|
|
494
492
|
return _asyncToGenerator(function* () {
|
|
495
|
-
return
|
|
493
|
+
return _this62.patch('/session_config', null, body, options);
|
|
496
494
|
})();
|
|
497
495
|
}
|
|
498
496
|
get_support_access_allowlist_entries(fields, options) {
|
|
499
|
-
var
|
|
497
|
+
var _this63 = this;
|
|
500
498
|
return _asyncToGenerator(function* () {
|
|
501
|
-
return
|
|
499
|
+
return _this63.get('/support_access/allowlist', {
|
|
502
500
|
fields
|
|
503
501
|
}, null, options);
|
|
504
502
|
})();
|
|
505
503
|
}
|
|
506
504
|
add_support_access_allowlist_entries(body, options) {
|
|
507
|
-
var
|
|
505
|
+
var _this64 = this;
|
|
508
506
|
return _asyncToGenerator(function* () {
|
|
509
|
-
return
|
|
507
|
+
return _this64.post('/support_access/allowlist', null, body, options);
|
|
510
508
|
})();
|
|
511
509
|
}
|
|
512
510
|
delete_support_access_allowlist_entry(entry_id, options) {
|
|
513
|
-
var
|
|
511
|
+
var _this65 = this;
|
|
514
512
|
return _asyncToGenerator(function* () {
|
|
515
513
|
entry_id = (0, _sdkRtl.encodeParam)(entry_id);
|
|
516
|
-
return
|
|
514
|
+
return _this65.delete("/support_access/allowlist/".concat(entry_id), null, null, options);
|
|
517
515
|
})();
|
|
518
516
|
}
|
|
519
517
|
enable_support_access(body, options) {
|
|
520
|
-
var
|
|
518
|
+
var _this66 = this;
|
|
521
519
|
return _asyncToGenerator(function* () {
|
|
522
|
-
return
|
|
520
|
+
return _this66.put('/support_access/enable', null, body, options);
|
|
523
521
|
})();
|
|
524
522
|
}
|
|
525
523
|
disable_support_access(options) {
|
|
526
|
-
var
|
|
524
|
+
var _this67 = this;
|
|
527
525
|
return _asyncToGenerator(function* () {
|
|
528
|
-
return
|
|
526
|
+
return _this67.put('/support_access/disable', null, null, options);
|
|
529
527
|
})();
|
|
530
528
|
}
|
|
531
529
|
support_access_status(options) {
|
|
532
|
-
var
|
|
530
|
+
var _this68 = this;
|
|
533
531
|
return _asyncToGenerator(function* () {
|
|
534
|
-
return
|
|
532
|
+
return _this68.get('/support_access/status', null, null, options);
|
|
535
533
|
})();
|
|
536
534
|
}
|
|
537
535
|
all_user_login_lockouts(fields, options) {
|
|
538
|
-
var
|
|
536
|
+
var _this69 = this;
|
|
539
537
|
return _asyncToGenerator(function* () {
|
|
540
|
-
return
|
|
538
|
+
return _this69.get('/user_login_lockouts', {
|
|
541
539
|
fields
|
|
542
540
|
}, null, options);
|
|
543
541
|
})();
|
|
544
542
|
}
|
|
545
543
|
search_user_login_lockouts(request, options) {
|
|
546
|
-
var
|
|
544
|
+
var _this70 = this;
|
|
547
545
|
return _asyncToGenerator(function* () {
|
|
548
|
-
return
|
|
546
|
+
return _this70.get('/user_login_lockouts/search', {
|
|
549
547
|
fields: request.fields,
|
|
550
548
|
page: request.page,
|
|
551
549
|
per_page: request.per_page,
|
|
@@ -561,32 +559,32 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
561
559
|
})();
|
|
562
560
|
}
|
|
563
561
|
delete_user_login_lockout(key, options) {
|
|
564
|
-
var
|
|
562
|
+
var _this71 = this;
|
|
565
563
|
return _asyncToGenerator(function* () {
|
|
566
564
|
key = (0, _sdkRtl.encodeParam)(key);
|
|
567
|
-
return
|
|
565
|
+
return _this71.delete("/user_login_lockout/".concat(key), null, null, options);
|
|
568
566
|
})();
|
|
569
567
|
}
|
|
570
568
|
all_boards(fields, options) {
|
|
571
|
-
var
|
|
569
|
+
var _this72 = this;
|
|
572
570
|
return _asyncToGenerator(function* () {
|
|
573
|
-
return
|
|
571
|
+
return _this72.get('/boards', {
|
|
574
572
|
fields
|
|
575
573
|
}, null, options);
|
|
576
574
|
})();
|
|
577
575
|
}
|
|
578
576
|
create_board(body, fields, options) {
|
|
579
|
-
var
|
|
577
|
+
var _this73 = this;
|
|
580
578
|
return _asyncToGenerator(function* () {
|
|
581
|
-
return
|
|
579
|
+
return _this73.post('/boards', {
|
|
582
580
|
fields
|
|
583
581
|
}, body, options);
|
|
584
582
|
})();
|
|
585
583
|
}
|
|
586
584
|
search_boards(request, options) {
|
|
587
|
-
var
|
|
585
|
+
var _this74 = this;
|
|
588
586
|
return _asyncToGenerator(function* () {
|
|
589
|
-
return
|
|
587
|
+
return _this74.get('/boards/search', {
|
|
590
588
|
title: request.title,
|
|
591
589
|
created_at: request.created_at,
|
|
592
590
|
first_name: request.first_name,
|
|
@@ -605,34 +603,34 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
605
603
|
})();
|
|
606
604
|
}
|
|
607
605
|
board(board_id, fields, options) {
|
|
608
|
-
var
|
|
606
|
+
var _this75 = this;
|
|
609
607
|
return _asyncToGenerator(function* () {
|
|
610
608
|
board_id = (0, _sdkRtl.encodeParam)(board_id);
|
|
611
|
-
return
|
|
609
|
+
return _this75.get("/boards/".concat(board_id), {
|
|
612
610
|
fields
|
|
613
611
|
}, null, options);
|
|
614
612
|
})();
|
|
615
613
|
}
|
|
616
614
|
update_board(board_id, body, fields, options) {
|
|
617
|
-
var
|
|
615
|
+
var _this76 = this;
|
|
618
616
|
return _asyncToGenerator(function* () {
|
|
619
617
|
board_id = (0, _sdkRtl.encodeParam)(board_id);
|
|
620
|
-
return
|
|
618
|
+
return _this76.patch("/boards/".concat(board_id), {
|
|
621
619
|
fields
|
|
622
620
|
}, body, options);
|
|
623
621
|
})();
|
|
624
622
|
}
|
|
625
623
|
delete_board(board_id, options) {
|
|
626
|
-
var
|
|
624
|
+
var _this77 = this;
|
|
627
625
|
return _asyncToGenerator(function* () {
|
|
628
626
|
board_id = (0, _sdkRtl.encodeParam)(board_id);
|
|
629
|
-
return
|
|
627
|
+
return _this77.delete("/boards/".concat(board_id), null, null, options);
|
|
630
628
|
})();
|
|
631
629
|
}
|
|
632
630
|
all_board_items(request, options) {
|
|
633
|
-
var
|
|
631
|
+
var _this78 = this;
|
|
634
632
|
return _asyncToGenerator(function* () {
|
|
635
|
-
return
|
|
633
|
+
return _this78.get('/board_items', {
|
|
636
634
|
fields: request.fields,
|
|
637
635
|
sorts: request.sorts,
|
|
638
636
|
board_section_id: request.board_section_id
|
|
@@ -640,524 +638,524 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
640
638
|
})();
|
|
641
639
|
}
|
|
642
640
|
create_board_item(body, fields, options) {
|
|
643
|
-
var
|
|
641
|
+
var _this79 = this;
|
|
644
642
|
return _asyncToGenerator(function* () {
|
|
645
|
-
return
|
|
643
|
+
return _this79.post('/board_items', {
|
|
646
644
|
fields
|
|
647
645
|
}, body, options);
|
|
648
646
|
})();
|
|
649
647
|
}
|
|
650
648
|
board_item(board_item_id, fields, options) {
|
|
651
|
-
var
|
|
649
|
+
var _this80 = this;
|
|
652
650
|
return _asyncToGenerator(function* () {
|
|
653
651
|
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
|
|
654
|
-
return
|
|
652
|
+
return _this80.get("/board_items/".concat(board_item_id), {
|
|
655
653
|
fields
|
|
656
654
|
}, null, options);
|
|
657
655
|
})();
|
|
658
656
|
}
|
|
659
657
|
update_board_item(board_item_id, body, fields, options) {
|
|
660
|
-
var
|
|
658
|
+
var _this81 = this;
|
|
661
659
|
return _asyncToGenerator(function* () {
|
|
662
660
|
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
|
|
663
|
-
return
|
|
661
|
+
return _this81.patch("/board_items/".concat(board_item_id), {
|
|
664
662
|
fields
|
|
665
663
|
}, body, options);
|
|
666
664
|
})();
|
|
667
665
|
}
|
|
668
666
|
delete_board_item(board_item_id, options) {
|
|
669
|
-
var
|
|
667
|
+
var _this82 = this;
|
|
670
668
|
return _asyncToGenerator(function* () {
|
|
671
669
|
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
|
|
672
|
-
return
|
|
670
|
+
return _this82.delete("/board_items/".concat(board_item_id), null, null, options);
|
|
673
671
|
})();
|
|
674
672
|
}
|
|
675
673
|
all_board_sections(request, options) {
|
|
676
|
-
var
|
|
674
|
+
var _this83 = this;
|
|
677
675
|
return _asyncToGenerator(function* () {
|
|
678
|
-
return
|
|
676
|
+
return _this83.get('/board_sections', {
|
|
679
677
|
fields: request.fields,
|
|
680
678
|
sorts: request.sorts
|
|
681
679
|
}, null, options);
|
|
682
680
|
})();
|
|
683
681
|
}
|
|
684
682
|
create_board_section(body, fields, options) {
|
|
685
|
-
var
|
|
683
|
+
var _this84 = this;
|
|
686
684
|
return _asyncToGenerator(function* () {
|
|
687
|
-
return
|
|
685
|
+
return _this84.post('/board_sections', {
|
|
688
686
|
fields
|
|
689
687
|
}, body, options);
|
|
690
688
|
})();
|
|
691
689
|
}
|
|
692
690
|
board_section(board_section_id, fields, options) {
|
|
693
|
-
var
|
|
691
|
+
var _this85 = this;
|
|
694
692
|
return _asyncToGenerator(function* () {
|
|
695
693
|
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
|
|
696
|
-
return
|
|
694
|
+
return _this85.get("/board_sections/".concat(board_section_id), {
|
|
697
695
|
fields
|
|
698
696
|
}, null, options);
|
|
699
697
|
})();
|
|
700
698
|
}
|
|
701
699
|
update_board_section(board_section_id, body, fields, options) {
|
|
702
|
-
var
|
|
700
|
+
var _this86 = this;
|
|
703
701
|
return _asyncToGenerator(function* () {
|
|
704
702
|
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
|
|
705
|
-
return
|
|
703
|
+
return _this86.patch("/board_sections/".concat(board_section_id), {
|
|
706
704
|
fields
|
|
707
705
|
}, body, options);
|
|
708
706
|
})();
|
|
709
707
|
}
|
|
710
708
|
delete_board_section(board_section_id, options) {
|
|
711
|
-
var
|
|
709
|
+
var _this87 = this;
|
|
712
710
|
return _asyncToGenerator(function* () {
|
|
713
711
|
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
|
|
714
|
-
return
|
|
712
|
+
return _this87.delete("/board_sections/".concat(board_section_id), null, null, options);
|
|
715
713
|
})();
|
|
716
714
|
}
|
|
717
715
|
all_color_collections(fields, options) {
|
|
718
|
-
var
|
|
716
|
+
var _this88 = this;
|
|
719
717
|
return _asyncToGenerator(function* () {
|
|
720
|
-
return
|
|
718
|
+
return _this88.get('/color_collections', {
|
|
721
719
|
fields
|
|
722
720
|
}, null, options);
|
|
723
721
|
})();
|
|
724
722
|
}
|
|
725
723
|
create_color_collection(body, options) {
|
|
726
|
-
var
|
|
724
|
+
var _this89 = this;
|
|
727
725
|
return _asyncToGenerator(function* () {
|
|
728
|
-
return
|
|
726
|
+
return _this89.post('/color_collections', null, body, options);
|
|
729
727
|
})();
|
|
730
728
|
}
|
|
731
729
|
color_collections_custom(fields, options) {
|
|
732
|
-
var
|
|
730
|
+
var _this90 = this;
|
|
733
731
|
return _asyncToGenerator(function* () {
|
|
734
|
-
return
|
|
732
|
+
return _this90.get('/color_collections/custom', {
|
|
735
733
|
fields
|
|
736
734
|
}, null, options);
|
|
737
735
|
})();
|
|
738
736
|
}
|
|
739
737
|
color_collections_standard(fields, options) {
|
|
740
|
-
var
|
|
738
|
+
var _this91 = this;
|
|
741
739
|
return _asyncToGenerator(function* () {
|
|
742
|
-
return
|
|
740
|
+
return _this91.get('/color_collections/standard', {
|
|
743
741
|
fields
|
|
744
742
|
}, null, options);
|
|
745
743
|
})();
|
|
746
744
|
}
|
|
747
745
|
default_color_collection(options) {
|
|
748
|
-
var
|
|
746
|
+
var _this92 = this;
|
|
749
747
|
return _asyncToGenerator(function* () {
|
|
750
|
-
return
|
|
748
|
+
return _this92.get('/color_collections/default', null, null, options);
|
|
751
749
|
})();
|
|
752
750
|
}
|
|
753
751
|
set_default_color_collection(collection_id, options) {
|
|
754
|
-
var
|
|
752
|
+
var _this93 = this;
|
|
755
753
|
return _asyncToGenerator(function* () {
|
|
756
|
-
return
|
|
754
|
+
return _this93.put('/color_collections/default', {
|
|
757
755
|
collection_id
|
|
758
756
|
}, null, options);
|
|
759
757
|
})();
|
|
760
758
|
}
|
|
761
759
|
color_collection(collection_id, fields, options) {
|
|
762
|
-
var
|
|
760
|
+
var _this94 = this;
|
|
763
761
|
return _asyncToGenerator(function* () {
|
|
764
762
|
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
765
|
-
return
|
|
763
|
+
return _this94.get("/color_collections/".concat(collection_id), {
|
|
766
764
|
fields
|
|
767
765
|
}, null, options);
|
|
768
766
|
})();
|
|
769
767
|
}
|
|
770
768
|
update_color_collection(collection_id, body, options) {
|
|
771
|
-
var
|
|
769
|
+
var _this95 = this;
|
|
772
770
|
return _asyncToGenerator(function* () {
|
|
773
771
|
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
774
|
-
return
|
|
772
|
+
return _this95.patch("/color_collections/".concat(collection_id), null, body, options);
|
|
775
773
|
})();
|
|
776
774
|
}
|
|
777
775
|
delete_color_collection(collection_id, options) {
|
|
778
|
-
var
|
|
776
|
+
var _this96 = this;
|
|
779
777
|
return _asyncToGenerator(function* () {
|
|
780
778
|
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
781
|
-
return
|
|
779
|
+
return _this96.delete("/color_collections/".concat(collection_id), null, null, options);
|
|
782
780
|
})();
|
|
783
781
|
}
|
|
784
782
|
cloud_storage_configuration(options) {
|
|
785
|
-
var
|
|
783
|
+
var _this97 = this;
|
|
786
784
|
return _asyncToGenerator(function* () {
|
|
787
|
-
return
|
|
785
|
+
return _this97.get('/cloud_storage', null, null, options);
|
|
788
786
|
})();
|
|
789
787
|
}
|
|
790
788
|
update_cloud_storage_configuration(body, options) {
|
|
791
|
-
var
|
|
789
|
+
var _this98 = this;
|
|
792
790
|
return _asyncToGenerator(function* () {
|
|
793
|
-
return
|
|
791
|
+
return _this98.patch('/cloud_storage', null, body, options);
|
|
794
792
|
})();
|
|
795
793
|
}
|
|
796
794
|
custom_welcome_email(options) {
|
|
797
|
-
var
|
|
795
|
+
var _this99 = this;
|
|
798
796
|
return _asyncToGenerator(function* () {
|
|
799
|
-
return
|
|
797
|
+
return _this99.get('/custom_welcome_email', null, null, options);
|
|
800
798
|
})();
|
|
801
799
|
}
|
|
802
800
|
update_custom_welcome_email(body, send_test_welcome_email, options) {
|
|
803
|
-
var
|
|
801
|
+
var _this100 = this;
|
|
804
802
|
return _asyncToGenerator(function* () {
|
|
805
|
-
return
|
|
803
|
+
return _this100.patch('/custom_welcome_email', {
|
|
806
804
|
send_test_welcome_email
|
|
807
805
|
}, body, options);
|
|
808
806
|
})();
|
|
809
807
|
}
|
|
810
808
|
update_custom_welcome_email_test(body, options) {
|
|
811
|
-
var
|
|
809
|
+
var _this101 = this;
|
|
812
810
|
return _asyncToGenerator(function* () {
|
|
813
|
-
return
|
|
811
|
+
return _this101.put('/custom_welcome_email_test', null, body, options);
|
|
814
812
|
})();
|
|
815
813
|
}
|
|
816
814
|
digest_emails_enabled(options) {
|
|
817
|
-
var
|
|
815
|
+
var _this102 = this;
|
|
818
816
|
return _asyncToGenerator(function* () {
|
|
819
|
-
return
|
|
817
|
+
return _this102.get('/digest_emails_enabled', null, null, options);
|
|
820
818
|
})();
|
|
821
819
|
}
|
|
822
820
|
update_digest_emails_enabled(body, options) {
|
|
823
|
-
var
|
|
821
|
+
var _this103 = this;
|
|
824
822
|
return _asyncToGenerator(function* () {
|
|
825
|
-
return
|
|
823
|
+
return _this103.patch('/digest_emails_enabled', null, body, options);
|
|
826
824
|
})();
|
|
827
825
|
}
|
|
828
826
|
create_digest_email_send(options) {
|
|
829
|
-
var
|
|
827
|
+
var _this104 = this;
|
|
830
828
|
return _asyncToGenerator(function* () {
|
|
831
|
-
return
|
|
829
|
+
return _this104.post('/digest_email_send', null, null, options);
|
|
832
830
|
})();
|
|
833
831
|
}
|
|
834
832
|
public_egress_ip_addresses(options) {
|
|
835
|
-
var
|
|
833
|
+
var _this105 = this;
|
|
836
834
|
return _asyncToGenerator(function* () {
|
|
837
|
-
return
|
|
835
|
+
return _this105.get('/public_egress_ip_addresses', null, null, options);
|
|
838
836
|
})();
|
|
839
837
|
}
|
|
840
838
|
internal_help_resources_content(options) {
|
|
841
|
-
var
|
|
839
|
+
var _this106 = this;
|
|
842
840
|
return _asyncToGenerator(function* () {
|
|
843
|
-
return
|
|
841
|
+
return _this106.get('/internal_help_resources_content', null, null, options);
|
|
844
842
|
})();
|
|
845
843
|
}
|
|
846
844
|
update_internal_help_resources_content(body, options) {
|
|
847
|
-
var
|
|
845
|
+
var _this107 = this;
|
|
848
846
|
return _asyncToGenerator(function* () {
|
|
849
|
-
return
|
|
847
|
+
return _this107.patch('/internal_help_resources_content', null, body, options);
|
|
850
848
|
})();
|
|
851
849
|
}
|
|
852
850
|
internal_help_resources(options) {
|
|
853
|
-
var
|
|
851
|
+
var _this108 = this;
|
|
854
852
|
return _asyncToGenerator(function* () {
|
|
855
|
-
return
|
|
853
|
+
return _this108.get('/internal_help_resources_enabled', null, null, options);
|
|
856
854
|
})();
|
|
857
855
|
}
|
|
858
856
|
update_internal_help_resources(body, options) {
|
|
859
|
-
var
|
|
857
|
+
var _this109 = this;
|
|
860
858
|
return _asyncToGenerator(function* () {
|
|
861
|
-
return
|
|
859
|
+
return _this109.patch('/internal_help_resources', null, body, options);
|
|
862
860
|
})();
|
|
863
861
|
}
|
|
864
862
|
all_legacy_features(options) {
|
|
865
|
-
var
|
|
863
|
+
var _this110 = this;
|
|
866
864
|
return _asyncToGenerator(function* () {
|
|
867
|
-
return
|
|
865
|
+
return _this110.get('/legacy_features', null, null, options);
|
|
868
866
|
})();
|
|
869
867
|
}
|
|
870
868
|
legacy_feature(legacy_feature_id, options) {
|
|
871
|
-
var
|
|
869
|
+
var _this111 = this;
|
|
872
870
|
return _asyncToGenerator(function* () {
|
|
873
871
|
legacy_feature_id = (0, _sdkRtl.encodeParam)(legacy_feature_id);
|
|
874
|
-
return
|
|
872
|
+
return _this111.get("/legacy_features/".concat(legacy_feature_id), null, null, options);
|
|
875
873
|
})();
|
|
876
874
|
}
|
|
877
875
|
update_legacy_feature(legacy_feature_id, body, options) {
|
|
878
|
-
var
|
|
876
|
+
var _this112 = this;
|
|
879
877
|
return _asyncToGenerator(function* () {
|
|
880
878
|
legacy_feature_id = (0, _sdkRtl.encodeParam)(legacy_feature_id);
|
|
881
|
-
return
|
|
879
|
+
return _this112.patch("/legacy_features/".concat(legacy_feature_id), null, body, options);
|
|
882
880
|
})();
|
|
883
881
|
}
|
|
884
882
|
all_locales(options) {
|
|
885
|
-
var
|
|
883
|
+
var _this113 = this;
|
|
886
884
|
return _asyncToGenerator(function* () {
|
|
887
|
-
return
|
|
885
|
+
return _this113.get('/locales', null, null, options);
|
|
888
886
|
})();
|
|
889
887
|
}
|
|
890
888
|
mobile_settings(options) {
|
|
891
|
-
var
|
|
889
|
+
var _this114 = this;
|
|
892
890
|
return _asyncToGenerator(function* () {
|
|
893
|
-
return
|
|
891
|
+
return _this114.get('/mobile/settings', null, null, options);
|
|
894
892
|
})();
|
|
895
893
|
}
|
|
896
894
|
get_setting(fields, options) {
|
|
897
|
-
var
|
|
895
|
+
var _this115 = this;
|
|
898
896
|
return _asyncToGenerator(function* () {
|
|
899
|
-
return
|
|
897
|
+
return _this115.get('/setting', {
|
|
900
898
|
fields
|
|
901
899
|
}, null, options);
|
|
902
900
|
})();
|
|
903
901
|
}
|
|
904
902
|
set_setting(body, fields, options) {
|
|
905
|
-
var
|
|
903
|
+
var _this116 = this;
|
|
906
904
|
return _asyncToGenerator(function* () {
|
|
907
|
-
return
|
|
905
|
+
return _this116.patch('/setting', {
|
|
908
906
|
fields
|
|
909
907
|
}, body, options);
|
|
910
908
|
})();
|
|
911
909
|
}
|
|
912
910
|
set_smtp_settings(body, options) {
|
|
913
|
-
var
|
|
911
|
+
var _this117 = this;
|
|
914
912
|
return _asyncToGenerator(function* () {
|
|
915
|
-
return
|
|
913
|
+
return _this117.post('/smtp_settings', null, body, options);
|
|
916
914
|
})();
|
|
917
915
|
}
|
|
918
916
|
smtp_status(fields, options) {
|
|
919
|
-
var
|
|
917
|
+
var _this118 = this;
|
|
920
918
|
return _asyncToGenerator(function* () {
|
|
921
|
-
return
|
|
919
|
+
return _this118.get('/smtp_status', {
|
|
922
920
|
fields
|
|
923
921
|
}, null, options);
|
|
924
922
|
})();
|
|
925
923
|
}
|
|
926
924
|
all_timezones(options) {
|
|
927
|
-
var
|
|
925
|
+
var _this119 = this;
|
|
928
926
|
return _asyncToGenerator(function* () {
|
|
929
|
-
return
|
|
927
|
+
return _this119.get('/timezones', null, null, options);
|
|
930
928
|
})();
|
|
931
929
|
}
|
|
932
930
|
versions(fields, options) {
|
|
933
|
-
var
|
|
931
|
+
var _this120 = this;
|
|
934
932
|
return _asyncToGenerator(function* () {
|
|
935
|
-
return
|
|
933
|
+
return _this120.get('/versions', {
|
|
936
934
|
fields
|
|
937
935
|
}, null, options);
|
|
938
936
|
})();
|
|
939
937
|
}
|
|
940
938
|
api_spec(api_version, specification, options) {
|
|
941
|
-
var
|
|
939
|
+
var _this121 = this;
|
|
942
940
|
return _asyncToGenerator(function* () {
|
|
943
941
|
api_version = (0, _sdkRtl.encodeParam)(api_version);
|
|
944
942
|
specification = (0, _sdkRtl.encodeParam)(specification);
|
|
945
|
-
return
|
|
943
|
+
return _this121.get("/api_spec/".concat(api_version, "/").concat(specification), null, null, options);
|
|
946
944
|
})();
|
|
947
945
|
}
|
|
948
946
|
whitelabel_configuration(fields, options) {
|
|
949
|
-
var
|
|
947
|
+
var _this122 = this;
|
|
950
948
|
return _asyncToGenerator(function* () {
|
|
951
|
-
return
|
|
949
|
+
return _this122.get('/whitelabel_configuration', {
|
|
952
950
|
fields
|
|
953
951
|
}, null, options);
|
|
954
952
|
})();
|
|
955
953
|
}
|
|
956
954
|
update_whitelabel_configuration(body, options) {
|
|
957
|
-
var
|
|
955
|
+
var _this123 = this;
|
|
958
956
|
return _asyncToGenerator(function* () {
|
|
959
|
-
return
|
|
957
|
+
return _this123.put('/whitelabel_configuration', null, body, options);
|
|
960
958
|
})();
|
|
961
959
|
}
|
|
962
960
|
all_connections(fields, options) {
|
|
963
|
-
var
|
|
961
|
+
var _this124 = this;
|
|
964
962
|
return _asyncToGenerator(function* () {
|
|
965
|
-
return
|
|
963
|
+
return _this124.get('/connections', {
|
|
966
964
|
fields
|
|
967
965
|
}, null, options);
|
|
968
966
|
})();
|
|
969
967
|
}
|
|
970
968
|
create_connection(body, options) {
|
|
971
|
-
var
|
|
969
|
+
var _this125 = this;
|
|
972
970
|
return _asyncToGenerator(function* () {
|
|
973
|
-
return
|
|
971
|
+
return _this125.post('/connections', null, body, options);
|
|
974
972
|
})();
|
|
975
973
|
}
|
|
976
974
|
connection(connection_name, fields, options) {
|
|
977
|
-
var
|
|
975
|
+
var _this126 = this;
|
|
978
976
|
return _asyncToGenerator(function* () {
|
|
979
977
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
980
|
-
return
|
|
978
|
+
return _this126.get("/connections/".concat(connection_name), {
|
|
981
979
|
fields
|
|
982
980
|
}, null, options);
|
|
983
981
|
})();
|
|
984
982
|
}
|
|
985
983
|
update_connection(connection_name, body, options) {
|
|
986
|
-
var
|
|
984
|
+
var _this127 = this;
|
|
987
985
|
return _asyncToGenerator(function* () {
|
|
988
986
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
989
|
-
return
|
|
987
|
+
return _this127.patch("/connections/".concat(connection_name), null, body, options);
|
|
990
988
|
})();
|
|
991
989
|
}
|
|
992
990
|
delete_connection(connection_name, options) {
|
|
993
|
-
var
|
|
991
|
+
var _this128 = this;
|
|
994
992
|
return _asyncToGenerator(function* () {
|
|
995
993
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
996
|
-
return
|
|
994
|
+
return _this128.delete("/connections/".concat(connection_name), null, null, options);
|
|
997
995
|
})();
|
|
998
996
|
}
|
|
999
997
|
delete_connection_override(connection_name, override_context, options) {
|
|
1000
|
-
var
|
|
998
|
+
var _this129 = this;
|
|
1001
999
|
return _asyncToGenerator(function* () {
|
|
1002
1000
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
1003
1001
|
override_context = (0, _sdkRtl.encodeParam)(override_context);
|
|
1004
|
-
return
|
|
1002
|
+
return _this129.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
1005
1003
|
})();
|
|
1006
1004
|
}
|
|
1007
1005
|
test_connection(connection_name, tests, options) {
|
|
1008
|
-
var
|
|
1006
|
+
var _this130 = this;
|
|
1009
1007
|
return _asyncToGenerator(function* () {
|
|
1010
1008
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
1011
|
-
return
|
|
1009
|
+
return _this130.put("/connections/".concat(connection_name, "/test"), {
|
|
1012
1010
|
tests
|
|
1013
1011
|
}, null, options);
|
|
1014
1012
|
})();
|
|
1015
1013
|
}
|
|
1016
1014
|
test_connection_config(body, tests, options) {
|
|
1017
|
-
var
|
|
1015
|
+
var _this131 = this;
|
|
1018
1016
|
return _asyncToGenerator(function* () {
|
|
1019
|
-
return
|
|
1017
|
+
return _this131.put('/connections/test', {
|
|
1020
1018
|
tests
|
|
1021
1019
|
}, body, options);
|
|
1022
1020
|
})();
|
|
1023
1021
|
}
|
|
1024
1022
|
all_dialect_infos(fields, options) {
|
|
1025
|
-
var
|
|
1023
|
+
var _this132 = this;
|
|
1026
1024
|
return _asyncToGenerator(function* () {
|
|
1027
|
-
return
|
|
1025
|
+
return _this132.get('/dialect_info', {
|
|
1028
1026
|
fields
|
|
1029
1027
|
}, null, options);
|
|
1030
1028
|
})();
|
|
1031
1029
|
}
|
|
1032
1030
|
all_external_oauth_applications(request, options) {
|
|
1033
|
-
var
|
|
1031
|
+
var _this133 = this;
|
|
1034
1032
|
return _asyncToGenerator(function* () {
|
|
1035
|
-
return
|
|
1033
|
+
return _this133.get('/external_oauth_applications', {
|
|
1036
1034
|
name: request.name,
|
|
1037
1035
|
client_id: request.client_id
|
|
1038
1036
|
}, null, options);
|
|
1039
1037
|
})();
|
|
1040
1038
|
}
|
|
1041
1039
|
create_external_oauth_application(body, options) {
|
|
1042
|
-
var
|
|
1040
|
+
var _this134 = this;
|
|
1043
1041
|
return _asyncToGenerator(function* () {
|
|
1044
|
-
return
|
|
1042
|
+
return _this134.post('/external_oauth_applications', null, body, options);
|
|
1045
1043
|
})();
|
|
1046
1044
|
}
|
|
1047
1045
|
update_external_oauth_application(client_id, body, options) {
|
|
1048
|
-
var
|
|
1046
|
+
var _this135 = this;
|
|
1049
1047
|
return _asyncToGenerator(function* () {
|
|
1050
1048
|
client_id = (0, _sdkRtl.encodeParam)(client_id);
|
|
1051
|
-
return
|
|
1049
|
+
return _this135.patch("/external_oauth_applications/".concat(client_id), null, body, options);
|
|
1052
1050
|
})();
|
|
1053
1051
|
}
|
|
1054
1052
|
delete_external_oauth_application(client_id, options) {
|
|
1055
|
-
var
|
|
1053
|
+
var _this136 = this;
|
|
1056
1054
|
return _asyncToGenerator(function* () {
|
|
1057
1055
|
client_id = (0, _sdkRtl.encodeParam)(client_id);
|
|
1058
|
-
return
|
|
1056
|
+
return _this136.delete("/external_oauth_applications/".concat(client_id), null, null, options);
|
|
1059
1057
|
})();
|
|
1060
1058
|
}
|
|
1061
1059
|
create_oauth_application_user_state(body, options) {
|
|
1062
|
-
var
|
|
1060
|
+
var _this137 = this;
|
|
1063
1061
|
return _asyncToGenerator(function* () {
|
|
1064
|
-
return
|
|
1062
|
+
return _this137.post('/external_oauth_applications/user_state', null, body, options);
|
|
1065
1063
|
})();
|
|
1066
1064
|
}
|
|
1067
1065
|
all_ssh_servers(fields, options) {
|
|
1068
|
-
var
|
|
1066
|
+
var _this138 = this;
|
|
1069
1067
|
return _asyncToGenerator(function* () {
|
|
1070
|
-
return
|
|
1068
|
+
return _this138.get('/ssh_servers', {
|
|
1071
1069
|
fields
|
|
1072
1070
|
}, null, options);
|
|
1073
1071
|
})();
|
|
1074
1072
|
}
|
|
1075
1073
|
create_ssh_server(body, options) {
|
|
1076
|
-
var
|
|
1074
|
+
var _this139 = this;
|
|
1077
1075
|
return _asyncToGenerator(function* () {
|
|
1078
|
-
return
|
|
1076
|
+
return _this139.post('/ssh_servers', null, body, options);
|
|
1079
1077
|
})();
|
|
1080
1078
|
}
|
|
1081
1079
|
ssh_server(ssh_server_id, options) {
|
|
1082
|
-
var
|
|
1080
|
+
var _this140 = this;
|
|
1083
1081
|
return _asyncToGenerator(function* () {
|
|
1084
1082
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1085
|
-
return
|
|
1083
|
+
return _this140.get("/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1086
1084
|
})();
|
|
1087
1085
|
}
|
|
1088
1086
|
update_ssh_server(ssh_server_id, body, options) {
|
|
1089
|
-
var
|
|
1087
|
+
var _this141 = this;
|
|
1090
1088
|
return _asyncToGenerator(function* () {
|
|
1091
1089
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1092
|
-
return
|
|
1090
|
+
return _this141.patch("/ssh_server/".concat(ssh_server_id), null, body, options);
|
|
1093
1091
|
})();
|
|
1094
1092
|
}
|
|
1095
1093
|
delete_ssh_server(ssh_server_id, options) {
|
|
1096
|
-
var
|
|
1094
|
+
var _this142 = this;
|
|
1097
1095
|
return _asyncToGenerator(function* () {
|
|
1098
1096
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1099
|
-
return
|
|
1097
|
+
return _this142.delete("/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1100
1098
|
})();
|
|
1101
1099
|
}
|
|
1102
1100
|
test_ssh_server(ssh_server_id, options) {
|
|
1103
|
-
var
|
|
1101
|
+
var _this143 = this;
|
|
1104
1102
|
return _asyncToGenerator(function* () {
|
|
1105
1103
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1106
|
-
return
|
|
1104
|
+
return _this143.get("/ssh_server/".concat(ssh_server_id, "/test"), null, null, options);
|
|
1107
1105
|
})();
|
|
1108
1106
|
}
|
|
1109
1107
|
all_ssh_tunnels(fields, options) {
|
|
1110
|
-
var
|
|
1108
|
+
var _this144 = this;
|
|
1111
1109
|
return _asyncToGenerator(function* () {
|
|
1112
|
-
return
|
|
1110
|
+
return _this144.get('/ssh_tunnels', {
|
|
1113
1111
|
fields
|
|
1114
1112
|
}, null, options);
|
|
1115
1113
|
})();
|
|
1116
1114
|
}
|
|
1117
1115
|
create_ssh_tunnel(body, options) {
|
|
1118
|
-
var
|
|
1116
|
+
var _this145 = this;
|
|
1119
1117
|
return _asyncToGenerator(function* () {
|
|
1120
|
-
return
|
|
1118
|
+
return _this145.post('/ssh_tunnels', null, body, options);
|
|
1121
1119
|
})();
|
|
1122
1120
|
}
|
|
1123
1121
|
ssh_tunnel(ssh_tunnel_id, options) {
|
|
1124
|
-
var
|
|
1122
|
+
var _this146 = this;
|
|
1125
1123
|
return _asyncToGenerator(function* () {
|
|
1126
1124
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1127
|
-
return
|
|
1125
|
+
return _this146.get("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1128
1126
|
})();
|
|
1129
1127
|
}
|
|
1130
1128
|
update_ssh_tunnel(ssh_tunnel_id, body, options) {
|
|
1131
|
-
var
|
|
1129
|
+
var _this147 = this;
|
|
1132
1130
|
return _asyncToGenerator(function* () {
|
|
1133
1131
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1134
|
-
return
|
|
1132
|
+
return _this147.patch("/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options);
|
|
1135
1133
|
})();
|
|
1136
1134
|
}
|
|
1137
1135
|
delete_ssh_tunnel(ssh_tunnel_id, options) {
|
|
1138
|
-
var
|
|
1136
|
+
var _this148 = this;
|
|
1139
1137
|
return _asyncToGenerator(function* () {
|
|
1140
1138
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1141
|
-
return
|
|
1139
|
+
return _this148.delete("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1142
1140
|
})();
|
|
1143
1141
|
}
|
|
1144
1142
|
test_ssh_tunnel(ssh_tunnel_id, options) {
|
|
1145
|
-
var
|
|
1143
|
+
var _this149 = this;
|
|
1146
1144
|
return _asyncToGenerator(function* () {
|
|
1147
1145
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1148
|
-
return
|
|
1146
|
+
return _this149.get("/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options);
|
|
1149
1147
|
})();
|
|
1150
1148
|
}
|
|
1151
1149
|
ssh_public_key(options) {
|
|
1152
|
-
var
|
|
1150
|
+
var _this150 = this;
|
|
1153
1151
|
return _asyncToGenerator(function* () {
|
|
1154
|
-
return
|
|
1152
|
+
return _this150.get('/ssh_public_key', null, null, options);
|
|
1155
1153
|
})();
|
|
1156
1154
|
}
|
|
1157
1155
|
search_content_favorites(request, options) {
|
|
1158
|
-
var
|
|
1156
|
+
var _this151 = this;
|
|
1159
1157
|
return _asyncToGenerator(function* () {
|
|
1160
|
-
return
|
|
1158
|
+
return _this151.get('/content_favorite/search', {
|
|
1161
1159
|
id: request.id,
|
|
1162
1160
|
user_id: request.user_id,
|
|
1163
1161
|
content_metadata_id: request.content_metadata_id,
|
|
@@ -1175,88 +1173,88 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1175
1173
|
})();
|
|
1176
1174
|
}
|
|
1177
1175
|
content_favorite(content_favorite_id, fields, options) {
|
|
1178
|
-
var
|
|
1176
|
+
var _this152 = this;
|
|
1179
1177
|
return _asyncToGenerator(function* () {
|
|
1180
1178
|
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
|
|
1181
|
-
return
|
|
1179
|
+
return _this152.get("/content_favorite/".concat(content_favorite_id), {
|
|
1182
1180
|
fields
|
|
1183
1181
|
}, null, options);
|
|
1184
1182
|
})();
|
|
1185
1183
|
}
|
|
1186
1184
|
delete_content_favorite(content_favorite_id, options) {
|
|
1187
|
-
var
|
|
1185
|
+
var _this153 = this;
|
|
1188
1186
|
return _asyncToGenerator(function* () {
|
|
1189
1187
|
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
|
|
1190
|
-
return
|
|
1188
|
+
return _this153.delete("/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
1191
1189
|
})();
|
|
1192
1190
|
}
|
|
1193
1191
|
create_content_favorite(body, options) {
|
|
1194
|
-
var
|
|
1192
|
+
var _this154 = this;
|
|
1195
1193
|
return _asyncToGenerator(function* () {
|
|
1196
|
-
return
|
|
1194
|
+
return _this154.post('/content_favorite', null, body, options);
|
|
1197
1195
|
})();
|
|
1198
1196
|
}
|
|
1199
1197
|
all_content_metadatas(parent_id, fields, options) {
|
|
1200
|
-
var
|
|
1198
|
+
var _this155 = this;
|
|
1201
1199
|
return _asyncToGenerator(function* () {
|
|
1202
|
-
return
|
|
1200
|
+
return _this155.get('/content_metadata', {
|
|
1203
1201
|
parent_id,
|
|
1204
1202
|
fields
|
|
1205
1203
|
}, null, options);
|
|
1206
1204
|
})();
|
|
1207
1205
|
}
|
|
1208
1206
|
content_metadata(content_metadata_id, fields, options) {
|
|
1209
|
-
var
|
|
1207
|
+
var _this156 = this;
|
|
1210
1208
|
return _asyncToGenerator(function* () {
|
|
1211
1209
|
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
|
|
1212
|
-
return
|
|
1210
|
+
return _this156.get("/content_metadata/".concat(content_metadata_id), {
|
|
1213
1211
|
fields
|
|
1214
1212
|
}, null, options);
|
|
1215
1213
|
})();
|
|
1216
1214
|
}
|
|
1217
1215
|
update_content_metadata(content_metadata_id, body, options) {
|
|
1218
|
-
var
|
|
1216
|
+
var _this157 = this;
|
|
1219
1217
|
return _asyncToGenerator(function* () {
|
|
1220
1218
|
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
|
|
1221
|
-
return
|
|
1219
|
+
return _this157.patch("/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
1222
1220
|
})();
|
|
1223
1221
|
}
|
|
1224
1222
|
all_content_metadata_accesses(content_metadata_id, fields, options) {
|
|
1225
|
-
var
|
|
1223
|
+
var _this158 = this;
|
|
1226
1224
|
return _asyncToGenerator(function* () {
|
|
1227
|
-
return
|
|
1225
|
+
return _this158.get('/content_metadata_access', {
|
|
1228
1226
|
content_metadata_id,
|
|
1229
1227
|
fields
|
|
1230
1228
|
}, null, options);
|
|
1231
1229
|
})();
|
|
1232
1230
|
}
|
|
1233
1231
|
create_content_metadata_access(body, send_boards_notification_email, options) {
|
|
1234
|
-
var
|
|
1232
|
+
var _this159 = this;
|
|
1235
1233
|
return _asyncToGenerator(function* () {
|
|
1236
|
-
return
|
|
1234
|
+
return _this159.post('/content_metadata_access', {
|
|
1237
1235
|
send_boards_notification_email
|
|
1238
1236
|
}, body, options);
|
|
1239
1237
|
})();
|
|
1240
1238
|
}
|
|
1241
1239
|
update_content_metadata_access(content_metadata_access_id, body, options) {
|
|
1242
|
-
var
|
|
1240
|
+
var _this160 = this;
|
|
1243
1241
|
return _asyncToGenerator(function* () {
|
|
1244
1242
|
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
|
|
1245
|
-
return
|
|
1243
|
+
return _this160.put("/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
1246
1244
|
})();
|
|
1247
1245
|
}
|
|
1248
1246
|
delete_content_metadata_access(content_metadata_access_id, options) {
|
|
1249
|
-
var
|
|
1247
|
+
var _this161 = this;
|
|
1250
1248
|
return _asyncToGenerator(function* () {
|
|
1251
1249
|
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
|
|
1252
|
-
return
|
|
1250
|
+
return _this161.delete("/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
1253
1251
|
})();
|
|
1254
1252
|
}
|
|
1255
1253
|
search_content(request, options) {
|
|
1256
|
-
var
|
|
1254
|
+
var _this162 = this;
|
|
1257
1255
|
return _asyncToGenerator(function* () {
|
|
1258
1256
|
request.terms = (0, _sdkRtl.encodeParam)(request.terms);
|
|
1259
|
-
return
|
|
1257
|
+
return _this162.get("/content/".concat(request.terms), {
|
|
1260
1258
|
fields: request.fields,
|
|
1261
1259
|
types: request.types,
|
|
1262
1260
|
limit: request.limit,
|
|
@@ -1267,9 +1265,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1267
1265
|
})();
|
|
1268
1266
|
}
|
|
1269
1267
|
content_summary(request, options) {
|
|
1270
|
-
var
|
|
1268
|
+
var _this163 = this;
|
|
1271
1269
|
return _asyncToGenerator(function* () {
|
|
1272
|
-
return
|
|
1270
|
+
return _this163.get('/content_summary', {
|
|
1273
1271
|
fields: request.fields,
|
|
1274
1272
|
limit: request.limit,
|
|
1275
1273
|
offset: request.offset,
|
|
@@ -1281,11 +1279,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1281
1279
|
})();
|
|
1282
1280
|
}
|
|
1283
1281
|
content_thumbnail(request, options) {
|
|
1284
|
-
var
|
|
1282
|
+
var _this164 = this;
|
|
1285
1283
|
return _asyncToGenerator(function* () {
|
|
1286
1284
|
request.type = (0, _sdkRtl.encodeParam)(request.type);
|
|
1287
1285
|
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
|
|
1288
|
-
return
|
|
1286
|
+
return _this164.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1289
1287
|
reload: request.reload,
|
|
1290
1288
|
theme: request.theme,
|
|
1291
1289
|
format: request.format,
|
|
@@ -1295,9 +1293,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1295
1293
|
})();
|
|
1296
1294
|
}
|
|
1297
1295
|
content_validation(request, options) {
|
|
1298
|
-
var
|
|
1296
|
+
var _this165 = this;
|
|
1299
1297
|
return _asyncToGenerator(function* () {
|
|
1300
|
-
return
|
|
1298
|
+
return _this165.get('/content_validation', {
|
|
1301
1299
|
fields: request.fields,
|
|
1302
1300
|
project_names: request.project_names,
|
|
1303
1301
|
space_ids: request.space_ids
|
|
@@ -1305,9 +1303,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1305
1303
|
})();
|
|
1306
1304
|
}
|
|
1307
1305
|
search_content_views(request, options) {
|
|
1308
|
-
var
|
|
1306
|
+
var _this166 = this;
|
|
1309
1307
|
return _asyncToGenerator(function* () {
|
|
1310
|
-
return
|
|
1308
|
+
return _this166.get('/content_view/search', {
|
|
1311
1309
|
view_count: request.view_count,
|
|
1312
1310
|
group_id: request.group_id,
|
|
1313
1311
|
look_id: request.look_id,
|
|
@@ -1325,19 +1323,19 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1325
1323
|
})();
|
|
1326
1324
|
}
|
|
1327
1325
|
vector_thumbnail(type, resource_id, reload, options) {
|
|
1328
|
-
var
|
|
1326
|
+
var _this167 = this;
|
|
1329
1327
|
return _asyncToGenerator(function* () {
|
|
1330
1328
|
type = (0, _sdkRtl.encodeParam)(type);
|
|
1331
1329
|
resource_id = (0, _sdkRtl.encodeParam)(resource_id);
|
|
1332
|
-
return
|
|
1330
|
+
return _this167.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
1333
1331
|
reload
|
|
1334
1332
|
}, null, options);
|
|
1335
1333
|
})();
|
|
1336
1334
|
}
|
|
1337
1335
|
search_agents(request, options) {
|
|
1338
|
-
var
|
|
1336
|
+
var _this168 = this;
|
|
1339
1337
|
return _asyncToGenerator(function* () {
|
|
1340
|
-
return
|
|
1338
|
+
return _this168.get('/agents/search', {
|
|
1341
1339
|
id: request.id,
|
|
1342
1340
|
name: request.name,
|
|
1343
1341
|
description: request.description,
|
|
@@ -1354,92 +1352,92 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1354
1352
|
})();
|
|
1355
1353
|
}
|
|
1356
1354
|
create_agent(body, fields, options) {
|
|
1357
|
-
var
|
|
1355
|
+
var _this169 = this;
|
|
1358
1356
|
return _asyncToGenerator(function* () {
|
|
1359
|
-
return
|
|
1357
|
+
return _this169.post('/agents', {
|
|
1360
1358
|
fields
|
|
1361
1359
|
}, body, options);
|
|
1362
1360
|
})();
|
|
1363
1361
|
}
|
|
1364
1362
|
delete_agent(id, fields, options) {
|
|
1365
|
-
var
|
|
1363
|
+
var _this170 = this;
|
|
1366
1364
|
return _asyncToGenerator(function* () {
|
|
1367
|
-
return
|
|
1365
|
+
return _this170.delete('/agents', {
|
|
1368
1366
|
id,
|
|
1369
1367
|
fields
|
|
1370
1368
|
}, null, options);
|
|
1371
1369
|
})();
|
|
1372
1370
|
}
|
|
1373
1371
|
get_agent(agent_id, fields, options) {
|
|
1374
|
-
var
|
|
1372
|
+
var _this171 = this;
|
|
1375
1373
|
return _asyncToGenerator(function* () {
|
|
1376
1374
|
agent_id = (0, _sdkRtl.encodeParam)(agent_id);
|
|
1377
|
-
return
|
|
1375
|
+
return _this171.get("/agents/".concat(agent_id), {
|
|
1378
1376
|
fields
|
|
1379
1377
|
}, null, options);
|
|
1380
1378
|
})();
|
|
1381
1379
|
}
|
|
1382
1380
|
update_agent(agent_id, body, fields, options) {
|
|
1383
|
-
var
|
|
1381
|
+
var _this172 = this;
|
|
1384
1382
|
return _asyncToGenerator(function* () {
|
|
1385
1383
|
agent_id = (0, _sdkRtl.encodeParam)(agent_id);
|
|
1386
|
-
return
|
|
1384
|
+
return _this172.patch("/agents/".concat(agent_id), {
|
|
1387
1385
|
fields
|
|
1388
1386
|
}, body, options);
|
|
1389
1387
|
})();
|
|
1390
1388
|
}
|
|
1391
1389
|
all_conversation_messages(conversation_id, fields, options) {
|
|
1392
|
-
var
|
|
1390
|
+
var _this173 = this;
|
|
1393
1391
|
return _asyncToGenerator(function* () {
|
|
1394
1392
|
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
|
|
1395
|
-
return
|
|
1393
|
+
return _this173.get("/conversations/".concat(conversation_id, "/messages"), {
|
|
1396
1394
|
fields
|
|
1397
1395
|
}, null, options);
|
|
1398
1396
|
})();
|
|
1399
1397
|
}
|
|
1400
1398
|
create_conversation_message(conversation_id, body, fields, options) {
|
|
1401
|
-
var
|
|
1399
|
+
var _this174 = this;
|
|
1402
1400
|
return _asyncToGenerator(function* () {
|
|
1403
1401
|
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
|
|
1404
|
-
return
|
|
1402
|
+
return _this174.post("/conversations/".concat(conversation_id, "/messages"), {
|
|
1405
1403
|
fields
|
|
1406
1404
|
}, body, options);
|
|
1407
1405
|
})();
|
|
1408
1406
|
}
|
|
1409
1407
|
delete_conversation_message(conversation_id, id, fields, options) {
|
|
1410
|
-
var
|
|
1408
|
+
var _this175 = this;
|
|
1411
1409
|
return _asyncToGenerator(function* () {
|
|
1412
1410
|
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
|
|
1413
|
-
return
|
|
1411
|
+
return _this175.delete("/conversations/".concat(conversation_id, "/messages"), {
|
|
1414
1412
|
id,
|
|
1415
1413
|
fields
|
|
1416
1414
|
}, null, options);
|
|
1417
1415
|
})();
|
|
1418
1416
|
}
|
|
1419
1417
|
get_conversation_message(conversation_id, message_id, fields, options) {
|
|
1420
|
-
var
|
|
1418
|
+
var _this176 = this;
|
|
1421
1419
|
return _asyncToGenerator(function* () {
|
|
1422
1420
|
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
|
|
1423
1421
|
message_id = (0, _sdkRtl.encodeParam)(message_id);
|
|
1424
|
-
return
|
|
1422
|
+
return _this176.get("/conversations/".concat(conversation_id, "/messages/").concat(message_id), {
|
|
1425
1423
|
fields
|
|
1426
1424
|
}, null, options);
|
|
1427
1425
|
})();
|
|
1428
1426
|
}
|
|
1429
1427
|
update_conversation_message(conversation_id, message_id, body, fields, options) {
|
|
1430
|
-
var
|
|
1428
|
+
var _this177 = this;
|
|
1431
1429
|
return _asyncToGenerator(function* () {
|
|
1432
1430
|
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
|
|
1433
1431
|
message_id = (0, _sdkRtl.encodeParam)(message_id);
|
|
1434
|
-
return
|
|
1432
|
+
return _this177.patch("/conversations/".concat(conversation_id, "/messages/").concat(message_id), {
|
|
1435
1433
|
fields
|
|
1436
1434
|
}, body, options);
|
|
1437
1435
|
})();
|
|
1438
1436
|
}
|
|
1439
1437
|
search_conversations(request, options) {
|
|
1440
|
-
var
|
|
1438
|
+
var _this178 = this;
|
|
1441
1439
|
return _asyncToGenerator(function* () {
|
|
1442
|
-
return
|
|
1440
|
+
return _this178.get('/conversations/search', {
|
|
1443
1441
|
id: request.id,
|
|
1444
1442
|
name: request.name,
|
|
1445
1443
|
agent_id: request.agent_id,
|
|
@@ -1454,64 +1452,64 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1454
1452
|
})();
|
|
1455
1453
|
}
|
|
1456
1454
|
create_conversation(body, fields, options) {
|
|
1457
|
-
var
|
|
1455
|
+
var _this179 = this;
|
|
1458
1456
|
return _asyncToGenerator(function* () {
|
|
1459
|
-
return
|
|
1457
|
+
return _this179.post('/conversations', {
|
|
1460
1458
|
fields
|
|
1461
1459
|
}, body, options);
|
|
1462
1460
|
})();
|
|
1463
1461
|
}
|
|
1464
1462
|
delete_conversation(id, fields, options) {
|
|
1465
|
-
var
|
|
1463
|
+
var _this180 = this;
|
|
1466
1464
|
return _asyncToGenerator(function* () {
|
|
1467
|
-
return
|
|
1465
|
+
return _this180.delete('/conversations', {
|
|
1468
1466
|
id,
|
|
1469
1467
|
fields
|
|
1470
1468
|
}, null, options);
|
|
1471
1469
|
})();
|
|
1472
1470
|
}
|
|
1473
1471
|
get_conversation(conversation_id, fields, options) {
|
|
1474
|
-
var
|
|
1472
|
+
var _this181 = this;
|
|
1475
1473
|
return _asyncToGenerator(function* () {
|
|
1476
1474
|
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
|
|
1477
|
-
return
|
|
1475
|
+
return _this181.get("/conversations/".concat(conversation_id), {
|
|
1478
1476
|
fields
|
|
1479
1477
|
}, null, options);
|
|
1480
1478
|
})();
|
|
1481
1479
|
}
|
|
1482
1480
|
update_conversation(conversation_id, body, fields, options) {
|
|
1483
|
-
var
|
|
1481
|
+
var _this182 = this;
|
|
1484
1482
|
return _asyncToGenerator(function* () {
|
|
1485
1483
|
conversation_id = (0, _sdkRtl.encodeParam)(conversation_id);
|
|
1486
|
-
return
|
|
1484
|
+
return _this182.patch("/conversations/".concat(conversation_id), {
|
|
1487
1485
|
fields
|
|
1488
1486
|
}, body, options);
|
|
1489
1487
|
})();
|
|
1490
1488
|
}
|
|
1491
1489
|
conversational_analytics_chat(body, options) {
|
|
1492
|
-
var
|
|
1490
|
+
var _this183 = this;
|
|
1493
1491
|
return _asyncToGenerator(function* () {
|
|
1494
|
-
return
|
|
1492
|
+
return _this183.post('/conversational_analytics/chat', null, body, options);
|
|
1495
1493
|
})();
|
|
1496
1494
|
}
|
|
1497
1495
|
all_dashboards(fields, options) {
|
|
1498
|
-
var
|
|
1496
|
+
var _this184 = this;
|
|
1499
1497
|
return _asyncToGenerator(function* () {
|
|
1500
|
-
return
|
|
1498
|
+
return _this184.get('/dashboards', {
|
|
1501
1499
|
fields
|
|
1502
1500
|
}, null, options);
|
|
1503
1501
|
})();
|
|
1504
1502
|
}
|
|
1505
1503
|
create_dashboard(body, options) {
|
|
1506
|
-
var
|
|
1504
|
+
var _this185 = this;
|
|
1507
1505
|
return _asyncToGenerator(function* () {
|
|
1508
|
-
return
|
|
1506
|
+
return _this185.post('/dashboards', null, body, options);
|
|
1509
1507
|
})();
|
|
1510
1508
|
}
|
|
1511
1509
|
search_dashboards(request, options) {
|
|
1512
|
-
var
|
|
1510
|
+
var _this186 = this;
|
|
1513
1511
|
return _asyncToGenerator(function* () {
|
|
1514
|
-
return
|
|
1512
|
+
return _this186.get('/dashboards/search', {
|
|
1515
1513
|
id: request.id,
|
|
1516
1514
|
slug: request.slug,
|
|
1517
1515
|
title: request.title,
|
|
@@ -1536,59 +1534,59 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1536
1534
|
})();
|
|
1537
1535
|
}
|
|
1538
1536
|
import_lookml_dashboard(lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
1539
|
-
var
|
|
1537
|
+
var _this187 = this;
|
|
1540
1538
|
return _asyncToGenerator(function* () {
|
|
1541
1539
|
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
1542
1540
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
1543
|
-
return
|
|
1541
|
+
return _this187.post("/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
1544
1542
|
raw_locale
|
|
1545
1543
|
}, body, options);
|
|
1546
1544
|
})();
|
|
1547
1545
|
}
|
|
1548
1546
|
sync_lookml_dashboard(request, options) {
|
|
1549
|
-
var
|
|
1547
|
+
var _this188 = this;
|
|
1550
1548
|
return _asyncToGenerator(function* () {
|
|
1551
1549
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
1552
|
-
return
|
|
1550
|
+
return _this188.patch("/dashboards/".concat(request.lookml_dashboard_id, "/sync"), {
|
|
1553
1551
|
raw_locale: request.raw_locale,
|
|
1554
1552
|
dashboard_ids: request.dashboard_ids
|
|
1555
1553
|
}, null, options);
|
|
1556
1554
|
})();
|
|
1557
1555
|
}
|
|
1558
1556
|
dashboard(dashboard_id, fields, options) {
|
|
1559
|
-
var
|
|
1557
|
+
var _this189 = this;
|
|
1560
1558
|
return _asyncToGenerator(function* () {
|
|
1561
1559
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1562
|
-
return
|
|
1560
|
+
return _this189.get("/dashboards/".concat(dashboard_id), {
|
|
1563
1561
|
fields
|
|
1564
1562
|
}, null, options);
|
|
1565
1563
|
})();
|
|
1566
1564
|
}
|
|
1567
1565
|
update_dashboard(dashboard_id, body, options) {
|
|
1568
|
-
var
|
|
1566
|
+
var _this190 = this;
|
|
1569
1567
|
return _asyncToGenerator(function* () {
|
|
1570
1568
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1571
|
-
return
|
|
1569
|
+
return _this190.patch("/dashboards/".concat(dashboard_id), null, body, options);
|
|
1572
1570
|
})();
|
|
1573
1571
|
}
|
|
1574
1572
|
delete_dashboard(dashboard_id, options) {
|
|
1575
|
-
var
|
|
1573
|
+
var _this191 = this;
|
|
1576
1574
|
return _asyncToGenerator(function* () {
|
|
1577
1575
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1578
|
-
return
|
|
1576
|
+
return _this191.delete("/dashboards/".concat(dashboard_id), null, null, options);
|
|
1579
1577
|
})();
|
|
1580
1578
|
}
|
|
1581
1579
|
dashboard_aggregate_table_lookml(dashboard_id, options) {
|
|
1582
|
-
var
|
|
1580
|
+
var _this192 = this;
|
|
1583
1581
|
return _asyncToGenerator(function* () {
|
|
1584
1582
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1585
|
-
return
|
|
1583
|
+
return _this192.get("/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
1586
1584
|
})();
|
|
1587
1585
|
}
|
|
1588
1586
|
search_lookml_dashboards(request, options) {
|
|
1589
|
-
var
|
|
1587
|
+
var _this193 = this;
|
|
1590
1588
|
return _asyncToGenerator(function* () {
|
|
1591
|
-
return
|
|
1589
|
+
return _this193.get('/dashboards/lookml/search', {
|
|
1592
1590
|
folder_id: request.folder_id,
|
|
1593
1591
|
title: request.title,
|
|
1594
1592
|
content_favorite_id: request.content_favorite_id,
|
|
@@ -1600,60 +1598,60 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1600
1598
|
})();
|
|
1601
1599
|
}
|
|
1602
1600
|
dashboard_lookml(dashboard_id, options) {
|
|
1603
|
-
var
|
|
1601
|
+
var _this194 = this;
|
|
1604
1602
|
return _asyncToGenerator(function* () {
|
|
1605
1603
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1606
|
-
return
|
|
1604
|
+
return _this194.get("/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
1607
1605
|
})();
|
|
1608
1606
|
}
|
|
1609
1607
|
move_dashboard(dashboard_id, folder_id, options) {
|
|
1610
|
-
var
|
|
1608
|
+
var _this195 = this;
|
|
1611
1609
|
return _asyncToGenerator(function* () {
|
|
1612
1610
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1613
|
-
return
|
|
1611
|
+
return _this195.patch("/dashboards/".concat(dashboard_id, "/move"), {
|
|
1614
1612
|
folder_id
|
|
1615
1613
|
}, null, options);
|
|
1616
1614
|
})();
|
|
1617
1615
|
}
|
|
1618
1616
|
import_dashboard_from_lookml(body, options) {
|
|
1619
|
-
var
|
|
1617
|
+
var _this196 = this;
|
|
1620
1618
|
return _asyncToGenerator(function* () {
|
|
1621
|
-
return
|
|
1619
|
+
return _this196.post('/dashboards/lookml', null, body, options);
|
|
1622
1620
|
})();
|
|
1623
1621
|
}
|
|
1624
1622
|
create_dashboard_from_lookml(body, options) {
|
|
1625
|
-
var
|
|
1623
|
+
var _this197 = this;
|
|
1626
1624
|
return _asyncToGenerator(function* () {
|
|
1627
|
-
return
|
|
1625
|
+
return _this197.post('/dashboards/from_lookml', null, body, options);
|
|
1628
1626
|
})();
|
|
1629
1627
|
}
|
|
1630
1628
|
copy_dashboard(dashboard_id, folder_id, options) {
|
|
1631
|
-
var
|
|
1629
|
+
var _this198 = this;
|
|
1632
1630
|
return _asyncToGenerator(function* () {
|
|
1633
1631
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1634
|
-
return
|
|
1632
|
+
return _this198.post("/dashboards/".concat(dashboard_id, "/copy"), {
|
|
1635
1633
|
folder_id
|
|
1636
1634
|
}, null, options);
|
|
1637
1635
|
})();
|
|
1638
1636
|
}
|
|
1639
1637
|
update_dashboard_certification(dashboard_id, body, options) {
|
|
1640
|
-
var
|
|
1638
|
+
var _this199 = this;
|
|
1641
1639
|
return _asyncToGenerator(function* () {
|
|
1642
1640
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1643
|
-
return
|
|
1641
|
+
return _this199.patch("/dashboards/".concat(dashboard_id, "/certification"), null, body, options);
|
|
1644
1642
|
})();
|
|
1645
1643
|
}
|
|
1646
1644
|
update_lookml_certification(dashboard_id, body, options) {
|
|
1647
|
-
var
|
|
1645
|
+
var _this200 = this;
|
|
1648
1646
|
return _asyncToGenerator(function* () {
|
|
1649
1647
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1650
|
-
return
|
|
1648
|
+
return _this200.patch("/dashboards/lookml/".concat(dashboard_id, "/certification"), null, body, options);
|
|
1651
1649
|
})();
|
|
1652
1650
|
}
|
|
1653
1651
|
search_dashboard_elements(request, options) {
|
|
1654
|
-
var
|
|
1652
|
+
var _this201 = this;
|
|
1655
1653
|
return _asyncToGenerator(function* () {
|
|
1656
|
-
return
|
|
1654
|
+
return _this201.get('/dashboard_elements/search', {
|
|
1657
1655
|
dashboard_id: request.dashboard_id,
|
|
1658
1656
|
look_id: request.look_id,
|
|
1659
1657
|
title: request.title,
|
|
@@ -1665,217 +1663,217 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1665
1663
|
})();
|
|
1666
1664
|
}
|
|
1667
1665
|
dashboard_element(dashboard_element_id, fields, options) {
|
|
1668
|
-
var
|
|
1666
|
+
var _this202 = this;
|
|
1669
1667
|
return _asyncToGenerator(function* () {
|
|
1670
1668
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1671
|
-
return
|
|
1669
|
+
return _this202.get("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1672
1670
|
fields
|
|
1673
1671
|
}, null, options);
|
|
1674
1672
|
})();
|
|
1675
1673
|
}
|
|
1676
1674
|
update_dashboard_element(dashboard_element_id, body, fields, options) {
|
|
1677
|
-
var
|
|
1675
|
+
var _this203 = this;
|
|
1678
1676
|
return _asyncToGenerator(function* () {
|
|
1679
1677
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1680
|
-
return
|
|
1678
|
+
return _this203.patch("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1681
1679
|
fields
|
|
1682
1680
|
}, body, options);
|
|
1683
1681
|
})();
|
|
1684
1682
|
}
|
|
1685
1683
|
delete_dashboard_element(dashboard_element_id, options) {
|
|
1686
|
-
var
|
|
1684
|
+
var _this204 = this;
|
|
1687
1685
|
return _asyncToGenerator(function* () {
|
|
1688
1686
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1689
|
-
return
|
|
1687
|
+
return _this204.delete("/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
1690
1688
|
})();
|
|
1691
1689
|
}
|
|
1692
1690
|
dashboard_dashboard_elements(dashboard_id, fields, options) {
|
|
1693
|
-
var
|
|
1691
|
+
var _this205 = this;
|
|
1694
1692
|
return _asyncToGenerator(function* () {
|
|
1695
1693
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1696
|
-
return
|
|
1694
|
+
return _this205.get("/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
1697
1695
|
fields
|
|
1698
1696
|
}, null, options);
|
|
1699
1697
|
})();
|
|
1700
1698
|
}
|
|
1701
1699
|
create_dashboard_element(request, options) {
|
|
1702
|
-
var
|
|
1700
|
+
var _this206 = this;
|
|
1703
1701
|
return _asyncToGenerator(function* () {
|
|
1704
|
-
return
|
|
1702
|
+
return _this206.post('/dashboard_elements', {
|
|
1705
1703
|
fields: request.fields,
|
|
1706
1704
|
apply_filters: request.apply_filters
|
|
1707
1705
|
}, request.body, options);
|
|
1708
1706
|
})();
|
|
1709
1707
|
}
|
|
1710
1708
|
dashboard_filter(dashboard_filter_id, fields, options) {
|
|
1711
|
-
var
|
|
1709
|
+
var _this207 = this;
|
|
1712
1710
|
return _asyncToGenerator(function* () {
|
|
1713
1711
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1714
|
-
return
|
|
1712
|
+
return _this207.get("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1715
1713
|
fields
|
|
1716
1714
|
}, null, options);
|
|
1717
1715
|
})();
|
|
1718
1716
|
}
|
|
1719
1717
|
update_dashboard_filter(dashboard_filter_id, body, fields, options) {
|
|
1720
|
-
var
|
|
1718
|
+
var _this208 = this;
|
|
1721
1719
|
return _asyncToGenerator(function* () {
|
|
1722
1720
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1723
|
-
return
|
|
1721
|
+
return _this208.patch("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1724
1722
|
fields
|
|
1725
1723
|
}, body, options);
|
|
1726
1724
|
})();
|
|
1727
1725
|
}
|
|
1728
1726
|
delete_dashboard_filter(dashboard_filter_id, options) {
|
|
1729
|
-
var
|
|
1727
|
+
var _this209 = this;
|
|
1730
1728
|
return _asyncToGenerator(function* () {
|
|
1731
1729
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1732
|
-
return
|
|
1730
|
+
return _this209.delete("/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1733
1731
|
})();
|
|
1734
1732
|
}
|
|
1735
1733
|
dashboard_dashboard_filters(dashboard_id, fields, options) {
|
|
1736
|
-
var
|
|
1734
|
+
var _this210 = this;
|
|
1737
1735
|
return _asyncToGenerator(function* () {
|
|
1738
1736
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1739
|
-
return
|
|
1737
|
+
return _this210.get("/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1740
1738
|
fields
|
|
1741
1739
|
}, null, options);
|
|
1742
1740
|
})();
|
|
1743
1741
|
}
|
|
1744
1742
|
create_dashboard_filter(body, fields, options) {
|
|
1745
|
-
var
|
|
1743
|
+
var _this211 = this;
|
|
1746
1744
|
return _asyncToGenerator(function* () {
|
|
1747
|
-
return
|
|
1745
|
+
return _this211.post('/dashboard_filters', {
|
|
1748
1746
|
fields
|
|
1749
1747
|
}, body, options);
|
|
1750
1748
|
})();
|
|
1751
1749
|
}
|
|
1752
1750
|
dashboard_layout_component(dashboard_layout_component_id, fields, options) {
|
|
1753
|
-
var
|
|
1751
|
+
var _this212 = this;
|
|
1754
1752
|
return _asyncToGenerator(function* () {
|
|
1755
1753
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1756
|
-
return
|
|
1754
|
+
return _this212.get("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1757
1755
|
fields
|
|
1758
1756
|
}, null, options);
|
|
1759
1757
|
})();
|
|
1760
1758
|
}
|
|
1761
1759
|
update_dashboard_layout_component(dashboard_layout_component_id, body, fields, options) {
|
|
1762
|
-
var
|
|
1760
|
+
var _this213 = this;
|
|
1763
1761
|
return _asyncToGenerator(function* () {
|
|
1764
1762
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1765
|
-
return
|
|
1763
|
+
return _this213.patch("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1766
1764
|
fields
|
|
1767
1765
|
}, body, options);
|
|
1768
1766
|
})();
|
|
1769
1767
|
}
|
|
1770
1768
|
dashboard_layout_dashboard_layout_components(dashboard_layout_id, fields, options) {
|
|
1771
|
-
var
|
|
1769
|
+
var _this214 = this;
|
|
1772
1770
|
return _asyncToGenerator(function* () {
|
|
1773
1771
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1774
|
-
return
|
|
1772
|
+
return _this214.get("/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1775
1773
|
fields
|
|
1776
1774
|
}, null, options);
|
|
1777
1775
|
})();
|
|
1778
1776
|
}
|
|
1779
1777
|
dashboard_layout(dashboard_layout_id, fields, options) {
|
|
1780
|
-
var
|
|
1778
|
+
var _this215 = this;
|
|
1781
1779
|
return _asyncToGenerator(function* () {
|
|
1782
1780
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1783
|
-
return
|
|
1781
|
+
return _this215.get("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1784
1782
|
fields
|
|
1785
1783
|
}, null, options);
|
|
1786
1784
|
})();
|
|
1787
1785
|
}
|
|
1788
1786
|
update_dashboard_layout(dashboard_layout_id, body, fields, options) {
|
|
1789
|
-
var
|
|
1787
|
+
var _this216 = this;
|
|
1790
1788
|
return _asyncToGenerator(function* () {
|
|
1791
1789
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1792
|
-
return
|
|
1790
|
+
return _this216.patch("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1793
1791
|
fields
|
|
1794
1792
|
}, body, options);
|
|
1795
1793
|
})();
|
|
1796
1794
|
}
|
|
1797
1795
|
delete_dashboard_layout(dashboard_layout_id, options) {
|
|
1798
|
-
var
|
|
1796
|
+
var _this217 = this;
|
|
1799
1797
|
return _asyncToGenerator(function* () {
|
|
1800
1798
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1801
|
-
return
|
|
1799
|
+
return _this217.delete("/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1802
1800
|
})();
|
|
1803
1801
|
}
|
|
1804
1802
|
dashboard_dashboard_layouts(dashboard_id, fields, options) {
|
|
1805
|
-
var
|
|
1803
|
+
var _this218 = this;
|
|
1806
1804
|
return _asyncToGenerator(function* () {
|
|
1807
1805
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1808
|
-
return
|
|
1806
|
+
return _this218.get("/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1809
1807
|
fields
|
|
1810
1808
|
}, null, options);
|
|
1811
1809
|
})();
|
|
1812
1810
|
}
|
|
1813
1811
|
create_dashboard_layout(body, fields, options) {
|
|
1814
|
-
var
|
|
1812
|
+
var _this219 = this;
|
|
1815
1813
|
return _asyncToGenerator(function* () {
|
|
1816
|
-
return
|
|
1814
|
+
return _this219.post('/dashboard_layouts', {
|
|
1817
1815
|
fields
|
|
1818
1816
|
}, body, options);
|
|
1819
1817
|
})();
|
|
1820
1818
|
}
|
|
1821
1819
|
perform_data_action(body, options) {
|
|
1822
|
-
var
|
|
1820
|
+
var _this220 = this;
|
|
1823
1821
|
return _asyncToGenerator(function* () {
|
|
1824
|
-
return
|
|
1822
|
+
return _this220.post('/data_actions', null, body, options);
|
|
1825
1823
|
})();
|
|
1826
1824
|
}
|
|
1827
1825
|
fetch_remote_data_action_form(body, options) {
|
|
1828
|
-
var
|
|
1826
|
+
var _this221 = this;
|
|
1829
1827
|
return _asyncToGenerator(function* () {
|
|
1830
|
-
return
|
|
1828
|
+
return _this221.post('/data_actions/form', null, body, options);
|
|
1831
1829
|
})();
|
|
1832
1830
|
}
|
|
1833
1831
|
all_datagroups(options) {
|
|
1834
|
-
var
|
|
1832
|
+
var _this222 = this;
|
|
1835
1833
|
return _asyncToGenerator(function* () {
|
|
1836
|
-
return
|
|
1834
|
+
return _this222.get('/datagroups', null, null, options);
|
|
1837
1835
|
})();
|
|
1838
1836
|
}
|
|
1839
1837
|
datagroup(datagroup_id, options) {
|
|
1840
|
-
var
|
|
1838
|
+
var _this223 = this;
|
|
1841
1839
|
return _asyncToGenerator(function* () {
|
|
1842
1840
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1843
|
-
return
|
|
1841
|
+
return _this223.get("/datagroups/".concat(datagroup_id), null, null, options);
|
|
1844
1842
|
})();
|
|
1845
1843
|
}
|
|
1846
1844
|
update_datagroup(datagroup_id, body, options) {
|
|
1847
|
-
var
|
|
1845
|
+
var _this224 = this;
|
|
1848
1846
|
return _asyncToGenerator(function* () {
|
|
1849
1847
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1850
|
-
return
|
|
1848
|
+
return _this224.patch("/datagroups/".concat(datagroup_id), null, body, options);
|
|
1851
1849
|
})();
|
|
1852
1850
|
}
|
|
1853
1851
|
graph_derived_tables_for_model(request, options) {
|
|
1854
|
-
var
|
|
1852
|
+
var _this225 = this;
|
|
1855
1853
|
return _asyncToGenerator(function* () {
|
|
1856
1854
|
request.model = (0, _sdkRtl.encodeParam)(request.model);
|
|
1857
|
-
return
|
|
1855
|
+
return _this225.get("/derived_table/graph/model/".concat(request.model), {
|
|
1858
1856
|
format: request.format,
|
|
1859
1857
|
color: request.color
|
|
1860
1858
|
}, null, options);
|
|
1861
1859
|
})();
|
|
1862
1860
|
}
|
|
1863
1861
|
graph_derived_tables_for_view(request, options) {
|
|
1864
|
-
var
|
|
1862
|
+
var _this226 = this;
|
|
1865
1863
|
return _asyncToGenerator(function* () {
|
|
1866
1864
|
request.view = (0, _sdkRtl.encodeParam)(request.view);
|
|
1867
|
-
return
|
|
1865
|
+
return _this226.get("/derived_table/graph/view/".concat(request.view), {
|
|
1868
1866
|
models: request.models,
|
|
1869
1867
|
workspace: request.workspace
|
|
1870
1868
|
}, null, options);
|
|
1871
1869
|
})();
|
|
1872
1870
|
}
|
|
1873
1871
|
start_pdt_build(request, options) {
|
|
1874
|
-
var
|
|
1872
|
+
var _this227 = this;
|
|
1875
1873
|
return _asyncToGenerator(function* () {
|
|
1876
1874
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
1877
1875
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
1878
|
-
return
|
|
1876
|
+
return _this227.get("/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1879
1877
|
force_rebuild: request.force_rebuild,
|
|
1880
1878
|
force_full_incremental: request.force_full_incremental,
|
|
1881
1879
|
workspace: request.workspace,
|
|
@@ -1884,25 +1882,25 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1884
1882
|
})();
|
|
1885
1883
|
}
|
|
1886
1884
|
check_pdt_build(materialization_id, options) {
|
|
1887
|
-
var
|
|
1885
|
+
var _this228 = this;
|
|
1888
1886
|
return _asyncToGenerator(function* () {
|
|
1889
1887
|
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1890
|
-
return
|
|
1888
|
+
return _this228.get("/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1891
1889
|
})();
|
|
1892
1890
|
}
|
|
1893
1891
|
stop_pdt_build(materialization_id, source, options) {
|
|
1894
|
-
var
|
|
1892
|
+
var _this229 = this;
|
|
1895
1893
|
return _asyncToGenerator(function* () {
|
|
1896
1894
|
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1897
|
-
return
|
|
1895
|
+
return _this229.get("/derived_table/".concat(materialization_id, "/stop"), {
|
|
1898
1896
|
source
|
|
1899
1897
|
}, null, options);
|
|
1900
1898
|
})();
|
|
1901
1899
|
}
|
|
1902
1900
|
search_folders(request, options) {
|
|
1903
|
-
var
|
|
1901
|
+
var _this230 = this;
|
|
1904
1902
|
return _asyncToGenerator(function* () {
|
|
1905
|
-
return
|
|
1903
|
+
return _this230.get('/folders/search', {
|
|
1906
1904
|
fields: request.fields,
|
|
1907
1905
|
page: request.page,
|
|
1908
1906
|
per_page: request.per_page,
|
|
@@ -1920,47 +1918,47 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1920
1918
|
})();
|
|
1921
1919
|
}
|
|
1922
1920
|
folder(folder_id, fields, options) {
|
|
1923
|
-
var
|
|
1921
|
+
var _this231 = this;
|
|
1924
1922
|
return _asyncToGenerator(function* () {
|
|
1925
1923
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1926
|
-
return
|
|
1924
|
+
return _this231.get("/folders/".concat(folder_id), {
|
|
1927
1925
|
fields
|
|
1928
1926
|
}, null, options);
|
|
1929
1927
|
})();
|
|
1930
1928
|
}
|
|
1931
1929
|
update_folder(folder_id, body, options) {
|
|
1932
|
-
var
|
|
1930
|
+
var _this232 = this;
|
|
1933
1931
|
return _asyncToGenerator(function* () {
|
|
1934
1932
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1935
|
-
return
|
|
1933
|
+
return _this232.patch("/folders/".concat(folder_id), null, body, options);
|
|
1936
1934
|
})();
|
|
1937
1935
|
}
|
|
1938
1936
|
delete_folder(folder_id, options) {
|
|
1939
|
-
var
|
|
1937
|
+
var _this233 = this;
|
|
1940
1938
|
return _asyncToGenerator(function* () {
|
|
1941
1939
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1942
|
-
return
|
|
1940
|
+
return _this233.delete("/folders/".concat(folder_id), null, null, options);
|
|
1943
1941
|
})();
|
|
1944
1942
|
}
|
|
1945
1943
|
all_folders(fields, options) {
|
|
1946
|
-
var
|
|
1944
|
+
var _this234 = this;
|
|
1947
1945
|
return _asyncToGenerator(function* () {
|
|
1948
|
-
return
|
|
1946
|
+
return _this234.get('/folders', {
|
|
1949
1947
|
fields
|
|
1950
1948
|
}, null, options);
|
|
1951
1949
|
})();
|
|
1952
1950
|
}
|
|
1953
1951
|
create_folder(body, options) {
|
|
1954
|
-
var
|
|
1952
|
+
var _this235 = this;
|
|
1955
1953
|
return _asyncToGenerator(function* () {
|
|
1956
|
-
return
|
|
1954
|
+
return _this235.post('/folders', null, body, options);
|
|
1957
1955
|
})();
|
|
1958
1956
|
}
|
|
1959
1957
|
folder_children(request, options) {
|
|
1960
|
-
var
|
|
1958
|
+
var _this236 = this;
|
|
1961
1959
|
return _asyncToGenerator(function* () {
|
|
1962
1960
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1963
|
-
return
|
|
1961
|
+
return _this236.get("/folders/".concat(request.folder_id, "/children"), {
|
|
1964
1962
|
fields: request.fields,
|
|
1965
1963
|
page: request.page,
|
|
1966
1964
|
per_page: request.per_page,
|
|
@@ -1971,10 +1969,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1971
1969
|
})();
|
|
1972
1970
|
}
|
|
1973
1971
|
folder_children_search(request, options) {
|
|
1974
|
-
var
|
|
1972
|
+
var _this237 = this;
|
|
1975
1973
|
return _asyncToGenerator(function* () {
|
|
1976
1974
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1977
|
-
return
|
|
1975
|
+
return _this237.get("/folders/".concat(request.folder_id, "/children/search"), {
|
|
1978
1976
|
fields: request.fields,
|
|
1979
1977
|
sorts: request.sorts,
|
|
1980
1978
|
name: request.name
|
|
@@ -1982,45 +1980,45 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1982
1980
|
})();
|
|
1983
1981
|
}
|
|
1984
1982
|
folder_parent(folder_id, fields, options) {
|
|
1985
|
-
var
|
|
1983
|
+
var _this238 = this;
|
|
1986
1984
|
return _asyncToGenerator(function* () {
|
|
1987
1985
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1988
|
-
return
|
|
1986
|
+
return _this238.get("/folders/".concat(folder_id, "/parent"), {
|
|
1989
1987
|
fields
|
|
1990
1988
|
}, null, options);
|
|
1991
1989
|
})();
|
|
1992
1990
|
}
|
|
1993
1991
|
folder_ancestors(folder_id, fields, options) {
|
|
1994
|
-
var
|
|
1992
|
+
var _this239 = this;
|
|
1995
1993
|
return _asyncToGenerator(function* () {
|
|
1996
1994
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1997
|
-
return
|
|
1995
|
+
return _this239.get("/folders/".concat(folder_id, "/ancestors"), {
|
|
1998
1996
|
fields
|
|
1999
1997
|
}, null, options);
|
|
2000
1998
|
})();
|
|
2001
1999
|
}
|
|
2002
2000
|
folder_looks(folder_id, fields, options) {
|
|
2003
|
-
var
|
|
2001
|
+
var _this240 = this;
|
|
2004
2002
|
return _asyncToGenerator(function* () {
|
|
2005
2003
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
2006
|
-
return
|
|
2004
|
+
return _this240.get("/folders/".concat(folder_id, "/looks"), {
|
|
2007
2005
|
fields
|
|
2008
2006
|
}, null, options);
|
|
2009
2007
|
})();
|
|
2010
2008
|
}
|
|
2011
2009
|
folder_dashboards(folder_id, fields, options) {
|
|
2012
|
-
var
|
|
2010
|
+
var _this241 = this;
|
|
2013
2011
|
return _asyncToGenerator(function* () {
|
|
2014
2012
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
2015
|
-
return
|
|
2013
|
+
return _this241.get("/folders/".concat(folder_id, "/dashboards"), {
|
|
2016
2014
|
fields
|
|
2017
2015
|
}, null, options);
|
|
2018
2016
|
})();
|
|
2019
2017
|
}
|
|
2020
2018
|
all_groups(request, options) {
|
|
2021
|
-
var
|
|
2019
|
+
var _this242 = this;
|
|
2022
2020
|
return _asyncToGenerator(function* () {
|
|
2023
|
-
return
|
|
2021
|
+
return _this242.get('/groups', {
|
|
2024
2022
|
fields: request.fields,
|
|
2025
2023
|
page: request.page,
|
|
2026
2024
|
per_page: request.per_page,
|
|
@@ -2034,17 +2032,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2034
2032
|
})();
|
|
2035
2033
|
}
|
|
2036
2034
|
create_group(body, fields, options) {
|
|
2037
|
-
var
|
|
2035
|
+
var _this243 = this;
|
|
2038
2036
|
return _asyncToGenerator(function* () {
|
|
2039
|
-
return
|
|
2037
|
+
return _this243.post('/groups', {
|
|
2040
2038
|
fields
|
|
2041
2039
|
}, body, options);
|
|
2042
2040
|
})();
|
|
2043
2041
|
}
|
|
2044
2042
|
search_groups(request, options) {
|
|
2045
|
-
var
|
|
2043
|
+
var _this244 = this;
|
|
2046
2044
|
return _asyncToGenerator(function* () {
|
|
2047
|
-
return
|
|
2045
|
+
return _this244.get('/groups/search', {
|
|
2048
2046
|
fields: request.fields,
|
|
2049
2047
|
limit: request.limit,
|
|
2050
2048
|
offset: request.offset,
|
|
@@ -2059,9 +2057,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2059
2057
|
})();
|
|
2060
2058
|
}
|
|
2061
2059
|
search_groups_with_roles(request, options) {
|
|
2062
|
-
var
|
|
2060
|
+
var _this245 = this;
|
|
2063
2061
|
return _asyncToGenerator(function* () {
|
|
2064
|
-
return
|
|
2062
|
+
return _this245.get('/groups/search/with_roles', {
|
|
2065
2063
|
fields: request.fields,
|
|
2066
2064
|
limit: request.limit,
|
|
2067
2065
|
offset: request.offset,
|
|
@@ -2076,9 +2074,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2076
2074
|
})();
|
|
2077
2075
|
}
|
|
2078
2076
|
search_groups_with_hierarchy(request, options) {
|
|
2079
|
-
var
|
|
2077
|
+
var _this246 = this;
|
|
2080
2078
|
return _asyncToGenerator(function* () {
|
|
2081
|
-
return
|
|
2079
|
+
return _this246.get('/groups/search/with_hierarchy', {
|
|
2082
2080
|
fields: request.fields,
|
|
2083
2081
|
limit: request.limit,
|
|
2084
2082
|
offset: request.offset,
|
|
@@ -2093,51 +2091,51 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2093
2091
|
})();
|
|
2094
2092
|
}
|
|
2095
2093
|
group(group_id, fields, options) {
|
|
2096
|
-
var
|
|
2094
|
+
var _this247 = this;
|
|
2097
2095
|
return _asyncToGenerator(function* () {
|
|
2098
2096
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2099
|
-
return
|
|
2097
|
+
return _this247.get("/groups/".concat(group_id), {
|
|
2100
2098
|
fields
|
|
2101
2099
|
}, null, options);
|
|
2102
2100
|
})();
|
|
2103
2101
|
}
|
|
2104
2102
|
update_group(group_id, body, fields, options) {
|
|
2105
|
-
var
|
|
2103
|
+
var _this248 = this;
|
|
2106
2104
|
return _asyncToGenerator(function* () {
|
|
2107
2105
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2108
|
-
return
|
|
2106
|
+
return _this248.patch("/groups/".concat(group_id), {
|
|
2109
2107
|
fields
|
|
2110
2108
|
}, body, options);
|
|
2111
2109
|
})();
|
|
2112
2110
|
}
|
|
2113
2111
|
delete_group(group_id, options) {
|
|
2114
|
-
var
|
|
2112
|
+
var _this249 = this;
|
|
2115
2113
|
return _asyncToGenerator(function* () {
|
|
2116
2114
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2117
|
-
return
|
|
2115
|
+
return _this249.delete("/groups/".concat(group_id), null, null, options);
|
|
2118
2116
|
})();
|
|
2119
2117
|
}
|
|
2120
2118
|
all_group_groups(group_id, fields, options) {
|
|
2121
|
-
var
|
|
2119
|
+
var _this250 = this;
|
|
2122
2120
|
return _asyncToGenerator(function* () {
|
|
2123
2121
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2124
|
-
return
|
|
2122
|
+
return _this250.get("/groups/".concat(group_id, "/groups"), {
|
|
2125
2123
|
fields
|
|
2126
2124
|
}, null, options);
|
|
2127
2125
|
})();
|
|
2128
2126
|
}
|
|
2129
2127
|
add_group_group(group_id, body, options) {
|
|
2130
|
-
var
|
|
2128
|
+
var _this251 = this;
|
|
2131
2129
|
return _asyncToGenerator(function* () {
|
|
2132
2130
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2133
|
-
return
|
|
2131
|
+
return _this251.post("/groups/".concat(group_id, "/groups"), null, body, options);
|
|
2134
2132
|
})();
|
|
2135
2133
|
}
|
|
2136
2134
|
all_group_users(request, options) {
|
|
2137
|
-
var
|
|
2135
|
+
var _this252 = this;
|
|
2138
2136
|
return _asyncToGenerator(function* () {
|
|
2139
2137
|
request.group_id = (0, _sdkRtl.encodeParam)(request.group_id);
|
|
2140
|
-
return
|
|
2138
|
+
return _this252.get("/groups/".concat(request.group_id, "/users"), {
|
|
2141
2139
|
fields: request.fields,
|
|
2142
2140
|
page: request.page,
|
|
2143
2141
|
per_page: request.per_page,
|
|
@@ -2148,176 +2146,176 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2148
2146
|
})();
|
|
2149
2147
|
}
|
|
2150
2148
|
add_group_user(group_id, body, options) {
|
|
2151
|
-
var
|
|
2149
|
+
var _this253 = this;
|
|
2152
2150
|
return _asyncToGenerator(function* () {
|
|
2153
2151
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2154
|
-
return
|
|
2152
|
+
return _this253.post("/groups/".concat(group_id, "/users"), null, body, options);
|
|
2155
2153
|
})();
|
|
2156
2154
|
}
|
|
2157
2155
|
delete_group_user(group_id, user_id, options) {
|
|
2158
|
-
var
|
|
2156
|
+
var _this254 = this;
|
|
2159
2157
|
return _asyncToGenerator(function* () {
|
|
2160
2158
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2161
2159
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
2162
|
-
return
|
|
2160
|
+
return _this254.delete("/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
2163
2161
|
})();
|
|
2164
2162
|
}
|
|
2165
2163
|
delete_group_from_group(group_id, deleting_group_id, options) {
|
|
2166
|
-
var
|
|
2164
|
+
var _this255 = this;
|
|
2167
2165
|
return _asyncToGenerator(function* () {
|
|
2168
2166
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2169
2167
|
deleting_group_id = (0, _sdkRtl.encodeParam)(deleting_group_id);
|
|
2170
|
-
return
|
|
2168
|
+
return _this255.delete("/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
2171
2169
|
})();
|
|
2172
2170
|
}
|
|
2173
2171
|
update_user_attribute_group_value(group_id, user_attribute_id, body, options) {
|
|
2174
|
-
var
|
|
2172
|
+
var _this256 = this;
|
|
2175
2173
|
return _asyncToGenerator(function* () {
|
|
2176
2174
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2177
2175
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
2178
|
-
return
|
|
2176
|
+
return _this256.patch("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
2179
2177
|
})();
|
|
2180
2178
|
}
|
|
2181
2179
|
delete_user_attribute_group_value(group_id, user_attribute_id, options) {
|
|
2182
|
-
var
|
|
2180
|
+
var _this257 = this;
|
|
2183
2181
|
return _asyncToGenerator(function* () {
|
|
2184
2182
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2185
2183
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
2186
|
-
return
|
|
2184
|
+
return _this257.delete("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
2187
2185
|
})();
|
|
2188
2186
|
}
|
|
2189
2187
|
all_primary_homepage_sections(fields, options) {
|
|
2190
|
-
var
|
|
2188
|
+
var _this258 = this;
|
|
2191
2189
|
return _asyncToGenerator(function* () {
|
|
2192
|
-
return
|
|
2190
|
+
return _this258.get('/primary_homepage_sections', {
|
|
2193
2191
|
fields
|
|
2194
2192
|
}, null, options);
|
|
2195
2193
|
})();
|
|
2196
2194
|
}
|
|
2197
2195
|
all_integration_hubs(fields, options) {
|
|
2198
|
-
var
|
|
2196
|
+
var _this259 = this;
|
|
2199
2197
|
return _asyncToGenerator(function* () {
|
|
2200
|
-
return
|
|
2198
|
+
return _this259.get('/integration_hubs', {
|
|
2201
2199
|
fields
|
|
2202
2200
|
}, null, options);
|
|
2203
2201
|
})();
|
|
2204
2202
|
}
|
|
2205
2203
|
create_integration_hub(body, fields, options) {
|
|
2206
|
-
var
|
|
2204
|
+
var _this260 = this;
|
|
2207
2205
|
return _asyncToGenerator(function* () {
|
|
2208
|
-
return
|
|
2206
|
+
return _this260.post('/integration_hubs', {
|
|
2209
2207
|
fields
|
|
2210
2208
|
}, body, options);
|
|
2211
2209
|
})();
|
|
2212
2210
|
}
|
|
2213
2211
|
integration_hub(integration_hub_id, fields, options) {
|
|
2214
|
-
var
|
|
2212
|
+
var _this261 = this;
|
|
2215
2213
|
return _asyncToGenerator(function* () {
|
|
2216
2214
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2217
|
-
return
|
|
2215
|
+
return _this261.get("/integration_hubs/".concat(integration_hub_id), {
|
|
2218
2216
|
fields
|
|
2219
2217
|
}, null, options);
|
|
2220
2218
|
})();
|
|
2221
2219
|
}
|
|
2222
2220
|
update_integration_hub(integration_hub_id, body, fields, options) {
|
|
2223
|
-
var
|
|
2221
|
+
var _this262 = this;
|
|
2224
2222
|
return _asyncToGenerator(function* () {
|
|
2225
2223
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2226
|
-
return
|
|
2224
|
+
return _this262.patch("/integration_hubs/".concat(integration_hub_id), {
|
|
2227
2225
|
fields
|
|
2228
2226
|
}, body, options);
|
|
2229
2227
|
})();
|
|
2230
2228
|
}
|
|
2231
2229
|
delete_integration_hub(integration_hub_id, options) {
|
|
2232
|
-
var
|
|
2230
|
+
var _this263 = this;
|
|
2233
2231
|
return _asyncToGenerator(function* () {
|
|
2234
2232
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2235
|
-
return
|
|
2233
|
+
return _this263.delete("/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
2236
2234
|
})();
|
|
2237
2235
|
}
|
|
2238
2236
|
get_integration_hub_health(integration_hub_id, fields, options) {
|
|
2239
|
-
var
|
|
2237
|
+
var _this264 = this;
|
|
2240
2238
|
return _asyncToGenerator(function* () {
|
|
2241
2239
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2242
|
-
return
|
|
2240
|
+
return _this264.get("/integration_hubs/".concat(integration_hub_id, "/health"), {
|
|
2243
2241
|
fields
|
|
2244
2242
|
}, null, options);
|
|
2245
2243
|
})();
|
|
2246
2244
|
}
|
|
2247
2245
|
accept_integration_hub_legal_agreement(integration_hub_id, options) {
|
|
2248
|
-
var
|
|
2246
|
+
var _this265 = this;
|
|
2249
2247
|
return _asyncToGenerator(function* () {
|
|
2250
2248
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2251
|
-
return
|
|
2249
|
+
return _this265.post("/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
2252
2250
|
})();
|
|
2253
2251
|
}
|
|
2254
2252
|
all_integrations(request, options) {
|
|
2255
|
-
var
|
|
2253
|
+
var _this266 = this;
|
|
2256
2254
|
return _asyncToGenerator(function* () {
|
|
2257
|
-
return
|
|
2255
|
+
return _this266.get('/integrations', {
|
|
2258
2256
|
fields: request.fields,
|
|
2259
2257
|
integration_hub_id: request.integration_hub_id
|
|
2260
2258
|
}, null, options);
|
|
2261
2259
|
})();
|
|
2262
2260
|
}
|
|
2263
2261
|
integration(integration_id, fields, options) {
|
|
2264
|
-
var
|
|
2262
|
+
var _this267 = this;
|
|
2265
2263
|
return _asyncToGenerator(function* () {
|
|
2266
2264
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2267
|
-
return
|
|
2265
|
+
return _this267.get("/integrations/".concat(integration_id), {
|
|
2268
2266
|
fields
|
|
2269
2267
|
}, null, options);
|
|
2270
2268
|
})();
|
|
2271
2269
|
}
|
|
2272
2270
|
update_integration(integration_id, body, fields, options) {
|
|
2273
|
-
var
|
|
2271
|
+
var _this268 = this;
|
|
2274
2272
|
return _asyncToGenerator(function* () {
|
|
2275
2273
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2276
|
-
return
|
|
2274
|
+
return _this268.patch("/integrations/".concat(integration_id), {
|
|
2277
2275
|
fields
|
|
2278
2276
|
}, body, options);
|
|
2279
2277
|
})();
|
|
2280
2278
|
}
|
|
2281
2279
|
fetch_integration_form(integration_id, body, options) {
|
|
2282
|
-
var
|
|
2280
|
+
var _this269 = this;
|
|
2283
2281
|
return _asyncToGenerator(function* () {
|
|
2284
2282
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2285
|
-
return
|
|
2283
|
+
return _this269.post("/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2286
2284
|
})();
|
|
2287
2285
|
}
|
|
2288
2286
|
test_integration(integration_id, options) {
|
|
2289
|
-
var
|
|
2287
|
+
var _this270 = this;
|
|
2290
2288
|
return _asyncToGenerator(function* () {
|
|
2291
2289
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2292
|
-
return
|
|
2290
|
+
return _this270.post("/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2293
2291
|
})();
|
|
2294
2292
|
}
|
|
2295
2293
|
run_key_driver_analysis(body, options) {
|
|
2296
|
-
var
|
|
2294
|
+
var _this271 = this;
|
|
2297
2295
|
return _asyncToGenerator(function* () {
|
|
2298
|
-
return
|
|
2296
|
+
return _this271.post('/internal/kda/analyze', null, body, options);
|
|
2299
2297
|
})();
|
|
2300
2298
|
}
|
|
2301
2299
|
all_looks(fields, options) {
|
|
2302
|
-
var
|
|
2300
|
+
var _this272 = this;
|
|
2303
2301
|
return _asyncToGenerator(function* () {
|
|
2304
|
-
return
|
|
2302
|
+
return _this272.get('/looks', {
|
|
2305
2303
|
fields
|
|
2306
2304
|
}, null, options);
|
|
2307
2305
|
})();
|
|
2308
2306
|
}
|
|
2309
2307
|
create_look(body, fields, options) {
|
|
2310
|
-
var
|
|
2308
|
+
var _this273 = this;
|
|
2311
2309
|
return _asyncToGenerator(function* () {
|
|
2312
|
-
return
|
|
2310
|
+
return _this273.post('/looks', {
|
|
2313
2311
|
fields
|
|
2314
2312
|
}, body, options);
|
|
2315
2313
|
})();
|
|
2316
2314
|
}
|
|
2317
2315
|
search_looks(request, options) {
|
|
2318
|
-
var
|
|
2316
|
+
var _this274 = this;
|
|
2319
2317
|
return _asyncToGenerator(function* () {
|
|
2320
|
-
return
|
|
2318
|
+
return _this274.get('/looks/search', {
|
|
2321
2319
|
id: request.id,
|
|
2322
2320
|
title: request.title,
|
|
2323
2321
|
description: request.description,
|
|
@@ -2340,36 +2338,36 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2340
2338
|
})();
|
|
2341
2339
|
}
|
|
2342
2340
|
look(look_id, fields, options) {
|
|
2343
|
-
var
|
|
2341
|
+
var _this275 = this;
|
|
2344
2342
|
return _asyncToGenerator(function* () {
|
|
2345
2343
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2346
|
-
return
|
|
2344
|
+
return _this275.get("/looks/".concat(look_id), {
|
|
2347
2345
|
fields
|
|
2348
2346
|
}, null, options);
|
|
2349
2347
|
})();
|
|
2350
2348
|
}
|
|
2351
2349
|
update_look(look_id, body, fields, options) {
|
|
2352
|
-
var
|
|
2350
|
+
var _this276 = this;
|
|
2353
2351
|
return _asyncToGenerator(function* () {
|
|
2354
2352
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2355
|
-
return
|
|
2353
|
+
return _this276.patch("/looks/".concat(look_id), {
|
|
2356
2354
|
fields
|
|
2357
2355
|
}, body, options);
|
|
2358
2356
|
})();
|
|
2359
2357
|
}
|
|
2360
2358
|
delete_look(look_id, options) {
|
|
2361
|
-
var
|
|
2359
|
+
var _this277 = this;
|
|
2362
2360
|
return _asyncToGenerator(function* () {
|
|
2363
2361
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2364
|
-
return
|
|
2362
|
+
return _this277.delete("/looks/".concat(look_id), null, null, options);
|
|
2365
2363
|
})();
|
|
2366
2364
|
}
|
|
2367
2365
|
run_look(request, options) {
|
|
2368
|
-
var
|
|
2366
|
+
var _this278 = this;
|
|
2369
2367
|
return _asyncToGenerator(function* () {
|
|
2370
2368
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
2371
2369
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2372
|
-
return
|
|
2370
|
+
return _this278.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2373
2371
|
limit: request.limit,
|
|
2374
2372
|
apply_formatting: request.apply_formatting,
|
|
2375
2373
|
apply_vis: request.apply_vis,
|
|
@@ -2386,34 +2384,34 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2386
2384
|
})();
|
|
2387
2385
|
}
|
|
2388
2386
|
copy_look(look_id, folder_id, options) {
|
|
2389
|
-
var
|
|
2387
|
+
var _this279 = this;
|
|
2390
2388
|
return _asyncToGenerator(function* () {
|
|
2391
2389
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2392
|
-
return
|
|
2390
|
+
return _this279.post("/looks/".concat(look_id, "/copy"), {
|
|
2393
2391
|
folder_id
|
|
2394
2392
|
}, null, options);
|
|
2395
2393
|
})();
|
|
2396
2394
|
}
|
|
2397
2395
|
move_look(look_id, folder_id, options) {
|
|
2398
|
-
var
|
|
2396
|
+
var _this280 = this;
|
|
2399
2397
|
return _asyncToGenerator(function* () {
|
|
2400
2398
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2401
|
-
return
|
|
2399
|
+
return _this280.patch("/looks/".concat(look_id, "/move"), {
|
|
2402
2400
|
folder_id
|
|
2403
2401
|
}, null, options);
|
|
2404
2402
|
})();
|
|
2405
2403
|
}
|
|
2406
2404
|
update_look_certification(look_id, body, options) {
|
|
2407
|
-
var
|
|
2405
|
+
var _this281 = this;
|
|
2408
2406
|
return _asyncToGenerator(function* () {
|
|
2409
2407
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2410
|
-
return
|
|
2408
|
+
return _this281.patch("/looks/".concat(look_id, "/certification"), null, body, options);
|
|
2411
2409
|
})();
|
|
2412
2410
|
}
|
|
2413
2411
|
all_lookml_models(request, options) {
|
|
2414
|
-
var
|
|
2412
|
+
var _this282 = this;
|
|
2415
2413
|
return _asyncToGenerator(function* () {
|
|
2416
|
-
return
|
|
2414
|
+
return _this282.get('/lookml_models', {
|
|
2417
2415
|
fields: request.fields,
|
|
2418
2416
|
limit: request.limit,
|
|
2419
2417
|
offset: request.offset,
|
|
@@ -2425,85 +2423,85 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2425
2423
|
})();
|
|
2426
2424
|
}
|
|
2427
2425
|
create_lookml_model(body, options) {
|
|
2428
|
-
var
|
|
2426
|
+
var _this283 = this;
|
|
2429
2427
|
return _asyncToGenerator(function* () {
|
|
2430
|
-
return
|
|
2428
|
+
return _this283.post('/lookml_models', null, body, options);
|
|
2431
2429
|
})();
|
|
2432
2430
|
}
|
|
2433
2431
|
lookml_model(lookml_model_name, fields, options) {
|
|
2434
|
-
var
|
|
2432
|
+
var _this284 = this;
|
|
2435
2433
|
return _asyncToGenerator(function* () {
|
|
2436
2434
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2437
|
-
return
|
|
2435
|
+
return _this284.get("/lookml_models/".concat(lookml_model_name), {
|
|
2438
2436
|
fields
|
|
2439
2437
|
}, null, options);
|
|
2440
2438
|
})();
|
|
2441
2439
|
}
|
|
2442
2440
|
update_lookml_model(lookml_model_name, body, options) {
|
|
2443
|
-
var
|
|
2441
|
+
var _this285 = this;
|
|
2444
2442
|
return _asyncToGenerator(function* () {
|
|
2445
2443
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2446
|
-
return
|
|
2444
|
+
return _this285.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2447
2445
|
})();
|
|
2448
2446
|
}
|
|
2449
2447
|
delete_lookml_model(lookml_model_name, options) {
|
|
2450
|
-
var
|
|
2448
|
+
var _this286 = this;
|
|
2451
2449
|
return _asyncToGenerator(function* () {
|
|
2452
2450
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2453
|
-
return
|
|
2451
|
+
return _this286.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2454
2452
|
})();
|
|
2455
2453
|
}
|
|
2456
2454
|
lookml_model_explore(request, options) {
|
|
2457
|
-
var
|
|
2455
|
+
var _this287 = this;
|
|
2458
2456
|
return _asyncToGenerator(function* () {
|
|
2459
2457
|
request.lookml_model_name = (0, _sdkRtl.encodeParam)(request.lookml_model_name);
|
|
2460
2458
|
request.explore_name = (0, _sdkRtl.encodeParam)(request.explore_name);
|
|
2461
|
-
return
|
|
2459
|
+
return _this287.get("/lookml_models/".concat(request.lookml_model_name, "/explores/").concat(request.explore_name), {
|
|
2462
2460
|
fields: request.fields,
|
|
2463
2461
|
add_drills_metadata: request.add_drills_metadata
|
|
2464
2462
|
}, null, options);
|
|
2465
2463
|
})();
|
|
2466
2464
|
}
|
|
2467
2465
|
model_fieldname_suggestions(request, options) {
|
|
2468
|
-
var
|
|
2466
|
+
var _this288 = this;
|
|
2469
2467
|
return _asyncToGenerator(function* () {
|
|
2470
2468
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
2471
2469
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
2472
2470
|
request.field_name = (0, _sdkRtl.encodeParam)(request.field_name);
|
|
2473
|
-
return
|
|
2471
|
+
return _this288.get("/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2474
2472
|
term: request.term,
|
|
2475
2473
|
filters: request.filters
|
|
2476
2474
|
}, null, options);
|
|
2477
2475
|
})();
|
|
2478
2476
|
}
|
|
2479
2477
|
get_model(model_name, options) {
|
|
2480
|
-
var
|
|
2478
|
+
var _this289 = this;
|
|
2481
2479
|
return _asyncToGenerator(function* () {
|
|
2482
2480
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2483
|
-
return
|
|
2481
|
+
return _this289.get("/models/".concat(model_name), null, null, options);
|
|
2484
2482
|
})();
|
|
2485
2483
|
}
|
|
2486
2484
|
connection_databases(connection_name, options) {
|
|
2487
|
-
var
|
|
2485
|
+
var _this290 = this;
|
|
2488
2486
|
return _asyncToGenerator(function* () {
|
|
2489
2487
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2490
|
-
return
|
|
2488
|
+
return _this290.get("/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2491
2489
|
})();
|
|
2492
2490
|
}
|
|
2493
2491
|
connection_features(connection_name, fields, options) {
|
|
2494
|
-
var
|
|
2492
|
+
var _this291 = this;
|
|
2495
2493
|
return _asyncToGenerator(function* () {
|
|
2496
2494
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2497
|
-
return
|
|
2495
|
+
return _this291.get("/connections/".concat(connection_name, "/features"), {
|
|
2498
2496
|
fields
|
|
2499
2497
|
}, null, options);
|
|
2500
2498
|
})();
|
|
2501
2499
|
}
|
|
2502
2500
|
connection_schemas(request, options) {
|
|
2503
|
-
var
|
|
2501
|
+
var _this292 = this;
|
|
2504
2502
|
return _asyncToGenerator(function* () {
|
|
2505
2503
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2506
|
-
return
|
|
2504
|
+
return _this292.get("/connections/".concat(request.connection_name, "/schemas"), {
|
|
2507
2505
|
database: request.database,
|
|
2508
2506
|
cache: request.cache,
|
|
2509
2507
|
fields: request.fields
|
|
@@ -2511,10 +2509,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2511
2509
|
})();
|
|
2512
2510
|
}
|
|
2513
2511
|
connection_tables(request, options) {
|
|
2514
|
-
var
|
|
2512
|
+
var _this293 = this;
|
|
2515
2513
|
return _asyncToGenerator(function* () {
|
|
2516
2514
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2517
|
-
return
|
|
2515
|
+
return _this293.get("/connections/".concat(request.connection_name, "/tables"), {
|
|
2518
2516
|
database: request.database,
|
|
2519
2517
|
schema_name: request.schema_name,
|
|
2520
2518
|
cache: request.cache,
|
|
@@ -2525,10 +2523,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2525
2523
|
})();
|
|
2526
2524
|
}
|
|
2527
2525
|
connection_columns(request, options) {
|
|
2528
|
-
var
|
|
2526
|
+
var _this294 = this;
|
|
2529
2527
|
return _asyncToGenerator(function* () {
|
|
2530
2528
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2531
|
-
return
|
|
2529
|
+
return _this294.get("/connections/".concat(request.connection_name, "/columns"), {
|
|
2532
2530
|
database: request.database,
|
|
2533
2531
|
schema_name: request.schema_name,
|
|
2534
2532
|
cache: request.cache,
|
|
@@ -2539,279 +2537,279 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2539
2537
|
})();
|
|
2540
2538
|
}
|
|
2541
2539
|
connection_search_columns(request, options) {
|
|
2542
|
-
var
|
|
2540
|
+
var _this295 = this;
|
|
2543
2541
|
return _asyncToGenerator(function* () {
|
|
2544
2542
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2545
|
-
return
|
|
2543
|
+
return _this295.get("/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2546
2544
|
column_name: request.column_name,
|
|
2547
2545
|
fields: request.fields
|
|
2548
2546
|
}, null, options);
|
|
2549
2547
|
})();
|
|
2550
2548
|
}
|
|
2551
2549
|
connection_cost_estimate(connection_name, body, fields, options) {
|
|
2552
|
-
var
|
|
2550
|
+
var _this296 = this;
|
|
2553
2551
|
return _asyncToGenerator(function* () {
|
|
2554
2552
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2555
|
-
return
|
|
2553
|
+
return _this296.post("/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2556
2554
|
fields
|
|
2557
2555
|
}, body, options);
|
|
2558
2556
|
})();
|
|
2559
2557
|
}
|
|
2560
2558
|
get_ci_run(project_id, run_id, fields, options) {
|
|
2561
|
-
var
|
|
2559
|
+
var _this297 = this;
|
|
2562
2560
|
return _asyncToGenerator(function* () {
|
|
2563
2561
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2564
2562
|
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2565
|
-
return
|
|
2563
|
+
return _this297.get("/projects/".concat(project_id, "/ci/runs/").concat(run_id), {
|
|
2566
2564
|
fields
|
|
2567
2565
|
}, null, options);
|
|
2568
2566
|
})();
|
|
2569
2567
|
}
|
|
2570
2568
|
create_ci_run(project_id, body, fields, options) {
|
|
2571
|
-
var
|
|
2569
|
+
var _this298 = this;
|
|
2572
2570
|
return _asyncToGenerator(function* () {
|
|
2573
2571
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2574
|
-
return
|
|
2572
|
+
return _this298.post("/projects/".concat(project_id, "/ci/run"), {
|
|
2575
2573
|
fields
|
|
2576
2574
|
}, body, options);
|
|
2577
2575
|
})();
|
|
2578
2576
|
}
|
|
2579
2577
|
create_continuous_integration_run(project_id, body, fields, options) {
|
|
2580
|
-
var
|
|
2578
|
+
var _this299 = this;
|
|
2581
2579
|
return _asyncToGenerator(function* () {
|
|
2582
2580
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2583
|
-
return
|
|
2581
|
+
return _this299.post("/projects/".concat(project_id, "/continuous_integration/runs"), {
|
|
2584
2582
|
fields
|
|
2585
2583
|
}, body, options);
|
|
2586
2584
|
})();
|
|
2587
2585
|
}
|
|
2588
2586
|
get_continuous_integration_run(project_id, run_id, fields, options) {
|
|
2589
|
-
var
|
|
2587
|
+
var _this300 = this;
|
|
2590
2588
|
return _asyncToGenerator(function* () {
|
|
2591
2589
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2592
2590
|
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2593
|
-
return
|
|
2591
|
+
return _this300.get("/projects/".concat(project_id, "/continuous_integration/runs/").concat(run_id), {
|
|
2594
2592
|
fields
|
|
2595
2593
|
}, null, options);
|
|
2596
2594
|
})();
|
|
2597
2595
|
}
|
|
2598
2596
|
lock_all(project_id, fields, options) {
|
|
2599
|
-
var
|
|
2597
|
+
var _this301 = this;
|
|
2600
2598
|
return _asyncToGenerator(function* () {
|
|
2601
2599
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2602
|
-
return
|
|
2600
|
+
return _this301.post("/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2603
2601
|
fields
|
|
2604
2602
|
}, null, options);
|
|
2605
2603
|
})();
|
|
2606
2604
|
}
|
|
2607
2605
|
all_git_branches(project_id, options) {
|
|
2608
|
-
var
|
|
2606
|
+
var _this302 = this;
|
|
2609
2607
|
return _asyncToGenerator(function* () {
|
|
2610
2608
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2611
|
-
return
|
|
2609
|
+
return _this302.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2612
2610
|
})();
|
|
2613
2611
|
}
|
|
2614
2612
|
git_branch(project_id, options) {
|
|
2615
|
-
var
|
|
2613
|
+
var _this303 = this;
|
|
2616
2614
|
return _asyncToGenerator(function* () {
|
|
2617
2615
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2618
|
-
return
|
|
2616
|
+
return _this303.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2619
2617
|
})();
|
|
2620
2618
|
}
|
|
2621
2619
|
update_git_branch(project_id, body, options) {
|
|
2622
|
-
var
|
|
2620
|
+
var _this304 = this;
|
|
2623
2621
|
return _asyncToGenerator(function* () {
|
|
2624
2622
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2625
|
-
return
|
|
2623
|
+
return _this304.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2626
2624
|
})();
|
|
2627
2625
|
}
|
|
2628
2626
|
create_git_branch(project_id, body, options) {
|
|
2629
|
-
var
|
|
2627
|
+
var _this305 = this;
|
|
2630
2628
|
return _asyncToGenerator(function* () {
|
|
2631
2629
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2632
|
-
return
|
|
2630
|
+
return _this305.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2633
2631
|
})();
|
|
2634
2632
|
}
|
|
2635
2633
|
find_git_branch(project_id, branch_name, options) {
|
|
2636
|
-
var
|
|
2634
|
+
var _this306 = this;
|
|
2637
2635
|
return _asyncToGenerator(function* () {
|
|
2638
2636
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2639
2637
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2640
|
-
return
|
|
2638
|
+
return _this306.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2641
2639
|
})();
|
|
2642
2640
|
}
|
|
2643
2641
|
delete_git_branch(project_id, branch_name, options) {
|
|
2644
|
-
var
|
|
2642
|
+
var _this307 = this;
|
|
2645
2643
|
return _asyncToGenerator(function* () {
|
|
2646
2644
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2647
2645
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2648
|
-
return
|
|
2646
|
+
return _this307.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2649
2647
|
})();
|
|
2650
2648
|
}
|
|
2651
2649
|
deploy_ref_to_production(request, options) {
|
|
2652
|
-
var
|
|
2650
|
+
var _this308 = this;
|
|
2653
2651
|
return _asyncToGenerator(function* () {
|
|
2654
2652
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2655
|
-
return
|
|
2653
|
+
return _this308.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2656
2654
|
branch: request.branch,
|
|
2657
2655
|
ref: request.ref
|
|
2658
2656
|
}, null, options);
|
|
2659
2657
|
})();
|
|
2660
2658
|
}
|
|
2661
2659
|
deploy_to_production(project_id, options) {
|
|
2662
|
-
var
|
|
2660
|
+
var _this309 = this;
|
|
2663
2661
|
return _asyncToGenerator(function* () {
|
|
2664
2662
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2665
|
-
return
|
|
2663
|
+
return _this309.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2666
2664
|
})();
|
|
2667
2665
|
}
|
|
2668
2666
|
reset_project_to_production(project_id, options) {
|
|
2669
|
-
var
|
|
2667
|
+
var _this310 = this;
|
|
2670
2668
|
return _asyncToGenerator(function* () {
|
|
2671
2669
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2672
|
-
return
|
|
2670
|
+
return _this310.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2673
2671
|
})();
|
|
2674
2672
|
}
|
|
2675
2673
|
reset_project_to_remote(project_id, options) {
|
|
2676
|
-
var
|
|
2674
|
+
var _this311 = this;
|
|
2677
2675
|
return _asyncToGenerator(function* () {
|
|
2678
2676
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2679
|
-
return
|
|
2677
|
+
return _this311.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2680
2678
|
})();
|
|
2681
2679
|
}
|
|
2682
2680
|
all_projects(fields, options) {
|
|
2683
|
-
var
|
|
2681
|
+
var _this312 = this;
|
|
2684
2682
|
return _asyncToGenerator(function* () {
|
|
2685
|
-
return
|
|
2683
|
+
return _this312.get('/projects', {
|
|
2686
2684
|
fields
|
|
2687
2685
|
}, null, options);
|
|
2688
2686
|
})();
|
|
2689
2687
|
}
|
|
2690
2688
|
create_project(body, options) {
|
|
2691
|
-
var
|
|
2689
|
+
var _this313 = this;
|
|
2692
2690
|
return _asyncToGenerator(function* () {
|
|
2693
|
-
return
|
|
2691
|
+
return _this313.post('/projects', null, body, options);
|
|
2694
2692
|
})();
|
|
2695
2693
|
}
|
|
2696
2694
|
project(project_id, fields, options) {
|
|
2697
|
-
var
|
|
2695
|
+
var _this314 = this;
|
|
2698
2696
|
return _asyncToGenerator(function* () {
|
|
2699
2697
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2700
|
-
return
|
|
2698
|
+
return _this314.get("/projects/".concat(project_id), {
|
|
2701
2699
|
fields
|
|
2702
2700
|
}, null, options);
|
|
2703
2701
|
})();
|
|
2704
2702
|
}
|
|
2705
2703
|
update_project(project_id, body, fields, options) {
|
|
2706
|
-
var
|
|
2704
|
+
var _this315 = this;
|
|
2707
2705
|
return _asyncToGenerator(function* () {
|
|
2708
2706
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2709
|
-
return
|
|
2707
|
+
return _this315.patch("/projects/".concat(project_id), {
|
|
2710
2708
|
fields
|
|
2711
2709
|
}, body, options);
|
|
2712
2710
|
})();
|
|
2713
2711
|
}
|
|
2714
2712
|
manifest(project_id, options) {
|
|
2715
|
-
var
|
|
2713
|
+
var _this316 = this;
|
|
2716
2714
|
return _asyncToGenerator(function* () {
|
|
2717
2715
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2718
|
-
return
|
|
2716
|
+
return _this316.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2719
2717
|
})();
|
|
2720
2718
|
}
|
|
2721
2719
|
git_deploy_key(project_id, options) {
|
|
2722
|
-
var
|
|
2720
|
+
var _this317 = this;
|
|
2723
2721
|
return _asyncToGenerator(function* () {
|
|
2724
2722
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2725
|
-
return
|
|
2723
|
+
return _this317.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2726
2724
|
})();
|
|
2727
2725
|
}
|
|
2728
2726
|
create_git_deploy_key(project_id, options) {
|
|
2729
|
-
var
|
|
2727
|
+
var _this318 = this;
|
|
2730
2728
|
return _asyncToGenerator(function* () {
|
|
2731
2729
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2732
|
-
return
|
|
2730
|
+
return _this318.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2733
2731
|
})();
|
|
2734
2732
|
}
|
|
2735
2733
|
project_validation_results(project_id, fields, options) {
|
|
2736
|
-
var
|
|
2734
|
+
var _this319 = this;
|
|
2737
2735
|
return _asyncToGenerator(function* () {
|
|
2738
2736
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2739
|
-
return
|
|
2737
|
+
return _this319.get("/projects/".concat(project_id, "/validate"), {
|
|
2740
2738
|
fields
|
|
2741
2739
|
}, null, options);
|
|
2742
2740
|
})();
|
|
2743
2741
|
}
|
|
2744
2742
|
validate_project(project_id, fields, options) {
|
|
2745
|
-
var
|
|
2743
|
+
var _this320 = this;
|
|
2746
2744
|
return _asyncToGenerator(function* () {
|
|
2747
2745
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2748
|
-
return
|
|
2746
|
+
return _this320.post("/projects/".concat(project_id, "/validate"), {
|
|
2749
2747
|
fields
|
|
2750
2748
|
}, null, options);
|
|
2751
2749
|
})();
|
|
2752
2750
|
}
|
|
2753
2751
|
project_workspace(project_id, fields, options) {
|
|
2754
|
-
var
|
|
2752
|
+
var _this321 = this;
|
|
2755
2753
|
return _asyncToGenerator(function* () {
|
|
2756
2754
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2757
|
-
return
|
|
2755
|
+
return _this321.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
2758
2756
|
fields
|
|
2759
2757
|
}, null, options);
|
|
2760
2758
|
})();
|
|
2761
2759
|
}
|
|
2762
2760
|
all_project_files(project_id, fields, options) {
|
|
2763
|
-
var
|
|
2761
|
+
var _this322 = this;
|
|
2764
2762
|
return _asyncToGenerator(function* () {
|
|
2765
2763
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2766
|
-
return
|
|
2764
|
+
return _this322.get("/projects/".concat(project_id, "/files"), {
|
|
2767
2765
|
fields
|
|
2768
2766
|
}, null, options);
|
|
2769
2767
|
})();
|
|
2770
2768
|
}
|
|
2771
2769
|
project_file(project_id, file_id, fields, options) {
|
|
2772
|
-
var
|
|
2770
|
+
var _this323 = this;
|
|
2773
2771
|
return _asyncToGenerator(function* () {
|
|
2774
2772
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2775
|
-
return
|
|
2773
|
+
return _this323.get("/projects/".concat(project_id, "/files/file"), {
|
|
2776
2774
|
file_id,
|
|
2777
2775
|
fields
|
|
2778
2776
|
}, null, options);
|
|
2779
2777
|
})();
|
|
2780
2778
|
}
|
|
2781
2779
|
all_git_connection_tests(project_id, remote_url, options) {
|
|
2782
|
-
var
|
|
2780
|
+
var _this324 = this;
|
|
2783
2781
|
return _asyncToGenerator(function* () {
|
|
2784
2782
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2785
|
-
return
|
|
2783
|
+
return _this324.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2786
2784
|
remote_url
|
|
2787
2785
|
}, null, options);
|
|
2788
2786
|
})();
|
|
2789
2787
|
}
|
|
2790
2788
|
run_git_connection_test(request, options) {
|
|
2791
|
-
var
|
|
2789
|
+
var _this325 = this;
|
|
2792
2790
|
return _asyncToGenerator(function* () {
|
|
2793
2791
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2794
2792
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2795
|
-
return
|
|
2793
|
+
return _this325.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2796
2794
|
remote_url: request.remote_url,
|
|
2797
2795
|
use_production: request.use_production
|
|
2798
2796
|
}, null, options);
|
|
2799
2797
|
})();
|
|
2800
2798
|
}
|
|
2801
2799
|
all_lookml_tests(project_id, file_id, options) {
|
|
2802
|
-
var
|
|
2800
|
+
var _this326 = this;
|
|
2803
2801
|
return _asyncToGenerator(function* () {
|
|
2804
2802
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2805
|
-
return
|
|
2803
|
+
return _this326.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
2806
2804
|
file_id
|
|
2807
2805
|
}, null, options);
|
|
2808
2806
|
})();
|
|
2809
2807
|
}
|
|
2810
2808
|
run_lookml_test(request, options) {
|
|
2811
|
-
var
|
|
2809
|
+
var _this327 = this;
|
|
2812
2810
|
return _asyncToGenerator(function* () {
|
|
2813
2811
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2814
|
-
return
|
|
2812
|
+
return _this327.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2815
2813
|
file_id: request.file_id,
|
|
2816
2814
|
test: request.test,
|
|
2817
2815
|
model: request.model
|
|
@@ -2819,10 +2817,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2819
2817
|
})();
|
|
2820
2818
|
}
|
|
2821
2819
|
tag_ref(request, options) {
|
|
2822
|
-
var
|
|
2820
|
+
var _this328 = this;
|
|
2823
2821
|
return _asyncToGenerator(function* () {
|
|
2824
2822
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2825
|
-
return
|
|
2823
|
+
return _this328.post("/projects/".concat(request.project_id, "/tag"), {
|
|
2826
2824
|
commit_sha: request.commit_sha,
|
|
2827
2825
|
tag_name: request.tag_name,
|
|
2828
2826
|
tag_message: request.tag_message
|
|
@@ -2830,32 +2828,32 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2830
2828
|
})();
|
|
2831
2829
|
}
|
|
2832
2830
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2833
|
-
var
|
|
2831
|
+
var _this329 = this;
|
|
2834
2832
|
return _asyncToGenerator(function* () {
|
|
2835
2833
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2836
2834
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2837
|
-
return
|
|
2835
|
+
return _this329.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2838
2836
|
})();
|
|
2839
2837
|
}
|
|
2840
2838
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
2841
|
-
var
|
|
2839
|
+
var _this330 = this;
|
|
2842
2840
|
return _asyncToGenerator(function* () {
|
|
2843
2841
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2844
2842
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2845
|
-
return
|
|
2843
|
+
return _this330.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2846
2844
|
})();
|
|
2847
2845
|
}
|
|
2848
2846
|
get_all_repository_credentials(root_project_id, options) {
|
|
2849
|
-
var
|
|
2847
|
+
var _this331 = this;
|
|
2850
2848
|
return _asyncToGenerator(function* () {
|
|
2851
2849
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2852
|
-
return
|
|
2850
|
+
return _this331.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2853
2851
|
})();
|
|
2854
2852
|
}
|
|
2855
2853
|
create_query_task(request, options) {
|
|
2856
|
-
var
|
|
2854
|
+
var _this332 = this;
|
|
2857
2855
|
return _asyncToGenerator(function* () {
|
|
2858
|
-
return
|
|
2856
|
+
return _this332.post('/query_tasks', {
|
|
2859
2857
|
limit: request.limit,
|
|
2860
2858
|
apply_formatting: request.apply_formatting,
|
|
2861
2859
|
apply_vis: request.apply_vis,
|
|
@@ -2871,61 +2869,61 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2871
2869
|
})();
|
|
2872
2870
|
}
|
|
2873
2871
|
query_task_multi_results(query_task_ids, options) {
|
|
2874
|
-
var
|
|
2872
|
+
var _this333 = this;
|
|
2875
2873
|
return _asyncToGenerator(function* () {
|
|
2876
|
-
return
|
|
2874
|
+
return _this333.get('/query_tasks/multi_results', {
|
|
2877
2875
|
query_task_ids
|
|
2878
2876
|
}, null, options);
|
|
2879
2877
|
})();
|
|
2880
2878
|
}
|
|
2881
2879
|
query_task(query_task_id, fields, options) {
|
|
2882
|
-
var
|
|
2880
|
+
var _this334 = this;
|
|
2883
2881
|
return _asyncToGenerator(function* () {
|
|
2884
2882
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2885
|
-
return
|
|
2883
|
+
return _this334.get("/query_tasks/".concat(query_task_id), {
|
|
2886
2884
|
fields
|
|
2887
2885
|
}, null, options);
|
|
2888
2886
|
})();
|
|
2889
2887
|
}
|
|
2890
2888
|
query_task_results(query_task_id, options) {
|
|
2891
|
-
var
|
|
2889
|
+
var _this335 = this;
|
|
2892
2890
|
return _asyncToGenerator(function* () {
|
|
2893
2891
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2894
|
-
return
|
|
2892
|
+
return _this335.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2895
2893
|
})();
|
|
2896
2894
|
}
|
|
2897
2895
|
query(query_id, fields, options) {
|
|
2898
|
-
var
|
|
2896
|
+
var _this336 = this;
|
|
2899
2897
|
return _asyncToGenerator(function* () {
|
|
2900
2898
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2901
|
-
return
|
|
2899
|
+
return _this336.get("/queries/".concat(query_id), {
|
|
2902
2900
|
fields
|
|
2903
2901
|
}, null, options);
|
|
2904
2902
|
})();
|
|
2905
2903
|
}
|
|
2906
2904
|
query_for_slug(slug, fields, options) {
|
|
2907
|
-
var
|
|
2905
|
+
var _this337 = this;
|
|
2908
2906
|
return _asyncToGenerator(function* () {
|
|
2909
2907
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2910
|
-
return
|
|
2908
|
+
return _this337.get("/queries/slug/".concat(slug), {
|
|
2911
2909
|
fields
|
|
2912
2910
|
}, null, options);
|
|
2913
2911
|
})();
|
|
2914
2912
|
}
|
|
2915
2913
|
create_query(body, fields, options) {
|
|
2916
|
-
var
|
|
2914
|
+
var _this338 = this;
|
|
2917
2915
|
return _asyncToGenerator(function* () {
|
|
2918
|
-
return
|
|
2916
|
+
return _this338.post('/queries', {
|
|
2919
2917
|
fields
|
|
2920
2918
|
}, body, options);
|
|
2921
2919
|
})();
|
|
2922
2920
|
}
|
|
2923
2921
|
run_query(request, options) {
|
|
2924
|
-
var
|
|
2922
|
+
var _this339 = this;
|
|
2925
2923
|
return _asyncToGenerator(function* () {
|
|
2926
2924
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
2927
2925
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2928
|
-
return
|
|
2926
|
+
return _this339.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2929
2927
|
limit: request.limit,
|
|
2930
2928
|
apply_formatting: request.apply_formatting,
|
|
2931
2929
|
apply_vis: request.apply_vis,
|
|
@@ -2937,17 +2935,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2937
2935
|
cache_only: request.cache_only,
|
|
2938
2936
|
path_prefix: request.path_prefix,
|
|
2939
2937
|
rebuild_pdts: request.rebuild_pdts,
|
|
2940
|
-
server_table_calcs: request.server_table_calcs
|
|
2941
|
-
source: request.source,
|
|
2942
|
-
enable_oauth_error_response: request.enable_oauth_error_response
|
|
2938
|
+
server_table_calcs: request.server_table_calcs
|
|
2943
2939
|
}, null, options);
|
|
2944
2940
|
})();
|
|
2945
2941
|
}
|
|
2946
2942
|
run_inline_query(request, options) {
|
|
2947
|
-
var
|
|
2943
|
+
var _this340 = this;
|
|
2948
2944
|
return _asyncToGenerator(function* () {
|
|
2949
2945
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2950
|
-
return
|
|
2946
|
+
return _this340.post("/queries/run/".concat(request.result_format), {
|
|
2951
2947
|
limit: request.limit,
|
|
2952
2948
|
apply_formatting: request.apply_formatting,
|
|
2953
2949
|
apply_vis: request.apply_vis,
|
|
@@ -2959,79 +2955,78 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2959
2955
|
cache_only: request.cache_only,
|
|
2960
2956
|
path_prefix: request.path_prefix,
|
|
2961
2957
|
rebuild_pdts: request.rebuild_pdts,
|
|
2962
|
-
server_table_calcs: request.server_table_calcs
|
|
2963
|
-
enable_oauth_error_response: request.enable_oauth_error_response
|
|
2958
|
+
server_table_calcs: request.server_table_calcs
|
|
2964
2959
|
}, request.body, options);
|
|
2965
2960
|
})();
|
|
2966
2961
|
}
|
|
2967
2962
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
2968
|
-
var
|
|
2963
|
+
var _this341 = this;
|
|
2969
2964
|
return _asyncToGenerator(function* () {
|
|
2970
2965
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2971
2966
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2972
2967
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2973
|
-
return
|
|
2968
|
+
return _this341.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2974
2969
|
})();
|
|
2975
2970
|
}
|
|
2976
2971
|
merge_query(merge_query_id, fields, options) {
|
|
2977
|
-
var
|
|
2972
|
+
var _this342 = this;
|
|
2978
2973
|
return _asyncToGenerator(function* () {
|
|
2979
2974
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2980
|
-
return
|
|
2975
|
+
return _this342.get("/merge_queries/".concat(merge_query_id), {
|
|
2981
2976
|
fields
|
|
2982
2977
|
}, null, options);
|
|
2983
2978
|
})();
|
|
2984
2979
|
}
|
|
2985
2980
|
create_merge_query(body, fields, options) {
|
|
2986
|
-
var
|
|
2981
|
+
var _this343 = this;
|
|
2987
2982
|
return _asyncToGenerator(function* () {
|
|
2988
|
-
return
|
|
2983
|
+
return _this343.post('/merge_queries', {
|
|
2989
2984
|
fields
|
|
2990
2985
|
}, body, options);
|
|
2991
2986
|
})();
|
|
2992
2987
|
}
|
|
2993
2988
|
all_running_queries(options) {
|
|
2994
|
-
var
|
|
2989
|
+
var _this344 = this;
|
|
2995
2990
|
return _asyncToGenerator(function* () {
|
|
2996
|
-
return
|
|
2991
|
+
return _this344.get('/running_queries', null, null, options);
|
|
2997
2992
|
})();
|
|
2998
2993
|
}
|
|
2999
2994
|
kill_query(query_task_id, options) {
|
|
3000
|
-
var
|
|
2995
|
+
var _this345 = this;
|
|
3001
2996
|
return _asyncToGenerator(function* () {
|
|
3002
2997
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
3003
|
-
return
|
|
2998
|
+
return _this345.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
3004
2999
|
})();
|
|
3005
3000
|
}
|
|
3006
3001
|
create_sql_query(body, options) {
|
|
3007
|
-
var
|
|
3002
|
+
var _this346 = this;
|
|
3008
3003
|
return _asyncToGenerator(function* () {
|
|
3009
|
-
return
|
|
3004
|
+
return _this346.post('/sql_queries', null, body, options);
|
|
3010
3005
|
})();
|
|
3011
3006
|
}
|
|
3012
3007
|
sql_query(slug, options) {
|
|
3013
|
-
var
|
|
3008
|
+
var _this347 = this;
|
|
3014
3009
|
return _asyncToGenerator(function* () {
|
|
3015
3010
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
3016
|
-
return
|
|
3011
|
+
return _this347.get("/sql_queries/".concat(slug), null, null, options);
|
|
3017
3012
|
})();
|
|
3018
3013
|
}
|
|
3019
3014
|
run_sql_query(slug, result_format, download, options) {
|
|
3020
|
-
var
|
|
3015
|
+
var _this348 = this;
|
|
3021
3016
|
return _asyncToGenerator(function* () {
|
|
3022
3017
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
3023
3018
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3024
|
-
return
|
|
3019
|
+
return _this348.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
3025
3020
|
download
|
|
3026
3021
|
}, null, options);
|
|
3027
3022
|
})();
|
|
3028
3023
|
}
|
|
3029
3024
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
3030
|
-
var
|
|
3025
|
+
var _this349 = this;
|
|
3031
3026
|
return _asyncToGenerator(function* () {
|
|
3032
3027
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
3033
3028
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3034
|
-
return
|
|
3029
|
+
return _this349.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
3035
3030
|
width,
|
|
3036
3031
|
height,
|
|
3037
3032
|
fields
|
|
@@ -3039,11 +3034,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3039
3034
|
})();
|
|
3040
3035
|
}
|
|
3041
3036
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
3042
|
-
var
|
|
3037
|
+
var _this350 = this;
|
|
3043
3038
|
return _asyncToGenerator(function* () {
|
|
3044
3039
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
3045
3040
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3046
|
-
return
|
|
3041
|
+
return _this350.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
3047
3042
|
width,
|
|
3048
3043
|
height,
|
|
3049
3044
|
fields
|
|
@@ -3051,11 +3046,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3051
3046
|
})();
|
|
3052
3047
|
}
|
|
3053
3048
|
create_dashboard_render_task(request, options) {
|
|
3054
|
-
var
|
|
3049
|
+
var _this351 = this;
|
|
3055
3050
|
return _asyncToGenerator(function* () {
|
|
3056
3051
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3057
3052
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
3058
|
-
return
|
|
3053
|
+
return _this351.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
3059
3054
|
width: request.width,
|
|
3060
3055
|
height: request.height,
|
|
3061
3056
|
fields: request.fields,
|
|
@@ -3067,27 +3062,27 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3067
3062
|
})();
|
|
3068
3063
|
}
|
|
3069
3064
|
render_task(render_task_id, fields, options) {
|
|
3070
|
-
var
|
|
3065
|
+
var _this352 = this;
|
|
3071
3066
|
return _asyncToGenerator(function* () {
|
|
3072
3067
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
3073
|
-
return
|
|
3068
|
+
return _this352.get("/render_tasks/".concat(render_task_id), {
|
|
3074
3069
|
fields
|
|
3075
3070
|
}, null, options);
|
|
3076
3071
|
})();
|
|
3077
3072
|
}
|
|
3078
3073
|
render_task_results(render_task_id, options) {
|
|
3079
|
-
var
|
|
3074
|
+
var _this353 = this;
|
|
3080
3075
|
return _asyncToGenerator(function* () {
|
|
3081
3076
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
3082
|
-
return
|
|
3077
|
+
return _this353.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
3083
3078
|
})();
|
|
3084
3079
|
}
|
|
3085
3080
|
create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
|
|
3086
|
-
var
|
|
3081
|
+
var _this354 = this;
|
|
3087
3082
|
return _asyncToGenerator(function* () {
|
|
3088
3083
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
3089
3084
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3090
|
-
return
|
|
3085
|
+
return _this354.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
3091
3086
|
width,
|
|
3092
3087
|
height,
|
|
3093
3088
|
fields
|
|
@@ -3095,9 +3090,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3095
3090
|
})();
|
|
3096
3091
|
}
|
|
3097
3092
|
search_reports(request, options) {
|
|
3098
|
-
var
|
|
3093
|
+
var _this355 = this;
|
|
3099
3094
|
return _asyncToGenerator(function* () {
|
|
3100
|
-
return
|
|
3095
|
+
return _this355.get('/reports/search', {
|
|
3101
3096
|
folder_id: request.folder_id,
|
|
3102
3097
|
favorite: request.favorite,
|
|
3103
3098
|
recent: request.recent,
|
|
@@ -3111,9 +3106,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3111
3106
|
})();
|
|
3112
3107
|
}
|
|
3113
3108
|
search_model_sets(request, options) {
|
|
3114
|
-
var
|
|
3109
|
+
var _this356 = this;
|
|
3115
3110
|
return _asyncToGenerator(function* () {
|
|
3116
|
-
return
|
|
3111
|
+
return _this356.get('/model_sets/search', {
|
|
3117
3112
|
fields: request.fields,
|
|
3118
3113
|
limit: request.limit,
|
|
3119
3114
|
offset: request.offset,
|
|
@@ -3128,52 +3123,52 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3128
3123
|
})();
|
|
3129
3124
|
}
|
|
3130
3125
|
model_set(model_set_id, fields, options) {
|
|
3131
|
-
var
|
|
3126
|
+
var _this357 = this;
|
|
3132
3127
|
return _asyncToGenerator(function* () {
|
|
3133
3128
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3134
|
-
return
|
|
3129
|
+
return _this357.get("/model_sets/".concat(model_set_id), {
|
|
3135
3130
|
fields
|
|
3136
3131
|
}, null, options);
|
|
3137
3132
|
})();
|
|
3138
3133
|
}
|
|
3139
3134
|
update_model_set(model_set_id, body, options) {
|
|
3140
|
-
var
|
|
3135
|
+
var _this358 = this;
|
|
3141
3136
|
return _asyncToGenerator(function* () {
|
|
3142
3137
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3143
|
-
return
|
|
3138
|
+
return _this358.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
3144
3139
|
})();
|
|
3145
3140
|
}
|
|
3146
3141
|
delete_model_set(model_set_id, options) {
|
|
3147
|
-
var
|
|
3142
|
+
var _this359 = this;
|
|
3148
3143
|
return _asyncToGenerator(function* () {
|
|
3149
3144
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3150
|
-
return
|
|
3145
|
+
return _this359.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
3151
3146
|
})();
|
|
3152
3147
|
}
|
|
3153
3148
|
all_model_sets(fields, options) {
|
|
3154
|
-
var
|
|
3149
|
+
var _this360 = this;
|
|
3155
3150
|
return _asyncToGenerator(function* () {
|
|
3156
|
-
return
|
|
3151
|
+
return _this360.get('/model_sets', {
|
|
3157
3152
|
fields
|
|
3158
3153
|
}, null, options);
|
|
3159
3154
|
})();
|
|
3160
3155
|
}
|
|
3161
3156
|
create_model_set(body, options) {
|
|
3162
|
-
var
|
|
3157
|
+
var _this361 = this;
|
|
3163
3158
|
return _asyncToGenerator(function* () {
|
|
3164
|
-
return
|
|
3159
|
+
return _this361.post('/model_sets', null, body, options);
|
|
3165
3160
|
})();
|
|
3166
3161
|
}
|
|
3167
3162
|
all_permissions(options) {
|
|
3168
|
-
var
|
|
3163
|
+
var _this362 = this;
|
|
3169
3164
|
return _asyncToGenerator(function* () {
|
|
3170
|
-
return
|
|
3165
|
+
return _this362.get('/permissions', null, null, options);
|
|
3171
3166
|
})();
|
|
3172
3167
|
}
|
|
3173
3168
|
search_permission_sets(request, options) {
|
|
3174
|
-
var
|
|
3169
|
+
var _this363 = this;
|
|
3175
3170
|
return _asyncToGenerator(function* () {
|
|
3176
|
-
return
|
|
3171
|
+
return _this363.get('/permission_sets/search', {
|
|
3177
3172
|
fields: request.fields,
|
|
3178
3173
|
limit: request.limit,
|
|
3179
3174
|
offset: request.offset,
|
|
@@ -3188,46 +3183,46 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3188
3183
|
})();
|
|
3189
3184
|
}
|
|
3190
3185
|
permission_set(permission_set_id, fields, options) {
|
|
3191
|
-
var
|
|
3186
|
+
var _this364 = this;
|
|
3192
3187
|
return _asyncToGenerator(function* () {
|
|
3193
3188
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3194
|
-
return
|
|
3189
|
+
return _this364.get("/permission_sets/".concat(permission_set_id), {
|
|
3195
3190
|
fields
|
|
3196
3191
|
}, null, options);
|
|
3197
3192
|
})();
|
|
3198
3193
|
}
|
|
3199
3194
|
update_permission_set(permission_set_id, body, options) {
|
|
3200
|
-
var
|
|
3195
|
+
var _this365 = this;
|
|
3201
3196
|
return _asyncToGenerator(function* () {
|
|
3202
3197
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3203
|
-
return
|
|
3198
|
+
return _this365.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
3204
3199
|
})();
|
|
3205
3200
|
}
|
|
3206
3201
|
delete_permission_set(permission_set_id, options) {
|
|
3207
|
-
var
|
|
3202
|
+
var _this366 = this;
|
|
3208
3203
|
return _asyncToGenerator(function* () {
|
|
3209
3204
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3210
|
-
return
|
|
3205
|
+
return _this366.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
3211
3206
|
})();
|
|
3212
3207
|
}
|
|
3213
3208
|
all_permission_sets(fields, options) {
|
|
3214
|
-
var
|
|
3209
|
+
var _this367 = this;
|
|
3215
3210
|
return _asyncToGenerator(function* () {
|
|
3216
|
-
return
|
|
3211
|
+
return _this367.get('/permission_sets', {
|
|
3217
3212
|
fields
|
|
3218
3213
|
}, null, options);
|
|
3219
3214
|
})();
|
|
3220
3215
|
}
|
|
3221
3216
|
create_permission_set(body, options) {
|
|
3222
|
-
var
|
|
3217
|
+
var _this368 = this;
|
|
3223
3218
|
return _asyncToGenerator(function* () {
|
|
3224
|
-
return
|
|
3219
|
+
return _this368.post('/permission_sets', null, body, options);
|
|
3225
3220
|
})();
|
|
3226
3221
|
}
|
|
3227
3222
|
all_roles(request, options) {
|
|
3228
|
-
var
|
|
3223
|
+
var _this369 = this;
|
|
3229
3224
|
return _asyncToGenerator(function* () {
|
|
3230
|
-
return
|
|
3225
|
+
return _this369.get('/roles', {
|
|
3231
3226
|
fields: request.fields,
|
|
3232
3227
|
ids: request.ids,
|
|
3233
3228
|
get_all_support_roles: request.get_all_support_roles
|
|
@@ -3235,15 +3230,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3235
3230
|
})();
|
|
3236
3231
|
}
|
|
3237
3232
|
create_role(body, options) {
|
|
3238
|
-
var
|
|
3233
|
+
var _this370 = this;
|
|
3239
3234
|
return _asyncToGenerator(function* () {
|
|
3240
|
-
return
|
|
3235
|
+
return _this370.post('/roles', null, body, options);
|
|
3241
3236
|
})();
|
|
3242
3237
|
}
|
|
3243
3238
|
search_roles(request, options) {
|
|
3244
|
-
var
|
|
3239
|
+
var _this371 = this;
|
|
3245
3240
|
return _asyncToGenerator(function* () {
|
|
3246
|
-
return
|
|
3241
|
+
return _this371.get('/roles/search', {
|
|
3247
3242
|
fields: request.fields,
|
|
3248
3243
|
limit: request.limit,
|
|
3249
3244
|
offset: request.offset,
|
|
@@ -3258,9 +3253,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3258
3253
|
})();
|
|
3259
3254
|
}
|
|
3260
3255
|
search_roles_with_user_count(request, options) {
|
|
3261
|
-
var
|
|
3256
|
+
var _this372 = this;
|
|
3262
3257
|
return _asyncToGenerator(function* () {
|
|
3263
|
-
return
|
|
3258
|
+
return _this372.get('/roles/search/with_user_count', {
|
|
3264
3259
|
fields: request.fields,
|
|
3265
3260
|
limit: request.limit,
|
|
3266
3261
|
offset: request.offset,
|
|
@@ -3273,95 +3268,95 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3273
3268
|
})();
|
|
3274
3269
|
}
|
|
3275
3270
|
role(role_id, options) {
|
|
3276
|
-
var
|
|
3271
|
+
var _this373 = this;
|
|
3277
3272
|
return _asyncToGenerator(function* () {
|
|
3278
3273
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3279
|
-
return
|
|
3274
|
+
return _this373.get("/roles/".concat(role_id), null, null, options);
|
|
3280
3275
|
})();
|
|
3281
3276
|
}
|
|
3282
3277
|
update_role(role_id, body, options) {
|
|
3283
|
-
var
|
|
3278
|
+
var _this374 = this;
|
|
3284
3279
|
return _asyncToGenerator(function* () {
|
|
3285
3280
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3286
|
-
return
|
|
3281
|
+
return _this374.patch("/roles/".concat(role_id), null, body, options);
|
|
3287
3282
|
})();
|
|
3288
3283
|
}
|
|
3289
3284
|
delete_role(role_id, options) {
|
|
3290
|
-
var
|
|
3285
|
+
var _this375 = this;
|
|
3291
3286
|
return _asyncToGenerator(function* () {
|
|
3292
3287
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3293
|
-
return
|
|
3288
|
+
return _this375.delete("/roles/".concat(role_id), null, null, options);
|
|
3294
3289
|
})();
|
|
3295
3290
|
}
|
|
3296
3291
|
role_groups(role_id, fields, options) {
|
|
3297
|
-
var
|
|
3292
|
+
var _this376 = this;
|
|
3298
3293
|
return _asyncToGenerator(function* () {
|
|
3299
3294
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3300
|
-
return
|
|
3295
|
+
return _this376.get("/roles/".concat(role_id, "/groups"), {
|
|
3301
3296
|
fields
|
|
3302
3297
|
}, null, options);
|
|
3303
3298
|
})();
|
|
3304
3299
|
}
|
|
3305
3300
|
set_role_groups(role_id, body, options) {
|
|
3306
|
-
var
|
|
3301
|
+
var _this377 = this;
|
|
3307
3302
|
return _asyncToGenerator(function* () {
|
|
3308
3303
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3309
|
-
return
|
|
3304
|
+
return _this377.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3310
3305
|
})();
|
|
3311
3306
|
}
|
|
3312
3307
|
role_users(request, options) {
|
|
3313
|
-
var
|
|
3308
|
+
var _this378 = this;
|
|
3314
3309
|
return _asyncToGenerator(function* () {
|
|
3315
3310
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3316
|
-
return
|
|
3311
|
+
return _this378.get("/roles/".concat(request.role_id, "/users"), {
|
|
3317
3312
|
fields: request.fields,
|
|
3318
3313
|
direct_association_only: request.direct_association_only
|
|
3319
3314
|
}, null, options);
|
|
3320
3315
|
})();
|
|
3321
3316
|
}
|
|
3322
3317
|
set_role_users(role_id, body, options) {
|
|
3323
|
-
var
|
|
3318
|
+
var _this379 = this;
|
|
3324
3319
|
return _asyncToGenerator(function* () {
|
|
3325
3320
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3326
|
-
return
|
|
3321
|
+
return _this379.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3327
3322
|
})();
|
|
3328
3323
|
}
|
|
3329
3324
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3330
|
-
var
|
|
3325
|
+
var _this380 = this;
|
|
3331
3326
|
return _asyncToGenerator(function* () {
|
|
3332
3327
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3333
|
-
return
|
|
3328
|
+
return _this380.get("/scheduled_plans/space/".concat(space_id), {
|
|
3334
3329
|
fields
|
|
3335
3330
|
}, null, options);
|
|
3336
3331
|
})();
|
|
3337
3332
|
}
|
|
3338
3333
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3339
|
-
var
|
|
3334
|
+
var _this381 = this;
|
|
3340
3335
|
return _asyncToGenerator(function* () {
|
|
3341
3336
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3342
|
-
return
|
|
3337
|
+
return _this381.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3343
3338
|
fields
|
|
3344
3339
|
}, null, options);
|
|
3345
3340
|
})();
|
|
3346
3341
|
}
|
|
3347
3342
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3348
|
-
var
|
|
3343
|
+
var _this382 = this;
|
|
3349
3344
|
return _asyncToGenerator(function* () {
|
|
3350
3345
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3351
|
-
return
|
|
3346
|
+
return _this382.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3352
3347
|
})();
|
|
3353
3348
|
}
|
|
3354
3349
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3355
|
-
var
|
|
3350
|
+
var _this383 = this;
|
|
3356
3351
|
return _asyncToGenerator(function* () {
|
|
3357
3352
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3358
|
-
return
|
|
3353
|
+
return _this383.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3359
3354
|
})();
|
|
3360
3355
|
}
|
|
3361
3356
|
all_scheduled_plans(request, options) {
|
|
3362
|
-
var
|
|
3357
|
+
var _this384 = this;
|
|
3363
3358
|
return _asyncToGenerator(function* () {
|
|
3364
|
-
return
|
|
3359
|
+
return _this384.get('/scheduled_plans', {
|
|
3365
3360
|
user_id: request.user_id,
|
|
3366
3361
|
fields: request.fields,
|
|
3367
3362
|
all_users: request.all_users
|
|
@@ -3369,21 +3364,21 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3369
3364
|
})();
|
|
3370
3365
|
}
|
|
3371
3366
|
create_scheduled_plan(body, options) {
|
|
3372
|
-
var
|
|
3367
|
+
var _this385 = this;
|
|
3373
3368
|
return _asyncToGenerator(function* () {
|
|
3374
|
-
return
|
|
3369
|
+
return _this385.post('/scheduled_plans', null, body, options);
|
|
3375
3370
|
})();
|
|
3376
3371
|
}
|
|
3377
3372
|
scheduled_plan_run_once(body, options) {
|
|
3378
|
-
var
|
|
3373
|
+
var _this386 = this;
|
|
3379
3374
|
return _asyncToGenerator(function* () {
|
|
3380
|
-
return
|
|
3375
|
+
return _this386.post('/scheduled_plans/run_once', null, body, options);
|
|
3381
3376
|
})();
|
|
3382
3377
|
}
|
|
3383
3378
|
search_scheduled_plans(request, options) {
|
|
3384
|
-
var
|
|
3379
|
+
var _this387 = this;
|
|
3385
3380
|
return _asyncToGenerator(function* () {
|
|
3386
|
-
return
|
|
3381
|
+
return _this387.get('/scheduled_plans/search', {
|
|
3387
3382
|
user_id: request.user_id,
|
|
3388
3383
|
fields: request.fields,
|
|
3389
3384
|
all_users: request.all_users,
|
|
@@ -3404,10 +3399,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3404
3399
|
})();
|
|
3405
3400
|
}
|
|
3406
3401
|
scheduled_plans_for_look(request, options) {
|
|
3407
|
-
var
|
|
3402
|
+
var _this388 = this;
|
|
3408
3403
|
return _asyncToGenerator(function* () {
|
|
3409
3404
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3410
|
-
return
|
|
3405
|
+
return _this388.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3411
3406
|
user_id: request.user_id,
|
|
3412
3407
|
fields: request.fields,
|
|
3413
3408
|
all_users: request.all_users
|
|
@@ -3415,10 +3410,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3415
3410
|
})();
|
|
3416
3411
|
}
|
|
3417
3412
|
scheduled_plans_for_dashboard(request, options) {
|
|
3418
|
-
var
|
|
3413
|
+
var _this389 = this;
|
|
3419
3414
|
return _asyncToGenerator(function* () {
|
|
3420
3415
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3421
|
-
return
|
|
3416
|
+
return _this389.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3422
3417
|
user_id: request.user_id,
|
|
3423
3418
|
all_users: request.all_users,
|
|
3424
3419
|
fields: request.fields
|
|
@@ -3426,10 +3421,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3426
3421
|
})();
|
|
3427
3422
|
}
|
|
3428
3423
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3429
|
-
var
|
|
3424
|
+
var _this390 = this;
|
|
3430
3425
|
return _asyncToGenerator(function* () {
|
|
3431
3426
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3432
|
-
return
|
|
3427
|
+
return _this390.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3433
3428
|
user_id: request.user_id,
|
|
3434
3429
|
fields: request.fields,
|
|
3435
3430
|
all_users: request.all_users
|
|
@@ -3437,70 +3432,70 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3437
3432
|
})();
|
|
3438
3433
|
}
|
|
3439
3434
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3440
|
-
var
|
|
3435
|
+
var _this391 = this;
|
|
3441
3436
|
return _asyncToGenerator(function* () {
|
|
3442
3437
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3443
|
-
return
|
|
3438
|
+
return _this391.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3444
3439
|
})();
|
|
3445
3440
|
}
|
|
3446
3441
|
update_self_service_explore_certification(model_name, body, options) {
|
|
3447
|
-
var
|
|
3442
|
+
var _this392 = this;
|
|
3448
3443
|
return _asyncToGenerator(function* () {
|
|
3449
3444
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
3450
|
-
return
|
|
3445
|
+
return _this392.patch("/self_service_models/".concat(model_name, "/certification"), null, body, options);
|
|
3451
3446
|
})();
|
|
3452
3447
|
}
|
|
3453
3448
|
session(options) {
|
|
3454
|
-
var
|
|
3449
|
+
var _this393 = this;
|
|
3455
3450
|
return _asyncToGenerator(function* () {
|
|
3456
|
-
return
|
|
3451
|
+
return _this393.get('/session', null, null, options);
|
|
3457
3452
|
})();
|
|
3458
3453
|
}
|
|
3459
3454
|
update_session(body, options) {
|
|
3460
|
-
var
|
|
3455
|
+
var _this394 = this;
|
|
3461
3456
|
return _asyncToGenerator(function* () {
|
|
3462
|
-
return
|
|
3457
|
+
return _this394.patch('/session', null, body, options);
|
|
3463
3458
|
})();
|
|
3464
3459
|
}
|
|
3465
3460
|
sql_interface_metadata(avatica_request, options) {
|
|
3466
|
-
var
|
|
3461
|
+
var _this395 = this;
|
|
3467
3462
|
return _asyncToGenerator(function* () {
|
|
3468
|
-
return
|
|
3463
|
+
return _this395.get('/sql_interface_queries/metadata', {
|
|
3469
3464
|
avatica_request
|
|
3470
3465
|
}, null, options);
|
|
3471
3466
|
})();
|
|
3472
3467
|
}
|
|
3473
3468
|
run_sql_interface_query(query_id, result_format, options) {
|
|
3474
|
-
var
|
|
3469
|
+
var _this396 = this;
|
|
3475
3470
|
return _asyncToGenerator(function* () {
|
|
3476
3471
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3477
|
-
return
|
|
3472
|
+
return _this396.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3478
3473
|
})();
|
|
3479
3474
|
}
|
|
3480
3475
|
create_sql_interface_query(body, options) {
|
|
3481
|
-
var
|
|
3476
|
+
var _this397 = this;
|
|
3482
3477
|
return _asyncToGenerator(function* () {
|
|
3483
|
-
return
|
|
3478
|
+
return _this397.post('/sql_interface_queries', null, body, options);
|
|
3484
3479
|
})();
|
|
3485
3480
|
}
|
|
3486
3481
|
all_themes(fields, options) {
|
|
3487
|
-
var
|
|
3482
|
+
var _this398 = this;
|
|
3488
3483
|
return _asyncToGenerator(function* () {
|
|
3489
|
-
return
|
|
3484
|
+
return _this398.get('/themes', {
|
|
3490
3485
|
fields
|
|
3491
3486
|
}, null, options);
|
|
3492
3487
|
})();
|
|
3493
3488
|
}
|
|
3494
3489
|
create_theme(body, options) {
|
|
3495
|
-
var
|
|
3490
|
+
var _this399 = this;
|
|
3496
3491
|
return _asyncToGenerator(function* () {
|
|
3497
|
-
return
|
|
3492
|
+
return _this399.post('/themes', null, body, options);
|
|
3498
3493
|
})();
|
|
3499
3494
|
}
|
|
3500
3495
|
search_themes(request, options) {
|
|
3501
|
-
var
|
|
3496
|
+
var _this400 = this;
|
|
3502
3497
|
return _asyncToGenerator(function* () {
|
|
3503
|
-
return
|
|
3498
|
+
return _this400.get('/themes/search', {
|
|
3504
3499
|
id: request.id,
|
|
3505
3500
|
name: request.name,
|
|
3506
3501
|
begin_at: request.begin_at,
|
|
@@ -3514,25 +3509,25 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3514
3509
|
})();
|
|
3515
3510
|
}
|
|
3516
3511
|
default_theme(ts, options) {
|
|
3517
|
-
var
|
|
3512
|
+
var _this401 = this;
|
|
3518
3513
|
return _asyncToGenerator(function* () {
|
|
3519
|
-
return
|
|
3514
|
+
return _this401.get('/themes/default', {
|
|
3520
3515
|
ts
|
|
3521
3516
|
}, null, options);
|
|
3522
3517
|
})();
|
|
3523
3518
|
}
|
|
3524
3519
|
set_default_theme(name, options) {
|
|
3525
|
-
var
|
|
3520
|
+
var _this402 = this;
|
|
3526
3521
|
return _asyncToGenerator(function* () {
|
|
3527
|
-
return
|
|
3522
|
+
return _this402.put('/themes/default', {
|
|
3528
3523
|
name
|
|
3529
3524
|
}, null, options);
|
|
3530
3525
|
})();
|
|
3531
3526
|
}
|
|
3532
3527
|
active_themes(request, options) {
|
|
3533
|
-
var
|
|
3528
|
+
var _this403 = this;
|
|
3534
3529
|
return _asyncToGenerator(function* () {
|
|
3535
|
-
return
|
|
3530
|
+
return _this403.get('/themes/active', {
|
|
3536
3531
|
name: request.name,
|
|
3537
3532
|
ts: request.ts,
|
|
3538
3533
|
fields: request.fields
|
|
@@ -3540,47 +3535,47 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3540
3535
|
})();
|
|
3541
3536
|
}
|
|
3542
3537
|
theme_or_default(name, ts, options) {
|
|
3543
|
-
var
|
|
3538
|
+
var _this404 = this;
|
|
3544
3539
|
return _asyncToGenerator(function* () {
|
|
3545
|
-
return
|
|
3540
|
+
return _this404.get('/themes/theme_or_default', {
|
|
3546
3541
|
name,
|
|
3547
3542
|
ts
|
|
3548
3543
|
}, null, options);
|
|
3549
3544
|
})();
|
|
3550
3545
|
}
|
|
3551
3546
|
validate_theme(body, options) {
|
|
3552
|
-
var
|
|
3547
|
+
var _this405 = this;
|
|
3553
3548
|
return _asyncToGenerator(function* () {
|
|
3554
|
-
return
|
|
3549
|
+
return _this405.post('/themes/validate', null, body, options);
|
|
3555
3550
|
})();
|
|
3556
3551
|
}
|
|
3557
3552
|
theme(theme_id, fields, options) {
|
|
3558
|
-
var
|
|
3553
|
+
var _this406 = this;
|
|
3559
3554
|
return _asyncToGenerator(function* () {
|
|
3560
3555
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3561
|
-
return
|
|
3556
|
+
return _this406.get("/themes/".concat(theme_id), {
|
|
3562
3557
|
fields
|
|
3563
3558
|
}, null, options);
|
|
3564
3559
|
})();
|
|
3565
3560
|
}
|
|
3566
3561
|
update_theme(theme_id, body, options) {
|
|
3567
|
-
var
|
|
3562
|
+
var _this407 = this;
|
|
3568
3563
|
return _asyncToGenerator(function* () {
|
|
3569
3564
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3570
|
-
return
|
|
3565
|
+
return _this407.patch("/themes/".concat(theme_id), null, body, options);
|
|
3571
3566
|
})();
|
|
3572
3567
|
}
|
|
3573
3568
|
delete_theme(theme_id, options) {
|
|
3574
|
-
var
|
|
3569
|
+
var _this408 = this;
|
|
3575
3570
|
return _asyncToGenerator(function* () {
|
|
3576
3571
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3577
|
-
return
|
|
3572
|
+
return _this408.delete("/themes/".concat(theme_id), null, null, options);
|
|
3578
3573
|
})();
|
|
3579
3574
|
}
|
|
3580
3575
|
search_credentials_email(request, options) {
|
|
3581
|
-
var
|
|
3576
|
+
var _this409 = this;
|
|
3582
3577
|
return _asyncToGenerator(function* () {
|
|
3583
|
-
return
|
|
3578
|
+
return _this409.get('/credentials_email/search', {
|
|
3584
3579
|
fields: request.fields,
|
|
3585
3580
|
limit: request.limit,
|
|
3586
3581
|
offset: request.offset,
|
|
@@ -3593,17 +3588,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3593
3588
|
})();
|
|
3594
3589
|
}
|
|
3595
3590
|
me(fields, options) {
|
|
3596
|
-
var
|
|
3591
|
+
var _this410 = this;
|
|
3597
3592
|
return _asyncToGenerator(function* () {
|
|
3598
|
-
return
|
|
3593
|
+
return _this410.get('/user', {
|
|
3599
3594
|
fields
|
|
3600
3595
|
}, null, options);
|
|
3601
3596
|
})();
|
|
3602
3597
|
}
|
|
3603
3598
|
all_users(request, options) {
|
|
3604
|
-
var
|
|
3599
|
+
var _this411 = this;
|
|
3605
3600
|
return _asyncToGenerator(function* () {
|
|
3606
|
-
return
|
|
3601
|
+
return _this411.get('/users', {
|
|
3607
3602
|
fields: request.fields,
|
|
3608
3603
|
page: request.page,
|
|
3609
3604
|
per_page: request.per_page,
|
|
@@ -3615,17 +3610,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3615
3610
|
})();
|
|
3616
3611
|
}
|
|
3617
3612
|
create_user(body, fields, options) {
|
|
3618
|
-
var
|
|
3613
|
+
var _this412 = this;
|
|
3619
3614
|
return _asyncToGenerator(function* () {
|
|
3620
|
-
return
|
|
3615
|
+
return _this412.post('/users', {
|
|
3621
3616
|
fields
|
|
3622
3617
|
}, body, options);
|
|
3623
3618
|
})();
|
|
3624
3619
|
}
|
|
3625
3620
|
search_users(request, options) {
|
|
3626
|
-
var
|
|
3621
|
+
var _this413 = this;
|
|
3627
3622
|
return _asyncToGenerator(function* () {
|
|
3628
|
-
return
|
|
3623
|
+
return _this413.get('/users/search', {
|
|
3629
3624
|
fields: request.fields,
|
|
3630
3625
|
page: request.page,
|
|
3631
3626
|
per_page: request.per_page,
|
|
@@ -3649,10 +3644,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3649
3644
|
})();
|
|
3650
3645
|
}
|
|
3651
3646
|
search_users_names(request, options) {
|
|
3652
|
-
var
|
|
3647
|
+
var _this414 = this;
|
|
3653
3648
|
return _asyncToGenerator(function* () {
|
|
3654
3649
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3655
|
-
return
|
|
3650
|
+
return _this414.get("/users/search/names/".concat(request.pattern), {
|
|
3656
3651
|
fields: request.fields,
|
|
3657
3652
|
page: request.page,
|
|
3658
3653
|
per_page: request.per_page,
|
|
@@ -3669,329 +3664,329 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3669
3664
|
})();
|
|
3670
3665
|
}
|
|
3671
3666
|
user(user_id, fields, options) {
|
|
3672
|
-
var
|
|
3667
|
+
var _this415 = this;
|
|
3673
3668
|
return _asyncToGenerator(function* () {
|
|
3674
3669
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3675
|
-
return
|
|
3670
|
+
return _this415.get("/users/".concat(user_id), {
|
|
3676
3671
|
fields
|
|
3677
3672
|
}, null, options);
|
|
3678
3673
|
})();
|
|
3679
3674
|
}
|
|
3680
3675
|
update_user(user_id, body, fields, options) {
|
|
3681
|
-
var
|
|
3676
|
+
var _this416 = this;
|
|
3682
3677
|
return _asyncToGenerator(function* () {
|
|
3683
3678
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3684
|
-
return
|
|
3679
|
+
return _this416.patch("/users/".concat(user_id), {
|
|
3685
3680
|
fields
|
|
3686
3681
|
}, body, options);
|
|
3687
3682
|
})();
|
|
3688
3683
|
}
|
|
3689
3684
|
delete_user(user_id, options) {
|
|
3690
|
-
var
|
|
3685
|
+
var _this417 = this;
|
|
3691
3686
|
return _asyncToGenerator(function* () {
|
|
3692
3687
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3693
|
-
return
|
|
3688
|
+
return _this417.delete("/users/".concat(user_id), null, null, options);
|
|
3694
3689
|
})();
|
|
3695
3690
|
}
|
|
3696
3691
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3697
|
-
var
|
|
3692
|
+
var _this418 = this;
|
|
3698
3693
|
return _asyncToGenerator(function* () {
|
|
3699
3694
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3700
3695
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3701
|
-
return
|
|
3696
|
+
return _this418.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3702
3697
|
fields
|
|
3703
3698
|
}, null, options);
|
|
3704
3699
|
})();
|
|
3705
3700
|
}
|
|
3706
3701
|
update_service_account(user_id, body, fields, options) {
|
|
3707
|
-
var
|
|
3702
|
+
var _this419 = this;
|
|
3708
3703
|
return _asyncToGenerator(function* () {
|
|
3709
3704
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3710
|
-
return
|
|
3705
|
+
return _this419.patch("/users/service_accounts/".concat(user_id), {
|
|
3711
3706
|
fields
|
|
3712
3707
|
}, body, options);
|
|
3713
3708
|
})();
|
|
3714
3709
|
}
|
|
3715
3710
|
delete_service_account(user_id, options) {
|
|
3716
|
-
var
|
|
3711
|
+
var _this420 = this;
|
|
3717
3712
|
return _asyncToGenerator(function* () {
|
|
3718
3713
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3719
|
-
return
|
|
3714
|
+
return _this420.delete("/users/service_accounts/".concat(user_id), null, null, options);
|
|
3720
3715
|
})();
|
|
3721
3716
|
}
|
|
3722
3717
|
user_credentials_email(user_id, fields, options) {
|
|
3723
|
-
var
|
|
3718
|
+
var _this421 = this;
|
|
3724
3719
|
return _asyncToGenerator(function* () {
|
|
3725
3720
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3726
|
-
return
|
|
3721
|
+
return _this421.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3727
3722
|
fields
|
|
3728
3723
|
}, null, options);
|
|
3729
3724
|
})();
|
|
3730
3725
|
}
|
|
3731
3726
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3732
|
-
var
|
|
3727
|
+
var _this422 = this;
|
|
3733
3728
|
return _asyncToGenerator(function* () {
|
|
3734
3729
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3735
|
-
return
|
|
3730
|
+
return _this422.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3736
3731
|
fields
|
|
3737
3732
|
}, body, options);
|
|
3738
3733
|
})();
|
|
3739
3734
|
}
|
|
3740
3735
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3741
|
-
var
|
|
3736
|
+
var _this423 = this;
|
|
3742
3737
|
return _asyncToGenerator(function* () {
|
|
3743
3738
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3744
|
-
return
|
|
3739
|
+
return _this423.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3745
3740
|
fields
|
|
3746
3741
|
}, body, options);
|
|
3747
3742
|
})();
|
|
3748
3743
|
}
|
|
3749
3744
|
delete_user_credentials_email(user_id, options) {
|
|
3750
|
-
var
|
|
3745
|
+
var _this424 = this;
|
|
3751
3746
|
return _asyncToGenerator(function* () {
|
|
3752
3747
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3753
|
-
return
|
|
3748
|
+
return _this424.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3754
3749
|
})();
|
|
3755
3750
|
}
|
|
3756
3751
|
user_credentials_totp(user_id, fields, options) {
|
|
3757
|
-
var
|
|
3752
|
+
var _this425 = this;
|
|
3758
3753
|
return _asyncToGenerator(function* () {
|
|
3759
3754
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3760
|
-
return
|
|
3755
|
+
return _this425.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3761
3756
|
fields
|
|
3762
3757
|
}, null, options);
|
|
3763
3758
|
})();
|
|
3764
3759
|
}
|
|
3765
3760
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3766
|
-
var
|
|
3761
|
+
var _this426 = this;
|
|
3767
3762
|
return _asyncToGenerator(function* () {
|
|
3768
3763
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3769
|
-
return
|
|
3764
|
+
return _this426.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3770
3765
|
fields
|
|
3771
3766
|
}, body, options);
|
|
3772
3767
|
})();
|
|
3773
3768
|
}
|
|
3774
3769
|
delete_user_credentials_totp(user_id, options) {
|
|
3775
|
-
var
|
|
3770
|
+
var _this427 = this;
|
|
3776
3771
|
return _asyncToGenerator(function* () {
|
|
3777
3772
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3778
|
-
return
|
|
3773
|
+
return _this427.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3779
3774
|
})();
|
|
3780
3775
|
}
|
|
3781
3776
|
user_credentials_ldap(user_id, fields, options) {
|
|
3782
|
-
var
|
|
3777
|
+
var _this428 = this;
|
|
3783
3778
|
return _asyncToGenerator(function* () {
|
|
3784
3779
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3785
|
-
return
|
|
3780
|
+
return _this428.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3786
3781
|
fields
|
|
3787
3782
|
}, null, options);
|
|
3788
3783
|
})();
|
|
3789
3784
|
}
|
|
3790
3785
|
delete_user_credentials_ldap(user_id, options) {
|
|
3791
|
-
var
|
|
3786
|
+
var _this429 = this;
|
|
3792
3787
|
return _asyncToGenerator(function* () {
|
|
3793
3788
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3794
|
-
return
|
|
3789
|
+
return _this429.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3795
3790
|
})();
|
|
3796
3791
|
}
|
|
3797
3792
|
user_credentials_google(user_id, fields, options) {
|
|
3798
|
-
var
|
|
3793
|
+
var _this430 = this;
|
|
3799
3794
|
return _asyncToGenerator(function* () {
|
|
3800
3795
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3801
|
-
return
|
|
3796
|
+
return _this430.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3802
3797
|
fields
|
|
3803
3798
|
}, null, options);
|
|
3804
3799
|
})();
|
|
3805
3800
|
}
|
|
3806
3801
|
delete_user_credentials_google(user_id, options) {
|
|
3807
|
-
var
|
|
3802
|
+
var _this431 = this;
|
|
3808
3803
|
return _asyncToGenerator(function* () {
|
|
3809
3804
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3810
|
-
return
|
|
3805
|
+
return _this431.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3811
3806
|
})();
|
|
3812
3807
|
}
|
|
3813
3808
|
user_credentials_saml(user_id, fields, options) {
|
|
3814
|
-
var
|
|
3809
|
+
var _this432 = this;
|
|
3815
3810
|
return _asyncToGenerator(function* () {
|
|
3816
3811
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3817
|
-
return
|
|
3812
|
+
return _this432.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3818
3813
|
fields
|
|
3819
3814
|
}, null, options);
|
|
3820
3815
|
})();
|
|
3821
3816
|
}
|
|
3822
3817
|
delete_user_credentials_saml(user_id, options) {
|
|
3823
|
-
var
|
|
3818
|
+
var _this433 = this;
|
|
3824
3819
|
return _asyncToGenerator(function* () {
|
|
3825
3820
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3826
|
-
return
|
|
3821
|
+
return _this433.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3827
3822
|
})();
|
|
3828
3823
|
}
|
|
3829
3824
|
user_credentials_oidc(user_id, fields, options) {
|
|
3830
|
-
var
|
|
3825
|
+
var _this434 = this;
|
|
3831
3826
|
return _asyncToGenerator(function* () {
|
|
3832
3827
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3833
|
-
return
|
|
3828
|
+
return _this434.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3834
3829
|
fields
|
|
3835
3830
|
}, null, options);
|
|
3836
3831
|
})();
|
|
3837
3832
|
}
|
|
3838
3833
|
delete_user_credentials_oidc(user_id, options) {
|
|
3839
|
-
var
|
|
3834
|
+
var _this435 = this;
|
|
3840
3835
|
return _asyncToGenerator(function* () {
|
|
3841
3836
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3842
|
-
return
|
|
3837
|
+
return _this435.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3843
3838
|
})();
|
|
3844
3839
|
}
|
|
3845
3840
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3846
|
-
var
|
|
3841
|
+
var _this436 = this;
|
|
3847
3842
|
return _asyncToGenerator(function* () {
|
|
3848
3843
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3849
3844
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3850
|
-
return
|
|
3845
|
+
return _this436.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3851
3846
|
fields
|
|
3852
3847
|
}, null, options);
|
|
3853
3848
|
})();
|
|
3854
3849
|
}
|
|
3855
3850
|
update_user_credentials_api3(user_id, credentials_api3_id, body, fields, options) {
|
|
3856
|
-
var
|
|
3851
|
+
var _this437 = this;
|
|
3857
3852
|
return _asyncToGenerator(function* () {
|
|
3858
3853
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3859
3854
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3860
|
-
return
|
|
3855
|
+
return _this437.patch("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3861
3856
|
fields
|
|
3862
3857
|
}, body, options);
|
|
3863
3858
|
})();
|
|
3864
3859
|
}
|
|
3865
3860
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3866
|
-
var
|
|
3861
|
+
var _this438 = this;
|
|
3867
3862
|
return _asyncToGenerator(function* () {
|
|
3868
3863
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3869
3864
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3870
|
-
return
|
|
3865
|
+
return _this438.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3871
3866
|
})();
|
|
3872
3867
|
}
|
|
3873
3868
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3874
|
-
var
|
|
3869
|
+
var _this439 = this;
|
|
3875
3870
|
return _asyncToGenerator(function* () {
|
|
3876
3871
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3877
|
-
return
|
|
3872
|
+
return _this439.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3878
3873
|
fields
|
|
3879
3874
|
}, null, options);
|
|
3880
3875
|
})();
|
|
3881
3876
|
}
|
|
3882
3877
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3883
|
-
var
|
|
3878
|
+
var _this440 = this;
|
|
3884
3879
|
return _asyncToGenerator(function* () {
|
|
3885
3880
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3886
|
-
return
|
|
3881
|
+
return _this440.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3887
3882
|
fields
|
|
3888
3883
|
}, null, options);
|
|
3889
3884
|
})();
|
|
3890
3885
|
}
|
|
3891
3886
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3892
|
-
var
|
|
3887
|
+
var _this441 = this;
|
|
3893
3888
|
return _asyncToGenerator(function* () {
|
|
3894
3889
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3895
3890
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3896
|
-
return
|
|
3891
|
+
return _this441.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3897
3892
|
fields
|
|
3898
3893
|
}, null, options);
|
|
3899
3894
|
})();
|
|
3900
3895
|
}
|
|
3901
3896
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3902
|
-
var
|
|
3897
|
+
var _this442 = this;
|
|
3903
3898
|
return _asyncToGenerator(function* () {
|
|
3904
3899
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3905
3900
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3906
|
-
return
|
|
3901
|
+
return _this442.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3907
3902
|
})();
|
|
3908
3903
|
}
|
|
3909
3904
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3910
|
-
var
|
|
3905
|
+
var _this443 = this;
|
|
3911
3906
|
return _asyncToGenerator(function* () {
|
|
3912
3907
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3913
|
-
return
|
|
3908
|
+
return _this443.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3914
3909
|
fields
|
|
3915
3910
|
}, null, options);
|
|
3916
3911
|
})();
|
|
3917
3912
|
}
|
|
3918
3913
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3919
|
-
var
|
|
3914
|
+
var _this444 = this;
|
|
3920
3915
|
return _asyncToGenerator(function* () {
|
|
3921
3916
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3922
|
-
return
|
|
3917
|
+
return _this444.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3923
3918
|
fields
|
|
3924
3919
|
}, null, options);
|
|
3925
3920
|
})();
|
|
3926
3921
|
}
|
|
3927
3922
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3928
|
-
var
|
|
3923
|
+
var _this445 = this;
|
|
3929
3924
|
return _asyncToGenerator(function* () {
|
|
3930
3925
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3931
|
-
return
|
|
3926
|
+
return _this445.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3932
3927
|
})();
|
|
3933
3928
|
}
|
|
3934
3929
|
user_session(user_id, session_id, fields, options) {
|
|
3935
|
-
var
|
|
3930
|
+
var _this446 = this;
|
|
3936
3931
|
return _asyncToGenerator(function* () {
|
|
3937
3932
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3938
3933
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3939
|
-
return
|
|
3934
|
+
return _this446.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3940
3935
|
fields
|
|
3941
3936
|
}, null, options);
|
|
3942
3937
|
})();
|
|
3943
3938
|
}
|
|
3944
3939
|
delete_user_session(user_id, session_id, options) {
|
|
3945
|
-
var
|
|
3940
|
+
var _this447 = this;
|
|
3946
3941
|
return _asyncToGenerator(function* () {
|
|
3947
3942
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3948
3943
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3949
|
-
return
|
|
3944
|
+
return _this447.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3950
3945
|
})();
|
|
3951
3946
|
}
|
|
3952
3947
|
all_user_sessions(user_id, fields, options) {
|
|
3953
|
-
var
|
|
3948
|
+
var _this448 = this;
|
|
3954
3949
|
return _asyncToGenerator(function* () {
|
|
3955
3950
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3956
|
-
return
|
|
3951
|
+
return _this448.get("/users/".concat(user_id, "/sessions"), {
|
|
3957
3952
|
fields
|
|
3958
3953
|
}, null, options);
|
|
3959
3954
|
})();
|
|
3960
3955
|
}
|
|
3961
3956
|
create_user_credentials_email_password_reset(request, options) {
|
|
3962
|
-
var
|
|
3957
|
+
var _this449 = this;
|
|
3963
3958
|
return _asyncToGenerator(function* () {
|
|
3964
3959
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3965
|
-
return
|
|
3960
|
+
return _this449.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3966
3961
|
expires: request.expires,
|
|
3967
3962
|
fields: request.fields
|
|
3968
3963
|
}, null, options);
|
|
3969
3964
|
})();
|
|
3970
3965
|
}
|
|
3971
3966
|
user_roles(request, options) {
|
|
3972
|
-
var
|
|
3967
|
+
var _this450 = this;
|
|
3973
3968
|
return _asyncToGenerator(function* () {
|
|
3974
3969
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3975
|
-
return
|
|
3970
|
+
return _this450.get("/users/".concat(request.user_id, "/roles"), {
|
|
3976
3971
|
fields: request.fields,
|
|
3977
3972
|
direct_association_only: request.direct_association_only
|
|
3978
3973
|
}, null, options);
|
|
3979
3974
|
})();
|
|
3980
3975
|
}
|
|
3981
3976
|
set_user_roles(user_id, body, fields, options) {
|
|
3982
|
-
var
|
|
3977
|
+
var _this451 = this;
|
|
3983
3978
|
return _asyncToGenerator(function* () {
|
|
3984
3979
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3985
|
-
return
|
|
3980
|
+
return _this451.put("/users/".concat(user_id, "/roles"), {
|
|
3986
3981
|
fields
|
|
3987
3982
|
}, body, options);
|
|
3988
3983
|
})();
|
|
3989
3984
|
}
|
|
3990
3985
|
user_attribute_user_values(request, options) {
|
|
3991
|
-
var
|
|
3986
|
+
var _this452 = this;
|
|
3992
3987
|
return _asyncToGenerator(function* () {
|
|
3993
3988
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3994
|
-
return
|
|
3989
|
+
return _this452.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3995
3990
|
fields: request.fields,
|
|
3996
3991
|
user_attribute_ids: request.user_attribute_ids,
|
|
3997
3992
|
all_values: request.all_values,
|
|
@@ -4000,122 +3995,122 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
4000
3995
|
})();
|
|
4001
3996
|
}
|
|
4002
3997
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
4003
|
-
var
|
|
3998
|
+
var _this453 = this;
|
|
4004
3999
|
return _asyncToGenerator(function* () {
|
|
4005
4000
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4006
4001
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4007
|
-
return
|
|
4002
|
+
return _this453.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
4008
4003
|
})();
|
|
4009
4004
|
}
|
|
4010
4005
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
4011
|
-
var
|
|
4006
|
+
var _this454 = this;
|
|
4012
4007
|
return _asyncToGenerator(function* () {
|
|
4013
4008
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4014
4009
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4015
|
-
return
|
|
4010
|
+
return _this454.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
4016
4011
|
})();
|
|
4017
4012
|
}
|
|
4018
4013
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
4019
|
-
var
|
|
4014
|
+
var _this455 = this;
|
|
4020
4015
|
return _asyncToGenerator(function* () {
|
|
4021
4016
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4022
|
-
return
|
|
4017
|
+
return _this455.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
4023
4018
|
fields
|
|
4024
4019
|
}, null, options);
|
|
4025
4020
|
})();
|
|
4026
4021
|
}
|
|
4027
4022
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
4028
|
-
var
|
|
4023
|
+
var _this456 = this;
|
|
4029
4024
|
return _asyncToGenerator(function* () {
|
|
4030
4025
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4031
|
-
return
|
|
4026
|
+
return _this456.post("/users/".concat(user_id, "/update_emails"), {
|
|
4032
4027
|
fields
|
|
4033
4028
|
}, body, options);
|
|
4034
4029
|
})();
|
|
4035
4030
|
}
|
|
4036
4031
|
create_embed_user(body, options) {
|
|
4037
|
-
var
|
|
4032
|
+
var _this457 = this;
|
|
4038
4033
|
return _asyncToGenerator(function* () {
|
|
4039
|
-
return
|
|
4034
|
+
return _this457.post('/users/embed_user', null, body, options);
|
|
4040
4035
|
})();
|
|
4041
4036
|
}
|
|
4042
4037
|
create_service_account(body, fields, options) {
|
|
4043
|
-
var
|
|
4038
|
+
var _this458 = this;
|
|
4044
4039
|
return _asyncToGenerator(function* () {
|
|
4045
|
-
return
|
|
4040
|
+
return _this458.post('/users/service_accounts', {
|
|
4046
4041
|
fields
|
|
4047
4042
|
}, body, options);
|
|
4048
4043
|
})();
|
|
4049
4044
|
}
|
|
4050
4045
|
all_user_attributes(request, options) {
|
|
4051
|
-
var
|
|
4046
|
+
var _this459 = this;
|
|
4052
4047
|
return _asyncToGenerator(function* () {
|
|
4053
|
-
return
|
|
4048
|
+
return _this459.get('/user_attributes', {
|
|
4054
4049
|
fields: request.fields,
|
|
4055
4050
|
sorts: request.sorts
|
|
4056
4051
|
}, null, options);
|
|
4057
4052
|
})();
|
|
4058
4053
|
}
|
|
4059
4054
|
create_user_attribute(body, fields, options) {
|
|
4060
|
-
var
|
|
4055
|
+
var _this460 = this;
|
|
4061
4056
|
return _asyncToGenerator(function* () {
|
|
4062
|
-
return
|
|
4057
|
+
return _this460.post('/user_attributes', {
|
|
4063
4058
|
fields
|
|
4064
4059
|
}, body, options);
|
|
4065
4060
|
})();
|
|
4066
4061
|
}
|
|
4067
4062
|
user_attribute(user_attribute_id, fields, options) {
|
|
4068
|
-
var
|
|
4063
|
+
var _this461 = this;
|
|
4069
4064
|
return _asyncToGenerator(function* () {
|
|
4070
4065
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4071
|
-
return
|
|
4066
|
+
return _this461.get("/user_attributes/".concat(user_attribute_id), {
|
|
4072
4067
|
fields
|
|
4073
4068
|
}, null, options);
|
|
4074
4069
|
})();
|
|
4075
4070
|
}
|
|
4076
4071
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
4077
|
-
var
|
|
4072
|
+
var _this462 = this;
|
|
4078
4073
|
return _asyncToGenerator(function* () {
|
|
4079
4074
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4080
|
-
return
|
|
4075
|
+
return _this462.patch("/user_attributes/".concat(user_attribute_id), {
|
|
4081
4076
|
fields
|
|
4082
4077
|
}, body, options);
|
|
4083
4078
|
})();
|
|
4084
4079
|
}
|
|
4085
4080
|
delete_user_attribute(user_attribute_id, options) {
|
|
4086
|
-
var
|
|
4081
|
+
var _this463 = this;
|
|
4087
4082
|
return _asyncToGenerator(function* () {
|
|
4088
4083
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4089
|
-
return
|
|
4084
|
+
return _this463.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
4090
4085
|
})();
|
|
4091
4086
|
}
|
|
4092
4087
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
4093
|
-
var
|
|
4088
|
+
var _this464 = this;
|
|
4094
4089
|
return _asyncToGenerator(function* () {
|
|
4095
4090
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4096
|
-
return
|
|
4091
|
+
return _this464.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
4097
4092
|
fields
|
|
4098
4093
|
}, null, options);
|
|
4099
4094
|
})();
|
|
4100
4095
|
}
|
|
4101
4096
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
4102
|
-
var
|
|
4097
|
+
var _this465 = this;
|
|
4103
4098
|
return _asyncToGenerator(function* () {
|
|
4104
4099
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4105
|
-
return
|
|
4100
|
+
return _this465.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
4106
4101
|
})();
|
|
4107
4102
|
}
|
|
4108
4103
|
all_workspaces(options) {
|
|
4109
|
-
var
|
|
4104
|
+
var _this466 = this;
|
|
4110
4105
|
return _asyncToGenerator(function* () {
|
|
4111
|
-
return
|
|
4106
|
+
return _this466.get('/workspaces', null, null, options);
|
|
4112
4107
|
})();
|
|
4113
4108
|
}
|
|
4114
4109
|
workspace(workspace_id, options) {
|
|
4115
|
-
var
|
|
4110
|
+
var _this467 = this;
|
|
4116
4111
|
return _asyncToGenerator(function* () {
|
|
4117
4112
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
4118
|
-
return
|
|
4113
|
+
return _this467.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
4119
4114
|
})();
|
|
4120
4115
|
}
|
|
4121
4116
|
}
|