@looker/sdk 22.8.0 → 22.10.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/lib/3.1/funcs.js +2 -2
  3. package/lib/3.1/funcs.js.map +1 -1
  4. package/lib/3.1/methods.js +2 -2
  5. package/lib/3.1/methods.js.map +1 -1
  6. package/lib/3.1/models.d.ts +2 -2
  7. package/lib/3.1/models.js.map +1 -1
  8. package/lib/3.1/streams.js +2 -2
  9. package/lib/3.1/streams.js.map +1 -1
  10. package/lib/4.0/funcs.d.ts +2 -0
  11. package/lib/4.0/funcs.js +1278 -1252
  12. package/lib/4.0/funcs.js.map +1 -1
  13. package/lib/4.0/methods.d.ts +2 -0
  14. package/lib/4.0/methods.js +850 -832
  15. package/lib/4.0/methods.js.map +1 -1
  16. package/lib/4.0/methodsInterface.d.ts +2 -0
  17. package/lib/4.0/models.d.ts +7 -2
  18. package/lib/4.0/models.js.map +1 -1
  19. package/lib/4.0/streams.d.ts +2 -0
  20. package/lib/4.0/streams.js +850 -832
  21. package/lib/4.0/streams.js.map +1 -1
  22. package/lib/constants.d.ts +1 -1
  23. package/lib/constants.js +1 -1
  24. package/lib/constants.js.map +1 -1
  25. package/lib/esm/3.1/funcs.js +2 -2
  26. package/lib/esm/3.1/funcs.js.map +1 -1
  27. package/lib/esm/3.1/methods.js +2 -2
  28. package/lib/esm/3.1/methods.js.map +1 -1
  29. package/lib/esm/3.1/models.js.map +1 -1
  30. package/lib/esm/3.1/streams.js +2 -2
  31. package/lib/esm/3.1/streams.js.map +1 -1
  32. package/lib/esm/4.0/funcs.js +1267 -1247
  33. package/lib/esm/4.0/funcs.js.map +1 -1
  34. package/lib/esm/4.0/methods.js +850 -832
  35. package/lib/esm/4.0/methods.js.map +1 -1
  36. package/lib/esm/4.0/models.js.map +1 -1
  37. package/lib/esm/4.0/streams.js +850 -832
  38. package/lib/esm/4.0/streams.js.map +1 -1
  39. package/lib/esm/constants.js +1 -1
  40. package/lib/esm/constants.js.map +1 -1
  41. package/package.json +2 -2
@@ -1,6 +1,8 @@
1
1
  import type { DelimArray, IDictionary, IAPIMethods, ITransportSettings, SDKResponse } from '@looker/sdk-rtl';
