@looker/sdk 23.20.1 → 24.2.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 +133 -188
- 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 +9 -9
- package/lib/4.0/methods.js +8 -7
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +9 -9
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +17 -55
- package/lib/4.0/models.js +23 -44
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +9 -9
- 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;
|
|
@@ -1300,6 +1300,7 @@ export interface IJsonBi {
|
|
|
1300
1300
|
columns_truncated: string;
|
|
1301
1301
|
filter_expression: string | null;
|
|
1302
1302
|
filters: IDictionary<string>;
|
|
1303
|
+
sql: string | null;
|
|
1303
1304
|
data: string[];
|
|
1304
1305
|
}
|
|
1305
1306
|
export interface IJsonBiBigQueryMetadata {
|
|
@@ -1492,6 +1493,11 @@ export interface ILookBasic {
|
|
|
1492
1493
|
title?: string | null;
|
|
1493
1494
|
user_id?: string | null;
|
|
1494
1495
|
}
|
|
1496
|
+
export interface ILookmlFieldLink {
|
|
1497
|
+
label?: string;
|
|
1498
|
+
url?: string;
|
|
1499
|
+
icon_url?: string | null;
|
|
1500
|
+
}
|
|
1495
1501
|
export interface ILookmlModel {
|
|
1496
1502
|
can?: IDictionary<boolean>;
|
|
1497
1503
|
allowed_db_connection_names?: string[] | null;
|
|
@@ -1572,6 +1578,7 @@ export interface ILookmlModelExploreField {
|
|
|
1572
1578
|
default_filter_value?: string | null;
|
|
1573
1579
|
description?: string | null;
|
|
1574
1580
|
dimension_group?: string | null;
|
|
1581
|
+
drill_fields?: string[] | null;
|
|
1575
1582
|
enumerations?: ILookmlModelExploreFieldEnumeration[] | null;
|
|
1576
1583
|
error?: string | null;
|
|
1577
1584
|
field_group_label?: string | null;
|
|
@@ -1579,6 +1586,7 @@ export interface ILookmlModelExploreField {
|
|
|
1579
1586
|
fill_style?: FillStyle | null;
|
|
1580
1587
|
fiscal_month_offset?: number;
|
|
1581
1588
|
has_allowed_values?: boolean;
|
|
1589
|
+
has_drills_metadata?: boolean;
|
|
1582
1590
|
hidden?: boolean;
|
|
1583
1591
|
is_filter?: boolean;
|
|
1584
1592
|
is_fiscal?: boolean;
|
|
@@ -1590,6 +1598,7 @@ export interface ILookmlModelExploreField {
|
|
|
1590
1598
|
label_from_parameter?: string | null;
|
|
1591
1599
|
label_short?: string;
|
|
1592
1600
|
lookml_link?: string | null;
|
|
1601
|
+
links?: ILookmlFieldLink[] | null;
|
|
1593
1602
|
map_layer?: ILookmlModelExploreFieldMapLayer;
|
|
1594
1603
|
measure?: boolean;
|
|
1595
1604
|
name?: string;
|
|
@@ -2205,11 +2214,6 @@ export interface IRequestAllIntegrations {
|
|
|
2205
2214
|
fields?: string | null;
|
|
2206
2215
|
integration_hub_id?: string | null;
|
|
2207
2216
|
}
|
|
2208
|
-
export interface IRequestAllLookmlModels {
|
|
2209
|
-
fields?: string | null;
|
|
2210
|
-
limit?: number | null;
|
|
2211
|
-
offset?: number | null;
|
|
2212
|
-
}
|
|
2213
2217
|
export interface IRequestAllRoles {
|
|
2214
2218
|
fields?: string | null;
|
|
2215
2219
|
ids?: DelimArray<string> | null;
|
|
@@ -2219,10 +2223,6 @@ export interface IRequestAllScheduledPlans {
|
|
|
2219
2223
|
fields?: string | null;
|
|
2220
2224
|
all_users?: boolean | null;
|
|
2221
2225
|
}
|
|
2222
|
-
export interface IRequestAllUserAttributes {
|
|
2223
|
-
fields?: string | null;
|
|
2224
|
-
sorts?: string | null;
|
|
2225
|
-
}
|
|
2226
2226
|
export interface IRequestAllUsers {
|
|
2227
2227
|
fields?: string | null;
|
|
2228
2228
|
page?: number | null;
|
|
@@ -2352,6 +2352,12 @@ export interface IRequestLogin {
|
|
|
2352
2352
|
client_id?: string | null;
|
|
2353
2353
|
client_secret?: string | null;
|
|
2354
2354
|
}
|
|
2355
|
+
export interface IRequestLookmlModelExplore {
|
|
2356
|
+
lookml_model_name: string;
|
|
2357
|
+
explore_name: string;
|
|
2358
|
+
fields?: string | null;
|
|
2359
|
+
add_drills_metadata?: boolean | null;
|
|
2360
|
+
}
|
|
2355
2361
|
export interface IRequestModelFieldnameSuggestions {
|
|
2356
2362
|
model_name: string;
|
|
2357
2363
|
view_name: string;
|
|
@@ -2586,30 +2592,6 @@ export interface IRequestSearchGroups {
|
|
|
2586
2592
|
externally_managed?: boolean | null;
|
|
2587
2593
|
externally_orphaned?: boolean | null;
|
|
2588
2594
|
}
|
|
2589
|
-
export interface IRequestSearchGroupsWithHierarchy {
|
|
2590
|
-
fields?: string | null;
|
|
2591
|
-
limit?: number | null;
|
|
2592
|
-
offset?: number | null;
|
|
2593
|
-
sorts?: string | null;
|
|
2594
|
-
filter_or?: boolean | null;
|
|
2595
|
-
id?: string | null;
|
|
2596
|
-
name?: string | null;
|
|
2597
|
-
external_group_id?: string | null;
|
|
2598
|
-
externally_managed?: boolean | null;
|
|
2599
|
-
externally_orphaned?: boolean | null;
|
|
2600
|
-
}
|
|
2601
|
-
export interface IRequestSearchGroupsWithRoles {
|
|
2602
|
-
fields?: string | null;
|
|
2603
|
-
limit?: number | null;
|
|
2604
|
-
offset?: number | null;
|
|
2605
|
-
sorts?: string | null;
|
|
2606
|
-
filter_or?: boolean | null;
|
|
2607
|
-
id?: string | null;
|
|
2608
|
-
name?: string | null;
|
|
2609
|
-
external_group_id?: string | null;
|
|
2610
|
-
externally_managed?: boolean | null;
|
|
2611
|
-
externally_orphaned?: boolean | null;
|
|
2612
|
-
}
|
|
2613
2595
|
export interface IRequestSearchLooks {
|
|
2614
2596
|
id?: string | null;
|
|
2615
2597
|
title?: string | null;
|
|
@@ -2641,17 +2623,6 @@ export interface IRequestSearchModelSets {
|
|
|
2641
2623
|
built_in?: boolean | null;
|
|
2642
2624
|
filter_or?: boolean | null;
|
|
2643
2625
|
}
|
|
2644
|
-
export interface IRequestSearchPermissionSets {
|
|
2645
|
-
fields?: string | null;
|
|
2646
|
-
limit?: number | null;
|
|
2647
|
-
offset?: number | null;
|
|
2648
|
-
sorts?: string | null;
|
|
2649
|
-
id?: string | null;
|
|
2650
|
-
name?: string | null;
|
|
2651
|
-
all_access?: boolean | null;
|
|
2652
|
-
built_in?: boolean | null;
|
|
2653
|
-
filter_or?: boolean | null;
|
|
2654
|
-
}
|
|
2655
2626
|
export interface IRequestSearchRoles {
|
|
2656
2627
|
fields?: string | null;
|
|
2657
2628
|
limit?: number | null;
|
|
@@ -2662,16 +2633,6 @@ export interface IRequestSearchRoles {
|
|
|
2662
2633
|
built_in?: boolean | null;
|
|
2663
2634
|
filter_or?: boolean | null;
|
|
2664
2635
|
}
|
|
2665
|
-
export interface IRequestSearchRolesWithUserCount {
|
|
2666
|
-
fields?: string | null;
|
|
2667
|
-
limit?: number | null;
|
|
2668
|
-
offset?: number | null;
|
|
2669
|
-
sorts?: string | null;
|
|
2670
|
-
id?: string | null;
|
|
2671
|
-
name?: string | null;
|
|
2672
|
-
built_in?: boolean | null;
|
|
2673
|
-
filter_or?: boolean | null;
|
|
2674
|
-
}
|
|
2675
2636
|
export interface IRequestSearchThemes {
|
|
2676
2637
|
id?: string | null;
|
|
2677
2638
|
name?: string | null;
|
|
@@ -3176,6 +3137,7 @@ export declare enum SupportedFormats {
|
|
|
3176
3137
|
json_label = "json_label",
|
|
3177
3138
|
json_detail = "json_detail",
|
|
3178
3139
|
json_detail_lite_stream = "json_detail_lite_stream",
|
|
3140
|
+
json_bi = "json_bi",
|
|
3179
3141
|
xlsx = "xlsx",
|
|
3180
3142
|
html = "html",
|
|
3181
3143
|
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
|