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