@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.
@@ -240,25 +240,21 @@ export interface RestoreCardResponse {
240
240
  }
241
241
  export interface ArchiveCardRequest {
242
242
  /** ID of the card to archive. */
243
- _id?: string;
243
+ _id: string;
244
244
  }
245
245
  export interface ArchiveCardResponse {
246
246
  }
247
247
  /**
248
- * Returns a list of cards according to:
249
- * * paging: offset, limit
250
- * * order: by some of the following fields: id, name, createdAt, updatedAt, position, phaseId
251
- * * filter: by the following fields of CardInfo
252
- * ** cardInfo.id - Guid
253
- * ** cardInfo.name - Text
254
- * ** cardInfo.source - Text
255
- * ** cardInfo.position - Number
256
- * ** cardInfo.createdAt - Date
257
- * ** cardInfo.updatedAt - Date
258
- * ** cardInfo.primaryAttachment.contactId - Guid
259
- * ** cardInfo.visibility - Text (Visible / Archived)
248
+ * The `queryCards()` function builds a query to retrieve a list of contacts and returns a `CardsQueryBuilder` object.
249
+ *
250
+ * The returned object contains the query definition, which is typically used to run the query using the `find()` function.
251
+ *
252
+ * You can refine the query by chaining `CardsQueryBuilder` functions onto the query. `CardsQueryBuilder` functions enable you to control the results `queryCards()` returns.
253
+ *
254
+ * This function is not a universal function and runs only on the backend.
260
255
  * @public
261
256
  * @documentationMaturity preview
257
+ * @param options - Options to use when querying a card.
262
258
  */
263
259
  export declare function queryCards(options?: QueryCardsOptions): Promise<QueryCardsResponse>;
