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