2
2
  import type { IAccessToken, IAlert, IAlertNotifications, IAlertPatch, IApiSession, IApiVersion, IBackupConfiguration, IBoard, IBoardItem, IBoardSection, IColorCollection, IColumnSearch, IConnectionFeatures, IContentFavorite, IContentMeta, IContentMetaGroupUser, IContentValidation, IContentView, ICostEstimate, ICreateCostEstimate, ICreateCredentialsApi3, ICreateEmbedUserRequest, ICreateFolder, ICreateOAuthApplicationUserStateRequest, ICreateOAuthApplicationUserStateResponse, ICredentialsApi3, ICredentialsEmail, ICredentialsEmailSearch, ICredentialsEmbed, ICredentialsGoogle, ICredentialsLDAP, ICredentialsLookerOpenid, ICredentialsOIDC, ICredentialsSaml, ICredentialsTotp, ICustomWelcomeEmail, IDashboard, IDashboardAggregateTableLookml, IDashboardBase, IDashboardElement, IDashboardFilter, IDashboardLayout, IDashboardLayoutComponent, IDashboardLookml, IDataActionForm, IDataActionRequest, IDataActionResponse, IDatagroup, IDBConnection, IDBConnectionTestResult, IDependencyGraph, IDialectInfo, IDigestEmails, IDigestEmailSend, IEgressIpAddresses, IEmbedParams, IEmbedSecret, IEmbedSsoParams, IEmbedUrlResponse, IError, IExternalOauthApplication, IFolder, IGitBranch, IGitConnectionTest, IGitConnectionTestResult, IGroup, IGroupHierarchy, IGroupIdForGroupInclusion, IGroupIdForGroupUserInclusion, IGroupSearch, IHomepageSection, IIntegration, IIntegrationHub, IIntegrationTestResult, IInternalHelpResources, IInternalHelpResourcesContent, ILDAPConfig, ILDAPConfigTestResult, ILegacyFeature, ILocale, ILook, ILookmlModel, ILookmlModelExplore, ILookmlTest, ILookmlTestResult, ILookWithQuery, IManifest, IMaterializePDT, IMergeQuery, IMobileSettings, IMobileToken, IModel, IModelFieldSuggestions, IModelSet, IOauthClientApp, IOIDCConfig, IPasswordConfig, IPermission, IPermissionSet, IProject, IProjectFile, IProjectValidation, IProjectValidationCache, IProjectWorkspace, IQuery, IQueryTask, IRenderTask, IRepositoryCredential, IRequestActiveThemes, IRequestAlertNotifications, IRequestAllBoardItems, IRequestAllBoardSections, IRequestAllExternalOauthApplications, IRequestAllGroups, IRequestAllGroupUsers, IRequestAllIntegrations, IRequestAllLookmlModels, IRequestAllRoles, IRequestAllScheduledPlans, IRequestAllUsers, IRequestConnectionColumns, IRequestConnectionSchemas, IRequestConnectionSearchColumns, IRequestConnectionTables, IRequestContentThumbnail, IRequestCreateDashboardElement, IRequestCreateDashboardRenderTask, IRequestCreateQueryTask, IRequestCreateUserCredentialsEmailPasswordReset, IRequestDeployRefToProduction, IRequestFolderChildren, IRequestFolderChildrenSearch, IRequestGraphDerivedTablesForModel, IRequestGraphDerivedTablesForView, IRequestLogin, IRequestModelFieldnameSuggestions, IRequestRoleUsers, IRequestRunGitConnectionTest, IRequestRunInlineQuery, IRequestRunLook, IRequestRunLookmlTest, IRequestRunQuery, IRequestScheduledPlansForDashboard, IRequestScheduledPlansForLook, IRequestScheduledPlansForLookmlDashboard, IRequestSearchAlerts, IRequestSearchBoards, IRequestSearchContentFavorites, IRequestSearchContentViews, IRequestSearchCredentialsEmail, IRequestSearchDashboardElements, IRequestSearchDashboards, IRequestSearchFolders, IRequestSearchGroups, IRequestSearchLooks, IRequestSearchModelSets, IRequestSearchRoles, IRequestSearchThemes, IRequestSearchUserLoginLockouts, IRequestSearchUsers, IRequestSearchUsersNames, IRequestStartPdtBuild, IRequestTagRef, IRequestUserAttributeUserValues, IRequestUserRoles, IRole, IRoleSearch, IRunningQueries, ISamlConfig, ISamlMetadataParseResult, IScheduledPlan, ISchema, ISchemaColumns, ISchemaTables, ISession, ISessionConfig, ISetting, ISmtpSettings, ISmtpStatus, ISqlQuery, ISqlQueryCreate, ISshPublicKey, ISshServer, ISshTunnel, ISupportAccessAddEntries, ISupportAccessAllowlistEntry, ISupportAccessEnable, ISupportAccessStatus, ITheme, ITimezone, IUpdateFolder, IUser, IUserAttribute, IUserAttributeGroupValue, IUserAttributeWithValue, IUserEmailOnly, IUserLoginLockout, IUserPublic, IValidationError, IWelcomeEmailTest, IWhitelabelConfiguration, IWorkspace, IWriteAlert, IWriteApiSession, IWriteBackupConfiguration, IWriteBoard, IWriteBoardItem, IWriteBoardSection, IWriteColorCollection, IWriteContentFavorite, IWriteContentMeta, IWriteCreateDashboardFilter, IWriteCredentialsEmail, IWriteDashboard, IWriteDashboardElement, IWriteDashboardFilter, IWriteDashboardLayout, IWriteDashboardLayoutComponent, IWriteDashboardLookml, IWriteDatagroup, IWriteDBConnection, IWriteEmbedSecret, IWriteExternalOauthApplication, IWriteGitBranch, IWriteGroup, IWriteIntegration, IWriteIntegrationHub, IWriteInternalHelpResources, IWriteInternalHelpResourcesContent, IWriteLDAPConfig, IWriteLegacyFeature, IWriteLookmlModel, IWriteLookWithQuery, IWriteMergeQuery, IWriteMobileToken, IWriteModelSet, IWriteOauthClientApp, IWriteOIDCConfig, IWritePasswordConfig, IWritePermissionSet, IWriteProject, IWriteQuery, IWriteRepositoryCredential, IWriteRole, IWriteSamlConfig, IWriteScheduledPlan, IWriteSessionConfig, IWriteSetting, IWriteSshServer, IWriteSshTunnel, IWriteTheme, IWriteUser, IWriteUserAttribute, IWriteUserAttributeWithValue, IWriteWhitelabelConfiguration } from './models';
