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