264
260
  export interface QueryCardsOptions {
@@ -266,13 +262,31 @@ export interface QueryCardsOptions {
266
262
  query?: Query;
267
263
  }
268
264
  /**
269
- * Retrieves a list of cards in the specified workflow.
265
+ * Retrieves a list of a workflow's cards.
266
+ *
267
+ *
268
+ * The `listCards()` function returns a Promise that resolves to a list of the specified workflow's cards.
269
+ *
270
+ *
271
+ * Use the `options` parameter to specify which cards to retrieve and in which order to retrieve them. Must use either `phaseId` or `fetchOnlyArchived`.
272
+ *
273
+ *
274
+ * Cards can be sorted based on their `"id"`, `"name"`, `"phaseId"`, `"createdDate"`, `"updatedDate"`, `"source"`, and `"position"`.
275
+ *
276
+ *
277
+ * If no `limit` parameter is passed, the first 50 cards are returned.
278
+ *
279
+ *
280
+ * Sort order defaults to by `"phaseId"` and then by `"position"` ascending.
281
+ *
270
282
  *
271
- * By default, the returned cards are sorted by their display order.
283
+ * 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).
284
+ *
285
+ * This function is not a universal function and runs only on the backend.
272
286
  * @param workflowId - ID of the workflow whose cards will be listed.
273
287
  * @public
274
- * @documentationMaturity preview
275
288
  * @requiredField workflowId
289
+ * @param options - Options to use when retrieving the list of cards.
276
290
  */
277
291
  export declare function listCards(workflowId: string, options?: ListCardsOptions): Promise<ListCardsResponse>;
278
292
  export interface ListCardsOptions {
@@ -316,30 +330,37 @@ export interface ListCardsOptions {
316
330
  sort?: string[];
317
331
  }
318
332
  /**
319
- * Retrieves a card.
333
+ * Retrieves a workflow card by ID.
334
+ *
335
+ *
336
+ * The `getCard()` function returns a Promise that resolves to the card with the specified ID.
320
337
  *
321
- * If the specified card is archived, an empty object is returned.
322
- * You can restore the card with
323
- * [Restore Card](https://dev.wix.com/api/rest/workflows/workflows/cards/restore-card).
338
+ *
339
+ * 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).
340
+ *
341
+ * This function is not a universal function and runs only on the backend.
324
342
  * @param _id - ID of the card to retrieve.
325
343
  * @public
326
- * @documentationMaturity preview
327
344
  * @requiredField _id
328
345
  */
329
346
  export declare function getCard(_id: string): Promise<GetCardResponse>;
330
347
  /**
331
- * Updates a card's properties.
332
- *
333
- * To reorder cards, use
334
- * [Move Card](https://dev.wix.com/api/rest/workflows/workflows/cards/move-card).
335
- * To archive or restore a card, use
336
- * [Archive Card](https://dev.wix.com/api/rest/workflows/workflows/cards/archive-card)
337
- * or [Restore Card](https://dev.wix.com/api/rest/workflows/workflows/cards/restore-card),
338
- * respectively.
348
+ * Updates an existing workflow card.
349
+ *
350
+ *
351
+ * The `updateCardFields()` function returns a Promise that resolves when the card has been updated with the specified values.
352
+ *
353
+ *
354
+ * `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.
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
+ * This function is not a universal function and runs only on the backend.
339
360
  * @param _id - ID of the card to update.
340
361
  * @public
341
- * @documentationMaturity preview
342
362
  * @requiredField _id
363
+ * @param options - Options to use when updating a card.
343
364
  */
344
365
  export declare function updateCard(_id: string, options?: UpdateCardOptions): Promise<void>;
345
366
  export interface UpdateCardOptions {
@@ -347,23 +368,30 @@ export interface UpdateCardOptions {
347
368
  cardInfo?: CardInfo;
348
369
  }
349
370
  /**
350
- * Creates a new card in the specified phase and workflow.
371
+ * Creates a new workflow card.
351
372
  *
352
- * When creating a card, you provide a `name` and an optional `position`.
353
373
  *
354
- * Cards are displayed according to their position from top to bottom,
355
- * starting from `0` and incrementing by 1.
356
- * If you create or move a card to an existing position,
357
- * the card in that position and any subsequent cards
358
- * are shifted down by 1.
374
+ * The `createCard()` function returns a Promise that resolves to the created card's ID when the card is created in the specified workflow phase.
359
375
  *
360
- * If `position` is not specified,
361
- * the new card is given the bottom position.
376
+ * 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`.
377
+ *
378
+ * When omitted, the newly created card is added to the specified phase as the top card within the phase.
379
+ *
380
+ *
381
+ * 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).
382
+ *
383
+ * > **Note:**
384
+ * > Each workflow is limited to 5,000 cards.
385
+ * > If this limit is reached, `createCard()` throws an error.
386
+ * > [Archive cards](#archivecard) when they're no longer needed
387
+ * > to reduce card count and avoid hitting the limit.
388
+ *
389
+ * This function is not a universal function and runs only on the backend.
362
390
  * @public
363
- * @documentationMaturity preview
364
391
  * @requiredField identifiers
365
392
  * @requiredField identifiers.phaseId
366
393
  * @requiredField identifiers.workflowId
394
+ * @param options - Options to use when creating a card.
367
395
  */
368
396
  export declare function createCard(identifiers: CreateCardIdentifiers, options?: CreateCardOptions): Promise<CreateCardResponse>;
369
397
  export interface CreateCardIdentifiers {
@@ -386,36 +414,34 @@ export interface CreateCardOptions {
386
414
  position?: number | null;
387
415
  }
388
416
  /**
389
- * Deletes a card from a workflow.
417
+ * Deletes a workflow card by ID.
418
+ *
419
+ *
420
+ * The `deleteCard()` function returns a Promise when the specified card has been deleted.
390
421
  *
391
- * Deleted cards are removed from the workflow completely and can't be restored.
392
- * To keep the card available for site contributors, use
393
- * [Archive Card](https://dev.wix.com/api/rest/workflows/workflows/cards/archive-card)
394
- * instead.
422
+ * 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).
395
423
  *
396
- * After a card is deleted,
397
- * its attached contact can be attached to another card in an active phase.
424
+ * This function is not a universal function and runs only on the backend.
398
425
  * @param _id - ID of the card to delete.
399
426
  * @public
400
- * @documentationMaturity preview
401
427
  * @requiredField _id
402
428
  */
403
429
  export declare function deleteCard(_id: string): Promise<void>;
404
430
  /**
405
- * Moves a card to another phase or a new position within the current phase.
431
+ * Moves a card to a new position within a workflow.
432
+ *
433
+ *
434
+ * The `moveCard()` function returns a Promise when the specified card has been moved to the new position.
435
+ *
436
+ * 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`.
406
437
  *
407
- * To move a card, the new phase ID must be provided.
408
- * You can use
409
- * [Get Workflow](https://dev.wix.com/api/rest/workflows/workflows/workflows/get-workflow)
410
- * to get IDs for all the phases in the workflow,
411
- * including the win phase.
438
+ * 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).
412
439
  *
413
- * If a card is moved to the win phase,
414
- * its attached contact can be attached to another card in an active phase.
440
+ * This function is not a universal function and runs only on the backend.
415
441
  * @param _id - ID of the card to move.
416
442
  * @public
417
- * @documentationMaturity preview
418
443
  * @requiredField _id
444
+ * @param options - Information about where to move the card.
419
445
  */
420
446
  export declare function moveCard(_id: string, options?: MoveCardOptions): Promise<void>;
421
447
  export interface MoveCardOptions {
@@ -425,19 +451,28 @@ export interface MoveCardOptions {
425
451
  newPosition?: number | null;
426
452
  }
427
453
  /**
428
- * Restores an archived card to the specified phase.
454
+ * Restores an archived workflow card.
455
+ *
456
+ *
457
+ * The `restoreCard()` function returns a Promise that resolves when the archived card has been restored.
429
458
  *
430
- * To restore a card, the new phase ID must be provided.
431
- * You can use
432
- * [Get Workflow](https://dev.wix.com/api/rest/workflows/workflows/workflows/get-workflow)
433
- * to get IDs for all the phases in the workflow,
434
- * including the win phase.
459
+ *
460
+ * 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).
461
+ *
462
+ *
463
+ * > **Note:**
464
+ * > Each workflow is limited to 5,000 cards.
465
+ * > If this limit is reached, `createCard()` throws an error.
466
+ * > [Archive cards](#archivecard) when they're no longer needed
467
+ * > to reduce card count and avoid hitting the limit.
468
+ *
469
+ * This function is not a universal function and runs only on the backend.
435
470
  * @param _id - ID of the card to restore.
436
471
  * @param newPhaseId - ID of the phase to restore the card to.
437
472
  * @public
438
- * @documentationMaturity preview
439
473
  * @requiredField _id
440
474
  * @requiredField newPhaseId
475
+ * @param options - Options to use when restoring a card.
441
476
  */
442
477
  export declare function restoreCard(_id: string, newPhaseId: string, options?: RestoreCardOptions): Promise<void>;
443
478
  export interface RestoreCardOptions {
@@ -447,3 +482,18 @@ export interface RestoreCardOptions {
447
482
  */
448
483
  newPosition?: number | null;
449
484
  }
485
+ /**
486
+ * Archives a workflow card.
487
+ *
488
+ *
489
+ * The `archiveCard()` function returns a Promise that resolves when the card has been archived.
490
+ *
491
+ *
492
+ * 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).
493
+ *
494
+ * This function is not a universal function and runs only on the backend.
495
+ * @param _id - ID of the card to archive.
496
+ * @public
497
+ * @requiredField _id
498
+ */
499
+ export declare function archiveCard(_id: string): Promise<void>;
@@ -34,6 +34,8 @@ export var SortOrder;
34
34
  SortOrder["ASC"] = "ASC";
35
35
  SortOrder["DESC"] = "DESC";
36
36
  })(SortOrder || (SortOrder = {}));
37
+ const _archiveCardRequest = {};
38
+ const _archiveCardResponse = {};
37
39
  const _createCardRequest = {};
38
40
  const _createCardResponse = {};
39
41
  const _deleteCardRequest = {};
@@ -51,20 +53,16 @@ const _restoreCardResponse = {};
51
53
  const _updateCardRequest = {};
52
54
  const _updateCardResponse = {};
53
55
  /**
54
- * Returns a list of cards according to:
55
- * * paging: offset, limit
56
- * * order: by some of the following fields: id, name, createdAt, updatedAt, position, phaseId
57
- * * filter: by the following fields of CardInfo
58
- * ** cardInfo.id - Guid
59
- * ** cardInfo.name - Text
60
- * ** cardInfo.source - Text
61
- * ** cardInfo.position - Number
62
- * ** cardInfo.createdAt - Date
63
- * ** cardInfo.updatedAt - Date
64
- * ** cardInfo.primaryAttachment.contactId - Guid
65
- * ** cardInfo.visibility - Text (Visible / Archived)
56
+ * The `queryCards()` function builds a query to retrieve a list of contacts and returns a `CardsQueryBuilder` object.
57
+ *
58
+ * The returned object contains the query definition, which is typically used to run the query using the `find()` function.
59
+ *
60
+ * You can refine the query by chaining `CardsQueryBuilder` functions onto the query. `CardsQueryBuilder` functions enable you to control the results `queryCards()` returns.
61
+ *
62
+ * This function is not a universal function and runs only on the backend.
66
63
  * @public
67
64
  * @documentationMaturity preview
65
+ * @param options - Options to use when querying a card.
68
66
  */
69
67
  export function queryCards(options) {
70
68
  var _a, _b, _c;
@@ -110,13 +108,31 @@ export function queryCards(options) {
110
108
  });
111
109
  }
112
110
  /**
113
- * Retrieves a list of cards in the specified workflow.
111
+ * Retrieves a list of a workflow's cards.
112
+ *
113
+ *
114
+ * The `listCards()` function returns a Promise that resolves to a list of the specified workflow's cards.
115
+ *
116
+ *
117
+ * Use the `options` parameter to specify which cards to retrieve and in which order to retrieve them. Must use either `phaseId` or `fetchOnlyArchived`.
118
+ *
119
+ *
120
+ * Cards can be sorted based on their `"id"`, `"name"`, `"phaseId"`, `"createdDate"`, `"updatedDate"`, `"source"`, and `"position"`.
121
+ *
122
+ *
123
+ * If no `limit` parameter is passed, the first 50 cards are returned.
124
+ *
114
125
  *
115
- * By default, the returned cards are sorted by their display order.
126
+ * Sort order defaults to by `"phaseId"` and then by `"position"` ascending.
127
+ *
128
+ *
129
+ * 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).
130
+ *
131
+ * This function is not a universal function and runs only on the backend.
116
132
  * @param workflowId - ID of the workflow whose cards will be listed.
117
133
  * @public
118
- * @documentationMaturity preview
119
134
  * @requiredField workflowId
135
+ * @param options - Options to use when retrieving the list of cards.
120
136
  */
121
137
  export function listCards(workflowId, options) {
122
138
  var _a, _b, _c;
@@ -171,14 +187,17 @@ export function listCards(workflowId, options) {
171
187
  });
172
188
  }
173
189
  /**
174
- * Retrieves a card.
190
+ * Retrieves a workflow card by ID.
191
+ *
192
+ *
193
+ * The `getCard()` function returns a Promise that resolves to the card with the specified ID.
175
194
  *
176
- * If the specified card is archived, an empty object is returned.
177
- * You can restore the card with
178
- * [Restore Card](https://dev.wix.com/api/rest/workflows/workflows/cards/restore-card).
195
+ *
196
+ * 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).
197
+ *
198
+ * This function is not a universal function and runs only on the backend.
179
199
  * @param _id - ID of the card to retrieve.
180
200
  * @public
181
- * @documentationMaturity preview
182
201
  * @requiredField _id
183
202
  */
184
203
  export function getCard(_id) {
@@ -225,18 +244,22 @@ export function getCard(_id) {
225
244
  });
226
245
  }
227
246
  /**
228
- * Updates a card's properties.
229
- *
230
- * To reorder cards, use
231
- * [Move Card](https://dev.wix.com/api/rest/workflows/workflows/cards/move-card).
232
- * To archive or restore a card, use
233
- * [Archive Card](https://dev.wix.com/api/rest/workflows/workflows/cards/archive-card)
234
- * or [Restore Card](https://dev.wix.com/api/rest/workflows/workflows/cards/restore-card),
235
- * respectively.
247
+ * Updates an existing workflow card.
248
+ *
249
+ *
250
+ * The `updateCardFields()` function returns a Promise that resolves when the card has been updated with the specified values.
251
+ *
252
+ *
253
+ * `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.
254
+ *
255
+ *
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).
257
+ *
258
+ * This function is not a universal function and runs only on the backend.
236
259
  * @param _id - ID of the card to update.
237
260
  * @public
238
- * @documentationMaturity preview
239
261
  * @requiredField _id
262
+ * @param options - Options to use when updating a card.
240
263
  */
241
264
  export function updateCard(_id, options) {
242
265
  var _a, _b, _c;
@@ -283,23 +306,30 @@ export function updateCard(_id, options) {
283
306
  });
284
307
  }
