@enplug/sdk-dashboard
Advanced tools
Comparing version 5.4.1 to 5.4.3
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.4.1", | ||
"version": "5.4.3", | ||
"description": "Enplug Dashboard SDK", | ||
@@ -5,0 +5,0 @@ "typings": "./index.d.ts", |
@@ -1,2 +0,2 @@ | ||
import { Asset, DefaultAssetLevel, DeployDialogOptions, EnplugAccount, EnplugUser, FeedData, Layout, ThemeDefinition, ThemeAsset, FontDefinition, FontsApiItem, DefaultAsset, ZoningAppsResponse, ZoningConfig, AccountCustomPropertiesResponse } from './external-types'; | ||
import { Asset, DefaultAssetLevel, DeployDialogOptions, EnplugAccount, EnplugUser, FeedData, Layout, ThemeDefinition, ThemeAsset, FontDefinition, FontsApiItem, DefaultAsset, ZoningAppsResponse, ZoningConfig, AccountCustomPropertiesResponse, AccountInfoResponse } from './external-types'; | ||
import { BridgeBase } from './bridge/bridge-base'; | ||
@@ -260,3 +260,3 @@ /** | ||
*/ | ||
loadAccount(accountId: string): Promise<any>; | ||
loadAccount(): Promise<AccountInfoResponse>; | ||
} |
@@ -551,1 +551,74 @@ /** These are meant to available to client apps */ | ||
} | ||
export interface AccountInfoResponse { | ||
AccountInfo?: AccountInfo; | ||
NetworkInfo?: NetworkBasicInfo; | ||
Subscription?: SubscriptionInfo; | ||
SalesReps?: UserBasicInfo[]; | ||
FeatureFlags?: FeatureFlag[]; | ||
PlanType?: PlanType; | ||
NumberOfUsedLicenses?: number; | ||
MaxNumberOfLicenses?: number; | ||
DisplayGroupCount?: number; | ||
LogicVariant?: DashboardLogicVariant; | ||
} | ||
export interface AccountInfo extends DataItemInfo { | ||
Created?: string | Date; | ||
State?: AccountState; | ||
AccountType?: AccountType; | ||
IsDeveloper?: boolean; | ||
IsEnterprise?: boolean; | ||
AppPackageId?: string; | ||
NetworkId?: string; | ||
ExcludeWidgetIds?: string[]; | ||
} | ||
export interface DataItemInfo { | ||
Id: string; | ||
Name: string; | ||
} | ||
export declare type AccountState = 'Active' | 'GracePeriod' | 'Suspended' | 'Trial'; | ||
export declare type AccountType = 'Network' | 'Venue'; | ||
export interface NetworkBasicInfo { | ||
Id?: string; | ||
Name?: string; | ||
NetworkType?: NetworkType; | ||
} | ||
export declare type NetworkType = 'Default' | 'Kone' | 'Master' | 'Reseller'; | ||
export interface SubscriptionInfo { | ||
NextBillingDate?: string; | ||
TrialStartDate?: string; | ||
TrialEndDate?: string; | ||
Id?: string; | ||
PlanCode?: string; | ||
PlanName?: string; | ||
CollectionMethod?: CollectionMethod; | ||
NetTerms?: number; | ||
PricePerLicense?: number; | ||
PlanAmount?: number; | ||
PlanAmountBeforeDiscounts?: number; | ||
NumberOfLicenses?: number; | ||
BillingPeriod?: BillingPeriod; | ||
IsMonthly?: boolean; | ||
IsAnnual?: boolean; | ||
} | ||
export declare type CollectionMethod = 'Automatic' | 'Manual' | 'None'; | ||
export declare type BillingPeriod = 'Annual' | 'Biannual' | 'Biennial' | 'Monthly' | 'Triennial' | 'Unknown'; | ||
export interface UserBasicInfo { | ||
Id?: string; | ||
FirstName?: string; | ||
LastName?: string; | ||
Email?: string; | ||
} | ||
export interface FeatureFlag { | ||
Level?: ItemLevel; | ||
LevelId?: string; | ||
Name?: string; | ||
Value?: string; | ||
Id?: string; | ||
Created?: string; | ||
LastSaved?: string; | ||
IsDeleted?: boolean; | ||
DeletingActionId?: string; | ||
} | ||
export declare type ItemLevel = 'Account' | 'Default' | 'Network'; | ||
export declare type PlanType = 'Custom' | 'Enplug' | 'FixedPricePerLicense' | 'Free' | 'None'; | ||
export declare type DashboardLogicVariant = null | 'kone' | 'arts'; |
@@ -107,2 +107,3 @@ /** | ||
AppUrlChanged = "app.appUrlChanged", | ||
LoadAccount = "app.loadAccount", | ||
Click = "dashboard.click", | ||
@@ -158,4 +159,3 @@ ConfirmUnsavedChanges = "dashboard.unsavedChanges", | ||
LoadBlacklist = "social.loadBlacklist", | ||
UnbanUser = "social.unbanUser", | ||
LoadAccount = "app.loadAccount" | ||
UnbanUser = "social.unbanUser" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
245081
3376