@engyalo/workflow-types 1.0.101 → 1.0.102-release-1-0-102-66ea8ef

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.
@@ -84,4 +84,7 @@ export declare enum IntentsResponseError {
84
84
  NOT_FOUND_JOB_ERROR = "1901-404",
85
85
  DUPLOCATE_INTENT_ERROR = "1902-409"
86
86
  }
87
+ export declare enum WAFlowsResponseError {
88
+ NOT_FOUND_ERROR = "2000-404"
89
+ }
87
90
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IntentsResponseError = exports.TablesResponseError = exports.VersioningResponseError = exports.TriggerResponseError = exports.ScopeResponseError = exports.ComponentResponseError = exports.ActivityTemplateResponseError = exports.ActivityResponseErrors = exports.WorkflowResponseErrors = exports.SharedResponseErrors = exports.HttpStatusCodes = void 0;
3
+ exports.WAFlowsResponseError = exports.IntentsResponseError = exports.TablesResponseError = exports.VersioningResponseError = exports.TriggerResponseError = exports.ScopeResponseError = exports.ComponentResponseError = exports.ActivityTemplateResponseError = exports.ActivityResponseErrors = exports.WorkflowResponseErrors = exports.SharedResponseErrors = exports.HttpStatusCodes = void 0;
4
4
  var HttpStatusCodes;
5
5
  (function (HttpStatusCodes) {
6
6
  HttpStatusCodes[HttpStatusCodes["OK"] = 200] = "OK";
@@ -85,4 +85,8 @@ var IntentsResponseError;
85
85
  IntentsResponseError["NOT_FOUND_JOB_ERROR"] = "1901-404";
86
86
  IntentsResponseError["DUPLOCATE_INTENT_ERROR"] = "1902-409";
87
87
  })(IntentsResponseError || (exports.IntentsResponseError = IntentsResponseError = {}));
88
+ var WAFlowsResponseError;
89
+ (function (WAFlowsResponseError) {
90
+ WAFlowsResponseError["NOT_FOUND_ERROR"] = "2000-404";
91
+ })(WAFlowsResponseError || (exports.WAFlowsResponseError = WAFlowsResponseError = {}));
88
92
  //# sourceMappingURL=response.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"response.js","sourceRoot":"","sources":["../../src/models/response.ts"],"names":[],"mappings":";;;AA0BA,IAAY,eASX;AATD,WAAY,eAAe;IAC1B,mDAAQ,CAAA;IACR,6DAAa,CAAA;IACb,qEAAiB,CAAA;IACjB,uEAAkB,CAAA;IAClB,iEAAe,CAAA;IACf,iEAAe,CAAA;IACf,+DAAc,CAAA;IACd,yFAA2B,CAAA;AAC5B,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;AAED;;;;;;;EAOE;AACF,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC/B,4DAAoC,CAAA;IACpC,uEAAuE;IACvE,6CAAqB,CAAA;IACrB,sDAA8B,CAAA;IAC9B,qDAA6B,CAAA;AAC9B,CAAC,EANW,oBAAoB,oCAApB,oBAAoB,QAM/B;AAED,IAAY,sBAQX;AARD,WAAY,sBAAsB;IACjC,sDAA4B,CAAA;IAC5B,2DAAiC,CAAA;IACjC,0DAAgC,CAAA;IAChC,0DAAgC,CAAA;IAChC,qDAA2B,CAAA;IAC3B,sDAA4B,CAAA;IAC5B,8DAAoC,CAAA;AACrC,CAAC,EARW,sBAAsB,sCAAtB,sBAAsB,QAQjC;AAED,IAAY,sBAKX;AALD,WAAY,sBAAsB;IACjC,sDAA4B,CAAA;IAC5B,2DAAiC,CAAA;IACjC,0DAAgC,CAAA;IAChC,oDAA0B,CAAA;AAC3B,CAAC,EALW,sBAAsB,sCAAtB,sBAAsB,QAKjC;AAED,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACxC,6DAA4B,CAAA;IAC5B,kEAAiC,CAAA;IACjC,uEAAsC,CAAA;AACvC,CAAC,EAJW,6BAA6B,6CAA7B,6BAA6B,QAIxC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,sDAA4B,CAAA;IAC5B,2DAAiC,CAAA;IACjC,+DAAqC,CAAA;AACtC,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC;AAED,IAAY,kBAIX;AA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BAAmB,QAK9B;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC/B,oDAA4B,CAAA;IAC5B,wDAAgC,CAAA;IAChC,2DAAmC,CAAA;AACpC,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAED,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC/B,oDAA4B,CAAA;AAC7B,CAAC,EAFW,oBAAoB,oCAApB,oBAAoB,QAE/B"}
