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