@wix/workflows 1.0.19 → 1.0.20
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.
- package/build/cjs/context.d.ts +3 -3
- package/build/cjs/context.js +3 -3
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +3 -3
- package/build/cjs/index.js +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -3
- package/build/cjs/meta.js +3 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +3 -3
- package/build/es/context.js +3 -3
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +3 -3
- package/build/es/index.js +3 -3
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +3 -3
- package/build/es/meta.js +3 -3
- package/build/es/meta.js.map +1 -1
- package/package.json +13 -9
- package/build/cjs/index.typings.d.ts +0 -3
- package/build/cjs/index.typings.js +0 -30
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/workflows-v1-card.context.d.ts +0 -10
- package/build/cjs/src/workflows-v1-card.context.js +0 -93
- package/build/cjs/src/workflows-v1-card.context.js.map +0 -1
- package/build/cjs/src/workflows-v1-card.http.d.ts +0 -114
- package/build/cjs/src/workflows-v1-card.http.js +0 -356
- package/build/cjs/src/workflows-v1-card.http.js.map +0 -1
- package/build/cjs/src/workflows-v1-card.meta.d.ts +0 -37
- package/build/cjs/src/workflows-v1-card.meta.js +0 -180
- package/build/cjs/src/workflows-v1-card.meta.js.map +0 -1
- package/build/cjs/src/workflows-v1-card.public.d.ts +0 -24
- package/build/cjs/src/workflows-v1-card.public.js +0 -57
- package/build/cjs/src/workflows-v1-card.public.js.map +0 -1
- package/build/cjs/src/workflows-v1-card.types.d.ts +0 -337
- package/build/cjs/src/workflows-v1-card.types.js +0 -14
- package/build/cjs/src/workflows-v1-card.types.js.map +0 -1
- package/build/cjs/src/workflows-v1-card.universal.d.ts +0 -569
- package/build/cjs/src/workflows-v1-card.universal.js +0 -605
- package/build/cjs/src/workflows-v1-card.universal.js.map +0 -1
- package/build/cjs/src/workflows-v1-phase.context.d.ts +0 -8
- package/build/cjs/src/workflows-v1-phase.context.js +0 -71
- package/build/cjs/src/workflows-v1-phase.context.js.map +0 -1
- package/build/cjs/src/workflows-v1-phase.http.d.ts +0 -76
- package/build/cjs/src/workflows-v1-phase.http.js +0 -259
- package/build/cjs/src/workflows-v1-phase.http.js.map +0 -1
- package/build/cjs/src/workflows-v1-phase.meta.d.ts +0 -31
- package/build/cjs/src/workflows-v1-phase.meta.js +0 -142
- package/build/cjs/src/workflows-v1-phase.meta.js.map +0 -1
- package/build/cjs/src/workflows-v1-phase.public.d.ts +0 -27
- package/build/cjs/src/workflows-v1-phase.public.js +0 -45
- package/build/cjs/src/workflows-v1-phase.public.js.map +0 -1
- package/build/cjs/src/workflows-v1-phase.types.d.ts +0 -274
- package/build/cjs/src/workflows-v1-phase.types.js +0 -14
- package/build/cjs/src/workflows-v1-phase.types.js.map +0 -1
- package/build/cjs/src/workflows-v1-phase.universal.d.ts +0 -429
- package/build/cjs/src/workflows-v1-phase.universal.js +0 -459
- package/build/cjs/src/workflows-v1-phase.universal.js.map +0 -1
- package/build/cjs/src/workflows-v1-workflow.context.d.ts +0 -7
- package/build/cjs/src/workflows-v1-workflow.context.js +0 -60
- package/build/cjs/src/workflows-v1-workflow.context.js.map +0 -1
- package/build/cjs/src/workflows-v1-workflow.http.d.ts +0 -55
- package/build/cjs/src/workflows-v1-workflow.http.js +0 -258
- package/build/cjs/src/workflows-v1-workflow.http.js.map +0 -1
- package/build/cjs/src/workflows-v1-workflow.meta.d.ts +0 -23
- package/build/cjs/src/workflows-v1-workflow.meta.js +0 -123
- package/build/cjs/src/workflows-v1-workflow.meta.js.map +0 -1
- package/build/cjs/src/workflows-v1-workflow.public.d.ts +0 -46
- package/build/cjs/src/workflows-v1-workflow.public.js +0 -39
- package/build/cjs/src/workflows-v1-workflow.public.js.map +0 -1
- package/build/cjs/src/workflows-v1-workflow.types.d.ts +0 -319
- package/build/cjs/src/workflows-v1-workflow.types.js +0 -14
- package/build/cjs/src/workflows-v1-workflow.types.js.map +0 -1
- package/build/cjs/src/workflows-v1-workflow.universal.d.ts +0 -427
- package/build/cjs/src/workflows-v1-workflow.universal.js +0 -366
- package/build/cjs/src/workflows-v1-workflow.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -3
- package/build/es/index.typings.js +0 -4
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/workflows-v1-card.context.d.ts +0 -10
- package/build/es/src/workflows-v1-card.context.js +0 -82
- package/build/es/src/workflows-v1-card.context.js.map +0 -1
- package/build/es/src/workflows-v1-card.http.d.ts +0 -114
- package/build/es/src/workflows-v1-card.http.js +0 -345
- package/build/es/src/workflows-v1-card.http.js.map +0 -1
- package/build/es/src/workflows-v1-card.meta.d.ts +0 -37
- package/build/es/src/workflows-v1-card.meta.js +0 -146
- package/build/es/src/workflows-v1-card.meta.js.map +0 -1
- package/build/es/src/workflows-v1-card.public.d.ts +0 -24
- package/build/es/src/workflows-v1-card.public.js +0 -44
- package/build/es/src/workflows-v1-card.public.js.map +0 -1
- package/build/es/src/workflows-v1-card.types.d.ts +0 -337
- package/build/es/src/workflows-v1-card.types.js +0 -11
- package/build/es/src/workflows-v1-card.types.js.map +0 -1
- package/build/es/src/workflows-v1-card.universal.d.ts +0 -569
- package/build/es/src/workflows-v1-card.universal.js +0 -571
- package/build/es/src/workflows-v1-card.universal.js.map +0 -1
- package/build/es/src/workflows-v1-phase.context.d.ts +0 -8
- package/build/es/src/workflows-v1-phase.context.js +0 -62
- package/build/es/src/workflows-v1-phase.context.js.map +0 -1
- package/build/es/src/workflows-v1-phase.http.d.ts +0 -76
- package/build/es/src/workflows-v1-phase.http.js +0 -250
- package/build/es/src/workflows-v1-phase.http.js.map +0 -1
- package/build/es/src/workflows-v1-phase.meta.d.ts +0 -31
- package/build/es/src/workflows-v1-phase.meta.js +0 -110
- package/build/es/src/workflows-v1-phase.meta.js.map +0 -1
- package/build/es/src/workflows-v1-phase.public.d.ts +0 -27
- package/build/es/src/workflows-v1-phase.public.js +0 -34
- package/build/es/src/workflows-v1-phase.public.js.map +0 -1
- package/build/es/src/workflows-v1-phase.types.d.ts +0 -274
- package/build/es/src/workflows-v1-phase.types.js +0 -11
- package/build/es/src/workflows-v1-phase.types.js.map +0 -1
- package/build/es/src/workflows-v1-phase.universal.d.ts +0 -429
- package/build/es/src/workflows-v1-phase.universal.js +0 -427
- package/build/es/src/workflows-v1-phase.universal.js.map +0 -1
- package/build/es/src/workflows-v1-workflow.context.d.ts +0 -7
- package/build/es/src/workflows-v1-workflow.context.js +0 -52
- package/build/es/src/workflows-v1-workflow.context.js.map +0 -1
- package/build/es/src/workflows-v1-workflow.http.d.ts +0 -55
- package/build/es/src/workflows-v1-workflow.http.js +0 -250
- package/build/es/src/workflows-v1-workflow.http.js.map +0 -1
- package/build/es/src/workflows-v1-workflow.meta.d.ts +0 -23
- package/build/es/src/workflows-v1-workflow.meta.js +0 -92
- package/build/es/src/workflows-v1-workflow.meta.js.map +0 -1
- package/build/es/src/workflows-v1-workflow.public.d.ts +0 -46
- package/build/es/src/workflows-v1-workflow.public.js +0 -29
- package/build/es/src/workflows-v1-workflow.public.js.map +0 -1
- package/build/es/src/workflows-v1-workflow.types.d.ts +0 -319
- package/build/es/src/workflows-v1-workflow.types.js +0 -11
- package/build/es/src/workflows-v1-workflow.types.js.map +0 -1
- package/build/es/src/workflows-v1-workflow.universal.d.ts +0 -427
- package/build/es/src/workflows-v1-workflow.universal.js +0 -335
- package/build/es/src/workflows-v1-workflow.universal.js.map +0 -1
package/build/cjs/context.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards/context';
|
|
2
|
+
export * as phases from '@wix/workflows_phases/context';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows/context';
|
package/build/cjs/context.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.workflows = exports.phases = exports.cards = void 0;
|
|
27
|
-
exports.cards = __importStar(require("
|
|
28
|
-
exports.phases = __importStar(require("
|
|
29
|
-
exports.workflows = __importStar(require("
|
|
27
|
+
exports.cards = __importStar(require("@wix/workflows_cards/context"));
|
|
28
|
+
exports.phases = __importStar(require("@wix/workflows_phases/context"));
|
|
29
|
+
exports.workflows = __importStar(require("@wix/workflows_workflows/context"));
|
|
30
30
|
//# sourceMappingURL=context.js.map
|
package/build/cjs/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAsD;AACtD,wEAAwD;AACxD,8EAA8D"}
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards';
|
|
2
|
+
export * as phases from '@wix/workflows_phases';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows';
|
package/build/cjs/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.workflows = exports.phases = exports.cards = void 0;
|
|
27
|
-
exports.cards = __importStar(require("
|
|
28
|
-
exports.phases = __importStar(require("
|
|
29
|
-
exports.workflows = __importStar(require("
|
|
27
|
+
exports.cards = __importStar(require("@wix/workflows_cards"));
|
|
28
|
+
exports.phases = __importStar(require("@wix/workflows_phases"));
|
|
29
|
+
exports.workflows = __importStar(require("@wix/workflows_workflows"));
|
|
30
30
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA8C;AAC9C,gEAAgD;AAChD,sEAAsD"}
|
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards/meta';
|
|
2
|
+
export * as phases from '@wix/workflows_phases/meta';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows/meta';
|
package/build/cjs/meta.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.workflows = exports.phases = exports.cards = void 0;
|
|
27
|
-
exports.cards = __importStar(require("
|
|
28
|
-
exports.phases = __importStar(require("
|
|
29
|
-
exports.workflows = __importStar(require("
|
|
27
|
+
exports.cards = __importStar(require("@wix/workflows_cards/meta"));
|
|
28
|
+
exports.phases = __importStar(require("@wix/workflows_phases/meta"));
|
|
29
|
+
exports.workflows = __importStar(require("@wix/workflows_workflows/meta"));
|
|
30
30
|
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mEAAmD;AACnD,qEAAqD;AACrD,2EAA2D"}
|
package/build/es/context.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards/context';
|
|
2
|
+
export * as phases from '@wix/workflows_phases/context';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows/context';
|
package/build/es/context.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards/context';
|
|
2
|
+
export * as phases from '@wix/workflows_phases/context';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows/context';
|
|
4
4
|
//# sourceMappingURL=context.js.map
|
package/build/es/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAC"}
|
package/build/es/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards';
|
|
2
|
+
export * as phases from '@wix/workflows_phases';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows';
|
package/build/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards';
|
|
2
|
+
export * as phases from '@wix/workflows_phases';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC"}
|
package/build/es/meta.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards/meta';
|
|
2
|
+
export * as phases from '@wix/workflows_phases/meta';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows/meta';
|
package/build/es/meta.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as cards from '
|
|
2
|
-
export * as phases from '
|
|
3
|
-
export * as workflows from '
|
|
1
|
+
export * as cards from '@wix/workflows_cards/meta';
|
|
2
|
+
export * as phases from '@wix/workflows_phases/meta';
|
|
3
|
+
export * as workflows from '@wix/workflows_workflows/meta';
|
|
4
4
|
//# sourceMappingURL=meta.js.map
|
package/build/es/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/workflows",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -16,14 +16,13 @@
|
|
|
16
16
|
"context"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@wix/
|
|
20
|
-
"@wix/
|
|
21
|
-
"@wix/
|
|
22
|
-
"@wix/motion-edm-autogen-query-wrapper": "^1.0.37"
|
|
19
|
+
"@wix/workflows_cards": "1.0.5",
|
|
20
|
+
"@wix/workflows_phases": "1.0.5",
|
|
21
|
+
"@wix/workflows_workflows": "1.0.5"
|
|
23
22
|
},
|
|
24
23
|
"devDependencies": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
24
|
+
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
25
|
+
"typescript": "^5.3.2"
|
|
27
26
|
},
|
|
28
27
|
"scripts": {
|
|
29
28
|
"build": "tsc -b tsconfig.json tsconfig.esm.json",
|
|
@@ -31,9 +30,14 @@
|
|
|
31
30
|
},
|
|
32
31
|
"wix": {
|
|
33
32
|
"artifact": {
|
|
33
|
+
"groupId": "com.wixpress.public-sdk-autogen",
|
|
34
34
|
"artifactId": "workflows-public-sdk-autogen",
|
|
35
|
-
"
|
|
35
|
+
"isRootPublicSdk": true
|
|
36
|
+
},
|
|
37
|
+
"sdkDependency": {
|
|
38
|
+
"fqdnNamespace": "",
|
|
39
|
+
"fqdn": ""
|
|
36
40
|
}
|
|
37
41
|
},
|
|
38
|
-
"falconPackageHash": "
|
|
42
|
+
"falconPackageHash": "055cf50d9553bd94656efeb5639905e06503884002e52f1af31feef2"
|
|
39
43
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.workflows = exports.phases = exports.cards = void 0;
|
|
27
|
-
exports.cards = __importStar(require("./src/workflows-v1-card.universal"));
|
|
28
|
-
exports.phases = __importStar(require("./src/workflows-v1-phase.universal"));
|
|
29
|
-
exports.workflows = __importStar(require("./src/workflows-v1-workflow.universal"));
|
|
30
|
-
//# sourceMappingURL=index.typings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2EAA2D;AAC3D,6EAA6D;AAC7D,mFAAmE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { listCards as publicListCards, getCard as publicGetCard, updateCard as publicUpdateCard, createCard as publicCreateCard, deleteCard as publicDeleteCard, moveCard as publicMoveCard, restoreCard as publicRestoreCard, archiveCard as publicArchiveCard } from './workflows-v1-card.public';
|
|
2
|
-
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
-
export declare const listCards: BuildRESTFunction<typeof publicListCards>;
|
|
4
|
-
export declare const getCard: BuildRESTFunction<typeof publicGetCard>;
|
|
5
|
-
export declare const updateCard: BuildRESTFunction<typeof publicUpdateCard>;
|
|
6
|
-
export declare const createCard: BuildRESTFunction<typeof publicCreateCard>;
|
|
7
|
-
export declare const deleteCard: BuildRESTFunction<typeof publicDeleteCard>;
|
|
8
|
-
export declare const moveCard: BuildRESTFunction<typeof publicMoveCard>;
|
|
9
|
-
export declare const restoreCard: BuildRESTFunction<typeof publicRestoreCard>;
|
|
10
|
-
export declare const archiveCard: BuildRESTFunction<typeof publicArchiveCard>;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.archiveCard = exports.restoreCard = exports.moveCard = exports.deleteCard = exports.createCard = exports.updateCard = exports.getCard = exports.listCards = void 0;
|
|
4
|
-
const workflows_v1_card_public_1 = require("./workflows-v1-card.public");
|
|
5
|
-
const listCards = (...args) => {
|
|
6
|
-
// @ts-expect-error
|
|
7
|
-
if (!globalThis.__wix_context__) {
|
|
8
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
-
}
|
|
10
|
-
// @ts-expect-error
|
|
11
|
-
return globalThis.__wix_context__
|
|
12
|
-
.initWixModules(workflows_v1_card_public_1.listCards)
|
|
13
|
-
.apply(undefined, args);
|
|
14
|
-
};
|
|
15
|
-
exports.listCards = listCards;
|
|
16
|
-
const getCard = (...args) => {
|
|
17
|
-
// @ts-expect-error
|
|
18
|
-
if (!globalThis.__wix_context__) {
|
|
19
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
-
}
|
|
21
|
-
// @ts-expect-error
|
|
22
|
-
return globalThis.__wix_context__
|
|
23
|
-
.initWixModules(workflows_v1_card_public_1.getCard)
|
|
24
|
-
.apply(undefined, args);
|
|
25
|
-
};
|
|
26
|
-
exports.getCard = getCard;
|
|
27
|
-
const updateCard = (...args) => {
|
|
28
|
-
// @ts-expect-error
|
|
29
|
-
if (!globalThis.__wix_context__) {
|
|
30
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
-
}
|
|
32
|
-
// @ts-expect-error
|
|
33
|
-
return globalThis.__wix_context__
|
|
34
|
-
.initWixModules(workflows_v1_card_public_1.updateCard)
|
|
35
|
-
.apply(undefined, args);
|
|
36
|
-
};
|
|
37
|
-
exports.updateCard = updateCard;
|
|
38
|
-
const createCard = (...args) => {
|
|
39
|
-
// @ts-expect-error
|
|
40
|
-
if (!globalThis.__wix_context__) {
|
|
41
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
-
}
|
|
43
|
-
// @ts-expect-error
|
|
44
|
-
return globalThis.__wix_context__
|
|
45
|
-
.initWixModules(workflows_v1_card_public_1.createCard)
|
|
46
|
-
.apply(undefined, args);
|
|
47
|
-
};
|
|
48
|
-
exports.createCard = createCard;
|
|
49
|
-
const deleteCard = (...args) => {
|
|
50
|
-
// @ts-expect-error
|
|
51
|
-
if (!globalThis.__wix_context__) {
|
|
52
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
53
|
-
}
|
|
54
|
-
// @ts-expect-error
|
|
55
|
-
return globalThis.__wix_context__
|
|
56
|
-
.initWixModules(workflows_v1_card_public_1.deleteCard)
|
|
57
|
-
.apply(undefined, args);
|
|
58
|
-
};
|
|
59
|
-
exports.deleteCard = deleteCard;
|
|
60
|
-
const moveCard = (...args) => {
|
|
61
|
-
// @ts-expect-error
|
|
62
|
-
if (!globalThis.__wix_context__) {
|
|
63
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
64
|
-
}
|
|
65
|
-
// @ts-expect-error
|
|
66
|
-
return globalThis.__wix_context__
|
|
67
|
-
.initWixModules(workflows_v1_card_public_1.moveCard)
|
|
68
|
-
.apply(undefined, args);
|
|
69
|
-
};
|
|
70
|
-
exports.moveCard = moveCard;
|
|
71
|
-
const restoreCard = (...args) => {
|
|
72
|
-
// @ts-expect-error
|
|
73
|
-
if (!globalThis.__wix_context__) {
|
|
74
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
75
|
-
}
|
|
76
|
-
// @ts-expect-error
|
|
77
|
-
return globalThis.__wix_context__
|
|
78
|
-
.initWixModules(workflows_v1_card_public_1.restoreCard)
|
|
79
|
-
.apply(undefined, args);
|
|
80
|
-
};
|
|
81
|
-
exports.restoreCard = restoreCard;
|
|
82
|
-
const archiveCard = (...args) => {
|
|
83
|
-
// @ts-expect-error
|
|
84
|
-
if (!globalThis.__wix_context__) {
|
|
85
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
86
|
-
}
|
|
87
|
-
// @ts-expect-error
|
|
88
|
-
return globalThis.__wix_context__
|
|
89
|
-
.initWixModules(workflows_v1_card_public_1.archiveCard)
|
|
90
|
-
.apply(undefined, args);
|
|
91
|
-
};
|
|
92
|
-
exports.archiveCard = archiveCard;
|
|
93
|
-
//# sourceMappingURL=workflows-v1-card.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflows-v1-card.context.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.context.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
import { ArchiveCardRequest, ArchiveCardResponse, CreateCardRequest, CreateCardResponse, DeleteCardRequest, DeleteCardResponse, GetCardRequest, GetCardResponse, ListCardsRequest, ListCardsResponse, MoveCardRequest, MoveCardResponse, RestoreCardRequest, RestoreCardResponse, UpdateCardRequest, UpdateCardResponse, ListCardsResponseNonNullableFields, GetCardResponseNonNullableFields } from './workflows-v1-card.types';
|
|
3
|
-
/**
|
|
4
|
-
* Retrieves a list of a workflow's cards.
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* The `listCards()` function returns a Promise that resolves to a list of the specified workflow's cards.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* Use the `options` parameter to specify which cards to retrieve and in which order to retrieve them. Must use either `phaseId` or `fetchOnlyArchived`.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* Cards can be sorted based on their `"id"`, `"name"`, `"phaseId"`, `"createdDate"`, `"updatedDate"`, `"source"`, and `"position"`.
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* If no `limit` parameter is passed, the first 50 cards are returned.
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* Sort order defaults to by `"phaseId"` and then by `"position"` ascending.
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* This function requires you to specify the ID of a workflow. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
23
|
-
*/
|
|
24
|
-
export declare function listCards(payload: ListCardsRequest): RequestOptionsFactory<ListCardsResponse & ListCardsResponseNonNullableFields>;
|
|
25
|
-
/**
|
|
26
|
-
* Retrieves a workflow card by ID.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* The `getCard()` function returns a Promise that resolves to the card with the specified ID.
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
33
|
-
*/
|
|
34
|
-
export declare function getCard(payload: GetCardRequest): RequestOptionsFactory<GetCardResponse & GetCardResponseNonNullableFields>;
|
|
35
|
-
/**
|
|
36
|
-
* Updates an existing workflow card.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* The `updateCard()` function returns a Promise that resolves when the card has been updated with the specified values.
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* `contactId` is not a required field, but if the parameter is not passed, the field will default to empty and the card will not be associated with any contact.
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
46
|
-
*/
|
|
47
|
-
export declare function updateCard(payload: UpdateCardRequest): RequestOptionsFactory<UpdateCardResponse>;
|
|
48
|
-
/**
|
|
49
|
-
* Creates a new workflow card.
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* The `createCard()` function returns a Promise that resolves to the created card's ID when the card is created in the specified workflow phase.
|
|
53
|
-
*
|
|
54
|
-
* Pass a value for the `position` parameter to specify the newly created card's position within the specified phase. Positions are zero-based, meaning the first position is `0`.
|
|
55
|
-
*
|
|
56
|
-
* When omitted, the newly created card is added to the specified phase as the top card within the phase.
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* This function requires you to specify the ID of a workflow and phase. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
60
|
-
*
|
|
61
|
-
* > **Note:**
|
|
62
|
-
* > Each workflow is limited to 5,000 cards.
|
|
63
|
-
* > If this limit is reached, `createCard()` throws an error.
|
|
64
|
-
* > [Archive cards](#archivecard) when they're no longer needed
|
|
65
|
-
* > to reduce card count and avoid hitting the limit.
|
|
66
|
-
*/
|
|
67
|
-
export declare function createCard(payload: CreateCardRequest): RequestOptionsFactory<CreateCardResponse>;
|
|
68
|
-
/**
|
|
69
|
-
* Deletes a workflow card by ID.
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* The `deleteCard()` function returns a Promise when the specified card has been deleted.
|
|
73
|
-
*
|
|
74
|
-
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
75
|
-
*/
|
|
76
|
-
export declare function deleteCard(payload: DeleteCardRequest): RequestOptionsFactory<DeleteCardResponse>;
|
|
77
|
-
/**
|
|
78
|
-
* Moves a card to a new position within a workflow.
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* The `moveCard()` function returns a Promise when the specified card has been moved to the new position.
|
|
82
|
-
*
|
|
83
|
-
* Use the `options` parameter to specify the phase and position within that phase to move the card to. Positions are zero-based, meaning the first position is `0`.
|
|
84
|
-
*
|
|
85
|
-
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
86
|
-
*/
|
|
87
|
-
export declare function moveCard(payload: MoveCardRequest): RequestOptionsFactory<MoveCardResponse>;
|
|
88
|
-
/**
|
|
89
|
-
* Restores an archived workflow card.
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* The `restoreCard()` function returns a Promise that resolves when the archived card has been restored.
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* > **Note:**
|
|
99
|
-
* > Each workflow is limited to 5,000 cards.
|
|
100
|
-
* > If this limit is reached, `createCard()` throws an error.
|
|
101
|
-
* > [Archive cards](#archivecard) when they're no longer needed
|
|
102
|
-
* > to reduce card count and avoid hitting the limit.
|
|
103
|
-
*/
|
|
104
|
-
export declare function restoreCard(payload: RestoreCardRequest): RequestOptionsFactory<RestoreCardResponse>;
|
|
105
|
-
/**
|
|
106
|
-
* Archives a workflow card.
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* The `archiveCard()` function returns a Promise that resolves when the card has been archived.
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).
|
|
113
|
-
*/
|
|
114
|
-
export declare function archiveCard(payload: ArchiveCardRequest): RequestOptionsFactory<ArchiveCardResponse>;
|