@looker/sdk 23.16.0 → 23.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -3
- package/lib/4.0/funcs.d.ts +6 -6
- package/lib/4.0/funcs.js +377 -379
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +6 -6
- package/lib/4.0/methods.js +250 -252
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +6 -6
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +55 -5
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +5 -5
- package/lib/4.0/streams.js +250 -252
- package/lib/4.0/streams.js.map +1 -1
- package/lib/browserSdk.d.ts +0 -2
- package/lib/browserSdk.js +2 -9
- package/lib/browserSdk.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1105 -1551
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +555 -564
- 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 +22 -50
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +555 -564
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js +8 -23
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +2 -10
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js +5 -12
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js +9 -141
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.d.ts +0 -8
- package/lib/index.js +15 -56
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/3.1/funcs.d.ts +0 -358
- package/lib/3.1/funcs.js +0 -4025
- package/lib/3.1/funcs.js.map +0 -1
- package/lib/3.1/methods.d.ts +0 -363
- package/lib/3.1/methods.js +0 -2965
- package/lib/3.1/methods.js.map +0 -1
- package/lib/3.1/methodsInterface.d.ts +0 -359
- package/lib/3.1/methodsInterface.js +0 -2
- package/lib/3.1/methodsInterface.js.map +0 -1
- package/lib/3.1/models.d.ts +0 -3263
- package/lib/3.1/models.js +0 -159
- package/lib/3.1/models.js.map +0 -1
- package/lib/3.1/streams.d.ts +0 -363
- package/lib/3.1/streams.js +0 -2965
- package/lib/3.1/streams.js.map +0 -1
- package/lib/esm/3.1/funcs.js +0 -4025
- package/lib/esm/3.1/funcs.js.map +0 -1
- package/lib/esm/3.1/methods.js +0 -2965
- package/lib/esm/3.1/methods.js.map +0 -1
- package/lib/esm/3.1/methodsInterface.js +0 -2
- package/lib/esm/3.1/methodsInterface.js.map +0 -1
- package/lib/esm/3.1/models.js +0 -159
- package/lib/esm/3.1/models.js.map +0 -1
- package/lib/esm/3.1/streams.js +0 -2965
- package/lib/esm/3.1/streams.js.map +0 -1
package/lib/4.0/streams.js
CHANGED
|
@@ -2060,34 +2060,26 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2060
2060
|
return _this249.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2061
2061
|
})();
|
|
2062
2062
|
}
|
|
2063
|
-
jdbc_interface(callback, avatica_request, options) {
|
|
2064
|
-
var _this250 = this;
|
|
2065
|
-
return _asyncToGenerator(function* () {
|
|
2066
|
-
return _this250.authStream(callback, 'GET', '/__jdbc_interface__', {
|
|
2067
|
-
avatica_request
|
|
2068
|
-
}, null, options);
|
|
2069
|
-
})();
|
|
2070
|
-
}
|
|
2071
2063
|
all_looks(callback, fields, options) {
|
|
2072
|
-
var
|
|
2064
|
+
var _this250 = this;
|
|
2073
2065
|
return _asyncToGenerator(function* () {
|
|
2074
|
-
return
|
|
2066
|
+
return _this250.authStream(callback, 'GET', '/looks', {
|
|
2075
2067
|
fields
|
|
2076
2068
|
}, null, options);
|
|
2077
2069
|
})();
|
|
2078
2070
|
}
|
|
2079
2071
|
create_look(callback, body, fields, options) {
|
|
2080
|
-
var
|
|
2072
|
+
var _this251 = this;
|
|
2081
2073
|
return _asyncToGenerator(function* () {
|
|
2082
|
-
return
|
|
2074
|
+
return _this251.authStream(callback, 'POST', '/looks', {
|
|
2083
2075
|
fields
|
|
2084
2076
|
}, body, options);
|
|
2085
2077
|
})();
|
|
2086
2078
|
}
|
|
2087
2079
|
search_looks(callback, request, options) {
|
|
2088
|
-
var
|
|
2080
|
+
var _this252 = this;
|
|
2089
2081
|
return _asyncToGenerator(function* () {
|
|
2090
|
-
return
|
|
2082
|
+
return _this252.authStream(callback, 'GET', '/looks/search', {
|
|
2091
2083
|
id: request.id,
|
|
2092
2084
|
title: request.title,
|
|
2093
2085
|
description: request.description,
|
|
@@ -2110,36 +2102,36 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2110
2102
|
})();
|
|
2111
2103
|
}
|
|
2112
2104
|
look(callback, look_id, fields, options) {
|
|
2113
|
-
var
|
|
2105
|
+
var _this253 = this;
|
|
2114
2106
|
return _asyncToGenerator(function* () {
|
|
2115
2107
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2116
|
-
return
|
|
2108
|
+
return _this253.authStream(callback, 'GET', "/looks/".concat(look_id), {
|
|
2117
2109
|
fields
|
|
2118
2110
|
}, null, options);
|
|
2119
2111
|
})();
|
|
2120
2112
|
}
|
|
2121
2113
|
update_look(callback, look_id, body, fields, options) {
|
|
2122
|
-
var
|
|
2114
|
+
var _this254 = this;
|
|
2123
2115
|
return _asyncToGenerator(function* () {
|
|
2124
2116
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2125
|
-
return
|
|
2117
|
+
return _this254.authStream(callback, 'PATCH', "/looks/".concat(look_id), {
|
|
2126
2118
|
fields
|
|
2127
2119
|
}, body, options);
|
|
2128
2120
|
})();
|
|
2129
2121
|
}
|
|
2130
2122
|
delete_look(callback, look_id, options) {
|
|
2131
|
-
var
|
|
2123
|
+
var _this255 = this;
|
|
2132
2124
|
return _asyncToGenerator(function* () {
|
|
2133
2125
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2134
|
-
return
|
|
2126
|
+
return _this255.authStream(callback, 'DELETE', "/looks/".concat(look_id), null, null, options);
|
|
2135
2127
|
})();
|
|
2136
2128
|
}
|
|
2137
2129
|
run_look(callback, request, options) {
|
|
2138
|
-
var
|
|
2130
|
+
var _this256 = this;
|
|
2139
2131
|
return _asyncToGenerator(function* () {
|
|
2140
2132
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
2141
2133
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2142
|
-
return
|
|
2134
|
+
return _this256.authStream(callback, 'GET', "/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2143
2135
|
limit: request.limit,
|
|
2144
2136
|
apply_formatting: request.apply_formatting,
|
|
2145
2137
|
apply_vis: request.apply_vis,
|
|
@@ -2156,27 +2148,27 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2156
2148
|
})();
|
|
2157
2149
|
}
|
|
2158
2150
|
copy_look(callback, look_id, folder_id, options) {
|
|
2159
|
-
var
|
|
2151
|
+
var _this257 = this;
|
|
2160
2152
|
return _asyncToGenerator(function* () {
|
|
2161
2153
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2162
|
-
return
|
|
2154
|
+
return _this257.authStream(callback, 'POST', "/looks/".concat(look_id, "/copy"), {
|
|
2163
2155
|
folder_id
|
|
2164
2156
|
}, null, options);
|
|
2165
2157
|
})();
|
|
2166
2158
|
}
|
|
2167
2159
|
move_look(callback, look_id, folder_id, options) {
|
|
2168
|
-
var
|
|
2160
|
+
var _this258 = this;
|
|
2169
2161
|
return _asyncToGenerator(function* () {
|
|
2170
2162
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2171
|
-
return
|
|
2163
|
+
return _this258.authStream(callback, 'PATCH', "/looks/".concat(look_id, "/move"), {
|
|
2172
2164
|
folder_id
|
|
2173
2165
|
}, null, options);
|
|
2174
2166
|
})();
|
|
2175
2167
|
}
|
|
2176
2168
|
all_lookml_models(callback, request, options) {
|
|
2177
|
-
var
|
|
2169
|
+
var _this259 = this;
|
|
2178
2170
|
return _asyncToGenerator(function* () {
|
|
2179
|
-
return
|
|
2171
|
+
return _this259.authStream(callback, 'GET', '/lookml_models', {
|
|
2180
2172
|
fields: request.fields,
|
|
2181
2173
|
limit: request.limit,
|
|
2182
2174
|
offset: request.offset
|
|
@@ -2184,84 +2176,84 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2184
2176
|
})();
|
|
2185
2177
|
}
|
|
2186
2178
|
create_lookml_model(callback, body, options) {
|
|
2187
|
-
var
|
|
2179
|
+
var _this260 = this;
|
|
2188
2180
|
return _asyncToGenerator(function* () {
|
|
2189
|
-
return
|
|
2181
|
+
return _this260.authStream(callback, 'POST', '/lookml_models', null, body, options);
|
|
2190
2182
|
})();
|
|
2191
2183
|
}
|
|
2192
2184
|
lookml_model(callback, lookml_model_name, fields, options) {
|
|
2193
|
-
var
|
|
2185
|
+
var _this261 = this;
|
|
2194
2186
|
return _asyncToGenerator(function* () {
|
|
2195
2187
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2196
|
-
return
|
|
2188
|
+
return _this261.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name), {
|
|
2197
2189
|
fields
|
|
2198
2190
|
}, null, options);
|
|
2199
2191
|
})();
|
|
2200
2192
|
}
|
|
2201
2193
|
update_lookml_model(callback, lookml_model_name, body, options) {
|
|
2202
|
-
var
|
|
2194
|
+
var _this262 = this;
|
|
2203
2195
|
return _asyncToGenerator(function* () {
|
|
2204
2196
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2205
|
-
return
|
|
2197
|
+
return _this262.authStream(callback, 'PATCH', "/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2206
2198
|
})();
|
|
2207
2199
|
}
|
|
2208
2200
|
delete_lookml_model(callback, lookml_model_name, options) {
|
|
2209
|
-
var
|
|
2201
|
+
var _this263 = this;
|
|
2210
2202
|
return _asyncToGenerator(function* () {
|
|
2211
2203
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2212
|
-
return
|
|
2204
|
+
return _this263.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2213
2205
|
})();
|
|
2214
2206
|
}
|
|
2215
2207
|
lookml_model_explore(callback, lookml_model_name, explore_name, fields, options) {
|
|
2216
|
-
var
|
|
2208
|
+
var _this264 = this;
|
|
2217
2209
|
return _asyncToGenerator(function* () {
|
|
2218
2210
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2219
2211
|
explore_name = (0, _sdkRtl.encodeParam)(explore_name);
|
|
2220
|
-
return
|
|
2212
|
+
return _this264.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
2221
2213
|
fields
|
|
2222
2214
|
}, null, options);
|
|
2223
2215
|
})();
|
|
2224
2216
|
}
|
|
2225
2217
|
model_fieldname_suggestions(callback, request, options) {
|
|
2226
|
-
var
|
|
2218
|
+
var _this265 = this;
|
|
2227
2219
|
return _asyncToGenerator(function* () {
|
|
2228
2220
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
2229
2221
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
2230
2222
|
request.field_name = (0, _sdkRtl.encodeParam)(request.field_name);
|
|
2231
|
-
return
|
|
2223
|
+
return _this265.authStream(callback, 'GET', "/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2232
2224
|
term: request.term,
|
|
2233
2225
|
filters: request.filters
|
|
2234
2226
|
}, null, options);
|
|
2235
2227
|
})();
|
|
2236
2228
|
}
|
|
2237
2229
|
get_model(callback, model_name, options) {
|
|
2238
|
-
var
|
|
2230
|
+
var _this266 = this;
|
|
2239
2231
|
return _asyncToGenerator(function* () {
|
|
2240
2232
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2241
|
-
return
|
|
2233
|
+
return _this266.authStream(callback, 'GET', "/models/".concat(model_name), null, null, options);
|
|
2242
2234
|
})();
|
|
2243
2235
|
}
|
|
2244
2236
|
connection_databases(callback, connection_name, options) {
|
|
2245
|
-
var
|
|
2237
|
+
var _this267 = this;
|
|
2246
2238
|
return _asyncToGenerator(function* () {
|
|
2247
2239
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2248
|
-
return
|
|
2240
|
+
return _this267.authStream(callback, 'GET', "/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2249
2241
|
})();
|
|
2250
2242
|
}
|
|
2251
2243
|
connection_features(callback, connection_name, fields, options) {
|
|
2252
|
-
var
|
|
2244
|
+
var _this268 = this;
|
|
2253
2245
|
return _asyncToGenerator(function* () {
|
|
2254
2246
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2255
|
-
return
|
|
2247
|
+
return _this268.authStream(callback, 'GET', "/connections/".concat(connection_name, "/features"), {
|
|
2256
2248
|
fields
|
|
2257
2249
|
}, null, options);
|
|
2258
2250
|
})();
|
|
2259
2251
|
}
|
|
2260
2252
|
connection_schemas(callback, request, options) {
|
|
2261
|
-
var
|
|
2253
|
+
var _this269 = this;
|
|
2262
2254
|
return _asyncToGenerator(function* () {
|
|
2263
2255
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2264
|
-
return
|
|
2256
|
+
return _this269.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/schemas"), {
|
|
2265
2257
|
database: request.database,
|
|
2266
2258
|
cache: request.cache,
|
|
2267
2259
|
fields: request.fields
|
|
@@ -2269,10 +2261,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2269
2261
|
})();
|
|
2270
2262
|
}
|
|
2271
2263
|
connection_tables(callback, request, options) {
|
|
2272
|
-
var
|
|
2264
|
+
var _this270 = this;
|
|
2273
2265
|
return _asyncToGenerator(function* () {
|
|
2274
2266
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2275
|
-
return
|
|
2267
|
+
return _this270.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/tables"), {
|
|
2276
2268
|
database: request.database,
|
|
2277
2269
|
schema_name: request.schema_name,
|
|
2278
2270
|
cache: request.cache,
|
|
@@ -2283,10 +2275,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2283
2275
|
})();
|
|
2284
2276
|
}
|
|
2285
2277
|
connection_columns(callback, request, options) {
|
|
2286
|
-
var
|
|
2278
|
+
var _this271 = this;
|
|
2287
2279
|
return _asyncToGenerator(function* () {
|
|
2288
2280
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2289
|
-
return
|
|
2281
|
+
return _this271.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/columns"), {
|
|
2290
2282
|
database: request.database,
|
|
2291
2283
|
schema_name: request.schema_name,
|
|
2292
2284
|
cache: request.cache,
|
|
@@ -2297,241 +2289,241 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2297
2289
|
})();
|
|
2298
2290
|
}
|
|
2299
2291
|
connection_search_columns(callback, request, options) {
|
|
2300
|
-
var
|
|
2292
|
+
var _this272 = this;
|
|
2301
2293
|
return _asyncToGenerator(function* () {
|
|
2302
2294
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2303
|
-
return
|
|
2295
|
+
return _this272.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2304
2296
|
column_name: request.column_name,
|
|
2305
2297
|
fields: request.fields
|
|
2306
2298
|
}, null, options);
|
|
2307
2299
|
})();
|
|
2308
2300
|
}
|
|
2309
2301
|
connection_cost_estimate(callback, connection_name, body, fields, options) {
|
|
2310
|
-
var
|
|
2302
|
+
var _this273 = this;
|
|
2311
2303
|
return _asyncToGenerator(function* () {
|
|
2312
2304
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2313
|
-
return
|
|
2305
|
+
return _this273.authStream(callback, 'POST', "/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2314
2306
|
fields
|
|
2315
2307
|
}, body, options);
|
|
2316
2308
|
})();
|
|
2317
2309
|
}
|
|
2318
2310
|
lock_all(callback, project_id, fields, options) {
|
|
2319
|
-
var
|
|
2311
|
+
var _this274 = this;
|
|
2320
2312
|
return _asyncToGenerator(function* () {
|
|
2321
2313
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2322
|
-
return
|
|
2314
|
+
return _this274.authStream(callback, 'POST', "/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2323
2315
|
fields
|
|
2324
2316
|
}, null, options);
|
|
2325
2317
|
})();
|
|
2326
2318
|
}
|
|
2327
2319
|
all_git_branches(callback, project_id, options) {
|
|
2328
|
-
var
|
|
2320
|
+
var _this275 = this;
|
|
2329
2321
|
return _asyncToGenerator(function* () {
|
|
2330
2322
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2331
|
-
return
|
|
2323
|
+
return _this275.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2332
2324
|
})();
|
|
2333
2325
|
}
|
|
2334
2326
|
git_branch(callback, project_id, options) {
|
|
2335
|
-
var
|
|
2327
|
+
var _this276 = this;
|
|
2336
2328
|
return _asyncToGenerator(function* () {
|
|
2337
2329
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2338
|
-
return
|
|
2330
|
+
return _this276.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2339
2331
|
})();
|
|
2340
2332
|
}
|
|
2341
2333
|
update_git_branch(callback, project_id, body, options) {
|
|
2342
|
-
var
|
|
2334
|
+
var _this277 = this;
|
|
2343
2335
|
return _asyncToGenerator(function* () {
|
|
2344
2336
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2345
|
-
return
|
|
2337
|
+
return _this277.authStream(callback, 'PUT', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2346
2338
|
})();
|
|
2347
2339
|
}
|
|
2348
2340
|
create_git_branch(callback, project_id, body, options) {
|
|
2349
|
-
var
|
|
2341
|
+
var _this278 = this;
|
|
2350
2342
|
return _asyncToGenerator(function* () {
|
|
2351
2343
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2352
|
-
return
|
|
2344
|
+
return _this278.authStream(callback, 'POST', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2353
2345
|
})();
|
|
2354
2346
|
}
|
|
2355
2347
|
find_git_branch(callback, project_id, branch_name, options) {
|
|
2356
|
-
var
|
|
2348
|
+
var _this279 = this;
|
|
2357
2349
|
return _asyncToGenerator(function* () {
|
|
2358
2350
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2359
2351
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2360
|
-
return
|
|
2352
|
+
return _this279.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2361
2353
|
})();
|
|
2362
2354
|
}
|
|
2363
2355
|
delete_git_branch(callback, project_id, branch_name, options) {
|
|
2364
|
-
var
|
|
2356
|
+
var _this280 = this;
|
|
2365
2357
|
return _asyncToGenerator(function* () {
|
|
2366
2358
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2367
2359
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2368
|
-
return
|
|
2360
|
+
return _this280.authStream(callback, 'DELETE', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2369
2361
|
})();
|
|
2370
2362
|
}
|
|
2371
2363
|
deploy_ref_to_production(callback, request, options) {
|
|
2372
|
-
var
|
|
2364
|
+
var _this281 = this;
|
|
2373
2365
|
return _asyncToGenerator(function* () {
|
|
2374
2366
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2375
|
-
return
|
|
2367
|
+
return _this281.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2376
2368
|
branch: request.branch,
|
|
2377
2369
|
ref: request.ref
|
|
2378
2370
|
}, null, options);
|
|
2379
2371
|
})();
|
|
2380
2372
|
}
|
|
2381
2373
|
deploy_to_production(callback, project_id, options) {
|
|
2382
|
-
var
|
|
2374
|
+
var _this282 = this;
|
|
2383
2375
|
return _asyncToGenerator(function* () {
|
|
2384
2376
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2385
|
-
return
|
|
2377
|
+
return _this282.authStream(callback, 'POST', "/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2386
2378
|
})();
|
|
2387
2379
|
}
|
|
2388
2380
|
reset_project_to_production(callback, project_id, options) {
|
|
2389
|
-
var
|
|
2381
|
+
var _this283 = this;
|
|
2390
2382
|
return _asyncToGenerator(function* () {
|
|
2391
2383
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2392
|
-
return
|
|
2384
|
+
return _this283.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2393
2385
|
})();
|
|
2394
2386
|
}
|
|
2395
2387
|
reset_project_to_remote(callback, project_id, options) {
|
|
2396
|
-
var
|
|
2388
|
+
var _this284 = this;
|
|
2397
2389
|
return _asyncToGenerator(function* () {
|
|
2398
2390
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2399
|
-
return
|
|
2391
|
+
return _this284.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2400
2392
|
})();
|
|
2401
2393
|
}
|
|
2402
2394
|
all_projects(callback, fields, options) {
|
|
2403
|
-
var
|
|
2395
|
+
var _this285 = this;
|
|
2404
2396
|
return _asyncToGenerator(function* () {
|
|
2405
|
-
return
|
|
2397
|
+
return _this285.authStream(callback, 'GET', '/projects', {
|
|
2406
2398
|
fields
|
|
2407
2399
|
}, null, options);
|
|
2408
2400
|
})();
|
|
2409
2401
|
}
|
|
2410
2402
|
create_project(callback, body, options) {
|
|
2411
|
-
var
|
|
2403
|
+
var _this286 = this;
|
|
2412
2404
|
return _asyncToGenerator(function* () {
|
|
2413
|
-
return
|
|
2405
|
+
return _this286.authStream(callback, 'POST', '/projects', null, body, options);
|
|
2414
2406
|
})();
|
|
2415
2407
|
}
|
|
2416
2408
|
project(callback, project_id, fields, options) {
|
|
2417
|
-
var
|
|
2409
|
+
var _this287 = this;
|
|
2418
2410
|
return _asyncToGenerator(function* () {
|
|
2419
2411
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2420
|
-
return
|
|
2412
|
+
return _this287.authStream(callback, 'GET', "/projects/".concat(project_id), {
|
|
2421
2413
|
fields
|
|
2422
2414
|
}, null, options);
|
|
2423
2415
|
})();
|
|
2424
2416
|
}
|
|
2425
2417
|
update_project(callback, project_id, body, fields, options) {
|
|
2426
|
-
var
|
|
2418
|
+
var _this288 = this;
|
|
2427
2419
|
return _asyncToGenerator(function* () {
|
|
2428
2420
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2429
|
-
return
|
|
2421
|
+
return _this288.authStream(callback, 'PATCH', "/projects/".concat(project_id), {
|
|
2430
2422
|
fields
|
|
2431
2423
|
}, body, options);
|
|
2432
2424
|
})();
|
|
2433
2425
|
}
|
|
2434
2426
|
manifest(callback, project_id, options) {
|
|
2435
|
-
var
|
|
2427
|
+
var _this289 = this;
|
|
2436
2428
|
return _asyncToGenerator(function* () {
|
|
2437
2429
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2438
|
-
return
|
|
2430
|
+
return _this289.authStream(callback, 'GET', "/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2439
2431
|
})();
|
|
2440
2432
|
}
|
|
2441
2433
|
git_deploy_key(callback, project_id, options) {
|
|
2442
|
-
var
|
|
2434
|
+
var _this290 = this;
|
|
2443
2435
|
return _asyncToGenerator(function* () {
|
|
2444
2436
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2445
|
-
return
|
|
2437
|
+
return _this290.authStream(callback, 'GET', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2446
2438
|
})();
|
|
2447
2439
|
}
|
|
2448
2440
|
create_git_deploy_key(callback, project_id, options) {
|
|
2449
|
-
var
|
|
2441
|
+
var _this291 = this;
|
|
2450
2442
|
return _asyncToGenerator(function* () {
|
|
2451
2443
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2452
|
-
return
|
|
2444
|
+
return _this291.authStream(callback, 'POST', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2453
2445
|
})();
|
|
2454
2446
|
}
|
|
2455
2447
|
project_validation_results(callback, project_id, fields, options) {
|
|
2456
|
-
var
|
|
2448
|
+
var _this292 = this;
|
|
2457
2449
|
return _asyncToGenerator(function* () {
|
|
2458
2450
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2459
|
-
return
|
|
2451
|
+
return _this292.authStream(callback, 'GET', "/projects/".concat(project_id, "/validate"), {
|
|
2460
2452
|
fields
|
|
2461
2453
|
}, null, options);
|
|
2462
2454
|
})();
|
|
2463
2455
|
}
|
|
2464
2456
|
validate_project(callback, project_id, fields, options) {
|
|
2465
|
-
var
|
|
2457
|
+
var _this293 = this;
|
|
2466
2458
|
return _asyncToGenerator(function* () {
|
|
2467
2459
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2468
|
-
return
|
|
2460
|
+
return _this293.authStream(callback, 'POST', "/projects/".concat(project_id, "/validate"), {
|
|
2469
2461
|
fields
|
|
2470
2462
|
}, null, options);
|
|
2471
2463
|
})();
|
|
2472
2464
|
}
|
|
2473
2465
|
project_workspace(callback, project_id, fields, options) {
|
|
2474
|
-
var
|
|
2466
|
+
var _this294 = this;
|
|
2475
2467
|
return _asyncToGenerator(function* () {
|
|
2476
2468
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2477
|
-
return
|
|
2469
|
+
return _this294.authStream(callback, 'GET', "/projects/".concat(project_id, "/current_workspace"), {
|
|
2478
2470
|
fields
|
|
2479
2471
|
}, null, options);
|
|
2480
2472
|
})();
|
|
2481
2473
|
}
|
|
2482
2474
|
all_project_files(callback, project_id, fields, options) {
|
|
2483
|
-
var
|
|
2475
|
+
var _this295 = this;
|
|
2484
2476
|
return _asyncToGenerator(function* () {
|
|
2485
2477
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2486
|
-
return
|
|
2478
|
+
return _this295.authStream(callback, 'GET', "/projects/".concat(project_id, "/files"), {
|
|
2487
2479
|
fields
|
|
2488
2480
|
}, null, options);
|
|
2489
2481
|
})();
|
|
2490
2482
|
}
|
|
2491
2483
|
project_file(callback, project_id, file_id, fields, options) {
|
|
2492
|
-
var
|
|
2484
|
+
var _this296 = this;
|
|
2493
2485
|
return _asyncToGenerator(function* () {
|
|
2494
2486
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2495
|
-
return
|
|
2487
|
+
return _this296.authStream(callback, 'GET', "/projects/".concat(project_id, "/files/file"), {
|
|
2496
2488
|
file_id,
|
|
2497
2489
|
fields
|
|
2498
2490
|
}, null, options);
|
|
2499
2491
|
})();
|
|
2500
2492
|
}
|
|
2501
2493
|
all_git_connection_tests(callback, project_id, remote_url, options) {
|
|
2502
|
-
var
|
|
2494
|
+
var _this297 = this;
|
|
2503
2495
|
return _asyncToGenerator(function* () {
|
|
2504
2496
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2505
|
-
return
|
|
2497
|
+
return _this297.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2506
2498
|
remote_url
|
|
2507
2499
|
}, null, options);
|
|
2508
2500
|
})();
|
|
2509
2501
|
}
|
|
2510
2502
|
run_git_connection_test(callback, request, options) {
|
|
2511
|
-
var
|
|
2503
|
+
var _this298 = this;
|
|
2512
2504
|
return _asyncToGenerator(function* () {
|
|
2513
2505
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2514
2506
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2515
|
-
return
|
|
2507
|
+
return _this298.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2516
2508
|
remote_url: request.remote_url,
|
|
2517
2509
|
use_production: request.use_production
|
|
2518
2510
|
}, null, options);
|
|
2519
2511
|
})();
|
|
2520
2512
|
}
|
|
2521
2513
|
all_lookml_tests(callback, project_id, file_id, options) {
|
|
2522
|
-
var
|
|
2514
|
+
var _this299 = this;
|
|
2523
2515
|
return _asyncToGenerator(function* () {
|
|
2524
2516
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2525
|
-
return
|
|
2517
|
+
return _this299.authStream(callback, 'GET', "/projects/".concat(project_id, "/lookml_tests"), {
|
|
2526
2518
|
file_id
|
|
2527
2519
|
}, null, options);
|
|
2528
2520
|
})();
|
|
2529
2521
|
}
|
|
2530
2522
|
run_lookml_test(callback, request, options) {
|
|
2531
|
-
var
|
|
2523
|
+
var _this300 = this;
|
|
2532
2524
|
return _asyncToGenerator(function* () {
|
|
2533
2525
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2534
|
-
return
|
|
2526
|
+
return _this300.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2535
2527
|
file_id: request.file_id,
|
|
2536
2528
|
test: request.test,
|
|
2537
2529
|
model: request.model
|
|
@@ -2539,10 +2531,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2539
2531
|
})();
|
|
2540
2532
|
}
|
|
2541
2533
|
tag_ref(callback, request, options) {
|
|
2542
|
-
var
|
|
2534
|
+
var _this301 = this;
|
|
2543
2535
|
return _asyncToGenerator(function* () {
|
|
2544
2536
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2545
|
-
return
|
|
2537
|
+
return _this301.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/tag"), {
|
|
2546
2538
|
commit_sha: request.commit_sha,
|
|
2547
2539
|
tag_name: request.tag_name,
|
|
2548
2540
|
tag_message: request.tag_message
|
|
@@ -2550,32 +2542,32 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2550
2542
|
})();
|
|
2551
2543
|
}
|
|
2552
2544
|
update_repository_credential(callback, root_project_id, credential_id, body, options) {
|
|
2553
|
-
var
|
|
2545
|
+
var _this302 = this;
|
|
2554
2546
|
return _asyncToGenerator(function* () {
|
|
2555
2547
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2556
2548
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2557
|
-
return
|
|
2549
|
+
return _this302.authStream(callback, 'PUT', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2558
2550
|
})();
|
|
2559
2551
|
}
|
|
2560
2552
|
delete_repository_credential(callback, root_project_id, credential_id, options) {
|
|
2561
|
-
var
|
|
2553
|
+
var _this303 = this;
|
|
2562
2554
|
return _asyncToGenerator(function* () {
|
|
2563
2555
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2564
2556
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2565
|
-
return
|
|
2557
|
+
return _this303.authStream(callback, 'DELETE', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2566
2558
|
})();
|
|
2567
2559
|
}
|
|
2568
2560
|
get_all_repository_credentials(callback, root_project_id, options) {
|
|
2569
|
-
var
|
|
2561
|
+
var _this304 = this;
|
|
2570
2562
|
return _asyncToGenerator(function* () {
|
|
2571
2563
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2572
|
-
return
|
|
2564
|
+
return _this304.authStream(callback, 'GET', "/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2573
2565
|
})();
|
|
2574
2566
|
}
|
|
2575
2567
|
create_query_task(callback, request, options) {
|
|
2576
|
-
var
|
|
2568
|
+
var _this305 = this;
|
|
2577
2569
|
return _asyncToGenerator(function* () {
|
|
2578
|
-
return
|
|
2570
|
+
return _this305.authStream(callback, 'POST', '/query_tasks', {
|
|
2579
2571
|
limit: request.limit,
|
|
2580
2572
|
apply_formatting: request.apply_formatting,
|
|
2581
2573
|
apply_vis: request.apply_vis,
|
|
@@ -2586,68 +2578,66 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2586
2578
|
path_prefix: request.path_prefix,
|
|
2587
2579
|
rebuild_pdts: request.rebuild_pdts,
|
|
2588
2580
|
server_table_calcs: request.server_table_calcs,
|
|
2589
|
-
image_width: request.image_width,
|
|
2590
|
-
image_height: request.image_height,
|
|
2591
2581
|
fields: request.fields
|
|
2592
2582
|
}, request.body, options);
|
|
2593
2583
|
})();
|
|
2594
2584
|
}
|
|
2595
2585
|
query_task_multi_results(callback, query_task_ids, options) {
|
|
2596
|
-
var
|
|
2586
|
+
var _this306 = this;
|
|
2597
2587
|
return _asyncToGenerator(function* () {
|
|
2598
|
-
return
|
|
2588
|
+
return _this306.authStream(callback, 'GET', '/query_tasks/multi_results', {
|
|
2599
2589
|
query_task_ids
|
|
2600
2590
|
}, null, options);
|
|
2601
2591
|
})();
|
|
2602
2592
|
}
|
|
2603
2593
|
query_task(callback, query_task_id, fields, options) {
|
|
2604
|
-
var
|
|
2594
|
+
var _this307 = this;
|
|
2605
2595
|
return _asyncToGenerator(function* () {
|
|
2606
2596
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2607
|
-
return
|
|
2597
|
+
return _this307.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id), {
|
|
2608
2598
|
fields
|
|
2609
2599
|
}, null, options);
|
|
2610
2600
|
})();
|
|
2611
2601
|
}
|
|
2612
2602
|
query_task_results(callback, query_task_id, options) {
|
|
2613
|
-
var
|
|
2603
|
+
var _this308 = this;
|
|
2614
2604
|
return _asyncToGenerator(function* () {
|
|
2615
2605
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2616
|
-
return
|
|
2606
|
+
return _this308.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2617
2607
|
})();
|
|
2618
2608
|
}
|
|
2619
2609
|
query(callback, query_id, fields, options) {
|
|
2620
|
-
var
|
|
2610
|
+
var _this309 = this;
|
|
2621
2611
|
return _asyncToGenerator(function* () {
|
|
2622
2612
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2623
|
-
return
|
|
2613
|
+
return _this309.authStream(callback, 'GET', "/queries/".concat(query_id), {
|
|
2624
2614
|
fields
|
|
2625
2615
|
}, null, options);
|
|
2626
2616
|
})();
|
|
2627
2617
|
}
|
|
2628
2618
|
query_for_slug(callback, slug, fields, options) {
|
|
2629
|
-
var
|
|
2619
|
+
var _this310 = this;
|
|
2630
2620
|
return _asyncToGenerator(function* () {
|
|
2631
2621
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2632
|
-
return
|
|
2622
|
+
return _this310.authStream(callback, 'GET', "/queries/slug/".concat(slug), {
|
|
2633
2623
|
fields
|
|
2634
2624
|
}, null, options);
|
|
2635
2625
|
})();
|
|
2636
2626
|
}
|
|
2637
2627
|
create_query(callback, body, fields, options) {
|
|
2638
|
-
var
|
|
2628
|
+
var _this311 = this;
|
|
2639
2629
|
return _asyncToGenerator(function* () {
|
|
2640
|
-
return
|
|
2630
|
+
return _this311.authStream(callback, 'POST', '/queries', {
|
|
2641
2631
|
fields
|
|
2642
2632
|
}, body, options);
|
|
2643
2633
|
})();
|
|
2644
2634
|
}
|
|
2645
2635
|
run_query(callback, request, options) {
|
|
2646
|
-
var
|
|
2636
|
+
var _this312 = this;
|
|
2647
2637
|
return _asyncToGenerator(function* () {
|
|
2648
2638
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
2649
2639
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2650
|
-
return
|
|
2640
|
+
return _this312.authStream(callback, 'GET', "/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2651
2641
|
limit: request.limit,
|
|
2652
2642
|
apply_formatting: request.apply_formatting,
|
|
2653
2643
|
apply_vis: request.apply_vis,
|
|
@@ -2665,10 +2655,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2665
2655
|
})();
|
|
2666
2656
|
}
|
|
2667
2657
|
run_inline_query(callback, request, options) {
|
|
2668
|
-
var
|
|
2658
|
+
var _this313 = this;
|
|
2669
2659
|
return _asyncToGenerator(function* () {
|
|
2670
2660
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2671
|
-
return
|
|
2661
|
+
return _this313.authStream(callback, 'POST', "/queries/run/".concat(request.result_format), {
|
|
2672
2662
|
limit: request.limit,
|
|
2673
2663
|
apply_formatting: request.apply_formatting,
|
|
2674
2664
|
apply_vis: request.apply_vis,
|
|
@@ -2685,86 +2675,73 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2685
2675
|
})();
|
|
2686
2676
|
}
|
|
2687
2677
|
run_url_encoded_query(callback, model_name, view_name, result_format, options) {
|
|
2688
|
-
var
|
|
2678
|
+
var _this314 = this;
|
|
2689
2679
|
return _asyncToGenerator(function* () {
|
|
2690
2680
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2691
2681
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2692
2682
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2693
|
-
return
|
|
2683
|
+
return _this314.authStream(callback, 'GET', "/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2694
2684
|
})();
|
|
2695
2685
|
}
|
|
2696
2686
|
merge_query(callback, merge_query_id, fields, options) {
|
|
2697
|
-
var
|
|
2687
|
+
var _this315 = this;
|
|
2698
2688
|
return _asyncToGenerator(function* () {
|
|
2699
2689
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2700
|
-
return
|
|
2690
|
+
return _this315.authStream(callback, 'GET', "/merge_queries/".concat(merge_query_id), {
|
|
2701
2691
|
fields
|
|
2702
2692
|
}, null, options);
|
|
2703
2693
|
})();
|
|
2704
2694
|
}
|
|
2705
2695
|
create_merge_query(callback, body, fields, options) {
|
|
2706
|
-
var
|
|
2696
|
+
var _this316 = this;
|
|
2707
2697
|
return _asyncToGenerator(function* () {
|
|
2708
|
-
return
|
|
2698
|
+
return _this316.authStream(callback, 'POST', '/merge_queries', {
|
|
2709
2699
|
fields
|
|
2710
2700
|
}, body, options);
|
|
2711
2701
|
})();
|
|
2712
2702
|
}
|
|
2713
2703
|
all_running_queries(callback, options) {
|
|
2714
|
-
var
|
|
2704
|
+
var _this317 = this;
|
|
2715
2705
|
return _asyncToGenerator(function* () {
|
|
2716
|
-
return
|
|
2706
|
+
return _this317.authStream(callback, 'GET', '/running_queries', null, null, options);
|
|
2717
2707
|
})();
|
|
2718
2708
|
}
|
|
2719
2709
|
kill_query(callback, query_task_id, options) {
|
|
2720
|
-
var
|
|
2710
|
+
var _this318 = this;
|
|
2721
2711
|
return _asyncToGenerator(function* () {
|
|
2722
2712
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2723
|
-
return
|
|
2724
|
-
})();
|
|
2725
|
-
}
|
|
2726
|
-
run_sql_interface_query(callback, query_id, result_format, options) {
|
|
2727
|
-
var _this320 = this;
|
|
2728
|
-
return _asyncToGenerator(function* () {
|
|
2729
|
-
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2730
|
-
return _this320.authStream(callback, 'GET', "/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
2731
|
-
})();
|
|
2732
|
-
}
|
|
2733
|
-
create_sql_interface_query(callback, body, options) {
|
|
2734
|
-
var _this321 = this;
|
|
2735
|
-
return _asyncToGenerator(function* () {
|
|
2736
|
-
return _this321.authStream(callback, 'POST', '/sql_interface_queries', null, body, options);
|
|
2713
|
+
return _this318.authStream(callback, 'DELETE', "/running_queries/".concat(query_task_id), null, null, options);
|
|
2737
2714
|
})();
|
|
2738
2715
|
}
|
|
2739
2716
|
create_sql_query(callback, body, options) {
|
|
2740
|
-
var
|
|
2717
|
+
var _this319 = this;
|
|
2741
2718
|
return _asyncToGenerator(function* () {
|
|
2742
|
-
return
|
|
2719
|
+
return _this319.authStream(callback, 'POST', '/sql_queries', null, body, options);
|
|
2743
2720
|
})();
|
|
2744
2721
|
}
|
|
2745
2722
|
sql_query(callback, slug, options) {
|
|
2746
|
-
var
|
|
2723
|
+
var _this320 = this;
|
|
2747
2724
|
return _asyncToGenerator(function* () {
|
|
2748
2725
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2749
|
-
return
|
|
2726
|
+
return _this320.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
2750
2727
|
})();
|
|
2751
2728
|
}
|
|
2752
2729
|
run_sql_query(callback, slug, result_format, download, options) {
|
|
2753
|
-
var
|
|
2730
|
+
var _this321 = this;
|
|
2754
2731
|
return _asyncToGenerator(function* () {
|
|
2755
2732
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2756
2733
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2757
|
-
return
|
|
2734
|
+
return _this321.authStream(callback, 'POST', "/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2758
2735
|
download
|
|
2759
2736
|
}, null, options);
|
|
2760
2737
|
})();
|
|
2761
2738
|
}
|
|
2762
2739
|
create_look_render_task(callback, look_id, result_format, width, height, fields, options) {
|
|
2763
|
-
var
|
|
2740
|
+
var _this322 = this;
|
|
2764
2741
|
return _asyncToGenerator(function* () {
|
|
2765
2742
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2766
2743
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2767
|
-
return
|
|
2744
|
+
return _this322.authStream(callback, 'POST', "/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2768
2745
|
width,
|
|
2769
2746
|
height,
|
|
2770
2747
|
fields
|
|
@@ -2772,11 +2749,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2772
2749
|
})();
|
|
2773
2750
|
}
|
|
2774
2751
|
create_query_render_task(callback, query_id, result_format, width, height, fields, options) {
|
|
2775
|
-
var
|
|
2752
|
+
var _this323 = this;
|
|
2776
2753
|
return _asyncToGenerator(function* () {
|
|
2777
2754
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2778
2755
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2779
|
-
return
|
|
2756
|
+
return _this323.authStream(callback, 'POST', "/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2780
2757
|
width,
|
|
2781
2758
|
height,
|
|
2782
2759
|
fields
|
|
@@ -2784,11 +2761,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2784
2761
|
})();
|
|
2785
2762
|
}
|
|
2786
2763
|
create_dashboard_render_task(callback, request, options) {
|
|
2787
|
-
var
|
|
2764
|
+
var _this324 = this;
|
|
2788
2765
|
return _asyncToGenerator(function* () {
|
|
2789
2766
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
2790
2767
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2791
|
-
return
|
|
2768
|
+
return _this324.authStream(callback, 'POST', "/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2792
2769
|
width: request.width,
|
|
2793
2770
|
height: request.height,
|
|
2794
2771
|
fields: request.fields,
|
|
@@ -2800,27 +2777,27 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2800
2777
|
})();
|
|
2801
2778
|
}
|
|
2802
2779
|
render_task(callback, render_task_id, fields, options) {
|
|
2803
|
-
var
|
|
2780
|
+
var _this325 = this;
|
|
2804
2781
|
return _asyncToGenerator(function* () {
|
|
2805
2782
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2806
|
-
return
|
|
2783
|
+
return _this325.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id), {
|
|
2807
2784
|
fields
|
|
2808
2785
|
}, null, options);
|
|
2809
2786
|
})();
|
|
2810
2787
|
}
|
|
2811
2788
|
render_task_results(callback, render_task_id, options) {
|
|
2812
|
-
var
|
|
2789
|
+
var _this326 = this;
|
|
2813
2790
|
return _asyncToGenerator(function* () {
|
|
2814
2791
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2815
|
-
return
|
|
2792
|
+
return _this326.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2816
2793
|
})();
|
|
2817
2794
|
}
|
|
2818
2795
|
create_dashboard_element_render_task(callback, dashboard_element_id, result_format, width, height, fields, options) {
|
|
2819
|
-
var
|
|
2796
|
+
var _this327 = this;
|
|
2820
2797
|
return _asyncToGenerator(function* () {
|
|
2821
2798
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
2822
2799
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2823
|
-
return
|
|
2800
|
+
return _this327.authStream(callback, 'POST', "/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2824
2801
|
width,
|
|
2825
2802
|
height,
|
|
2826
2803
|
fields
|
|
@@ -2828,9 +2805,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2828
2805
|
})();
|
|
2829
2806
|
}
|
|
2830
2807
|
search_model_sets(callback, request, options) {
|
|
2831
|
-
var
|
|
2808
|
+
var _this328 = this;
|
|
2832
2809
|
return _asyncToGenerator(function* () {
|
|
2833
|
-
return
|
|
2810
|
+
return _this328.authStream(callback, 'GET', '/model_sets/search', {
|
|
2834
2811
|
fields: request.fields,
|
|
2835
2812
|
limit: request.limit,
|
|
2836
2813
|
offset: request.offset,
|
|
@@ -2844,52 +2821,52 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2844
2821
|
})();
|
|
2845
2822
|
}
|
|
2846
2823
|
model_set(callback, model_set_id, fields, options) {
|
|
2847
|
-
var
|
|
2824
|
+
var _this329 = this;
|
|
2848
2825
|
return _asyncToGenerator(function* () {
|
|
2849
2826
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2850
|
-
return
|
|
2827
|
+
return _this329.authStream(callback, 'GET', "/model_sets/".concat(model_set_id), {
|
|
2851
2828
|
fields
|
|
2852
2829
|
}, null, options);
|
|
2853
2830
|
})();
|
|
2854
2831
|
}
|
|
2855
2832
|
update_model_set(callback, model_set_id, body, options) {
|
|
2856
|
-
var
|
|
2833
|
+
var _this330 = this;
|
|
2857
2834
|
return _asyncToGenerator(function* () {
|
|
2858
2835
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2859
|
-
return
|
|
2836
|
+
return _this330.authStream(callback, 'PATCH', "/model_sets/".concat(model_set_id), null, body, options);
|
|
2860
2837
|
})();
|
|
2861
2838
|
}
|
|
2862
2839
|
delete_model_set(callback, model_set_id, options) {
|
|
2863
|
-
var
|
|
2840
|
+
var _this331 = this;
|
|
2864
2841
|
return _asyncToGenerator(function* () {
|
|
2865
2842
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2866
|
-
return
|
|
2843
|
+
return _this331.authStream(callback, 'DELETE', "/model_sets/".concat(model_set_id), null, null, options);
|
|
2867
2844
|
})();
|
|
2868
2845
|
}
|
|
2869
2846
|
all_model_sets(callback, fields, options) {
|
|
2870
|
-
var
|
|
2847
|
+
var _this332 = this;
|
|
2871
2848
|
return _asyncToGenerator(function* () {
|
|
2872
|
-
return
|
|
2849
|
+
return _this332.authStream(callback, 'GET', '/model_sets', {
|
|
2873
2850
|
fields
|
|
2874
2851
|
}, null, options);
|
|
2875
2852
|
})();
|
|
2876
2853
|
}
|
|
2877
2854
|
create_model_set(callback, body, options) {
|
|
2878
|
-
var
|
|
2855
|
+
var _this333 = this;
|
|
2879
2856
|
return _asyncToGenerator(function* () {
|
|
2880
|
-
return
|
|
2857
|
+
return _this333.authStream(callback, 'POST', '/model_sets', null, body, options);
|
|
2881
2858
|
})();
|
|
2882
2859
|
}
|
|
2883
2860
|
all_permissions(callback, options) {
|
|
2884
|
-
var
|
|
2861
|
+
var _this334 = this;
|
|
2885
2862
|
return _asyncToGenerator(function* () {
|
|
2886
|
-
return
|
|
2863
|
+
return _this334.authStream(callback, 'GET', '/permissions', null, null, options);
|
|
2887
2864
|
})();
|
|
2888
2865
|
}
|
|
2889
2866
|
search_permission_sets(callback, request, options) {
|
|
2890
|
-
var
|
|
2867
|
+
var _this335 = this;
|
|
2891
2868
|
return _asyncToGenerator(function* () {
|
|
2892
|
-
return
|
|
2869
|
+
return _this335.authStream(callback, 'GET', '/permission_sets/search', {
|
|
2893
2870
|
fields: request.fields,
|
|
2894
2871
|
limit: request.limit,
|
|
2895
2872
|
offset: request.offset,
|
|
@@ -2903,61 +2880,61 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2903
2880
|
})();
|
|
2904
2881
|
}
|
|
2905
2882
|
permission_set(callback, permission_set_id, fields, options) {
|
|
2906
|
-
var
|
|
2883
|
+
var _this336 = this;
|
|
2907
2884
|
return _asyncToGenerator(function* () {
|
|
2908
2885
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2909
|
-
return
|
|
2886
|
+
return _this336.authStream(callback, 'GET', "/permission_sets/".concat(permission_set_id), {
|
|
2910
2887
|
fields
|
|
2911
2888
|
}, null, options);
|
|
2912
2889
|
})();
|
|
2913
2890
|
}
|
|
2914
2891
|
update_permission_set(callback, permission_set_id, body, options) {
|
|
2915
|
-
var
|
|
2892
|
+
var _this337 = this;
|
|
2916
2893
|
return _asyncToGenerator(function* () {
|
|
2917
2894
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2918
|
-
return
|
|
2895
|
+
return _this337.authStream(callback, 'PATCH', "/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2919
2896
|
})();
|
|
2920
2897
|
}
|
|
2921
2898
|
delete_permission_set(callback, permission_set_id, options) {
|
|
2922
|
-
var
|
|
2899
|
+
var _this338 = this;
|
|
2923
2900
|
return _asyncToGenerator(function* () {
|
|
2924
2901
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2925
|
-
return
|
|
2902
|
+
return _this338.authStream(callback, 'DELETE', "/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2926
2903
|
})();
|
|
2927
2904
|
}
|
|
2928
2905
|
all_permission_sets(callback, fields, options) {
|
|
2929
|
-
var
|
|
2906
|
+
var _this339 = this;
|
|
2930
2907
|
return _asyncToGenerator(function* () {
|
|
2931
|
-
return
|
|
2908
|
+
return _this339.authStream(callback, 'GET', '/permission_sets', {
|
|
2932
2909
|
fields
|
|
2933
2910
|
}, null, options);
|
|
2934
2911
|
})();
|
|
2935
2912
|
}
|
|
2936
2913
|
create_permission_set(callback, body, options) {
|
|
2937
|
-
var
|
|
2914
|
+
var _this340 = this;
|
|
2938
2915
|
return _asyncToGenerator(function* () {
|
|
2939
|
-
return
|
|
2916
|
+
return _this340.authStream(callback, 'POST', '/permission_sets', null, body, options);
|
|
2940
2917
|
})();
|
|
2941
2918
|
}
|
|
2942
2919
|
all_roles(callback, request, options) {
|
|
2943
|
-
var
|
|
2920
|
+
var _this341 = this;
|
|
2944
2921
|
return _asyncToGenerator(function* () {
|
|
2945
|
-
return
|
|
2922
|
+
return _this341.authStream(callback, 'GET', '/roles', {
|
|
2946
2923
|
fields: request.fields,
|
|
2947
2924
|
ids: request.ids
|
|
2948
2925
|
}, null, options);
|
|
2949
2926
|
})();
|
|
2950
2927
|
}
|
|
2951
2928
|
create_role(callback, body, options) {
|
|
2952
|
-
var
|
|
2929
|
+
var _this342 = this;
|
|
2953
2930
|
return _asyncToGenerator(function* () {
|
|
2954
|
-
return
|
|
2931
|
+
return _this342.authStream(callback, 'POST', '/roles', null, body, options);
|
|
2955
2932
|
})();
|
|
2956
2933
|
}
|
|
2957
2934
|
search_roles(callback, request, options) {
|
|
2958
|
-
var
|
|
2935
|
+
var _this343 = this;
|
|
2959
2936
|
return _asyncToGenerator(function* () {
|
|
2960
|
-
return
|
|
2937
|
+
return _this343.authStream(callback, 'GET', '/roles/search', {
|
|
2961
2938
|
fields: request.fields,
|
|
2962
2939
|
limit: request.limit,
|
|
2963
2940
|
offset: request.offset,
|
|
@@ -2970,9 +2947,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2970
2947
|
})();
|
|
2971
2948
|
}
|
|
2972
2949
|
search_roles_with_user_count(callback, request, options) {
|
|
2973
|
-
var
|
|
2950
|
+
var _this344 = this;
|
|
2974
2951
|
return _asyncToGenerator(function* () {
|
|
2975
|
-
return
|
|
2952
|
+
return _this344.authStream(callback, 'GET', '/roles/search/with_user_count', {
|
|
2976
2953
|
fields: request.fields,
|
|
2977
2954
|
limit: request.limit,
|
|
2978
2955
|
offset: request.offset,
|
|
@@ -2985,95 +2962,95 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2985
2962
|
})();
|
|
2986
2963
|
}
|
|
2987
2964
|
role(callback, role_id, options) {
|
|
2988
|
-
var
|
|
2965
|
+
var _this345 = this;
|
|
2989
2966
|
return _asyncToGenerator(function* () {
|
|
2990
2967
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2991
|
-
return
|
|
2968
|
+
return _this345.authStream(callback, 'GET', "/roles/".concat(role_id), null, null, options);
|
|
2992
2969
|
})();
|
|
2993
2970
|
}
|
|
2994
2971
|
update_role(callback, role_id, body, options) {
|
|
2995
|
-
var
|
|
2972
|
+
var _this346 = this;
|
|
2996
2973
|
return _asyncToGenerator(function* () {
|
|
2997
2974
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2998
|
-
return
|
|
2975
|
+
return _this346.authStream(callback, 'PATCH', "/roles/".concat(role_id), null, body, options);
|
|
2999
2976
|
})();
|
|
3000
2977
|
}
|
|
3001
2978
|
delete_role(callback, role_id, options) {
|
|
3002
|
-
var
|
|
2979
|
+
var _this347 = this;
|
|
3003
2980
|
return _asyncToGenerator(function* () {
|
|
3004
2981
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3005
|
-
return
|
|
2982
|
+
return _this347.authStream(callback, 'DELETE', "/roles/".concat(role_id), null, null, options);
|
|
3006
2983
|
})();
|
|
3007
2984
|
}
|
|
3008
2985
|
role_groups(callback, role_id, fields, options) {
|
|
3009
|
-
var
|
|
2986
|
+
var _this348 = this;
|
|
3010
2987
|
return _asyncToGenerator(function* () {
|
|
3011
2988
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3012
|
-
return
|
|
2989
|
+
return _this348.authStream(callback, 'GET', "/roles/".concat(role_id, "/groups"), {
|
|
3013
2990
|
fields
|
|
3014
2991
|
}, null, options);
|
|
3015
2992
|
})();
|
|
3016
2993
|
}
|
|
3017
2994
|
set_role_groups(callback, role_id, body, options) {
|
|
3018
|
-
var
|
|
2995
|
+
var _this349 = this;
|
|
3019
2996
|
return _asyncToGenerator(function* () {
|
|
3020
2997
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3021
|
-
return
|
|
2998
|
+
return _this349.authStream(callback, 'PUT', "/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3022
2999
|
})();
|
|
3023
3000
|
}
|
|
3024
3001
|
role_users(callback, request, options) {
|
|
3025
|
-
var
|
|
3002
|
+
var _this350 = this;
|
|
3026
3003
|
return _asyncToGenerator(function* () {
|
|
3027
3004
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3028
|
-
return
|
|
3005
|
+
return _this350.authStream(callback, 'GET', "/roles/".concat(request.role_id, "/users"), {
|
|
3029
3006
|
fields: request.fields,
|
|
3030
3007
|
direct_association_only: request.direct_association_only
|
|
3031
3008
|
}, null, options);
|
|
3032
3009
|
})();
|
|
3033
3010
|
}
|
|
3034
3011
|
set_role_users(callback, role_id, body, options) {
|
|
3035
|
-
var
|
|
3012
|
+
var _this351 = this;
|
|
3036
3013
|
return _asyncToGenerator(function* () {
|
|
3037
3014
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3038
|
-
return
|
|
3015
|
+
return _this351.authStream(callback, 'PUT', "/roles/".concat(role_id, "/users"), null, body, options);
|
|
3039
3016
|
})();
|
|
3040
3017
|
}
|
|
3041
3018
|
scheduled_plans_for_space(callback, space_id, fields, options) {
|
|
3042
|
-
var
|
|
3019
|
+
var _this352 = this;
|
|
3043
3020
|
return _asyncToGenerator(function* () {
|
|
3044
3021
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3045
|
-
return
|
|
3022
|
+
return _this352.authStream(callback, 'GET', "/scheduled_plans/space/".concat(space_id), {
|
|
3046
3023
|
fields
|
|
3047
3024
|
}, null, options);
|
|
3048
3025
|
})();
|
|
3049
3026
|
}
|
|
3050
3027
|
scheduled_plan(callback, scheduled_plan_id, fields, options) {
|
|
3051
|
-
var
|
|
3028
|
+
var _this353 = this;
|
|
3052
3029
|
return _asyncToGenerator(function* () {
|
|
3053
3030
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3054
|
-
return
|
|
3031
|
+
return _this353.authStream(callback, 'GET', "/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3055
3032
|
fields
|
|
3056
3033
|
}, null, options);
|
|
3057
3034
|
})();
|
|
3058
3035
|
}
|
|
3059
3036
|
update_scheduled_plan(callback, scheduled_plan_id, body, options) {
|
|
3060
|
-
var
|
|
3037
|
+
var _this354 = this;
|
|
3061
3038
|
return _asyncToGenerator(function* () {
|
|
3062
3039
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3063
|
-
return
|
|
3040
|
+
return _this354.authStream(callback, 'PATCH', "/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3064
3041
|
})();
|
|
3065
3042
|
}
|
|
3066
3043
|
delete_scheduled_plan(callback, scheduled_plan_id, options) {
|
|
3067
|
-
var
|
|
3044
|
+
var _this355 = this;
|
|
3068
3045
|
return _asyncToGenerator(function* () {
|
|
3069
3046
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3070
|
-
return
|
|
3047
|
+
return _this355.authStream(callback, 'DELETE', "/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3071
3048
|
})();
|
|
3072
3049
|
}
|
|
3073
3050
|
all_scheduled_plans(callback, request, options) {
|
|
3074
|
-
var
|
|
3051
|
+
var _this356 = this;
|
|
3075
3052
|
return _asyncToGenerator(function* () {
|
|
3076
|
-
return
|
|
3053
|
+
return _this356.authStream(callback, 'GET', '/scheduled_plans', {
|
|
3077
3054
|
user_id: request.user_id,
|
|
3078
3055
|
fields: request.fields,
|
|
3079
3056
|
all_users: request.all_users
|
|
@@ -3081,22 +3058,22 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3081
3058
|
})();
|
|
3082
3059
|
}
|
|
3083
3060
|
create_scheduled_plan(callback, body, options) {
|
|
3084
|
-
var
|
|
3061
|
+
var _this357 = this;
|
|
3085
3062
|
return _asyncToGenerator(function* () {
|
|
3086
|
-
return
|
|
3063
|
+
return _this357.authStream(callback, 'POST', '/scheduled_plans', null, body, options);
|
|
3087
3064
|
})();
|
|
3088
3065
|
}
|
|
3089
3066
|
scheduled_plan_run_once(callback, body, options) {
|
|
3090
|
-
var
|
|
3067
|
+
var _this358 = this;
|
|
3091
3068
|
return _asyncToGenerator(function* () {
|
|
3092
|
-
return
|
|
3069
|
+
return _this358.authStream(callback, 'POST', '/scheduled_plans/run_once', null, body, options);
|
|
3093
3070
|
})();
|
|
3094
3071
|
}
|
|
3095
3072
|
scheduled_plans_for_look(callback, request, options) {
|
|
3096
|
-
var
|
|
3073
|
+
var _this359 = this;
|
|
3097
3074
|
return _asyncToGenerator(function* () {
|
|
3098
3075
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3099
|
-
return
|
|
3076
|
+
return _this359.authStream(callback, 'GET', "/scheduled_plans/look/".concat(request.look_id), {
|
|
3100
3077
|
user_id: request.user_id,
|
|
3101
3078
|
fields: request.fields,
|
|
3102
3079
|
all_users: request.all_users
|
|
@@ -3104,10 +3081,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3104
3081
|
})();
|
|
3105
3082
|
}
|
|
3106
3083
|
scheduled_plans_for_dashboard(callback, request, options) {
|
|
3107
|
-
var
|
|
3084
|
+
var _this360 = this;
|
|
3108
3085
|
return _asyncToGenerator(function* () {
|
|
3109
3086
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3110
|
-
return
|
|
3087
|
+
return _this360.authStream(callback, 'GET', "/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3111
3088
|
user_id: request.user_id,
|
|
3112
3089
|
all_users: request.all_users,
|
|
3113
3090
|
fields: request.fields
|
|
@@ -3115,10 +3092,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3115
3092
|
})();
|
|
3116
3093
|
}
|
|
3117
3094
|
scheduled_plans_for_lookml_dashboard(callback, request, options) {
|
|
3118
|
-
var
|
|
3095
|
+
var _this361 = this;
|
|
3119
3096
|
return _asyncToGenerator(function* () {
|
|
3120
3097
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3121
|
-
return
|
|
3098
|
+
return _this361.authStream(callback, 'GET', "/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3122
3099
|
user_id: request.user_id,
|
|
3123
3100
|
fields: request.fields,
|
|
3124
3101
|
all_users: request.all_users
|
|
@@ -3126,22 +3103,43 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3126
3103
|
})();
|
|
3127
3104
|
}
|
|
3128
3105
|
scheduled_plan_run_once_by_id(callback, scheduled_plan_id, body, options) {
|
|
3129
|
-
var
|
|
3106
|
+
var _this362 = this;
|
|
3130
3107
|
return _asyncToGenerator(function* () {
|
|
3131
3108
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3132
|
-
return
|
|
3109
|
+
return _this362.authStream(callback, 'POST', "/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3133
3110
|
})();
|
|
3134
3111
|
}
|
|
3135
3112
|
session(callback, options) {
|
|
3136
|
-
var
|
|
3113
|
+
var _this363 = this;
|
|
3137
3114
|
return _asyncToGenerator(function* () {
|
|
3138
|
-
return
|
|
3115
|
+
return _this363.authStream(callback, 'GET', '/session', null, null, options);
|
|
3139
3116
|
})();
|
|
3140
3117
|
}
|
|
3141
3118
|
update_session(callback, body, options) {
|
|
3119
|
+
var _this364 = this;
|
|
3120
|
+
return _asyncToGenerator(function* () {
|
|
3121
|
+
return _this364.authStream(callback, 'PATCH', '/session', null, body, options);
|
|
3122
|
+
})();
|
|
3123
|
+
}
|
|
3124
|
+
sql_interface_metadata(callback, avatica_request, options) {
|
|
3125
|
+
var _this365 = this;
|
|
3126
|
+
return _asyncToGenerator(function* () {
|
|
3127
|
+
return _this365.authStream(callback, 'GET', '/sql_interface_queries/metadata', {
|
|
3128
|
+
avatica_request
|
|
3129
|
+
}, null, options);
|
|
3130
|
+
})();
|
|
3131
|
+
}
|
|
3132
|
+
run_sql_interface_query(callback, query_id, result_format, options) {
|
|
3133
|
+
var _this366 = this;
|
|
3134
|
+
return _asyncToGenerator(function* () {
|
|
3135
|
+
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3136
|
+
return _this366.authStream(callback, 'GET', "/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3137
|
+
})();
|
|
3138
|
+
}
|
|
3139
|
+
create_sql_interface_query(callback, body, options) {
|
|
3142
3140
|
var _this367 = this;
|
|
3143
3141
|
return _asyncToGenerator(function* () {
|
|
3144
|
-
return _this367.authStream(callback, '
|
|
3142
|
+
return _this367.authStream(callback, 'POST', '/sql_interface_queries', null, body, options);
|
|
3145
3143
|
})();
|
|
3146
3144
|
}
|
|
3147
3145
|
all_themes(callback, fields, options) {
|