@looker/sdk 25.18.0 → 25.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 +7 -0
- package/lib/4.0/funcs.js +2 -1
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.js +2 -1
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/models.d.ts +45 -12
- package/lib/4.0/models.js +6 -1
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.js +2 -1
- package/lib/4.0/streams.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +2 -1
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +2 -1
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/models.js +5 -0
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +2 -1
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/4.0/models.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export interface IAlertNotifications {
|
|
|
69
69
|
threshold_value?: number | null;
|
|
70
70
|
ran_at?: string;
|
|
71
71
|
alert?: IMobilePayload;
|
|
72
|
+
notification_type?: string | null;
|
|
72
73
|
}
|
|
73
74
|
export interface IAlertPatch {
|
|
74
75
|
owner_id?: string | null;
|
|
@@ -220,6 +221,16 @@ export declare enum Category {
|
|
|
220
221
|
measure = "measure",
|
|
221
222
|
dimension = "dimension"
|
|
222
223
|
}
|
|
224
|
+
export interface ICertification {
|
|
225
|
+
certification_status?: CertificationStatus;
|
|
226
|
+
user_name?: string | null;
|
|
227
|
+
notes?: string | null;
|
|
228
|
+
updated_at?: Date;
|
|
229
|
+
}
|
|
230
|
+
export declare enum CertificationStatus {
|
|
231
|
+
certified = "certified",
|
|
232
|
+
revoked = "revoked"
|
|
233
|
+
}
|
|
223
234
|
export interface ICIChangeRequest {
|
|
224
235
|
change_request_number?: number;
|
|
225
236
|
change_request_url?: string;
|
|
@@ -232,17 +243,6 @@ export interface ICIGitState {
|
|
|
232
243
|
commit_ref?: string | null;
|
|
233
244
|
target?: string | null;
|
|
234
245
|
}
|
|
235
|
-
export interface ICIRunResult {
|
|
236
|
-
sql_result?: ISqlValidatorResult;
|
|
237
|
-
sql_error?: IGenericError;
|
|
238
|
-
assert_result?: IAssertValidatorResult;
|
|
239
|
-
assert_error?: IGenericError;
|
|
240
|
-
content_result?: IContentValidatorResult;
|
|
241
|
-
content_error?: IGenericError;
|
|
242
|
-
lookml_result?: ILookMLValidatorResult;
|
|
243
|
-
lookml_error?: IGenericError;
|
|
244
|
-
generic_error?: IGenericError;
|
|
245
|
-
}
|
|
246
246
|
export interface ICIScheduleTrigger {
|
|
247
247
|
enabled?: boolean;
|
|
248
248
|
day?: string | null;
|
|
@@ -361,6 +361,7 @@ export interface IContentSummary {
|
|
|
361
361
|
group_weighted_score?: number | null;
|
|
362
362
|
suggestion_score?: number | null;
|
|
363
363
|
preferred_viewer?: string | null;
|
|
364
|
+
certification_metadata?: ICertification;
|
|
364
365
|
}
|
|
365
366
|
export interface IContentValidation {
|
|
366
367
|
content_with_errors?: IContentValidatorError[] | null;
|
|
@@ -727,6 +728,7 @@ export interface IDashboard {
|
|
|
727
728
|
user_id?: string | null;
|
|
728
729
|
slug?: string | null;
|
|
729
730
|
preferred_viewer?: string | null;
|
|
731
|
+
certification_metadata?: ICertification;
|
|
730
732
|
alert_sync_with_dashboard_filter_enabled?: boolean;
|
|
731
733
|
background_color?: string | null;
|
|
732
734
|
created_at?: Date | null;
|
|
@@ -791,12 +793,14 @@ export interface IDashboardBase {
|
|
|
791
793
|
user_id?: string | null;
|
|
792
794
|
slug?: string | null;
|
|
793
795
|
preferred_viewer?: string | null;
|
|
796
|
+
certification_metadata?: ICertification;
|
|
794
797
|
}
|
|
795
798
|
export interface IDashboardElement {
|
|
796
799
|
can?: IDictionary<boolean>;
|
|
797
800
|
body_text?: string | null;
|
|
798
801
|
body_text_as_html?: string | null;
|
|
799
802
|
dashboard_id?: string | null;
|
|
803
|
+
dashboard_layout_id?: string | null;
|
|
800
804
|
edit_uri?: string | null;
|
|
801
805
|
id?: string;
|
|
802
806
|
look?: ILookWithQuery;
|
|
@@ -1220,6 +1224,7 @@ export interface IExternalOauthApplication {
|
|
|
1220
1224
|
client_secret?: string;
|
|
1221
1225
|
tenant_id?: string | null;
|
|
1222
1226
|
dialect_name?: string | null;
|
|
1227
|
+
bi_directional_data_access?: boolean | null;
|
|
1223
1228
|
created_at?: Date;
|
|
1224
1229
|
}
|
|
1225
1230
|
export declare enum FillStyle {
|
|
@@ -1665,6 +1670,7 @@ export interface ILook {
|
|
|
1665
1670
|
id?: string;
|
|
1666
1671
|
title?: string | null;
|
|
1667
1672
|
user_id?: string | null;
|
|
1673
|
+
certification_metadata?: ICertification;
|
|
1668
1674
|
content_favorite_id?: string | null;
|
|
1669
1675
|
created_at?: Date | null;
|
|
1670
1676
|
deleted?: boolean;
|
|
@@ -1698,6 +1704,7 @@ export interface ILookBasic {
|
|
|
1698
1704
|
id?: string;
|
|
1699
1705
|
title?: string | null;
|
|
1700
1706
|
user_id?: string | null;
|
|
1707
|
+
certification_metadata?: ICertification;
|
|
1701
1708
|
}
|
|
1702
1709
|
export interface ILookmlFieldLink {
|
|
1703
1710
|
label?: string;
|
|
@@ -1838,6 +1845,8 @@ export interface ILookmlModelExploreField {
|
|
|
1838
1845
|
week_start_day?: WeekStartDay;
|
|
1839
1846
|
times_used?: number;
|
|
1840
1847
|
original_view?: string;
|
|
1848
|
+
datatype?: string | null;
|
|
1849
|
+
convert_tz?: boolean | null;
|
|
1841
1850
|
}
|
|
1842
1851
|
export interface ILookmlModelExploreFieldEnumeration {
|
|
1843
1852
|
label?: string | null;
|
|
@@ -1964,6 +1973,7 @@ export interface ILookWithDashboards {
|
|
|
1964
1973
|
id?: string;
|
|
1965
1974
|
title?: string | null;
|
|
1966
1975
|
user_id?: string | null;
|
|
1976
|
+
certification_metadata?: ICertification;
|
|
1967
1977
|
content_favorite_id?: string | null;
|
|
1968
1978
|
created_at?: Date | null;
|
|
1969
1979
|
deleted?: boolean;
|
|
@@ -1998,6 +2008,7 @@ export interface ILookWithQuery {
|
|
|
1998
2008
|
id?: string;
|
|
1999
2009
|
title?: string | null;
|
|
2000
2010
|
user_id?: string | null;
|
|
2011
|
+
certification_metadata?: ICertification;
|
|
2001
2012
|
content_favorite_id?: string | null;
|
|
2002
2013
|
created_at?: Date | null;
|
|
2003
2014
|
deleted?: boolean;
|
|
@@ -2487,6 +2498,7 @@ export interface IRequestAllLookmlModels {
|
|
|
2487
2498
|
exclude_empty?: boolean | null;
|
|
2488
2499
|
exclude_hidden?: boolean | null;
|
|
2489
2500
|
include_internal?: boolean | null;
|
|
2501
|
+
include_self_service?: boolean | null;
|
|
2490
2502
|
}
|
|
2491
2503
|
export interface IRequestAllRoles {
|
|
2492
2504
|
fields?: string | null;
|
|
@@ -3174,7 +3186,7 @@ export interface IRun {
|
|
|
3174
3186
|
status?: string;
|
|
3175
3187
|
git_service?: string | null;
|
|
3176
3188
|
git_state?: ICIGitState;
|
|
3177
|
-
result?:
|
|
3189
|
+
result?: IRunResult;
|
|
3178
3190
|
schedule?: ICIScheduleTrigger;
|
|
3179
3191
|
target_branch?: string | null;
|
|
3180
3192
|
title?: string;
|
|
@@ -3207,6 +3219,17 @@ export interface IRunningQueries {
|
|
|
3207
3219
|
sql?: string | null;
|
|
3208
3220
|
sql_interface_sql?: string | null;
|
|
3209
3221
|
}
|
|
3222
|
+
export interface IRunResult {
|
|
3223
|
+
sql_result?: ISqlValidatorResult;
|
|
3224
|
+
sql_error?: IGenericError;
|
|
3225
|
+
assert_result?: IAssertValidatorResult;
|
|
3226
|
+
assert_error?: IGenericError;
|
|
3227
|
+
content_result?: IContentValidatorResult;
|
|
3228
|
+
content_error?: IGenericError;
|
|
3229
|
+
lookml_result?: ILookMLValidatorResult;
|
|
3230
|
+
lookml_error?: IGenericError;
|
|
3231
|
+
generic_error?: IGenericError;
|
|
3232
|
+
}
|
|
3210
3233
|
export interface ISamlConfig {
|
|
3211
3234
|
can?: IDictionary<boolean>;
|
|
3212
3235
|
enabled?: boolean;
|
|
@@ -3907,6 +3930,10 @@ export interface IWriteBoardSection {
|
|
|
3907
3930
|
item_order?: string[] | null;
|
|
3908
3931
|
title?: string | null;
|
|
3909
3932
|
}
|
|
3933
|
+
export interface IWriteCertification {
|
|
3934
|
+
certification_status?: CertificationStatus | null;
|
|
3935
|
+
notes?: string | null;
|
|
3936
|
+
}
|
|
3910
3937
|
export interface IWriteColorCollection {
|
|
3911
3938
|
label?: string;
|
|
3912
3939
|
categoricalPalettes?: IDiscretePalette[] | null;
|
|
@@ -3962,6 +3989,7 @@ export interface IWriteDashboard {
|
|
|
3962
3989
|
title?: string | null;
|
|
3963
3990
|
slug?: string | null;
|
|
3964
3991
|
preferred_viewer?: string | null;
|
|
3992
|
+
certification_metadata?: IWriteCertification | null;
|
|
3965
3993
|
alert_sync_with_dashboard_filter_enabled?: boolean;
|
|
3966
3994
|
background_color?: string | null;
|
|
3967
3995
|
crossfilter_enabled?: boolean;
|
|
@@ -3982,10 +4010,12 @@ export interface IWriteDashboard {
|
|
|
3982
4010
|
}
|
|
3983
4011
|
export interface IWriteDashboardBase {
|
|
3984
4012
|
folder?: IWriteFolderBase | null;
|
|
4013
|
+
certification_metadata?: IWriteCertification | null;
|
|
3985
4014
|
}
|
|
3986
4015
|
export interface IWriteDashboardElement {
|
|
3987
4016
|
body_text?: string | null;
|
|
3988
4017
|
dashboard_id?: string | null;
|
|
4018
|
+
dashboard_layout_id?: string | null;
|
|
3989
4019
|
look?: IWriteLookWithQuery | null;
|
|
3990
4020
|
look_id?: string | null;
|
|
3991
4021
|
merge_result_id?: string | null;
|
|
@@ -4141,6 +4171,7 @@ export interface IWriteExternalOauthApplication {
|
|
|
4141
4171
|
client_secret?: string;
|
|
4142
4172
|
tenant_id?: string | null;
|
|
4143
4173
|
dialect_name?: string | null;
|
|
4174
|
+
bi_directional_data_access?: boolean | null;
|
|
4144
4175
|
}
|
|
4145
4176
|
export interface IWriteFolderBase {
|
|
4146
4177
|
name: string;
|
|
@@ -4211,6 +4242,7 @@ export interface IWriteLegacyFeature {
|
|
|
4211
4242
|
}
|
|
4212
4243
|
export interface IWriteLookBasic {
|
|
4213
4244
|
user_id?: string | null;
|
|
4245
|
+
certification_metadata?: IWriteCertification | null;
|
|
4214
4246
|
}
|
|
4215
4247
|
export interface IWriteLookmlModel {
|
|
4216
4248
|
allowed_db_connection_names?: string[] | null;
|
|
@@ -4221,6 +4253,7 @@ export interface IWriteLookmlModel {
|
|
|
4221
4253
|
export interface IWriteLookWithQuery {
|
|
4222
4254
|
title?: string | null;
|
|
4223
4255
|
user_id?: string | null;
|
|
4256
|
+
certification_metadata?: IWriteCertification | null;
|
|
4224
4257
|
deleted?: boolean;
|
|
4225
4258
|
description?: string | null;
|
|
4226
4259
|
is_run_on_load?: boolean;
|
package/lib/4.0/models.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
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.Period = exports.Name = exports.Kind = exports.InvestigativeContentType = exports.Format = exports.FillStyle = exports.DeviceType = exports.DestinationType = exports.DependencyStatus = exports.ComparisonType = exports.Category = exports.Align = void 0;
|
|
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.Period = exports.Name = exports.Kind = exports.InvestigativeContentType = exports.Format = exports.FillStyle = exports.DeviceType = exports.DestinationType = exports.DependencyStatus = exports.ComparisonType = exports.CertificationStatus = exports.Category = exports.Align = void 0;
|
|
7
7
|
var Align = exports.Align = function (Align) {
|
|
8
8
|
Align["left"] = "left";
|
|
9
9
|
Align["right"] = "right";
|
|
@@ -16,6 +16,11 @@ var Category = exports.Category = function (Category) {
|
|
|
16
16
|
Category["dimension"] = "dimension";
|
|
17
17
|
return Category;
|
|
18
18
|
}({});
|
|
19
|
+
var CertificationStatus = exports.CertificationStatus = function (CertificationStatus) {
|
|
20
|
+
CertificationStatus["certified"] = "certified";
|
|
21
|
+
CertificationStatus["revoked"] = "revoked";
|
|
22
|
+
return CertificationStatus;
|
|
23
|
+
}({});
|
|
19
24
|
var ComparisonType = exports.ComparisonType = function (ComparisonType) {
|
|
20
25
|
ComparisonType["EQUAL_TO"] = "EQUAL_TO";
|
|
21
26
|
ComparisonType["GREATER_THAN"] = "GREATER_THAN";
|