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