285
308
  /**
286
- * Creates a new card in the specified phase and workflow.
309
+ * Creates a new workflow card.
310
+ *
287
311
  *
288
- * When creating a card, you provide a `name` and an optional `position`.
312
+ * The `createCard()` function returns a Promise that resolves to the created card's ID when the card is created in the specified workflow phase.
289
313
  *
290
- * Cards are displayed according to their position from top to bottom,
291
- * starting from `0` and incrementing by 1.
292
- * If you create or move a card to an existing position,
293
- * the card in that position and any subsequent cards
294
- * are shifted down by 1.
314
+ * 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`.
295
315
  *
296
- * If `position` is not specified,
297
- * the new card is given the bottom position.
316
+ * When omitted, the newly created card is added to the specified phase as the top card within the phase.
317
+ *
318
+ *
319
+ * 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).
320
+ *
321
+ * > **Note:**
322
+ * > Each workflow is limited to 5,000 cards.
323
+ * > If this limit is reached, `createCard()` throws an error.
324
+ * > [Archive cards](#archivecard) when they're no longer needed
325
+ * > to reduce card count and avoid hitting the limit.
326
+ *
327
+ * This function is not a universal function and runs only on the backend.
298
328
  * @public
299
- * @documentationMaturity preview
300
329
  * @requiredField identifiers
301
330
  * @requiredField identifiers.phaseId
302
331
  * @requiredField identifiers.workflowId
332
+ * @param options - Options to use when creating a card.
303
333
  */
