@looker/sdk 23.20.1 → 24.4.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 +145 -186
- package/README.md +11 -8
- package/lib/4.0/funcs.d.ts +435 -435
- package/lib/4.0/funcs.js +609 -1041
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +3 -3
- package/lib/4.0/methods.js +8 -7
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +3 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +30 -10
- package/lib/4.0/models.js +23 -44
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +3 -3
- package/lib/4.0/streams.js +8 -7
- package/lib/4.0/streams.js.map +1 -1
- package/lib/browserSdk.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +2 -4
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +176 -175
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +8 -7
- 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 +8 -7
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js +1 -1
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.d.ts +1 -1
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +5 -5
package/lib/4.0/models.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DelimArray, IDictionary } from '@looker/sdk-rtl';
|
|
2
2
|
export interface IAccessToken {
|
|
3
3
|
access_token?: string;
|
|
4
4
|
token_type?: string;
|
|
@@ -1292,15 +1292,8 @@ export declare enum InvestigativeContentType {
|
|
|
1292
1292
|
dashboard = "dashboard"
|
|
1293
1293
|
}
|
|
1294
1294
|
export interface IJsonBi {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
pivots: IJsonBiPivots[];
|
|
1298
|
-
has_subtotals: boolean;
|
|
1299
|
-
has_totals: boolean;
|
|
1300
|
-
columns_truncated: string;
|
|
1301
|
-
filter_expression: string | null;
|
|
1302
|
-
filters: IDictionary<string>;
|
|
1303
|
-
data: string[];
|
|
1295
|
+
metadata: IJsonBiMetadata;
|
|
1296
|
+
rows: string[];
|
|
1304
1297
|
}
|
|
1305
1298
|
export interface IJsonBiBigQueryMetadata {
|
|
1306
1299
|
total_bytes_processed: number;
|
|
@@ -1325,6 +1318,17 @@ export interface IJsonBiFields {
|
|
|
1325
1318
|
measures: IJsonBiField[];
|
|
1326
1319
|
pivots: IJsonBiField[];
|
|
1327
1320
|
}
|
|
1321
|
+
export interface IJsonBiMetadata {
|
|
1322
|
+
big_query_metadata: IJsonBiBigQueryMetadata;
|
|
1323
|
+
fields: IJsonBiFields;
|
|
1324
|
+
pivots: IJsonBiPivots[];
|
|
1325
|
+
has_subtotals: boolean;
|
|
1326
|
+
has_totals: boolean;
|
|
1327
|
+
columns_truncated: string;
|
|
1328
|
+
filter_expression: string | null;
|
|
1329
|
+
filters: IDictionary<string>;
|
|
1330
|
+
sql: string | null;
|
|
1331
|
+
}
|
|
1328
1332
|
export interface IJsonBiPivots {
|
|
1329
1333
|
key: string;
|
|
1330
1334
|
data: IDictionary<string>;
|
|
@@ -1492,6 +1496,11 @@ export interface ILookBasic {
|
|
|
1492
1496
|
title?: string | null;
|
|
1493
1497
|
user_id?: string | null;
|
|
1494
1498
|
}
|
|
1499
|
+
export interface ILookmlFieldLink {
|
|
1500
|
+
label?: string;
|
|
1501
|
+
url?: string;
|
|
1502
|
+
icon_url?: string | null;
|
|
1503
|
+
}
|
|
1495
1504
|
export interface ILookmlModel {
|
|
1496
1505
|
can?: IDictionary<boolean>;
|
|
1497
1506
|
allowed_db_connection_names?: string[] | null;
|
|
@@ -1572,6 +1581,7 @@ export interface ILookmlModelExploreField {
|
|
|
1572
1581
|
default_filter_value?: string | null;
|
|
1573
1582
|
description?: string | null;
|
|
1574
1583
|
dimension_group?: string | null;
|
|
1584
|
+
drill_fields?: string[] | null;
|
|
1575
1585
|
enumerations?: ILookmlModelExploreFieldEnumeration[] | null;
|
|
1576
1586
|
error?: string | null;
|
|
1577
1587
|
field_group_label?: string | null;
|
|
@@ -1579,6 +1589,7 @@ export interface ILookmlModelExploreField {
|
|
|
1579
1589
|
fill_style?: FillStyle | null;
|
|
1580
1590
|
fiscal_month_offset?: number;
|
|
1581
1591
|
has_allowed_values?: boolean;
|
|
1592
|
+
has_drills_metadata?: boolean;
|
|
1582
1593
|
hidden?: boolean;
|
|
1583
1594
|
is_filter?: boolean;
|
|
1584
1595
|
is_fiscal?: boolean;
|
|
@@ -1590,6 +1601,7 @@ export interface ILookmlModelExploreField {
|
|
|
1590
1601
|
label_from_parameter?: string | null;
|
|
1591
1602
|
label_short?: string;
|
|
1592
1603
|
lookml_link?: string | null;
|
|
1604
|
+
links?: ILookmlFieldLink[] | null;
|
|
1593
1605
|
map_layer?: ILookmlModelExploreFieldMapLayer;
|
|
1594
1606
|
measure?: boolean;
|
|
1595
1607
|
name?: string;
|
|
@@ -1810,6 +1822,7 @@ export interface IMergeQuerySourceQuery {
|
|
|
1810
1822
|
merge_fields?: IMergeFields[] | null;
|
|
1811
1823
|
name?: string | null;
|
|
1812
1824
|
query_id?: string | null;
|
|
1825
|
+
query_slug?: string | null;
|
|
1813
1826
|
}
|
|
1814
1827
|
export interface IMobileFeatureFlags {
|
|
1815
1828
|
feature_flag_name?: string | null;
|
|
@@ -2352,6 +2365,12 @@ export interface IRequestLogin {
|
|
|
2352
2365
|
client_id?: string | null;
|
|
2353
2366
|
client_secret?: string | null;
|
|
2354
2367
|
}
|
|
2368
|
+
export interface IRequestLookmlModelExplore {
|
|
2369
|
+
lookml_model_name: string;
|
|
2370
|
+
explore_name: string;
|
|
2371
|
+
fields?: string | null;
|
|
2372
|
+
add_drills_metadata?: boolean | null;
|
|
2373
|
+
}
|
|
2355
2374
|
export interface IRequestModelFieldnameSuggestions {
|
|
2356
2375
|
model_name: string;
|
|
2357
2376
|
view_name: string;
|
|
@@ -3176,6 +3195,7 @@ export declare enum SupportedFormats {
|
|
|
3176
3195
|
json_label = "json_label",
|
|
3177
3196
|
json_detail = "json_detail",
|
|
3178
3197
|
json_detail_lite_stream = "json_detail_lite_stream",
|
|
3198
|
+
json_bi = "json_bi",
|
|
3179
3199
|
xlsx = "xlsx",
|
|
3180
3200
|
html = "html",
|
|
3181
3201
|
wysiwyg_pdf = "wysiwyg_pdf",
|
package/lib/4.0/models.js
CHANGED
|
@@ -4,21 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.WeekStartDay = exports.UserAttributeFilterTypes = exports.SupportedVisualizationFormattings = exports.SupportedFormattings = exports.SupportedFormats = exports.SupportedDownloadSettings = exports.SupportedActionTypes = exports.SslVersion = exports.SecretType = exports.ResultFormat = exports.PullRequestMode = exports.PermissionType = exports.Name = exports.InvestigativeContentType = exports.Format = exports.FillStyle = exports.DeviceType = exports.DestinationType = exports.DependencyStatus = exports.ComparisonType = exports.Category = exports.Align = void 0;
|
|
7
|
-
var Align = function (Align) {
|
|
7
|
+
var Align = exports.Align = function (Align) {
|
|
8
8
|
Align["left"] = "left";
|
|
9
9
|
Align["right"] = "right";
|
|
10
10
|
return Align;
|
|
11
11
|
}({});
|
|
12
|
-
exports.
|
|
13
|
-
var Category = function (Category) {
|
|
12
|
+
var Category = exports.Category = function (Category) {
|
|
14
13
|
Category["parameter"] = "parameter";
|
|
15
14
|
Category["filter"] = "filter";
|
|
16
15
|
Category["measure"] = "measure";
|
|
17
16
|
Category["dimension"] = "dimension";
|
|
18
17
|
return Category;
|
|
19
18
|
}({});
|
|
20
|
-
exports.
|
|
21
|
-
var ComparisonType = function (ComparisonType) {
|
|
19
|
+
var ComparisonType = exports.ComparisonType = function (ComparisonType) {
|
|
22
20
|
ComparisonType["EQUAL_TO"] = "EQUAL_TO";
|
|
23
21
|
ComparisonType["GREATER_THAN"] = "GREATER_THAN";
|
|
24
22
|
ComparisonType["GREATER_THAN_OR_EQUAL_TO"] = "GREATER_THAN_OR_EQUAL_TO";
|
|
@@ -29,45 +27,38 @@ var ComparisonType = function (ComparisonType) {
|
|
|
29
27
|
ComparisonType["CHANGES_BY"] = "CHANGES_BY";
|
|
30
28
|
return ComparisonType;
|
|
31
29
|
}({});
|
|
32
|
-
exports.
|
|
33
|
-
var DependencyStatus = function (DependencyStatus) {
|
|
30
|
+
var DependencyStatus = exports.DependencyStatus = function (DependencyStatus) {
|
|
34
31
|
DependencyStatus["lock_optional"] = "lock_optional";
|
|
35
32
|
DependencyStatus["lock_required"] = "lock_required";
|
|
36
33
|
DependencyStatus["lock_error"] = "lock_error";
|
|
37
34
|
DependencyStatus["install_none"] = "install_none";
|
|
38
35
|
return DependencyStatus;
|
|
39
36
|
}({});
|
|
40
|
-
exports.
|
|
41
|
-
var DestinationType = function (DestinationType) {
|
|
37
|
+
var DestinationType = exports.DestinationType = function (DestinationType) {
|
|
42
38
|
DestinationType["EMAIL"] = "EMAIL";
|
|
43
39
|
DestinationType["ACTION_HUB"] = "ACTION_HUB";
|
|
44
40
|
return DestinationType;
|
|
45
41
|
}({});
|
|
46
|
-
exports.
|
|
47
|
-
var DeviceType = function (DeviceType) {
|
|
42
|
+
var DeviceType = exports.DeviceType = function (DeviceType) {
|
|
48
43
|
DeviceType["android"] = "android";
|
|
49
44
|
DeviceType["ios"] = "ios";
|
|
50
45
|
return DeviceType;
|
|
51
46
|
}({});
|
|
52
|
-
exports.
|
|
53
|
-
var FillStyle = function (FillStyle) {
|
|
47
|
+
var FillStyle = exports.FillStyle = function (FillStyle) {
|
|
54
48
|
FillStyle["enumeration"] = "enumeration";
|
|
55
49
|
FillStyle["range"] = "range";
|
|
56
50
|
return FillStyle;
|
|
57
51
|
}({});
|
|
58
|
-
exports.
|
|
59
|
-
var Format = function (Format) {
|
|
52
|
+
var Format = exports.Format = function (Format) {
|
|
60
53
|
Format["topojson"] = "topojson";
|
|
61
54
|
Format["vector_tile_region"] = "vector_tile_region";
|
|
62
55
|
return Format;
|
|
63
56
|
}({});
|
|
64
|
-
exports.
|
|
65
|
-
var InvestigativeContentType = function (InvestigativeContentType) {
|
|
57
|
+
var InvestigativeContentType = exports.InvestigativeContentType = function (InvestigativeContentType) {
|
|
66
58
|
InvestigativeContentType["dashboard"] = "dashboard";
|
|
67
59
|
return InvestigativeContentType;
|
|
68
60
|
}({});
|
|
69
|
-
exports.
|
|
70
|
-
var Name = function (Name) {
|
|
61
|
+
var Name = exports.Name = function (Name) {
|
|
71
62
|
Name["day"] = "day";
|
|
72
63
|
Name["hour"] = "hour";
|
|
73
64
|
Name["minute"] = "minute";
|
|
@@ -80,22 +71,19 @@ var Name = function (Name) {
|
|
|
80
71
|
Name["year"] = "year";
|
|
81
72
|
return Name;
|
|
82
73
|
}({});
|
|
83
|
-
exports.
|
|
84
|
-
var PermissionType = function (PermissionType) {
|
|
74
|
+
var PermissionType = exports.PermissionType = function (PermissionType) {
|
|
85
75
|
PermissionType["view"] = "view";
|
|
86
76
|
PermissionType["edit"] = "edit";
|
|
87
77
|
return PermissionType;
|
|
88
78
|
}({});
|
|
89
|
-
exports.
|
|
90
|
-
var PullRequestMode = function (PullRequestMode) {
|
|
79
|
+
var PullRequestMode = exports.PullRequestMode = function (PullRequestMode) {
|
|
91
80
|
PullRequestMode["off"] = "off";
|
|
92
81
|
PullRequestMode["links"] = "links";
|
|
93
82
|
PullRequestMode["recommended"] = "recommended";
|
|
94
83
|
PullRequestMode["required"] = "required";
|
|
95
84
|
return PullRequestMode;
|
|
96
85
|
}({});
|
|
97
|
-
exports.
|
|
98
|
-
var ResultFormat = function (ResultFormat) {
|
|
86
|
+
var ResultFormat = exports.ResultFormat = function (ResultFormat) {
|
|
99
87
|
ResultFormat["inline_json"] = "inline_json";
|
|
100
88
|
ResultFormat["json"] = "json";
|
|
101
89
|
ResultFormat["json_detail"] = "json_detail";
|
|
@@ -110,35 +98,30 @@ var ResultFormat = function (ResultFormat) {
|
|
|
110
98
|
ResultFormat["sql"] = "sql";
|
|
111
99
|
return ResultFormat;
|
|
112
100
|
}({});
|
|
113
|
-
exports.
|
|
114
|
-
var SecretType = function (SecretType) {
|
|
101
|
+
var SecretType = exports.SecretType = function (SecretType) {
|
|
115
102
|
SecretType["SSO"] = "SSO";
|
|
116
103
|
SecretType["JWT"] = "JWT";
|
|
117
104
|
return SecretType;
|
|
118
105
|
}({});
|
|
119
|
-
exports.
|
|
120
|
-
var SslVersion = function (SslVersion) {
|
|
106
|
+
var SslVersion = exports.SslVersion = function (SslVersion) {
|
|
121
107
|
SslVersion["TLSv1_1"] = "TLSv1_1";
|
|
122
108
|
SslVersion["SSLv23"] = "SSLv23";
|
|
123
109
|
SslVersion["TLSv1_2"] = "TLSv1_2";
|
|
124
110
|
return SslVersion;
|
|
125
111
|
}({});
|
|
126
|
-
exports.
|
|
127
|
-
var SupportedActionTypes = function (SupportedActionTypes) {
|
|
112
|
+
var SupportedActionTypes = exports.SupportedActionTypes = function (SupportedActionTypes) {
|
|
128
113
|
SupportedActionTypes["cell"] = "cell";
|
|
129
114
|
SupportedActionTypes["query"] = "query";
|
|
130
115
|
SupportedActionTypes["dashboard"] = "dashboard";
|
|
131
116
|
SupportedActionTypes["none"] = "none";
|
|
132
117
|
return SupportedActionTypes;
|
|
133
118
|
}({});
|
|
134
|
-
exports.
|
|
135
|
-
var SupportedDownloadSettings = function (SupportedDownloadSettings) {
|
|
119
|
+
var SupportedDownloadSettings = exports.SupportedDownloadSettings = function (SupportedDownloadSettings) {
|
|
136
120
|
SupportedDownloadSettings["push"] = "push";
|
|
137
121
|
SupportedDownloadSettings["url"] = "url";
|
|
138
122
|
return SupportedDownloadSettings;
|
|
139
123
|
}({});
|
|
140
|
-
exports.
|
|
141
|
-
var SupportedFormats = function (SupportedFormats) {
|
|
124
|
+
var SupportedFormats = exports.SupportedFormats = function (SupportedFormats) {
|
|
142
125
|
SupportedFormats["txt"] = "txt";
|
|
143
126
|
SupportedFormats["csv"] = "csv";
|
|
144
127
|
SupportedFormats["inline_json"] = "inline_json";
|
|
@@ -146,6 +129,7 @@ var SupportedFormats = function (SupportedFormats) {
|
|
|
146
129
|
SupportedFormats["json_label"] = "json_label";
|
|
147
130
|
SupportedFormats["json_detail"] = "json_detail";
|
|
148
131
|
SupportedFormats["json_detail_lite_stream"] = "json_detail_lite_stream";
|
|
132
|
+
SupportedFormats["json_bi"] = "json_bi";
|
|
149
133
|
SupportedFormats["xlsx"] = "xlsx";
|
|
150
134
|
SupportedFormats["html"] = "html";
|
|
151
135
|
SupportedFormats["wysiwyg_pdf"] = "wysiwyg_pdf";
|
|
@@ -154,20 +138,17 @@ var SupportedFormats = function (SupportedFormats) {
|
|
|
154
138
|
SupportedFormats["csv_zip"] = "csv_zip";
|
|
155
139
|
return SupportedFormats;
|
|
156
140
|
}({});
|
|
157
|
-
exports.
|
|
158
|
-
var SupportedFormattings = function (SupportedFormattings) {
|
|
141
|
+
var SupportedFormattings = exports.SupportedFormattings = function (SupportedFormattings) {
|
|
159
142
|
SupportedFormattings["formatted"] = "formatted";
|
|
160
143
|
SupportedFormattings["unformatted"] = "unformatted";
|
|
161
144
|
return SupportedFormattings;
|
|
162
145
|
}({});
|
|
163
|
-
exports.
|
|
164
|
-
var SupportedVisualizationFormattings = function (SupportedVisualizationFormattings) {
|
|
146
|
+
var SupportedVisualizationFormattings = exports.SupportedVisualizationFormattings = function (SupportedVisualizationFormattings) {
|
|
165
147
|
SupportedVisualizationFormattings["apply"] = "apply";
|
|
166
148
|
SupportedVisualizationFormattings["noapply"] = "noapply";
|
|
167
149
|
return SupportedVisualizationFormattings;
|
|
168
150
|
}({});
|
|
169
|
-
exports.
|
|
170
|
-
var UserAttributeFilterTypes = function (UserAttributeFilterTypes) {
|
|
151
|
+
var UserAttributeFilterTypes = exports.UserAttributeFilterTypes = function (UserAttributeFilterTypes) {
|
|
171
152
|
UserAttributeFilterTypes["advanced_filter_string"] = "advanced_filter_string";
|
|
172
153
|
UserAttributeFilterTypes["advanced_filter_number"] = "advanced_filter_number";
|
|
173
154
|
UserAttributeFilterTypes["advanced_filter_datetime"] = "advanced_filter_datetime";
|
|
@@ -179,8 +160,7 @@ var UserAttributeFilterTypes = function (UserAttributeFilterTypes) {
|
|
|
179
160
|
UserAttributeFilterTypes["zipcode"] = "zipcode";
|
|
180
161
|
return UserAttributeFilterTypes;
|
|
181
162
|
}({});
|
|
182
|
-
exports.
|
|
183
|
-
var WeekStartDay = function (WeekStartDay) {
|
|
163
|
+
var WeekStartDay = exports.WeekStartDay = function (WeekStartDay) {
|
|
184
164
|
WeekStartDay["monday"] = "monday";
|
|
185
165
|
WeekStartDay["tuesday"] = "tuesday";
|
|
186
166
|
WeekStartDay["wednesday"] = "wednesday";
|
|
@@ -190,5 +170,4 @@ var WeekStartDay = function (WeekStartDay) {
|
|
|
190
170
|
WeekStartDay["sunday"] = "sunday";
|
|
191
171
|
return WeekStartDay;
|
|
192
172
|
}({});
|
|
193
|
-
exports.WeekStartDay = WeekStartDay;
|
|
194
173
|
//# sourceMappingURL=models.js.map
|