@looker/sdk 24.16.2 → 24.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/4.0/funcs.d.ts +5 -4
- package/lib/4.0/funcs.js +254 -228
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +5 -4
- package/lib/4.0/methods.js +175 -151
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +5 -4
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +26 -12
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +5 -4
- package/lib/4.0/streams.js +175 -151
- 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/4.0/funcs.js +252 -226
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +175 -151
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +175 -151
- 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 +2 -2
package/lib/4.0/methods.js
CHANGED
|
@@ -2964,7 +2964,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2964
2964
|
id: request.id,
|
|
2965
2965
|
name: request.name,
|
|
2966
2966
|
built_in: request.built_in,
|
|
2967
|
-
filter_or: request.filter_or
|
|
2967
|
+
filter_or: request.filter_or,
|
|
2968
|
+
is_support_role: request.is_support_role
|
|
2968
2969
|
}, null, options);
|
|
2969
2970
|
})();
|
|
2970
2971
|
}
|
|
@@ -3091,11 +3092,34 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3091
3092
|
return _this360.post('/scheduled_plans/run_once', null, body, options);
|
|
3092
3093
|
})();
|
|
3093
3094
|
}
|
|
3094
|
-
|
|
3095
|
+
search_scheduled_plans(request, options) {
|
|
3095
3096
|
var _this361 = this;
|
|
3097
|
+
return _asyncToGenerator(function* () {
|
|
3098
|
+
return _this361.get('/scheduled_plans/search', {
|
|
3099
|
+
user_id: request.user_id,
|
|
3100
|
+
fields: request.fields,
|
|
3101
|
+
all_users: request.all_users,
|
|
3102
|
+
limit: request.limit,
|
|
3103
|
+
offset: request.offset,
|
|
3104
|
+
sorts: request.sorts,
|
|
3105
|
+
name: request.name,
|
|
3106
|
+
user_first_name: request.user_first_name,
|
|
3107
|
+
user_last_name: request.user_last_name,
|
|
3108
|
+
dashboard_id: request.dashboard_id,
|
|
3109
|
+
look_id: request.look_id,
|
|
3110
|
+
lookml_dashboard_id: request.lookml_dashboard_id,
|
|
3111
|
+
recipient: request.recipient,
|
|
3112
|
+
destination_type: request.destination_type,
|
|
3113
|
+
delivery_format: request.delivery_format,
|
|
3114
|
+
filter_or: request.filter_or
|
|
3115
|
+
}, null, options);
|
|
3116
|
+
})();
|
|
3117
|
+
}
|
|
3118
|
+
scheduled_plans_for_look(request, options) {
|
|
3119
|
+
var _this362 = this;
|
|
3096
3120
|
return _asyncToGenerator(function* () {
|
|
3097
3121
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3098
|
-
return
|
|
3122
|
+
return _this362.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3099
3123
|
user_id: request.user_id,
|
|
3100
3124
|
fields: request.fields,
|
|
3101
3125
|
all_users: request.all_users
|
|
@@ -3103,10 +3127,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3103
3127
|
})();
|
|
3104
3128
|
}
|
|
3105
3129
|
scheduled_plans_for_dashboard(request, options) {
|
|
3106
|
-
var
|
|
3130
|
+
var _this363 = this;
|
|
3107
3131
|
return _asyncToGenerator(function* () {
|
|
3108
3132
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3109
|
-
return
|
|
3133
|
+
return _this363.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3110
3134
|
user_id: request.user_id,
|
|
3111
3135
|
all_users: request.all_users,
|
|
3112
3136
|
fields: request.fields
|
|
@@ -3114,10 +3138,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3114
3138
|
})();
|
|
3115
3139
|
}
|
|
3116
3140
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3117
|
-
var
|
|
3141
|
+
var _this364 = this;
|
|
3118
3142
|
return _asyncToGenerator(function* () {
|
|
3119
3143
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3120
|
-
return
|
|
3144
|
+
return _this364.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3121
3145
|
user_id: request.user_id,
|
|
3122
3146
|
fields: request.fields,
|
|
3123
3147
|
all_users: request.all_users
|
|
@@ -3125,63 +3149,63 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3125
3149
|
})();
|
|
3126
3150
|
}
|
|
3127
3151
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3128
|
-
var
|
|
3152
|
+
var _this365 = this;
|
|
3129
3153
|
return _asyncToGenerator(function* () {
|
|
3130
3154
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3131
|
-
return
|
|
3155
|
+
return _this365.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3132
3156
|
})();
|
|
3133
3157
|
}
|
|
3134
3158
|
session(options) {
|
|
3135
|
-
var
|
|
3159
|
+
var _this366 = this;
|
|
3136
3160
|
return _asyncToGenerator(function* () {
|
|
3137
|
-
return
|
|
3161
|
+
return _this366.get('/session', null, null, options);
|
|
3138
3162
|
})();
|
|
3139
3163
|
}
|
|
3140
3164
|
update_session(body, options) {
|
|
3141
|
-
var
|
|
3165
|
+
var _this367 = this;
|
|
3142
3166
|
return _asyncToGenerator(function* () {
|
|
3143
|
-
return
|
|
3167
|
+
return _this367.patch('/session', null, body, options);
|
|
3144
3168
|
})();
|
|
3145
3169
|
}
|
|
3146
3170
|
sql_interface_metadata(avatica_request, options) {
|
|
3147
|
-
var
|
|
3171
|
+
var _this368 = this;
|
|
3148
3172
|
return _asyncToGenerator(function* () {
|
|
3149
|
-
return
|
|
3173
|
+
return _this368.get('/sql_interface_queries/metadata', {
|
|
3150
3174
|
avatica_request
|
|
3151
3175
|
}, null, options);
|
|
3152
3176
|
})();
|
|
3153
3177
|
}
|
|
3154
3178
|
run_sql_interface_query(query_id, result_format, options) {
|
|
3155
|
-
var
|
|
3179
|
+
var _this369 = this;
|
|
3156
3180
|
return _asyncToGenerator(function* () {
|
|
3157
3181
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3158
|
-
return
|
|
3182
|
+
return _this369.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3159
3183
|
})();
|
|
3160
3184
|
}
|
|
3161
3185
|
create_sql_interface_query(body, options) {
|
|
3162
|
-
var
|
|
3186
|
+
var _this370 = this;
|
|
3163
3187
|
return _asyncToGenerator(function* () {
|
|
3164
|
-
return
|
|
3188
|
+
return _this370.post('/sql_interface_queries', null, body, options);
|
|
3165
3189
|
})();
|
|
3166
3190
|
}
|
|
3167
3191
|
all_themes(fields, options) {
|
|
3168
|
-
var
|
|
3192
|
+
var _this371 = this;
|
|
3169
3193
|
return _asyncToGenerator(function* () {
|
|
3170
|
-
return
|
|
3194
|
+
return _this371.get('/themes', {
|
|
3171
3195
|
fields
|
|
3172
3196
|
}, null, options);
|
|
3173
3197
|
})();
|
|
3174
3198
|
}
|
|
3175
3199
|
create_theme(body, options) {
|
|
3176
|
-
var
|
|
3200
|
+
var _this372 = this;
|
|
3177
3201
|
return _asyncToGenerator(function* () {
|
|
3178
|
-
return
|
|
3202
|
+
return _this372.post('/themes', null, body, options);
|
|
3179
3203
|
})();
|
|
3180
3204
|
}
|
|
3181
3205
|
search_themes(request, options) {
|
|
3182
|
-
var
|
|
3206
|
+
var _this373 = this;
|
|
3183
3207
|
return _asyncToGenerator(function* () {
|
|
3184
|
-
return
|
|
3208
|
+
return _this373.get('/themes/search', {
|
|
3185
3209
|
id: request.id,
|
|
3186
3210
|
name: request.name,
|
|
3187
3211
|
begin_at: request.begin_at,
|
|
@@ -3195,25 +3219,25 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3195
3219
|
})();
|
|
3196
3220
|
}
|
|
3197
3221
|
default_theme(ts, options) {
|
|
3198
|
-
var
|
|
3222
|
+
var _this374 = this;
|
|
3199
3223
|
return _asyncToGenerator(function* () {
|
|
3200
|
-
return
|
|
3224
|
+
return _this374.get('/themes/default', {
|
|
3201
3225
|
ts
|
|
3202
3226
|
}, null, options);
|
|
3203
3227
|
})();
|
|
3204
3228
|
}
|
|
3205
3229
|
set_default_theme(name, options) {
|
|
3206
|
-
var
|
|
3230
|
+
var _this375 = this;
|
|
3207
3231
|
return _asyncToGenerator(function* () {
|
|
3208
|
-
return
|
|
3232
|
+
return _this375.put('/themes/default', {
|
|
3209
3233
|
name
|
|
3210
3234
|
}, null, options);
|
|
3211
3235
|
})();
|
|
3212
3236
|
}
|
|
3213
3237
|
active_themes(request, options) {
|
|
3214
|
-
var
|
|
3238
|
+
var _this376 = this;
|
|
3215
3239
|
return _asyncToGenerator(function* () {
|
|
3216
|
-
return
|
|
3240
|
+
return _this376.get('/themes/active', {
|
|
3217
3241
|
name: request.name,
|
|
3218
3242
|
ts: request.ts,
|
|
3219
3243
|
fields: request.fields
|
|
@@ -3221,47 +3245,47 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3221
3245
|
})();
|
|
3222
3246
|
}
|
|
3223
3247
|
theme_or_default(name, ts, options) {
|
|
3224
|
-
var
|
|
3248
|
+
var _this377 = this;
|
|
3225
3249
|
return _asyncToGenerator(function* () {
|
|
3226
|
-
return
|
|
3250
|
+
return _this377.get('/themes/theme_or_default', {
|
|
3227
3251
|
name,
|
|
3228
3252
|
ts
|
|
3229
3253
|
}, null, options);
|
|
3230
3254
|
})();
|
|
3231
3255
|
}
|
|
3232
3256
|
validate_theme(body, options) {
|
|
3233
|
-
var
|
|
3257
|
+
var _this378 = this;
|
|
3234
3258
|
return _asyncToGenerator(function* () {
|
|
3235
|
-
return
|
|
3259
|
+
return _this378.post('/themes/validate', null, body, options);
|
|
3236
3260
|
})();
|
|
3237
3261
|
}
|
|
3238
3262
|
theme(theme_id, fields, options) {
|
|
3239
|
-
var
|
|
3263
|
+
var _this379 = this;
|
|
3240
3264
|
return _asyncToGenerator(function* () {
|
|
3241
3265
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3242
|
-
return
|
|
3266
|
+
return _this379.get("/themes/".concat(theme_id), {
|
|
3243
3267
|
fields
|
|
3244
3268
|
}, null, options);
|
|
3245
3269
|
})();
|
|
3246
3270
|
}
|
|
3247
3271
|
update_theme(theme_id, body, options) {
|
|
3248
|
-
var
|
|
3272
|
+
var _this380 = this;
|
|
3249
3273
|
return _asyncToGenerator(function* () {
|
|
3250
3274
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3251
|
-
return
|
|
3275
|
+
return _this380.patch("/themes/".concat(theme_id), null, body, options);
|
|
3252
3276
|
})();
|
|
3253
3277
|
}
|
|
3254
3278
|
delete_theme(theme_id, options) {
|
|
3255
|
-
var
|
|
3279
|
+
var _this381 = this;
|
|
3256
3280
|
return _asyncToGenerator(function* () {
|
|
3257
3281
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3258
|
-
return
|
|
3282
|
+
return _this381.delete("/themes/".concat(theme_id), null, null, options);
|
|
3259
3283
|
})();
|
|
3260
3284
|
}
|
|
3261
3285
|
search_credentials_email(request, options) {
|
|
3262
|
-
var
|
|
3286
|
+
var _this382 = this;
|
|
3263
3287
|
return _asyncToGenerator(function* () {
|
|
3264
|
-
return
|
|
3288
|
+
return _this382.get('/credentials_email/search', {
|
|
3265
3289
|
fields: request.fields,
|
|
3266
3290
|
limit: request.limit,
|
|
3267
3291
|
offset: request.offset,
|
|
@@ -3274,17 +3298,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3274
3298
|
})();
|
|
3275
3299
|
}
|
|
3276
3300
|
me(fields, options) {
|
|
3277
|
-
var
|
|
3301
|
+
var _this383 = this;
|
|
3278
3302
|
return _asyncToGenerator(function* () {
|
|
3279
|
-
return
|
|
3303
|
+
return _this383.get('/user', {
|
|
3280
3304
|
fields
|
|
3281
3305
|
}, null, options);
|
|
3282
3306
|
})();
|
|
3283
3307
|
}
|
|
3284
3308
|
all_users(request, options) {
|
|
3285
|
-
var
|
|
3309
|
+
var _this384 = this;
|
|
3286
3310
|
return _asyncToGenerator(function* () {
|
|
3287
|
-
return
|
|
3311
|
+
return _this384.get('/users', {
|
|
3288
3312
|
fields: request.fields,
|
|
3289
3313
|
page: request.page,
|
|
3290
3314
|
per_page: request.per_page,
|
|
@@ -3296,17 +3320,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3296
3320
|
})();
|
|
3297
3321
|
}
|
|
3298
3322
|
create_user(body, fields, options) {
|
|
3299
|
-
var
|
|
3323
|
+
var _this385 = this;
|
|
3300
3324
|
return _asyncToGenerator(function* () {
|
|
3301
|
-
return
|
|
3325
|
+
return _this385.post('/users', {
|
|
3302
3326
|
fields
|
|
3303
3327
|
}, body, options);
|
|
3304
3328
|
})();
|
|
3305
3329
|
}
|
|
3306
3330
|
search_users(request, options) {
|
|
3307
|
-
var
|
|
3331
|
+
var _this386 = this;
|
|
3308
3332
|
return _asyncToGenerator(function* () {
|
|
3309
|
-
return
|
|
3333
|
+
return _this386.get('/users/search', {
|
|
3310
3334
|
fields: request.fields,
|
|
3311
3335
|
page: request.page,
|
|
3312
3336
|
per_page: request.per_page,
|
|
@@ -3327,10 +3351,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3327
3351
|
})();
|
|
3328
3352
|
}
|
|
3329
3353
|
search_users_names(request, options) {
|
|
3330
|
-
var
|
|
3354
|
+
var _this387 = this;
|
|
3331
3355
|
return _asyncToGenerator(function* () {
|
|
3332
3356
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3333
|
-
return
|
|
3357
|
+
return _this387.get("/users/search/names/".concat(request.pattern), {
|
|
3334
3358
|
fields: request.fields,
|
|
3335
3359
|
page: request.page,
|
|
3336
3360
|
per_page: request.per_page,
|
|
@@ -3347,303 +3371,303 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3347
3371
|
})();
|
|
3348
3372
|
}
|
|
3349
3373
|
user(user_id, fields, options) {
|
|
3350
|
-
var
|
|
3374
|
+
var _this388 = this;
|
|
3351
3375
|
return _asyncToGenerator(function* () {
|
|
3352
3376
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3353
|
-
return
|
|
3377
|
+
return _this388.get("/users/".concat(user_id), {
|
|
3354
3378
|
fields
|
|
3355
3379
|
}, null, options);
|
|
3356
3380
|
})();
|
|
3357
3381
|
}
|
|
3358
3382
|
update_user(user_id, body, fields, options) {
|
|
3359
|
-
var
|
|
3383
|
+
var _this389 = this;
|
|
3360
3384
|
return _asyncToGenerator(function* () {
|
|
3361
3385
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3362
|
-
return
|
|
3386
|
+
return _this389.patch("/users/".concat(user_id), {
|
|
3363
3387
|
fields
|
|
3364
3388
|
}, body, options);
|
|
3365
3389
|
})();
|
|
3366
3390
|
}
|
|
3367
3391
|
delete_user(user_id, options) {
|
|
3368
|
-
var
|
|
3392
|
+
var _this390 = this;
|
|
3369
3393
|
return _asyncToGenerator(function* () {
|
|
3370
3394
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3371
|
-
return
|
|
3395
|
+
return _this390.delete("/users/".concat(user_id), null, null, options);
|
|
3372
3396
|
})();
|
|
3373
3397
|
}
|
|
3374
3398
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3375
|
-
var
|
|
3399
|
+
var _this391 = this;
|
|
3376
3400
|
return _asyncToGenerator(function* () {
|
|
3377
3401
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3378
3402
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3379
|
-
return
|
|
3403
|
+
return _this391.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3380
3404
|
fields
|
|
3381
3405
|
}, null, options);
|
|
3382
3406
|
})();
|
|
3383
3407
|
}
|
|
3384
3408
|
user_credentials_email(user_id, fields, options) {
|
|
3385
|
-
var
|
|
3409
|
+
var _this392 = this;
|
|
3386
3410
|
return _asyncToGenerator(function* () {
|
|
3387
3411
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3388
|
-
return
|
|
3412
|
+
return _this392.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3389
3413
|
fields
|
|
3390
3414
|
}, null, options);
|
|
3391
3415
|
})();
|
|
3392
3416
|
}
|
|
3393
3417
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3394
|
-
var
|
|
3418
|
+
var _this393 = this;
|
|
3395
3419
|
return _asyncToGenerator(function* () {
|
|
3396
3420
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3397
|
-
return
|
|
3421
|
+
return _this393.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3398
3422
|
fields
|
|
3399
3423
|
}, body, options);
|
|
3400
3424
|
})();
|
|
3401
3425
|
}
|
|
3402
3426
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3403
|
-
var
|
|
3427
|
+
var _this394 = this;
|
|
3404
3428
|
return _asyncToGenerator(function* () {
|
|
3405
3429
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3406
|
-
return
|
|
3430
|
+
return _this394.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3407
3431
|
fields
|
|
3408
3432
|
}, body, options);
|
|
3409
3433
|
})();
|
|
3410
3434
|
}
|
|
3411
3435
|
delete_user_credentials_email(user_id, options) {
|
|
3412
|
-
var
|
|
3436
|
+
var _this395 = this;
|
|
3413
3437
|
return _asyncToGenerator(function* () {
|
|
3414
3438
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3415
|
-
return
|
|
3439
|
+
return _this395.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3416
3440
|
})();
|
|
3417
3441
|
}
|
|
3418
3442
|
user_credentials_totp(user_id, fields, options) {
|
|
3419
|
-
var
|
|
3443
|
+
var _this396 = this;
|
|
3420
3444
|
return _asyncToGenerator(function* () {
|
|
3421
3445
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3422
|
-
return
|
|
3446
|
+
return _this396.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3423
3447
|
fields
|
|
3424
3448
|
}, null, options);
|
|
3425
3449
|
})();
|
|
3426
3450
|
}
|
|
3427
3451
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3428
|
-
var
|
|
3452
|
+
var _this397 = this;
|
|
3429
3453
|
return _asyncToGenerator(function* () {
|
|
3430
3454
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3431
|
-
return
|
|
3455
|
+
return _this397.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3432
3456
|
fields
|
|
3433
3457
|
}, body, options);
|
|
3434
3458
|
})();
|
|
3435
3459
|
}
|
|
3436
3460
|
delete_user_credentials_totp(user_id, options) {
|
|
3437
|
-
var
|
|
3461
|
+
var _this398 = this;
|
|
3438
3462
|
return _asyncToGenerator(function* () {
|
|
3439
3463
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3440
|
-
return
|
|
3464
|
+
return _this398.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3441
3465
|
})();
|
|
3442
3466
|
}
|
|
3443
3467
|
user_credentials_ldap(user_id, fields, options) {
|
|
3444
|
-
var
|
|
3468
|
+
var _this399 = this;
|
|
3445
3469
|
return _asyncToGenerator(function* () {
|
|
3446
3470
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3447
|
-
return
|
|
3471
|
+
return _this399.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3448
3472
|
fields
|
|
3449
3473
|
}, null, options);
|
|
3450
3474
|
})();
|
|
3451
3475
|
}
|
|
3452
3476
|
delete_user_credentials_ldap(user_id, options) {
|
|
3453
|
-
var
|
|
3477
|
+
var _this400 = this;
|
|
3454
3478
|
return _asyncToGenerator(function* () {
|
|
3455
3479
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3456
|
-
return
|
|
3480
|
+
return _this400.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3457
3481
|
})();
|
|
3458
3482
|
}
|
|
3459
3483
|
user_credentials_google(user_id, fields, options) {
|
|
3460
|
-
var
|
|
3484
|
+
var _this401 = this;
|
|
3461
3485
|
return _asyncToGenerator(function* () {
|
|
3462
3486
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3463
|
-
return
|
|
3487
|
+
return _this401.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3464
3488
|
fields
|
|
3465
3489
|
}, null, options);
|
|
3466
3490
|
})();
|
|
3467
3491
|
}
|
|
3468
3492
|
delete_user_credentials_google(user_id, options) {
|
|
3469
|
-
var
|
|
3493
|
+
var _this402 = this;
|
|
3470
3494
|
return _asyncToGenerator(function* () {
|
|
3471
3495
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3472
|
-
return
|
|
3496
|
+
return _this402.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3473
3497
|
})();
|
|
3474
3498
|
}
|
|
3475
3499
|
user_credentials_saml(user_id, fields, options) {
|
|
3476
|
-
var
|
|
3500
|
+
var _this403 = this;
|
|
3477
3501
|
return _asyncToGenerator(function* () {
|
|
3478
3502
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3479
|
-
return
|
|
3503
|
+
return _this403.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3480
3504
|
fields
|
|
3481
3505
|
}, null, options);
|
|
3482
3506
|
})();
|
|
3483
3507
|
}
|
|
3484
3508
|
delete_user_credentials_saml(user_id, options) {
|
|
3485
|
-
var
|
|
3509
|
+
var _this404 = this;
|
|
3486
3510
|
return _asyncToGenerator(function* () {
|
|
3487
3511
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3488
|
-
return
|
|
3512
|
+
return _this404.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3489
3513
|
})();
|
|
3490
3514
|
}
|
|
3491
3515
|
user_credentials_oidc(user_id, fields, options) {
|
|
3492
|
-
var
|
|
3516
|
+
var _this405 = this;
|
|
3493
3517
|
return _asyncToGenerator(function* () {
|
|
3494
3518
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3495
|
-
return
|
|
3519
|
+
return _this405.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3496
3520
|
fields
|
|
3497
3521
|
}, null, options);
|
|
3498
3522
|
})();
|
|
3499
3523
|
}
|
|
3500
3524
|
delete_user_credentials_oidc(user_id, options) {
|
|
3501
|
-
var
|
|
3525
|
+
var _this406 = this;
|
|
3502
3526
|
return _asyncToGenerator(function* () {
|
|
3503
3527
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3504
|
-
return
|
|
3528
|
+
return _this406.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3505
3529
|
})();
|
|
3506
3530
|
}
|
|
3507
3531
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3508
|
-
var
|
|
3532
|
+
var _this407 = this;
|
|
3509
3533
|
return _asyncToGenerator(function* () {
|
|
3510
3534
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3511
3535
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3512
|
-
return
|
|
3536
|
+
return _this407.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3513
3537
|
fields
|
|
3514
3538
|
}, null, options);
|
|
3515
3539
|
})();
|
|
3516
3540
|
}
|
|
3517
3541
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3518
|
-
var
|
|
3542
|
+
var _this408 = this;
|
|
3519
3543
|
return _asyncToGenerator(function* () {
|
|
3520
3544
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3521
3545
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3522
|
-
return
|
|
3546
|
+
return _this408.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3523
3547
|
})();
|
|
3524
3548
|
}
|
|
3525
3549
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3526
|
-
var
|
|
3550
|
+
var _this409 = this;
|
|
3527
3551
|
return _asyncToGenerator(function* () {
|
|
3528
3552
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3529
|
-
return
|
|
3553
|
+
return _this409.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3530
3554
|
fields
|
|
3531
3555
|
}, null, options);
|
|
3532
3556
|
})();
|
|
3533
3557
|
}
|
|
3534
3558
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3535
|
-
var
|
|
3559
|
+
var _this410 = this;
|
|
3536
3560
|
return _asyncToGenerator(function* () {
|
|
3537
3561
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3538
|
-
return
|
|
3562
|
+
return _this410.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3539
3563
|
fields
|
|
3540
3564
|
}, null, options);
|
|
3541
3565
|
})();
|
|
3542
3566
|
}
|
|
3543
3567
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3544
|
-
var
|
|
3568
|
+
var _this411 = this;
|
|
3545
3569
|
return _asyncToGenerator(function* () {
|
|
3546
3570
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3547
3571
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3548
|
-
return
|
|
3572
|
+
return _this411.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3549
3573
|
fields
|
|
3550
3574
|
}, null, options);
|
|
3551
3575
|
})();
|
|
3552
3576
|
}
|
|
3553
3577
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3554
|
-
var
|
|
3578
|
+
var _this412 = this;
|
|
3555
3579
|
return _asyncToGenerator(function* () {
|
|
3556
3580
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3557
3581
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3558
|
-
return
|
|
3582
|
+
return _this412.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3559
3583
|
})();
|
|
3560
3584
|
}
|
|
3561
3585
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3562
|
-
var
|
|
3586
|
+
var _this413 = this;
|
|
3563
3587
|
return _asyncToGenerator(function* () {
|
|
3564
3588
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3565
|
-
return
|
|
3589
|
+
return _this413.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3566
3590
|
fields
|
|
3567
3591
|
}, null, options);
|
|
3568
3592
|
})();
|
|
3569
3593
|
}
|
|
3570
3594
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3571
|
-
var
|
|
3595
|
+
var _this414 = this;
|
|
3572
3596
|
return _asyncToGenerator(function* () {
|
|
3573
3597
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3574
|
-
return
|
|
3598
|
+
return _this414.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3575
3599
|
fields
|
|
3576
3600
|
}, null, options);
|
|
3577
3601
|
})();
|
|
3578
3602
|
}
|
|
3579
3603
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3580
|
-
var
|
|
3604
|
+
var _this415 = this;
|
|
3581
3605
|
return _asyncToGenerator(function* () {
|
|
3582
3606
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3583
|
-
return
|
|
3607
|
+
return _this415.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3584
3608
|
})();
|
|
3585
3609
|
}
|
|
3586
3610
|
user_session(user_id, session_id, fields, options) {
|
|
3587
|
-
var
|
|
3611
|
+
var _this416 = this;
|
|
3588
3612
|
return _asyncToGenerator(function* () {
|
|
3589
3613
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3590
3614
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3591
|
-
return
|
|
3615
|
+
return _this416.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3592
3616
|
fields
|
|
3593
3617
|
}, null, options);
|
|
3594
3618
|
})();
|
|
3595
3619
|
}
|
|
3596
3620
|
delete_user_session(user_id, session_id, options) {
|
|
3597
|
-
var
|
|
3621
|
+
var _this417 = this;
|
|
3598
3622
|
return _asyncToGenerator(function* () {
|
|
3599
3623
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3600
3624
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3601
|
-
return
|
|
3625
|
+
return _this417.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3602
3626
|
})();
|
|
3603
3627
|
}
|
|
3604
3628
|
all_user_sessions(user_id, fields, options) {
|
|
3605
|
-
var
|
|
3629
|
+
var _this418 = this;
|
|
3606
3630
|
return _asyncToGenerator(function* () {
|
|
3607
3631
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3608
|
-
return
|
|
3632
|
+
return _this418.get("/users/".concat(user_id, "/sessions"), {
|
|
3609
3633
|
fields
|
|
3610
3634
|
}, null, options);
|
|
3611
3635
|
})();
|
|
3612
3636
|
}
|
|
3613
3637
|
create_user_credentials_email_password_reset(request, options) {
|
|
3614
|
-
var
|
|
3638
|
+
var _this419 = this;
|
|
3615
3639
|
return _asyncToGenerator(function* () {
|
|
3616
3640
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3617
|
-
return
|
|
3641
|
+
return _this419.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3618
3642
|
expires: request.expires,
|
|
3619
3643
|
fields: request.fields
|
|
3620
3644
|
}, null, options);
|
|
3621
3645
|
})();
|
|
3622
3646
|
}
|
|
3623
3647
|
user_roles(request, options) {
|
|
3624
|
-
var
|
|
3648
|
+
var _this420 = this;
|
|
3625
3649
|
return _asyncToGenerator(function* () {
|
|
3626
3650
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3627
|
-
return
|
|
3651
|
+
return _this420.get("/users/".concat(request.user_id, "/roles"), {
|
|
3628
3652
|
fields: request.fields,
|
|
3629
3653
|
direct_association_only: request.direct_association_only
|
|
3630
3654
|
}, null, options);
|
|
3631
3655
|
})();
|
|
3632
3656
|
}
|
|
3633
3657
|
set_user_roles(user_id, body, fields, options) {
|
|
3634
|
-
var
|
|
3658
|
+
var _this421 = this;
|
|
3635
3659
|
return _asyncToGenerator(function* () {
|
|
3636
3660
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3637
|
-
return
|
|
3661
|
+
return _this421.put("/users/".concat(user_id, "/roles"), {
|
|
3638
3662
|
fields
|
|
3639
3663
|
}, body, options);
|
|
3640
3664
|
})();
|
|
3641
3665
|
}
|
|
3642
3666
|
user_attribute_user_values(request, options) {
|
|
3643
|
-
var
|
|
3667
|
+
var _this422 = this;
|
|
3644
3668
|
return _asyncToGenerator(function* () {
|
|
3645
3669
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3646
|
-
return
|
|
3670
|
+
return _this422.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3647
3671
|
fields: request.fields,
|
|
3648
3672
|
user_attribute_ids: request.user_attribute_ids,
|
|
3649
3673
|
all_values: request.all_values,
|
|
@@ -3652,114 +3676,114 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3652
3676
|
})();
|
|
3653
3677
|
}
|
|
3654
3678
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3655
|
-
var
|
|
3679
|
+
var _this423 = this;
|
|
3656
3680
|
return _asyncToGenerator(function* () {
|
|
3657
3681
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3658
3682
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3659
|
-
return
|
|
3683
|
+
return _this423.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3660
3684
|
})();
|
|
3661
3685
|
}
|
|
3662
3686
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3663
|
-
var
|
|
3687
|
+
var _this424 = this;
|
|
3664
3688
|
return _asyncToGenerator(function* () {
|
|
3665
3689
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3666
3690
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3667
|
-
return
|
|
3691
|
+
return _this424.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3668
3692
|
})();
|
|
3669
3693
|
}
|
|
3670
3694
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3671
|
-
var
|
|
3695
|
+
var _this425 = this;
|
|
3672
3696
|
return _asyncToGenerator(function* () {
|
|
3673
3697
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3674
|
-
return
|
|
3698
|
+
return _this425.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3675
3699
|
fields
|
|
3676
3700
|
}, null, options);
|
|
3677
3701
|
})();
|
|
3678
3702
|
}
|
|
3679
3703
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3680
|
-
var
|
|
3704
|
+
var _this426 = this;
|
|
3681
3705
|
return _asyncToGenerator(function* () {
|
|
3682
3706
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3683
|
-
return
|
|
3707
|
+
return _this426.post("/users/".concat(user_id, "/update_emails"), {
|
|
3684
3708
|
fields
|
|
3685
3709
|
}, body, options);
|
|
3686
3710
|
})();
|
|
3687
3711
|
}
|
|
3688
3712
|
create_embed_user(body, options) {
|
|
3689
|
-
var
|
|
3713
|
+
var _this427 = this;
|
|
3690
3714
|
return _asyncToGenerator(function* () {
|
|
3691
|
-
return
|
|
3715
|
+
return _this427.post('/users/embed_user', null, body, options);
|
|
3692
3716
|
})();
|
|
3693
3717
|
}
|
|
3694
3718
|
all_user_attributes(request, options) {
|
|
3695
|
-
var
|
|
3719
|
+
var _this428 = this;
|
|
3696
3720
|
return _asyncToGenerator(function* () {
|
|
3697
|
-
return
|
|
3721
|
+
return _this428.get('/user_attributes', {
|
|
3698
3722
|
fields: request.fields,
|
|
3699
3723
|
sorts: request.sorts
|
|
3700
3724
|
}, null, options);
|
|
3701
3725
|
})();
|
|
3702
3726
|
}
|
|
3703
3727
|
create_user_attribute(body, fields, options) {
|
|
3704
|
-
var
|
|
3728
|
+
var _this429 = this;
|
|
3705
3729
|
return _asyncToGenerator(function* () {
|
|
3706
|
-
return
|
|
3730
|
+
return _this429.post('/user_attributes', {
|
|
3707
3731
|
fields
|
|
3708
3732
|
}, body, options);
|
|
3709
3733
|
})();
|
|
3710
3734
|
}
|
|
3711
3735
|
user_attribute(user_attribute_id, fields, options) {
|
|
3712
|
-
var
|
|
3736
|
+
var _this430 = this;
|
|
3713
3737
|
return _asyncToGenerator(function* () {
|
|
3714
3738
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3715
|
-
return
|
|
3739
|
+
return _this430.get("/user_attributes/".concat(user_attribute_id), {
|
|
3716
3740
|
fields
|
|
3717
3741
|
}, null, options);
|
|
3718
3742
|
})();
|
|
3719
3743
|
}
|
|
3720
3744
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3721
|
-
var
|
|
3745
|
+
var _this431 = this;
|
|
3722
3746
|
return _asyncToGenerator(function* () {
|
|
3723
3747
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3724
|
-
return
|
|
3748
|
+
return _this431.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3725
3749
|
fields
|
|
3726
3750
|
}, body, options);
|
|
3727
3751
|
})();
|
|
3728
3752
|
}
|
|
3729
3753
|
delete_user_attribute(user_attribute_id, options) {
|
|
3730
|
-
var
|
|
3754
|
+
var _this432 = this;
|
|
3731
3755
|
return _asyncToGenerator(function* () {
|
|
3732
3756
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3733
|
-
return
|
|
3757
|
+
return _this432.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3734
3758
|
})();
|
|
3735
3759
|
}
|
|
3736
3760
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3737
|
-
var
|
|
3761
|
+
var _this433 = this;
|
|
3738
3762
|
return _asyncToGenerator(function* () {
|
|
3739
3763
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3740
|
-
return
|
|
3764
|
+
return _this433.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3741
3765
|
fields
|
|
3742
3766
|
}, null, options);
|
|
3743
3767
|
})();
|
|
3744
3768
|
}
|
|
3745
3769
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3746
|
-
var
|
|
3770
|
+
var _this434 = this;
|
|
3747
3771
|
return _asyncToGenerator(function* () {
|
|
3748
3772
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3749
|
-
return
|
|
3773
|
+
return _this434.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3750
3774
|
})();
|
|
3751
3775
|
}
|
|
3752
3776
|
all_workspaces(options) {
|
|
3753
|
-
var
|
|
3777
|
+
var _this435 = this;
|
|
3754
3778
|
return _asyncToGenerator(function* () {
|
|
3755
|
-
return
|
|
3779
|
+
return _this435.get('/workspaces', null, null, options);
|
|
3756
3780
|
})();
|
|
3757
3781
|
}
|
|
3758
3782
|
workspace(workspace_id, options) {
|
|
3759
|
-
var
|
|
3783
|
+
var _this436 = this;
|
|
3760
3784
|
return _asyncToGenerator(function* () {
|
|
3761
3785
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3762
|
-
return
|
|
3786
|
+
return _this436.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3763
3787
|
})();
|
|
3764
3788
|
}
|
|
3765
3789
|
}
|