304
334
  export function createCard(identifiers, options) {
305
335
  var _a, _b, _c;
@@ -351,18 +381,16 @@ export function createCard(identifiers, options) {
351
381
  });
352
382
  }
353
383
  /**
354
- * Deletes a card from a workflow.
384
+ * Deletes a workflow card by ID.
385
+ *
355
386
  *
356
- * Deleted cards are removed from the workflow completely and can't be restored.
357
- * To keep the card available for site contributors, use
358
- * [Archive Card](https://dev.wix.com/api/rest/workflows/workflows/cards/archive-card)
359
- * instead.
387
+ * The `deleteCard()` function returns a Promise when the specified card has been deleted.
360
388
  *
361
- * After a card is deleted,
362
- * its attached contact can be attached to another card in an active phase.
389
+ * 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).
390
+ *
391
+ * This function is not a universal function and runs only on the backend.
363
392
  * @param _id - ID of the card to delete.
364
393
  * @public
365
- * @documentationMaturity preview
366
394
  * @requiredField _id
367
395
  */
368
396
  export function deleteCard(_id) {
@@ -409,20 +437,20 @@ export function deleteCard(_id) {
409
437
  });
410
438
  }
411
439
  /**
412
- * Moves a card to another phase or a new position within the current phase.
440
+ * Moves a card to a new position within a workflow.
441
+ *
413
442
  *
414
- * To move a card, the new phase ID must be provided.
415
- * You can use
416
- * [Get Workflow](https://dev.wix.com/api/rest/workflows/workflows/workflows/get-workflow)
417
- * to get IDs for all the phases in the workflow,
418
- * including the win phase.
443
+ * The `moveCard()` function returns a Promise when the specified card has been moved to the new position.
419
444
  *
420
- * If a card is moved to the win phase,
421
- * its attached contact can be attached to another card in an active phase.
445
+ * 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`.
446
+ *
447
+ * 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).
448
+ *
449
+ * This function is not a universal function and runs only on the backend.
422
450
  * @param _id - ID of the card to move.
423
451
  * @public
424
- * @documentationMaturity preview
425
452
  * @requiredField _id
453
+ * @param options - Information about where to move the card.
426
454
  */
