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