otomato-sdk 2.0.318 → 2.0.320

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.
@@ -361,7 +361,11 @@ export const TRIGGERS = {
361
361
  "type": "string",
362
362
  "description": "The format of the timestamp",
363
363
  "mandatory": true,
364
- "category": 0
364
+ "category": 0,
365
+ "enum": [
366
+ "date",
367
+ "milliseconds"
368
+ ]
365
369
  },
366
370
  ],
367
371
  "blockId": 78,
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.318';
1
+ export const SDK_VERSION = '2.0.320';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.318";
1
+ export declare const SDK_VERSION = "2.0.320";
2
2
  export declare function compareVersions(v1: string, v2: string): number;
@@ -6,4 +6,5 @@ export interface Parameter {
6
6
  value?: any;
7
7
  mandatory?: boolean;
8
8
  hideInUI?: boolean;
9
+ enum?: any;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otomato-sdk",
3
- "version": "2.0.318",
3
+ "version": "2.0.320",
4
4
  "description": "An SDK for building and managing automations on Otomato",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/types/src/index.d.ts",