n8n-nodes-setforth 1.0.0
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/LICENSE +46 -0
- package/README.md +306 -0
- package/dist/credentials/SetforthOAuth2Api.credentials.d.ts +10 -0
- package/dist/credentials/SetforthOAuth2Api.credentials.js +89 -0
- package/dist/credentials/SetforthOAuth2Api.credentials.js.map +1 -0
- package/dist/nodes/Setforth/GenericFunctions.d.ts +13 -0
- package/dist/nodes/Setforth/GenericFunctions.js +81 -0
- package/dist/nodes/Setforth/GenericFunctions.js.map +1 -0
- package/dist/nodes/Setforth/LicenseNotice.d.ts +5 -0
- package/dist/nodes/Setforth/LicenseNotice.js +26 -0
- package/dist/nodes/Setforth/LicenseNotice.js.map +1 -0
- package/dist/nodes/Setforth/Setforth.node.d.ts +5 -0
- package/dist/nodes/Setforth/Setforth.node.js +324 -0
- package/dist/nodes/Setforth/Setforth.node.js.map +1 -0
- package/dist/nodes/Setforth/SetforthTrigger.node.d.ts +12 -0
- package/dist/nodes/Setforth/SetforthTrigger.node.js +209 -0
- package/dist/nodes/Setforth/SetforthTrigger.node.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/AccountStatementDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/AccountStatementDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/AccountStatementDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/AdminUserDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/AdminUserDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/AdminUserDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/BulkDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/BulkDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/BulkDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/CalendarEventDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/CalendarEventDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/CalendarEventDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/CallDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/CallDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/CallDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/CampaignDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/CampaignDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/CampaignDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ClixsignDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ClixsignDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ClixsignDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactAlertDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactAlertDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactAlertDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactBankingDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactBankingDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactBankingDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactCommunicationDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactCommunicationDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactCommunicationDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactCreditDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactCreditDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactCreditDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactDebtDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactDebtDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactDebtDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactDescription.js +372 -0
- package/dist/nodes/Setforth/descriptions/ContactDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactDocumentDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactDocumentDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactDocumentDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactListDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactListDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactListDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactNoteDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactNoteDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactNoteDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContactWorkflowDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContactWorkflowDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContactWorkflowDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ContentConfigDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ContentConfigDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ContentConfigDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/CreditorDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/CreditorDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/CreditorDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DebtDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DebtDescription.js +252 -0
- package/dist/nodes/Setforth/descriptions/DebtDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DebtNoteDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DebtNoteDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/DebtNoteDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DebtTaskDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DebtTaskDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/DebtTaskDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DocumentDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DocumentDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/DocumentDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DocumentPackageDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DocumentPackageDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/DocumentPackageDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DocumentPackageTemplateDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DocumentPackageTemplateDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/DocumentPackageTemplateDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DocumentTemplateDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DocumentTemplateDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/DocumentTemplateDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/DocumentTypeDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/DocumentTypeDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/DocumentTypeDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/EmailTemplateDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/EmailTemplateDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/EmailTemplateDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/EnrollmentDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/EnrollmentDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/EnrollmentDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/ForthCreditDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/ForthCreditDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/ForthCreditDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/LenderDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/LenderDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/LenderDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/PayeeDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/PayeeDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/PayeeDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/SettlementOfferDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/SettlementOfferDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/SettlementOfferDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/TaskDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/TaskDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/TaskDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/TeamDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/TeamDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/TeamDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/TransactionDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/TransactionDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/TransactionDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/UserDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/UserDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/UserDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/UtilityDescription.d.ts +3 -0
- package/dist/nodes/Setforth/descriptions/UtilityDescription.js +85 -0
- package/dist/nodes/Setforth/descriptions/UtilityDescription.js.map +1 -0
- package/dist/nodes/Setforth/descriptions/index.d.ts +38 -0
- package/dist/nodes/Setforth/descriptions/index.js +61 -0
- package/dist/nodes/Setforth/descriptions/index.js.map +1 -0
- package/dist/nodes/Setforth/setforth.svg +4 -0
- package/package.json +78 -0
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.contactFields = exports.contactOperations = void 0;
|
|
10
|
+
exports.contactOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['contact'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Create',
|
|
24
|
+
value: 'create',
|
|
25
|
+
description: 'Create a new contact',
|
|
26
|
+
action: 'Create a contact',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Delete',
|
|
30
|
+
value: 'delete',
|
|
31
|
+
description: 'Delete a contact',
|
|
32
|
+
action: 'Delete a contact',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get',
|
|
36
|
+
value: 'get',
|
|
37
|
+
description: 'Get a contact by ID',
|
|
38
|
+
action: 'Get a contact',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Get Many',
|
|
42
|
+
value: 'getAll',
|
|
43
|
+
description: 'Get many contacts',
|
|
44
|
+
action: 'Get many contacts',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Get History Feed',
|
|
48
|
+
value: 'getHistoryFeed',
|
|
49
|
+
description: 'Get the history feed for a contact',
|
|
50
|
+
action: 'Get contact history feed',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Search',
|
|
54
|
+
value: 'search',
|
|
55
|
+
description: 'Search for contacts',
|
|
56
|
+
action: 'Search contacts',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'Update',
|
|
60
|
+
value: 'update',
|
|
61
|
+
description: 'Update a contact',
|
|
62
|
+
action: 'Update a contact',
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
default: 'create',
|
|
66
|
+
},
|
|
67
|
+
];
|
|
68
|
+
exports.contactFields = [
|
|
69
|
+
// Create operation fields
|
|
70
|
+
{
|
|
71
|
+
displayName: 'First Name',
|
|
72
|
+
name: 'firstName',
|
|
73
|
+
type: 'string',
|
|
74
|
+
required: true,
|
|
75
|
+
displayOptions: {
|
|
76
|
+
show: {
|
|
77
|
+
resource: ['contact'],
|
|
78
|
+
operation: ['create'],
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
default: '',
|
|
82
|
+
description: 'The first name of the contact',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Last Name',
|
|
86
|
+
name: 'lastName',
|
|
87
|
+
type: 'string',
|
|
88
|
+
required: true,
|
|
89
|
+
displayOptions: {
|
|
90
|
+
show: {
|
|
91
|
+
resource: ['contact'],
|
|
92
|
+
operation: ['create'],
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
default: '',
|
|
96
|
+
description: 'The last name of the contact',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
displayName: 'Additional Fields',
|
|
100
|
+
name: 'additionalFields',
|
|
101
|
+
type: 'collection',
|
|
102
|
+
placeholder: 'Add Field',
|
|
103
|
+
default: {},
|
|
104
|
+
displayOptions: {
|
|
105
|
+
show: {
|
|
106
|
+
resource: ['contact'],
|
|
107
|
+
operation: ['create'],
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
options: [
|
|
111
|
+
{
|
|
112
|
+
displayName: 'Email',
|
|
113
|
+
name: 'email',
|
|
114
|
+
type: 'string',
|
|
115
|
+
placeholder: 'name@email.com',
|
|
116
|
+
default: '',
|
|
117
|
+
description: 'Email address of the contact',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
displayName: 'Phone',
|
|
121
|
+
name: 'phone',
|
|
122
|
+
type: 'string',
|
|
123
|
+
default: '',
|
|
124
|
+
description: 'Phone number of the contact',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
displayName: 'Address',
|
|
128
|
+
name: 'address',
|
|
129
|
+
type: 'string',
|
|
130
|
+
default: '',
|
|
131
|
+
description: 'Street address of the contact',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
displayName: 'City',
|
|
135
|
+
name: 'city',
|
|
136
|
+
type: 'string',
|
|
137
|
+
default: '',
|
|
138
|
+
description: 'City of the contact',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: 'State',
|
|
142
|
+
name: 'state',
|
|
143
|
+
type: 'string',
|
|
144
|
+
default: '',
|
|
145
|
+
description: 'State of the contact',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: 'Zip Code',
|
|
149
|
+
name: 'zip_code',
|
|
150
|
+
type: 'string',
|
|
151
|
+
default: '',
|
|
152
|
+
description: 'Zip code of the contact',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
displayName: 'Date of Birth',
|
|
156
|
+
name: 'date_of_birth',
|
|
157
|
+
type: 'dateTime',
|
|
158
|
+
default: '',
|
|
159
|
+
description: 'Date of birth of the contact',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
displayName: 'SSN',
|
|
163
|
+
name: 'ssn',
|
|
164
|
+
type: 'string',
|
|
165
|
+
default: '',
|
|
166
|
+
description: 'Social Security Number (format: XXX-XX-XXXX)',
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
// Get/Delete/Update operation fields
|
|
171
|
+
{
|
|
172
|
+
displayName: 'Contact ID',
|
|
173
|
+
name: 'contactId',
|
|
174
|
+
type: 'string',
|
|
175
|
+
required: true,
|
|
176
|
+
displayOptions: {
|
|
177
|
+
show: {
|
|
178
|
+
resource: ['contact'],
|
|
179
|
+
operation: ['get', 'update', 'delete', 'getHistoryFeed'],
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
default: '',
|
|
183
|
+
description: 'The ID of the contact',
|
|
184
|
+
},
|
|
185
|
+
// Get All operation fields
|
|
186
|
+
{
|
|
187
|
+
displayName: 'Return All',
|
|
188
|
+
name: 'returnAll',
|
|
189
|
+
type: 'boolean',
|
|
190
|
+
displayOptions: {
|
|
191
|
+
show: {
|
|
192
|
+
resource: ['contact'],
|
|
193
|
+
operation: ['getAll'],
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
default: false,
|
|
197
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
displayName: 'Limit',
|
|
201
|
+
name: 'limit',
|
|
202
|
+
type: 'number',
|
|
203
|
+
displayOptions: {
|
|
204
|
+
show: {
|
|
205
|
+
resource: ['contact'],
|
|
206
|
+
operation: ['getAll'],
|
|
207
|
+
returnAll: [false],
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
typeOptions: {
|
|
211
|
+
minValue: 1,
|
|
212
|
+
maxValue: 100,
|
|
213
|
+
},
|
|
214
|
+
default: 50,
|
|
215
|
+
description: 'Max number of results to return',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
displayName: 'Filters',
|
|
219
|
+
name: 'filters',
|
|
220
|
+
type: 'collection',
|
|
221
|
+
placeholder: 'Add Filter',
|
|
222
|
+
default: {},
|
|
223
|
+
displayOptions: {
|
|
224
|
+
show: {
|
|
225
|
+
resource: ['contact'],
|
|
226
|
+
operation: ['getAll'],
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
options: [
|
|
230
|
+
{
|
|
231
|
+
displayName: 'Created After',
|
|
232
|
+
name: 'created_after',
|
|
233
|
+
type: 'dateTime',
|
|
234
|
+
default: '',
|
|
235
|
+
description: 'Filter contacts created after this date',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
displayName: 'Created Before',
|
|
239
|
+
name: 'created_before',
|
|
240
|
+
type: 'dateTime',
|
|
241
|
+
default: '',
|
|
242
|
+
description: 'Filter contacts created before this date',
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
displayName: 'Status',
|
|
246
|
+
name: 'status',
|
|
247
|
+
type: 'string',
|
|
248
|
+
default: '',
|
|
249
|
+
description: 'Filter by contact status',
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
},
|
|
253
|
+
// Update operation fields
|
|
254
|
+
{
|
|
255
|
+
displayName: 'Update Fields',
|
|
256
|
+
name: 'updateFields',
|
|
257
|
+
type: 'collection',
|
|
258
|
+
placeholder: 'Add Field',
|
|
259
|
+
default: {},
|
|
260
|
+
displayOptions: {
|
|
261
|
+
show: {
|
|
262
|
+
resource: ['contact'],
|
|
263
|
+
operation: ['update'],
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
options: [
|
|
267
|
+
{
|
|
268
|
+
displayName: 'First Name',
|
|
269
|
+
name: 'first_name',
|
|
270
|
+
type: 'string',
|
|
271
|
+
default: '',
|
|
272
|
+
description: 'First name of the contact',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
displayName: 'Last Name',
|
|
276
|
+
name: 'last_name',
|
|
277
|
+
type: 'string',
|
|
278
|
+
default: '',
|
|
279
|
+
description: 'Last name of the contact',
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
displayName: 'Email',
|
|
283
|
+
name: 'email',
|
|
284
|
+
type: 'string',
|
|
285
|
+
placeholder: 'name@email.com',
|
|
286
|
+
default: '',
|
|
287
|
+
description: 'Email address of the contact',
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
displayName: 'Phone',
|
|
291
|
+
name: 'phone',
|
|
292
|
+
type: 'string',
|
|
293
|
+
default: '',
|
|
294
|
+
description: 'Phone number of the contact',
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
displayName: 'Address',
|
|
298
|
+
name: 'address',
|
|
299
|
+
type: 'string',
|
|
300
|
+
default: '',
|
|
301
|
+
description: 'Street address of the contact',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
displayName: 'City',
|
|
305
|
+
name: 'city',
|
|
306
|
+
type: 'string',
|
|
307
|
+
default: '',
|
|
308
|
+
description: 'City of the contact',
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
displayName: 'State',
|
|
312
|
+
name: 'state',
|
|
313
|
+
type: 'string',
|
|
314
|
+
default: '',
|
|
315
|
+
description: 'State of the contact',
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
displayName: 'Zip Code',
|
|
319
|
+
name: 'zip_code',
|
|
320
|
+
type: 'string',
|
|
321
|
+
default: '',
|
|
322
|
+
description: 'Zip code of the contact',
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
},
|
|
326
|
+
// Search operation fields
|
|
327
|
+
{
|
|
328
|
+
displayName: 'Search Parameters',
|
|
329
|
+
name: 'searchParams',
|
|
330
|
+
type: 'collection',
|
|
331
|
+
placeholder: 'Add Search Parameter',
|
|
332
|
+
default: {},
|
|
333
|
+
displayOptions: {
|
|
334
|
+
show: {
|
|
335
|
+
resource: ['contact'],
|
|
336
|
+
operation: ['search'],
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
options: [
|
|
340
|
+
{
|
|
341
|
+
displayName: 'Email',
|
|
342
|
+
name: 'email',
|
|
343
|
+
type: 'string',
|
|
344
|
+
placeholder: 'name@email.com',
|
|
345
|
+
default: '',
|
|
346
|
+
description: 'Search by email address',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
displayName: 'Phone',
|
|
350
|
+
name: 'phone',
|
|
351
|
+
type: 'string',
|
|
352
|
+
default: '',
|
|
353
|
+
description: 'Search by phone number',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
displayName: 'Last Name',
|
|
357
|
+
name: 'last_name',
|
|
358
|
+
type: 'string',
|
|
359
|
+
default: '',
|
|
360
|
+
description: 'Search by last name',
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
displayName: 'SSN',
|
|
364
|
+
name: 'ssn',
|
|
365
|
+
type: 'string',
|
|
366
|
+
default: '',
|
|
367
|
+
description: 'Search by Social Security Number',
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
},
|
|
371
|
+
];
|
|
372
|
+
//# sourceMappingURL=ContactDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/ContactDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,kBAAkB;gBAC/B,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,qBAAqB;gBAClC,MAAM,EAAE,eAAe;aACvB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,mBAAmB;gBAChC,MAAM,EAAE,mBAAmB;aAC3B;YACD;gBACC,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,oCAAoC;gBACjD,MAAM,EAAE,0BAA0B;aAClC;YACD;gBACC,IA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AE,kCAAkC;aAC/C;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.contactDocumentFields = exports.contactDocumentOperations = void 0;
|
|
10
|
+
exports.contactDocumentOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['contactDocument'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get',
|
|
24
|
+
value: 'get',
|
|
25
|
+
description: 'Get contact document',
|
|
26
|
+
action: 'Get contact document',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
description: 'Get many contact documents',
|
|
32
|
+
action: 'Get many contact documents',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: 'get',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.contactDocumentFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'ID',
|
|
41
|
+
name: 'id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: {
|
|
46
|
+
resource: ['contactDocument'],
|
|
47
|
+
operation: ['get'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'The ID of the contact document',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Return All',
|
|
55
|
+
name: 'returnAll',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['contactDocument'],
|
|
60
|
+
operation: ['getAll'],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
default: false,
|
|
64
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Limit',
|
|
68
|
+
name: 'limit',
|
|
69
|
+
type: 'number',
|
|
70
|
+
displayOptions: {
|
|
71
|
+
show: {
|
|
72
|
+
resource: ['contactDocument'],
|
|
73
|
+
operation: ['getAll'],
|
|
74
|
+
returnAll: [false],
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
typeOptions: {
|
|
78
|
+
minValue: 1,
|
|
79
|
+
maxValue: 100,
|
|
80
|
+
},
|
|
81
|
+
default: 50,
|
|
82
|
+
description: 'Max number of results to return',
|
|
83
|
+
},
|
|
84
|
+
];
|
|
85
|
+
//# sourceMappingURL=ContactDocumentDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactDocumentDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/ContactDocumentDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;aAC7B;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,4BAA4B;gBACzC,MAAM,EAAE,4BAA4B;aACpC;SACD;QACD,OAAO,EAAE,KAAK;KACd;CACD,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;KAC7C;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KAC9C;CACD,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.contactListFields = exports.contactListOperations = void 0;
|
|
10
|
+
exports.contactListOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['contactList'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get',
|
|
24
|
+
value: 'get',
|
|
25
|
+
description: 'Get contact list',
|
|
26
|
+
action: 'Get contact list',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
description: 'Get many contact lists',
|
|
32
|
+
action: 'Get many contact lists',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: 'get',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.contactListFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'ID',
|
|
41
|
+
name: 'id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: {
|
|
46
|
+
resource: ['contactList'],
|
|
47
|
+
operation: ['get'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'The ID of the contact list',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Return All',
|
|
55
|
+
name: 'returnAll',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['contactList'],
|
|
60
|
+
operation: ['getAll'],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
default: false,
|
|
64
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Limit',
|
|
68
|
+
name: 'limit',
|
|
69
|
+
type: 'number',
|
|
70
|
+
displayOptions: {
|
|
71
|
+
show: {
|
|
72
|
+
resource: ['contactList'],
|
|
73
|
+
operation: ['getAll'],
|
|
74
|
+
returnAll: [false],
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
typeOptions: {
|
|
78
|
+
minValue: 1,
|
|
79
|
+
maxValue: 100,
|
|
80
|
+
},
|
|
81
|
+
default: 50,
|
|
82
|
+
description: 'Max number of results to return',
|
|
83
|
+
},
|
|
84
|
+
];
|
|
85
|
+
//# sourceMappingURL=ContactListDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactListDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/ContactListDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;aACzB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,kBAAkB;gBAC/B,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,wBAAwB;gBACrC,MAAM,EAAE,wBAAwB;aAChC;SACD;QACD,OAAO,EAAE,KAAK;KACd;CACD,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;KACzC;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KAC9C;CACD,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.contactNoteFields = exports.contactNoteOperations = void 0;
|
|
10
|
+
exports.contactNoteOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['contactNote'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get',
|
|
24
|
+
value: 'get',
|
|
25
|
+
description: 'Get contact note',
|
|
26
|
+
action: 'Get contact note',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
description: 'Get many contact notes',
|
|
32
|
+
action: 'Get many contact notes',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: 'get',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.contactNoteFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'ID',
|
|
41
|
+
name: 'id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: {
|
|
46
|
+
resource: ['contactNote'],
|
|
47
|
+
operation: ['get'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'The ID of the contact note',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Return All',
|
|
55
|
+
name: 'returnAll',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['contactNote'],
|
|
60
|
+
operation: ['getAll'],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
default: false,
|
|
64
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Limit',
|
|
68
|
+
name: 'limit',
|
|
69
|
+
type: 'number',
|
|
70
|
+
displayOptions: {
|
|
71
|
+
show: {
|
|
72
|
+
resource: ['contactNote'],
|
|
73
|
+
operation: ['getAll'],
|
|
74
|
+
returnAll: [false],
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
typeOptions: {
|
|
78
|
+
minValue: 1,
|
|
79
|
+
maxValue: 100,
|
|
80
|
+
},
|
|
81
|
+
default: 50,
|
|
82
|
+
description: 'Max number of results to return',
|
|
83
|
+
},
|
|
84
|
+
];
|
|
85
|
+
//# sourceMappingURL=ContactNoteDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactNoteDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/ContactNoteDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;aACzB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,kBAAkB;gBAC/B,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,wBAAwB;gBACrC,MAAM,EAAE,wBAAwB;aAChC;SACD;QACD,OAAO,EAAE,KAAK;KACd;CACD,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;KACzC;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,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