@looker/sdk 23.8.1 → 23.14.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 +33 -0
- package/README.md +2 -2
- package/lib/3.1/funcs.d.ts +4 -4
- package/lib/3.1/funcs.js +4 -2
- package/lib/3.1/funcs.js.map +1 -1
- package/lib/3.1/methods.d.ts +4 -4
- package/lib/3.1/methods.js +4 -2
- package/lib/3.1/methods.js.map +1 -1
- package/lib/3.1/methodsInterface.d.ts +4 -4
- package/lib/3.1/methodsInterface.js.map +1 -1
- package/lib/3.1/models.d.ts +54 -1
- package/lib/3.1/models.js +2 -0
- package/lib/3.1/models.js.map +1 -1
- package/lib/3.1/streams.d.ts +4 -4
- package/lib/3.1/streams.js +4 -2
- package/lib/3.1/streams.js.map +1 -1
- package/lib/4.0/funcs.d.ts +8 -7
- package/lib/4.0/funcs.js +561 -548
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +8 -7
- package/lib/4.0/methods.js +374 -364
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +8 -7
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +109 -2
- package/lib/4.0/models.js +2 -0
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +8 -7
- package/lib/4.0/streams.js +374 -364
- 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 +4 -2
- package/lib/esm/3.1/funcs.js.map +1 -1
- package/lib/esm/3.1/methods.js +4 -2
- package/lib/esm/3.1/methods.js.map +1 -1
- package/lib/esm/3.1/methodsInterface.js.map +1 -1
- package/lib/esm/3.1/models.js +2 -0
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/3.1/streams.js +4 -2
- package/lib/esm/3.1/streams.js.map +1 -1
- package/lib/esm/4.0/funcs.js +561 -548
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +374 -364
- 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 +2 -0
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +374 -364
- 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/4.0/methods.js
CHANGED
|
@@ -1328,7 +1328,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1328
1328
|
limit: request.limit,
|
|
1329
1329
|
offset: request.offset,
|
|
1330
1330
|
sorts: request.sorts,
|
|
1331
|
-
filter_or: request.filter_or
|
|
1331
|
+
filter_or: request.filter_or,
|
|
1332
|
+
not_owned_by: request.not_owned_by
|
|
1332
1333
|
}, null, options);
|
|
1333
1334
|
})();
|
|
1334
1335
|
}
|
|
@@ -1682,7 +1683,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1682
1683
|
parent_id: request.parent_id,
|
|
1683
1684
|
creator_id: request.creator_id,
|
|
1684
1685
|
filter_or: request.filter_or,
|
|
1685
|
-
is_shared_root: request.is_shared_root
|
|
1686
|
+
is_shared_root: request.is_shared_root,
|
|
1687
|
+
is_users_root: request.is_users_root
|
|
1686
1688
|
}, null, options);
|
|
1687
1689
|
})();
|
|
1688
1690
|
}
|
|
@@ -2050,26 +2052,34 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2050
2052
|
return _this248.post("/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2051
2053
|
})();
|
|
2052
2054
|
}
|
|
2053
|
-
|
|
2055
|
+
jdbc_interface(avatica_request, options) {
|
|
2054
2056
|
var _this249 = this;
|
|
2055
2057
|
return _asyncToGenerator(function* () {
|
|
2056
|
-
return _this249.get('/
|
|
2058
|
+
return _this249.get('/__jdbc_interface__', {
|
|
2059
|
+
avatica_request
|
|
2060
|
+
}, null, options);
|
|
2061
|
+
})();
|
|
2062
|
+
}
|
|
2063
|
+
all_looks(fields, options) {
|
|
2064
|
+
var _this250 = this;
|
|
2065
|
+
return _asyncToGenerator(function* () {
|
|
2066
|
+
return _this250.get('/looks', {
|
|
2057
2067
|
fields
|
|
2058
2068
|
}, null, options);
|
|
2059
2069
|
})();
|
|
2060
2070
|
}
|
|
2061
2071
|
create_look(body, fields, options) {
|
|
2062
|
-
var
|
|
2072
|
+
var _this251 = this;
|
|
2063
2073
|
return _asyncToGenerator(function* () {
|
|
2064
|
-
return
|
|
2074
|
+
return _this251.post('/looks', {
|
|
2065
2075
|
fields
|
|
2066
2076
|
}, body, options);
|
|
2067
2077
|
})();
|
|
2068
2078
|
}
|
|
2069
2079
|
search_looks(request, options) {
|
|
2070
|
-
var
|
|
2080
|
+
var _this252 = this;
|
|
2071
2081
|
return _asyncToGenerator(function* () {
|
|
2072
|
-
return
|
|
2082
|
+
return _this252.get('/looks/search', {
|
|
2073
2083
|
id: request.id,
|
|
2074
2084
|
title: request.title,
|
|
2075
2085
|
description: request.description,
|
|
@@ -2092,36 +2102,36 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2092
2102
|
})();
|
|
2093
2103
|
}
|
|
2094
2104
|
look(look_id, fields, options) {
|
|
2095
|
-
var
|
|
2105
|
+
var _this253 = this;
|
|
2096
2106
|
return _asyncToGenerator(function* () {
|
|
2097
2107
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2098
|
-
return
|
|
2108
|
+
return _this253.get("/looks/".concat(look_id), {
|
|
2099
2109
|
fields
|
|
2100
2110
|
}, null, options);
|
|
2101
2111
|
})();
|
|
2102
2112
|
}
|
|
2103
2113
|
update_look(look_id, body, fields, options) {
|
|
2104
|
-
var
|
|
2114
|
+
var _this254 = this;
|
|
2105
2115
|
return _asyncToGenerator(function* () {
|
|
2106
2116
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2107
|
-
return
|
|
2117
|
+
return _this254.patch("/looks/".concat(look_id), {
|
|
2108
2118
|
fields
|
|
2109
2119
|
}, body, options);
|
|
2110
2120
|
})();
|
|
2111
2121
|
}
|
|
2112
2122
|
delete_look(look_id, options) {
|
|
2113
|
-
var
|
|
2123
|
+
var _this255 = this;
|
|
2114
2124
|
return _asyncToGenerator(function* () {
|
|
2115
2125
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2116
|
-
return
|
|
2126
|
+
return _this255.delete("/looks/".concat(look_id), null, null, options);
|
|
2117
2127
|
})();
|
|
2118
2128
|
}
|
|
2119
2129
|
run_look(request, options) {
|
|
2120
|
-
var
|
|
2130
|
+
var _this256 = this;
|
|
2121
2131
|
return _asyncToGenerator(function* () {
|
|
2122
2132
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
2123
2133
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2124
|
-
return
|
|
2134
|
+
return _this256.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2125
2135
|
limit: request.limit,
|
|
2126
2136
|
apply_formatting: request.apply_formatting,
|
|
2127
2137
|
apply_vis: request.apply_vis,
|
|
@@ -2138,27 +2148,27 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2138
2148
|
})();
|
|
2139
2149
|
}
|
|
2140
2150
|
copy_look(look_id, folder_id, options) {
|
|
2141
|
-
var
|
|
2151
|
+
var _this257 = this;
|
|
2142
2152
|
return _asyncToGenerator(function* () {
|
|
2143
2153
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2144
|
-
return
|
|
2154
|
+
return _this257.post("/looks/".concat(look_id, "/copy"), {
|
|
2145
2155
|
folder_id
|
|
2146
2156
|
}, null, options);
|
|
2147
2157
|
})();
|
|
2148
2158
|
}
|
|
2149
2159
|
move_look(look_id, folder_id, options) {
|
|
2150
|
-
var
|
|
2160
|
+
var _this258 = this;
|
|
2151
2161
|
return _asyncToGenerator(function* () {
|
|
2152
2162
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2153
|
-
return
|
|
2163
|
+
return _this258.patch("/looks/".concat(look_id, "/move"), {
|
|
2154
2164
|
folder_id
|
|
2155
2165
|
}, null, options);
|
|
2156
2166
|
})();
|
|
2157
2167
|
}
|
|
2158
2168
|
all_lookml_models(request, options) {
|
|
2159
|
-
var
|
|
2169
|
+
var _this259 = this;
|
|
2160
2170
|
return _asyncToGenerator(function* () {
|
|
2161
|
-
return
|
|
2171
|
+
return _this259.get('/lookml_models', {
|
|
2162
2172
|
fields: request.fields,
|
|
2163
2173
|
limit: request.limit,
|
|
2164
2174
|
offset: request.offset
|
|
@@ -2166,84 +2176,84 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2166
2176
|
})();
|
|
2167
2177
|
}
|
|
2168
2178
|
create_lookml_model(body, options) {
|
|
2169
|
-
var
|
|
2179
|
+
var _this260 = this;
|
|
2170
2180
|
return _asyncToGenerator(function* () {
|
|
2171
|
-
return
|
|
2181
|
+
return _this260.post('/lookml_models', null, body, options);
|
|
2172
2182
|
})();
|
|
2173
2183
|
}
|
|
2174
2184
|
lookml_model(lookml_model_name, fields, options) {
|
|
2175
|
-
var
|
|
2185
|
+
var _this261 = this;
|
|
2176
2186
|
return _asyncToGenerator(function* () {
|
|
2177
2187
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2178
|
-
return
|
|
2188
|
+
return _this261.get("/lookml_models/".concat(lookml_model_name), {
|
|
2179
2189
|
fields
|
|
2180
2190
|
}, null, options);
|
|
2181
2191
|
})();
|
|
2182
2192
|
}
|
|
2183
2193
|
update_lookml_model(lookml_model_name, body, options) {
|
|
2184
|
-
var
|
|
2194
|
+
var _this262 = this;
|
|
2185
2195
|
return _asyncToGenerator(function* () {
|
|
2186
2196
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2187
|
-
return
|
|
2197
|
+
return _this262.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2188
2198
|
})();
|
|
2189
2199
|
}
|
|
2190
2200
|
delete_lookml_model(lookml_model_name, options) {
|
|
2191
|
-
var
|
|
2201
|
+
var _this263 = this;
|
|
2192
2202
|
return _asyncToGenerator(function* () {
|
|
2193
2203
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2194
|
-
return
|
|
2204
|
+
return _this263.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2195
2205
|
})();
|
|
2196
2206
|
}
|
|
2197
2207
|
lookml_model_explore(lookml_model_name, explore_name, fields, options) {
|
|
2198
|
-
var
|
|
2208
|
+
var _this264 = this;
|
|
2199
2209
|
return _asyncToGenerator(function* () {
|
|
2200
2210
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2201
2211
|
explore_name = (0, _sdkRtl.encodeParam)(explore_name);
|
|
2202
|
-
return
|
|
2212
|
+
return _this264.get("/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
2203
2213
|
fields
|
|
2204
2214
|
}, null, options);
|
|
2205
2215
|
})();
|
|
2206
2216
|
}
|
|
2207
2217
|
model_fieldname_suggestions(request, options) {
|
|
2208
|
-
var
|
|
2218
|
+
var _this265 = this;
|
|
2209
2219
|
return _asyncToGenerator(function* () {
|
|
2210
2220
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
2211
2221
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
2212
2222
|
request.field_name = (0, _sdkRtl.encodeParam)(request.field_name);
|
|
2213
|
-
return
|
|
2223
|
+
return _this265.get("/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2214
2224
|
term: request.term,
|
|
2215
2225
|
filters: request.filters
|
|
2216
2226
|
}, null, options);
|
|
2217
2227
|
})();
|
|
2218
2228
|
}
|
|
2219
2229
|
get_model(model_name, options) {
|
|
2220
|
-
var
|
|
2230
|
+
var _this266 = this;
|
|
2221
2231
|
return _asyncToGenerator(function* () {
|
|
2222
2232
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2223
|
-
return
|
|
2233
|
+
return _this266.get("/models/".concat(model_name), null, null, options);
|
|
2224
2234
|
})();
|
|
2225
2235
|
}
|
|
2226
2236
|
connection_databases(connection_name, options) {
|
|
2227
|
-
var
|
|
2237
|
+
var _this267 = this;
|
|
2228
2238
|
return _asyncToGenerator(function* () {
|
|
2229
2239
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2230
|
-
return
|
|
2240
|
+
return _this267.get("/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2231
2241
|
})();
|
|
2232
2242
|
}
|
|
2233
2243
|
connection_features(connection_name, fields, options) {
|
|
2234
|
-
var
|
|
2244
|
+
var _this268 = this;
|
|
2235
2245
|
return _asyncToGenerator(function* () {
|
|
2236
2246
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2237
|
-
return
|
|
2247
|
+
return _this268.get("/connections/".concat(connection_name, "/features"), {
|
|
2238
2248
|
fields
|
|
2239
2249
|
}, null, options);
|
|
2240
2250
|
})();
|
|
2241
2251
|
}
|
|
2242
2252
|
connection_schemas(request, options) {
|
|
2243
|
-
var
|
|
2253
|
+
var _this269 = this;
|
|
2244
2254
|
return _asyncToGenerator(function* () {
|
|
2245
2255
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2246
|
-
return
|
|
2256
|
+
return _this269.get("/connections/".concat(request.connection_name, "/schemas"), {
|
|
2247
2257
|
database: request.database,
|
|
2248
2258
|
cache: request.cache,
|
|
2249
2259
|
fields: request.fields
|
|
@@ -2251,10 +2261,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2251
2261
|
})();
|
|
2252
2262
|
}
|
|
2253
2263
|
connection_tables(request, options) {
|
|
2254
|
-
var
|
|
2264
|
+
var _this270 = this;
|
|
2255
2265
|
return _asyncToGenerator(function* () {
|
|
2256
2266
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2257
|
-
return
|
|
2267
|
+
return _this270.get("/connections/".concat(request.connection_name, "/tables"), {
|
|
2258
2268
|
database: request.database,
|
|
2259
2269
|
schema_name: request.schema_name,
|
|
2260
2270
|
cache: request.cache,
|
|
@@ -2265,10 +2275,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2265
2275
|
})();
|
|
2266
2276
|
}
|
|
2267
2277
|
connection_columns(request, options) {
|
|
2268
|
-
var
|
|
2278
|
+
var _this271 = this;
|
|
2269
2279
|
return _asyncToGenerator(function* () {
|
|
2270
2280
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2271
|
-
return
|
|
2281
|
+
return _this271.get("/connections/".concat(request.connection_name, "/columns"), {
|
|
2272
2282
|
database: request.database,
|
|
2273
2283
|
schema_name: request.schema_name,
|
|
2274
2284
|
cache: request.cache,
|
|
@@ -2279,241 +2289,241 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2279
2289
|
})();
|
|
2280
2290
|
}
|
|
2281
2291
|
connection_search_columns(request, options) {
|
|
2282
|
-
var
|
|
2292
|
+
var _this272 = this;
|
|
2283
2293
|
return _asyncToGenerator(function* () {
|
|
2284
2294
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2285
|
-
return
|
|
2295
|
+
return _this272.get("/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2286
2296
|
column_name: request.column_name,
|
|
2287
2297
|
fields: request.fields
|
|
2288
2298
|
}, null, options);
|
|
2289
2299
|
})();
|
|
2290
2300
|
}
|
|
2291
2301
|
connection_cost_estimate(connection_name, body, fields, options) {
|
|
2292
|
-
var
|
|
2302
|
+
var _this273 = this;
|
|
2293
2303
|
return _asyncToGenerator(function* () {
|
|
2294
2304
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2295
|
-
return
|
|
2305
|
+
return _this273.post("/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2296
2306
|
fields
|
|
2297
2307
|
}, body, options);
|
|
2298
2308
|
})();
|
|
2299
2309
|
}
|
|
2300
2310
|
lock_all(project_id, fields, options) {
|
|
2301
|
-
var
|
|
2311
|
+
var _this274 = this;
|
|
2302
2312
|
return _asyncToGenerator(function* () {
|
|
2303
2313
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2304
|
-
return
|
|
2314
|
+
return _this274.post("/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2305
2315
|
fields
|
|
2306
2316
|
}, null, options);
|
|
2307
2317
|
})();
|
|
2308
2318
|
}
|
|
2309
2319
|
all_git_branches(project_id, options) {
|
|
2310
|
-
var
|
|
2320
|
+
var _this275 = this;
|
|
2311
2321
|
return _asyncToGenerator(function* () {
|
|
2312
2322
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2313
|
-
return
|
|
2323
|
+
return _this275.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2314
2324
|
})();
|
|
2315
2325
|
}
|
|
2316
2326
|
git_branch(project_id, options) {
|
|
2317
|
-
var
|
|
2327
|
+
var _this276 = this;
|
|
2318
2328
|
return _asyncToGenerator(function* () {
|
|
2319
2329
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2320
|
-
return
|
|
2330
|
+
return _this276.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2321
2331
|
})();
|
|
2322
2332
|
}
|
|
2323
2333
|
update_git_branch(project_id, body, options) {
|
|
2324
|
-
var
|
|
2334
|
+
var _this277 = this;
|
|
2325
2335
|
return _asyncToGenerator(function* () {
|
|
2326
2336
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2327
|
-
return
|
|
2337
|
+
return _this277.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2328
2338
|
})();
|
|
2329
2339
|
}
|
|
2330
2340
|
create_git_branch(project_id, body, options) {
|
|
2331
|
-
var
|
|
2341
|
+
var _this278 = this;
|
|
2332
2342
|
return _asyncToGenerator(function* () {
|
|
2333
2343
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2334
|
-
return
|
|
2344
|
+
return _this278.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2335
2345
|
})();
|
|
2336
2346
|
}
|
|
2337
2347
|
find_git_branch(project_id, branch_name, options) {
|
|
2338
|
-
var
|
|
2348
|
+
var _this279 = this;
|
|
2339
2349
|
return _asyncToGenerator(function* () {
|
|
2340
2350
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2341
2351
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2342
|
-
return
|
|
2352
|
+
return _this279.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2343
2353
|
})();
|
|
2344
2354
|
}
|
|
2345
2355
|
delete_git_branch(project_id, branch_name, options) {
|
|
2346
|
-
var
|
|
2356
|
+
var _this280 = this;
|
|
2347
2357
|
return _asyncToGenerator(function* () {
|
|
2348
2358
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2349
2359
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2350
|
-
return
|
|
2360
|
+
return _this280.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2351
2361
|
})();
|
|
2352
2362
|
}
|
|
2353
2363
|
deploy_ref_to_production(request, options) {
|
|
2354
|
-
var
|
|
2364
|
+
var _this281 = this;
|
|
2355
2365
|
return _asyncToGenerator(function* () {
|
|
2356
2366
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2357
|
-
return
|
|
2367
|
+
return _this281.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2358
2368
|
branch: request.branch,
|
|
2359
2369
|
ref: request.ref
|
|
2360
2370
|
}, null, options);
|
|
2361
2371
|
})();
|
|
2362
2372
|
}
|
|
2363
2373
|
deploy_to_production(project_id, options) {
|
|
2364
|
-
var
|
|
2374
|
+
var _this282 = this;
|
|
2365
2375
|
return _asyncToGenerator(function* () {
|
|
2366
2376
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2367
|
-
return
|
|
2377
|
+
return _this282.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2368
2378
|
})();
|
|
2369
2379
|
}
|
|
2370
2380
|
reset_project_to_production(project_id, options) {
|
|
2371
|
-
var
|
|
2381
|
+
var _this283 = this;
|
|
2372
2382
|
return _asyncToGenerator(function* () {
|
|
2373
2383
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2374
|
-
return
|
|
2384
|
+
return _this283.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2375
2385
|
})();
|
|
2376
2386
|
}
|
|
2377
2387
|
reset_project_to_remote(project_id, options) {
|
|
2378
|
-
var
|
|
2388
|
+
var _this284 = this;
|
|
2379
2389
|
return _asyncToGenerator(function* () {
|
|
2380
2390
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2381
|
-
return
|
|
2391
|
+
return _this284.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2382
2392
|
})();
|
|
2383
2393
|
}
|
|
2384
2394
|
all_projects(fields, options) {
|
|
2385
|
-
var
|
|
2395
|
+
var _this285 = this;
|
|
2386
2396
|
return _asyncToGenerator(function* () {
|
|
2387
|
-
return
|
|
2397
|
+
return _this285.get('/projects', {
|
|
2388
2398
|
fields
|
|
2389
2399
|
}, null, options);
|
|
2390
2400
|
})();
|
|
2391
2401
|
}
|
|
2392
2402
|
create_project(body, options) {
|
|
2393
|
-
var
|
|
2403
|
+
var _this286 = this;
|
|
2394
2404
|
return _asyncToGenerator(function* () {
|
|
2395
|
-
return
|
|
2405
|
+
return _this286.post('/projects', null, body, options);
|
|
2396
2406
|
})();
|
|
2397
2407
|
}
|
|
2398
2408
|
project(project_id, fields, options) {
|
|
2399
|
-
var
|
|
2409
|
+
var _this287 = this;
|
|
2400
2410
|
return _asyncToGenerator(function* () {
|
|
2401
2411
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2402
|
-
return
|
|
2412
|
+
return _this287.get("/projects/".concat(project_id), {
|
|
2403
2413
|
fields
|
|
2404
2414
|
}, null, options);
|
|
2405
2415
|
})();
|
|
2406
2416
|
}
|
|
2407
2417
|
update_project(project_id, body, fields, options) {
|
|
2408
|
-
var
|
|
2418
|
+
var _this288 = this;
|
|
2409
2419
|
return _asyncToGenerator(function* () {
|
|
2410
2420
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2411
|
-
return
|
|
2421
|
+
return _this288.patch("/projects/".concat(project_id), {
|
|
2412
2422
|
fields
|
|
2413
2423
|
}, body, options);
|
|
2414
2424
|
})();
|
|
2415
2425
|
}
|
|
2416
2426
|
manifest(project_id, options) {
|
|
2417
|
-
var
|
|
2427
|
+
var _this289 = this;
|
|
2418
2428
|
return _asyncToGenerator(function* () {
|
|
2419
2429
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2420
|
-
return
|
|
2430
|
+
return _this289.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2421
2431
|
})();
|
|
2422
2432
|
}
|
|
2423
2433
|
git_deploy_key(project_id, options) {
|
|
2424
|
-
var
|
|
2434
|
+
var _this290 = this;
|
|
2425
2435
|
return _asyncToGenerator(function* () {
|
|
2426
2436
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2427
|
-
return
|
|
2437
|
+
return _this290.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2428
2438
|
})();
|
|
2429
2439
|
}
|
|
2430
2440
|
create_git_deploy_key(project_id, options) {
|
|
2431
|
-
var
|
|
2441
|
+
var _this291 = this;
|
|
2432
2442
|
return _asyncToGenerator(function* () {
|
|
2433
2443
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2434
|
-
return
|
|
2444
|
+
return _this291.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2435
2445
|
})();
|
|
2436
2446
|
}
|
|
2437
2447
|
project_validation_results(project_id, fields, options) {
|
|
2438
|
-
var
|
|
2448
|
+
var _this292 = this;
|
|
2439
2449
|
return _asyncToGenerator(function* () {
|
|
2440
2450
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2441
|
-
return
|
|
2451
|
+
return _this292.get("/projects/".concat(project_id, "/validate"), {
|
|
2442
2452
|
fields
|
|
2443
2453
|
}, null, options);
|
|
2444
2454
|
})();
|
|
2445
2455
|
}
|
|
2446
2456
|
validate_project(project_id, fields, options) {
|
|
2447
|
-
var
|
|
2457
|
+
var _this293 = this;
|
|
2448
2458
|
return _asyncToGenerator(function* () {
|
|
2449
2459
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2450
|
-
return
|
|
2460
|
+
return _this293.post("/projects/".concat(project_id, "/validate"), {
|
|
2451
2461
|
fields
|
|
2452
2462
|
}, null, options);
|
|
2453
2463
|
})();
|
|
2454
2464
|
}
|
|
2455
2465
|
project_workspace(project_id, fields, options) {
|
|
2456
|
-
var
|
|
2466
|
+
var _this294 = this;
|
|
2457
2467
|
return _asyncToGenerator(function* () {
|
|
2458
2468
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2459
|
-
return
|
|
2469
|
+
return _this294.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
2460
2470
|
fields
|
|
2461
2471
|
}, null, options);
|
|
2462
2472
|
})();
|
|
2463
2473
|
}
|
|
2464
2474
|
all_project_files(project_id, fields, options) {
|
|
2465
|
-
var
|
|
2475
|
+
var _this295 = this;
|
|
2466
2476
|
return _asyncToGenerator(function* () {
|
|
2467
2477
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2468
|
-
return
|
|
2478
|
+
return _this295.get("/projects/".concat(project_id, "/files"), {
|
|
2469
2479
|
fields
|
|
2470
2480
|
}, null, options);
|
|
2471
2481
|
})();
|
|
2472
2482
|
}
|
|
2473
2483
|
project_file(project_id, file_id, fields, options) {
|
|
2474
|
-
var
|
|
2484
|
+
var _this296 = this;
|
|
2475
2485
|
return _asyncToGenerator(function* () {
|
|
2476
2486
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2477
|
-
return
|
|
2487
|
+
return _this296.get("/projects/".concat(project_id, "/files/file"), {
|
|
2478
2488
|
file_id,
|
|
2479
2489
|
fields
|
|
2480
2490
|
}, null, options);
|
|
2481
2491
|
})();
|
|
2482
2492
|
}
|
|
2483
2493
|
all_git_connection_tests(project_id, remote_url, options) {
|
|
2484
|
-
var
|
|
2494
|
+
var _this297 = this;
|
|
2485
2495
|
return _asyncToGenerator(function* () {
|
|
2486
2496
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2487
|
-
return
|
|
2497
|
+
return _this297.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2488
2498
|
remote_url
|
|
2489
2499
|
}, null, options);
|
|
2490
2500
|
})();
|
|
2491
2501
|
}
|
|
2492
2502
|
run_git_connection_test(request, options) {
|
|
2493
|
-
var
|
|
2503
|
+
var _this298 = this;
|
|
2494
2504
|
return _asyncToGenerator(function* () {
|
|
2495
2505
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2496
2506
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2497
|
-
return
|
|
2507
|
+
return _this298.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2498
2508
|
remote_url: request.remote_url,
|
|
2499
2509
|
use_production: request.use_production
|
|
2500
2510
|
}, null, options);
|
|
2501
2511
|
})();
|
|
2502
2512
|
}
|
|
2503
2513
|
all_lookml_tests(project_id, file_id, options) {
|
|
2504
|
-
var
|
|
2514
|
+
var _this299 = this;
|
|
2505
2515
|
return _asyncToGenerator(function* () {
|
|
2506
2516
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2507
|
-
return
|
|
2517
|
+
return _this299.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
2508
2518
|
file_id
|
|
2509
2519
|
}, null, options);
|
|
2510
2520
|
})();
|
|
2511
2521
|
}
|
|
2512
2522
|
run_lookml_test(request, options) {
|
|
2513
|
-
var
|
|
2523
|
+
var _this300 = this;
|
|
2514
2524
|
return _asyncToGenerator(function* () {
|
|
2515
2525
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2516
|
-
return
|
|
2526
|
+
return _this300.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2517
2527
|
file_id: request.file_id,
|
|
2518
2528
|
test: request.test,
|
|
2519
2529
|
model: request.model
|
|
@@ -2521,10 +2531,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2521
2531
|
})();
|
|
2522
2532
|
}
|
|
2523
2533
|
tag_ref(request, options) {
|
|
2524
|
-
var
|
|
2534
|
+
var _this301 = this;
|
|
2525
2535
|
return _asyncToGenerator(function* () {
|
|
2526
2536
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2527
|
-
return
|
|
2537
|
+
return _this301.post("/projects/".concat(request.project_id, "/tag"), {
|
|
2528
2538
|
commit_sha: request.commit_sha,
|
|
2529
2539
|
tag_name: request.tag_name,
|
|
2530
2540
|
tag_message: request.tag_message
|
|
@@ -2532,32 +2542,32 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2532
2542
|
})();
|
|
2533
2543
|
}
|
|
2534
2544
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2535
|
-
var
|
|
2545
|
+
var _this302 = this;
|
|
2536
2546
|
return _asyncToGenerator(function* () {
|
|
2537
2547
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2538
2548
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2539
|
-
return
|
|
2549
|
+
return _this302.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2540
2550
|
})();
|
|
2541
2551
|
}
|
|
2542
2552
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
2543
|
-
var
|
|
2553
|
+
var _this303 = this;
|
|
2544
2554
|
return _asyncToGenerator(function* () {
|
|
2545
2555
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2546
2556
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2547
|
-
return
|
|
2557
|
+
return _this303.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2548
2558
|
})();
|
|
2549
2559
|
}
|
|
2550
2560
|
get_all_repository_credentials(root_project_id, options) {
|
|
2551
|
-
var
|
|
2561
|
+
var _this304 = this;
|
|
2552
2562
|
return _asyncToGenerator(function* () {
|
|
2553
2563
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2554
|
-
return
|
|
2564
|
+
return _this304.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2555
2565
|
})();
|
|
2556
2566
|
}
|
|
2557
2567
|
create_query_task(request, options) {
|
|
2558
|
-
var
|
|
2568
|
+
var _this305 = this;
|
|
2559
2569
|
return _asyncToGenerator(function* () {
|
|
2560
|
-
return
|
|
2570
|
+
return _this305.post('/query_tasks', {
|
|
2561
2571
|
limit: request.limit,
|
|
2562
2572
|
apply_formatting: request.apply_formatting,
|
|
2563
2573
|
apply_vis: request.apply_vis,
|
|
@@ -2575,61 +2585,61 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2575
2585
|
})();
|
|
2576
2586
|
}
|
|
2577
2587
|
query_task_multi_results(query_task_ids, options) {
|
|
2578
|
-
var
|
|
2588
|
+
var _this306 = this;
|
|
2579
2589
|
return _asyncToGenerator(function* () {
|
|
2580
|
-
return
|
|
2590
|
+
return _this306.get('/query_tasks/multi_results', {
|
|
2581
2591
|
query_task_ids
|
|
2582
2592
|
}, null, options);
|
|
2583
2593
|
})();
|
|
2584
2594
|
}
|
|
2585
2595
|
query_task(query_task_id, fields, options) {
|
|
2586
|
-
var
|
|
2596
|
+
var _this307 = this;
|
|
2587
2597
|
return _asyncToGenerator(function* () {
|
|
2588
2598
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2589
|
-
return
|
|
2599
|
+
return _this307.get("/query_tasks/".concat(query_task_id), {
|
|
2590
2600
|
fields
|
|
2591
2601
|
}, null, options);
|
|
2592
2602
|
})();
|
|
2593
2603
|
}
|
|
2594
2604
|
query_task_results(query_task_id, options) {
|
|
2595
|
-
var
|
|
2605
|
+
var _this308 = this;
|
|
2596
2606
|
return _asyncToGenerator(function* () {
|
|
2597
2607
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2598
|
-
return
|
|
2608
|
+
return _this308.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2599
2609
|
})();
|
|
2600
2610
|
}
|
|
2601
2611
|
query(query_id, fields, options) {
|
|
2602
|
-
var
|
|
2612
|
+
var _this309 = this;
|
|
2603
2613
|
return _asyncToGenerator(function* () {
|
|
2604
2614
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2605
|
-
return
|
|
2615
|
+
return _this309.get("/queries/".concat(query_id), {
|
|
2606
2616
|
fields
|
|
2607
2617
|
}, null, options);
|
|
2608
2618
|
})();
|
|
2609
2619
|
}
|
|
2610
2620
|
query_for_slug(slug, fields, options) {
|
|
2611
|
-
var
|
|
2621
|
+
var _this310 = this;
|
|
2612
2622
|
return _asyncToGenerator(function* () {
|
|
2613
2623
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2614
|
-
return
|
|
2624
|
+
return _this310.get("/queries/slug/".concat(slug), {
|
|
2615
2625
|
fields
|
|
2616
2626
|
}, null, options);
|
|
2617
2627
|
})();
|
|
2618
2628
|
}
|
|
2619
2629
|
create_query(body, fields, options) {
|
|
2620
|
-
var
|
|
2630
|
+
var _this311 = this;
|
|
2621
2631
|
return _asyncToGenerator(function* () {
|
|
2622
|
-
return
|
|
2632
|
+
return _this311.post('/queries', {
|
|
2623
2633
|
fields
|
|
2624
2634
|
}, body, options);
|
|
2625
2635
|
})();
|
|
2626
2636
|
}
|
|
2627
2637
|
run_query(request, options) {
|
|
2628
|
-
var
|
|
2638
|
+
var _this312 = this;
|
|
2629
2639
|
return _asyncToGenerator(function* () {
|
|
2630
2640
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
2631
2641
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2632
|
-
return
|
|
2642
|
+
return _this312.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2633
2643
|
limit: request.limit,
|
|
2634
2644
|
apply_formatting: request.apply_formatting,
|
|
2635
2645
|
apply_vis: request.apply_vis,
|
|
@@ -2647,10 +2657,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2647
2657
|
})();
|
|
2648
2658
|
}
|
|
2649
2659
|
run_inline_query(request, options) {
|
|
2650
|
-
var
|
|
2660
|
+
var _this313 = this;
|
|
2651
2661
|
return _asyncToGenerator(function* () {
|
|
2652
2662
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2653
|
-
return
|
|
2663
|
+
return _this313.post("/queries/run/".concat(request.result_format), {
|
|
2654
2664
|
limit: request.limit,
|
|
2655
2665
|
apply_formatting: request.apply_formatting,
|
|
2656
2666
|
apply_vis: request.apply_vis,
|
|
@@ -2667,73 +2677,73 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2667
2677
|
})();
|
|
2668
2678
|
}
|
|
2669
2679
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
2670
|
-
var
|
|
2680
|
+
var _this314 = this;
|
|
2671
2681
|
return _asyncToGenerator(function* () {
|
|
2672
2682
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2673
2683
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2674
2684
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2675
|
-
return
|
|
2685
|
+
return _this314.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2676
2686
|
})();
|
|
2677
2687
|
}
|
|
2678
2688
|
merge_query(merge_query_id, fields, options) {
|
|
2679
|
-
var
|
|
2689
|
+
var _this315 = this;
|
|
2680
2690
|
return _asyncToGenerator(function* () {
|
|
2681
2691
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2682
|
-
return
|
|
2692
|
+
return _this315.get("/merge_queries/".concat(merge_query_id), {
|
|
2683
2693
|
fields
|
|
2684
2694
|
}, null, options);
|
|
2685
2695
|
})();
|
|
2686
2696
|
}
|
|
2687
2697
|
create_merge_query(body, fields, options) {
|
|
2688
|
-
var
|
|
2698
|
+
var _this316 = this;
|
|
2689
2699
|
return _asyncToGenerator(function* () {
|
|
2690
|
-
return
|
|
2700
|
+
return _this316.post('/merge_queries', {
|
|
2691
2701
|
fields
|
|
2692
2702
|
}, body, options);
|
|
2693
2703
|
})();
|
|
2694
2704
|
}
|
|
2695
2705
|
all_running_queries(options) {
|
|
2696
|
-
var
|
|
2706
|
+
var _this317 = this;
|
|
2697
2707
|
return _asyncToGenerator(function* () {
|
|
2698
|
-
return
|
|
2708
|
+
return _this317.get('/running_queries', null, null, options);
|
|
2699
2709
|
})();
|
|
2700
2710
|
}
|
|
2701
2711
|
kill_query(query_task_id, options) {
|
|
2702
|
-
var
|
|
2712
|
+
var _this318 = this;
|
|
2703
2713
|
return _asyncToGenerator(function* () {
|
|
2704
2714
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2705
|
-
return
|
|
2715
|
+
return _this318.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
2706
2716
|
})();
|
|
2707
2717
|
}
|
|
2708
2718
|
sql_query(slug, options) {
|
|
2709
|
-
var
|
|
2719
|
+
var _this319 = this;
|
|
2710
2720
|
return _asyncToGenerator(function* () {
|
|
2711
2721
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2712
|
-
return
|
|
2722
|
+
return _this319.get("/sql_queries/".concat(slug), null, null, options);
|
|
2713
2723
|
})();
|
|
2714
2724
|
}
|
|
2715
2725
|
create_sql_query(body, options) {
|
|
2716
|
-
var
|
|
2726
|
+
var _this320 = this;
|
|
2717
2727
|
return _asyncToGenerator(function* () {
|
|
2718
|
-
return
|
|
2728
|
+
return _this320.post('/sql_queries', null, body, options);
|
|
2719
2729
|
})();
|
|
2720
2730
|
}
|
|
2721
2731
|
run_sql_query(slug, result_format, download, options) {
|
|
2722
|
-
var
|
|
2732
|
+
var _this321 = this;
|
|
2723
2733
|
return _asyncToGenerator(function* () {
|
|
2724
2734
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2725
2735
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2726
|
-
return
|
|
2736
|
+
return _this321.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2727
2737
|
download
|
|
2728
2738
|
}, null, options);
|
|
2729
2739
|
})();
|
|
2730
2740
|
}
|
|
2731
2741
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
2732
|
-
var
|
|
2742
|
+
var _this322 = this;
|
|
2733
2743
|
return _asyncToGenerator(function* () {
|
|
2734
2744
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2735
2745
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2736
|
-
return
|
|
2746
|
+
return _this322.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2737
2747
|
width,
|
|
2738
2748
|
height,
|
|
2739
2749
|
fields
|
|
@@ -2741,11 +2751,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2741
2751
|
})();
|
|
2742
2752
|
}
|
|
2743
2753
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
2744
|
-
var
|
|
2754
|
+
var _this323 = this;
|
|
2745
2755
|
return _asyncToGenerator(function* () {
|
|
2746
2756
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2747
2757
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2748
|
-
return
|
|
2758
|
+
return _this323.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2749
2759
|
width,
|
|
2750
2760
|
height,
|
|
2751
2761
|
fields
|
|
@@ -2753,11 +2763,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2753
2763
|
})();
|
|
2754
2764
|
}
|
|
2755
2765
|
create_dashboard_render_task(request, options) {
|
|
2756
|
-
var
|
|
2766
|
+
var _this324 = this;
|
|
2757
2767
|
return _asyncToGenerator(function* () {
|
|
2758
2768
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
2759
2769
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2760
|
-
return
|
|
2770
|
+
return _this324.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2761
2771
|
width: request.width,
|
|
2762
2772
|
height: request.height,
|
|
2763
2773
|
fields: request.fields,
|
|
@@ -2768,27 +2778,27 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2768
2778
|
})();
|
|
2769
2779
|
}
|
|
2770
2780
|
render_task(render_task_id, fields, options) {
|
|
2771
|
-
var
|
|
2781
|
+
var _this325 = this;
|
|
2772
2782
|
return _asyncToGenerator(function* () {
|
|
2773
2783
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2774
|
-
return
|
|
2784
|
+
return _this325.get("/render_tasks/".concat(render_task_id), {
|
|
2775
2785
|
fields
|
|
2776
2786
|
}, null, options);
|
|
2777
2787
|
})();
|
|
2778
2788
|
}
|
|
2779
2789
|
render_task_results(render_task_id, options) {
|
|
2780
|
-
var
|
|
2790
|
+
var _this326 = this;
|
|
2781
2791
|
return _asyncToGenerator(function* () {
|
|
2782
2792
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2783
|
-
return
|
|
2793
|
+
return _this326.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2784
2794
|
})();
|
|
2785
2795
|
}
|
|
2786
2796
|
create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
|
|
2787
|
-
var
|
|
2797
|
+
var _this327 = this;
|
|
2788
2798
|
return _asyncToGenerator(function* () {
|
|
2789
2799
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
2790
2800
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2791
|
-
return
|
|
2801
|
+
return _this327.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2792
2802
|
width,
|
|
2793
2803
|
height,
|
|
2794
2804
|
fields
|
|
@@ -2796,9 +2806,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2796
2806
|
})();
|
|
2797
2807
|
}
|
|
2798
2808
|
search_model_sets(request, options) {
|
|
2799
|
-
var
|
|
2809
|
+
var _this328 = this;
|
|
2800
2810
|
return _asyncToGenerator(function* () {
|
|
2801
|
-
return
|
|
2811
|
+
return _this328.get('/model_sets/search', {
|
|
2802
2812
|
fields: request.fields,
|
|
2803
2813
|
limit: request.limit,
|
|
2804
2814
|
offset: request.offset,
|
|
@@ -2812,52 +2822,52 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2812
2822
|
})();
|
|
2813
2823
|
}
|
|
2814
2824
|
model_set(model_set_id, fields, options) {
|
|
2815
|
-
var
|
|
2825
|
+
var _this329 = this;
|
|
2816
2826
|
return _asyncToGenerator(function* () {
|
|
2817
2827
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2818
|
-
return
|
|
2828
|
+
return _this329.get("/model_sets/".concat(model_set_id), {
|
|
2819
2829
|
fields
|
|
2820
2830
|
}, null, options);
|
|
2821
2831
|
})();
|
|
2822
2832
|
}
|
|
2823
2833
|
update_model_set(model_set_id, body, options) {
|
|
2824
|
-
var
|
|
2834
|
+
var _this330 = this;
|
|
2825
2835
|
return _asyncToGenerator(function* () {
|
|
2826
2836
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2827
|
-
return
|
|
2837
|
+
return _this330.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
2828
2838
|
})();
|
|
2829
2839
|
}
|
|
2830
2840
|
delete_model_set(model_set_id, options) {
|
|
2831
|
-
var
|
|
2841
|
+
var _this331 = this;
|
|
2832
2842
|
return _asyncToGenerator(function* () {
|
|
2833
2843
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2834
|
-
return
|
|
2844
|
+
return _this331.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
2835
2845
|
})();
|
|
2836
2846
|
}
|
|
2837
2847
|
all_model_sets(fields, options) {
|
|
2838
|
-
var
|
|
2848
|
+
var _this332 = this;
|
|
2839
2849
|
return _asyncToGenerator(function* () {
|
|
2840
|
-
return
|
|
2850
|
+
return _this332.get('/model_sets', {
|
|
2841
2851
|
fields
|
|
2842
2852
|
}, null, options);
|
|
2843
2853
|
})();
|
|
2844
2854
|
}
|
|
2845
2855
|
create_model_set(body, options) {
|
|
2846
|
-
var
|
|
2856
|
+
var _this333 = this;
|
|
2847
2857
|
return _asyncToGenerator(function* () {
|
|
2848
|
-
return
|
|
2858
|
+
return _this333.post('/model_sets', null, body, options);
|
|
2849
2859
|
})();
|
|
2850
2860
|
}
|
|
2851
2861
|
all_permissions(options) {
|
|
2852
|
-
var
|
|
2862
|
+
var _this334 = this;
|
|
2853
2863
|
return _asyncToGenerator(function* () {
|
|
2854
|
-
return
|
|
2864
|
+
return _this334.get('/permissions', null, null, options);
|
|
2855
2865
|
})();
|
|
2856
2866
|
}
|
|
2857
2867
|
search_permission_sets(request, options) {
|
|
2858
|
-
var
|
|
2868
|
+
var _this335 = this;
|
|
2859
2869
|
return _asyncToGenerator(function* () {
|
|
2860
|
-
return
|
|
2870
|
+
return _this335.get('/permission_sets/search', {
|
|
2861
2871
|
fields: request.fields,
|
|
2862
2872
|
limit: request.limit,
|
|
2863
2873
|
offset: request.offset,
|
|
@@ -2871,61 +2881,61 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2871
2881
|
})();
|
|
2872
2882
|
}
|
|
2873
2883
|
permission_set(permission_set_id, fields, options) {
|
|
2874
|
-
var
|
|
2884
|
+
var _this336 = this;
|
|
2875
2885
|
return _asyncToGenerator(function* () {
|
|
2876
2886
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2877
|
-
return
|
|
2887
|
+
return _this336.get("/permission_sets/".concat(permission_set_id), {
|
|
2878
2888
|
fields
|
|
2879
2889
|
}, null, options);
|
|
2880
2890
|
})();
|
|
2881
2891
|
}
|
|
2882
2892
|
update_permission_set(permission_set_id, body, options) {
|
|
2883
|
-
var
|
|
2893
|
+
var _this337 = this;
|
|
2884
2894
|
return _asyncToGenerator(function* () {
|
|
2885
2895
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2886
|
-
return
|
|
2896
|
+
return _this337.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2887
2897
|
})();
|
|
2888
2898
|
}
|
|
2889
2899
|
delete_permission_set(permission_set_id, options) {
|
|
2890
|
-
var
|
|
2900
|
+
var _this338 = this;
|
|
2891
2901
|
return _asyncToGenerator(function* () {
|
|
2892
2902
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2893
|
-
return
|
|
2903
|
+
return _this338.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2894
2904
|
})();
|
|
2895
2905
|
}
|
|
2896
2906
|
all_permission_sets(fields, options) {
|
|
2897
|
-
var
|
|
2907
|
+
var _this339 = this;
|
|
2898
2908
|
return _asyncToGenerator(function* () {
|
|
2899
|
-
return
|
|
2909
|
+
return _this339.get('/permission_sets', {
|
|
2900
2910
|
fields
|
|
2901
2911
|
}, null, options);
|
|
2902
2912
|
})();
|
|
2903
2913
|
}
|
|
2904
2914
|
create_permission_set(body, options) {
|
|
2905
|
-
var
|
|
2915
|
+
var _this340 = this;
|
|
2906
2916
|
return _asyncToGenerator(function* () {
|
|
2907
|
-
return
|
|
2917
|
+
return _this340.post('/permission_sets', null, body, options);
|
|
2908
2918
|
})();
|
|
2909
2919
|
}
|
|
2910
2920
|
all_roles(request, options) {
|
|
2911
|
-
var
|
|
2921
|
+
var _this341 = this;
|
|
2912
2922
|
return _asyncToGenerator(function* () {
|
|
2913
|
-
return
|
|
2923
|
+
return _this341.get('/roles', {
|
|
2914
2924
|
fields: request.fields,
|
|
2915
2925
|
ids: request.ids
|
|
2916
2926
|
}, null, options);
|
|
2917
2927
|
})();
|
|
2918
2928
|
}
|
|
2919
2929
|
create_role(body, options) {
|
|
2920
|
-
var
|
|
2930
|
+
var _this342 = this;
|
|
2921
2931
|
return _asyncToGenerator(function* () {
|
|
2922
|
-
return
|
|
2932
|
+
return _this342.post('/roles', null, body, options);
|
|
2923
2933
|
})();
|
|
2924
2934
|
}
|
|
2925
2935
|
search_roles(request, options) {
|
|
2926
|
-
var
|
|
2936
|
+
var _this343 = this;
|
|
2927
2937
|
return _asyncToGenerator(function* () {
|
|
2928
|
-
return
|
|
2938
|
+
return _this343.get('/roles/search', {
|
|
2929
2939
|
fields: request.fields,
|
|
2930
2940
|
limit: request.limit,
|
|
2931
2941
|
offset: request.offset,
|
|
@@ -2938,9 +2948,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2938
2948
|
})();
|
|
2939
2949
|
}
|
|
2940
2950
|
search_roles_with_user_count(request, options) {
|
|
2941
|
-
var
|
|
2951
|
+
var _this344 = this;
|
|
2942
2952
|
return _asyncToGenerator(function* () {
|
|
2943
|
-
return
|
|
2953
|
+
return _this344.get('/roles/search/with_user_count', {
|
|
2944
2954
|
fields: request.fields,
|
|
2945
2955
|
limit: request.limit,
|
|
2946
2956
|
offset: request.offset,
|
|
@@ -2953,95 +2963,95 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2953
2963
|
})();
|
|
2954
2964
|
}
|
|
2955
2965
|
role(role_id, options) {
|
|
2956
|
-
var
|
|
2966
|
+
var _this345 = this;
|
|
2957
2967
|
return _asyncToGenerator(function* () {
|
|
2958
2968
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2959
|
-
return
|
|
2969
|
+
return _this345.get("/roles/".concat(role_id), null, null, options);
|
|
2960
2970
|
})();
|
|
2961
2971
|
}
|
|
2962
2972
|
update_role(role_id, body, options) {
|
|
2963
|
-
var
|
|
2973
|
+
var _this346 = this;
|
|
2964
2974
|
return _asyncToGenerator(function* () {
|
|
2965
2975
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2966
|
-
return
|
|
2976
|
+
return _this346.patch("/roles/".concat(role_id), null, body, options);
|
|
2967
2977
|
})();
|
|
2968
2978
|
}
|
|
2969
2979
|
delete_role(role_id, options) {
|
|
2970
|
-
var
|
|
2980
|
+
var _this347 = this;
|
|
2971
2981
|
return _asyncToGenerator(function* () {
|
|
2972
2982
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2973
|
-
return
|
|
2983
|
+
return _this347.delete("/roles/".concat(role_id), null, null, options);
|
|
2974
2984
|
})();
|
|
2975
2985
|
}
|
|
2976
2986
|
role_groups(role_id, fields, options) {
|
|
2977
|
-
var
|
|
2987
|
+
var _this348 = this;
|
|
2978
2988
|
return _asyncToGenerator(function* () {
|
|
2979
2989
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2980
|
-
return
|
|
2990
|
+
return _this348.get("/roles/".concat(role_id, "/groups"), {
|
|
2981
2991
|
fields
|
|
2982
2992
|
}, null, options);
|
|
2983
2993
|
})();
|
|
2984
2994
|
}
|
|
2985
2995
|
set_role_groups(role_id, body, options) {
|
|
2986
|
-
var
|
|
2996
|
+
var _this349 = this;
|
|
2987
2997
|
return _asyncToGenerator(function* () {
|
|
2988
2998
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2989
|
-
return
|
|
2999
|
+
return _this349.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
2990
3000
|
})();
|
|
2991
3001
|
}
|
|
2992
3002
|
role_users(request, options) {
|
|
2993
|
-
var
|
|
3003
|
+
var _this350 = this;
|
|
2994
3004
|
return _asyncToGenerator(function* () {
|
|
2995
3005
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
2996
|
-
return
|
|
3006
|
+
return _this350.get("/roles/".concat(request.role_id, "/users"), {
|
|
2997
3007
|
fields: request.fields,
|
|
2998
3008
|
direct_association_only: request.direct_association_only
|
|
2999
3009
|
}, null, options);
|
|
3000
3010
|
})();
|
|
3001
3011
|
}
|
|
3002
3012
|
set_role_users(role_id, body, options) {
|
|
3003
|
-
var
|
|
3013
|
+
var _this351 = this;
|
|
3004
3014
|
return _asyncToGenerator(function* () {
|
|
3005
3015
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3006
|
-
return
|
|
3016
|
+
return _this351.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3007
3017
|
})();
|
|
3008
3018
|
}
|
|
3009
3019
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3010
|
-
var
|
|
3020
|
+
var _this352 = this;
|
|
3011
3021
|
return _asyncToGenerator(function* () {
|
|
3012
3022
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3013
|
-
return
|
|
3023
|
+
return _this352.get("/scheduled_plans/space/".concat(space_id), {
|
|
3014
3024
|
fields
|
|
3015
3025
|
}, null, options);
|
|
3016
3026
|
})();
|
|
3017
3027
|
}
|
|
3018
3028
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3019
|
-
var
|
|
3029
|
+
var _this353 = this;
|
|
3020
3030
|
return _asyncToGenerator(function* () {
|
|
3021
3031
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3022
|
-
return
|
|
3032
|
+
return _this353.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3023
3033
|
fields
|
|
3024
3034
|
}, null, options);
|
|
3025
3035
|
})();
|
|
3026
3036
|
}
|
|
3027
3037
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3028
|
-
var
|
|
3038
|
+
var _this354 = this;
|
|
3029
3039
|
return _asyncToGenerator(function* () {
|
|
3030
3040
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3031
|
-
return
|
|
3041
|
+
return _this354.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3032
3042
|
})();
|
|
3033
3043
|
}
|
|
3034
3044
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3035
|
-
var
|
|
3045
|
+
var _this355 = this;
|
|
3036
3046
|
return _asyncToGenerator(function* () {
|
|
3037
3047
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3038
|
-
return
|
|
3048
|
+
return _this355.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3039
3049
|
})();
|
|
3040
3050
|
}
|
|
3041
3051
|
all_scheduled_plans(request, options) {
|
|
3042
|
-
var
|
|
3052
|
+
var _this356 = this;
|
|
3043
3053
|
return _asyncToGenerator(function* () {
|
|
3044
|
-
return
|
|
3054
|
+
return _this356.get('/scheduled_plans', {
|
|
3045
3055
|
user_id: request.user_id,
|
|
3046
3056
|
fields: request.fields,
|
|
3047
3057
|
all_users: request.all_users
|
|
@@ -3049,22 +3059,22 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3049
3059
|
})();
|
|
3050
3060
|
}
|
|
3051
3061
|
create_scheduled_plan(body, options) {
|
|
3052
|
-
var
|
|
3062
|
+
var _this357 = this;
|
|
3053
3063
|
return _asyncToGenerator(function* () {
|
|
3054
|
-
return
|
|
3064
|
+
return _this357.post('/scheduled_plans', null, body, options);
|
|
3055
3065
|
})();
|
|
3056
3066
|
}
|
|
3057
3067
|
scheduled_plan_run_once(body, options) {
|
|
3058
|
-
var
|
|
3068
|
+
var _this358 = this;
|
|
3059
3069
|
return _asyncToGenerator(function* () {
|
|
3060
|
-
return
|
|
3070
|
+
return _this358.post('/scheduled_plans/run_once', null, body, options);
|
|
3061
3071
|
})();
|
|
3062
3072
|
}
|
|
3063
3073
|
scheduled_plans_for_look(request, options) {
|
|
3064
|
-
var
|
|
3074
|
+
var _this359 = this;
|
|
3065
3075
|
return _asyncToGenerator(function* () {
|
|
3066
3076
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3067
|
-
return
|
|
3077
|
+
return _this359.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3068
3078
|
user_id: request.user_id,
|
|
3069
3079
|
fields: request.fields,
|
|
3070
3080
|
all_users: request.all_users
|
|
@@ -3072,10 +3082,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3072
3082
|
})();
|
|
3073
3083
|
}
|
|
3074
3084
|
scheduled_plans_for_dashboard(request, options) {
|
|
3075
|
-
var
|
|
3085
|
+
var _this360 = this;
|
|
3076
3086
|
return _asyncToGenerator(function* () {
|
|
3077
3087
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3078
|
-
return
|
|
3088
|
+
return _this360.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3079
3089
|
user_id: request.user_id,
|
|
3080
3090
|
all_users: request.all_users,
|
|
3081
3091
|
fields: request.fields
|
|
@@ -3083,10 +3093,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3083
3093
|
})();
|
|
3084
3094
|
}
|
|
3085
3095
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3086
|
-
var
|
|
3096
|
+
var _this361 = this;
|
|
3087
3097
|
return _asyncToGenerator(function* () {
|
|
3088
3098
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3089
|
-
return
|
|
3099
|
+
return _this361.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3090
3100
|
user_id: request.user_id,
|
|
3091
3101
|
fields: request.fields,
|
|
3092
3102
|
all_users: request.all_users
|
|
@@ -3094,42 +3104,42 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3094
3104
|
})();
|
|
3095
3105
|
}
|
|
3096
3106
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3097
|
-
var
|
|
3107
|
+
var _this362 = this;
|
|
3098
3108
|
return _asyncToGenerator(function* () {
|
|
3099
3109
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3100
|
-
return
|
|
3110
|
+
return _this362.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3101
3111
|
})();
|
|
3102
3112
|
}
|
|
3103
3113
|
session(options) {
|
|
3104
|
-
var
|
|
3114
|
+
var _this363 = this;
|
|
3105
3115
|
return _asyncToGenerator(function* () {
|
|
3106
|
-
return
|
|
3116
|
+
return _this363.get('/session', null, null, options);
|
|
3107
3117
|
})();
|
|
3108
3118
|
}
|
|
3109
3119
|
update_session(body, options) {
|
|
3110
|
-
var
|
|
3120
|
+
var _this364 = this;
|
|
3111
3121
|
return _asyncToGenerator(function* () {
|
|
3112
|
-
return
|
|
3122
|
+
return _this364.patch('/session', null, body, options);
|
|
3113
3123
|
})();
|
|
3114
3124
|
}
|
|
3115
3125
|
all_themes(fields, options) {
|
|
3116
|
-
var
|
|
3126
|
+
var _this365 = this;
|
|
3117
3127
|
return _asyncToGenerator(function* () {
|
|
3118
|
-
return
|
|
3128
|
+
return _this365.get('/themes', {
|
|
3119
3129
|
fields
|
|
3120
3130
|
}, null, options);
|
|
3121
3131
|
})();
|
|
3122
3132
|
}
|
|
3123
3133
|
create_theme(body, options) {
|
|
3124
|
-
var
|
|
3134
|
+
var _this366 = this;
|
|
3125
3135
|
return _asyncToGenerator(function* () {
|
|
3126
|
-
return
|
|
3136
|
+
return _this366.post('/themes', null, body, options);
|
|
3127
3137
|
})();
|
|
3128
3138
|
}
|
|
3129
3139
|
search_themes(request, options) {
|
|
3130
|
-
var
|
|
3140
|
+
var _this367 = this;
|
|
3131
3141
|
return _asyncToGenerator(function* () {
|
|
3132
|
-
return
|
|
3142
|
+
return _this367.get('/themes/search', {
|
|
3133
3143
|
id: request.id,
|
|
3134
3144
|
name: request.name,
|
|
3135
3145
|
begin_at: request.begin_at,
|
|
@@ -3143,25 +3153,25 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3143
3153
|
})();
|
|
3144
3154
|
}
|
|
3145
3155
|
default_theme(ts, options) {
|
|
3146
|
-
var
|
|
3156
|
+
var _this368 = this;
|
|
3147
3157
|
return _asyncToGenerator(function* () {
|
|
3148
|
-
return
|
|
3158
|
+
return _this368.get('/themes/default', {
|
|
3149
3159
|
ts
|
|
3150
3160
|
}, null, options);
|
|
3151
3161
|
})();
|
|
3152
3162
|
}
|
|
3153
3163
|
set_default_theme(name, options) {
|
|
3154
|
-
var
|
|
3164
|
+
var _this369 = this;
|
|
3155
3165
|
return _asyncToGenerator(function* () {
|
|
3156
|
-
return
|
|
3166
|
+
return _this369.put('/themes/default', {
|
|
3157
3167
|
name
|
|
3158
3168
|
}, null, options);
|
|
3159
3169
|
})();
|
|
3160
3170
|
}
|
|
3161
3171
|
active_themes(request, options) {
|
|
3162
|
-
var
|
|
3172
|
+
var _this370 = this;
|
|
3163
3173
|
return _asyncToGenerator(function* () {
|
|
3164
|
-
return
|
|
3174
|
+
return _this370.get('/themes/active', {
|
|
3165
3175
|
name: request.name,
|
|
3166
3176
|
ts: request.ts,
|
|
3167
3177
|
fields: request.fields
|
|
@@ -3169,47 +3179,47 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3169
3179
|
})();
|
|
3170
3180
|
}
|
|
3171
3181
|
theme_or_default(name, ts, options) {
|
|
3172
|
-
var
|
|
3182
|
+
var _this371 = this;
|
|
3173
3183
|
return _asyncToGenerator(function* () {
|
|
3174
|
-
return
|
|
3184
|
+
return _this371.get('/themes/theme_or_default', {
|
|
3175
3185
|
name,
|
|
3176
3186
|
ts
|
|
3177
3187
|
}, null, options);
|
|
3178
3188
|
})();
|
|
3179
3189
|
}
|
|
3180
3190
|
validate_theme(body, options) {
|
|
3181
|
-
var
|
|
3191
|
+
var _this372 = this;
|
|
3182
3192
|
return _asyncToGenerator(function* () {
|
|
3183
|
-
return
|
|
3193
|
+
return _this372.post('/themes/validate', null, body, options);
|
|
3184
3194
|
})();
|
|
3185
3195
|
}
|
|
3186
3196
|
theme(theme_id, fields, options) {
|
|
3187
|
-
var
|
|
3197
|
+
var _this373 = this;
|
|
3188
3198
|
return _asyncToGenerator(function* () {
|
|
3189
3199
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3190
|
-
return
|
|
3200
|
+
return _this373.get("/themes/".concat(theme_id), {
|
|
3191
3201
|
fields
|
|
3192
3202
|
}, null, options);
|
|
3193
3203
|
})();
|
|
3194
3204
|
}
|
|
3195
3205
|
update_theme(theme_id, body, options) {
|
|
3196
|
-
var
|
|
3206
|
+
var _this374 = this;
|
|
3197
3207
|
return _asyncToGenerator(function* () {
|
|
3198
3208
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3199
|
-
return
|
|
3209
|
+
return _this374.patch("/themes/".concat(theme_id), null, body, options);
|
|
3200
3210
|
})();
|
|
3201
3211
|
}
|
|
3202
3212
|
delete_theme(theme_id, options) {
|
|
3203
|
-
var
|
|
3213
|
+
var _this375 = this;
|
|
3204
3214
|
return _asyncToGenerator(function* () {
|
|
3205
3215
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3206
|
-
return
|
|
3216
|
+
return _this375.delete("/themes/".concat(theme_id), null, null, options);
|
|
3207
3217
|
})();
|
|
3208
3218
|
}
|
|
3209
3219
|
search_credentials_email(request, options) {
|
|
3210
|
-
var
|
|
3220
|
+
var _this376 = this;
|
|
3211
3221
|
return _asyncToGenerator(function* () {
|
|
3212
|
-
return
|
|
3222
|
+
return _this376.get('/credentials_email/search', {
|
|
3213
3223
|
fields: request.fields,
|
|
3214
3224
|
limit: request.limit,
|
|
3215
3225
|
offset: request.offset,
|
|
@@ -3222,17 +3232,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3222
3232
|
})();
|
|
3223
3233
|
}
|
|
3224
3234
|
me(fields, options) {
|
|
3225
|
-
var
|
|
3235
|
+
var _this377 = this;
|
|
3226
3236
|
return _asyncToGenerator(function* () {
|
|
3227
|
-
return
|
|
3237
|
+
return _this377.get('/user', {
|
|
3228
3238
|
fields
|
|
3229
3239
|
}, null, options);
|
|
3230
3240
|
})();
|
|
3231
3241
|
}
|
|
3232
3242
|
all_users(request, options) {
|
|
3233
|
-
var
|
|
3243
|
+
var _this378 = this;
|
|
3234
3244
|
return _asyncToGenerator(function* () {
|
|
3235
|
-
return
|
|
3245
|
+
return _this378.get('/users', {
|
|
3236
3246
|
fields: request.fields,
|
|
3237
3247
|
page: request.page,
|
|
3238
3248
|
per_page: request.per_page,
|
|
@@ -3244,17 +3254,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3244
3254
|
})();
|
|
3245
3255
|
}
|
|
3246
3256
|
create_user(body, fields, options) {
|
|
3247
|
-
var
|
|
3257
|
+
var _this379 = this;
|
|
3248
3258
|
return _asyncToGenerator(function* () {
|
|
3249
|
-
return
|
|
3259
|
+
return _this379.post('/users', {
|
|
3250
3260
|
fields
|
|
3251
3261
|
}, body, options);
|
|
3252
3262
|
})();
|
|
3253
3263
|
}
|
|
3254
3264
|
search_users(request, options) {
|
|
3255
|
-
var
|
|
3265
|
+
var _this380 = this;
|
|
3256
3266
|
return _asyncToGenerator(function* () {
|
|
3257
|
-
return
|
|
3267
|
+
return _this380.get('/users/search', {
|
|
3258
3268
|
fields: request.fields,
|
|
3259
3269
|
page: request.page,
|
|
3260
3270
|
per_page: request.per_page,
|
|
@@ -3275,10 +3285,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3275
3285
|
})();
|
|
3276
3286
|
}
|
|
3277
3287
|
search_users_names(request, options) {
|
|
3278
|
-
var
|
|
3288
|
+
var _this381 = this;
|
|
3279
3289
|
return _asyncToGenerator(function* () {
|
|
3280
3290
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3281
|
-
return
|
|
3291
|
+
return _this381.get("/users/search/names/".concat(request.pattern), {
|
|
3282
3292
|
fields: request.fields,
|
|
3283
3293
|
page: request.page,
|
|
3284
3294
|
per_page: request.per_page,
|
|
@@ -3295,303 +3305,303 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3295
3305
|
})();
|
|
3296
3306
|
}
|
|
3297
3307
|
user(user_id, fields, options) {
|
|
3298
|
-
var
|
|
3308
|
+
var _this382 = this;
|
|
3299
3309
|
return _asyncToGenerator(function* () {
|
|
3300
3310
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3301
|
-
return
|
|
3311
|
+
return _this382.get("/users/".concat(user_id), {
|
|
3302
3312
|
fields
|
|
3303
3313
|
}, null, options);
|
|
3304
3314
|
})();
|
|
3305
3315
|
}
|
|
3306
3316
|
update_user(user_id, body, fields, options) {
|
|
3307
|
-
var
|
|
3317
|
+
var _this383 = this;
|
|
3308
3318
|
return _asyncToGenerator(function* () {
|
|
3309
3319
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3310
|
-
return
|
|
3320
|
+
return _this383.patch("/users/".concat(user_id), {
|
|
3311
3321
|
fields
|
|
3312
3322
|
}, body, options);
|
|
3313
3323
|
})();
|
|
3314
3324
|
}
|
|
3315
3325
|
delete_user(user_id, options) {
|
|
3316
|
-
var
|
|
3326
|
+
var _this384 = this;
|
|
3317
3327
|
return _asyncToGenerator(function* () {
|
|
3318
3328
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3319
|
-
return
|
|
3329
|
+
return _this384.delete("/users/".concat(user_id), null, null, options);
|
|
3320
3330
|
})();
|
|
3321
3331
|
}
|
|
3322
3332
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3323
|
-
var
|
|
3333
|
+
var _this385 = this;
|
|
3324
3334
|
return _asyncToGenerator(function* () {
|
|
3325
3335
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3326
3336
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3327
|
-
return
|
|
3337
|
+
return _this385.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3328
3338
|
fields
|
|
3329
3339
|
}, null, options);
|
|
3330
3340
|
})();
|
|
3331
3341
|
}
|
|
3332
3342
|
user_credentials_email(user_id, fields, options) {
|
|
3333
|
-
var
|
|
3343
|
+
var _this386 = this;
|
|
3334
3344
|
return _asyncToGenerator(function* () {
|
|
3335
3345
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3336
|
-
return
|
|
3346
|
+
return _this386.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3337
3347
|
fields
|
|
3338
3348
|
}, null, options);
|
|
3339
3349
|
})();
|
|
3340
3350
|
}
|
|
3341
3351
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3342
|
-
var
|
|
3352
|
+
var _this387 = this;
|
|
3343
3353
|
return _asyncToGenerator(function* () {
|
|
3344
3354
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3345
|
-
return
|
|
3355
|
+
return _this387.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3346
3356
|
fields
|
|
3347
3357
|
}, body, options);
|
|
3348
3358
|
})();
|
|
3349
3359
|
}
|
|
3350
3360
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3351
|
-
var
|
|
3361
|
+
var _this388 = this;
|
|
3352
3362
|
return _asyncToGenerator(function* () {
|
|
3353
3363
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3354
|
-
return
|
|
3364
|
+
return _this388.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3355
3365
|
fields
|
|
3356
3366
|
}, body, options);
|
|
3357
3367
|
})();
|
|
3358
3368
|
}
|
|
3359
3369
|
delete_user_credentials_email(user_id, options) {
|
|
3360
|
-
var
|
|
3370
|
+
var _this389 = this;
|
|
3361
3371
|
return _asyncToGenerator(function* () {
|
|
3362
3372
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3363
|
-
return
|
|
3373
|
+
return _this389.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3364
3374
|
})();
|
|
3365
3375
|
}
|
|
3366
3376
|
user_credentials_totp(user_id, fields, options) {
|
|
3367
|
-
var
|
|
3377
|
+
var _this390 = this;
|
|
3368
3378
|
return _asyncToGenerator(function* () {
|
|
3369
3379
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3370
|
-
return
|
|
3380
|
+
return _this390.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3371
3381
|
fields
|
|
3372
3382
|
}, null, options);
|
|
3373
3383
|
})();
|
|
3374
3384
|
}
|
|
3375
3385
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3376
|
-
var
|
|
3386
|
+
var _this391 = this;
|
|
3377
3387
|
return _asyncToGenerator(function* () {
|
|
3378
3388
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3379
|
-
return
|
|
3389
|
+
return _this391.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3380
3390
|
fields
|
|
3381
3391
|
}, body, options);
|
|
3382
3392
|
})();
|
|
3383
3393
|
}
|
|
3384
3394
|
delete_user_credentials_totp(user_id, options) {
|
|
3385
|
-
var
|
|
3395
|
+
var _this392 = this;
|
|
3386
3396
|
return _asyncToGenerator(function* () {
|
|
3387
3397
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3388
|
-
return
|
|
3398
|
+
return _this392.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3389
3399
|
})();
|
|
3390
3400
|
}
|
|
3391
3401
|
user_credentials_ldap(user_id, fields, options) {
|
|
3392
|
-
var
|
|
3402
|
+
var _this393 = this;
|
|
3393
3403
|
return _asyncToGenerator(function* () {
|
|
3394
3404
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3395
|
-
return
|
|
3405
|
+
return _this393.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3396
3406
|
fields
|
|
3397
3407
|
}, null, options);
|
|
3398
3408
|
})();
|
|
3399
3409
|
}
|
|
3400
3410
|
delete_user_credentials_ldap(user_id, options) {
|
|
3401
|
-
var
|
|
3411
|
+
var _this394 = this;
|
|
3402
3412
|
return _asyncToGenerator(function* () {
|
|
3403
3413
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3404
|
-
return
|
|
3414
|
+
return _this394.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3405
3415
|
})();
|
|
3406
3416
|
}
|
|
3407
3417
|
user_credentials_google(user_id, fields, options) {
|
|
3408
|
-
var
|
|
3418
|
+
var _this395 = this;
|
|
3409
3419
|
return _asyncToGenerator(function* () {
|
|
3410
3420
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3411
|
-
return
|
|
3421
|
+
return _this395.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3412
3422
|
fields
|
|
3413
3423
|
}, null, options);
|
|
3414
3424
|
})();
|
|
3415
3425
|
}
|
|
3416
3426
|
delete_user_credentials_google(user_id, options) {
|
|
3417
|
-
var
|
|
3427
|
+
var _this396 = this;
|
|
3418
3428
|
return _asyncToGenerator(function* () {
|
|
3419
3429
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3420
|
-
return
|
|
3430
|
+
return _this396.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3421
3431
|
})();
|
|
3422
3432
|
}
|
|
3423
3433
|
user_credentials_saml(user_id, fields, options) {
|
|
3424
|
-
var
|
|
3434
|
+
var _this397 = this;
|
|
3425
3435
|
return _asyncToGenerator(function* () {
|
|
3426
3436
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3427
|
-
return
|
|
3437
|
+
return _this397.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3428
3438
|
fields
|
|
3429
3439
|
}, null, options);
|
|
3430
3440
|
})();
|
|
3431
3441
|
}
|
|
3432
3442
|
delete_user_credentials_saml(user_id, options) {
|
|
3433
|
-
var
|
|
3443
|
+
var _this398 = this;
|
|
3434
3444
|
return _asyncToGenerator(function* () {
|
|
3435
3445
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3436
|
-
return
|
|
3446
|
+
return _this398.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3437
3447
|
})();
|
|
3438
3448
|
}
|
|
3439
3449
|
user_credentials_oidc(user_id, fields, options) {
|
|
3440
|
-
var
|
|
3450
|
+
var _this399 = this;
|
|
3441
3451
|
return _asyncToGenerator(function* () {
|
|
3442
3452
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3443
|
-
return
|
|
3453
|
+
return _this399.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3444
3454
|
fields
|
|
3445
3455
|
}, null, options);
|
|
3446
3456
|
})();
|
|
3447
3457
|
}
|
|
3448
3458
|
delete_user_credentials_oidc(user_id, options) {
|
|
3449
|
-
var
|
|
3459
|
+
var _this400 = this;
|
|
3450
3460
|
return _asyncToGenerator(function* () {
|
|
3451
3461
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3452
|
-
return
|
|
3462
|
+
return _this400.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3453
3463
|
})();
|
|
3454
3464
|
}
|
|
3455
3465
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3456
|
-
var
|
|
3466
|
+
var _this401 = this;
|
|
3457
3467
|
return _asyncToGenerator(function* () {
|
|
3458
3468
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3459
3469
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3460
|
-
return
|
|
3470
|
+
return _this401.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3461
3471
|
fields
|
|
3462
3472
|
}, null, options);
|
|
3463
3473
|
})();
|
|
3464
3474
|
}
|
|
3465
3475
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3466
|
-
var
|
|
3476
|
+
var _this402 = this;
|
|
3467
3477
|
return _asyncToGenerator(function* () {
|
|
3468
3478
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3469
3479
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3470
|
-
return
|
|
3480
|
+
return _this402.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3471
3481
|
})();
|
|
3472
3482
|
}
|
|
3473
3483
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3474
|
-
var
|
|
3484
|
+
var _this403 = this;
|
|
3475
3485
|
return _asyncToGenerator(function* () {
|
|
3476
3486
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3477
|
-
return
|
|
3487
|
+
return _this403.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3478
3488
|
fields
|
|
3479
3489
|
}, null, options);
|
|
3480
3490
|
})();
|
|
3481
3491
|
}
|
|
3482
3492
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3483
|
-
var
|
|
3493
|
+
var _this404 = this;
|
|
3484
3494
|
return _asyncToGenerator(function* () {
|
|
3485
3495
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3486
|
-
return
|
|
3496
|
+
return _this404.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3487
3497
|
fields
|
|
3488
3498
|
}, null, options);
|
|
3489
3499
|
})();
|
|
3490
3500
|
}
|
|
3491
3501
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3492
|
-
var
|
|
3502
|
+
var _this405 = this;
|
|
3493
3503
|
return _asyncToGenerator(function* () {
|
|
3494
3504
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3495
3505
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3496
|
-
return
|
|
3506
|
+
return _this405.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3497
3507
|
fields
|
|
3498
3508
|
}, null, options);
|
|
3499
3509
|
})();
|
|
3500
3510
|
}
|
|
3501
3511
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3502
|
-
var
|
|
3512
|
+
var _this406 = this;
|
|
3503
3513
|
return _asyncToGenerator(function* () {
|
|
3504
3514
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3505
3515
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3506
|
-
return
|
|
3516
|
+
return _this406.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3507
3517
|
})();
|
|
3508
3518
|
}
|
|
3509
3519
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3510
|
-
var
|
|
3520
|
+
var _this407 = this;
|
|
3511
3521
|
return _asyncToGenerator(function* () {
|
|
3512
3522
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3513
|
-
return
|
|
3523
|
+
return _this407.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3514
3524
|
fields
|
|
3515
3525
|
}, null, options);
|
|
3516
3526
|
})();
|
|
3517
3527
|
}
|
|
3518
3528
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3519
|
-
var
|
|
3529
|
+
var _this408 = this;
|
|
3520
3530
|
return _asyncToGenerator(function* () {
|
|
3521
3531
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3522
|
-
return
|
|
3532
|
+
return _this408.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3523
3533
|
fields
|
|
3524
3534
|
}, null, options);
|
|
3525
3535
|
})();
|
|
3526
3536
|
}
|
|
3527
3537
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3528
|
-
var
|
|
3538
|
+
var _this409 = this;
|
|
3529
3539
|
return _asyncToGenerator(function* () {
|
|
3530
3540
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3531
|
-
return
|
|
3541
|
+
return _this409.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3532
3542
|
})();
|
|
3533
3543
|
}
|
|
3534
3544
|
user_session(user_id, session_id, fields, options) {
|
|
3535
|
-
var
|
|
3545
|
+
var _this410 = this;
|
|
3536
3546
|
return _asyncToGenerator(function* () {
|
|
3537
3547
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3538
3548
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3539
|
-
return
|
|
3549
|
+
return _this410.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3540
3550
|
fields
|
|
3541
3551
|
}, null, options);
|
|
3542
3552
|
})();
|
|
3543
3553
|
}
|
|
3544
3554
|
delete_user_session(user_id, session_id, options) {
|
|
3545
|
-
var
|
|
3555
|
+
var _this411 = this;
|
|
3546
3556
|
return _asyncToGenerator(function* () {
|
|
3547
3557
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3548
3558
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3549
|
-
return
|
|
3559
|
+
return _this411.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3550
3560
|
})();
|
|
3551
3561
|
}
|
|
3552
3562
|
all_user_sessions(user_id, fields, options) {
|
|
3553
|
-
var
|
|
3563
|
+
var _this412 = this;
|
|
3554
3564
|
return _asyncToGenerator(function* () {
|
|
3555
3565
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3556
|
-
return
|
|
3566
|
+
return _this412.get("/users/".concat(user_id, "/sessions"), {
|
|
3557
3567
|
fields
|
|
3558
3568
|
}, null, options);
|
|
3559
3569
|
})();
|
|
3560
3570
|
}
|
|
3561
3571
|
create_user_credentials_email_password_reset(request, options) {
|
|
3562
|
-
var
|
|
3572
|
+
var _this413 = this;
|
|
3563
3573
|
return _asyncToGenerator(function* () {
|
|
3564
3574
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3565
|
-
return
|
|
3575
|
+
return _this413.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3566
3576
|
expires: request.expires,
|
|
3567
3577
|
fields: request.fields
|
|
3568
3578
|
}, null, options);
|
|
3569
3579
|
})();
|
|
3570
3580
|
}
|
|
3571
3581
|
user_roles(request, options) {
|
|
3572
|
-
var
|
|
3582
|
+
var _this414 = this;
|
|
3573
3583
|
return _asyncToGenerator(function* () {
|
|
3574
3584
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3575
|
-
return
|
|
3585
|
+
return _this414.get("/users/".concat(request.user_id, "/roles"), {
|
|
3576
3586
|
fields: request.fields,
|
|
3577
3587
|
direct_association_only: request.direct_association_only
|
|
3578
3588
|
}, null, options);
|
|
3579
3589
|
})();
|
|
3580
3590
|
}
|
|
3581
3591
|
set_user_roles(user_id, body, fields, options) {
|
|
3582
|
-
var
|
|
3592
|
+
var _this415 = this;
|
|
3583
3593
|
return _asyncToGenerator(function* () {
|
|
3584
3594
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3585
|
-
return
|
|
3595
|
+
return _this415.put("/users/".concat(user_id, "/roles"), {
|
|
3586
3596
|
fields
|
|
3587
3597
|
}, body, options);
|
|
3588
3598
|
})();
|
|
3589
3599
|
}
|
|
3590
3600
|
user_attribute_user_values(request, options) {
|
|
3591
|
-
var
|
|
3601
|
+
var _this416 = this;
|
|
3592
3602
|
return _asyncToGenerator(function* () {
|
|
3593
3603
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3594
|
-
return
|
|
3604
|
+
return _this416.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3595
3605
|
fields: request.fields,
|
|
3596
3606
|
user_attribute_ids: request.user_attribute_ids,
|
|
3597
3607
|
all_values: request.all_values,
|
|
@@ -3600,114 +3610,114 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3600
3610
|
})();
|
|
3601
3611
|
}
|
|
3602
3612
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3603
|
-
var
|
|
3613
|
+
var _this417 = this;
|
|
3604
3614
|
return _asyncToGenerator(function* () {
|
|
3605
3615
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3606
3616
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3607
|
-
return
|
|
3617
|
+
return _this417.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3608
3618
|
})();
|
|
3609
3619
|
}
|
|
3610
3620
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3611
|
-
var
|
|
3621
|
+
var _this418 = this;
|
|
3612
3622
|
return _asyncToGenerator(function* () {
|
|
3613
3623
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3614
3624
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3615
|
-
return
|
|
3625
|
+
return _this418.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3616
3626
|
})();
|
|
3617
3627
|
}
|
|
3618
3628
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3619
|
-
var
|
|
3629
|
+
var _this419 = this;
|
|
3620
3630
|
return _asyncToGenerator(function* () {
|
|
3621
3631
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3622
|
-
return
|
|
3632
|
+
return _this419.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3623
3633
|
fields
|
|
3624
3634
|
}, null, options);
|
|
3625
3635
|
})();
|
|
3626
3636
|
}
|
|
3627
3637
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3628
|
-
var
|
|
3638
|
+
var _this420 = this;
|
|
3629
3639
|
return _asyncToGenerator(function* () {
|
|
3630
3640
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3631
|
-
return
|
|
3641
|
+
return _this420.post("/users/".concat(user_id, "/update_emails"), {
|
|
3632
3642
|
fields
|
|
3633
3643
|
}, body, options);
|
|
3634
3644
|
})();
|
|
3635
3645
|
}
|
|
3636
3646
|
create_embed_user(body, options) {
|
|
3637
|
-
var
|
|
3647
|
+
var _this421 = this;
|
|
3638
3648
|
return _asyncToGenerator(function* () {
|
|
3639
|
-
return
|
|
3649
|
+
return _this421.post('/users/embed_user', null, body, options);
|
|
3640
3650
|
})();
|
|
3641
3651
|
}
|
|
3642
3652
|
all_user_attributes(request, options) {
|
|
3643
|
-
var
|
|
3653
|
+
var _this422 = this;
|
|
3644
3654
|
return _asyncToGenerator(function* () {
|
|
3645
|
-
return
|
|
3655
|
+
return _this422.get('/user_attributes', {
|
|
3646
3656
|
fields: request.fields,
|
|
3647
3657
|
sorts: request.sorts
|
|
3648
3658
|
}, null, options);
|
|
3649
3659
|
})();
|
|
3650
3660
|
}
|
|
3651
3661
|
create_user_attribute(body, fields, options) {
|
|
3652
|
-
var
|
|
3662
|
+
var _this423 = this;
|
|
3653
3663
|
return _asyncToGenerator(function* () {
|
|
3654
|
-
return
|
|
3664
|
+
return _this423.post('/user_attributes', {
|
|
3655
3665
|
fields
|
|
3656
3666
|
}, body, options);
|
|
3657
3667
|
})();
|
|
3658
3668
|
}
|
|
3659
3669
|
user_attribute(user_attribute_id, fields, options) {
|
|
3660
|
-
var
|
|
3670
|
+
var _this424 = this;
|
|
3661
3671
|
return _asyncToGenerator(function* () {
|
|
3662
3672
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3663
|
-
return
|
|
3673
|
+
return _this424.get("/user_attributes/".concat(user_attribute_id), {
|
|
3664
3674
|
fields
|
|
3665
3675
|
}, null, options);
|
|
3666
3676
|
})();
|
|
3667
3677
|
}
|
|
3668
3678
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3669
|
-
var
|
|
3679
|
+
var _this425 = this;
|
|
3670
3680
|
return _asyncToGenerator(function* () {
|
|
3671
3681
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3672
|
-
return
|
|
3682
|
+
return _this425.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3673
3683
|
fields
|
|
3674
3684
|
}, body, options);
|
|
3675
3685
|
})();
|
|
3676
3686
|
}
|
|
3677
3687
|
delete_user_attribute(user_attribute_id, options) {
|
|
3678
|
-
var
|
|
3688
|
+
var _this426 = this;
|
|
3679
3689
|
return _asyncToGenerator(function* () {
|
|
3680
3690
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3681
|
-
return
|
|
3691
|
+
return _this426.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3682
3692
|
})();
|
|
3683
3693
|
}
|
|
3684
3694
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3685
|
-
var
|
|
3695
|
+
var _this427 = this;
|
|
3686
3696
|
return _asyncToGenerator(function* () {
|
|
3687
3697
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3688
|
-
return
|
|
3698
|
+
return _this427.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3689
3699
|
fields
|
|
3690
3700
|
}, null, options);
|
|
3691
3701
|
})();
|
|
3692
3702
|
}
|
|
3693
3703
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3694
|
-
var
|
|
3704
|
+
var _this428 = this;
|
|
3695
3705
|
return _asyncToGenerator(function* () {
|
|
3696
3706
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3697
|
-
return
|
|
3707
|
+
return _this428.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3698
3708
|
})();
|
|
3699
3709
|
}
|
|
3700
3710
|
all_workspaces(options) {
|
|
3701
|
-
var
|
|
3711
|
+
var _this429 = this;
|
|
3702
3712
|
return _asyncToGenerator(function* () {
|
|
3703
|
-
return
|
|
3713
|
+
return _this429.get('/workspaces', null, null, options);
|
|
3704
3714
|
})();
|
|
3705
3715
|
}
|
|
3706
3716
|
workspace(workspace_id, options) {
|
|
3707
|
-
var
|
|
3717
|
+
var _this430 = this;
|
|
3708
3718
|
return _asyncToGenerator(function* () {
|
|
3709
3719
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3710
|
-
return
|
|
3720
|
+
return _this430.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3711
3721
|
})();
|
|
3712
3722
|
}
|
|
3713
3723
|
}
|