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