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