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