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