chayns-api 1.1.11 → 1.1.13

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.
@@ -221,6 +221,7 @@ let RuntimeEnviroment = exports.RuntimeEnviroment = /*#__PURE__*/function (Runti
221
221
  RuntimeEnviroment[RuntimeEnviroment["ChaynsRuntime"] = 3] = "ChaynsRuntime";
222
222
  RuntimeEnviroment[RuntimeEnviroment["IntercomPlugin"] = 4] = "IntercomPlugin";
223
223
  RuntimeEnviroment[RuntimeEnviroment["PagemakerPlugin"] = 5] = "PagemakerPlugin";
224
+ RuntimeEnviroment[RuntimeEnviroment["Dialog"] = 6] = "Dialog";
224
225
  return RuntimeEnviroment;
225
226
  }({});
226
227
  let DeviceOs = exports.DeviceOs = /*#__PURE__*/function (DeviceOs) {
@@ -218,6 +218,7 @@ export let RuntimeEnviroment = /*#__PURE__*/function (RuntimeEnviroment) {
218
218
  RuntimeEnviroment[RuntimeEnviroment["ChaynsRuntime"] = 3] = "ChaynsRuntime";
219
219
  RuntimeEnviroment[RuntimeEnviroment["IntercomPlugin"] = 4] = "IntercomPlugin";
220
220
  RuntimeEnviroment[RuntimeEnviroment["PagemakerPlugin"] = 5] = "PagemakerPlugin";
221
+ RuntimeEnviroment[RuntimeEnviroment["Dialog"] = 6] = "Dialog";
221
222
  return RuntimeEnviroment;
222
223
  }({});
223
224
  export let DeviceOs = /*#__PURE__*/function (DeviceOs) {
@@ -155,6 +155,7 @@ export declare enum DialogButtonType {
155
155
  export type ChaynsApiUser = {
156
156
  firstName?: string;
157
157
  lastName?: string;
158
+ nickName?: string;
158
159
  gender?: Gender;
159
160
  uacGroups?: UacGroup[];
160
161
  userId?: number;
@@ -180,10 +181,15 @@ export type ChaynsApiSite = {
180
181
  originSiteId?: string;
181
182
  };
182
183
  export declare enum ScreenSize {
184
+ /** screen width smaller than or equal 556px */
183
185
  XS = 0,
186
+ /** screen width between 557px and 769px */
184
187
  SM = 1,
188
+ /** screen width between 770px and 993px */
185
189
  MD = 2,
190
+ /** screen width between 994px and 1200px */
186
191
  LG = 3,
192
+ /** screen width larger than 1200px */
187
193
  XL = 4
188
194
  }
189
195
  export type ChaynsApiDevice = {
@@ -762,7 +768,8 @@ export declare enum RuntimeEnviroment {
762
768
  ChaynsWeb = 2,
763
769
  ChaynsRuntime = 3,
764
770
  IntercomPlugin = 4,
765
- PagemakerPlugin = 5
771
+ PagemakerPlugin = 5,
772
+ Dialog = 6
766
773
  }
767
774
  export declare enum DeviceOs {
768
775
  Unknown = "unknown",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",