427
455
  export function moveCard(_id, options) {
428
456
  var _a, _b, _c;
@@ -473,19 +501,28 @@ export function moveCard(_id, options) {
473
501
  });
474
502
  }
475
503
  /**
476
- * Restores an archived card to the specified phase.
504
+ * Restores an archived workflow card.
505
+ *
506
+ *
507
+ * The `restoreCard()` function returns a Promise that resolves when the archived card has been restored.
508
+ *
509
+ *
510
+ * 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).
511
+ *
512
+ *
513
+ * > **Note:**
514
+ * > Each workflow is limited to 5,000 cards.
515
+ * > If this limit is reached, `createCard()` throws an error.
516
+ * > [Archive cards](#archivecard) when they're no longer needed
517
+ * > to reduce card count and avoid hitting the limit.
477
518
  *
478
- * To restore a card, the new phase ID must be provided.
479
- * You can use
480
- * [Get Workflow](https://dev.wix.com/api/rest/workflows/workflows/workflows/get-workflow)
481
- * to get IDs for all the phases in the workflow,
482
- * including the win phase.
519
+ * This function is not a universal function and runs only on the backend.
483
520
  * @param _id - ID of the card to restore.
484
521
  * @param newPhaseId - ID of the phase to restore the card to.
485
522
  * @public
486
- * @documentationMaturity preview
487
523
  * @requiredField _id
488
524
  * @requiredField newPhaseId
525
+ * @param options - Options to use when restoring a card.
489
526
  */
