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