@skedulo/mex-types 1.17.1 → 1.19.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.
@@ -71,22 +71,34 @@ export interface ButtonGroupItemComponentModel {
71
71
  icon?: IconName;
72
72
  }
73
73
  export interface ButtonBehaviorComponentModel {
74
- type: 'custom' | 'sms' | 'phone' | 'openUrl' | 'email' | 'openSelector';
74
+ type: 'custom' | 'sms' | 'phone' | 'openUrl' | 'email' | 'openSelector' | 'routing';
75
75
  }
76
76
  export interface CustomFunctionButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
77
77
  functionExpression: DataExpressionType;
78
+ type: 'custom';
78
79
  }
79
80
  export interface PhoneButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
80
81
  phoneNumberExpression: DataExpressionType;
82
+ type: 'phone';
81
83
  }
82
84
  export interface SMSButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
83
85
  phoneNumberExpression: DataExpressionType;
86
+ type: 'sms';
84
87
  }
85
88
  export interface OpenURLButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
86
89
  urlExpression: DataExpressionType;
90
+ type: 'openUrl';
87
91
  }
88
92
  export interface EmailButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
89
93
  emailExpression: DataExpressionType;
94
+ type: 'email';
95
+ }
96
+ /**
97
+ * @version: 1.10.15
98
+ */
99
+ export interface RoutingBehaviorComponentModel extends ButtonBehaviorComponentModel {
100
+ routing: RoutingType;
101
+ type: 'routing';
90
102
  }
91
103
  export type SelectPageConfig = {
92
104
  searchBar: {
@@ -27,6 +27,7 @@ export interface TextViewComponentModel extends BaseFlatPageViewComponentModel {
27
27
  text: LocalizedKey;
28
28
  }
29
29
  export type KeyboardType = 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'number-pad' | 'decimal-pad';
30
+ export type TextEditorDataType = 'string' | 'integer' | 'decimal';
30
31
  export interface CommonEditorViewComponentModel extends BaseFlatPageViewComponentModel {
31
32
  /**
32
33
  * @label Title
@@ -86,6 +87,10 @@ export interface TextEditorViewComponentModel extends CommonEditorViewComponentM
86
87
  * ]
87
88
  */
88
89
  keyboardType?: KeyboardType;
90
+ /**
91
+ * @version 1.10.15
92
+ */
93
+ dataType?: TextEditorDataType;
89
94
  /**
90
95
  * @label Value expression
91
96
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.17.1",
3
+ "version": "1.19.0",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },