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