@looker/sdk 22.20.1 → 23.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/lib/3.1/funcs.js +4 -1075
- package/lib/3.1/funcs.js.map +1 -1
- package/lib/3.1/methods.js +3 -720
- package/lib/3.1/methods.js.map +1 -1
- package/lib/3.1/methodsInterface.js +1 -1
- package/lib/3.1/methodsInterface.js.map +1 -1
- package/lib/3.1/models.d.ts +33 -0
- package/lib/3.1/models.js +0 -33
- package/lib/3.1/models.js.map +1 -1
- package/lib/3.1/streams.js +3 -720
- package/lib/3.1/streams.js.map +1 -1
- package/lib/4.0/funcs.d.ts +2 -1
- package/lib/4.0/funcs.js +826 -2102
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +2 -1
- package/lib/4.0/methods.js +553 -1404
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +2 -1
- package/lib/4.0/methodsInterface.js +1 -1
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +95 -0
- package/lib/4.0/models.js +0 -43
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +2 -1
- package/lib/4.0/streams.js +553 -1404
- package/lib/4.0/streams.js.map +1 -1
- package/lib/browserSdk.js +0 -9
- package/lib/browserSdk.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +2 -2
- package/lib/constants.js.map +1 -1
- package/lib/esm/3.1/funcs.js +862 -854
- package/lib/esm/3.1/funcs.js.map +1 -1
- package/lib/esm/3.1/methods.js +152 -858
- package/lib/esm/3.1/methods.js.map +1 -1
- package/lib/esm/3.1/methodsInterface.js.map +1 -1
- package/lib/esm/3.1/models.js +57 -67
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/3.1/streams.js +152 -858
- package/lib/esm/3.1/streams.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1993 -1967
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +864 -1704
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js +72 -87
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +864 -1704
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js +20 -14
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +10 -2
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js +12 -6
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js +141 -17
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.js +0 -4
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.js +20 -38
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/lib/esm/3.1/streams.js
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Looker31SDKStream = 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 Looker31SDKStream 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 Looker31SDKStream extends _sdkRtl.APIMethods {
|
|
10
15
|
constructor(authSession) {
|
|
11
|
-
super(authSession, sdkVersion);
|
|
16
|
+
super(authSession, _constants.sdkVersion);
|
|
12
17
|
this.apiVersion = Looker31SDKStream.ApiVersion;
|
|
13
18
|
this.apiPath = authSession.settings.base_url === '' ? '' : authSession.settings.base_url + '/api/' + this.apiVersion;
|
|
14
19
|
}
|
|
15
|
-
|
|
16
20
|
login(callback, request, options) {
|
|
17
21
|
var _this = this;
|
|
18
|
-
|
|
19
22
|
return _asyncToGenerator(function* () {
|
|
20
23
|
return _this.authStream(callback, 'POST', '/login', {
|
|
21
24
|
client_id: request.client_id,
|
|
@@ -23,234 +26,178 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
23
26
|
}, null, options);
|
|
24
27
|
})();
|
|
25
28
|
}
|
|
26
|
-
|
|
27
29
|
login_user(callback, user_id, associative, options) {
|
|
28
30
|
var _this2 = this;
|
|
29
|
-
|
|
30
31
|
return _asyncToGenerator(function* () {
|
|
31
32
|
return _this2.authStream(callback, 'POST', "/login/".concat(user_id), {
|
|
32
33
|
associative
|
|
33
34
|
}, null, options);
|
|
34
35
|
})();
|
|
35
36
|
}
|
|
36
|
-
|
|
37
37
|
logout(callback, options) {
|
|
38
38
|
var _this3 = this;
|
|
39
|
-
|
|
40
39
|
return _asyncToGenerator(function* () {
|
|
41
40
|
return _this3.authStream(callback, 'DELETE', '/logout', null, null, options);
|
|
42
41
|
})();
|
|
43
42
|
}
|
|
44
|
-
|
|
45
43
|
create_sso_embed_url(callback, body, options) {
|
|
46
44
|
var _this4 = this;
|
|
47
|
-
|
|
48
45
|
return _asyncToGenerator(function* () {
|
|
49
46
|
return _this4.authStream(callback, 'POST', '/embed/sso_url', null, body, options);
|
|
50
47
|
})();
|
|
51
48
|
}
|
|
52
|
-
|
|
53
49
|
ldap_config(callback, options) {
|
|
54
50
|
var _this5 = this;
|
|
55
|
-
|
|
56
51
|
return _asyncToGenerator(function* () {
|
|
57
52
|
return _this5.authStream(callback, 'GET', '/ldap_config', null, null, options);
|
|
58
53
|
})();
|
|
59
54
|
}
|
|
60
|
-
|
|
61
55
|
update_ldap_config(callback, body, options) {
|
|
62
56
|
var _this6 = this;
|
|
63
|
-
|
|
64
57
|
return _asyncToGenerator(function* () {
|
|
65
58
|
return _this6.authStream(callback, 'PATCH', '/ldap_config', null, body, options);
|
|
66
59
|
})();
|
|
67
60
|
}
|
|
68
|
-
|
|
69
61
|
test_ldap_config_connection(callback, body, options) {
|
|
70
62
|
var _this7 = this;
|
|
71
|
-
|
|
72
63
|
return _asyncToGenerator(function* () {
|
|
73
64
|
return _this7.authStream(callback, 'PUT', '/ldap_config/test_connection', null, body, options);
|
|
74
65
|
})();
|
|
75
66
|
}
|
|
76
|
-
|
|
77
67
|
test_ldap_config_auth(callback, body, options) {
|
|
78
68
|
var _this8 = this;
|
|
79
|
-
|
|
80
69
|
return _asyncToGenerator(function* () {
|
|
81
70
|
return _this8.authStream(callback, 'PUT', '/ldap_config/test_auth', null, body, options);
|
|
82
71
|
})();
|
|
83
72
|
}
|
|
84
|
-
|
|
85
73
|
test_ldap_config_user_info(callback, body, options) {
|
|
86
74
|
var _this9 = this;
|
|
87
|
-
|
|
88
75
|
return _asyncToGenerator(function* () {
|
|
89
76
|
return _this9.authStream(callback, 'PUT', '/ldap_config/test_user_info', null, body, options);
|
|
90
77
|
})();
|
|
91
78
|
}
|
|
92
|
-
|
|
93
79
|
test_ldap_config_user_auth(callback, body, options) {
|
|
94
80
|
var _this10 = this;
|
|
95
|
-
|
|
96
81
|
return _asyncToGenerator(function* () {
|
|
97
82
|
return _this10.authStream(callback, 'PUT', '/ldap_config/test_user_auth', null, body, options);
|
|
98
83
|
})();
|
|
99
84
|
}
|
|
100
|
-
|
|
101
85
|
oidc_config(callback, options) {
|
|
102
86
|
var _this11 = this;
|
|
103
|
-
|
|
104
87
|
return _asyncToGenerator(function* () {
|
|
105
88
|
return _this11.authStream(callback, 'GET', '/oidc_config', null, null, options);
|
|
106
89
|
})();
|
|
107
90
|
}
|
|
108
|
-
|
|
109
91
|
update_oidc_config(callback, body, options) {
|
|
110
92
|
var _this12 = this;
|
|
111
|
-
|
|
112
93
|
return _asyncToGenerator(function* () {
|
|
113
94
|
return _this12.authStream(callback, 'PATCH', '/oidc_config', null, body, options);
|
|
114
95
|
})();
|
|
115
96
|
}
|
|
116
|
-
|
|
117
97
|
oidc_test_config(callback, test_slug, options) {
|
|
118
98
|
var _this13 = this;
|
|
119
|
-
|
|
120
99
|
return _asyncToGenerator(function* () {
|
|
121
|
-
test_slug = encodeParam(test_slug);
|
|
100
|
+
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
122
101
|
return _this13.authStream(callback, 'GET', "/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
123
102
|
})();
|
|
124
103
|
}
|
|
125
|
-
|
|
126
104
|
delete_oidc_test_config(callback, test_slug, options) {
|
|
127
105
|
var _this14 = this;
|
|
128
|
-
|
|
129
106
|
return _asyncToGenerator(function* () {
|
|
130
|
-
test_slug = encodeParam(test_slug);
|
|
107
|
+
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
131
108
|
return _this14.authStream(callback, 'DELETE', "/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
132
109
|
})();
|
|
133
110
|
}
|
|
134
|
-
|
|
135
111
|
create_oidc_test_config(callback, body, options) {
|
|
136
112
|
var _this15 = this;
|
|
137
|
-
|
|
138
113
|
return _asyncToGenerator(function* () {
|
|
139
114
|
return _this15.authStream(callback, 'POST', '/oidc_test_configs', null, body, options);
|
|
140
115
|
})();
|
|
141
116
|
}
|
|
142
|
-
|
|
143
117
|
password_config(callback, options) {
|
|
144
118
|
var _this16 = this;
|
|
145
|
-
|
|
146
119
|
return _asyncToGenerator(function* () {
|
|
147
120
|
return _this16.authStream(callback, 'GET', '/password_config', null, null, options);
|
|
148
121
|
})();
|
|
149
122
|
}
|
|
150
|
-
|
|
151
123
|
update_password_config(callback, body, options) {
|
|
152
124
|
var _this17 = this;
|
|
153
|
-
|
|
154
125
|
return _asyncToGenerator(function* () {
|
|
155
126
|
return _this17.authStream(callback, 'PATCH', '/password_config', null, body, options);
|
|
156
127
|
})();
|
|
157
128
|
}
|
|
158
|
-
|
|
159
129
|
force_password_reset_at_next_login_for_all_users(callback, options) {
|
|
160
130
|
var _this18 = this;
|
|
161
|
-
|
|
162
131
|
return _asyncToGenerator(function* () {
|
|
163
132
|
return _this18.authStream(callback, 'PUT', '/password_config/force_password_reset_at_next_login_for_all_users', null, null, options);
|
|
164
133
|
})();
|
|
165
134
|
}
|
|
166
|
-
|
|
167
135
|
saml_config(callback, options) {
|
|
168
136
|
var _this19 = this;
|
|
169
|
-
|
|
170
137
|
return _asyncToGenerator(function* () {
|
|
171
138
|
return _this19.authStream(callback, 'GET', '/saml_config', null, null, options);
|
|
172
139
|
})();
|
|
173
140
|
}
|
|
174
|
-
|
|
175
141
|
update_saml_config(callback, body, options) {
|
|
176
142
|
var _this20 = this;
|
|
177
|
-
|
|
178
143
|
return _asyncToGenerator(function* () {
|
|
179
144
|
return _this20.authStream(callback, 'PATCH', '/saml_config', null, body, options);
|
|
180
145
|
})();
|
|
181
146
|
}
|
|
182
|
-
|
|
183
147
|
saml_test_config(callback, test_slug, options) {
|
|
184
148
|
var _this21 = this;
|
|
185
|
-
|
|
186
149
|
return _asyncToGenerator(function* () {
|
|
187
|
-
test_slug = encodeParam(test_slug);
|
|
150
|
+
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
188
151
|
return _this21.authStream(callback, 'GET', "/saml_test_configs/".concat(test_slug), null, null, options);
|
|
189
152
|
})();
|
|
190
153
|
}
|
|
191
|
-
|
|
192
154
|
delete_saml_test_config(callback, test_slug, options) {
|
|
193
155
|
var _this22 = this;
|
|
194
|
-
|
|
195
156
|
return _asyncToGenerator(function* () {
|
|
196
|
-
test_slug = encodeParam(test_slug);
|
|
157
|
+
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
197
158
|
return _this22.authStream(callback, 'DELETE', "/saml_test_configs/".concat(test_slug), null, null, options);
|
|
198
159
|
})();
|
|
199
160
|
}
|
|
200
|
-
|
|
201
161
|
create_saml_test_config(callback, body, options) {
|
|
202
162
|
var _this23 = this;
|
|
203
|
-
|
|
204
163
|
return _asyncToGenerator(function* () {
|
|
205
164
|
return _this23.authStream(callback, 'POST', '/saml_test_configs', null, body, options);
|
|
206
165
|
})();
|
|
207
166
|
}
|
|
208
|
-
|
|
209
167
|
parse_saml_idp_metadata(callback, body, options) {
|
|
210
168
|
var _this24 = this;
|
|
211
|
-
|
|
212
169
|
return _asyncToGenerator(function* () {
|
|
213
170
|
return _this24.authStream(callback, 'POST', '/parse_saml_idp_metadata', null, body, options);
|
|
214
171
|
})();
|
|
215
172
|
}
|
|
216
|
-
|
|
217
173
|
fetch_and_parse_saml_idp_metadata(callback, body, options) {
|
|
218
174
|
var _this25 = this;
|
|
219
|
-
|
|
220
175
|
return _asyncToGenerator(function* () {
|
|
221
176
|
return _this25.authStream(callback, 'POST', '/fetch_and_parse_saml_idp_metadata', null, body, options);
|
|
222
177
|
})();
|
|
223
178
|
}
|
|
224
|
-
|
|
225
179
|
session_config(callback, options) {
|
|
226
180
|
var _this26 = this;
|
|
227
|
-
|
|
228
181
|
return _asyncToGenerator(function* () {
|
|
229
182
|
return _this26.authStream(callback, 'GET', '/session_config', null, null, options);
|
|
230
183
|
})();
|
|
231
184
|
}
|
|
232
|
-
|
|
233
185
|
update_session_config(callback, body, options) {
|
|
234
186
|
var _this27 = this;
|
|
235
|
-
|
|
236
187
|
return _asyncToGenerator(function* () {
|
|
237
188
|
return _this27.authStream(callback, 'PATCH', '/session_config', null, body, options);
|
|
238
189
|
})();
|
|
239
190
|
}
|
|
240
|
-
|
|
241
191
|
all_user_login_lockouts(callback, fields, options) {
|
|
242
192
|
var _this28 = this;
|
|
243
|
-
|
|
244
193
|
return _asyncToGenerator(function* () {
|
|
245
194
|
return _this28.authStream(callback, 'GET', '/user_login_lockouts', {
|
|
246
195
|
fields
|
|
247
196
|
}, null, options);
|
|
248
197
|
})();
|
|
249
198
|
}
|
|
250
|
-
|
|
251
199
|
search_user_login_lockouts(callback, request, options) {
|
|
252
200
|
var _this29 = this;
|
|
253
|
-
|
|
254
201
|
return _asyncToGenerator(function* () {
|
|
255
202
|
return _this29.authStream(callback, 'GET', '/user_login_lockouts/search', {
|
|
256
203
|
fields: request.fields,
|
|
@@ -265,382 +212,296 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
265
212
|
}, null, options);
|
|
266
213
|
})();
|
|
267
214
|
}
|
|
268
|
-
|
|
269
215
|
delete_user_login_lockout(callback, key, options) {
|
|
270
216
|
var _this30 = this;
|
|
271
|
-
|
|
272
217
|
return _asyncToGenerator(function* () {
|
|
273
|
-
key = encodeParam(key);
|
|
218
|
+
key = (0, _sdkRtl.encodeParam)(key);
|
|
274
219
|
return _this30.authStream(callback, 'DELETE', "/user_login_lockout/".concat(key), null, null, options);
|
|
275
220
|
})();
|
|
276
221
|
}
|
|
277
|
-
|
|
278
222
|
all_color_collections(callback, fields, options) {
|
|
279
223
|
var _this31 = this;
|
|
280
|
-
|
|
281
224
|
return _asyncToGenerator(function* () {
|
|
282
225
|
return _this31.authStream(callback, 'GET', '/color_collections', {
|
|
283
226
|
fields
|
|
284
227
|
}, null, options);
|
|
285
228
|
})();
|
|
286
229
|
}
|
|
287
|
-
|
|
288
230
|
create_color_collection(callback, body, options) {
|
|
289
231
|
var _this32 = this;
|
|
290
|
-
|
|
291
232
|
return _asyncToGenerator(function* () {
|
|
292
233
|
return _this32.authStream(callback, 'POST', '/color_collections', null, body, options);
|
|
293
234
|
})();
|
|
294
235
|
}
|
|
295
|
-
|
|
296
236
|
color_collections_custom(callback, fields, options) {
|
|
297
237
|
var _this33 = this;
|
|
298
|
-
|
|
299
238
|
return _asyncToGenerator(function* () {
|
|
300
239
|
return _this33.authStream(callback, 'GET', '/color_collections/custom', {
|
|
301
240
|
fields
|
|
302
241
|
}, null, options);
|
|
303
242
|
})();
|
|
304
243
|
}
|
|
305
|
-
|
|
306
244
|
color_collections_standard(callback, fields, options) {
|
|
307
245
|
var _this34 = this;
|
|
308
|
-
|
|
309
246
|
return _asyncToGenerator(function* () {
|
|
310
247
|
return _this34.authStream(callback, 'GET', '/color_collections/standard', {
|
|
311
248
|
fields
|
|
312
249
|
}, null, options);
|
|
313
250
|
})();
|
|
314
251
|
}
|
|
315
|
-
|
|
316
252
|
default_color_collection(callback, options) {
|
|
317
253
|
var _this35 = this;
|
|
318
|
-
|
|
319
254
|
return _asyncToGenerator(function* () {
|
|
320
255
|
return _this35.authStream(callback, 'GET', '/color_collections/default', null, null, options);
|
|
321
256
|
})();
|
|
322
257
|
}
|
|
323
|
-
|
|
324
258
|
set_default_color_collection(callback, collection_id, options) {
|
|
325
259
|
var _this36 = this;
|
|
326
|
-
|
|
327
260
|
return _asyncToGenerator(function* () {
|
|
328
261
|
return _this36.authStream(callback, 'PUT', '/color_collections/default', {
|
|
329
262
|
collection_id
|
|
330
263
|
}, null, options);
|
|
331
264
|
})();
|
|
332
265
|
}
|
|
333
|
-
|
|
334
266
|
color_collection(callback, collection_id, fields, options) {
|
|
335
267
|
var _this37 = this;
|
|
336
|
-
|
|
337
268
|
return _asyncToGenerator(function* () {
|
|
338
|
-
collection_id = encodeParam(collection_id);
|
|
269
|
+
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
339
270
|
return _this37.authStream(callback, 'GET', "/color_collections/".concat(collection_id), {
|
|
340
271
|
fields
|
|
341
272
|
}, null, options);
|
|
342
273
|
})();
|
|
343
274
|
}
|
|
344
|
-
|
|
345
275
|
update_color_collection(callback, collection_id, body, options) {
|
|
346
276
|
var _this38 = this;
|
|
347
|
-
|
|
348
277
|
return _asyncToGenerator(function* () {
|
|
349
|
-
collection_id = encodeParam(collection_id);
|
|
278
|
+
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
350
279
|
return _this38.authStream(callback, 'PATCH', "/color_collections/".concat(collection_id), null, body, options);
|
|
351
280
|
})();
|
|
352
281
|
}
|
|
353
|
-
|
|
354
282
|
delete_color_collection(callback, collection_id, options) {
|
|
355
283
|
var _this39 = this;
|
|
356
|
-
|
|
357
284
|
return _asyncToGenerator(function* () {
|
|
358
|
-
collection_id = encodeParam(collection_id);
|
|
285
|
+
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
359
286
|
return _this39.authStream(callback, 'DELETE', "/color_collections/".concat(collection_id), null, null, options);
|
|
360
287
|
})();
|
|
361
288
|
}
|
|
362
|
-
|
|
363
289
|
backup_configuration(callback, options) {
|
|
364
290
|
var _this40 = this;
|
|
365
|
-
|
|
366
291
|
return _asyncToGenerator(function* () {
|
|
367
292
|
return _this40.authStream(callback, 'GET', '/backup_configuration', null, null, options);
|
|
368
293
|
})();
|
|
369
294
|
}
|
|
370
|
-
|
|
371
295
|
update_backup_configuration(callback, body, options) {
|
|
372
296
|
var _this41 = this;
|
|
373
|
-
|
|
374
297
|
return _asyncToGenerator(function* () {
|
|
375
298
|
return _this41.authStream(callback, 'PATCH', '/backup_configuration', null, body, options);
|
|
376
299
|
})();
|
|
377
300
|
}
|
|
378
|
-
|
|
379
301
|
cloud_storage_configuration(callback, options) {
|
|
380
302
|
var _this42 = this;
|
|
381
|
-
|
|
382
303
|
return _asyncToGenerator(function* () {
|
|
383
304
|
return _this42.authStream(callback, 'GET', '/cloud_storage', null, null, options);
|
|
384
305
|
})();
|
|
385
306
|
}
|
|
386
|
-
|
|
387
307
|
update_cloud_storage_configuration(callback, body, options) {
|
|
388
308
|
var _this43 = this;
|
|
389
|
-
|
|
390
309
|
return _asyncToGenerator(function* () {
|
|
391
310
|
return _this43.authStream(callback, 'PATCH', '/cloud_storage', null, body, options);
|
|
392
311
|
})();
|
|
393
312
|
}
|
|
394
|
-
|
|
395
313
|
custom_welcome_email(callback, options) {
|
|
396
314
|
var _this44 = this;
|
|
397
|
-
|
|
398
315
|
return _asyncToGenerator(function* () {
|
|
399
316
|
return _this44.authStream(callback, 'GET', '/custom_welcome_email', null, null, options);
|
|
400
317
|
})();
|
|
401
318
|
}
|
|
402
|
-
|
|
403
319
|
update_custom_welcome_email(callback, body, send_test_welcome_email, options) {
|
|
404
320
|
var _this45 = this;
|
|
405
|
-
|
|
406
321
|
return _asyncToGenerator(function* () {
|
|
407
322
|
return _this45.authStream(callback, 'PATCH', '/custom_welcome_email', {
|
|
408
323
|
send_test_welcome_email
|
|
409
324
|
}, body, options);
|
|
410
325
|
})();
|
|
411
326
|
}
|
|
412
|
-
|
|
413
327
|
update_custom_welcome_email_test(callback, body, options) {
|
|
414
328
|
var _this46 = this;
|
|
415
|
-
|
|
416
329
|
return _asyncToGenerator(function* () {
|
|
417
330
|
return _this46.authStream(callback, 'PUT', '/custom_welcome_email_test', null, body, options);
|
|
418
331
|
})();
|
|
419
332
|
}
|
|
420
|
-
|
|
421
333
|
digest_emails_enabled(callback, options) {
|
|
422
334
|
var _this47 = this;
|
|
423
|
-
|
|
424
335
|
return _asyncToGenerator(function* () {
|
|
425
336
|
return _this47.authStream(callback, 'GET', '/digest_emails_enabled', null, null, options);
|
|
426
337
|
})();
|
|
427
338
|
}
|
|
428
|
-
|
|
429
339
|
update_digest_emails_enabled(callback, body, options) {
|
|
430
340
|
var _this48 = this;
|
|
431
|
-
|
|
432
341
|
return _asyncToGenerator(function* () {
|
|
433
342
|
return _this48.authStream(callback, 'PATCH', '/digest_emails_enabled', null, body, options);
|
|
434
343
|
})();
|
|
435
344
|
}
|
|
436
|
-
|
|
437
345
|
create_digest_email_send(callback, options) {
|
|
438
346
|
var _this49 = this;
|
|
439
|
-
|
|
440
347
|
return _asyncToGenerator(function* () {
|
|
441
348
|
return _this49.authStream(callback, 'POST', '/digest_email_send', null, null, options);
|
|
442
349
|
})();
|
|
443
350
|
}
|
|
444
|
-
|
|
445
351
|
internal_help_resources_content(callback, options) {
|
|
446
352
|
var _this50 = this;
|
|
447
|
-
|
|
448
353
|
return _asyncToGenerator(function* () {
|
|
449
354
|
return _this50.authStream(callback, 'GET', '/internal_help_resources_content', null, null, options);
|
|
450
355
|
})();
|
|
451
356
|
}
|
|
452
|
-
|
|
453
357
|
update_internal_help_resources_content(callback, body, options) {
|
|
454
358
|
var _this51 = this;
|
|
455
|
-
|
|
456
359
|
return _asyncToGenerator(function* () {
|
|
457
360
|
return _this51.authStream(callback, 'PATCH', '/internal_help_resources_content', null, body, options);
|
|
458
361
|
})();
|
|
459
362
|
}
|
|
460
|
-
|
|
461
363
|
internal_help_resources(callback, options) {
|
|
462
364
|
var _this52 = this;
|
|
463
|
-
|
|
464
365
|
return _asyncToGenerator(function* () {
|
|
465
366
|
return _this52.authStream(callback, 'GET', '/internal_help_resources_enabled', null, null, options);
|
|
466
367
|
})();
|
|
467
368
|
}
|
|
468
|
-
|
|
469
369
|
update_internal_help_resources(callback, body, options) {
|
|
470
370
|
var _this53 = this;
|
|
471
|
-
|
|
472
371
|
return _asyncToGenerator(function* () {
|
|
473
372
|
return _this53.authStream(callback, 'PATCH', '/internal_help_resources', null, body, options);
|
|
474
373
|
})();
|
|
475
374
|
}
|
|
476
|
-
|
|
477
375
|
all_legacy_features(callback, options) {
|
|
478
376
|
var _this54 = this;
|
|
479
|
-
|
|
480
377
|
return _asyncToGenerator(function* () {
|
|
481
378
|
return _this54.authStream(callback, 'GET', '/legacy_features', null, null, options);
|
|
482
379
|
})();
|
|
483
380
|
}
|
|
484
|
-
|
|
485
381
|
legacy_feature(callback, legacy_feature_id, options) {
|
|
486
382
|
var _this55 = this;
|
|
487
|
-
|
|
488
383
|
return _asyncToGenerator(function* () {
|
|
489
384
|
return _this55.authStream(callback, 'GET', "/legacy_features/".concat(legacy_feature_id), null, null, options);
|
|
490
385
|
})();
|
|
491
386
|
}
|
|
492
|
-
|
|
493
387
|
update_legacy_feature(callback, legacy_feature_id, body, options) {
|
|
494
388
|
var _this56 = this;
|
|
495
|
-
|
|
496
389
|
return _asyncToGenerator(function* () {
|
|
497
390
|
return _this56.authStream(callback, 'PATCH', "/legacy_features/".concat(legacy_feature_id), null, body, options);
|
|
498
391
|
})();
|
|
499
392
|
}
|
|
500
|
-
|
|
501
393
|
all_locales(callback, options) {
|
|
502
394
|
var _this57 = this;
|
|
503
|
-
|
|
504
395
|
return _asyncToGenerator(function* () {
|
|
505
396
|
return _this57.authStream(callback, 'GET', '/locales', null, null, options);
|
|
506
397
|
})();
|
|
507
398
|
}
|
|
508
|
-
|
|
509
399
|
set_smtp_settings(callback, body, options) {
|
|
510
400
|
var _this58 = this;
|
|
511
|
-
|
|
512
401
|
return _asyncToGenerator(function* () {
|
|
513
402
|
return _this58.authStream(callback, 'POST', '/smtp_settings', null, body, options);
|
|
514
403
|
})();
|
|
515
404
|
}
|
|
516
|
-
|
|
517
405
|
all_timezones(callback, options) {
|
|
518
406
|
var _this59 = this;
|
|
519
|
-
|
|
520
407
|
return _asyncToGenerator(function* () {
|
|
521
408
|
return _this59.authStream(callback, 'GET', '/timezones', null, null, options);
|
|
522
409
|
})();
|
|
523
410
|
}
|
|
524
|
-
|
|
525
411
|
versions(callback, fields, options) {
|
|
526
412
|
var _this60 = this;
|
|
527
|
-
|
|
528
413
|
return _asyncToGenerator(function* () {
|
|
529
414
|
return _this60.authStream(callback, 'GET', '/versions', {
|
|
530
415
|
fields
|
|
531
416
|
}, null, options);
|
|
532
417
|
})();
|
|
533
418
|
}
|
|
534
|
-
|
|
535
419
|
whitelabel_configuration(callback, fields, options) {
|
|
536
420
|
var _this61 = this;
|
|
537
|
-
|
|
538
421
|
return _asyncToGenerator(function* () {
|
|
539
422
|
return _this61.authStream(callback, 'GET', '/whitelabel_configuration', {
|
|
540
423
|
fields
|
|
541
424
|
}, null, options);
|
|
542
425
|
})();
|
|
543
426
|
}
|
|
544
|
-
|
|
545
427
|
update_whitelabel_configuration(callback, body, options) {
|
|
546
428
|
var _this62 = this;
|
|
547
|
-
|
|
548
429
|
return _asyncToGenerator(function* () {
|
|
549
430
|
return _this62.authStream(callback, 'PUT', '/whitelabel_configuration', null, body, options);
|
|
550
431
|
})();
|
|
551
432
|
}
|
|
552
|
-
|
|
553
433
|
all_connections(callback, fields, options) {
|
|
554
434
|
var _this63 = this;
|
|
555
|
-
|
|
556
435
|
return _asyncToGenerator(function* () {
|
|
557
436
|
return _this63.authStream(callback, 'GET', '/connections', {
|
|
558
437
|
fields
|
|
559
438
|
}, null, options);
|
|
560
439
|
})();
|
|
561
440
|
}
|
|
562
|
-
|
|
563
441
|
create_connection(callback, body, options) {
|
|
564
442
|
var _this64 = this;
|
|
565
|
-
|
|
566
443
|
return _asyncToGenerator(function* () {
|
|
567
444
|
return _this64.authStream(callback, 'POST', '/connections', null, body, options);
|
|
568
445
|
})();
|
|
569
446
|
}
|
|
570
|
-
|
|
571
447
|
connection(callback, connection_name, fields, options) {
|
|
572
448
|
var _this65 = this;
|
|
573
|
-
|
|
574
449
|
return _asyncToGenerator(function* () {
|
|
575
|
-
connection_name = encodeParam(connection_name);
|
|
450
|
+
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
576
451
|
return _this65.authStream(callback, 'GET', "/connections/".concat(connection_name), {
|
|
577
452
|
fields
|
|
578
453
|
}, null, options);
|
|
579
454
|
})();
|
|
580
455
|
}
|
|
581
|
-
|
|
582
456
|
update_connection(callback, connection_name, body, options) {
|
|
583
457
|
var _this66 = this;
|
|
584
|
-
|
|
585
458
|
return _asyncToGenerator(function* () {
|
|
586
|
-
connection_name = encodeParam(connection_name);
|
|
459
|
+
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
587
460
|
return _this66.authStream(callback, 'PATCH', "/connections/".concat(connection_name), null, body, options);
|
|
588
461
|
})();
|
|
589
462
|
}
|
|
590
|
-
|
|
591
463
|
delete_connection(callback, connection_name, options) {
|
|
592
464
|
var _this67 = this;
|
|
593
|
-
|
|
594
465
|
return _asyncToGenerator(function* () {
|
|
595
|
-
connection_name = encodeParam(connection_name);
|
|
466
|
+
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
596
467
|
return _this67.authStream(callback, 'DELETE', "/connections/".concat(connection_name), null, null, options);
|
|
597
468
|
})();
|
|
598
469
|
}
|
|
599
|
-
|
|
600
470
|
delete_connection_override(callback, connection_name, override_context, options) {
|
|
601
471
|
var _this68 = this;
|
|
602
|
-
|
|
603
472
|
return _asyncToGenerator(function* () {
|
|
604
|
-
connection_name = encodeParam(connection_name);
|
|
605
|
-
override_context = encodeParam(override_context);
|
|
473
|
+
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
474
|
+
override_context = (0, _sdkRtl.encodeParam)(override_context);
|
|
606
475
|
return _this68.authStream(callback, 'DELETE', "/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
607
476
|
})();
|
|
608
477
|
}
|
|
609
|
-
|
|
610
478
|
test_connection(callback, connection_name, tests, options) {
|
|
611
479
|
var _this69 = this;
|
|
612
|
-
|
|
613
480
|
return _asyncToGenerator(function* () {
|
|
614
|
-
connection_name = encodeParam(connection_name);
|
|
481
|
+
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
615
482
|
return _this69.authStream(callback, 'PUT', "/connections/".concat(connection_name, "/test"), {
|
|
616
483
|
tests
|
|
617
484
|
}, null, options);
|
|
618
485
|
})();
|
|
619
486
|
}
|
|
620
|
-
|
|
621
487
|
test_connection_config(callback, body, tests, options) {
|
|
622
488
|
var _this70 = this;
|
|
623
|
-
|
|
624
489
|
return _asyncToGenerator(function* () {
|
|
625
490
|
return _this70.authStream(callback, 'PUT', '/connections/test', {
|
|
626
491
|
tests
|
|
627
492
|
}, body, options);
|
|
628
493
|
})();
|
|
629
494
|
}
|
|
630
|
-
|
|
631
495
|
all_dialect_infos(callback, fields, options) {
|
|
632
496
|
var _this71 = this;
|
|
633
|
-
|
|
634
497
|
return _asyncToGenerator(function* () {
|
|
635
498
|
return _this71.authStream(callback, 'GET', '/dialect_info', {
|
|
636
499
|
fields
|
|
637
500
|
}, null, options);
|
|
638
501
|
})();
|
|
639
502
|
}
|
|
640
|
-
|
|
641
503
|
search_content_favorites(callback, request, options) {
|
|
642
504
|
var _this72 = this;
|
|
643
|
-
|
|
644
505
|
return _asyncToGenerator(function* () {
|
|
645
506
|
return _this72.authStream(callback, 'GET', '/content_favorite/search', {
|
|
646
507
|
id: request.id,
|
|
@@ -656,36 +517,28 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
656
517
|
}, null, options);
|
|
657
518
|
})();
|
|
658
519
|
}
|
|
659
|
-
|
|
660
520
|
content_favorite(callback, content_favorite_id, fields, options) {
|
|
661
521
|
var _this73 = this;
|
|
662
|
-
|
|
663
522
|
return _asyncToGenerator(function* () {
|
|
664
523
|
return _this73.authStream(callback, 'GET', "/content_favorite/".concat(content_favorite_id), {
|
|
665
524
|
fields
|
|
666
525
|
}, null, options);
|
|
667
526
|
})();
|
|
668
527
|
}
|
|
669
|
-
|
|
670
528
|
delete_content_favorite(callback, content_favorite_id, options) {
|
|
671
529
|
var _this74 = this;
|
|
672
|
-
|
|
673
530
|
return _asyncToGenerator(function* () {
|
|
674
531
|
return _this74.authStream(callback, 'DELETE', "/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
675
532
|
})();
|
|
676
533
|
}
|
|
677
|
-
|
|
678
534
|
create_content_favorite(callback, body, options) {
|
|
679
535
|
var _this75 = this;
|
|
680
|
-
|
|
681
536
|
return _asyncToGenerator(function* () {
|
|
682
537
|
return _this75.authStream(callback, 'POST', '/content_favorite', null, body, options);
|
|
683
538
|
})();
|
|
684
539
|
}
|
|
685
|
-
|
|
686
540
|
all_content_metadatas(callback, parent_id, fields, options) {
|
|
687
541
|
var _this76 = this;
|
|
688
|
-
|
|
689
542
|
return _asyncToGenerator(function* () {
|
|
690
543
|
return _this76.authStream(callback, 'GET', '/content_metadata', {
|
|
691
544
|
parent_id,
|
|
@@ -693,28 +546,22 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
693
546
|
}, null, options);
|
|
694
547
|
})();
|
|
695
548
|
}
|
|
696
|
-
|
|
697
549
|
content_metadata(callback, content_metadata_id, fields, options) {
|
|
698
550
|
var _this77 = this;
|
|
699
|
-
|
|
700
551
|
return _asyncToGenerator(function* () {
|
|
701
552
|
return _this77.authStream(callback, 'GET', "/content_metadata/".concat(content_metadata_id), {
|
|
702
553
|
fields
|
|
703
554
|
}, null, options);
|
|
704
555
|
})();
|
|
705
556
|
}
|
|
706
|
-
|
|
707
557
|
update_content_metadata(callback, content_metadata_id, body, options) {
|
|
708
558
|
var _this78 = this;
|
|
709
|
-
|
|
710
559
|
return _asyncToGenerator(function* () {
|
|
711
560
|
return _this78.authStream(callback, 'PATCH', "/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
712
561
|
})();
|
|
713
562
|
}
|
|
714
|
-
|
|
715
563
|
all_content_metadata_accesses(callback, content_metadata_id, fields, options) {
|
|
716
564
|
var _this79 = this;
|
|
717
|
-
|
|
718
565
|
return _asyncToGenerator(function* () {
|
|
719
566
|
return _this79.authStream(callback, 'GET', '/content_metadata_access', {
|
|
720
567
|
content_metadata_id,
|
|
@@ -722,39 +569,31 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
722
569
|
}, null, options);
|
|
723
570
|
})();
|
|
724
571
|
}
|
|
725
|
-
|
|
726
572
|
create_content_metadata_access(callback, body, send_boards_notification_email, options) {
|
|
727
573
|
var _this80 = this;
|
|
728
|
-
|
|
729
574
|
return _asyncToGenerator(function* () {
|
|
730
575
|
return _this80.authStream(callback, 'POST', '/content_metadata_access', {
|
|
731
576
|
send_boards_notification_email
|
|
732
577
|
}, body, options);
|
|
733
578
|
})();
|
|
734
579
|
}
|
|
735
|
-
|
|
736
580
|
update_content_metadata_access(callback, content_metadata_access_id, body, options) {
|
|
737
581
|
var _this81 = this;
|
|
738
|
-
|
|
739
582
|
return _asyncToGenerator(function* () {
|
|
740
583
|
return _this81.authStream(callback, 'PUT', "/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
741
584
|
})();
|
|
742
585
|
}
|
|
743
|
-
|
|
744
586
|
delete_content_metadata_access(callback, content_metadata_access_id, options) {
|
|
745
587
|
var _this82 = this;
|
|
746
|
-
|
|
747
588
|
return _asyncToGenerator(function* () {
|
|
748
589
|
return _this82.authStream(callback, 'DELETE', "/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
749
590
|
})();
|
|
750
591
|
}
|
|
751
|
-
|
|
752
592
|
content_thumbnail(callback, request, options) {
|
|
753
593
|
var _this83 = this;
|
|
754
|
-
|
|
755
594
|
return _asyncToGenerator(function* () {
|
|
756
|
-
request.type = encodeParam(request.type);
|
|
757
|
-
request.resource_id = encodeParam(request.resource_id);
|
|
595
|
+
request.type = (0, _sdkRtl.encodeParam)(request.type);
|
|
596
|
+
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
|
|
758
597
|
return _this83.authStream(callback, 'GET', "/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
759
598
|
reload: request.reload,
|
|
760
599
|
format: request.format,
|
|
@@ -763,20 +602,16 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
763
602
|
}, null, options);
|
|
764
603
|
})();
|
|
765
604
|
}
|
|
766
|
-
|
|
767
605
|
content_validation(callback, fields, options) {
|
|
768
606
|
var _this84 = this;
|
|
769
|
-
|
|
770
607
|
return _asyncToGenerator(function* () {
|
|
771
608
|
return _this84.authStream(callback, 'GET', '/content_validation', {
|
|
772
609
|
fields
|
|
773
610
|
}, null, options);
|
|
774
611
|
})();
|
|
775
612
|
}
|
|
776
|
-
|
|
777
613
|
search_content_views(callback, request, options) {
|
|
778
614
|
var _this85 = this;
|
|
779
|
-
|
|
780
615
|
return _asyncToGenerator(function* () {
|
|
781
616
|
return _this85.authStream(callback, 'GET', '/content_view/search', {
|
|
782
617
|
view_count: request.view_count,
|
|
@@ -795,40 +630,32 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
795
630
|
}, null, options);
|
|
796
631
|
})();
|
|
797
632
|
}
|
|
798
|
-
|
|
799
633
|
vector_thumbnail(callback, type, resource_id, reload, options) {
|
|
800
634
|
var _this86 = this;
|
|
801
|
-
|
|
802
635
|
return _asyncToGenerator(function* () {
|
|
803
|
-
type = encodeParam(type);
|
|
804
|
-
resource_id = encodeParam(resource_id);
|
|
636
|
+
type = (0, _sdkRtl.encodeParam)(type);
|
|
637
|
+
resource_id = (0, _sdkRtl.encodeParam)(resource_id);
|
|
805
638
|
return _this86.authStream(callback, 'GET', "/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
806
639
|
reload
|
|
807
640
|
}, null, options);
|
|
808
641
|
})();
|
|
809
642
|
}
|
|
810
|
-
|
|
811
643
|
all_dashboards(callback, fields, options) {
|
|
812
644
|
var _this87 = this;
|
|
813
|
-
|
|
814
645
|
return _asyncToGenerator(function* () {
|
|
815
646
|
return _this87.authStream(callback, 'GET', '/dashboards', {
|
|
816
647
|
fields
|
|
817
648
|
}, null, options);
|
|
818
649
|
})();
|
|
819
650
|
}
|
|
820
|
-
|
|
821
651
|
create_dashboard(callback, body, options) {
|
|
822
652
|
var _this88 = this;
|
|
823
|
-
|
|
824
653
|
return _asyncToGenerator(function* () {
|
|
825
654
|
return _this88.authStream(callback, 'POST', '/dashboards', null, body, options);
|
|
826
655
|
})();
|
|
827
656
|
}
|
|
828
|
-
|
|
829
657
|
search_dashboards(callback, request, options) {
|
|
830
658
|
var _this89 = this;
|
|
831
|
-
|
|
832
659
|
return _asyncToGenerator(function* () {
|
|
833
660
|
return _this89.authStream(callback, 'GET', '/dashboards/search', {
|
|
834
661
|
id: request.id,
|
|
@@ -851,80 +678,64 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
851
678
|
}, null, options);
|
|
852
679
|
})();
|
|
853
680
|
}
|
|
854
|
-
|
|
855
681
|
import_lookml_dashboard(callback, lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
856
682
|
var _this90 = this;
|
|
857
|
-
|
|
858
683
|
return _asyncToGenerator(function* () {
|
|
859
|
-
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
860
|
-
space_id = encodeParam(space_id);
|
|
684
|
+
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
685
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
861
686
|
return _this90.authStream(callback, 'POST', "/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
862
687
|
raw_locale
|
|
863
688
|
}, body, options);
|
|
864
689
|
})();
|
|
865
690
|
}
|
|
866
|
-
|
|
867
691
|
sync_lookml_dashboard(callback, lookml_dashboard_id, body, raw_locale, options) {
|
|
868
692
|
var _this91 = this;
|
|
869
|
-
|
|
870
693
|
return _asyncToGenerator(function* () {
|
|
871
|
-
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
694
|
+
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
872
695
|
return _this91.authStream(callback, 'PATCH', "/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
873
696
|
raw_locale
|
|
874
697
|
}, body, options);
|
|
875
698
|
})();
|
|
876
699
|
}
|
|
877
|
-
|
|
878
700
|
dashboard(callback, dashboard_id, fields, options) {
|
|
879
701
|
var _this92 = this;
|
|
880
|
-
|
|
881
702
|
return _asyncToGenerator(function* () {
|
|
882
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
703
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
883
704
|
return _this92.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id), {
|
|
884
705
|
fields
|
|
885
706
|
}, null, options);
|
|
886
707
|
})();
|
|
887
708
|
}
|
|
888
|
-
|
|
889
709
|
update_dashboard(callback, dashboard_id, body, options) {
|
|
890
710
|
var _this93 = this;
|
|
891
|
-
|
|
892
711
|
return _asyncToGenerator(function* () {
|
|
893
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
712
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
894
713
|
return _this93.authStream(callback, 'PATCH', "/dashboards/".concat(dashboard_id), null, body, options);
|
|
895
714
|
})();
|
|
896
715
|
}
|
|
897
|
-
|
|
898
716
|
delete_dashboard(callback, dashboard_id, options) {
|
|
899
717
|
var _this94 = this;
|
|
900
|
-
|
|
901
718
|
return _asyncToGenerator(function* () {
|
|
902
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
719
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
903
720
|
return _this94.authStream(callback, 'DELETE', "/dashboards/".concat(dashboard_id), null, null, options);
|
|
904
721
|
})();
|
|
905
722
|
}
|
|
906
|
-
|
|
907
723
|
dashboard_aggregate_table_lookml(callback, dashboard_id, options) {
|
|
908
724
|
var _this95 = this;
|
|
909
|
-
|
|
910
725
|
return _asyncToGenerator(function* () {
|
|
911
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
726
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
912
727
|
return _this95.authStream(callback, 'GET', "/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
913
728
|
})();
|
|
914
729
|
}
|
|
915
|
-
|
|
916
730
|
dashboard_lookml(callback, dashboard_id, options) {
|
|
917
731
|
var _this96 = this;
|
|
918
|
-
|
|
919
732
|
return _asyncToGenerator(function* () {
|
|
920
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
733
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
921
734
|
return _this96.authStream(callback, 'GET', "/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
922
735
|
})();
|
|
923
736
|
}
|
|
924
|
-
|
|
925
737
|
search_dashboard_elements(callback, request, options) {
|
|
926
738
|
var _this97 = this;
|
|
927
|
-
|
|
928
739
|
return _asyncToGenerator(function* () {
|
|
929
740
|
return _this97.authStream(callback, 'GET', '/dashboard_elements/search', {
|
|
930
741
|
dashboard_id: request.dashboard_id,
|
|
@@ -937,52 +748,42 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
937
748
|
}, null, options);
|
|
938
749
|
})();
|
|
939
750
|
}
|
|
940
|
-
|
|
941
751
|
dashboard_element(callback, dashboard_element_id, fields, options) {
|
|
942
752
|
var _this98 = this;
|
|
943
|
-
|
|
944
753
|
return _asyncToGenerator(function* () {
|
|
945
|
-
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
754
|
+
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
946
755
|
return _this98.authStream(callback, 'GET', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
947
756
|
fields
|
|
948
757
|
}, null, options);
|
|
949
758
|
})();
|
|
950
759
|
}
|
|
951
|
-
|
|
952
760
|
update_dashboard_element(callback, dashboard_element_id, body, fields, options) {
|
|
953
761
|
var _this99 = this;
|
|
954
|
-
|
|
955
762
|
return _asyncToGenerator(function* () {
|
|
956
|
-
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
763
|
+
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
957
764
|
return _this99.authStream(callback, 'PATCH', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
958
765
|
fields
|
|
959
766
|
}, body, options);
|
|
960
767
|
})();
|
|
961
768
|
}
|
|
962
|
-
|
|
963
769
|
delete_dashboard_element(callback, dashboard_element_id, options) {
|
|
964
770
|
var _this100 = this;
|
|
965
|
-
|
|
966
771
|
return _asyncToGenerator(function* () {
|
|
967
|
-
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
772
|
+
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
968
773
|
return _this100.authStream(callback, 'DELETE', "/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
969
774
|
})();
|
|
970
775
|
}
|
|
971
|
-
|
|
972
776
|
dashboard_dashboard_elements(callback, dashboard_id, fields, options) {
|
|
973
777
|
var _this101 = this;
|
|
974
|
-
|
|
975
778
|
return _asyncToGenerator(function* () {
|
|
976
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
779
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
977
780
|
return _this101.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
978
781
|
fields
|
|
979
782
|
}, null, options);
|
|
980
783
|
})();
|
|
981
784
|
}
|
|
982
|
-
|
|
983
785
|
create_dashboard_element(callback, request, options) {
|
|
984
786
|
var _this102 = this;
|
|
985
|
-
|
|
986
787
|
return _asyncToGenerator(function* () {
|
|
987
788
|
return _this102.authStream(callback, 'POST', '/dashboard_elements', {
|
|
988
789
|
fields: request.fields,
|
|
@@ -990,216 +791,174 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
990
791
|
}, request.body, options);
|
|
991
792
|
})();
|
|
992
793
|
}
|
|
993
|
-
|
|
994
794
|
dashboard_filter(callback, dashboard_filter_id, fields, options) {
|
|
995
795
|
var _this103 = this;
|
|
996
|
-
|
|
997
796
|
return _asyncToGenerator(function* () {
|
|
998
|
-
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
797
|
+
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
999
798
|
return _this103.authStream(callback, 'GET', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1000
799
|
fields
|
|
1001
800
|
}, null, options);
|
|
1002
801
|
})();
|
|
1003
802
|
}
|
|
1004
|
-
|
|
1005
803
|
update_dashboard_filter(callback, dashboard_filter_id, body, fields, options) {
|
|
1006
804
|
var _this104 = this;
|
|
1007
|
-
|
|
1008
805
|
return _asyncToGenerator(function* () {
|
|
1009
|
-
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
806
|
+
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1010
807
|
return _this104.authStream(callback, 'PATCH', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1011
808
|
fields
|
|
1012
809
|
}, body, options);
|
|
1013
810
|
})();
|
|
1014
811
|
}
|
|
1015
|
-
|
|
1016
812
|
delete_dashboard_filter(callback, dashboard_filter_id, options) {
|
|
1017
813
|
var _this105 = this;
|
|
1018
|
-
|
|
1019
814
|
return _asyncToGenerator(function* () {
|
|
1020
|
-
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
815
|
+
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1021
816
|
return _this105.authStream(callback, 'DELETE', "/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1022
817
|
})();
|
|
1023
818
|
}
|
|
1024
|
-
|
|
1025
819
|
dashboard_dashboard_filters(callback, dashboard_id, fields, options) {
|
|
1026
820
|
var _this106 = this;
|
|
1027
|
-
|
|
1028
821
|
return _asyncToGenerator(function* () {
|
|
1029
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
822
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1030
823
|
return _this106.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1031
824
|
fields
|
|
1032
825
|
}, null, options);
|
|
1033
826
|
})();
|
|
1034
827
|
}
|
|
1035
|
-
|
|
1036
828
|
create_dashboard_filter(callback, body, fields, options) {
|
|
1037
829
|
var _this107 = this;
|
|
1038
|
-
|
|
1039
830
|
return _asyncToGenerator(function* () {
|
|
1040
831
|
return _this107.authStream(callback, 'POST', '/dashboard_filters', {
|
|
1041
832
|
fields
|
|
1042
833
|
}, body, options);
|
|
1043
834
|
})();
|
|
1044
835
|
}
|
|
1045
|
-
|
|
1046
836
|
dashboard_layout_component(callback, dashboard_layout_component_id, fields, options) {
|
|
1047
837
|
var _this108 = this;
|
|
1048
|
-
|
|
1049
838
|
return _asyncToGenerator(function* () {
|
|
1050
|
-
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
839
|
+
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1051
840
|
return _this108.authStream(callback, 'GET', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1052
841
|
fields
|
|
1053
842
|
}, null, options);
|
|
1054
843
|
})();
|
|
1055
844
|
}
|
|
1056
|
-
|
|
1057
845
|
update_dashboard_layout_component(callback, dashboard_layout_component_id, body, fields, options) {
|
|
1058
846
|
var _this109 = this;
|
|
1059
|
-
|
|
1060
847
|
return _asyncToGenerator(function* () {
|
|
1061
|
-
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
848
|
+
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1062
849
|
return _this109.authStream(callback, 'PATCH', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1063
850
|
fields
|
|
1064
851
|
}, body, options);
|
|
1065
852
|
})();
|
|
1066
853
|
}
|
|
1067
|
-
|
|
1068
854
|
dashboard_layout_dashboard_layout_components(callback, dashboard_layout_id, fields, options) {
|
|
1069
855
|
var _this110 = this;
|
|
1070
|
-
|
|
1071
856
|
return _asyncToGenerator(function* () {
|
|
1072
|
-
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
857
|
+
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1073
858
|
return _this110.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1074
859
|
fields
|
|
1075
860
|
}, null, options);
|
|
1076
861
|
})();
|
|
1077
862
|
}
|
|
1078
|
-
|
|
1079
863
|
dashboard_layout(callback, dashboard_layout_id, fields, options) {
|
|
1080
864
|
var _this111 = this;
|
|
1081
|
-
|
|
1082
865
|
return _asyncToGenerator(function* () {
|
|
1083
|
-
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
866
|
+
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1084
867
|
return _this111.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1085
868
|
fields
|
|
1086
869
|
}, null, options);
|
|
1087
870
|
})();
|
|
1088
871
|
}
|
|
1089
|
-
|
|
1090
872
|
update_dashboard_layout(callback, dashboard_layout_id, body, fields, options) {
|
|
1091
873
|
var _this112 = this;
|
|
1092
|
-
|
|
1093
874
|
return _asyncToGenerator(function* () {
|
|
1094
|
-
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
875
|
+
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1095
876
|
return _this112.authStream(callback, 'PATCH', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1096
877
|
fields
|
|
1097
878
|
}, body, options);
|
|
1098
879
|
})();
|
|
1099
880
|
}
|
|
1100
|
-
|
|
1101
881
|
delete_dashboard_layout(callback, dashboard_layout_id, options) {
|
|
1102
882
|
var _this113 = this;
|
|
1103
|
-
|
|
1104
883
|
return _asyncToGenerator(function* () {
|
|
1105
|
-
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
884
|
+
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1106
885
|
return _this113.authStream(callback, 'DELETE', "/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1107
886
|
})();
|
|
1108
887
|
}
|
|
1109
|
-
|
|
1110
888
|
dashboard_dashboard_layouts(callback, dashboard_id, fields, options) {
|
|
1111
889
|
var _this114 = this;
|
|
1112
|
-
|
|
1113
890
|
return _asyncToGenerator(function* () {
|
|
1114
|
-
dashboard_id = encodeParam(dashboard_id);
|
|
891
|
+
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1115
892
|
return _this114.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1116
893
|
fields
|
|
1117
894
|
}, null, options);
|
|
1118
895
|
})();
|
|
1119
896
|
}
|
|
1120
|
-
|
|
1121
897
|
create_dashboard_layout(callback, body, fields, options) {
|
|
1122
898
|
var _this115 = this;
|
|
1123
|
-
|
|
1124
899
|
return _asyncToGenerator(function* () {
|
|
1125
900
|
return _this115.authStream(callback, 'POST', '/dashboard_layouts', {
|
|
1126
901
|
fields
|
|
1127
902
|
}, body, options);
|
|
1128
903
|
})();
|
|
1129
904
|
}
|
|
1130
|
-
|
|
1131
905
|
perform_data_action(callback, body, options) {
|
|
1132
906
|
var _this116 = this;
|
|
1133
|
-
|
|
1134
907
|
return _asyncToGenerator(function* () {
|
|
1135
908
|
return _this116.authStream(callback, 'POST', '/data_actions', null, body, options);
|
|
1136
909
|
})();
|
|
1137
910
|
}
|
|
1138
|
-
|
|
1139
911
|
fetch_remote_data_action_form(callback, body, options) {
|
|
1140
912
|
var _this117 = this;
|
|
1141
|
-
|
|
1142
913
|
return _asyncToGenerator(function* () {
|
|
1143
914
|
return _this117.authStream(callback, 'POST', '/data_actions/form', null, body, options);
|
|
1144
915
|
})();
|
|
1145
916
|
}
|
|
1146
|
-
|
|
1147
917
|
all_datagroups(callback, options) {
|
|
1148
918
|
var _this118 = this;
|
|
1149
|
-
|
|
1150
919
|
return _asyncToGenerator(function* () {
|
|
1151
920
|
return _this118.authStream(callback, 'GET', '/datagroups', null, null, options);
|
|
1152
921
|
})();
|
|
1153
922
|
}
|
|
1154
|
-
|
|
1155
923
|
datagroup(callback, datagroup_id, options) {
|
|
1156
924
|
var _this119 = this;
|
|
1157
|
-
|
|
1158
925
|
return _asyncToGenerator(function* () {
|
|
1159
|
-
datagroup_id = encodeParam(datagroup_id);
|
|
926
|
+
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1160
927
|
return _this119.authStream(callback, 'GET', "/datagroups/".concat(datagroup_id), null, null, options);
|
|
1161
928
|
})();
|
|
1162
929
|
}
|
|
1163
|
-
|
|
1164
930
|
update_datagroup(callback, datagroup_id, body, options) {
|
|
1165
931
|
var _this120 = this;
|
|
1166
|
-
|
|
1167
932
|
return _asyncToGenerator(function* () {
|
|
1168
|
-
datagroup_id = encodeParam(datagroup_id);
|
|
933
|
+
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1169
934
|
return _this120.authStream(callback, 'PATCH', "/datagroups/".concat(datagroup_id), null, body, options);
|
|
1170
935
|
})();
|
|
1171
936
|
}
|
|
1172
|
-
|
|
1173
937
|
graph_derived_tables_for_model(callback, request, options) {
|
|
1174
938
|
var _this121 = this;
|
|
1175
|
-
|
|
1176
939
|
return _asyncToGenerator(function* () {
|
|
1177
|
-
request.model = encodeParam(request.model);
|
|
940
|
+
request.model = (0, _sdkRtl.encodeParam)(request.model);
|
|
1178
941
|
return _this121.authStream(callback, 'GET', "/derived_table/graph/model/".concat(request.model), {
|
|
1179
942
|
format: request.format,
|
|
1180
943
|
color: request.color
|
|
1181
944
|
}, null, options);
|
|
1182
945
|
})();
|
|
1183
946
|
}
|
|
1184
|
-
|
|
1185
947
|
graph_derived_tables_for_view(callback, request, options) {
|
|
1186
948
|
var _this122 = this;
|
|
1187
|
-
|
|
1188
949
|
return _asyncToGenerator(function* () {
|
|
1189
|
-
request.view = encodeParam(request.view);
|
|
950
|
+
request.view = (0, _sdkRtl.encodeParam)(request.view);
|
|
1190
951
|
return _this122.authStream(callback, 'GET', "/derived_table/graph/view/".concat(request.view), {
|
|
1191
952
|
models: request.models,
|
|
1192
953
|
workspace: request.workspace
|
|
1193
954
|
}, null, options);
|
|
1194
955
|
})();
|
|
1195
956
|
}
|
|
1196
|
-
|
|
1197
957
|
start_pdt_build(callback, request, options) {
|
|
1198
958
|
var _this123 = this;
|
|
1199
|
-
|
|
1200
959
|
return _asyncToGenerator(function* () {
|
|
1201
|
-
request.model_name = encodeParam(request.model_name);
|
|
1202
|
-
request.view_name = encodeParam(request.view_name);
|
|
960
|
+
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
961
|
+
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
1203
962
|
return _this123.authStream(callback, 'GET', "/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1204
963
|
force_rebuild: request.force_rebuild,
|
|
1205
964
|
force_full_incremental: request.force_full_incremental,
|
|
@@ -1208,30 +967,24 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1208
967
|
}, null, options);
|
|
1209
968
|
})();
|
|
1210
969
|
}
|
|
1211
|
-
|
|
1212
970
|
check_pdt_build(callback, materialization_id, options) {
|
|
1213
971
|
var _this124 = this;
|
|
1214
|
-
|
|
1215
972
|
return _asyncToGenerator(function* () {
|
|
1216
|
-
materialization_id = encodeParam(materialization_id);
|
|
973
|
+
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1217
974
|
return _this124.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1218
975
|
})();
|
|
1219
976
|
}
|
|
1220
|
-
|
|
1221
977
|
stop_pdt_build(callback, materialization_id, source, options) {
|
|
1222
978
|
var _this125 = this;
|
|
1223
|
-
|
|
1224
979
|
return _asyncToGenerator(function* () {
|
|
1225
|
-
materialization_id = encodeParam(materialization_id);
|
|
980
|
+
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1226
981
|
return _this125.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/stop"), {
|
|
1227
982
|
source
|
|
1228
983
|
}, null, options);
|
|
1229
984
|
})();
|
|
1230
985
|
}
|
|
1231
|
-
|
|
1232
986
|
search_folders(callback, request, options) {
|
|
1233
987
|
var _this126 = this;
|
|
1234
|
-
|
|
1235
988
|
return _asyncToGenerator(function* () {
|
|
1236
989
|
return _this126.authStream(callback, 'GET', '/folders/search', {
|
|
1237
990
|
fields: request.fields,
|
|
@@ -1249,59 +1002,47 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1249
1002
|
}, null, options);
|
|
1250
1003
|
})();
|
|
1251
1004
|
}
|
|
1252
|
-
|
|
1253
1005
|
folder(callback, folder_id, fields, options) {
|
|
1254
1006
|
var _this127 = this;
|
|
1255
|
-
|
|
1256
1007
|
return _asyncToGenerator(function* () {
|
|
1257
|
-
folder_id = encodeParam(folder_id);
|
|
1008
|
+
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1258
1009
|
return _this127.authStream(callback, 'GET', "/folders/".concat(folder_id), {
|
|
1259
1010
|
fields
|
|
1260
1011
|
}, null, options);
|
|
1261
1012
|
})();
|
|
1262
1013
|
}
|
|
1263
|
-
|
|
1264
1014
|
update_folder(callback, folder_id, body, options) {
|
|
1265
1015
|
var _this128 = this;
|
|
1266
|
-
|
|
1267
1016
|
return _asyncToGenerator(function* () {
|
|
1268
|
-
folder_id = encodeParam(folder_id);
|
|
1017
|
+
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1269
1018
|
return _this128.authStream(callback, 'PATCH', "/folders/".concat(folder_id), null, body, options);
|
|
1270
1019
|
})();
|
|
1271
1020
|
}
|
|
1272
|
-
|
|
1273
1021
|
delete_folder(callback, folder_id, options) {
|
|
1274
1022
|
var _this129 = this;
|
|
1275
|
-
|
|
1276
1023
|
return _asyncToGenerator(function* () {
|
|
1277
|
-
folder_id = encodeParam(folder_id);
|
|
1024
|
+
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1278
1025
|
return _this129.authStream(callback, 'DELETE', "/folders/".concat(folder_id), null, null, options);
|
|
1279
1026
|
})();
|
|
1280
1027
|
}
|
|
1281
|
-
|
|
1282
1028
|
all_folders(callback, fields, options) {
|
|
1283
1029
|
var _this130 = this;
|
|
1284
|
-
|
|
1285
1030
|
return _asyncToGenerator(function* () {
|
|
1286
1031
|
return _this130.authStream(callback, 'GET', '/folders', {
|
|
1287
1032
|
fields
|
|
1288
1033
|
}, null, options);
|
|
1289
1034
|
})();
|
|
1290
1035
|
}
|
|
1291
|
-
|
|
1292
1036
|
create_folder(callback, body, options) {
|
|
1293
1037
|
var _this131 = this;
|
|
1294
|
-
|
|
1295
1038
|
return _asyncToGenerator(function* () {
|
|
1296
1039
|
return _this131.authStream(callback, 'POST', '/folders', null, body, options);
|
|
1297
1040
|
})();
|
|
1298
1041
|
}
|
|
1299
|
-
|
|
1300
1042
|
folder_children(callback, request, options) {
|
|
1301
1043
|
var _this132 = this;
|
|
1302
|
-
|
|
1303
1044
|
return _asyncToGenerator(function* () {
|
|
1304
|
-
request.folder_id = encodeParam(request.folder_id);
|
|
1045
|
+
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1305
1046
|
return _this132.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children"), {
|
|
1306
1047
|
fields: request.fields,
|
|
1307
1048
|
page: request.page,
|
|
@@ -1310,12 +1051,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1310
1051
|
}, null, options);
|
|
1311
1052
|
})();
|
|
1312
1053
|
}
|
|
1313
|
-
|
|
1314
1054
|
folder_children_search(callback, request, options) {
|
|
1315
1055
|
var _this133 = this;
|
|
1316
|
-
|
|
1317
1056
|
return _asyncToGenerator(function* () {
|
|
1318
|
-
request.folder_id = encodeParam(request.folder_id);
|
|
1057
|
+
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1319
1058
|
return _this133.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children/search"), {
|
|
1320
1059
|
fields: request.fields,
|
|
1321
1060
|
sorts: request.sorts,
|
|
@@ -1323,54 +1062,44 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1323
1062
|
}, null, options);
|
|
1324
1063
|
})();
|
|
1325
1064
|
}
|
|
1326
|
-
|
|
1327
1065
|
folder_parent(callback, folder_id, fields, options) {
|
|
1328
1066
|
var _this134 = this;
|
|
1329
|
-
|
|
1330
1067
|
return _asyncToGenerator(function* () {
|
|
1331
|
-
folder_id = encodeParam(folder_id);
|
|
1068
|
+
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1332
1069
|
return _this134.authStream(callback, 'GET', "/folders/".concat(folder_id, "/parent"), {
|
|
1333
1070
|
fields
|
|
1334
1071
|
}, null, options);
|
|
1335
1072
|
})();
|
|
1336
1073
|
}
|
|
1337
|
-
|
|
1338
1074
|
folder_ancestors(callback, folder_id, fields, options) {
|
|
1339
1075
|
var _this135 = this;
|
|
1340
|
-
|
|
1341
1076
|
return _asyncToGenerator(function* () {
|
|
1342
|
-
folder_id = encodeParam(folder_id);
|
|
1077
|
+
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1343
1078
|
return _this135.authStream(callback, 'GET', "/folders/".concat(folder_id, "/ancestors"), {
|
|
1344
1079
|
fields
|
|
1345
1080
|
}, null, options);
|
|
1346
1081
|
})();
|
|
1347
1082
|
}
|
|
1348
|
-
|
|
1349
1083
|
folder_looks(callback, folder_id, fields, options) {
|
|
1350
1084
|
var _this136 = this;
|
|
1351
|
-
|
|
1352
1085
|
return _asyncToGenerator(function* () {
|
|
1353
|
-
folder_id = encodeParam(folder_id);
|
|
1086
|
+
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1354
1087
|
return _this136.authStream(callback, 'GET', "/folders/".concat(folder_id, "/looks"), {
|
|
1355
1088
|
fields
|
|
1356
1089
|
}, null, options);
|
|
1357
1090
|
})();
|
|
1358
1091
|
}
|
|
1359
|
-
|
|
1360
1092
|
folder_dashboards(callback, folder_id, fields, options) {
|
|
1361
1093
|
var _this137 = this;
|
|
1362
|
-
|
|
1363
1094
|
return _asyncToGenerator(function* () {
|
|
1364
|
-
folder_id = encodeParam(folder_id);
|
|
1095
|
+
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1365
1096
|
return _this137.authStream(callback, 'GET', "/folders/".concat(folder_id, "/dashboards"), {
|
|
1366
1097
|
fields
|
|
1367
1098
|
}, null, options);
|
|
1368
1099
|
})();
|
|
1369
1100
|
}
|
|
1370
|
-
|
|
1371
1101
|
all_groups(callback, request, options) {
|
|
1372
1102
|
var _this138 = this;
|
|
1373
|
-
|
|
1374
1103
|
return _asyncToGenerator(function* () {
|
|
1375
1104
|
return _this138.authStream(callback, 'GET', '/groups', {
|
|
1376
1105
|
fields: request.fields,
|
|
@@ -1383,20 +1112,16 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1383
1112
|
}, null, options);
|
|
1384
1113
|
})();
|
|
1385
1114
|
}
|
|
1386
|
-
|
|
1387
1115
|
create_group(callback, body, fields, options) {
|
|
1388
1116
|
var _this139 = this;
|
|
1389
|
-
|
|
1390
1117
|
return _asyncToGenerator(function* () {
|
|
1391
1118
|
return _this139.authStream(callback, 'POST', '/groups', {
|
|
1392
1119
|
fields
|
|
1393
1120
|
}, body, options);
|
|
1394
1121
|
})();
|
|
1395
1122
|
}
|
|
1396
|
-
|
|
1397
1123
|
search_groups(callback, request, options) {
|
|
1398
1124
|
var _this140 = this;
|
|
1399
|
-
|
|
1400
1125
|
return _asyncToGenerator(function* () {
|
|
1401
1126
|
return _this140.authStream(callback, 'GET', '/groups/search', {
|
|
1402
1127
|
fields: request.fields,
|
|
@@ -1412,56 +1137,44 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1412
1137
|
}, null, options);
|
|
1413
1138
|
})();
|
|
1414
1139
|
}
|
|
1415
|
-
|
|
1416
1140
|
group(callback, group_id, fields, options) {
|
|
1417
1141
|
var _this141 = this;
|
|
1418
|
-
|
|
1419
1142
|
return _asyncToGenerator(function* () {
|
|
1420
1143
|
return _this141.authStream(callback, 'GET', "/groups/".concat(group_id), {
|
|
1421
1144
|
fields
|
|
1422
1145
|
}, null, options);
|
|
1423
1146
|
})();
|
|
1424
1147
|
}
|
|
1425
|
-
|
|
1426
1148
|
update_group(callback, group_id, body, fields, options) {
|
|
1427
1149
|
var _this142 = this;
|
|
1428
|
-
|
|
1429
1150
|
return _asyncToGenerator(function* () {
|
|
1430
1151
|
return _this142.authStream(callback, 'PATCH', "/groups/".concat(group_id), {
|
|
1431
1152
|
fields
|
|
1432
1153
|
}, body, options);
|
|
1433
1154
|
})();
|
|
1434
1155
|
}
|
|
1435
|
-
|
|
1436
1156
|
delete_group(callback, group_id, options) {
|
|
1437
1157
|
var _this143 = this;
|
|
1438
|
-
|
|
1439
1158
|
return _asyncToGenerator(function* () {
|
|
1440
1159
|
return _this143.authStream(callback, 'DELETE', "/groups/".concat(group_id), null, null, options);
|
|
1441
1160
|
})();
|
|
1442
1161
|
}
|
|
1443
|
-
|
|
1444
1162
|
all_group_groups(callback, group_id, fields, options) {
|
|
1445
1163
|
var _this144 = this;
|
|
1446
|
-
|
|
1447
1164
|
return _asyncToGenerator(function* () {
|
|
1448
1165
|
return _this144.authStream(callback, 'GET', "/groups/".concat(group_id, "/groups"), {
|
|
1449
1166
|
fields
|
|
1450
1167
|
}, null, options);
|
|
1451
1168
|
})();
|
|
1452
1169
|
}
|
|
1453
|
-
|
|
1454
1170
|
add_group_group(callback, group_id, body, options) {
|
|
1455
1171
|
var _this145 = this;
|
|
1456
|
-
|
|
1457
1172
|
return _asyncToGenerator(function* () {
|
|
1458
1173
|
return _this145.authStream(callback, 'POST', "/groups/".concat(group_id, "/groups"), null, body, options);
|
|
1459
1174
|
})();
|
|
1460
1175
|
}
|
|
1461
|
-
|
|
1462
1176
|
all_group_users(callback, request, options) {
|
|
1463
1177
|
var _this146 = this;
|
|
1464
|
-
|
|
1465
1178
|
return _asyncToGenerator(function* () {
|
|
1466
1179
|
return _this146.authStream(callback, 'GET', "/groups/".concat(request.group_id, "/users"), {
|
|
1467
1180
|
fields: request.fields,
|
|
@@ -1471,70 +1184,54 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1471
1184
|
}, null, options);
|
|
1472
1185
|
})();
|
|
1473
1186
|
}
|
|
1474
|
-
|
|
1475
1187
|
add_group_user(callback, group_id, body, options) {
|
|
1476
1188
|
var _this147 = this;
|
|
1477
|
-
|
|
1478
1189
|
return _asyncToGenerator(function* () {
|
|
1479
1190
|
return _this147.authStream(callback, 'POST', "/groups/".concat(group_id, "/users"), null, body, options);
|
|
1480
1191
|
})();
|
|
1481
1192
|
}
|
|
1482
|
-
|
|
1483
1193
|
delete_group_user(callback, group_id, user_id, options) {
|
|
1484
1194
|
var _this148 = this;
|
|
1485
|
-
|
|
1486
1195
|
return _asyncToGenerator(function* () {
|
|
1487
1196
|
return _this148.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
1488
1197
|
})();
|
|
1489
1198
|
}
|
|
1490
|
-
|
|
1491
1199
|
delete_group_from_group(callback, group_id, deleting_group_id, options) {
|
|
1492
1200
|
var _this149 = this;
|
|
1493
|
-
|
|
1494
1201
|
return _asyncToGenerator(function* () {
|
|
1495
1202
|
return _this149.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
1496
1203
|
})();
|
|
1497
1204
|
}
|
|
1498
|
-
|
|
1499
1205
|
update_user_attribute_group_value(callback, group_id, user_attribute_id, body, options) {
|
|
1500
1206
|
var _this150 = this;
|
|
1501
|
-
|
|
1502
1207
|
return _asyncToGenerator(function* () {
|
|
1503
1208
|
return _this150.authStream(callback, 'PATCH', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
1504
1209
|
})();
|
|
1505
1210
|
}
|
|
1506
|
-
|
|
1507
1211
|
delete_user_attribute_group_value(callback, group_id, user_attribute_id, options) {
|
|
1508
1212
|
var _this151 = this;
|
|
1509
|
-
|
|
1510
1213
|
return _asyncToGenerator(function* () {
|
|
1511
1214
|
return _this151.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
1512
1215
|
})();
|
|
1513
1216
|
}
|
|
1514
|
-
|
|
1515
1217
|
all_homepages(callback, fields, options) {
|
|
1516
1218
|
var _this152 = this;
|
|
1517
|
-
|
|
1518
1219
|
return _asyncToGenerator(function* () {
|
|
1519
1220
|
return _this152.authStream(callback, 'GET', '/homepages', {
|
|
1520
1221
|
fields
|
|
1521
1222
|
}, null, options);
|
|
1522
1223
|
})();
|
|
1523
1224
|
}
|
|
1524
|
-
|
|
1525
1225
|
create_homepage(callback, body, fields, options) {
|
|
1526
1226
|
var _this153 = this;
|
|
1527
|
-
|
|
1528
1227
|
return _asyncToGenerator(function* () {
|
|
1529
1228
|
return _this153.authStream(callback, 'POST', '/homepages', {
|
|
1530
1229
|
fields
|
|
1531
1230
|
}, body, options);
|
|
1532
1231
|
})();
|
|
1533
1232
|
}
|
|
1534
|
-
|
|
1535
1233
|
search_homepages(callback, request, options) {
|
|
1536
1234
|
var _this154 = this;
|
|
1537
|
-
|
|
1538
1235
|
return _asyncToGenerator(function* () {
|
|
1539
1236
|
return _this154.authStream(callback, 'GET', '/homepages/search', {
|
|
1540
1237
|
title: request.title,
|
|
@@ -1553,38 +1250,30 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1553
1250
|
}, null, options);
|
|
1554
1251
|
})();
|
|
1555
1252
|
}
|
|
1556
|
-
|
|
1557
1253
|
homepage(callback, homepage_id, fields, options) {
|
|
1558
1254
|
var _this155 = this;
|
|
1559
|
-
|
|
1560
1255
|
return _asyncToGenerator(function* () {
|
|
1561
1256
|
return _this155.authStream(callback, 'GET', "/homepages/".concat(homepage_id), {
|
|
1562
1257
|
fields
|
|
1563
1258
|
}, null, options);
|
|
1564
1259
|
})();
|
|
1565
1260
|
}
|
|
1566
|
-
|
|
1567
1261
|
update_homepage(callback, homepage_id, body, fields, options) {
|
|
1568
1262
|
var _this156 = this;
|
|
1569
|
-
|
|
1570
1263
|
return _asyncToGenerator(function* () {
|
|
1571
1264
|
return _this156.authStream(callback, 'PATCH', "/homepages/".concat(homepage_id), {
|
|
1572
1265
|
fields
|
|
1573
1266
|
}, body, options);
|
|
1574
1267
|
})();
|
|
1575
1268
|
}
|
|
1576
|
-
|
|
1577
1269
|
delete_homepage(callback, homepage_id, options) {
|
|
1578
1270
|
var _this157 = this;
|
|
1579
|
-
|
|
1580
1271
|
return _asyncToGenerator(function* () {
|
|
1581
1272
|
return _this157.authStream(callback, 'DELETE', "/homepages/".concat(homepage_id), null, null, options);
|
|
1582
1273
|
})();
|
|
1583
1274
|
}
|
|
1584
|
-
|
|
1585
1275
|
all_homepage_items(callback, request, options) {
|
|
1586
1276
|
var _this158 = this;
|
|
1587
|
-
|
|
1588
1277
|
return _asyncToGenerator(function* () {
|
|
1589
1278
|
return _this158.authStream(callback, 'GET', '/homepage_items', {
|
|
1590
1279
|
fields: request.fields,
|
|
@@ -1593,48 +1282,38 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1593
1282
|
}, null, options);
|
|
1594
1283
|
})();
|
|
1595
1284
|
}
|
|
1596
|
-
|
|
1597
1285
|
create_homepage_item(callback, body, fields, options) {
|
|
1598
1286
|
var _this159 = this;
|
|
1599
|
-
|
|
1600
1287
|
return _asyncToGenerator(function* () {
|
|
1601
1288
|
return _this159.authStream(callback, 'POST', '/homepage_items', {
|
|
1602
1289
|
fields
|
|
1603
1290
|
}, body, options);
|
|
1604
1291
|
})();
|
|
1605
1292
|
}
|
|
1606
|
-
|
|
1607
1293
|
homepage_item(callback, homepage_item_id, fields, options) {
|
|
1608
1294
|
var _this160 = this;
|
|
1609
|
-
|
|
1610
1295
|
return _asyncToGenerator(function* () {
|
|
1611
1296
|
return _this160.authStream(callback, 'GET', "/homepage_items/".concat(homepage_item_id), {
|
|
1612
1297
|
fields
|
|
1613
1298
|
}, null, options);
|
|
1614
1299
|
})();
|
|
1615
1300
|
}
|
|
1616
|
-
|
|
1617
1301
|
update_homepage_item(callback, homepage_item_id, body, fields, options) {
|
|
1618
1302
|
var _this161 = this;
|
|
1619
|
-
|
|
1620
1303
|
return _asyncToGenerator(function* () {
|
|
1621
1304
|
return _this161.authStream(callback, 'PATCH', "/homepage_items/".concat(homepage_item_id), {
|
|
1622
1305
|
fields
|
|
1623
1306
|
}, body, options);
|
|
1624
1307
|
})();
|
|
1625
1308
|
}
|
|
1626
|
-
|
|
1627
1309
|
delete_homepage_item(callback, homepage_item_id, options) {
|
|
1628
1310
|
var _this162 = this;
|
|
1629
|
-
|
|
1630
1311
|
return _asyncToGenerator(function* () {
|
|
1631
1312
|
return _this162.authStream(callback, 'DELETE', "/homepage_items/".concat(homepage_item_id), null, null, options);
|
|
1632
1313
|
})();
|
|
1633
1314
|
}
|
|
1634
|
-
|
|
1635
1315
|
all_homepage_sections(callback, request, options) {
|
|
1636
1316
|
var _this163 = this;
|
|
1637
|
-
|
|
1638
1317
|
return _asyncToGenerator(function* () {
|
|
1639
1318
|
return _this163.authStream(callback, 'GET', '/homepage_sections', {
|
|
1640
1319
|
fields: request.fields,
|
|
@@ -1642,114 +1321,90 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1642
1321
|
}, null, options);
|
|
1643
1322
|
})();
|
|
1644
1323
|
}
|
|
1645
|
-
|
|
1646
1324
|
create_homepage_section(callback, body, fields, options) {
|
|
1647
1325
|
var _this164 = this;
|
|
1648
|
-
|
|
1649
1326
|
return _asyncToGenerator(function* () {
|
|
1650
1327
|
return _this164.authStream(callback, 'POST', '/homepage_sections', {
|
|
1651
1328
|
fields
|
|
1652
1329
|
}, body, options);
|
|
1653
1330
|
})();
|
|
1654
1331
|
}
|
|
1655
|
-
|
|
1656
1332
|
homepage_section(callback, homepage_section_id, fields, options) {
|
|
1657
1333
|
var _this165 = this;
|
|
1658
|
-
|
|
1659
1334
|
return _asyncToGenerator(function* () {
|
|
1660
1335
|
return _this165.authStream(callback, 'GET', "/homepage_sections/".concat(homepage_section_id), {
|
|
1661
1336
|
fields
|
|
1662
1337
|
}, null, options);
|
|
1663
1338
|
})();
|
|
1664
1339
|
}
|
|
1665
|
-
|
|
1666
1340
|
update_homepage_section(callback, homepage_section_id, body, fields, options) {
|
|
1667
1341
|
var _this166 = this;
|
|
1668
|
-
|
|
1669
1342
|
return _asyncToGenerator(function* () {
|
|
1670
1343
|
return _this166.authStream(callback, 'PATCH', "/homepage_sections/".concat(homepage_section_id), {
|
|
1671
1344
|
fields
|
|
1672
1345
|
}, body, options);
|
|
1673
1346
|
})();
|
|
1674
1347
|
}
|
|
1675
|
-
|
|
1676
1348
|
delete_homepage_section(callback, homepage_section_id, options) {
|
|
1677
1349
|
var _this167 = this;
|
|
1678
|
-
|
|
1679
1350
|
return _asyncToGenerator(function* () {
|
|
1680
1351
|
return _this167.authStream(callback, 'DELETE', "/homepage_sections/".concat(homepage_section_id), null, null, options);
|
|
1681
1352
|
})();
|
|
1682
1353
|
}
|
|
1683
|
-
|
|
1684
1354
|
all_primary_homepage_sections(callback, fields, options) {
|
|
1685
1355
|
var _this168 = this;
|
|
1686
|
-
|
|
1687
1356
|
return _asyncToGenerator(function* () {
|
|
1688
1357
|
return _this168.authStream(callback, 'GET', '/primary_homepage_sections', {
|
|
1689
1358
|
fields
|
|
1690
1359
|
}, null, options);
|
|
1691
1360
|
})();
|
|
1692
1361
|
}
|
|
1693
|
-
|
|
1694
1362
|
all_integration_hubs(callback, fields, options) {
|
|
1695
1363
|
var _this169 = this;
|
|
1696
|
-
|
|
1697
1364
|
return _asyncToGenerator(function* () {
|
|
1698
1365
|
return _this169.authStream(callback, 'GET', '/integration_hubs', {
|
|
1699
1366
|
fields
|
|
1700
1367
|
}, null, options);
|
|
1701
1368
|
})();
|
|
1702
1369
|
}
|
|
1703
|
-
|
|
1704
1370
|
create_integration_hub(callback, body, fields, options) {
|
|
1705
1371
|
var _this170 = this;
|
|
1706
|
-
|
|
1707
1372
|
return _asyncToGenerator(function* () {
|
|
1708
1373
|
return _this170.authStream(callback, 'POST', '/integration_hubs', {
|
|
1709
1374
|
fields
|
|
1710
1375
|
}, body, options);
|
|
1711
1376
|
})();
|
|
1712
1377
|
}
|
|
1713
|
-
|
|
1714
1378
|
integration_hub(callback, integration_hub_id, fields, options) {
|
|
1715
1379
|
var _this171 = this;
|
|
1716
|
-
|
|
1717
1380
|
return _asyncToGenerator(function* () {
|
|
1718
1381
|
return _this171.authStream(callback, 'GET', "/integration_hubs/".concat(integration_hub_id), {
|
|
1719
1382
|
fields
|
|
1720
1383
|
}, null, options);
|
|
1721
1384
|
})();
|
|
1722
1385
|
}
|
|
1723
|
-
|
|
1724
1386
|
update_integration_hub(callback, integration_hub_id, body, fields, options) {
|
|
1725
1387
|
var _this172 = this;
|
|
1726
|
-
|
|
1727
1388
|
return _asyncToGenerator(function* () {
|
|
1728
1389
|
return _this172.authStream(callback, 'PATCH', "/integration_hubs/".concat(integration_hub_id), {
|
|
1729
1390
|
fields
|
|
1730
1391
|
}, body, options);
|
|
1731
1392
|
})();
|
|
1732
1393
|
}
|
|
1733
|
-
|
|
1734
1394
|
delete_integration_hub(callback, integration_hub_id, options) {
|
|
1735
1395
|
var _this173 = this;
|
|
1736
|
-
|
|
1737
1396
|
return _asyncToGenerator(function* () {
|
|
1738
1397
|
return _this173.authStream(callback, 'DELETE', "/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
1739
1398
|
})();
|
|
1740
1399
|
}
|
|
1741
|
-
|
|
1742
1400
|
accept_integration_hub_legal_agreement(callback, integration_hub_id, options) {
|
|
1743
1401
|
var _this174 = this;
|
|
1744
|
-
|
|
1745
1402
|
return _asyncToGenerator(function* () {
|
|
1746
1403
|
return _this174.authStream(callback, 'POST', "/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
1747
1404
|
})();
|
|
1748
1405
|
}
|
|
1749
|
-
|
|
1750
1406
|
all_integrations(callback, request, options) {
|
|
1751
1407
|
var _this175 = this;
|
|
1752
|
-
|
|
1753
1408
|
return _asyncToGenerator(function* () {
|
|
1754
1409
|
return _this175.authStream(callback, 'GET', '/integrations', {
|
|
1755
1410
|
fields: request.fields,
|
|
@@ -1757,70 +1412,56 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1757
1412
|
}, null, options);
|
|
1758
1413
|
})();
|
|
1759
1414
|
}
|
|
1760
|
-
|
|
1761
1415
|
integration(callback, integration_id, fields, options) {
|
|
1762
1416
|
var _this176 = this;
|
|
1763
|
-
|
|
1764
1417
|
return _asyncToGenerator(function* () {
|
|
1765
|
-
integration_id = encodeParam(integration_id);
|
|
1418
|
+
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1766
1419
|
return _this176.authStream(callback, 'GET', "/integrations/".concat(integration_id), {
|
|
1767
1420
|
fields
|
|
1768
1421
|
}, null, options);
|
|
1769
1422
|
})();
|
|
1770
1423
|
}
|
|
1771
|
-
|
|
1772
1424
|
update_integration(callback, integration_id, body, fields, options) {
|
|
1773
1425
|
var _this177 = this;
|
|
1774
|
-
|
|
1775
1426
|
return _asyncToGenerator(function* () {
|
|
1776
|
-
integration_id = encodeParam(integration_id);
|
|
1427
|
+
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1777
1428
|
return _this177.authStream(callback, 'PATCH', "/integrations/".concat(integration_id), {
|
|
1778
1429
|
fields
|
|
1779
1430
|
}, body, options);
|
|
1780
1431
|
})();
|
|
1781
1432
|
}
|
|
1782
|
-
|
|
1783
1433
|
fetch_integration_form(callback, integration_id, body, options) {
|
|
1784
1434
|
var _this178 = this;
|
|
1785
|
-
|
|
1786
1435
|
return _asyncToGenerator(function* () {
|
|
1787
|
-
integration_id = encodeParam(integration_id);
|
|
1436
|
+
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1788
1437
|
return _this178.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
1789
1438
|
})();
|
|
1790
1439
|
}
|
|
1791
|
-
|
|
1792
1440
|
test_integration(callback, integration_id, options) {
|
|
1793
1441
|
var _this179 = this;
|
|
1794
|
-
|
|
1795
1442
|
return _asyncToGenerator(function* () {
|
|
1796
|
-
integration_id = encodeParam(integration_id);
|
|
1443
|
+
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1797
1444
|
return _this179.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
1798
1445
|
})();
|
|
1799
1446
|
}
|
|
1800
|
-
|
|
1801
1447
|
all_looks(callback, fields, options) {
|
|
1802
1448
|
var _this180 = this;
|
|
1803
|
-
|
|
1804
1449
|
return _asyncToGenerator(function* () {
|
|
1805
1450
|
return _this180.authStream(callback, 'GET', '/looks', {
|
|
1806
1451
|
fields
|
|
1807
1452
|
}, null, options);
|
|
1808
1453
|
})();
|
|
1809
1454
|
}
|
|
1810
|
-
|
|
1811
1455
|
create_look(callback, body, fields, options) {
|
|
1812
1456
|
var _this181 = this;
|
|
1813
|
-
|
|
1814
1457
|
return _asyncToGenerator(function* () {
|
|
1815
1458
|
return _this181.authStream(callback, 'POST', '/looks', {
|
|
1816
1459
|
fields
|
|
1817
1460
|
}, body, options);
|
|
1818
1461
|
})();
|
|
1819
1462
|
}
|
|
1820
|
-
|
|
1821
1463
|
search_looks(callback, request, options) {
|
|
1822
1464
|
var _this182 = this;
|
|
1823
|
-
|
|
1824
1465
|
return _asyncToGenerator(function* () {
|
|
1825
1466
|
return _this182.authStream(callback, 'GET', '/looks/search', {
|
|
1826
1467
|
id: request.id,
|
|
@@ -1841,40 +1482,32 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1841
1482
|
}, null, options);
|
|
1842
1483
|
})();
|
|
1843
1484
|
}
|
|
1844
|
-
|
|
1845
1485
|
look(callback, look_id, fields, options) {
|
|
1846
1486
|
var _this183 = this;
|
|
1847
|
-
|
|
1848
1487
|
return _asyncToGenerator(function* () {
|
|
1849
1488
|
return _this183.authStream(callback, 'GET', "/looks/".concat(look_id), {
|
|
1850
1489
|
fields
|
|
1851
1490
|
}, null, options);
|
|
1852
1491
|
})();
|
|
1853
1492
|
}
|
|
1854
|
-
|
|
1855
1493
|
update_look(callback, look_id, body, fields, options) {
|
|
1856
1494
|
var _this184 = this;
|
|
1857
|
-
|
|
1858
1495
|
return _asyncToGenerator(function* () {
|
|
1859
1496
|
return _this184.authStream(callback, 'PATCH', "/looks/".concat(look_id), {
|
|
1860
1497
|
fields
|
|
1861
1498
|
}, body, options);
|
|
1862
1499
|
})();
|
|
1863
1500
|
}
|
|
1864
|
-
|
|
1865
1501
|
delete_look(callback, look_id, options) {
|
|
1866
1502
|
var _this185 = this;
|
|
1867
|
-
|
|
1868
1503
|
return _asyncToGenerator(function* () {
|
|
1869
1504
|
return _this185.authStream(callback, 'DELETE', "/looks/".concat(look_id), null, null, options);
|
|
1870
1505
|
})();
|
|
1871
1506
|
}
|
|
1872
|
-
|
|
1873
1507
|
run_look(callback, request, options) {
|
|
1874
1508
|
var _this186 = this;
|
|
1875
|
-
|
|
1876
1509
|
return _asyncToGenerator(function* () {
|
|
1877
|
-
request.result_format = encodeParam(request.result_format);
|
|
1510
|
+
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
1878
1511
|
return _this186.authStream(callback, 'GET', "/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
1879
1512
|
limit: request.limit,
|
|
1880
1513
|
apply_formatting: request.apply_formatting,
|
|
@@ -1891,324 +1524,260 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
1891
1524
|
}, null, options);
|
|
1892
1525
|
})();
|
|
1893
1526
|
}
|
|
1894
|
-
|
|
1895
1527
|
all_lookml_models(callback, fields, options) {
|
|
1896
1528
|
var _this187 = this;
|
|
1897
|
-
|
|
1898
1529
|
return _asyncToGenerator(function* () {
|
|
1899
1530
|
return _this187.authStream(callback, 'GET', '/lookml_models', {
|
|
1900
1531
|
fields
|
|
1901
1532
|
}, null, options);
|
|
1902
1533
|
})();
|
|
1903
1534
|
}
|
|
1904
|
-
|
|
1905
1535
|
create_lookml_model(callback, body, options) {
|
|
1906
1536
|
var _this188 = this;
|
|
1907
|
-
|
|
1908
1537
|
return _asyncToGenerator(function* () {
|
|
1909
1538
|
return _this188.authStream(callback, 'POST', '/lookml_models', null, body, options);
|
|
1910
1539
|
})();
|
|
1911
1540
|
}
|
|
1912
|
-
|
|
1913
1541
|
lookml_model(callback, lookml_model_name, fields, options) {
|
|
1914
1542
|
var _this189 = this;
|
|
1915
|
-
|
|
1916
1543
|
return _asyncToGenerator(function* () {
|
|
1917
|
-
lookml_model_name = encodeParam(lookml_model_name);
|
|
1544
|
+
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1918
1545
|
return _this189.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name), {
|
|
1919
1546
|
fields
|
|
1920
1547
|
}, null, options);
|
|
1921
1548
|
})();
|
|
1922
1549
|
}
|
|
1923
|
-
|
|
1924
1550
|
update_lookml_model(callback, lookml_model_name, body, options) {
|
|
1925
1551
|
var _this190 = this;
|
|
1926
|
-
|
|
1927
1552
|
return _asyncToGenerator(function* () {
|
|
1928
|
-
lookml_model_name = encodeParam(lookml_model_name);
|
|
1553
|
+
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1929
1554
|
return _this190.authStream(callback, 'PATCH', "/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
1930
1555
|
})();
|
|
1931
1556
|
}
|
|
1932
|
-
|
|
1933
1557
|
delete_lookml_model(callback, lookml_model_name, options) {
|
|
1934
1558
|
var _this191 = this;
|
|
1935
|
-
|
|
1936
1559
|
return _asyncToGenerator(function* () {
|
|
1937
|
-
lookml_model_name = encodeParam(lookml_model_name);
|
|
1560
|
+
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1938
1561
|
return _this191.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
1939
1562
|
})();
|
|
1940
1563
|
}
|
|
1941
|
-
|
|
1942
1564
|
lookml_model_explore(callback, lookml_model_name, explore_name, fields, options) {
|
|
1943
1565
|
var _this192 = this;
|
|
1944
|
-
|
|
1945
1566
|
return _asyncToGenerator(function* () {
|
|
1946
|
-
lookml_model_name = encodeParam(lookml_model_name);
|
|
1947
|
-
explore_name = encodeParam(explore_name);
|
|
1567
|
+
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1568
|
+
explore_name = (0, _sdkRtl.encodeParam)(explore_name);
|
|
1948
1569
|
return _this192.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
1949
1570
|
fields
|
|
1950
1571
|
}, null, options);
|
|
1951
1572
|
})();
|
|
1952
1573
|
}
|
|
1953
|
-
|
|
1954
1574
|
all_git_branches(callback, project_id, options) {
|
|
1955
1575
|
var _this193 = this;
|
|
1956
|
-
|
|
1957
1576
|
return _asyncToGenerator(function* () {
|
|
1958
|
-
project_id = encodeParam(project_id);
|
|
1577
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1959
1578
|
return _this193.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
1960
1579
|
})();
|
|
1961
1580
|
}
|
|
1962
|
-
|
|
1963
1581
|
git_branch(callback, project_id, options) {
|
|
1964
1582
|
var _this194 = this;
|
|
1965
|
-
|
|
1966
1583
|
return _asyncToGenerator(function* () {
|
|
1967
|
-
project_id = encodeParam(project_id);
|
|
1584
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1968
1585
|
return _this194.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
1969
1586
|
})();
|
|
1970
1587
|
}
|
|
1971
|
-
|
|
1972
1588
|
update_git_branch(callback, project_id, body, options) {
|
|
1973
1589
|
var _this195 = this;
|
|
1974
|
-
|
|
1975
1590
|
return _asyncToGenerator(function* () {
|
|
1976
|
-
project_id = encodeParam(project_id);
|
|
1591
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1977
1592
|
return _this195.authStream(callback, 'PUT', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
1978
1593
|
})();
|
|
1979
1594
|
}
|
|
1980
|
-
|
|
1981
1595
|
create_git_branch(callback, project_id, body, options) {
|
|
1982
1596
|
var _this196 = this;
|
|
1983
|
-
|
|
1984
1597
|
return _asyncToGenerator(function* () {
|
|
1985
|
-
project_id = encodeParam(project_id);
|
|
1598
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1986
1599
|
return _this196.authStream(callback, 'POST', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
1987
1600
|
})();
|
|
1988
1601
|
}
|
|
1989
|
-
|
|
1990
1602
|
find_git_branch(callback, project_id, branch_name, options) {
|
|
1991
1603
|
var _this197 = this;
|
|
1992
|
-
|
|
1993
1604
|
return _asyncToGenerator(function* () {
|
|
1994
|
-
project_id = encodeParam(project_id);
|
|
1995
|
-
branch_name = encodeParam(branch_name);
|
|
1605
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1606
|
+
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
1996
1607
|
return _this197.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
1997
1608
|
})();
|
|
1998
1609
|
}
|
|
1999
|
-
|
|
2000
1610
|
delete_git_branch(callback, project_id, branch_name, options) {
|
|
2001
1611
|
var _this198 = this;
|
|
2002
|
-
|
|
2003
1612
|
return _asyncToGenerator(function* () {
|
|
2004
|
-
project_id = encodeParam(project_id);
|
|
2005
|
-
branch_name = encodeParam(branch_name);
|
|
1613
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1614
|
+
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2006
1615
|
return _this198.authStream(callback, 'DELETE', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2007
1616
|
})();
|
|
2008
1617
|
}
|
|
2009
|
-
|
|
2010
1618
|
deploy_ref_to_production(callback, request, options) {
|
|
2011
1619
|
var _this199 = this;
|
|
2012
|
-
|
|
2013
1620
|
return _asyncToGenerator(function* () {
|
|
2014
|
-
request.project_id = encodeParam(request.project_id);
|
|
1621
|
+
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2015
1622
|
return _this199.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2016
1623
|
branch: request.branch,
|
|
2017
1624
|
ref: request.ref
|
|
2018
1625
|
}, null, options);
|
|
2019
1626
|
})();
|
|
2020
1627
|
}
|
|
2021
|
-
|
|
2022
1628
|
deploy_to_production(callback, project_id, options) {
|
|
2023
1629
|
var _this200 = this;
|
|
2024
|
-
|
|
2025
1630
|
return _asyncToGenerator(function* () {
|
|
2026
|
-
project_id = encodeParam(project_id);
|
|
1631
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2027
1632
|
return _this200.authStream(callback, 'POST', "/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2028
1633
|
})();
|
|
2029
1634
|
}
|
|
2030
|
-
|
|
2031
1635
|
reset_project_to_production(callback, project_id, options) {
|
|
2032
1636
|
var _this201 = this;
|
|
2033
|
-
|
|
2034
1637
|
return _asyncToGenerator(function* () {
|
|
2035
|
-
project_id = encodeParam(project_id);
|
|
1638
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2036
1639
|
return _this201.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2037
1640
|
})();
|
|
2038
1641
|
}
|
|
2039
|
-
|
|
2040
1642
|
reset_project_to_remote(callback, project_id, options) {
|
|
2041
1643
|
var _this202 = this;
|
|
2042
|
-
|
|
2043
1644
|
return _asyncToGenerator(function* () {
|
|
2044
|
-
project_id = encodeParam(project_id);
|
|
1645
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2045
1646
|
return _this202.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2046
1647
|
})();
|
|
2047
1648
|
}
|
|
2048
|
-
|
|
2049
1649
|
all_projects(callback, fields, options) {
|
|
2050
1650
|
var _this203 = this;
|
|
2051
|
-
|
|
2052
1651
|
return _asyncToGenerator(function* () {
|
|
2053
1652
|
return _this203.authStream(callback, 'GET', '/projects', {
|
|
2054
1653
|
fields
|
|
2055
1654
|
}, null, options);
|
|
2056
1655
|
})();
|
|
2057
1656
|
}
|
|
2058
|
-
|
|
2059
1657
|
create_project(callback, body, options) {
|
|
2060
1658
|
var _this204 = this;
|
|
2061
|
-
|
|
2062
1659
|
return _asyncToGenerator(function* () {
|
|
2063
1660
|
return _this204.authStream(callback, 'POST', '/projects', null, body, options);
|
|
2064
1661
|
})();
|
|
2065
1662
|
}
|
|
2066
|
-
|
|
2067
1663
|
project(callback, project_id, fields, options) {
|
|
2068
1664
|
var _this205 = this;
|
|
2069
|
-
|
|
2070
1665
|
return _asyncToGenerator(function* () {
|
|
2071
|
-
project_id = encodeParam(project_id);
|
|
1666
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2072
1667
|
return _this205.authStream(callback, 'GET', "/projects/".concat(project_id), {
|
|
2073
1668
|
fields
|
|
2074
1669
|
}, null, options);
|
|
2075
1670
|
})();
|
|
2076
1671
|
}
|
|
2077
|
-
|
|
2078
1672
|
update_project(callback, project_id, body, fields, options) {
|
|
2079
1673
|
var _this206 = this;
|
|
2080
|
-
|
|
2081
1674
|
return _asyncToGenerator(function* () {
|
|
2082
|
-
project_id = encodeParam(project_id);
|
|
1675
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2083
1676
|
return _this206.authStream(callback, 'PATCH', "/projects/".concat(project_id), {
|
|
2084
1677
|
fields
|
|
2085
1678
|
}, body, options);
|
|
2086
1679
|
})();
|
|
2087
1680
|
}
|
|
2088
|
-
|
|
2089
1681
|
manifest(callback, project_id, options) {
|
|
2090
1682
|
var _this207 = this;
|
|
2091
|
-
|
|
2092
1683
|
return _asyncToGenerator(function* () {
|
|
2093
|
-
project_id = encodeParam(project_id);
|
|
1684
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2094
1685
|
return _this207.authStream(callback, 'GET', "/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2095
1686
|
})();
|
|
2096
1687
|
}
|
|
2097
|
-
|
|
2098
1688
|
git_deploy_key(callback, project_id, options) {
|
|
2099
1689
|
var _this208 = this;
|
|
2100
|
-
|
|
2101
1690
|
return _asyncToGenerator(function* () {
|
|
2102
|
-
project_id = encodeParam(project_id);
|
|
1691
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2103
1692
|
return _this208.authStream(callback, 'GET', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2104
1693
|
})();
|
|
2105
1694
|
}
|
|
2106
|
-
|
|
2107
1695
|
create_git_deploy_key(callback, project_id, options) {
|
|
2108
1696
|
var _this209 = this;
|
|
2109
|
-
|
|
2110
1697
|
return _asyncToGenerator(function* () {
|
|
2111
|
-
project_id = encodeParam(project_id);
|
|
1698
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2112
1699
|
return _this209.authStream(callback, 'POST', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2113
1700
|
})();
|
|
2114
1701
|
}
|
|
2115
|
-
|
|
2116
1702
|
project_validation_results(callback, project_id, fields, options) {
|
|
2117
1703
|
var _this210 = this;
|
|
2118
|
-
|
|
2119
1704
|
return _asyncToGenerator(function* () {
|
|
2120
|
-
project_id = encodeParam(project_id);
|
|
1705
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2121
1706
|
return _this210.authStream(callback, 'GET', "/projects/".concat(project_id, "/validate"), {
|
|
2122
1707
|
fields
|
|
2123
1708
|
}, null, options);
|
|
2124
1709
|
})();
|
|
2125
1710
|
}
|
|
2126
|
-
|
|
2127
1711
|
validate_project(callback, project_id, fields, options) {
|
|
2128
1712
|
var _this211 = this;
|
|
2129
|
-
|
|
2130
1713
|
return _asyncToGenerator(function* () {
|
|
2131
|
-
project_id = encodeParam(project_id);
|
|
1714
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2132
1715
|
return _this211.authStream(callback, 'POST', "/projects/".concat(project_id, "/validate"), {
|
|
2133
1716
|
fields
|
|
2134
1717
|
}, null, options);
|
|
2135
1718
|
})();
|
|
2136
1719
|
}
|
|
2137
|
-
|
|
2138
1720
|
project_workspace(callback, project_id, fields, options) {
|
|
2139
1721
|
var _this212 = this;
|
|
2140
|
-
|
|
2141
1722
|
return _asyncToGenerator(function* () {
|
|
2142
|
-
project_id = encodeParam(project_id);
|
|
1723
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2143
1724
|
return _this212.authStream(callback, 'GET', "/projects/".concat(project_id, "/current_workspace"), {
|
|
2144
1725
|
fields
|
|
2145
1726
|
}, null, options);
|
|
2146
1727
|
})();
|
|
2147
1728
|
}
|
|
2148
|
-
|
|
2149
1729
|
all_project_files(callback, project_id, fields, options) {
|
|
2150
1730
|
var _this213 = this;
|
|
2151
|
-
|
|
2152
1731
|
return _asyncToGenerator(function* () {
|
|
2153
|
-
project_id = encodeParam(project_id);
|
|
1732
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2154
1733
|
return _this213.authStream(callback, 'GET', "/projects/".concat(project_id, "/files"), {
|
|
2155
1734
|
fields
|
|
2156
1735
|
}, null, options);
|
|
2157
1736
|
})();
|
|
2158
1737
|
}
|
|
2159
|
-
|
|
2160
1738
|
project_file(callback, project_id, file_id, fields, options) {
|
|
2161
1739
|
var _this214 = this;
|
|
2162
|
-
|
|
2163
1740
|
return _asyncToGenerator(function* () {
|
|
2164
|
-
project_id = encodeParam(project_id);
|
|
1741
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2165
1742
|
return _this214.authStream(callback, 'GET', "/projects/".concat(project_id, "/files/file"), {
|
|
2166
1743
|
file_id,
|
|
2167
1744
|
fields
|
|
2168
1745
|
}, null, options);
|
|
2169
1746
|
})();
|
|
2170
1747
|
}
|
|
2171
|
-
|
|
2172
1748
|
all_git_connection_tests(callback, project_id, remote_url, options) {
|
|
2173
1749
|
var _this215 = this;
|
|
2174
|
-
|
|
2175
1750
|
return _asyncToGenerator(function* () {
|
|
2176
|
-
project_id = encodeParam(project_id);
|
|
1751
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2177
1752
|
return _this215.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2178
1753
|
remote_url
|
|
2179
1754
|
}, null, options);
|
|
2180
1755
|
})();
|
|
2181
1756
|
}
|
|
2182
|
-
|
|
2183
1757
|
run_git_connection_test(callback, request, options) {
|
|
2184
1758
|
var _this216 = this;
|
|
2185
|
-
|
|
2186
1759
|
return _asyncToGenerator(function* () {
|
|
2187
|
-
request.project_id = encodeParam(request.project_id);
|
|
2188
|
-
request.test_id = encodeParam(request.test_id);
|
|
1760
|
+
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
1761
|
+
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2189
1762
|
return _this216.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2190
1763
|
remote_url: request.remote_url,
|
|
2191
1764
|
use_production: request.use_production
|
|
2192
1765
|
}, null, options);
|
|
2193
1766
|
})();
|
|
2194
1767
|
}
|
|
2195
|
-
|
|
2196
1768
|
all_lookml_tests(callback, project_id, file_id, options) {
|
|
2197
1769
|
var _this217 = this;
|
|
2198
|
-
|
|
2199
1770
|
return _asyncToGenerator(function* () {
|
|
2200
|
-
project_id = encodeParam(project_id);
|
|
1771
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2201
1772
|
return _this217.authStream(callback, 'GET', "/projects/".concat(project_id, "/lookml_tests"), {
|
|
2202
1773
|
file_id
|
|
2203
1774
|
}, null, options);
|
|
2204
1775
|
})();
|
|
2205
1776
|
}
|
|
2206
|
-
|
|
2207
1777
|
run_lookml_test(callback, request, options) {
|
|
2208
1778
|
var _this218 = this;
|
|
2209
|
-
|
|
2210
1779
|
return _asyncToGenerator(function* () {
|
|
2211
|
-
request.project_id = encodeParam(request.project_id);
|
|
1780
|
+
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2212
1781
|
return _this218.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2213
1782
|
file_id: request.file_id,
|
|
2214
1783
|
test: request.test,
|
|
@@ -2216,12 +1785,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2216
1785
|
}, null, options);
|
|
2217
1786
|
})();
|
|
2218
1787
|
}
|
|
2219
|
-
|
|
2220
1788
|
tag_ref(callback, request, options) {
|
|
2221
1789
|
var _this219 = this;
|
|
2222
|
-
|
|
2223
1790
|
return _asyncToGenerator(function* () {
|
|
2224
|
-
request.project_id = encodeParam(request.project_id);
|
|
1791
|
+
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2225
1792
|
return _this219.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/tag"), {
|
|
2226
1793
|
commit_sha: request.commit_sha,
|
|
2227
1794
|
tag_name: request.tag_name,
|
|
@@ -2229,39 +1796,31 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2229
1796
|
}, request.body, options);
|
|
2230
1797
|
})();
|
|
2231
1798
|
}
|
|
2232
|
-
|
|
2233
1799
|
update_repository_credential(callback, root_project_id, credential_id, body, options) {
|
|
2234
1800
|
var _this220 = this;
|
|
2235
|
-
|
|
2236
1801
|
return _asyncToGenerator(function* () {
|
|
2237
|
-
root_project_id = encodeParam(root_project_id);
|
|
2238
|
-
credential_id = encodeParam(credential_id);
|
|
1802
|
+
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
1803
|
+
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2239
1804
|
return _this220.authStream(callback, 'PUT', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2240
1805
|
})();
|
|
2241
1806
|
}
|
|
2242
|
-
|
|
2243
1807
|
delete_repository_credential(callback, root_project_id, credential_id, options) {
|
|
2244
1808
|
var _this221 = this;
|
|
2245
|
-
|
|
2246
1809
|
return _asyncToGenerator(function* () {
|
|
2247
|
-
root_project_id = encodeParam(root_project_id);
|
|
2248
|
-
credential_id = encodeParam(credential_id);
|
|
1810
|
+
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
1811
|
+
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2249
1812
|
return _this221.authStream(callback, 'DELETE', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2250
1813
|
})();
|
|
2251
1814
|
}
|
|
2252
|
-
|
|
2253
1815
|
get_all_repository_credentials(callback, root_project_id, options) {
|
|
2254
1816
|
var _this222 = this;
|
|
2255
|
-
|
|
2256
1817
|
return _asyncToGenerator(function* () {
|
|
2257
|
-
root_project_id = encodeParam(root_project_id);
|
|
1818
|
+
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2258
1819
|
return _this222.authStream(callback, 'GET', "/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2259
1820
|
})();
|
|
2260
1821
|
}
|
|
2261
|
-
|
|
2262
1822
|
create_query_task(callback, request, options) {
|
|
2263
1823
|
var _this223 = this;
|
|
2264
|
-
|
|
2265
1824
|
return _asyncToGenerator(function* () {
|
|
2266
1825
|
return _this223.authStream(callback, 'POST', '/query_tasks', {
|
|
2267
1826
|
limit: request.limit,
|
|
@@ -2280,73 +1839,59 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2280
1839
|
}, request.body, options);
|
|
2281
1840
|
})();
|
|
2282
1841
|
}
|
|
2283
|
-
|
|
2284
1842
|
query_task_multi_results(callback, query_task_ids, options) {
|
|
2285
1843
|
var _this224 = this;
|
|
2286
|
-
|
|
2287
1844
|
return _asyncToGenerator(function* () {
|
|
2288
1845
|
return _this224.authStream(callback, 'GET', '/query_tasks/multi_results', {
|
|
2289
1846
|
query_task_ids
|
|
2290
1847
|
}, null, options);
|
|
2291
1848
|
})();
|
|
2292
1849
|
}
|
|
2293
|
-
|
|
2294
1850
|
query_task(callback, query_task_id, fields, options) {
|
|
2295
1851
|
var _this225 = this;
|
|
2296
|
-
|
|
2297
1852
|
return _asyncToGenerator(function* () {
|
|
2298
|
-
query_task_id = encodeParam(query_task_id);
|
|
1853
|
+
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2299
1854
|
return _this225.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id), {
|
|
2300
1855
|
fields
|
|
2301
1856
|
}, null, options);
|
|
2302
1857
|
})();
|
|
2303
1858
|
}
|
|
2304
|
-
|
|
2305
1859
|
query_task_results(callback, query_task_id, options) {
|
|
2306
1860
|
var _this226 = this;
|
|
2307
|
-
|
|
2308
1861
|
return _asyncToGenerator(function* () {
|
|
2309
|
-
query_task_id = encodeParam(query_task_id);
|
|
1862
|
+
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2310
1863
|
return _this226.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2311
1864
|
})();
|
|
2312
1865
|
}
|
|
2313
|
-
|
|
2314
1866
|
query(callback, query_id, fields, options) {
|
|
2315
1867
|
var _this227 = this;
|
|
2316
|
-
|
|
2317
1868
|
return _asyncToGenerator(function* () {
|
|
2318
1869
|
return _this227.authStream(callback, 'GET', "/queries/".concat(query_id), {
|
|
2319
1870
|
fields
|
|
2320
1871
|
}, null, options);
|
|
2321
1872
|
})();
|
|
2322
1873
|
}
|
|
2323
|
-
|
|
2324
1874
|
query_for_slug(callback, slug, fields, options) {
|
|
2325
1875
|
var _this228 = this;
|
|
2326
|
-
|
|
2327
1876
|
return _asyncToGenerator(function* () {
|
|
2328
|
-
slug = encodeParam(slug);
|
|
1877
|
+
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2329
1878
|
return _this228.authStream(callback, 'GET', "/queries/slug/".concat(slug), {
|
|
2330
1879
|
fields
|
|
2331
1880
|
}, null, options);
|
|
2332
1881
|
})();
|
|
2333
1882
|
}
|
|
2334
|
-
|
|
2335
1883
|
create_query(callback, body, fields, options) {
|
|
2336
1884
|
var _this229 = this;
|
|
2337
|
-
|
|
2338
1885
|
return _asyncToGenerator(function* () {
|
|
2339
1886
|
return _this229.authStream(callback, 'POST', '/queries', {
|
|
2340
1887
|
fields
|
|
2341
1888
|
}, body, options);
|
|
2342
1889
|
})();
|
|
2343
1890
|
}
|
|
2344
|
-
|
|
2345
1891
|
run_query(callback, request, options) {
|
|
2346
1892
|
var _this230 = this;
|
|
2347
|
-
|
|
2348
1893
|
return _asyncToGenerator(function* () {
|
|
2349
|
-
request.result_format = encodeParam(request.result_format);
|
|
1894
|
+
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2350
1895
|
return _this230.authStream(callback, 'GET', "/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2351
1896
|
limit: request.limit,
|
|
2352
1897
|
apply_formatting: request.apply_formatting,
|
|
@@ -2363,12 +1908,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2363
1908
|
}, null, options);
|
|
2364
1909
|
})();
|
|
2365
1910
|
}
|
|
2366
|
-
|
|
2367
1911
|
run_inline_query(callback, request, options) {
|
|
2368
1912
|
var _this231 = this;
|
|
2369
|
-
|
|
2370
1913
|
return _asyncToGenerator(function* () {
|
|
2371
|
-
request.result_format = encodeParam(request.result_format);
|
|
1914
|
+
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2372
1915
|
return _this231.authStream(callback, 'POST', "/queries/run/".concat(request.result_format), {
|
|
2373
1916
|
limit: request.limit,
|
|
2374
1917
|
apply_formatting: request.apply_formatting,
|
|
@@ -2385,91 +1928,73 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2385
1928
|
}, request.body, options);
|
|
2386
1929
|
})();
|
|
2387
1930
|
}
|
|
2388
|
-
|
|
2389
1931
|
run_url_encoded_query(callback, model_name, view_name, result_format, options) {
|
|
2390
1932
|
var _this232 = this;
|
|
2391
|
-
|
|
2392
1933
|
return _asyncToGenerator(function* () {
|
|
2393
|
-
model_name = encodeParam(model_name);
|
|
2394
|
-
view_name = encodeParam(view_name);
|
|
2395
|
-
result_format = encodeParam(result_format);
|
|
1934
|
+
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
1935
|
+
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
1936
|
+
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2396
1937
|
return _this232.authStream(callback, 'GET', "/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2397
1938
|
})();
|
|
2398
1939
|
}
|
|
2399
|
-
|
|
2400
1940
|
merge_query(callback, merge_query_id, fields, options) {
|
|
2401
1941
|
var _this233 = this;
|
|
2402
|
-
|
|
2403
1942
|
return _asyncToGenerator(function* () {
|
|
2404
|
-
merge_query_id = encodeParam(merge_query_id);
|
|
1943
|
+
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2405
1944
|
return _this233.authStream(callback, 'GET', "/merge_queries/".concat(merge_query_id), {
|
|
2406
1945
|
fields
|
|
2407
1946
|
}, null, options);
|
|
2408
1947
|
})();
|
|
2409
1948
|
}
|
|
2410
|
-
|
|
2411
1949
|
create_merge_query(callback, body, fields, options) {
|
|
2412
1950
|
var _this234 = this;
|
|
2413
|
-
|
|
2414
1951
|
return _asyncToGenerator(function* () {
|
|
2415
1952
|
return _this234.authStream(callback, 'POST', '/merge_queries', {
|
|
2416
1953
|
fields
|
|
2417
1954
|
}, body, options);
|
|
2418
1955
|
})();
|
|
2419
1956
|
}
|
|
2420
|
-
|
|
2421
1957
|
all_running_queries(callback, options) {
|
|
2422
1958
|
var _this235 = this;
|
|
2423
|
-
|
|
2424
1959
|
return _asyncToGenerator(function* () {
|
|
2425
1960
|
return _this235.authStream(callback, 'GET', '/running_queries', null, null, options);
|
|
2426
1961
|
})();
|
|
2427
1962
|
}
|
|
2428
|
-
|
|
2429
1963
|
kill_query(callback, query_task_id, options) {
|
|
2430
1964
|
var _this236 = this;
|
|
2431
|
-
|
|
2432
1965
|
return _asyncToGenerator(function* () {
|
|
2433
|
-
query_task_id = encodeParam(query_task_id);
|
|
1966
|
+
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2434
1967
|
return _this236.authStream(callback, 'DELETE', "/running_queries/".concat(query_task_id), null, null, options);
|
|
2435
1968
|
})();
|
|
2436
1969
|
}
|
|
2437
|
-
|
|
2438
1970
|
sql_query(callback, slug, options) {
|
|
2439
1971
|
var _this237 = this;
|
|
2440
|
-
|
|
2441
1972
|
return _asyncToGenerator(function* () {
|
|
2442
|
-
slug = encodeParam(slug);
|
|
1973
|
+
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2443
1974
|
return _this237.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
2444
1975
|
})();
|
|
2445
1976
|
}
|
|
2446
|
-
|
|
2447
1977
|
create_sql_query(callback, body, options) {
|
|
2448
1978
|
var _this238 = this;
|
|
2449
|
-
|
|
2450
1979
|
return _asyncToGenerator(function* () {
|
|
2451
1980
|
return _this238.authStream(callback, 'POST', '/sql_queries', null, body, options);
|
|
2452
1981
|
})();
|
|
2453
1982
|
}
|
|
2454
|
-
|
|
2455
1983
|
run_sql_query(callback, slug, result_format, download, options) {
|
|
2456
1984
|
var _this239 = this;
|
|
2457
|
-
|
|
2458
1985
|
return _asyncToGenerator(function* () {
|
|
2459
|
-
slug = encodeParam(slug);
|
|
2460
|
-
result_format = encodeParam(result_format);
|
|
1986
|
+
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
1987
|
+
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2461
1988
|
return _this239.authStream(callback, 'POST', "/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2462
1989
|
download
|
|
2463
1990
|
}, null, options);
|
|
2464
1991
|
})();
|
|
2465
1992
|
}
|
|
2466
|
-
|
|
2467
1993
|
create_lookml_dashboard_render_task(callback, request, options) {
|
|
2468
1994
|
var _this240 = this;
|
|
2469
|
-
|
|
2470
1995
|
return _asyncToGenerator(function* () {
|
|
2471
|
-
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
2472
|
-
request.result_format = encodeParam(request.result_format);
|
|
1996
|
+
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
1997
|
+
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2473
1998
|
return _this240.authStream(callback, 'POST', "/render_tasks/lookml_dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2474
1999
|
width: request.width,
|
|
2475
2000
|
height: request.height,
|
|
@@ -2479,12 +2004,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2479
2004
|
}, request.body, options);
|
|
2480
2005
|
})();
|
|
2481
2006
|
}
|
|
2482
|
-
|
|
2483
2007
|
create_look_render_task(callback, look_id, result_format, width, height, fields, options) {
|
|
2484
2008
|
var _this241 = this;
|
|
2485
|
-
|
|
2486
2009
|
return _asyncToGenerator(function* () {
|
|
2487
|
-
result_format = encodeParam(result_format);
|
|
2010
|
+
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2488
2011
|
return _this241.authStream(callback, 'POST', "/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2489
2012
|
width,
|
|
2490
2013
|
height,
|
|
@@ -2492,12 +2015,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2492
2015
|
}, null, options);
|
|
2493
2016
|
})();
|
|
2494
2017
|
}
|
|
2495
|
-
|
|
2496
2018
|
create_query_render_task(callback, query_id, result_format, width, height, fields, options) {
|
|
2497
2019
|
var _this242 = this;
|
|
2498
|
-
|
|
2499
2020
|
return _asyncToGenerator(function* () {
|
|
2500
|
-
result_format = encodeParam(result_format);
|
|
2021
|
+
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2501
2022
|
return _this242.authStream(callback, 'POST', "/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2502
2023
|
width,
|
|
2503
2024
|
height,
|
|
@@ -2505,12 +2026,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2505
2026
|
}, null, options);
|
|
2506
2027
|
})();
|
|
2507
2028
|
}
|
|
2508
|
-
|
|
2509
2029
|
create_dashboard_render_task(callback, request, options) {
|
|
2510
2030
|
var _this243 = this;
|
|
2511
|
-
|
|
2512
2031
|
return _asyncToGenerator(function* () {
|
|
2513
|
-
request.result_format = encodeParam(request.result_format);
|
|
2032
|
+
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2514
2033
|
return _this243.authStream(callback, 'POST', "/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2515
2034
|
width: request.width,
|
|
2516
2035
|
height: request.height,
|
|
@@ -2520,30 +2039,24 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2520
2039
|
}, request.body, options);
|
|
2521
2040
|
})();
|
|
2522
2041
|
}
|
|
2523
|
-
|
|
2524
2042
|
render_task(callback, render_task_id, fields, options) {
|
|
2525
2043
|
var _this244 = this;
|
|
2526
|
-
|
|
2527
2044
|
return _asyncToGenerator(function* () {
|
|
2528
|
-
render_task_id = encodeParam(render_task_id);
|
|
2045
|
+
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2529
2046
|
return _this244.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id), {
|
|
2530
2047
|
fields
|
|
2531
2048
|
}, null, options);
|
|
2532
2049
|
})();
|
|
2533
2050
|
}
|
|
2534
|
-
|
|
2535
2051
|
render_task_results(callback, render_task_id, options) {
|
|
2536
2052
|
var _this245 = this;
|
|
2537
|
-
|
|
2538
2053
|
return _asyncToGenerator(function* () {
|
|
2539
|
-
render_task_id = encodeParam(render_task_id);
|
|
2054
|
+
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2540
2055
|
return _this245.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2541
2056
|
})();
|
|
2542
2057
|
}
|
|
2543
|
-
|
|
2544
2058
|
search_model_sets(callback, request, options) {
|
|
2545
2059
|
var _this246 = this;
|
|
2546
|
-
|
|
2547
2060
|
return _asyncToGenerator(function* () {
|
|
2548
2061
|
return _this246.authStream(callback, 'GET', '/model_sets/search', {
|
|
2549
2062
|
fields: request.fields,
|
|
@@ -2558,62 +2071,48 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2558
2071
|
}, null, options);
|
|
2559
2072
|
})();
|
|
2560
2073
|
}
|
|
2561
|
-
|
|
2562
2074
|
model_set(callback, model_set_id, fields, options) {
|
|
2563
2075
|
var _this247 = this;
|
|
2564
|
-
|
|
2565
2076
|
return _asyncToGenerator(function* () {
|
|
2566
2077
|
return _this247.authStream(callback, 'GET', "/model_sets/".concat(model_set_id), {
|
|
2567
2078
|
fields
|
|
2568
2079
|
}, null, options);
|
|
2569
2080
|
})();
|
|
2570
2081
|
}
|
|
2571
|
-
|
|
2572
2082
|
update_model_set(callback, model_set_id, body, options) {
|
|
2573
2083
|
var _this248 = this;
|
|
2574
|
-
|
|
2575
2084
|
return _asyncToGenerator(function* () {
|
|
2576
2085
|
return _this248.authStream(callback, 'PATCH', "/model_sets/".concat(model_set_id), null, body, options);
|
|
2577
2086
|
})();
|
|
2578
2087
|
}
|
|
2579
|
-
|
|
2580
2088
|
delete_model_set(callback, model_set_id, options) {
|
|
2581
2089
|
var _this249 = this;
|
|
2582
|
-
|
|
2583
2090
|
return _asyncToGenerator(function* () {
|
|
2584
2091
|
return _this249.authStream(callback, 'DELETE', "/model_sets/".concat(model_set_id), null, null, options);
|
|
2585
2092
|
})();
|
|
2586
2093
|
}
|
|
2587
|
-
|
|
2588
2094
|
all_model_sets(callback, fields, options) {
|
|
2589
2095
|
var _this250 = this;
|
|
2590
|
-
|
|
2591
2096
|
return _asyncToGenerator(function* () {
|
|
2592
2097
|
return _this250.authStream(callback, 'GET', '/model_sets', {
|
|
2593
2098
|
fields
|
|
2594
2099
|
}, null, options);
|
|
2595
2100
|
})();
|
|
2596
2101
|
}
|
|
2597
|
-
|
|
2598
2102
|
create_model_set(callback, body, options) {
|
|
2599
2103
|
var _this251 = this;
|
|
2600
|
-
|
|
2601
2104
|
return _asyncToGenerator(function* () {
|
|
2602
2105
|
return _this251.authStream(callback, 'POST', '/model_sets', null, body, options);
|
|
2603
2106
|
})();
|
|
2604
2107
|
}
|
|
2605
|
-
|
|
2606
2108
|
all_permissions(callback, options) {
|
|
2607
2109
|
var _this252 = this;
|
|
2608
|
-
|
|
2609
2110
|
return _asyncToGenerator(function* () {
|
|
2610
2111
|
return _this252.authStream(callback, 'GET', '/permissions', null, null, options);
|
|
2611
2112
|
})();
|
|
2612
2113
|
}
|
|
2613
|
-
|
|
2614
2114
|
search_permission_sets(callback, request, options) {
|
|
2615
2115
|
var _this253 = this;
|
|
2616
|
-
|
|
2617
2116
|
return _asyncToGenerator(function* () {
|
|
2618
2117
|
return _this253.authStream(callback, 'GET', '/permission_sets/search', {
|
|
2619
2118
|
fields: request.fields,
|
|
@@ -2628,54 +2127,42 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2628
2127
|
}, null, options);
|
|
2629
2128
|
})();
|
|
2630
2129
|
}
|
|
2631
|
-
|
|
2632
2130
|
permission_set(callback, permission_set_id, fields, options) {
|
|
2633
2131
|
var _this254 = this;
|
|
2634
|
-
|
|
2635
2132
|
return _asyncToGenerator(function* () {
|
|
2636
2133
|
return _this254.authStream(callback, 'GET', "/permission_sets/".concat(permission_set_id), {
|
|
2637
2134
|
fields
|
|
2638
2135
|
}, null, options);
|
|
2639
2136
|
})();
|
|
2640
2137
|
}
|
|
2641
|
-
|
|
2642
2138
|
update_permission_set(callback, permission_set_id, body, options) {
|
|
2643
2139
|
var _this255 = this;
|
|
2644
|
-
|
|
2645
2140
|
return _asyncToGenerator(function* () {
|
|
2646
2141
|
return _this255.authStream(callback, 'PATCH', "/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2647
2142
|
})();
|
|
2648
2143
|
}
|
|
2649
|
-
|
|
2650
2144
|
delete_permission_set(callback, permission_set_id, options) {
|
|
2651
2145
|
var _this256 = this;
|
|
2652
|
-
|
|
2653
2146
|
return _asyncToGenerator(function* () {
|
|
2654
2147
|
return _this256.authStream(callback, 'DELETE', "/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2655
2148
|
})();
|
|
2656
2149
|
}
|
|
2657
|
-
|
|
2658
2150
|
all_permission_sets(callback, fields, options) {
|
|
2659
2151
|
var _this257 = this;
|
|
2660
|
-
|
|
2661
2152
|
return _asyncToGenerator(function* () {
|
|
2662
2153
|
return _this257.authStream(callback, 'GET', '/permission_sets', {
|
|
2663
2154
|
fields
|
|
2664
2155
|
}, null, options);
|
|
2665
2156
|
})();
|
|
2666
2157
|
}
|
|
2667
|
-
|
|
2668
2158
|
create_permission_set(callback, body, options) {
|
|
2669
2159
|
var _this258 = this;
|
|
2670
|
-
|
|
2671
2160
|
return _asyncToGenerator(function* () {
|
|
2672
2161
|
return _this258.authStream(callback, 'POST', '/permission_sets', null, body, options);
|
|
2673
2162
|
})();
|
|
2674
2163
|
}
|
|
2675
|
-
|
|
2676
2164
|
all_roles(callback, request, options) {
|
|
2677
2165
|
var _this259 = this;
|
|
2678
|
-
|
|
2679
2166
|
return _asyncToGenerator(function* () {
|
|
2680
2167
|
return _this259.authStream(callback, 'GET', '/roles', {
|
|
2681
2168
|
fields: request.fields,
|
|
@@ -2683,18 +2170,14 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2683
2170
|
}, null, options);
|
|
2684
2171
|
})();
|
|
2685
2172
|
}
|
|
2686
|
-
|
|
2687
2173
|
create_role(callback, body, options) {
|
|
2688
2174
|
var _this260 = this;
|
|
2689
|
-
|
|
2690
2175
|
return _asyncToGenerator(function* () {
|
|
2691
2176
|
return _this260.authStream(callback, 'POST', '/roles', null, body, options);
|
|
2692
2177
|
})();
|
|
2693
2178
|
}
|
|
2694
|
-
|
|
2695
2179
|
search_roles(callback, request, options) {
|
|
2696
2180
|
var _this261 = this;
|
|
2697
|
-
|
|
2698
2181
|
return _asyncToGenerator(function* () {
|
|
2699
2182
|
return _this261.authStream(callback, 'GET', '/roles/search', {
|
|
2700
2183
|
fields: request.fields,
|
|
@@ -2708,52 +2191,40 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2708
2191
|
}, null, options);
|
|
2709
2192
|
})();
|
|
2710
2193
|
}
|
|
2711
|
-
|
|
2712
2194
|
role(callback, role_id, options) {
|
|
2713
2195
|
var _this262 = this;
|
|
2714
|
-
|
|
2715
2196
|
return _asyncToGenerator(function* () {
|
|
2716
2197
|
return _this262.authStream(callback, 'GET', "/roles/".concat(role_id), null, null, options);
|
|
2717
2198
|
})();
|
|
2718
2199
|
}
|
|
2719
|
-
|
|
2720
2200
|
update_role(callback, role_id, body, options) {
|
|
2721
2201
|
var _this263 = this;
|
|
2722
|
-
|
|
2723
2202
|
return _asyncToGenerator(function* () {
|
|
2724
2203
|
return _this263.authStream(callback, 'PATCH', "/roles/".concat(role_id), null, body, options);
|
|
2725
2204
|
})();
|
|
2726
2205
|
}
|
|
2727
|
-
|
|
2728
2206
|
delete_role(callback, role_id, options) {
|
|
2729
2207
|
var _this264 = this;
|
|
2730
|
-
|
|
2731
2208
|
return _asyncToGenerator(function* () {
|
|
2732
2209
|
return _this264.authStream(callback, 'DELETE', "/roles/".concat(role_id), null, null, options);
|
|
2733
2210
|
})();
|
|
2734
2211
|
}
|
|
2735
|
-
|
|
2736
2212
|
role_groups(callback, role_id, fields, options) {
|
|
2737
2213
|
var _this265 = this;
|
|
2738
|
-
|
|
2739
2214
|
return _asyncToGenerator(function* () {
|
|
2740
2215
|
return _this265.authStream(callback, 'GET', "/roles/".concat(role_id, "/groups"), {
|
|
2741
2216
|
fields
|
|
2742
2217
|
}, null, options);
|
|
2743
2218
|
})();
|
|
2744
2219
|
}
|
|
2745
|
-
|
|
2746
2220
|
set_role_groups(callback, role_id, body, options) {
|
|
2747
2221
|
var _this266 = this;
|
|
2748
|
-
|
|
2749
2222
|
return _asyncToGenerator(function* () {
|
|
2750
2223
|
return _this266.authStream(callback, 'PUT', "/roles/".concat(role_id, "/groups"), null, body, options);
|
|
2751
2224
|
})();
|
|
2752
2225
|
}
|
|
2753
|
-
|
|
2754
2226
|
role_users(callback, request, options) {
|
|
2755
2227
|
var _this267 = this;
|
|
2756
|
-
|
|
2757
2228
|
return _asyncToGenerator(function* () {
|
|
2758
2229
|
return _this267.authStream(callback, 'GET', "/roles/".concat(request.role_id, "/users"), {
|
|
2759
2230
|
fields: request.fields,
|
|
@@ -2761,54 +2232,42 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2761
2232
|
}, null, options);
|
|
2762
2233
|
})();
|
|
2763
2234
|
}
|
|
2764
|
-
|
|
2765
2235
|
set_role_users(callback, role_id, body, options) {
|
|
2766
2236
|
var _this268 = this;
|
|
2767
|
-
|
|
2768
2237
|
return _asyncToGenerator(function* () {
|
|
2769
2238
|
return _this268.authStream(callback, 'PUT', "/roles/".concat(role_id, "/users"), null, body, options);
|
|
2770
2239
|
})();
|
|
2771
2240
|
}
|
|
2772
|
-
|
|
2773
2241
|
scheduled_plans_for_space(callback, space_id, fields, options) {
|
|
2774
2242
|
var _this269 = this;
|
|
2775
|
-
|
|
2776
2243
|
return _asyncToGenerator(function* () {
|
|
2777
2244
|
return _this269.authStream(callback, 'GET', "/scheduled_plans/space/".concat(space_id), {
|
|
2778
2245
|
fields
|
|
2779
2246
|
}, null, options);
|
|
2780
2247
|
})();
|
|
2781
2248
|
}
|
|
2782
|
-
|
|
2783
2249
|
scheduled_plan(callback, scheduled_plan_id, fields, options) {
|
|
2784
2250
|
var _this270 = this;
|
|
2785
|
-
|
|
2786
2251
|
return _asyncToGenerator(function* () {
|
|
2787
2252
|
return _this270.authStream(callback, 'GET', "/scheduled_plans/".concat(scheduled_plan_id), {
|
|
2788
2253
|
fields
|
|
2789
2254
|
}, null, options);
|
|
2790
2255
|
})();
|
|
2791
2256
|
}
|
|
2792
|
-
|
|
2793
2257
|
update_scheduled_plan(callback, scheduled_plan_id, body, options) {
|
|
2794
2258
|
var _this271 = this;
|
|
2795
|
-
|
|
2796
2259
|
return _asyncToGenerator(function* () {
|
|
2797
2260
|
return _this271.authStream(callback, 'PATCH', "/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
2798
2261
|
})();
|
|
2799
2262
|
}
|
|
2800
|
-
|
|
2801
2263
|
delete_scheduled_plan(callback, scheduled_plan_id, options) {
|
|
2802
2264
|
var _this272 = this;
|
|
2803
|
-
|
|
2804
2265
|
return _asyncToGenerator(function* () {
|
|
2805
2266
|
return _this272.authStream(callback, 'DELETE', "/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
2806
2267
|
})();
|
|
2807
2268
|
}
|
|
2808
|
-
|
|
2809
2269
|
all_scheduled_plans(callback, request, options) {
|
|
2810
2270
|
var _this273 = this;
|
|
2811
|
-
|
|
2812
2271
|
return _asyncToGenerator(function* () {
|
|
2813
2272
|
return _this273.authStream(callback, 'GET', '/scheduled_plans', {
|
|
2814
2273
|
user_id: request.user_id,
|
|
@@ -2817,26 +2276,20 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2817
2276
|
}, null, options);
|
|
2818
2277
|
})();
|
|
2819
2278
|
}
|
|
2820
|
-
|
|
2821
2279
|
create_scheduled_plan(callback, body, options) {
|
|
2822
2280
|
var _this274 = this;
|
|
2823
|
-
|
|
2824
2281
|
return _asyncToGenerator(function* () {
|
|
2825
2282
|
return _this274.authStream(callback, 'POST', '/scheduled_plans', null, body, options);
|
|
2826
2283
|
})();
|
|
2827
2284
|
}
|
|
2828
|
-
|
|
2829
2285
|
scheduled_plan_run_once(callback, body, options) {
|
|
2830
2286
|
var _this275 = this;
|
|
2831
|
-
|
|
2832
2287
|
return _asyncToGenerator(function* () {
|
|
2833
2288
|
return _this275.authStream(callback, 'POST', '/scheduled_plans/run_once', null, body, options);
|
|
2834
2289
|
})();
|
|
2835
2290
|
}
|
|
2836
|
-
|
|
2837
2291
|
scheduled_plans_for_look(callback, request, options) {
|
|
2838
2292
|
var _this276 = this;
|
|
2839
|
-
|
|
2840
2293
|
return _asyncToGenerator(function* () {
|
|
2841
2294
|
return _this276.authStream(callback, 'GET', "/scheduled_plans/look/".concat(request.look_id), {
|
|
2842
2295
|
user_id: request.user_id,
|
|
@@ -2845,10 +2298,8 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2845
2298
|
}, null, options);
|
|
2846
2299
|
})();
|
|
2847
2300
|
}
|
|
2848
|
-
|
|
2849
2301
|
scheduled_plans_for_dashboard(callback, request, options) {
|
|
2850
2302
|
var _this277 = this;
|
|
2851
|
-
|
|
2852
2303
|
return _asyncToGenerator(function* () {
|
|
2853
2304
|
return _this277.authStream(callback, 'GET', "/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
2854
2305
|
user_id: request.user_id,
|
|
@@ -2857,12 +2308,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2857
2308
|
}, null, options);
|
|
2858
2309
|
})();
|
|
2859
2310
|
}
|
|
2860
|
-
|
|
2861
2311
|
scheduled_plans_for_lookml_dashboard(callback, request, options) {
|
|
2862
2312
|
var _this278 = this;
|
|
2863
|
-
|
|
2864
2313
|
return _asyncToGenerator(function* () {
|
|
2865
|
-
request.lookml_dashboard_id = encodeParam(request.lookml_dashboard_id);
|
|
2314
|
+
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
2866
2315
|
return _this278.authStream(callback, 'GET', "/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
2867
2316
|
user_id: request.user_id,
|
|
2868
2317
|
fields: request.fields,
|
|
@@ -2870,34 +2319,26 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2870
2319
|
}, null, options);
|
|
2871
2320
|
})();
|
|
2872
2321
|
}
|
|
2873
|
-
|
|
2874
2322
|
scheduled_plan_run_once_by_id(callback, scheduled_plan_id, body, options) {
|
|
2875
2323
|
var _this279 = this;
|
|
2876
|
-
|
|
2877
2324
|
return _asyncToGenerator(function* () {
|
|
2878
2325
|
return _this279.authStream(callback, 'POST', "/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
2879
2326
|
})();
|
|
2880
2327
|
}
|
|
2881
|
-
|
|
2882
2328
|
session(callback, options) {
|
|
2883
2329
|
var _this280 = this;
|
|
2884
|
-
|
|
2885
2330
|
return _asyncToGenerator(function* () {
|
|
2886
2331
|
return _this280.authStream(callback, 'GET', '/session', null, null, options);
|
|
2887
2332
|
})();
|
|
2888
2333
|
}
|
|
2889
|
-
|
|
2890
2334
|
update_session(callback, body, options) {
|
|
2891
2335
|
var _this281 = this;
|
|
2892
|
-
|
|
2893
2336
|
return _asyncToGenerator(function* () {
|
|
2894
2337
|
return _this281.authStream(callback, 'PATCH', '/session', null, body, options);
|
|
2895
2338
|
})();
|
|
2896
2339
|
}
|
|
2897
|
-
|
|
2898
2340
|
search_spaces(callback, request, options) {
|
|
2899
2341
|
var _this282 = this;
|
|
2900
|
-
|
|
2901
2342
|
return _asyncToGenerator(function* () {
|
|
2902
2343
|
return _this282.authStream(callback, 'GET', '/spaces/search', {
|
|
2903
2344
|
fields: request.fields,
|
|
@@ -2915,59 +2356,47 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2915
2356
|
}, null, options);
|
|
2916
2357
|
})();
|
|
2917
2358
|
}
|
|
2918
|
-
|
|
2919
2359
|
space(callback, space_id, fields, options) {
|
|
2920
2360
|
var _this283 = this;
|
|
2921
|
-
|
|
2922
2361
|
return _asyncToGenerator(function* () {
|
|
2923
|
-
space_id = encodeParam(space_id);
|
|
2362
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2924
2363
|
return _this283.authStream(callback, 'GET', "/spaces/".concat(space_id), {
|
|
2925
2364
|
fields
|
|
2926
2365
|
}, null, options);
|
|
2927
2366
|
})();
|
|
2928
2367
|
}
|
|
2929
|
-
|
|
2930
2368
|
update_space(callback, space_id, body, options) {
|
|
2931
2369
|
var _this284 = this;
|
|
2932
|
-
|
|
2933
2370
|
return _asyncToGenerator(function* () {
|
|
2934
|
-
space_id = encodeParam(space_id);
|
|
2371
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2935
2372
|
return _this284.authStream(callback, 'PATCH', "/spaces/".concat(space_id), null, body, options);
|
|
2936
2373
|
})();
|
|
2937
2374
|
}
|
|
2938
|
-
|
|
2939
2375
|
delete_space(callback, space_id, options) {
|
|
2940
2376
|
var _this285 = this;
|
|
2941
|
-
|
|
2942
2377
|
return _asyncToGenerator(function* () {
|
|
2943
|
-
space_id = encodeParam(space_id);
|
|
2378
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2944
2379
|
return _this285.authStream(callback, 'DELETE', "/spaces/".concat(space_id), null, null, options);
|
|
2945
2380
|
})();
|
|
2946
2381
|
}
|
|
2947
|
-
|
|
2948
2382
|
all_spaces(callback, fields, options) {
|
|
2949
2383
|
var _this286 = this;
|
|
2950
|
-
|
|
2951
2384
|
return _asyncToGenerator(function* () {
|
|
2952
2385
|
return _this286.authStream(callback, 'GET', '/spaces', {
|
|
2953
2386
|
fields
|
|
2954
2387
|
}, null, options);
|
|
2955
2388
|
})();
|
|
2956
2389
|
}
|
|
2957
|
-
|
|
2958
2390
|
create_space(callback, body, options) {
|
|
2959
2391
|
var _this287 = this;
|
|
2960
|
-
|
|
2961
2392
|
return _asyncToGenerator(function* () {
|
|
2962
2393
|
return _this287.authStream(callback, 'POST', '/spaces', null, body, options);
|
|
2963
2394
|
})();
|
|
2964
2395
|
}
|
|
2965
|
-
|
|
2966
2396
|
space_children(callback, request, options) {
|
|
2967
2397
|
var _this288 = this;
|
|
2968
|
-
|
|
2969
2398
|
return _asyncToGenerator(function* () {
|
|
2970
|
-
request.space_id = encodeParam(request.space_id);
|
|
2399
|
+
request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
|
|
2971
2400
|
return _this288.authStream(callback, 'GET', "/spaces/".concat(request.space_id, "/children"), {
|
|
2972
2401
|
fields: request.fields,
|
|
2973
2402
|
page: request.page,
|
|
@@ -2976,12 +2405,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2976
2405
|
}, null, options);
|
|
2977
2406
|
})();
|
|
2978
2407
|
}
|
|
2979
|
-
|
|
2980
2408
|
space_children_search(callback, request, options) {
|
|
2981
2409
|
var _this289 = this;
|
|
2982
|
-
|
|
2983
2410
|
return _asyncToGenerator(function* () {
|
|
2984
|
-
request.space_id = encodeParam(request.space_id);
|
|
2411
|
+
request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
|
|
2985
2412
|
return _this289.authStream(callback, 'GET', "/spaces/".concat(request.space_id, "/children/search"), {
|
|
2986
2413
|
fields: request.fields,
|
|
2987
2414
|
sorts: request.sorts,
|
|
@@ -2989,72 +2416,58 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
2989
2416
|
}, null, options);
|
|
2990
2417
|
})();
|
|
2991
2418
|
}
|
|
2992
|
-
|
|
2993
2419
|
space_parent(callback, space_id, fields, options) {
|
|
2994
2420
|
var _this290 = this;
|
|
2995
|
-
|
|
2996
2421
|
return _asyncToGenerator(function* () {
|
|
2997
|
-
space_id = encodeParam(space_id);
|
|
2422
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2998
2423
|
return _this290.authStream(callback, 'GET', "/spaces/".concat(space_id, "/parent"), {
|
|
2999
2424
|
fields
|
|
3000
2425
|
}, null, options);
|
|
3001
2426
|
})();
|
|
3002
2427
|
}
|
|
3003
|
-
|
|
3004
2428
|
space_ancestors(callback, space_id, fields, options) {
|
|
3005
2429
|
var _this291 = this;
|
|
3006
|
-
|
|
3007
2430
|
return _asyncToGenerator(function* () {
|
|
3008
|
-
space_id = encodeParam(space_id);
|
|
2431
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3009
2432
|
return _this291.authStream(callback, 'GET', "/spaces/".concat(space_id, "/ancestors"), {
|
|
3010
2433
|
fields
|
|
3011
2434
|
}, null, options);
|
|
3012
2435
|
})();
|
|
3013
2436
|
}
|
|
3014
|
-
|
|
3015
2437
|
space_looks(callback, space_id, fields, options) {
|
|
3016
2438
|
var _this292 = this;
|
|
3017
|
-
|
|
3018
2439
|
return _asyncToGenerator(function* () {
|
|
3019
|
-
space_id = encodeParam(space_id);
|
|
2440
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3020
2441
|
return _this292.authStream(callback, 'GET', "/spaces/".concat(space_id, "/looks"), {
|
|
3021
2442
|
fields
|
|
3022
2443
|
}, null, options);
|
|
3023
2444
|
})();
|
|
3024
2445
|
}
|
|
3025
|
-
|
|
3026
2446
|
space_dashboards(callback, space_id, fields, options) {
|
|
3027
2447
|
var _this293 = this;
|
|
3028
|
-
|
|
3029
2448
|
return _asyncToGenerator(function* () {
|
|
3030
|
-
space_id = encodeParam(space_id);
|
|
2449
|
+
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3031
2450
|
return _this293.authStream(callback, 'GET', "/spaces/".concat(space_id, "/dashboards"), {
|
|
3032
2451
|
fields
|
|
3033
2452
|
}, null, options);
|
|
3034
2453
|
})();
|
|
3035
2454
|
}
|
|
3036
|
-
|
|
3037
2455
|
all_themes(callback, fields, options) {
|
|
3038
2456
|
var _this294 = this;
|
|
3039
|
-
|
|
3040
2457
|
return _asyncToGenerator(function* () {
|
|
3041
2458
|
return _this294.authStream(callback, 'GET', '/themes', {
|
|
3042
2459
|
fields
|
|
3043
2460
|
}, null, options);
|
|
3044
2461
|
})();
|
|
3045
2462
|
}
|
|
3046
|
-
|
|
3047
2463
|
create_theme(callback, body, options) {
|
|
3048
2464
|
var _this295 = this;
|
|
3049
|
-
|
|
3050
2465
|
return _asyncToGenerator(function* () {
|
|
3051
2466
|
return _this295.authStream(callback, 'POST', '/themes', null, body, options);
|
|
3052
2467
|
})();
|
|
3053
2468
|
}
|
|
3054
|
-
|
|
3055
2469
|
search_themes(callback, request, options) {
|
|
3056
2470
|
var _this296 = this;
|
|
3057
|
-
|
|
3058
2471
|
return _asyncToGenerator(function* () {
|
|
3059
2472
|
return _this296.authStream(callback, 'GET', '/themes/search', {
|
|
3060
2473
|
id: request.id,
|
|
@@ -3069,30 +2482,24 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3069
2482
|
}, null, options);
|
|
3070
2483
|
})();
|
|
3071
2484
|
}
|
|
3072
|
-
|
|
3073
2485
|
default_theme(callback, ts, options) {
|
|
3074
2486
|
var _this297 = this;
|
|
3075
|
-
|
|
3076
2487
|
return _asyncToGenerator(function* () {
|
|
3077
2488
|
return _this297.authStream(callback, 'GET', '/themes/default', {
|
|
3078
2489
|
ts
|
|
3079
2490
|
}, null, options);
|
|
3080
2491
|
})();
|
|
3081
2492
|
}
|
|
3082
|
-
|
|
3083
2493
|
set_default_theme(callback, name, options) {
|
|
3084
2494
|
var _this298 = this;
|
|
3085
|
-
|
|
3086
2495
|
return _asyncToGenerator(function* () {
|
|
3087
2496
|
return _this298.authStream(callback, 'PUT', '/themes/default', {
|
|
3088
2497
|
name
|
|
3089
2498
|
}, null, options);
|
|
3090
2499
|
})();
|
|
3091
2500
|
}
|
|
3092
|
-
|
|
3093
2501
|
active_themes(callback, request, options) {
|
|
3094
2502
|
var _this299 = this;
|
|
3095
|
-
|
|
3096
2503
|
return _asyncToGenerator(function* () {
|
|
3097
2504
|
return _this299.authStream(callback, 'GET', '/themes/active', {
|
|
3098
2505
|
name: request.name,
|
|
@@ -3101,10 +2508,8 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3101
2508
|
}, null, options);
|
|
3102
2509
|
})();
|
|
3103
2510
|
}
|
|
3104
|
-
|
|
3105
2511
|
theme_or_default(callback, name, ts, options) {
|
|
3106
2512
|
var _this300 = this;
|
|
3107
|
-
|
|
3108
2513
|
return _asyncToGenerator(function* () {
|
|
3109
2514
|
return _this300.authStream(callback, 'GET', '/themes/theme_or_default', {
|
|
3110
2515
|
name,
|
|
@@ -3112,57 +2517,45 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3112
2517
|
}, null, options);
|
|
3113
2518
|
})();
|
|
3114
2519
|
}
|
|
3115
|
-
|
|
3116
2520
|
validate_theme(callback, body, options) {
|
|
3117
2521
|
var _this301 = this;
|
|
3118
|
-
|
|
3119
2522
|
return _asyncToGenerator(function* () {
|
|
3120
2523
|
return _this301.authStream(callback, 'POST', '/themes/validate', null, body, options);
|
|
3121
2524
|
})();
|
|
3122
2525
|
}
|
|
3123
|
-
|
|
3124
2526
|
theme(callback, theme_id, fields, options) {
|
|
3125
2527
|
var _this302 = this;
|
|
3126
|
-
|
|
3127
2528
|
return _asyncToGenerator(function* () {
|
|
3128
|
-
theme_id = encodeParam(theme_id);
|
|
2529
|
+
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3129
2530
|
return _this302.authStream(callback, 'GET', "/themes/".concat(theme_id), {
|
|
3130
2531
|
fields
|
|
3131
2532
|
}, null, options);
|
|
3132
2533
|
})();
|
|
3133
2534
|
}
|
|
3134
|
-
|
|
3135
2535
|
update_theme(callback, theme_id, body, options) {
|
|
3136
2536
|
var _this303 = this;
|
|
3137
|
-
|
|
3138
2537
|
return _asyncToGenerator(function* () {
|
|
3139
|
-
theme_id = encodeParam(theme_id);
|
|
2538
|
+
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3140
2539
|
return _this303.authStream(callback, 'PATCH', "/themes/".concat(theme_id), null, body, options);
|
|
3141
2540
|
})();
|
|
3142
2541
|
}
|
|
3143
|
-
|
|
3144
2542
|
delete_theme(callback, theme_id, options) {
|
|
3145
2543
|
var _this304 = this;
|
|
3146
|
-
|
|
3147
2544
|
return _asyncToGenerator(function* () {
|
|
3148
|
-
theme_id = encodeParam(theme_id);
|
|
2545
|
+
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3149
2546
|
return _this304.authStream(callback, 'DELETE', "/themes/".concat(theme_id), null, null, options);
|
|
3150
2547
|
})();
|
|
3151
2548
|
}
|
|
3152
|
-
|
|
3153
2549
|
me(callback, fields, options) {
|
|
3154
2550
|
var _this305 = this;
|
|
3155
|
-
|
|
3156
2551
|
return _asyncToGenerator(function* () {
|
|
3157
2552
|
return _this305.authStream(callback, 'GET', '/user', {
|
|
3158
2553
|
fields
|
|
3159
2554
|
}, null, options);
|
|
3160
2555
|
})();
|
|
3161
2556
|
}
|
|
3162
|
-
|
|
3163
2557
|
all_users(callback, request, options) {
|
|
3164
2558
|
var _this306 = this;
|
|
3165
|
-
|
|
3166
2559
|
return _asyncToGenerator(function* () {
|
|
3167
2560
|
return _this306.authStream(callback, 'GET', '/users', {
|
|
3168
2561
|
fields: request.fields,
|
|
@@ -3173,20 +2566,16 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3173
2566
|
}, null, options);
|
|
3174
2567
|
})();
|
|
3175
2568
|
}
|
|
3176
|
-
|
|
3177
2569
|
create_user(callback, body, fields, options) {
|
|
3178
2570
|
var _this307 = this;
|
|
3179
|
-
|
|
3180
2571
|
return _asyncToGenerator(function* () {
|
|
3181
2572
|
return _this307.authStream(callback, 'POST', '/users', {
|
|
3182
2573
|
fields
|
|
3183
2574
|
}, body, options);
|
|
3184
2575
|
})();
|
|
3185
2576
|
}
|
|
3186
|
-
|
|
3187
2577
|
search_users(callback, request, options) {
|
|
3188
2578
|
var _this308 = this;
|
|
3189
|
-
|
|
3190
2579
|
return _asyncToGenerator(function* () {
|
|
3191
2580
|
return _this308.authStream(callback, 'GET', '/users/search', {
|
|
3192
2581
|
fields: request.fields,
|
|
@@ -3206,12 +2595,10 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3206
2595
|
}, null, options);
|
|
3207
2596
|
})();
|
|
3208
2597
|
}
|
|
3209
|
-
|
|
3210
2598
|
search_users_names(callback, request, options) {
|
|
3211
2599
|
var _this309 = this;
|
|
3212
|
-
|
|
3213
2600
|
return _asyncToGenerator(function* () {
|
|
3214
|
-
request.pattern = encodeParam(request.pattern);
|
|
2601
|
+
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3215
2602
|
return _this309.authStream(callback, 'GET', "/users/search/names/".concat(request.pattern), {
|
|
3216
2603
|
fields: request.fields,
|
|
3217
2604
|
page: request.page,
|
|
@@ -3226,300 +2613,236 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3226
2613
|
}, null, options);
|
|
3227
2614
|
})();
|
|
3228
2615
|
}
|
|
3229
|
-
|
|
3230
2616
|
user(callback, user_id, fields, options) {
|
|
3231
2617
|
var _this310 = this;
|
|
3232
|
-
|
|
3233
2618
|
return _asyncToGenerator(function* () {
|
|
3234
2619
|
return _this310.authStream(callback, 'GET', "/users/".concat(user_id), {
|
|
3235
2620
|
fields
|
|
3236
2621
|
}, null, options);
|
|
3237
2622
|
})();
|
|
3238
2623
|
}
|
|
3239
|
-
|
|
3240
2624
|
update_user(callback, user_id, body, fields, options) {
|
|
3241
2625
|
var _this311 = this;
|
|
3242
|
-
|
|
3243
2626
|
return _asyncToGenerator(function* () {
|
|
3244
2627
|
return _this311.authStream(callback, 'PATCH', "/users/".concat(user_id), {
|
|
3245
2628
|
fields
|
|
3246
2629
|
}, body, options);
|
|
3247
2630
|
})();
|
|
3248
2631
|
}
|
|
3249
|
-
|
|
3250
2632
|
delete_user(callback, user_id, options) {
|
|
3251
2633
|
var _this312 = this;
|
|
3252
|
-
|
|
3253
2634
|
return _asyncToGenerator(function* () {
|
|
3254
2635
|
return _this312.authStream(callback, 'DELETE', "/users/".concat(user_id), null, null, options);
|
|
3255
2636
|
})();
|
|
3256
2637
|
}
|
|
3257
|
-
|
|
3258
2638
|
user_for_credential(callback, credential_type, credential_id, fields, options) {
|
|
3259
2639
|
var _this313 = this;
|
|
3260
|
-
|
|
3261
2640
|
return _asyncToGenerator(function* () {
|
|
3262
|
-
credential_type = encodeParam(credential_type);
|
|
3263
|
-
credential_id = encodeParam(credential_id);
|
|
2641
|
+
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
2642
|
+
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3264
2643
|
return _this313.authStream(callback, 'GET', "/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3265
2644
|
fields
|
|
3266
2645
|
}, null, options);
|
|
3267
2646
|
})();
|
|
3268
2647
|
}
|
|
3269
|
-
|
|
3270
2648
|
user_credentials_email(callback, user_id, fields, options) {
|
|
3271
2649
|
var _this314 = this;
|
|
3272
|
-
|
|
3273
2650
|
return _asyncToGenerator(function* () {
|
|
3274
2651
|
return _this314.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_email"), {
|
|
3275
2652
|
fields
|
|
3276
2653
|
}, null, options);
|
|
3277
2654
|
})();
|
|
3278
2655
|
}
|
|
3279
|
-
|
|
3280
2656
|
create_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3281
2657
|
var _this315 = this;
|
|
3282
|
-
|
|
3283
2658
|
return _asyncToGenerator(function* () {
|
|
3284
2659
|
return _this315.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email"), {
|
|
3285
2660
|
fields
|
|
3286
2661
|
}, body, options);
|
|
3287
2662
|
})();
|
|
3288
2663
|
}
|
|
3289
|
-
|
|
3290
2664
|
update_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3291
2665
|
var _this316 = this;
|
|
3292
|
-
|
|
3293
2666
|
return _asyncToGenerator(function* () {
|
|
3294
2667
|
return _this316.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_email"), {
|
|
3295
2668
|
fields
|
|
3296
2669
|
}, body, options);
|
|
3297
2670
|
})();
|
|
3298
2671
|
}
|
|
3299
|
-
|
|
3300
2672
|
delete_user_credentials_email(callback, user_id, options) {
|
|
3301
2673
|
var _this317 = this;
|
|
3302
|
-
|
|
3303
2674
|
return _asyncToGenerator(function* () {
|
|
3304
2675
|
return _this317.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3305
2676
|
})();
|
|
3306
2677
|
}
|
|
3307
|
-
|
|
3308
2678
|
user_credentials_totp(callback, user_id, fields, options) {
|
|
3309
2679
|
var _this318 = this;
|
|
3310
|
-
|
|
3311
2680
|
return _asyncToGenerator(function* () {
|
|
3312
2681
|
return _this318.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3313
2682
|
fields
|
|
3314
2683
|
}, null, options);
|
|
3315
2684
|
})();
|
|
3316
2685
|
}
|
|
3317
|
-
|
|
3318
2686
|
create_user_credentials_totp(callback, user_id, body, fields, options) {
|
|
3319
2687
|
var _this319 = this;
|
|
3320
|
-
|
|
3321
2688
|
return _asyncToGenerator(function* () {
|
|
3322
2689
|
return _this319.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3323
2690
|
fields
|
|
3324
2691
|
}, body, options);
|
|
3325
2692
|
})();
|
|
3326
2693
|
}
|
|
3327
|
-
|
|
3328
2694
|
delete_user_credentials_totp(callback, user_id, options) {
|
|
3329
2695
|
var _this320 = this;
|
|
3330
|
-
|
|
3331
2696
|
return _asyncToGenerator(function* () {
|
|
3332
2697
|
return _this320.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3333
2698
|
})();
|
|
3334
2699
|
}
|
|
3335
|
-
|
|
3336
2700
|
user_credentials_ldap(callback, user_id, fields, options) {
|
|
3337
2701
|
var _this321 = this;
|
|
3338
|
-
|
|
3339
2702
|
return _asyncToGenerator(function* () {
|
|
3340
2703
|
return _this321.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_ldap"), {
|
|
3341
2704
|
fields
|
|
3342
2705
|
}, null, options);
|
|
3343
2706
|
})();
|
|
3344
2707
|
}
|
|
3345
|
-
|
|
3346
2708
|
delete_user_credentials_ldap(callback, user_id, options) {
|
|
3347
2709
|
var _this322 = this;
|
|
3348
|
-
|
|
3349
2710
|
return _asyncToGenerator(function* () {
|
|
3350
2711
|
return _this322.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3351
2712
|
})();
|
|
3352
2713
|
}
|
|
3353
|
-
|
|
3354
2714
|
user_credentials_google(callback, user_id, fields, options) {
|
|
3355
2715
|
var _this323 = this;
|
|
3356
|
-
|
|
3357
2716
|
return _asyncToGenerator(function* () {
|
|
3358
2717
|
return _this323.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_google"), {
|
|
3359
2718
|
fields
|
|
3360
2719
|
}, null, options);
|
|
3361
2720
|
})();
|
|
3362
2721
|
}
|
|
3363
|
-
|
|
3364
2722
|
delete_user_credentials_google(callback, user_id, options) {
|
|
3365
2723
|
var _this324 = this;
|
|
3366
|
-
|
|
3367
2724
|
return _asyncToGenerator(function* () {
|
|
3368
2725
|
return _this324.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3369
2726
|
})();
|
|
3370
2727
|
}
|
|
3371
|
-
|
|
3372
2728
|
user_credentials_saml(callback, user_id, fields, options) {
|
|
3373
2729
|
var _this325 = this;
|
|
3374
|
-
|
|
3375
2730
|
return _asyncToGenerator(function* () {
|
|
3376
2731
|
return _this325.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_saml"), {
|
|
3377
2732
|
fields
|
|
3378
2733
|
}, null, options);
|
|
3379
2734
|
})();
|
|
3380
2735
|
}
|
|
3381
|
-
|
|
3382
2736
|
delete_user_credentials_saml(callback, user_id, options) {
|
|
3383
2737
|
var _this326 = this;
|
|
3384
|
-
|
|
3385
2738
|
return _asyncToGenerator(function* () {
|
|
3386
2739
|
return _this326.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3387
2740
|
})();
|
|
3388
2741
|
}
|
|
3389
|
-
|
|
3390
2742
|
user_credentials_oidc(callback, user_id, fields, options) {
|
|
3391
2743
|
var _this327 = this;
|
|
3392
|
-
|
|
3393
2744
|
return _asyncToGenerator(function* () {
|
|
3394
2745
|
return _this327.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_oidc"), {
|
|
3395
2746
|
fields
|
|
3396
2747
|
}, null, options);
|
|
3397
2748
|
})();
|
|
3398
2749
|
}
|
|
3399
|
-
|
|
3400
2750
|
delete_user_credentials_oidc(callback, user_id, options) {
|
|
3401
2751
|
var _this328 = this;
|
|
3402
|
-
|
|
3403
2752
|
return _asyncToGenerator(function* () {
|
|
3404
2753
|
return _this328.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3405
2754
|
})();
|
|
3406
2755
|
}
|
|
3407
|
-
|
|
3408
2756
|
user_credentials_api3(callback, user_id, credentials_api3_id, fields, options) {
|
|
3409
2757
|
var _this329 = this;
|
|
3410
|
-
|
|
3411
2758
|
return _asyncToGenerator(function* () {
|
|
3412
2759
|
return _this329.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3413
2760
|
fields
|
|
3414
2761
|
}, null, options);
|
|
3415
2762
|
})();
|
|
3416
2763
|
}
|
|
3417
|
-
|
|
3418
2764
|
delete_user_credentials_api3(callback, user_id, credentials_api3_id, options) {
|
|
3419
2765
|
var _this330 = this;
|
|
3420
|
-
|
|
3421
2766
|
return _asyncToGenerator(function* () {
|
|
3422
2767
|
return _this330.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3423
2768
|
})();
|
|
3424
2769
|
}
|
|
3425
|
-
|
|
3426
2770
|
all_user_credentials_api3s(callback, user_id, fields, options) {
|
|
3427
2771
|
var _this331 = this;
|
|
3428
|
-
|
|
3429
2772
|
return _asyncToGenerator(function* () {
|
|
3430
2773
|
return _this331.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3431
2774
|
fields
|
|
3432
2775
|
}, null, options);
|
|
3433
2776
|
})();
|
|
3434
2777
|
}
|
|
3435
|
-
|
|
3436
2778
|
create_user_credentials_api3(callback, user_id, body, fields, options) {
|
|
3437
2779
|
var _this332 = this;
|
|
3438
|
-
|
|
3439
2780
|
return _asyncToGenerator(function* () {
|
|
3440
2781
|
return _this332.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3441
2782
|
fields
|
|
3442
2783
|
}, body, options);
|
|
3443
2784
|
})();
|
|
3444
2785
|
}
|
|
3445
|
-
|
|
3446
2786
|
user_credentials_embed(callback, user_id, credentials_embed_id, fields, options) {
|
|
3447
2787
|
var _this333 = this;
|
|
3448
|
-
|
|
3449
2788
|
return _asyncToGenerator(function* () {
|
|
3450
2789
|
return _this333.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3451
2790
|
fields
|
|
3452
2791
|
}, null, options);
|
|
3453
2792
|
})();
|
|
3454
2793
|
}
|
|
3455
|
-
|
|
3456
2794
|
delete_user_credentials_embed(callback, user_id, credentials_embed_id, options) {
|
|
3457
2795
|
var _this334 = this;
|
|
3458
|
-
|
|
3459
2796
|
return _asyncToGenerator(function* () {
|
|
3460
2797
|
return _this334.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3461
2798
|
})();
|
|
3462
2799
|
}
|
|
3463
|
-
|
|
3464
2800
|
all_user_credentials_embeds(callback, user_id, fields, options) {
|
|
3465
2801
|
var _this335 = this;
|
|
3466
|
-
|
|
3467
2802
|
return _asyncToGenerator(function* () {
|
|
3468
2803
|
return _this335.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed"), {
|
|
3469
2804
|
fields
|
|
3470
2805
|
}, null, options);
|
|
3471
2806
|
})();
|
|
3472
2807
|
}
|
|
3473
|
-
|
|
3474
2808
|
user_credentials_looker_openid(callback, user_id, fields, options) {
|
|
3475
2809
|
var _this336 = this;
|
|
3476
|
-
|
|
3477
2810
|
return _asyncToGenerator(function* () {
|
|
3478
2811
|
return _this336.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3479
2812
|
fields
|
|
3480
2813
|
}, null, options);
|
|
3481
2814
|
})();
|
|
3482
2815
|
}
|
|
3483
|
-
|
|
3484
2816
|
delete_user_credentials_looker_openid(callback, user_id, options) {
|
|
3485
2817
|
var _this337 = this;
|
|
3486
|
-
|
|
3487
2818
|
return _asyncToGenerator(function* () {
|
|
3488
2819
|
return _this337.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3489
2820
|
})();
|
|
3490
2821
|
}
|
|
3491
|
-
|
|
3492
2822
|
user_session(callback, user_id, session_id, fields, options) {
|
|
3493
2823
|
var _this338 = this;
|
|
3494
|
-
|
|
3495
2824
|
return _asyncToGenerator(function* () {
|
|
3496
2825
|
return _this338.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3497
2826
|
fields
|
|
3498
2827
|
}, null, options);
|
|
3499
2828
|
})();
|
|
3500
2829
|
}
|
|
3501
|
-
|
|
3502
2830
|
delete_user_session(callback, user_id, session_id, options) {
|
|
3503
2831
|
var _this339 = this;
|
|
3504
|
-
|
|
3505
2832
|
return _asyncToGenerator(function* () {
|
|
3506
2833
|
return _this339.authStream(callback, 'DELETE', "/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3507
2834
|
})();
|
|
3508
2835
|
}
|
|
3509
|
-
|
|
3510
2836
|
all_user_sessions(callback, user_id, fields, options) {
|
|
3511
2837
|
var _this340 = this;
|
|
3512
|
-
|
|
3513
2838
|
return _asyncToGenerator(function* () {
|
|
3514
2839
|
return _this340.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions"), {
|
|
3515
2840
|
fields
|
|
3516
2841
|
}, null, options);
|
|
3517
2842
|
})();
|
|
3518
2843
|
}
|
|
3519
|
-
|
|
3520
2844
|
create_user_credentials_email_password_reset(callback, request, options) {
|
|
3521
2845
|
var _this341 = this;
|
|
3522
|
-
|
|
3523
2846
|
return _asyncToGenerator(function* () {
|
|
3524
2847
|
return _this341.authStream(callback, 'POST', "/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3525
2848
|
expires: request.expires,
|
|
@@ -3527,10 +2850,8 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3527
2850
|
}, null, options);
|
|
3528
2851
|
})();
|
|
3529
2852
|
}
|
|
3530
|
-
|
|
3531
2853
|
user_roles(callback, request, options) {
|
|
3532
2854
|
var _this342 = this;
|
|
3533
|
-
|
|
3534
2855
|
return _asyncToGenerator(function* () {
|
|
3535
2856
|
return _this342.authStream(callback, 'GET', "/users/".concat(request.user_id, "/roles"), {
|
|
3536
2857
|
fields: request.fields,
|
|
@@ -3538,20 +2859,16 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3538
2859
|
}, null, options);
|
|
3539
2860
|
})();
|
|
3540
2861
|
}
|
|
3541
|
-
|
|
3542
2862
|
set_user_roles(callback, user_id, body, fields, options) {
|
|
3543
2863
|
var _this343 = this;
|
|
3544
|
-
|
|
3545
2864
|
return _asyncToGenerator(function* () {
|
|
3546
2865
|
return _this343.authStream(callback, 'PUT', "/users/".concat(user_id, "/roles"), {
|
|
3547
2866
|
fields
|
|
3548
2867
|
}, body, options);
|
|
3549
2868
|
})();
|
|
3550
2869
|
}
|
|
3551
|
-
|
|
3552
2870
|
user_attribute_user_values(callback, request, options) {
|
|
3553
2871
|
var _this344 = this;
|
|
3554
|
-
|
|
3555
2872
|
return _asyncToGenerator(function* () {
|
|
3556
2873
|
return _this344.authStream(callback, 'GET', "/users/".concat(request.user_id, "/attribute_values"), {
|
|
3557
2874
|
fields: request.fields,
|
|
@@ -3561,26 +2878,20 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3561
2878
|
}, null, options);
|
|
3562
2879
|
})();
|
|
3563
2880
|
}
|
|
3564
|
-
|
|
3565
2881
|
set_user_attribute_user_value(callback, user_id, user_attribute_id, body, options) {
|
|
3566
2882
|
var _this345 = this;
|
|
3567
|
-
|
|
3568
2883
|
return _asyncToGenerator(function* () {
|
|
3569
2884
|
return _this345.authStream(callback, 'PATCH', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3570
2885
|
})();
|
|
3571
2886
|
}
|
|
3572
|
-
|
|
3573
2887
|
delete_user_attribute_user_value(callback, user_id, user_attribute_id, options) {
|
|
3574
2888
|
var _this346 = this;
|
|
3575
|
-
|
|
3576
2889
|
return _asyncToGenerator(function* () {
|
|
3577
2890
|
return _this346.authStream(callback, 'DELETE', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3578
2891
|
})();
|
|
3579
2892
|
}
|
|
3580
|
-
|
|
3581
2893
|
all_user_attributes(callback, request, options) {
|
|
3582
2894
|
var _this347 = this;
|
|
3583
|
-
|
|
3584
2895
|
return _asyncToGenerator(function* () {
|
|
3585
2896
|
return _this347.authStream(callback, 'GET', '/user_attributes', {
|
|
3586
2897
|
fields: request.fields,
|
|
@@ -3588,81 +2899,64 @@ export class Looker31SDKStream extends APIMethods {
|
|
|
3588
2899
|
}, null, options);
|
|
3589
2900
|
})();
|
|
3590
2901
|
}
|
|
3591
|
-
|
|
3592
2902
|
create_user_attribute(callback, body, fields, options) {
|
|
3593
2903
|
var _this348 = this;
|
|
3594
|
-
|
|
3595
2904
|
return _asyncToGenerator(function* () {
|
|
3596
2905
|
return _this348.authStream(callback, 'POST', '/user_attributes', {
|
|
3597
2906
|
fields
|
|
3598
2907
|
}, body, options);
|
|
3599
2908
|
})();
|
|
3600
2909
|
}
|
|
3601
|
-
|
|
3602
2910
|
user_attribute(callback, user_attribute_id, fields, options) {
|
|
3603
2911
|
var _this349 = this;
|
|
3604
|
-
|
|
3605
2912
|
return _asyncToGenerator(function* () {
|
|
3606
2913
|
return _this349.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id), {
|
|
3607
2914
|
fields
|
|
3608
2915
|
}, null, options);
|
|
3609
2916
|
})();
|
|
3610
2917
|
}
|
|
3611
|
-
|
|
3612
2918
|
update_user_attribute(callback, user_attribute_id, body, fields, options) {
|
|
3613
2919
|
var _this350 = this;
|
|
3614
|
-
|
|
3615
2920
|
return _asyncToGenerator(function* () {
|
|
3616
2921
|
return _this350.authStream(callback, 'PATCH', "/user_attributes/".concat(user_attribute_id), {
|
|
3617
2922
|
fields
|
|
3618
2923
|
}, body, options);
|
|
3619
2924
|
})();
|
|
3620
2925
|
}
|
|
3621
|
-
|
|
3622
2926
|
delete_user_attribute(callback, user_attribute_id, options) {
|
|
3623
2927
|
var _this351 = this;
|
|
3624
|
-
|
|
3625
2928
|
return _asyncToGenerator(function* () {
|
|
3626
2929
|
return _this351.authStream(callback, 'DELETE', "/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3627
2930
|
})();
|
|
3628
2931
|
}
|
|
3629
|
-
|
|
3630
2932
|
all_user_attribute_group_values(callback, user_attribute_id, fields, options) {
|
|
3631
2933
|
var _this352 = this;
|
|
3632
|
-
|
|
3633
2934
|
return _asyncToGenerator(function* () {
|
|
3634
2935
|
return _this352.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3635
2936
|
fields
|
|
3636
2937
|
}, null, options);
|
|
3637
2938
|
})();
|
|
3638
2939
|
}
|
|
3639
|
-
|
|
3640
2940
|
set_user_attribute_group_values(callback, user_attribute_id, body, options) {
|
|
3641
2941
|
var _this353 = this;
|
|
3642
|
-
|
|
3643
2942
|
return _asyncToGenerator(function* () {
|
|
3644
2943
|
return _this353.authStream(callback, 'POST', "/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3645
2944
|
})();
|
|
3646
2945
|
}
|
|
3647
|
-
|
|
3648
2946
|
all_workspaces(callback, options) {
|
|
3649
2947
|
var _this354 = this;
|
|
3650
|
-
|
|
3651
2948
|
return _asyncToGenerator(function* () {
|
|
3652
2949
|
return _this354.authStream(callback, 'GET', '/workspaces', null, null, options);
|
|
3653
2950
|
})();
|
|
3654
2951
|
}
|
|
3655
|
-
|
|
3656
2952
|
workspace(callback, workspace_id, options) {
|
|
3657
2953
|
var _this355 = this;
|
|
3658
|
-
|
|
3659
2954
|
return _asyncToGenerator(function* () {
|
|
3660
|
-
workspace_id = encodeParam(workspace_id);
|
|
2955
|
+
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3661
2956
|
return _this355.authStream(callback, 'GET', "/workspaces/".concat(workspace_id), null, null, options);
|
|
3662
2957
|
})();
|
|
3663
2958
|
}
|
|
3664
|
-
|
|
3665
2959
|
}
|
|
3666
|
-
|
|
2960
|
+
exports.Looker31SDKStream = Looker31SDKStream;
|
|
3667
2961
|
_defineProperty(Looker31SDKStream, "ApiVersion", '3.1');
|
|
3668
2962
|
//# sourceMappingURL=streams.js.map
|