package/package.json CHANGED
@@ -1,102 +1,102 @@
1
1
  {
2
- "name": "@engyalo/workflow-types",
3
- "version": "1.0.101",
4
- "description": "",
5
- "main": "./lib/index.js",
6
- "types": "./lib/index.d.ts",
7
- "scripts": {
8
- "lint": "eslint . --ext ts --fix",
9
- "tsc": "tsc --build",
10
- "clearjs": "npx rimraf ./lib",
11
- "pretest": "npx typescript-json-schema src/models/workflows.ts \"*\" --strictNullChecks --noExtraProps --required --id workflowsSchema -o tests/schemas/workflows.schema.json",
12
- "test": "jest",
13
- "prebuild": "npm run clearjs",
14
- "build": "npm run tsc"
15
- },
16
- "repository": {
17
- "type": "git",
18
- "url": "git@github.com:yalochat/worfklows-types.git"
19
- },
20
- "directories": {
21
- "lib": "lib"
22
- },
23
- "files": [
24
- "lib"
25
- ],
26
- "keywords": [
27
- "workflow",
28
- "types"
29
- ],
30
- "author": "Engineering @ Yalo",
31
- "license": "MIT",
32
- "eslintConfig": {
33
- "extends": [
34
- "plugin:@typescript-eslint/recommended",
35
- "plugin:prettier/recommended"
36
- ],
37
- "parser": "@typescript-eslint/parser",
38
- "rules": {
39
- "quotes": [
40
- 2,
41
- "single",
42
- "avoid-escape"
43
- ],
44
- "no-debugger": "error",
45
- "no-process-env": "off",
46
- "import/prefer-default-export": "off",
47
- "@typescript-eslint/explicit-function-return-type": "off",
48
- "@typescript-eslint/no-unused-vars": [
49
- "error",
50
- {
51
- "vars": "all",
52
- "args": "after-used",
53
- "ignoreRestSiblings": true
54
- }
55
- ],
56
- "new-cap": [
57
- "error",
58
- {
59
- "capIsNewExceptions": [
60
- "Injectable",
61
- "Inject"
62
- ]
63
- }
64
- ],
65
- "prefer-destructuring": [
66
- "error",
67
- {
68
- "VariableDeclarator": {
69
- "array": false,
70
- "object": true
71
- },
72
- "AssignmentExpression": {
73
- "array": true,
74
- "object": false
75
- }
76
- },
77
- {
78
- "enforceForRenamedProperties": false
79
- }
80
- ]
81
- }
82
- },
83
- "devDependencies": {
84
- "@types/jest": "29.5.8",
85
- "@types/jest-json-schema": "6.1.4",
86
- "@types/node": "^16.18.61",
87
- "@typescript-eslint/eslint-plugin": "6.10.0",
88
- "@typescript-eslint/parser": "6.10.0",
89
- "eslint": "8.53.0",
90
- "eslint-config-prettier": "9.0.0",
91
- "eslint-plugin-import": "2.29.0",
92
- "eslint-plugin-prettier": "5.0.1",
93
- "jest": "29.7.0",
94
- "jest-json-schema": "6.1.0",
95
- "prettier": "3.0.3",
96
- "ts-jest": "29.1.1",
97
- "typescript": "5.2.2"
98
- },
99
- "dependencies": {
100
- "zod": "3.22.4"
101
- }
102
- }
2
+ "name": "@engyalo/workflow-types",
3
+ "version": "1.0.102-release-1-0-102-66ea8ef",
4
+ "description": "",
5
+ "main": "./lib/index.js",
6
+ "types": "./lib/index.d.ts",
7
+ "scripts": {
8
+ "lint": "eslint . --ext ts --fix",
9
+ "tsc": "tsc --build",
10
+ "clearjs": "npx rimraf ./lib",
11
+ "pretest": "npx typescript-json-schema src/models/workflows.ts \"*\" --strictNullChecks --noExtraProps --required --id workflowsSchema -o tests/schemas/workflows.schema.json",
12
+ "test": "jest",
13
+ "prebuild": "npm run clearjs",
14
+ "build": "npm run tsc"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git@github.com:yalochat/worfklows-types.git"
19
+ },
20
+ "directories": {
21
+ "lib": "lib"
22
+ },
23
+ "files": [
24
+ "lib"
25
+ ],
26
+ "keywords": [
27
+ "workflow",
28
+ "types"
29
+ ],
30
+ "author": "Engineering @ Yalo",
31
+ "license": "MIT",
32
+ "eslintConfig": {
33
+ "extends": [
34
+ "plugin:@typescript-eslint/recommended",
35
+ "plugin:prettier/recommended"
36
+ ],
37
+ "parser": "@typescript-eslint/parser",
38
+ "rules": {
39
+ "quotes": [
40
+ 2,
41
+ "single",
42
+ "avoid-escape"
43
+ ],
44
+ "no-debugger": "error",
45
+ "no-process-env": "off",
46
+ "import/prefer-default-export": "off",
47
+ "@typescript-eslint/explicit-function-return-type": "off",
48
+ "@typescript-eslint/no-unused-vars": [
49
+ "error",
50
+ {
51
+ "vars": "all",
52
+ "args": "after-used",
53
+ "ignoreRestSiblings": true
54
+ }
55
+ ],
56
+ "new-cap": [
57
+ "error",
58
+ {
59
+ "capIsNewExceptions": [
60
+ "Injectable",
61
+ "Inject"
62
+ ]
63
+ }
64
+ ],
65
+ "prefer-destructuring": [
66
+ "error",
67
+ {
68
+ "VariableDeclarator": {
69
+ "array": false,
70
+ "object": true
71
+ },
72
+ "AssignmentExpression": {
73
+ "array": true,
74
+ "object": false
75
+ }
76
+ },
77
+ {
78
+ "enforceForRenamedProperties": false
79
+ }
80
+ ]
81
+ }
82
+ },
83
+ "devDependencies": {
84
+ "@types/jest": "29.5.8",
85
+ "@types/jest-json-schema": "6.1.4",
86
+ "@types/node": "^16.18.61",
87
+ "@typescript-eslint/eslint-plugin": "6.10.0",
88
+ "@typescript-eslint/parser": "6.10.0",
89
+ "eslint": "8.53.0",
90
+ "eslint-config-prettier": "9.0.0",
91
+ "eslint-plugin-import": "2.29.0",
92
+ "eslint-plugin-prettier": "5.0.1",
93
+ "jest": "29.7.0",
94
+ "jest-json-schema": "6.1.0",
95
+ "prettier": "3.0.3",
96
+ "ts-jest": "29.1.1",
97
+ "typescript": "5.2.2"
98
+ },
99
+ "dependencies": {
100
+ "zod": "3.22.4"
101
+ }
102
+ }