chayns-api 2.2.1 → 2.2.2

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
- var IOSFeedbackVibration = function (IOSFeedbackVibration) {
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
- }(IOSFeedbackVibration || {});
103
- var SnapshotType = function (SnapshotType) {
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
- }(SnapshotType || {});
111
- var DesignSettingsUpdateBackgroundType = function (DesignSettingsUpdateBackgroundType) {
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
- }(DesignSettingsUpdateBackgroundType || {});
118
- var DesignSettingsUpdateSeasonTypes = function (DesignSettingsUpdateSeasonTypes) {
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
- }(DesignSettingsUpdateSeasonTypes || {});
130
- var DesignSettingsUpdateGalleryAnimationTypes = function (DesignSettingsUpdateGalleryAnimationTypes) {
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
- }(DesignSettingsUpdateGalleryAnimationTypes || {});
137
- var DesignSettingsUpdateCoverTypes = function (DesignSettingsUpdateCoverTypes) {
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
- }(DesignSettingsUpdateCoverTypes || {});
145
- var DesignSettingsUpdateColorSchemeMode = function (DesignSettingsUpdateColorSchemeMode) {
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
- }(DesignSettingsUpdateColorSchemeMode || {});
151
- var DesignSettingsUpdateTappViewModes = function (DesignSettingsUpdateTappViewModes) {
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
- }(DesignSettingsUpdateTappViewModes || {});
159
- var LoginState = function (LoginState) {
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
- }(LoginState || {});
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
- var selectType = function (selectType) {
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
- }(selectType || {});
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
- var IOSFeedbackVibration = function (IOSFeedbackVibration) {
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
- }(IOSFeedbackVibration || {});
97
- var SnapshotType = function (SnapshotType) {
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
- }(SnapshotType || {});
105
- var DesignSettingsUpdateBackgroundType = function (DesignSettingsUpdateBackgroundType) {
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
- }(DesignSettingsUpdateBackgroundType || {});
112
- var DesignSettingsUpdateSeasonTypes = function (DesignSettingsUpdateSeasonTypes) {
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
- }(DesignSettingsUpdateSeasonTypes || {});
124
- var DesignSettingsUpdateGalleryAnimationTypes = function (DesignSettingsUpdateGalleryAnimationTypes) {
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
- }(DesignSettingsUpdateGalleryAnimationTypes || {});
131
- var DesignSettingsUpdateCoverTypes = function (DesignSettingsUpdateCoverTypes) {
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
- }(DesignSettingsUpdateCoverTypes || {});
139
- var DesignSettingsUpdateColorSchemeMode = function (DesignSettingsUpdateColorSchemeMode) {
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
- }(DesignSettingsUpdateColorSchemeMode || {});
145
- var DesignSettingsUpdateTappViewModes = function (DesignSettingsUpdateTappViewModes) {
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
- }(DesignSettingsUpdateTappViewModes || {});
153
- var LoginState = function (LoginState) {
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
- }(LoginState || {});
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
- var selectType = function (selectType) {
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
- }(selectType || {});
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,29 @@ 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
583
  }
584
- declare enum DesignSettingsUpdateTappViewModes {
584
+ export declare enum DesignSettingsUpdateTappViewModes {
585
585
  Normal = 0,
586
586
  Exclusive = 1,
587
587
  Wide = 2,
588
588
  Fullscreen = 3,
589
589
  FullscreenWithBackground = 4
590
590
  }
591
- interface DesignSettingsUpdateTapp {
591
+ export interface DesignSettingsUpdateTapp {
592
592
  viewMode?: DesignSettingsUpdateTappViewModes;
593
593
  removeLocationBarHeight?: boolean;
594
594
  }
@@ -598,7 +598,7 @@ export interface DesignSettings {
598
598
  reset?: boolean;
599
599
  updates: DesignSettingsUpdateItem[];
600
600
  }
601
- interface DesignSettingsUpdateItem {
601
+ export interface DesignSettingsUpdateItem {
602
602
  type: SnapshotType;
603
603
  value: DesignSettingsUpdateBackground | DesignSettingsUpdateCover | DesignSettingsUpdateColorScheme | DesignSettingsUpdateGlobalSettings | DesignSettingsUpdateTapp;
604
604
  }
@@ -646,7 +646,7 @@ export interface OpenImage {
646
646
  export interface OpenVideo {
647
647
  url: string;
648
648
  }
649
- declare enum LoginState {
649
+ export declare enum LoginState {
650
650
  FACEBOOK = 0,
651
651
  T_WEB = 1,
652
652
  LoginFailed = 2,
@@ -771,7 +771,7 @@ export interface ScrollListenerResult {
771
771
  scrollX: number | null;
772
772
  scrollY: number | null;
773
773
  }
774
- interface LayoutDisposition {
774
+ export interface LayoutDisposition {
775
775
  barOnTop: boolean;
776
776
  barWide: boolean;
777
777
  contentWide: boolean;
@@ -780,7 +780,7 @@ interface LayoutDisposition {
780
780
  coverWide: boolean;
781
781
  docked: boolean;
782
782
  }
783
- interface UacGroup {
783
+ export interface UacGroup {
784
784
  id: number;
785
785
  }
786
786
  export declare enum IconType {
@@ -909,7 +909,7 @@ export interface SelectInput {
909
909
  links?: DialogButtonOld[];
910
910
  selectAllButton?: string;
911
911
  }
912
- declare enum selectType {
912
+ export declare enum selectType {
913
913
  DEFAULT = 0,
914
914
  ICON = 1
915
915
  }
@@ -951,4 +951,3 @@ export declare enum DialogIconType {
951
951
  export type AnonymousAccountResult = {
952
952
  token: string;
953
953
  };
954
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",