chayns-api 2.2.1 → 2.2.3
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.WeekDayType = exports.ToastType = exports.TappEvent = exports.SharingApp = exports.ScreenSize = exports.ScanQrCodeCodeType = exports.ScanQrCodeCameraTypes = exports.RuntimeEnviroment = exports.MediaType = exports.Language = exports.IconType = exports.IconStyle = exports.Gender = exports.Font = exports.FloatingButtonPosition = exports.FloatingButtonAnimation = exports.Environment = exports.DialogType = exports.DialogSelectType = exports.DialogInputType = exports.DialogIconType = exports.DialogButtonType = exports.DialogAnimation = exports.DeviceOs = exports.DateType = exports.ColorMode = exports.BrowserName = exports.AppName = exports.AppFlavor = exports.AccessMode = void 0;
|
|
6
|
+
exports.selectType = exports.WeekDayType = exports.ToastType = exports.TappEvent = exports.SnapshotType = exports.SharingApp = exports.ScreenSize = exports.ScanQrCodeCodeType = exports.ScanQrCodeCameraTypes = exports.RuntimeEnviroment = exports.MediaType = exports.LoginState = exports.Language = exports.IconType = exports.IconStyle = exports.IOSFeedbackVibration = exports.Gender = exports.Font = exports.FloatingButtonPosition = exports.FloatingButtonAnimation = exports.Environment = exports.DialogType = exports.DialogSelectType = exports.DialogInputType = exports.DialogIconType = exports.DialogButtonType = exports.DialogAnimation = exports.DeviceOs = exports.DesignSettingsUpdateTappViewModes = exports.DesignSettingsUpdateSeasonTypes = exports.DesignSettingsUpdateGalleryAnimationTypes = exports.DesignSettingsUpdateCoverTypes = exports.DesignSettingsUpdateColorSchemeMode = exports.DesignSettingsUpdateBackgroundType = exports.DateType = exports.ColorMode = exports.BrowserName = exports.AppName = exports.AppFlavor = exports.AccessMode = void 0;
|
|
7
7
|
let DateType = exports.DateType = function (DateType) {
|
|
8
8
|
DateType[DateType["DATE"] = 0] = "DATE";
|
|
9
9
|
DateType[DateType["TIME"] = 1] = "TIME";
|
|
@@ -87,7 +87,7 @@ let ScanQrCodeCameraTypes = exports.ScanQrCodeCameraTypes = function (ScanQrCode
|
|
|
87
87
|
ScanQrCodeCameraTypes[ScanQrCodeCameraTypes["FRONT"] = 2] = "FRONT";
|
|
88
88
|
return ScanQrCodeCameraTypes;
|
|
89
89
|
}({});
|
|
90
|
-
|
|
90
|
+
let IOSFeedbackVibration = exports.IOSFeedbackVibration = function (IOSFeedbackVibration) {
|
|
91
91
|
IOSFeedbackVibration[IOSFeedbackVibration["Unknown"] = 0] = "Unknown";
|
|
92
92
|
IOSFeedbackVibration[IOSFeedbackVibration["SelectionChanged"] = 1] = "SelectionChanged";
|
|
93
93
|
IOSFeedbackVibration[IOSFeedbackVibration["NotificationError"] = 2] = "NotificationError";
|
|
@@ -99,23 +99,23 @@ var IOSFeedbackVibration = function (IOSFeedbackVibration) {
|
|
|
99
99
|
IOSFeedbackVibration[IOSFeedbackVibration["Soft"] = 8] = "Soft";
|
|
100
100
|
IOSFeedbackVibration[IOSFeedbackVibration["Rigid"] = 9] = "Rigid";
|
|
101
101
|
return IOSFeedbackVibration;
|
|
102
|
-
}(
|
|
103
|
-
|
|
102
|
+
}({});
|
|
103
|
+
let SnapshotType = exports.SnapshotType = function (SnapshotType) {
|
|
104
104
|
SnapshotType["Background"] = "background";
|
|
105
105
|
SnapshotType["Settings"] = "settings";
|
|
106
106
|
SnapshotType["ColorScheme"] = "colorScheme";
|
|
107
107
|
SnapshotType["Cover"] = "cover";
|
|
108
108
|
SnapshotType["Tapp"] = "tapp";
|
|
109
109
|
return SnapshotType;
|
|
110
|
-
}(
|
|
111
|
-
|
|
110
|
+
}({});
|
|
111
|
+
let DesignSettingsUpdateBackgroundType = exports.DesignSettingsUpdateBackgroundType = function (DesignSettingsUpdateBackgroundType) {
|
|
112
112
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["None"] = 0] = "None";
|
|
113
113
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Image"] = 1] = "Image";
|
|
114
114
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Video"] = 2] = "Video";
|
|
115
115
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Color"] = 3] = "Color";
|
|
116
116
|
return DesignSettingsUpdateBackgroundType;
|
|
117
|
-
}(
|
|
118
|
-
|
|
117
|
+
}({});
|
|
118
|
+
let DesignSettingsUpdateSeasonTypes = exports.DesignSettingsUpdateSeasonTypes = function (DesignSettingsUpdateSeasonTypes) {
|
|
119
119
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["None"] = 0] = "None";
|
|
120
120
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Snowm"] = 1] = "Snowm";
|
|
121
121
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Confetti"] = 2] = "Confetti";
|
|
@@ -126,44 +126,44 @@ var DesignSettingsUpdateSeasonTypes = function (DesignSettingsUpdateSeasonTypes)
|
|
|
126
126
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Clover"] = 7] = "Clover";
|
|
127
127
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Coins"] = 8] = "Coins";
|
|
128
128
|
return DesignSettingsUpdateSeasonTypes;
|
|
129
|
-
}(
|
|
130
|
-
|
|
129
|
+
}({});
|
|
130
|
+
let DesignSettingsUpdateGalleryAnimationTypes = exports.DesignSettingsUpdateGalleryAnimationTypes = function (DesignSettingsUpdateGalleryAnimationTypes) {
|
|
131
131
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Swipe"] = 0] = "Swipe";
|
|
132
132
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Fade"] = 1] = "Fade";
|
|
133
133
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Parallax"] = 2] = "Parallax";
|
|
134
134
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["KenBurns"] = 3] = "KenBurns";
|
|
135
135
|
return DesignSettingsUpdateGalleryAnimationTypes;
|
|
136
|
-
}(
|
|
137
|
-
|
|
136
|
+
}({});
|
|
137
|
+
let DesignSettingsUpdateCoverTypes = exports.DesignSettingsUpdateCoverTypes = function (DesignSettingsUpdateCoverTypes) {
|
|
138
138
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Image"] = 0] = "Image";
|
|
139
139
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Video"] = 1] = "Video";
|
|
140
140
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Slideshow"] = 2] = "Slideshow";
|
|
141
141
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Frame"] = 3] = "Frame";
|
|
142
142
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["None"] = 4] = "None";
|
|
143
143
|
return DesignSettingsUpdateCoverTypes;
|
|
144
|
-
}(
|
|
145
|
-
|
|
144
|
+
}({});
|
|
145
|
+
let DesignSettingsUpdateColorSchemeMode = exports.DesignSettingsUpdateColorSchemeMode = function (DesignSettingsUpdateColorSchemeMode) {
|
|
146
146
|
DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Normal"] = 0] = "Normal";
|
|
147
147
|
DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Dark"] = 1] = "Dark";
|
|
148
148
|
DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Bright"] = 2] = "Bright";
|
|
149
149
|
return DesignSettingsUpdateColorSchemeMode;
|
|
150
|
-
}(
|
|
151
|
-
|
|
150
|
+
}({});
|
|
151
|
+
let DesignSettingsUpdateTappViewModes = exports.DesignSettingsUpdateTappViewModes = function (DesignSettingsUpdateTappViewModes) {
|
|
152
152
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Normal"] = 0] = "Normal";
|
|
153
153
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Exclusive"] = 1] = "Exclusive";
|
|
154
154
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Wide"] = 2] = "Wide";
|
|
155
155
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Fullscreen"] = 3] = "Fullscreen";
|
|
156
156
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["FullscreenWithBackground"] = 4] = "FullscreenWithBackground";
|
|
157
157
|
return DesignSettingsUpdateTappViewModes;
|
|
158
|
-
}(
|
|
159
|
-
|
|
158
|
+
}({});
|
|
159
|
+
let LoginState = exports.LoginState = function (LoginState) {
|
|
160
160
|
LoginState[LoginState["FACEBOOK"] = 0] = "FACEBOOK";
|
|
161
161
|
LoginState[LoginState["T_WEB"] = 1] = "T_WEB";
|
|
162
162
|
LoginState[LoginState["LoginFailed"] = 2] = "LoginFailed";
|
|
163
163
|
LoginState[LoginState["AlreadyLoggedIn"] = 3] = "AlreadyLoggedIn";
|
|
164
164
|
LoginState[LoginState["SUCCESS"] = 4] = "SUCCESS";
|
|
165
165
|
return LoginState;
|
|
166
|
-
}(
|
|
166
|
+
}({});
|
|
167
167
|
let FloatingButtonPosition = exports.FloatingButtonPosition = function (FloatingButtonPosition) {
|
|
168
168
|
FloatingButtonPosition[FloatingButtonPosition["Right"] = 0] = "Right";
|
|
169
169
|
FloatingButtonPosition[FloatingButtonPosition["Center"] = 1] = "Center";
|
|
@@ -304,11 +304,11 @@ let Font = exports.Font = function (Font) {
|
|
|
304
304
|
Font[Font["Inter"] = 27] = "Inter";
|
|
305
305
|
return Font;
|
|
306
306
|
}({});
|
|
307
|
-
|
|
307
|
+
let selectType = exports.selectType = function (selectType) {
|
|
308
308
|
selectType[selectType["DEFAULT"] = 0] = "DEFAULT";
|
|
309
309
|
selectType[selectType["ICON"] = 1] = "ICON";
|
|
310
310
|
return selectType;
|
|
311
|
-
}(
|
|
311
|
+
}({});
|
|
312
312
|
let DialogType = exports.DialogType = function (DialogType) {
|
|
313
313
|
DialogType["ALERT"] = "alert";
|
|
314
314
|
DialogType["CONFIRM"] = "confirm";
|
|
@@ -81,7 +81,7 @@ export let ScanQrCodeCameraTypes = function (ScanQrCodeCameraTypes) {
|
|
|
81
81
|
ScanQrCodeCameraTypes[ScanQrCodeCameraTypes["FRONT"] = 2] = "FRONT";
|
|
82
82
|
return ScanQrCodeCameraTypes;
|
|
83
83
|
}({});
|
|
84
|
-
|
|
84
|
+
export let IOSFeedbackVibration = function (IOSFeedbackVibration) {
|
|
85
85
|
IOSFeedbackVibration[IOSFeedbackVibration["Unknown"] = 0] = "Unknown";
|
|
86
86
|
IOSFeedbackVibration[IOSFeedbackVibration["SelectionChanged"] = 1] = "SelectionChanged";
|
|
87
87
|
IOSFeedbackVibration[IOSFeedbackVibration["NotificationError"] = 2] = "NotificationError";
|
|
@@ -93,23 +93,23 @@ var IOSFeedbackVibration = function (IOSFeedbackVibration) {
|
|
|
93
93
|
IOSFeedbackVibration[IOSFeedbackVibration["Soft"] = 8] = "Soft";
|
|
94
94
|
IOSFeedbackVibration[IOSFeedbackVibration["Rigid"] = 9] = "Rigid";
|
|
95
95
|
return IOSFeedbackVibration;
|
|
96
|
-
}(
|
|
97
|
-
|
|
96
|
+
}({});
|
|
97
|
+
export let SnapshotType = function (SnapshotType) {
|
|
98
98
|
SnapshotType["Background"] = "background";
|
|
99
99
|
SnapshotType["Settings"] = "settings";
|
|
100
100
|
SnapshotType["ColorScheme"] = "colorScheme";
|
|
101
101
|
SnapshotType["Cover"] = "cover";
|
|
102
102
|
SnapshotType["Tapp"] = "tapp";
|
|
103
103
|
return SnapshotType;
|
|
104
|
-
}(
|
|
105
|
-
|
|
104
|
+
}({});
|
|
105
|
+
export let DesignSettingsUpdateBackgroundType = function (DesignSettingsUpdateBackgroundType) {
|
|
106
106
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["None"] = 0] = "None";
|
|
107
107
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Image"] = 1] = "Image";
|
|
108
108
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Video"] = 2] = "Video";
|
|
109
109
|
DesignSettingsUpdateBackgroundType[DesignSettingsUpdateBackgroundType["Color"] = 3] = "Color";
|
|
110
110
|
return DesignSettingsUpdateBackgroundType;
|
|
111
|
-
}(
|
|
112
|
-
|
|
111
|
+
}({});
|
|
112
|
+
export let DesignSettingsUpdateSeasonTypes = function (DesignSettingsUpdateSeasonTypes) {
|
|
113
113
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["None"] = 0] = "None";
|
|
114
114
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Snowm"] = 1] = "Snowm";
|
|
115
115
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Confetti"] = 2] = "Confetti";
|
|
@@ -120,44 +120,44 @@ var DesignSettingsUpdateSeasonTypes = function (DesignSettingsUpdateSeasonTypes)
|
|
|
120
120
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Clover"] = 7] = "Clover";
|
|
121
121
|
DesignSettingsUpdateSeasonTypes[DesignSettingsUpdateSeasonTypes["Coins"] = 8] = "Coins";
|
|
122
122
|
return DesignSettingsUpdateSeasonTypes;
|
|
123
|
-
}(
|
|
124
|
-
|
|
123
|
+
}({});
|
|
124
|
+
export let DesignSettingsUpdateGalleryAnimationTypes = function (DesignSettingsUpdateGalleryAnimationTypes) {
|
|
125
125
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Swipe"] = 0] = "Swipe";
|
|
126
126
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Fade"] = 1] = "Fade";
|
|
127
127
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["Parallax"] = 2] = "Parallax";
|
|
128
128
|
DesignSettingsUpdateGalleryAnimationTypes[DesignSettingsUpdateGalleryAnimationTypes["KenBurns"] = 3] = "KenBurns";
|
|
129
129
|
return DesignSettingsUpdateGalleryAnimationTypes;
|
|
130
|
-
}(
|
|
131
|
-
|
|
130
|
+
}({});
|
|
131
|
+
export let DesignSettingsUpdateCoverTypes = function (DesignSettingsUpdateCoverTypes) {
|
|
132
132
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Image"] = 0] = "Image";
|
|
133
133
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Video"] = 1] = "Video";
|
|
134
134
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Slideshow"] = 2] = "Slideshow";
|
|
135
135
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["Frame"] = 3] = "Frame";
|
|
136
136
|
DesignSettingsUpdateCoverTypes[DesignSettingsUpdateCoverTypes["None"] = 4] = "None";
|
|
137
137
|
return DesignSettingsUpdateCoverTypes;
|
|
138
|
-
}(
|
|
139
|
-
|
|
138
|
+
}({});
|
|
139
|
+
export let DesignSettingsUpdateColorSchemeMode = function (DesignSettingsUpdateColorSchemeMode) {
|
|
140
140
|
DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Normal"] = 0] = "Normal";
|
|
141
141
|
DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Dark"] = 1] = "Dark";
|
|
142
142
|
DesignSettingsUpdateColorSchemeMode[DesignSettingsUpdateColorSchemeMode["Bright"] = 2] = "Bright";
|
|
143
143
|
return DesignSettingsUpdateColorSchemeMode;
|
|
144
|
-
}(
|
|
145
|
-
|
|
144
|
+
}({});
|
|
145
|
+
export let DesignSettingsUpdateTappViewModes = function (DesignSettingsUpdateTappViewModes) {
|
|
146
146
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Normal"] = 0] = "Normal";
|
|
147
147
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Exclusive"] = 1] = "Exclusive";
|
|
148
148
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Wide"] = 2] = "Wide";
|
|
149
149
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["Fullscreen"] = 3] = "Fullscreen";
|
|
150
150
|
DesignSettingsUpdateTappViewModes[DesignSettingsUpdateTappViewModes["FullscreenWithBackground"] = 4] = "FullscreenWithBackground";
|
|
151
151
|
return DesignSettingsUpdateTappViewModes;
|
|
152
|
-
}(
|
|
153
|
-
|
|
152
|
+
}({});
|
|
153
|
+
export let LoginState = function (LoginState) {
|
|
154
154
|
LoginState[LoginState["FACEBOOK"] = 0] = "FACEBOOK";
|
|
155
155
|
LoginState[LoginState["T_WEB"] = 1] = "T_WEB";
|
|
156
156
|
LoginState[LoginState["LoginFailed"] = 2] = "LoginFailed";
|
|
157
157
|
LoginState[LoginState["AlreadyLoggedIn"] = 3] = "AlreadyLoggedIn";
|
|
158
158
|
LoginState[LoginState["SUCCESS"] = 4] = "SUCCESS";
|
|
159
159
|
return LoginState;
|
|
160
|
-
}(
|
|
160
|
+
}({});
|
|
161
161
|
export let FloatingButtonPosition = function (FloatingButtonPosition) {
|
|
162
162
|
FloatingButtonPosition[FloatingButtonPosition["Right"] = 0] = "Right";
|
|
163
163
|
FloatingButtonPosition[FloatingButtonPosition["Center"] = 1] = "Center";
|
|
@@ -298,11 +298,11 @@ export let Font = function (Font) {
|
|
|
298
298
|
Font[Font["Inter"] = 27] = "Inter";
|
|
299
299
|
return Font;
|
|
300
300
|
}({});
|
|
301
|
-
|
|
301
|
+
export let selectType = function (selectType) {
|
|
302
302
|
selectType[selectType["DEFAULT"] = 0] = "DEFAULT";
|
|
303
303
|
selectType[selectType["ICON"] = 1] = "ICON";
|
|
304
304
|
return selectType;
|
|
305
|
-
}(
|
|
305
|
+
}({});
|
|
306
306
|
export let DialogType = function (DialogType) {
|
|
307
307
|
DialogType["ALERT"] = "alert";
|
|
308
308
|
DialogType["CONFIRM"] = "confirm";
|
|
@@ -321,7 +321,7 @@ export interface DialogResultFile {
|
|
|
321
321
|
size: number;
|
|
322
322
|
url: string;
|
|
323
323
|
}
|
|
324
|
-
type DialogResultValue<T> = {
|
|
324
|
+
export type DialogResultValue<T> = {
|
|
325
325
|
[DialogType.INPUT]: string;
|
|
326
326
|
[DialogType.SELECT]: (number | string)[];
|
|
327
327
|
[DialogType.CONFIRM]: void;
|
|
@@ -481,7 +481,7 @@ export type ScanQrCodeResult = {
|
|
|
481
481
|
status: number;
|
|
482
482
|
resultType: number;
|
|
483
483
|
};
|
|
484
|
-
declare enum IOSFeedbackVibration {
|
|
484
|
+
export declare enum IOSFeedbackVibration {
|
|
485
485
|
Unknown = 0,
|
|
486
486
|
SelectionChanged = 1,
|
|
487
487
|
NotificationError = 2,
|
|
@@ -505,25 +505,25 @@ export interface ShowOverlay {
|
|
|
505
505
|
height?: string | number;
|
|
506
506
|
login?: boolean;
|
|
507
507
|
}
|
|
508
|
-
declare enum SnapshotType {
|
|
508
|
+
export declare enum SnapshotType {
|
|
509
509
|
Background = "background",
|
|
510
510
|
Settings = "settings",
|
|
511
511
|
ColorScheme = "colorScheme",
|
|
512
512
|
Cover = "cover",
|
|
513
513
|
Tapp = "tapp"
|
|
514
514
|
}
|
|
515
|
-
declare enum DesignSettingsUpdateBackgroundType {
|
|
515
|
+
export declare enum DesignSettingsUpdateBackgroundType {
|
|
516
516
|
None = 0,
|
|
517
517
|
Image = 1,
|
|
518
518
|
Video = 2,
|
|
519
519
|
Color = 3
|
|
520
520
|
}
|
|
521
|
-
interface DesignSettingsUpdateGradient {
|
|
521
|
+
export interface DesignSettingsUpdateGradient {
|
|
522
522
|
startColor?: string;
|
|
523
523
|
endColor: string;
|
|
524
524
|
type: number;
|
|
525
525
|
}
|
|
526
|
-
interface DesignSettingsUpdateBackground {
|
|
526
|
+
export interface DesignSettingsUpdateBackground {
|
|
527
527
|
canvasBlur?: number;
|
|
528
528
|
canvasOpacity?: number;
|
|
529
529
|
color?: string;
|
|
@@ -533,7 +533,7 @@ interface DesignSettingsUpdateBackground {
|
|
|
533
533
|
url?: string;
|
|
534
534
|
gradient?: DesignSettingsUpdateGradient;
|
|
535
535
|
}
|
|
536
|
-
declare enum DesignSettingsUpdateSeasonTypes {
|
|
536
|
+
export declare enum DesignSettingsUpdateSeasonTypes {
|
|
537
537
|
None = 0,
|
|
538
538
|
Snowm = 1,
|
|
539
539
|
Confetti = 2,
|
|
@@ -544,20 +544,20 @@ declare enum DesignSettingsUpdateSeasonTypes {
|
|
|
544
544
|
Clover = 7,
|
|
545
545
|
Coins = 8
|
|
546
546
|
}
|
|
547
|
-
declare enum DesignSettingsUpdateGalleryAnimationTypes {
|
|
547
|
+
export declare enum DesignSettingsUpdateGalleryAnimationTypes {
|
|
548
548
|
Swipe = 0,
|
|
549
549
|
Fade = 1,
|
|
550
550
|
Parallax = 2,
|
|
551
551
|
KenBurns = 3
|
|
552
552
|
}
|
|
553
|
-
declare enum DesignSettingsUpdateCoverTypes {
|
|
553
|
+
export declare enum DesignSettingsUpdateCoverTypes {
|
|
554
554
|
Image = 0,
|
|
555
555
|
Video = 1,
|
|
556
556
|
Slideshow = 2,
|
|
557
557
|
Frame = 3,
|
|
558
558
|
None = 4
|
|
559
559
|
}
|
|
560
|
-
interface DesignSettingsUpdateCover {
|
|
560
|
+
export interface DesignSettingsUpdateCover {
|
|
561
561
|
animationType: DesignSettingsUpdateGalleryAnimationTypes;
|
|
562
562
|
seasonAnimation?: DesignSettingsUpdateSeasonTypes;
|
|
563
563
|
fallbackUrl?: string;
|
|
@@ -566,29 +566,30 @@ interface DesignSettingsUpdateCover {
|
|
|
566
566
|
type: DesignSettingsUpdateCoverTypes;
|
|
567
567
|
urls: string[];
|
|
568
568
|
}
|
|
569
|
-
declare enum DesignSettingsUpdateColorSchemeMode {
|
|
569
|
+
export declare enum DesignSettingsUpdateColorSchemeMode {
|
|
570
570
|
Normal = 0,
|
|
571
571
|
Dark = 1,
|
|
572
572
|
Bright = 2
|
|
573
573
|
}
|
|
574
|
-
interface DesignSettingsUpdateColorScheme {
|
|
574
|
+
export interface DesignSettingsUpdateColorScheme {
|
|
575
575
|
color: string;
|
|
576
576
|
mode: DesignSettingsUpdateColorSchemeMode;
|
|
577
577
|
}
|
|
578
|
-
interface DesignSettingsUpdateGlobalSettings {
|
|
578
|
+
export interface DesignSettingsUpdateGlobalSettings {
|
|
579
579
|
useChatHead?: boolean;
|
|
580
580
|
addBackgroundColorInHeader?: boolean;
|
|
581
581
|
enableStagingSwitch?: boolean;
|
|
582
582
|
hideNavigationButton?: boolean;
|
|
583
|
+
showFooterMenu?: boolean;
|
|
583
584
|
}
|
|
584
|
-
declare enum DesignSettingsUpdateTappViewModes {
|
|
585
|
+
export declare enum DesignSettingsUpdateTappViewModes {
|
|
585
586
|
Normal = 0,
|
|
586
587
|
Exclusive = 1,
|
|
587
588
|
Wide = 2,
|
|
588
589
|
Fullscreen = 3,
|
|
589
590
|
FullscreenWithBackground = 4
|
|
590
591
|
}
|
|
591
|
-
interface DesignSettingsUpdateTapp {
|
|
592
|
+
export interface DesignSettingsUpdateTapp {
|
|
592
593
|
viewMode?: DesignSettingsUpdateTappViewModes;
|
|
593
594
|
removeLocationBarHeight?: boolean;
|
|
594
595
|
}
|
|
@@ -598,7 +599,7 @@ export interface DesignSettings {
|
|
|
598
599
|
reset?: boolean;
|
|
599
600
|
updates: DesignSettingsUpdateItem[];
|
|
600
601
|
}
|
|
601
|
-
interface DesignSettingsUpdateItem {
|
|
602
|
+
export interface DesignSettingsUpdateItem {
|
|
602
603
|
type: SnapshotType;
|
|
603
604
|
value: DesignSettingsUpdateBackground | DesignSettingsUpdateCover | DesignSettingsUpdateColorScheme | DesignSettingsUpdateGlobalSettings | DesignSettingsUpdateTapp;
|
|
604
605
|
}
|
|
@@ -646,7 +647,7 @@ export interface OpenImage {
|
|
|
646
647
|
export interface OpenVideo {
|
|
647
648
|
url: string;
|
|
648
649
|
}
|
|
649
|
-
declare enum LoginState {
|
|
650
|
+
export declare enum LoginState {
|
|
650
651
|
FACEBOOK = 0,
|
|
651
652
|
T_WEB = 1,
|
|
652
653
|
LoginFailed = 2,
|
|
@@ -771,7 +772,7 @@ export interface ScrollListenerResult {
|
|
|
771
772
|
scrollX: number | null;
|
|
772
773
|
scrollY: number | null;
|
|
773
774
|
}
|
|
774
|
-
interface LayoutDisposition {
|
|
775
|
+
export interface LayoutDisposition {
|
|
775
776
|
barOnTop: boolean;
|
|
776
777
|
barWide: boolean;
|
|
777
778
|
contentWide: boolean;
|
|
@@ -780,7 +781,7 @@ interface LayoutDisposition {
|
|
|
780
781
|
coverWide: boolean;
|
|
781
782
|
docked: boolean;
|
|
782
783
|
}
|
|
783
|
-
interface UacGroup {
|
|
784
|
+
export interface UacGroup {
|
|
784
785
|
id: number;
|
|
785
786
|
}
|
|
786
787
|
export declare enum IconType {
|
|
@@ -909,7 +910,7 @@ export interface SelectInput {
|
|
|
909
910
|
links?: DialogButtonOld[];
|
|
910
911
|
selectAllButton?: string;
|
|
911
912
|
}
|
|
912
|
-
declare enum selectType {
|
|
913
|
+
export declare enum selectType {
|
|
913
914
|
DEFAULT = 0,
|
|
914
915
|
ICON = 1
|
|
915
916
|
}
|
|
@@ -951,4 +952,3 @@ export declare enum DialogIconType {
|
|
|
951
952
|
export type AnonymousAccountResult = {
|
|
952
953
|
token: string;
|
|
953
954
|
};
|
|
954
|
-
export {};
|