@wix/workflows 1.0.19 → 1.0.21
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
|
@@ -1,337 +0,0 @@
|
|
|
1
|
-
export interface Card {
|
|
2
|
-
/** Card details. */
|
|
3
|
-
info?: CardInfo;
|
|
4
|
-
}
|
|
5
|
-
/** entity representing a card-info */
|
|
6
|
-
export interface CardInfo {
|
|
7
|
-
/**
|
|
8
|
-
* Card ID.
|
|
9
|
-
* @readonly
|
|
10
|
-
*/
|
|
11
|
-
id?: string | null;
|
|
12
|
-
/** Display name shown at the top of the card. */
|
|
13
|
-
name?: string | null;
|
|
14
|
-
/** Card description. */
|
|
15
|
-
description?: string | null;
|
|
16
|
-
/** Details about the contact attached to the card. */
|
|
17
|
-
primaryAttachment?: Attachment;
|
|
18
|
-
/** Due date. */
|
|
19
|
-
dueDate?: Date;
|
|
20
|
-
/** Name of the app or service that created the contact. */
|
|
21
|
-
source?: string | null;
|
|
22
|
-
/**
|
|
23
|
-
* Deprecated. Use `createdDate` instead.
|
|
24
|
-
* @readonly
|
|
25
|
-
*/
|
|
26
|
-
createdAt?: Date;
|
|
27
|
-
/**
|
|
28
|
-
* Deprecated. Use `updatedDate` instead.
|
|
29
|
-
* @readonly
|
|
30
|
-
*/
|
|
31
|
-
updatedAt?: Date;
|
|
32
|
-
/**
|
|
33
|
-
* ID of the phase that currently holds the card.
|
|
34
|
-
* @readonly
|
|
35
|
-
*/
|
|
36
|
-
phaseId?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
* Date and time the card was created.
|
|
39
|
-
* @readonly
|
|
40
|
-
*/
|
|
41
|
-
createdDate?: Date;
|
|
42
|
-
/**
|
|
43
|
-
* Date and time the card was updated.
|
|
44
|
-
* @readonly
|
|
45
|
-
*/
|
|
46
|
-
updatedDate?: Date;
|
|
47
|
-
}
|
|
48
|
-
export interface Attachment {
|
|
49
|
-
/**
|
|
50
|
-
* Attachment ID. For internal use.
|
|
51
|
-
* @readonly
|
|
52
|
-
*/
|
|
53
|
-
attachmentId?: string;
|
|
54
|
-
/** Deprecated. Use `contactId` instead. */
|
|
55
|
-
value?: string;
|
|
56
|
-
/** Deprecated. For internal use. */
|
|
57
|
-
attachmentType?: AttachmentType;
|
|
58
|
-
/** ID of the contact attached to the card. */
|
|
59
|
-
contactId?: string;
|
|
60
|
-
}
|
|
61
|
-
/** describes the supported types of attachments (currently only supports Contact which is the default type) */
|
|
62
|
-
export declare enum AttachmentType {
|
|
63
|
-
ContactType = "ContactType"
|
|
64
|
-
}
|
|
65
|
-
export interface QueryCardsRequest {
|
|
66
|
-
/** Query, sort, and paging options. */
|
|
67
|
-
query?: Query;
|
|
68
|
-
}
|
|
69
|
-
export interface Query {
|
|
70
|
-
/**
|
|
71
|
-
* Filter object in the following format:
|
|
72
|
-
* `"filter" : {
|
|
73
|
-
* "fieldName1": "value1",
|
|
74
|
-
* "fieldName2":{"$operator":"value2"}
|
|
75
|
-
* }`
|
|
76
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
77
|
-
*/
|
|
78
|
-
filter?: any;
|
|
79
|
-
/**
|
|
80
|
-
* Sort object in the following format:
|
|
81
|
-
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
82
|
-
*/
|
|
83
|
-
sort?: Sorting[];
|
|
84
|
-
/** Paging options to limit and skip the number of items. */
|
|
85
|
-
paging?: Paging;
|
|
86
|
-
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
87
|
-
fields?: string[];
|
|
88
|
-
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
89
|
-
fieldsets?: string[];
|
|
90
|
-
}
|
|
91
|
-
export interface Sorting {
|
|
92
|
-
/** Name of the field to sort by. */
|
|
93
|
-
fieldName?: string;
|
|
94
|
-
/** Sort order. */
|
|
95
|
-
order?: SortOrder;
|
|
96
|
-
}
|
|
97
|
-
export declare enum SortOrder {
|
|
98
|
-
ASC = "ASC",
|
|
99
|
-
DESC = "DESC"
|
|
100
|
-
}
|
|
101
|
-
export interface Paging {
|
|
102
|
-
/** Number of items to load. */
|
|
103
|
-
limit?: number | null;
|
|
104
|
-
/** Number of items to skip in the current sort order. */
|
|
105
|
-
offset?: number | null;
|
|
106
|
-
}
|
|
107
|
-
export interface QueryCardsResponse {
|
|
108
|
-
/** List of cards that matched the query criteria. */
|
|
109
|
-
cards?: Card[];
|
|
110
|
-
/** Metadata for the page of results. */
|
|
111
|
-
pagination?: PaginationResponse;
|
|
112
|
-
}
|
|
113
|
-
export interface PaginationResponse {
|
|
114
|
-
/** Number of items that were skipped in the current sort order. */
|
|
115
|
-
offset?: number;
|
|
116
|
-
/** Total number of items that matched the filter. */
|
|
117
|
-
total?: number;
|
|
118
|
-
/** Number of returned items. */
|
|
119
|
-
count?: number;
|
|
120
|
-
}
|
|
121
|
-
export interface ListCardsRequest {
|
|
122
|
-
/** ID of the workflow whose cards will be listed. */
|
|
123
|
-
workflowId: string;
|
|
124
|
-
/** Filters for cards in the specified phase. */
|
|
125
|
-
phaseId?: string | null;
|
|
126
|
-
/**
|
|
127
|
-
* Number of items to return.
|
|
128
|
-
*
|
|
129
|
-
* Defaults to `50`.
|
|
130
|
-
*/
|
|
131
|
-
limit?: number | null;
|
|
132
|
-
/**
|
|
133
|
-
* Number of items to skip in the current sort order.
|
|
134
|
-
*
|
|
135
|
-
* Defaults to `0`.
|
|
136
|
-
*/
|
|
137
|
-
offset?: number | null;
|
|
138
|
-
/** Filters for cards with the specified contact ID. */
|
|
139
|
-
attachmentValue?: string | null;
|
|
140
|
-
/**
|
|
141
|
-
* Filters for archived cards.
|
|
142
|
-
* If set to `true`,
|
|
143
|
-
* only archived cards are returned.
|
|
144
|
-
* If set to `false`,
|
|
145
|
-
* only cards that are not archived are returned.
|
|
146
|
-
*
|
|
147
|
-
* Defaults to `false`.
|
|
148
|
-
*/
|
|
149
|
-
fetchArchived?: boolean | null;
|
|
150
|
-
/**
|
|
151
|
-
* Supported fields:
|
|
152
|
-
* `id`, `name`, `createdDate`, `updatedDate`, `phaseId`
|
|
153
|
-
*
|
|
154
|
-
* List of fields to sort by.
|
|
155
|
-
* Formatted as `field:direction`,
|
|
156
|
-
* where field is the field name
|
|
157
|
-
* and direction is `asc` (ascending) or `desc` (descending).
|
|
158
|
-
*
|
|
159
|
-
* Sorting is applied lexicographically, so `"abc"` comes after `"XYZ"`.
|
|
160
|
-
*/
|
|
161
|
-
sort?: string[];
|
|
162
|
-
}
|
|
163
|
-
export interface ListCardsResponse {
|
|
164
|
-
/** List of cards. */
|
|
165
|
-
cards?: Card[];
|
|
166
|
-
/** Metadata for the page of results. */
|
|
167
|
-
pagination?: PaginationResponse;
|
|
168
|
-
}
|
|
169
|
-
export interface GetCardRequest {
|
|
170
|
-
/** ID of the card to retrieve. */
|
|
171
|
-
id: string;
|
|
172
|
-
}
|
|
173
|
-
export interface GetCardResponse {
|
|
174
|
-
/** Requested card. */
|
|
175
|
-
card?: Card;
|
|
176
|
-
}
|
|
177
|
-
export interface UpdateCardRequest {
|
|
178
|
-
/** ID of the card to update. */
|
|
179
|
-
id: string;
|
|
180
|
-
/** Card details. */
|
|
181
|
-
cardInfo?: CardInfo;
|
|
182
|
-
}
|
|
183
|
-
export interface UpdateCardResponse {
|
|
184
|
-
}
|
|
185
|
-
export interface CreateCardRequest {
|
|
186
|
-
/** ID of the workflow to create the card in. */
|
|
187
|
-
workflowId: string;
|
|
188
|
-
/** ID of the phase to create the card in. */
|
|
189
|
-
phaseId: string;
|
|
190
|
-
/** Card details. */
|
|
191
|
-
card?: CardInfo;
|
|
192
|
-
/**
|
|
193
|
-
* Card position, where the first card is `0`.
|
|
194
|
-
*
|
|
195
|
-
* If a card already occupies the specified position,
|
|
196
|
-
* that card and any subsequent cards are shifted to the right by 1.
|
|
197
|
-
*
|
|
198
|
-
* Defaults to the last position.
|
|
199
|
-
*/
|
|
200
|
-
position?: number | null;
|
|
201
|
-
}
|
|
202
|
-
export interface CreateCardResponse {
|
|
203
|
-
/** ID of the newly created card. */
|
|
204
|
-
id?: string | null;
|
|
205
|
-
}
|
|
206
|
-
export interface DeleteCardRequest {
|
|
207
|
-
/** ID of the card to delete. */
|
|
208
|
-
id: string;
|
|
209
|
-
}
|
|
210
|
-
export interface DeleteCardResponse {
|
|
211
|
-
}
|
|
212
|
-
export interface MoveCardRequest {
|
|
213
|
-
/** ID of the card to move. */
|
|
214
|
-
id: string;
|
|
215
|
-
/** ID of the phase to move the card to. */
|
|
216
|
-
newPhaseId?: string | null;
|
|
217
|
-
/** Position of the card in the phase, where the first card is `0`. */
|
|
218
|
-
newPosition?: number | null;
|
|
219
|
-
}
|
|
220
|
-
export interface MoveCardResponse {
|
|
221
|
-
}
|
|
222
|
-
export interface RestoreCardRequest {
|
|
223
|
-
/** ID of the card to restore. */
|
|
224
|
-
id: string;
|
|
225
|
-
/** ID of the phase to restore the card to. */
|
|
226
|
-
newPhaseId: string;
|
|
227
|
-
/**
|
|
228
|
-
* Position of the restored card in the phase,
|
|
229
|
-
* where the first card is `0`.
|
|
230
|
-
*/
|
|
231
|
-
newPosition?: number | null;
|
|
232
|
-
}
|
|
233
|
-
export interface RestoreCardResponse {
|
|
234
|
-
}
|
|
235
|
-
export interface ArchiveCardRequest {
|
|
236
|
-
/** ID of the card to archive. */
|
|
237
|
-
id: string;
|
|
238
|
-
}
|
|
239
|
-
export interface ArchiveCardResponse {
|
|
240
|
-
}
|
|
241
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
242
|
-
createdEvent?: EntityCreatedEvent;
|
|
243
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
244
|
-
deletedEvent?: EntityDeletedEvent;
|
|
245
|
-
actionEvent?: ActionEvent;
|
|
246
|
-
/**
|
|
247
|
-
* Unique event ID.
|
|
248
|
-
* Allows clients to ignore duplicate webhooks.
|
|
249
|
-
*/
|
|
250
|
-
id?: string;
|
|
251
|
-
/**
|
|
252
|
-
* Assumes actions are also always typed to an entity_type
|
|
253
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
254
|
-
*/
|
|
255
|
-
entityFqdn?: string;
|
|
256
|
-
/**
|
|
257
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
258
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
259
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
260
|
-
*/
|
|
261
|
-
slug?: string;
|
|
262
|
-
/** ID of the entity associated with the event. */
|
|
263
|
-
entityId?: string;
|
|
264
|
-
/** Event timestamp. */
|
|
265
|
-
eventTime?: Date;
|
|
266
|
-
/**
|
|
267
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
268
|
-
* (for example, GDPR).
|
|
269
|
-
*/
|
|
270
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
271
|
-
/** If present, indicates the action that triggered the event. */
|
|
272
|
-
originatedFrom?: string | null;
|
|
273
|
-
/**
|
|
274
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
275
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
276
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
277
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
278
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
279
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
280
|
-
*/
|
|
281
|
-
entityEventSequence?: string | null;
|
|
282
|
-
}
|
|
283
|
-
/** @oneof */
|
|
284
|
-
export interface DomainEventBodyOneOf {
|
|
285
|
-
createdEvent?: EntityCreatedEvent;
|
|
286
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
287
|
-
deletedEvent?: EntityDeletedEvent;
|
|
288
|
-
actionEvent?: ActionEvent;
|
|
289
|
-
}
|
|
290
|
-
export interface EntityCreatedEvent {
|
|
291
|
-
entityAsJson?: string;
|
|
292
|
-
}
|
|
293
|
-
export interface EntityUpdatedEvent {
|
|
294
|
-
/**
|
|
295
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
296
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
297
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
298
|
-
*/
|
|
299
|
-
currentEntityAsJson?: string;
|
|
300
|
-
}
|
|
301
|
-
export interface EntityDeletedEvent {
|
|
302
|
-
/** Entity that was deleted */
|
|
303
|
-
deletedEntityAsJson?: string | null;
|
|
304
|
-
}
|
|
305
|
-
export interface ActionEvent {
|
|
306
|
-
bodyAsJson?: string;
|
|
307
|
-
}
|
|
308
|
-
export interface ListCardsResponseNonNullableFields {
|
|
309
|
-
cards: {
|
|
310
|
-
info?: {
|
|
311
|
-
primaryAttachment?: {
|
|
312
|
-
attachmentId: string;
|
|
313
|
-
value: string;
|
|
314
|
-
attachmentType: AttachmentType;
|
|
315
|
-
contactId: string;
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
}[];
|
|
319
|
-
pagination?: {
|
|
320
|
-
offset: number;
|
|
321
|
-
limit: number;
|
|
322
|
-
total: number;
|
|
323
|
-
count: number;
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
export interface GetCardResponseNonNullableFields {
|
|
327
|
-
card?: {
|
|
328
|
-
info?: {
|
|
329
|
-
primaryAttachment?: {
|
|
330
|
-
attachmentId: string;
|
|
331
|
-
value: string;
|
|
332
|
-
attachmentType: AttachmentType;
|
|
333
|
-
contactId: string;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** describes the supported types of attachments (currently only supports Contact which is the default type) */
|
|
2
|
-
export var AttachmentType;
|
|
3
|
-
(function (AttachmentType) {
|
|
4
|
-
AttachmentType["ContactType"] = "ContactType";
|
|
5
|
-
})(AttachmentType || (AttachmentType = {}));
|
|
6
|
-
export var SortOrder;
|
|
7
|
-
(function (SortOrder) {
|
|
8
|
-
SortOrder["ASC"] = "ASC";
|
|
9
|
-
SortOrder["DESC"] = "DESC";
|
|
10
|
-
})(SortOrder || (SortOrder = {}));
|
|
11
|
-
//# sourceMappingURL=workflows-v1-card.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflows-v1-card.types.js","sourceRoot":"","sources":["../../../src/workflows-v1-card.types.ts"],"names":[],"mappings":"AA+DA,+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"}
|