3
3
  export interface ILooker40SDK extends IAPIMethods {
4
+ follow_alert(alert_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<void, IError>>;
5
+ unfollow_alert(alert_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<void, IError>>;
4
6
  search_alerts(request: IRequestSearchAlerts, options?: Partial<ITransportSettings>): Promise<SDKResponse<IAlert[], IError>>;
5
7
  get_alert(alert_id: string, options?: Partial<ITransportSettings>): Promise<SDKResponse<IAlert, IError>>;
6
8
  update_alert(alert_id: string, body: Partial<IWriteAlert>, options?: Partial<ITransportSettings>): Promise<SDKResponse<IAlert, IError | IValidationError>>;
@@ -1653,6 +1653,10 @@ export interface IMergeQuerySourceQuery {
1653
1653
  name?: string | null;
1654
1654
  query_id?: string | null;
1655
1655
  }
1656
+ export interface IMobileFeatureFlags {
1657
+ feature_flag_name?: string | null;
1658
+ feature_flag_state?: boolean;
1659
+ }
1656
1660
  export interface IMobilePayload {
1657
1661
  title?: string | null;
1658
1662
  alert_id: string;
@@ -1664,6 +1668,7 @@ export interface IMobilePayload {
1664
1668
  export interface IMobileSettings {
1665
1669
  mobile_force_authentication?: boolean;
1666
1670
  mobile_app_integration?: boolean;
1671
+ mobile_feature_flags?: IMobileFeatureFlags[] | null;
1667
1672
  }
1668
1673
  export interface IMobileToken {
1669
1674
  id?: string;
@@ -2113,14 +2118,14 @@ export interface IRequestCreateQueryTask {
2113
2118
  apply_formatting?: boolean | null;
2114
2119
  apply_vis?: boolean | null;
2115
2120
  cache?: boolean | null;
2116
- image_width?: number | null;
2117
- image_height?: number | null;
2118
2121
  generate_drill_links?: boolean | null;
2119
2122
  force_production?: boolean | null;
2120
2123
  cache_only?: boolean | null;
2121
2124
  path_prefix?: string | null;
2122
2125
  rebuild_pdts?: boolean | null;
2123
2126
  server_table_calcs?: boolean | null;
2127
+ image_width?: number | null;
2128
+ image_height?: number | null;
2124
2129
  fields?: string | null;
2125
2130
  }
2126
2131
  export interface IRequestCreateUserCredentialsEmailPasswordReset {