490
527
  export function restoreCard(_id, newPhaseId, options) {
491
528
  var _a, _b, _c;
@@ -536,4 +573,61 @@ export function restoreCard(_id, newPhaseId, options) {
536
573
  }
537
574
  });
538
575
  }
576
+ /**
577
+ * Archives a workflow card.
578
+ *
579
+ *
580
+ * The `archiveCard()` function returns a Promise that resolves when the card has been archived.
581
+ *
582
+ *
583
+ * 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).
584
+ *
585
+ * This function is not a universal function and runs only on the backend.
586
+ * @param _id - ID of the card to archive.
587
+ * @public
588
+ * @requiredField _id
589
+ */
590
+ export function archiveCard(_id) {
591
+ var _a, _b, _c;
592
+ return __awaiter(this, arguments, void 0, function* () {
593
+ const requestTransformation = { id: '$[0]' };
594
+ const responseTransformation = '$';
595
+ // @ts-ignore
596
+ const { httpClient, sideEffects } = arguments[1];
597
+ const { toAmbassadorRequest } = serializer({
598
+ rootSchema: _archiveCardRequest,
599
+ depSchemas: {},
600
+ fqdnTransformation: {
601
+ paths: [],
602
+ transformation: _fromVeloEntity,
603
+ },
604
+ customTransformation: requestTransformation,
605
+ });
606
+ const { fromJSON } = serializer({
607
+ rootSchema: _archiveCardResponse,
608
+ depSchemas: {},
609
+ fqdnTransformation: {
610
+ paths: [],
611
+ transformation: _toVeloEntity,
612
+ },
613
+ customTransformation: responseTransformation,
614
+ });
615
+ const payload = toAmbassadorRequest([_id]);
616
+ const reqOpts = ambassadorWixWorkflowsV1Card.archiveCard(payload);
617
+ __log(`"ArchiveCard" sending request with: ${__inspect(reqOpts)}`);
618
+ (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
619
+ try {
620
+ const result = yield httpClient.request(reqOpts);
621
+ (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
622
+ return fromJSON(result.data);
623
+ }
624
+ catch (err) {
625
+ const transformedError = transformError(err, requestTransformation, [
626
+ '_id',
627
+ ]);
628
+ (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
629
+ throw transformedError;
630
+ }
631
+ });
632
+ }
539
633
  //# sourceMappingURL=workflows-v1-card.universal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflows-v1-card.universal.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,4BAA4B,MAAM,0BAA0B,CAAC;AAEzE,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAiE5B,+GAA+G;AAC/G,MAAM,CAAN,IAAY,cAEX;AAFD,WAAY,cAAc;IACxB,6CAA2B,CAAA;AAC7B,CAAC,EAFW,cAAc,KAAd,cAAc,QAEzB;AAqCD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA4JD,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,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,CAAC;A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