@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,6 +1,8 @@
|
|
|
1
1
|
import { toURLSearchParams } from '@wix/metro-runtime';
|
|
2
2
|
import { serializer } from '@wix/metro-runtime/ambassador';
|
|
3
3
|
import { resolveUrl } from '@wix/metro-runtime';
|
|
4
|
+
const _archiveCardRequest = {};
|
|
5
|
+
const _archiveCardResponse = {};
|
|
4
6
|
const _card = { info: '_cardInfo' };
|
|
5
7
|
const _cardInfo = {
|
|
6
8
|
dueDate: 'google.protobuf.Timestamp',
|
|
@@ -55,18 +57,11 @@ function resolveComWixpressWorkflowApiV1CardsServiceUrl(opts) {
|
|
|
55
57
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
56
58
|
}
|
|
57
59
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* ** cardInfo.name - Text
|
|
64
|
-
* ** cardInfo.source - Text
|
|
65
|
-
* ** cardInfo.position - Number
|
|
66
|
-
* ** cardInfo.createdAt - Date
|
|
67
|
-
* ** cardInfo.updatedAt - Date
|
|
68
|
-
* ** cardInfo.primaryAttachment.contactId - Guid
|
|
69
|
-
* ** cardInfo.visibility - Text (Visible / Archived)
|
|
60
|
+
* The `queryCards()` function builds a query to retrieve a list of contacts and returns a `CardsQueryBuilder` object.
|
|
61
|
+
*
|
|
62
|
+
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
63
|
+
*
|
|
64
|
+
* You can refine the query by chaining `CardsQueryBuilder` functions onto the query. `CardsQueryBuilder` functions enable you to control the results `queryCards()` returns.
|
|
70
65
|
*/
|
|
71
66
|
export function queryCards(payload) {
|
|
72
67
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_queryCardsRequest, {});
|
|
@@ -94,9 +89,25 @@ export function queryCards(payload) {
|
|
|
94
89
|
return __queryCards;
|
|
95
90
|
}
|
|
96
91
|
/**
|
|
97
|
-
* Retrieves a list of
|
|
92
|
+
* Retrieves a list of a workflow's cards.
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* The `listCards()` function returns a Promise that resolves to a list of the specified workflow's cards.
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* Use the `options` parameter to specify which cards to retrieve and in which order to retrieve them. Must use either `phaseId` or `fetchOnlyArchived`.
|
|
99
|
+
*
|
|
98
100
|
*
|
|
99
|
-
*
|
|
101
|
+
* Cards can be sorted based on their `"id"`, `"name"`, `"phaseId"`, `"createdDate"`, `"updatedDate"`, `"source"`, and `"position"`.
|
|
102
|
+
*
|
|
103
|
+
*
|
|
104
|
+
* If no `limit` parameter is passed, the first 50 cards are returned.
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* Sort order defaults to by `"phaseId"` and then by `"position"` ascending.
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* 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).
|
|
100
111
|
*/
|
|
101
112
|
export function listCards(payload) {
|
|
102
113
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_listCardsRequest, {});
|
|
@@ -124,11 +135,13 @@ export function listCards(payload) {
|
|
|
124
135
|
return __listCards;
|
|
125
136
|
}
|
|
126
137
|
/**
|
|
127
|
-
* Retrieves a card.
|
|
138
|
+
* Retrieves a workflow card by ID.
|
|
139
|
+
*
|
|
128
140
|
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
141
|
+
* The `getCard()` function returns a Promise that resolves to the card with the specified ID.
|
|
142
|
+
*
|
|
143
|
+
*
|
|
144
|
+
* 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).
|
|
132
145
|
*/
|
|
133
146
|
export function getCard(payload) {
|
|
134
147
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_getCardRequest, {});
|
|
@@ -156,14 +169,16 @@ export function getCard(payload) {
|
|
|
156
169
|
return __getCard;
|
|
157
170
|
}
|
|
158
171
|
/**
|
|
159
|
-
* Updates
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
172
|
+
* Updates an existing workflow card.
|
|
173
|
+
*
|
|
174
|
+
*
|
|
175
|
+
* The `updateCardFields()` function returns a Promise that resolves when the card has been updated with the specified values.
|
|
176
|
+
*
|
|
177
|
+
*
|
|
178
|
+
* `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.
|
|
179
|
+
*
|
|
180
|
+
*
|
|
181
|
+
* 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).
|
|
167
182
|
*/
|
|
168
183
|
export function updateCard(payload) {
|
|
169
184
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_updateCardRequest, {
|
|
@@ -190,18 +205,23 @@ export function updateCard(payload) {
|
|
|
190
205
|
return __updateCard;
|
|
191
206
|
}
|
|
192
207
|
/**
|
|
193
|
-
* Creates a new card
|
|
208
|
+
* Creates a new workflow card.
|
|
209
|
+
*
|
|
210
|
+
*
|
|
211
|
+
* The `createCard()` function returns a Promise that resolves to the created card's ID when the card is created in the specified workflow phase.
|
|
194
212
|
*
|
|
195
|
-
*
|
|
213
|
+
* 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`.
|
|
196
214
|
*
|
|
197
|
-
*
|
|
198
|
-
* starting from `0` and incrementing by 1.
|
|
199
|
-
* If you create or move a card to an existing position,
|
|
200
|
-
* the card in that position and any subsequent cards
|
|
201
|
-
* are shifted down by 1.
|
|
215
|
+
* When omitted, the newly created card is added to the specified phase as the top card within the phase.
|
|
202
216
|
*
|
|
203
|
-
*
|
|
204
|
-
* the
|
|
217
|
+
*
|
|
218
|
+
* 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).
|
|
219
|
+
*
|
|
220
|
+
* > **Note:**
|
|
221
|
+
* > Each workflow is limited to 5,000 cards.
|
|
222
|
+
* > If this limit is reached, `createCard()` throws an error.
|
|
223
|
+
* > [Archive cards](#archivecard) when they're no longer needed
|
|
224
|
+
* > to reduce card count and avoid hitting the limit.
|
|
205
225
|
*/
|
|
206
226
|
export function createCard(payload) {
|
|
207
227
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_createCardRequest, {
|
|
@@ -228,15 +248,12 @@ export function createCard(payload) {
|
|
|
228
248
|
return __createCard;
|
|
229
249
|
}
|
|
230
250
|
/**
|
|
231
|
-
* Deletes a card
|
|
251
|
+
* Deletes a workflow card by ID.
|
|
252
|
+
*
|
|
232
253
|
*
|
|
233
|
-
*
|
|
234
|
-
* To keep the card available for site contributors, use
|
|
235
|
-
* [Archive Card](https://dev.wix.com/api/rest/workflows/workflows/cards/archive-card)
|
|
236
|
-
* instead.
|
|
254
|
+
* The `deleteCard()` function returns a Promise when the specified card has been deleted.
|
|
237
255
|
*
|
|
238
|
-
*
|
|
239
|
-
* its attached contact can be attached to another card in an active phase.
|
|
256
|
+
* 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).
|
|
240
257
|
*/
|
|
241
258
|
export function deleteCard(payload) {
|
|
242
259
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_deleteCardRequest, {});
|
|
@@ -261,16 +278,14 @@ export function deleteCard(payload) {
|
|
|
261
278
|
return __deleteCard;
|
|
262
279
|
}
|
|
263
280
|
/**
|
|
264
|
-
* Moves a card to
|
|
281
|
+
* Moves a card to a new position within a workflow.
|
|
265
282
|
*
|
|
266
|
-
* To move a card, the new phase ID must be provided.
|
|
267
|
-
* You can use
|
|
268
|
-
* [Get Workflow](https://dev.wix.com/api/rest/workflows/workflows/workflows/get-workflow)
|
|
269
|
-
* to get IDs for all the phases in the workflow,
|
|
270
|
-
* including the win phase.
|
|
271
283
|
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
284
|
+
* The `moveCard()` function returns a Promise when the specified card has been moved to the new position.
|
|
285
|
+
*
|
|
286
|
+
* 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`.
|
|
287
|
+
*
|
|
288
|
+
* 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).
|
|
274
289
|
*/
|
|
275
290
|
export function moveCard(payload) {
|
|
276
291
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_moveCardRequest, {});
|
|
@@ -295,13 +310,20 @@ export function moveCard(payload) {
|
|
|
295
310
|
return __moveCard;
|
|
296
311
|
}
|
|
297
312
|
/**
|
|
298
|
-
* Restores an archived card
|
|
313
|
+
* Restores an archived workflow card.
|
|
314
|
+
*
|
|
315
|
+
*
|
|
316
|
+
* The `restoreCard()` function returns a Promise that resolves when the archived card has been restored.
|
|
317
|
+
*
|
|
318
|
+
*
|
|
319
|
+
* 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).
|
|
320
|
+
*
|
|
299
321
|
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
322
|
+
* > **Note:**
|
|
323
|
+
* > Each workflow is limited to 5,000 cards.
|
|
324
|
+
* > If this limit is reached, `createCard()` throws an error.
|
|
325
|
+
* > [Archive cards](#archivecard) when they're no longer needed
|
|
326
|
+
* > to reduce card count and avoid hitting the limit.
|
|
305
327
|
*/
|
|
306
328
|
export function restoreCard(payload) {
|
|
307
329
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_restoreCardRequest, {});
|
|
@@ -325,4 +347,35 @@ export function restoreCard(payload) {
|
|
|
325
347
|
__restoreCard.fromReq = fromReq;
|
|
326
348
|
return __restoreCard;
|
|
327
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Archives a workflow card.
|
|
352
|
+
*
|
|
353
|
+
*
|
|
354
|
+
* The `archiveCard()` function returns a Promise that resolves when the card has been archived.
|
|
355
|
+
*
|
|
356
|
+
*
|
|
357
|
+
* 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).
|
|
358
|
+
*/
|
|
359
|
+
export function archiveCard(payload) {
|
|
360
|
+
const { toJSON: toReq, fromJSON: fromReq } = serializer(_archiveCardRequest, {});
|
|
361
|
+
const { fromJSON: fromRes } = serializer(_archiveCardResponse, {});
|
|
362
|
+
function __archiveCard({ host }) {
|
|
363
|
+
const serializedData = toReq(payload);
|
|
364
|
+
const metadata = {
|
|
365
|
+
entityFqdn: 'wix.workflows.v1.card',
|
|
366
|
+
method: 'POST',
|
|
367
|
+
methodFqn: 'com.wixpress.workflow.api.v1.CardsService.ArchiveCard',
|
|
368
|
+
url: resolveComWixpressWorkflowApiV1CardsServiceUrl({
|
|
369
|
+
protoPath: '/v1/cards/{id}/archive',
|
|
370
|
+
data: serializedData,
|
|
371
|
+
host,
|
|
372
|
+
}),
|
|
373
|
+
data: serializedData,
|
|
374
|
+
transformResponse: fromRes,
|
|
375
|
+
};
|
|
376
|
+
return metadata;
|
|
377
|
+
}
|
|
378
|
+
__archiveCard.fromReq = fromReq;
|
|
379
|
+
return __archiveCard;
|
|
380
|
+
}
|
|
328
381
|
//# 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,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"workflows-v1-card.http.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;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,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,gBAAgB,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3C,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,MAAM,kBAAkB,GAAG,EAAE,KAAK,E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AE,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"}
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { queryCards as universalQueryCards, listCards as universalListCards, getCard as universalGetCard, updateCard as universalUpdateCard, createCard as universalCreateCard, deleteCard as universalDeleteCard, moveCard as universalMoveCard, restoreCard as universalRestoreCard, } from './workflows-v1-card.universal';
|
|
1
|
+
import { queryCards as universalQueryCards, listCards as universalListCards, getCard as universalGetCard, updateCard as universalUpdateCard, createCard as universalCreateCard, deleteCard as universalDeleteCard, moveCard as universalMoveCard, restoreCard as universalRestoreCard, archiveCard as universalArchiveCard, } from './workflows-v1-card.universal';
|
|
2
2
|
export const __metadata = { PACKAGE_NAME: '@wix/workflows' };
|
|
3
3
|
export function queryCards(httpClient) {
|
|
4
4
|
return (options) => universalQueryCards(options,
|
|
@@ -40,5 +40,10 @@ export function restoreCard(httpClient) {
|
|
|
40
40
|
// @ts-ignore
|
|
41
41
|
{ httpClient });
|
|
42
42
|
}
|
|
43
|
+
export function archiveCard(httpClient) {
|
|
44
|
+
return (_id) => universalArchiveCard(_id,
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
{ httpClient });
|
|
47
|
+
}
|
|
43
48
|
export { AttachmentType, SortOrder } from './workflows-v1-card.universal';
|
|
44
49
|
//# sourceMappingURL=workflows-v1-card.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows-v1-card.public.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,IAAI,mBAAmB,EACjC,SAAS,IAAI,kBAAkB,EAC/B,OAAO,IAAI,gBAAgB,EAC3B,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,QAAQ,IAAI,iBAAiB,EAC7B,WAAW,IAAI,oBAAoB,GAQpC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,gBAAg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AAsB;IAChD,OAAO,CAAC,GAAW,EAAE,UAAkB,EAAE,OAA4B,EAAE,EAAE,CACvE,oBAAoB,CAClB,GAAG,EACH,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"workflows-v1-card.public.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,IAAI,mBAAmB,EACjC,SAAS,IAAI,kBAAkB,EAC/B,OAAO,IAAI,gBAAgB,EAC3B,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,QAAQ,IAAI,iBAAiB,EAC7B,WAAW,IAAI,oBAAoB,EACnC,WAAW,IAAI,oBAAoB,GAQpC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAE7D,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,OAA2B,EAAE,EAAE,CACrC,mBAAmB,CACjB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,UAAsB;IAC9C,OAAO,CAAC,UAAkB,EAAE,OAA0B,EAAE,EAAE,CACxD,kBAAkB,CAChB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,gBAAgB,CACd,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC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