@wix/workflows 1.0.0 → 1.0.2
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/src/workflows-v1-card.http.d.ts +87 -57
- package/build/cjs/src/workflows-v1-card.http.js +111 -57
- package/build/cjs/src/workflows-v1-card.http.js.map +1 -1
- package/build/cjs/src/workflows-v1-card.public.d.ts +1 -0
- package/build/cjs/src/workflows-v1-card.public.js +7 -1
- package/build/cjs/src/workflows-v1-card.public.js.map +1 -1
- package/build/cjs/src/workflows-v1-card.types.d.ts +1 -1
- package/build/cjs/src/workflows-v1-card.universal.d.ts +114 -64
- package/build/cjs/src/workflows-v1-card.universal.js +159 -64
- package/build/cjs/src/workflows-v1-card.universal.js.map +1 -1
- package/build/es/src/workflows-v1-card.http.d.ts +87 -57
- package/build/es/src/workflows-v1-card.http.js +109 -56
- package/build/es/src/workflows-v1-card.http.js.map +1 -1
- package/build/es/src/workflows-v1-card.public.d.ts +1 -0
- package/build/es/src/workflows-v1-card.public.js +6 -1
- package/build/es/src/workflows-v1-card.public.js.map +1 -1
- package/build/es/src/workflows-v1-card.types.d.ts +1 -1
- package/build/es/src/workflows-v1-card.universal.d.ts +114 -64
- package/build/es/src/workflows-v1-card.universal.js +157 -63
- package/build/es/src/workflows-v1-card.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,92 +1,122 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
import { CreateCardRequest, CreateCardResponse, DeleteCardRequest, DeleteCardResponse, GetCardRequest, GetCardResponse, ListCardsRequest, ListCardsResponse, MoveCardRequest, MoveCardResponse, QueryCardsRequest, QueryCardsResponse, RestoreCardRequest, RestoreCardResponse, UpdateCardRequest, UpdateCardResponse } from './workflows-v1-card.types';
|
|
2
|
+
import { ArchiveCardRequest, ArchiveCardResponse, CreateCardRequest, CreateCardResponse, DeleteCardRequest, DeleteCardResponse, GetCardRequest, GetCardResponse, ListCardsRequest, ListCardsResponse, MoveCardRequest, MoveCardResponse, QueryCardsRequest, QueryCardsResponse, RestoreCardRequest, RestoreCardResponse, UpdateCardRequest, UpdateCardResponse } from './workflows-v1-card.types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* ** cardInfo.name - Text
|
|
10
|
-
* ** cardInfo.source - Text
|
|
11
|
-
* ** cardInfo.position - Number
|
|
12
|
-
* ** cardInfo.createdAt - Date
|
|
13
|
-
* ** cardInfo.updatedAt - Date
|
|
14
|
-
* ** cardInfo.primaryAttachment.contactId - Guid
|
|
15
|
-
* ** cardInfo.visibility - Text (Visible / Archived)
|
|
4
|
+
* The `queryCards()` function builds a query to retrieve a list of contacts and returns a `CardsQueryBuilder` object.
|
|
5
|
+
*
|
|
6
|
+
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
7
|
+
*
|
|
8
|
+
* You can refine the query by chaining `CardsQueryBuilder` functions onto the query. `CardsQueryBuilder` functions enable you to control the results `queryCards()` returns.
|
|
16
9
|
*/
|
|
17
10
|
export declare function queryCards(payload: QueryCardsRequest): RequestOptionsFactory<QueryCardsResponse>;
|
|
18
11
|
/**
|
|
19
|
-
* Retrieves a list of
|
|
12
|
+
* Retrieves a list of a workflow's cards.
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* The `listCards()` function returns a Promise that resolves to a list of the specified workflow's cards.
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* Use the `options` parameter to specify which cards to retrieve and in which order to retrieve them. Must use either `phaseId` or `fetchOnlyArchived`.
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* Cards can be sorted based on their `"id"`, `"name"`, `"phaseId"`, `"createdDate"`, `"updatedDate"`, `"source"`, and `"position"`.
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* If no `limit` parameter is passed, the first 50 cards are returned.
|
|
20
25
|
*
|
|
21
|
-
*
|
|
26
|
+
*
|
|
27
|
+
* Sort order defaults to by `"phaseId"` and then by `"position"` ascending.
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* This function requires you to specify the ID of a workflow. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
22
31
|
*/
|
|
23
32
|
export declare function listCards(payload: ListCardsRequest): RequestOptionsFactory<ListCardsResponse>;
|
|
24
33
|
/**
|
|
25
|
-
* Retrieves a card.
|
|
34
|
+
* Retrieves a workflow card by ID.
|
|
35
|
+
*
|
|
36
|
+
*
|
|
37
|
+
* The `getCard()` function returns a Promise that resolves to the card with the specified ID.
|
|
26
38
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* [Restore Card](https://dev.wix.com/api/rest/workflows/workflows/cards/restore-card).
|
|
39
|
+
*
|
|
40
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
30
41
|
*/
|
|
31
42
|
export declare function getCard(payload: GetCardRequest): RequestOptionsFactory<GetCardResponse>;
|
|
32
43
|
/**
|
|
33
|
-
* Updates
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
44
|
+
* Updates an existing workflow card.
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* The `updateCardFields()` function returns a Promise that resolves when the card has been updated with the specified values.
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* `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.
|
|
51
|
+
*
|
|
52
|
+
*
|
|
53
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
41
54
|
*/
|
|
42
55
|
export declare function updateCard(payload: UpdateCardRequest): RequestOptionsFactory<UpdateCardResponse>;
|
|
43
56
|
/**
|
|
44
|
-
* Creates a new card
|
|
57
|
+
* Creates a new workflow card.
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
* The `createCard()` function returns a Promise that resolves to the created card's ID when the card is created in the specified workflow phase.
|
|
61
|
+
*
|
|
62
|
+
* 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`.
|
|
45
63
|
*
|
|
46
|
-
* When
|
|
64
|
+
* When omitted, the newly created card is added to the specified phase as the top card within the phase.
|
|
47
65
|
*
|
|
48
|
-
* Cards are displayed according to their position from top to bottom,
|
|
49
|
-
* starting from `0` and incrementing by 1.
|
|
50
|
-
* If you create or move a card to an existing position,
|
|
51
|
-
* the card in that position and any subsequent cards
|
|
52
|
-
* are shifted down by 1.
|
|
53
66
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
67
|
+
* This function requires you to specify the ID of a workflow and phase. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
68
|
+
*
|
|
69
|
+
* > **Note:**
|
|
70
|
+
* > Each workflow is limited to 5,000 cards.
|
|
71
|
+
* > If this limit is reached, `createCard()` throws an error.
|
|
72
|
+
* > [Archive cards](#archivecard) when they're no longer needed
|
|
73
|
+
* > to reduce card count and avoid hitting the limit.
|
|
56
74
|
*/
|
|
57
75
|
export declare function createCard(payload: CreateCardRequest): RequestOptionsFactory<CreateCardResponse>;
|
|
58
76
|
/**
|
|
59
|
-
* Deletes a card
|
|
77
|
+
* Deletes a workflow card by ID.
|
|
78
|
+
*
|
|
60
79
|
*
|
|
61
|
-
*
|
|
62
|
-
* To keep the card available for site contributors, use
|
|
63
|
-
* [Archive Card](https://dev.wix.com/api/rest/workflows/workflows/cards/archive-card)
|
|
64
|
-
* instead.
|
|
80
|
+
* The `deleteCard()` function returns a Promise when the specified card has been deleted.
|
|
65
81
|
*
|
|
66
|
-
*
|
|
67
|
-
* its attached contact can be attached to another card in an active phase.
|
|
82
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
68
83
|
*/
|
|
69
84
|
export declare function deleteCard(payload: DeleteCardRequest): RequestOptionsFactory<DeleteCardResponse>;
|
|
70
85
|
/**
|
|
71
|
-
* Moves a card to
|
|
86
|
+
* Moves a card to a new position within a workflow.
|
|
87
|
+
*
|
|
72
88
|
*
|
|
73
|
-
*
|
|
74
|
-
* You can use
|
|
75
|
-
* [Get Workflow](https://dev.wix.com/api/rest/workflows/workflows/workflows/get-workflow)
|
|
76
|
-
* to get IDs for all the phases in the workflow,
|
|
77
|
-
* including the win phase.
|
|
89
|
+
* The `moveCard()` function returns a Promise when the specified card has been moved to the new position.
|
|
78
90
|
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
91
|
+
* 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`.
|
|
92
|
+
*
|
|
93
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
81
94
|
*/
|
|
82
95
|
export declare function moveCard(payload: MoveCardRequest): RequestOptionsFactory<MoveCardResponse>;
|
|
83
96
|
/**
|
|
84
|
-
* Restores an archived card
|
|
97
|
+
* Restores an archived workflow card.
|
|
98
|
+
*
|
|
85
99
|
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
100
|
+
* The `restoreCard()` function returns a Promise that resolves when the archived card has been restored.
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* > **Note:**
|
|
107
|
+
* > Each workflow is limited to 5,000 cards.
|
|
108
|
+
* > If this limit is reached, `createCard()` throws an error.
|
|
109
|
+
* > [Archive cards](#archivecard) when they're no longer needed
|
|
110
|
+
* > to reduce card count and avoid hitting the limit.
|
|
91
111
|
*/
|
|
92
112
|
export declare function restoreCard(payload: RestoreCardRequest): RequestOptionsFactory<RestoreCardResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Archives a workflow card.
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* The `archiveCard()` function returns a Promise that resolves when the card has been archived.
|
|
118
|
+
*
|
|
119
|
+
*
|
|
120
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
121
|
+
*/
|
|
122
|
+
export declare function archiveCard(payload: ArchiveCardRequest): RequestOptionsFactory<ArchiveCardResponse>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.restoreCard = exports.moveCard = exports.deleteCard = exports.createCard = exports.updateCard = exports.getCard = exports.listCards = exports.queryCards = void 0;
|
|
3
|
+
exports.archiveCard = exports.restoreCard = exports.moveCard = exports.deleteCard = exports.createCard = exports.updateCard = exports.getCard = exports.listCards = exports.queryCards = void 0;
|
|
4
4
|
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
5
|
const ambassador_1 = require("@wix/metro-runtime/ambassador");
|
|
6
6
|
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
7
|
+
const _archiveCardRequest = {};
|
|
8
|
+
const _archiveCardResponse = {};
|
|
7
9
|
const _card = { info: '_cardInfo' };
|
|
8
10
|
const _cardInfo = {
|
|
9
11
|
dueDate: 'google.protobuf.Timestamp',
|
|
@@ -58,18 +60,11 @@ function resolveComWixpressWorkflowApiV1CardsServiceUrl(opts) {
|
|
|
58
60
|
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
59
61
|
}
|
|
60
62
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* ** cardInfo.name - Text
|
|
67
|
-
* ** cardInfo.source - Text
|
|
68
|
-
* ** cardInfo.position - Number
|
|
69
|
-
* ** cardInfo.createdAt - Date
|
|
70
|
-
* ** cardInfo.updatedAt - Date
|
|
71
|
-
* ** cardInfo.primaryAttachment.contactId - Guid
|
|
72
|
-
* ** cardInfo.visibility - Text (Visible / Archived)
|
|
63
|
+
* The `queryCards()` function builds a query to retrieve a list of contacts and returns a `CardsQueryBuilder` object.
|
|
64
|
+
*
|
|
65
|
+
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
66
|
+
*
|
|
67
|
+
* You can refine the query by chaining `CardsQueryBuilder` functions onto the query. `CardsQueryBuilder` functions enable you to control the results `queryCards()` returns.
|
|
73
68
|
*/
|
|
74
69
|
function queryCards(payload) {
|
|
75
70
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryCardsRequest, {});
|
|
@@ -98,9 +93,25 @@ function queryCards(payload) {
|
|
|
98
93
|
}
|
|
99
94
|
exports.queryCards = queryCards;
|
|
100
95
|
/**
|
|
101
|
-
* Retrieves a list of
|
|
96
|
+
* Retrieves a list of a workflow's cards.
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* The `listCards()` function returns a Promise that resolves to a list of the specified workflow's cards.
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* Use the `options` parameter to specify which cards to retrieve and in which order to retrieve them. Must use either `phaseId` or `fetchOnlyArchived`.
|
|
103
|
+
*
|
|
102
104
|
*
|
|
103
|
-
*
|
|
105
|
+
* Cards can be sorted based on their `"id"`, `"name"`, `"phaseId"`, `"createdDate"`, `"updatedDate"`, `"source"`, and `"position"`.
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
* If no `limit` parameter is passed, the first 50 cards are returned.
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
* Sort order defaults to by `"phaseId"` and then by `"position"` ascending.
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* This function requires you to specify the ID of a workflow. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
104
115
|
*/
|
|
105
116
|
function listCards(payload) {
|
|
106
117
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_listCardsRequest, {});
|
|
@@ -129,11 +140,13 @@ function listCards(payload) {
|
|
|
129
140
|
}
|
|
130
141
|
exports.listCards = listCards;
|
|
131
142
|
/**
|
|
132
|
-
* Retrieves a card.
|
|
143
|
+
* Retrieves a workflow card by ID.
|
|
144
|
+
*
|
|
133
145
|
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
146
|
+
* The `getCard()` function returns a Promise that resolves to the card with the specified ID.
|
|
147
|
+
*
|
|
148
|
+
*
|
|
149
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
137
150
|
*/
|
|
138
151
|
function getCard(payload) {
|
|
139
152
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getCardRequest, {});
|
|
@@ -162,14 +175,16 @@ function getCard(payload) {
|
|
|
162
175
|
}
|
|
163
176
|
exports.getCard = getCard;
|
|
164
177
|
/**
|
|
165
|
-
* Updates
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
178
|
+
* Updates an existing workflow card.
|
|
179
|
+
*
|
|
180
|
+
*
|
|
181
|
+
* The `updateCardFields()` function returns a Promise that resolves when the card has been updated with the specified values.
|
|
182
|
+
*
|
|
183
|
+
*
|
|
184
|
+
* `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.
|
|
185
|
+
*
|
|
186
|
+
*
|
|
187
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
173
188
|
*/
|
|
174
189
|
function updateCard(payload) {
|
|
175
190
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateCardRequest, {
|
|
@@ -197,18 +212,23 @@ function updateCard(payload) {
|
|
|
197
212
|
}
|
|
198
213
|
exports.updateCard = updateCard;
|
|
199
214
|
/**
|
|
200
|
-
* Creates a new card
|
|
215
|
+
* Creates a new workflow card.
|
|
216
|
+
*
|
|
217
|
+
*
|
|
218
|
+
* The `createCard()` function returns a Promise that resolves to the created card's ID when the card is created in the specified workflow phase.
|
|
201
219
|
*
|
|
202
|
-
*
|
|
220
|
+
* 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`.
|
|
203
221
|
*
|
|
204
|
-
*
|
|
205
|
-
* starting from `0` and incrementing by 1.
|
|
206
|
-
* If you create or move a card to an existing position,
|
|
207
|
-
* the card in that position and any subsequent cards
|
|
208
|
-
* are shifted down by 1.
|
|
222
|
+
* When omitted, the newly created card is added to the specified phase as the top card within the phase.
|
|
209
223
|
*
|
|
210
|
-
*
|
|
211
|
-
* the
|
|
224
|
+
*
|
|
225
|
+
* This function requires you to specify the ID of a workflow and phase. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
226
|
+
*
|
|
227
|
+
* > **Note:**
|
|
228
|
+
* > Each workflow is limited to 5,000 cards.
|
|
229
|
+
* > If this limit is reached, `createCard()` throws an error.
|
|
230
|
+
* > [Archive cards](#archivecard) when they're no longer needed
|
|
231
|
+
* > to reduce card count and avoid hitting the limit.
|
|
212
232
|
*/
|
|
213
233
|
function createCard(payload) {
|
|
214
234
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createCardRequest, {
|
|
@@ -236,15 +256,12 @@ function createCard(payload) {
|
|
|
236
256
|
}
|
|
237
257
|
exports.createCard = createCard;
|
|
238
258
|
/**
|
|
239
|
-
* Deletes a card
|
|
259
|
+
* Deletes a workflow card by ID.
|
|
260
|
+
*
|
|
240
261
|
*
|
|
241
|
-
*
|
|
242
|
-
* To keep the card available for site contributors, use
|
|
243
|
-
* [Archive Card](https://dev.wix.com/api/rest/workflows/workflows/cards/archive-card)
|
|
244
|
-
* instead.
|
|
262
|
+
* The `deleteCard()` function returns a Promise when the specified card has been deleted.
|
|
245
263
|
*
|
|
246
|
-
*
|
|
247
|
-
* its attached contact can be attached to another card in an active phase.
|
|
264
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
248
265
|
*/
|
|
249
266
|
function deleteCard(payload) {
|
|
250
267
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_deleteCardRequest, {});
|
|
@@ -270,16 +287,14 @@ function deleteCard(payload) {
|
|
|
270
287
|
}
|
|
271
288
|
exports.deleteCard = deleteCard;
|
|
272
289
|
/**
|
|
273
|
-
* Moves a card to
|
|
290
|
+
* Moves a card to a new position within a workflow.
|
|
274
291
|
*
|
|
275
|
-
* To move a card, the new phase ID must be provided.
|
|
276
|
-
* You can use
|
|
277
|
-
* [Get Workflow](https://dev.wix.com/api/rest/workflows/workflows/workflows/get-workflow)
|
|
278
|
-
* to get IDs for all the phases in the workflow,
|
|
279
|
-
* including the win phase.
|
|
280
292
|
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
293
|
+
* The `moveCard()` function returns a Promise when the specified card has been moved to the new position.
|
|
294
|
+
*
|
|
295
|
+
* 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`.
|
|
296
|
+
*
|
|
297
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
283
298
|
*/
|
|
284
299
|
function moveCard(payload) {
|
|
285
300
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_moveCardRequest, {});
|
|
@@ -305,13 +320,20 @@ function moveCard(payload) {
|
|
|
305
320
|
}
|
|
306
321
|
exports.moveCard = moveCard;
|
|
307
322
|
/**
|
|
308
|
-
* Restores an archived card
|
|
323
|
+
* Restores an archived workflow card.
|
|
324
|
+
*
|
|
325
|
+
*
|
|
326
|
+
* The `restoreCard()` function returns a Promise that resolves when the archived card has been restored.
|
|
327
|
+
*
|
|
328
|
+
*
|
|
329
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
330
|
+
*
|
|
309
331
|
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
332
|
+
* > **Note:**
|
|
333
|
+
* > Each workflow is limited to 5,000 cards.
|
|
334
|
+
* > If this limit is reached, `createCard()` throws an error.
|
|
335
|
+
* > [Archive cards](#archivecard) when they're no longer needed
|
|
336
|
+
* > to reduce card count and avoid hitting the limit.
|
|
315
337
|
*/
|
|
316
338
|
function restoreCard(payload) {
|
|
317
339
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_restoreCardRequest, {});
|
|
@@ -336,4 +358,36 @@ function restoreCard(payload) {
|
|
|
336
358
|
return __restoreCard;
|
|
337
359
|
}
|
|
338
360
|
exports.restoreCard = restoreCard;
|
|
361
|
+
/**
|
|
362
|
+
* Archives a workflow card.
|
|
363
|
+
*
|
|
364
|
+
*
|
|
365
|
+
* The `archiveCard()` function returns a Promise that resolves when the card has been archived.
|
|
366
|
+
*
|
|
367
|
+
*
|
|
368
|
+
* This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see [Retrieving IDs](#retrieving-ids).
|
|
369
|
+
*/
|
|
370
|
+
function archiveCard(payload) {
|
|
371
|
+
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_archiveCardRequest, {});
|
|
372
|
+
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_archiveCardResponse, {});
|
|
373
|
+
function __archiveCard({ host }) {
|
|
374
|
+
const serializedData = toReq(payload);
|
|
375
|
+
const metadata = {
|
|
376
|
+
entityFqdn: 'wix.workflows.v1.card',
|
|
377
|
+
method: 'POST',
|
|
378
|
+
methodFqn: 'com.wixpress.workflow.api.v1.CardsService.ArchiveCard',
|
|
379
|
+
url: resolveComWixpressWorkflowApiV1CardsServiceUrl({
|
|
380
|
+
protoPath: '/v1/cards/{id}/archive',
|
|
381
|
+
data: serializedData,
|
|
382
|
+
host,
|
|
383
|
+
}),
|
|
384
|
+
data: serializedData,
|
|
385
|
+
transformResponse: fromRes,
|
|
386
|
+
};
|
|
387
|
+
return metadata;
|
|
388
|
+
}
|
|
389
|
+
__archiveCard.fromReq = fromReq;
|
|
390
|
+
return __archiveCard;
|
|
391
|
+
}
|
|
392
|
+
exports.archiveCard = archiveCard;
|
|
339
393
|
//# sourceMappingURL=workflows-v1-card.http.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows-v1-card.http.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;
|
|
1
|
+
{"version":3,"file":"workflows-v1-card.http.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAwBhD,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAChC,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AACpC,MAAM,SAAS,GAAG;IAChB,OAAO,EAAE,2BAA2B;IACpC,SAAS,EAAE,2BAA2B;IACtC,SAAS,EAAE,2BAA2B;IACtC,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;CACzC,CAAC;AACF,MAAM,kBAAkB,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AACjD,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,M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EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;IAEhC,OAAO,aAAa,CAAC;AACvB,CAAC;AA9BD,kCA8BC;AAED;;;;;;;;GAQG;AACH,SAAgB,WAAW,CACzB,OAA2B;IAE3B,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EACrD,mBAAmB,EACnB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;IAEnE,SAAS,aAAa,CAAC,EAAE,IAAI,EAAO;QAClC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,uBAAuB;YACnC,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,uDAAuD;YAClE,GAAG,EAAE,8CAA8C,CAAC;gBAClD,SAAS,EAAE,wBAAwB;gBACnC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;IAEhC,OAAO,aAAa,CAAC;AACvB,CAAC;AA9BD,kCA8BC"}
|
|
@@ -11,5 +11,6 @@ export declare function createCard(httpClient: HttpClient): (identifiers: Create
|
|
|
11
11
|
export declare function deleteCard(httpClient: HttpClient): (_id: string) => Promise<void>;
|
|
12
12
|
export declare function moveCard(httpClient: HttpClient): (_id: string, options?: MoveCardOptions | undefined) => Promise<void>;
|
|
13
13
|
export declare function restoreCard(httpClient: HttpClient): (_id: string, newPhaseId: string, options?: RestoreCardOptions | undefined) => Promise<void>;
|
|
14
|
+
export declare function archiveCard(httpClient: HttpClient): (_id: string) => Promise<void>;
|
|
14
15
|
export { AttachmentType, SortOrder } from './workflows-v1-card.universal';
|
|
15
16
|
export { Card, CardInfo, Attachment, QueryCardsRequest, Query, Sorting, Paging, QueryCardsResponse, PaginationResponse, ListCardsRequest, ListCardsResponse, GetCardRequest, GetCardResponse, UpdateCardRequest, UpdateCardResponse, CreateCardRequest, CreateCardResponse, DeleteCardRequest, DeleteCardResponse, MoveCardRequest, MoveCardResponse, RestoreCardRequest, RestoreCardResponse, ArchiveCardRequest, ArchiveCardResponse, QueryCardsOptions, ListCardsOptions, UpdateCardOptions, CreateCardIdentifiers, CreateCardOptions, MoveCardOptions, RestoreCardOptions, } from './workflows-v1-card.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SortOrder = exports.AttachmentType = exports.restoreCard = exports.moveCard = exports.deleteCard = exports.createCard = exports.updateCard = exports.getCard = exports.listCards = exports.queryCards = exports.__metadata = void 0;
|
|
3
|
+
exports.SortOrder = exports.AttachmentType = exports.archiveCard = exports.restoreCard = exports.moveCard = exports.deleteCard = exports.createCard = exports.updateCard = exports.getCard = exports.listCards = exports.queryCards = exports.__metadata = void 0;
|
|
4
4
|
const workflows_v1_card_universal_1 = require("./workflows-v1-card.universal");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/workflows' };
|
|
6
6
|
function queryCards(httpClient) {
|
|
@@ -51,6 +51,12 @@ function restoreCard(httpClient) {
|
|
|
51
51
|
{ httpClient });
|
|
52
52
|
}
|
|
53
53
|
exports.restoreCard = restoreCard;
|
|
54
|
+
function archiveCard(httpClient) {
|
|
55
|
+
return (_id) => (0, workflows_v1_card_universal_1.archiveCard)(_id,
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
{ httpClient });
|
|
58
|
+
}
|
|
59
|
+
exports.archiveCard = archiveCard;
|
|
54
60
|
var workflows_v1_card_universal_2 = require("./workflows-v1-card.universal");
|
|
55
61
|
Object.defineProperty(exports, "AttachmentType", { enumerable: true, get: function () { return workflows_v1_card_universal_2.AttachmentType; } });
|
|
56
62
|
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return workflows_v1_card_universal_2.SortOrder; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows-v1-card.public.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.public.ts"],"names":[],"mappings":";;;AACA,+
|
|
1
|
+
{"version":3,"file":"workflows-v1-card.public.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.public.ts"],"names":[],"mappings":";;;AACA,+EAiBuC;AAE1B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAE7D,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,OAA2B,EAAE,EAAE,CACrC,IAAA,wCAAmB,EACjB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gCAOC;AAED,SAAgB,SAAS,CAAC,UAAsB;IAC9C,OAAO,CAAC,UAAkB,EAAE,OAA0B,EAAE,EAAE,CACxD,IAAA,uCAAkB,EAChB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8BAQC;AAED,SAAgB,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,qCAAgB,EACd,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0BAOC;AAED,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,GAAW,EAAE,OAA2B,EAAE,EAAE,CAClD,IAAA,wCAAmB,EACjB,GAAG,EACH,OAAO;IACP,aAAa;IAC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