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