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,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.contactWorkflowFields = exports.contactWorkflowOperations = void 0;
|
|
10
|
+
exports.contactWorkflowOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['contactWorkflow'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get',
|
|
24
|
+
value: 'get',
|
|
25
|
+
description: 'Get workflow',
|
|
26
|
+
action: 'Get workflow',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
description: 'Get many workflows',
|
|
32
|
+
action: 'Get many workflows',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: 'get',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.contactWorkflowFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'ID',
|
|
41
|
+
name: 'id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: {
|
|
46
|
+
resource: ['contactWorkflow'],
|
|
47
|
+
operation: ['get'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'The ID of the workflow',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Return All',
|
|
55
|
+
name: 'returnAll',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['contactWorkflow'],
|
|
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: ['contactWorkflow'],
|
|
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=ContactWorkflowDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactWorkflowDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/ContactWorkflowDescription.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,cAAc;gBAC3B,MAAM,EAAE,cAAc;aACtB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE,oBAAoB;aAC5B;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,wBAAwB;KACrC;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.contentConfigFields = exports.contentConfigOperations = void 0;
|
|
10
|
+
exports.contentConfigOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['contentConfig'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get',
|
|
24
|
+
value: 'get',
|
|
25
|
+
description: 'Get configuration',
|
|
26
|
+
action: 'Get configuration',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
description: 'Get many configurations',
|
|
32
|
+
action: 'Get many configurations',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: 'get',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.contentConfigFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'ID',
|
|
41
|
+
name: 'id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: {
|
|
46
|
+
resource: ['contentConfig'],
|
|
47
|
+
operation: ['get'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'The ID of the configuration',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Return All',
|
|
55
|
+
name: 'returnAll',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['contentConfig'],
|
|
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: ['contentConfig'],
|
|
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=ContentConfigDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentConfigDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/ContentConfigDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,uBAAuB,GAAsB;IACzD;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,eAAe,CAAC;aAC3B;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,mBAAmB;gBAChC,MAAM,EAAE,mBAAmB;aAC3B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,yBAAyB;gBACtC,MAAM,EAAE,yBAAyB;aACjC;SACD;QACD,OAAO,EAAE,KAAK;KACd;CACD,CAAC;AAEW,QAAA,mBAAmB,GAAsB;IACrD;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,eAAe,CAAC;gBAC3B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,6BAA6B;KAC1C;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,eAAe,CAAC;gBAC3B,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,eAAe,CAAC;gBAC3B,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.creditorFields = exports.creditorOperations = void 0;
|
|
10
|
+
exports.creditorOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['creditor'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get',
|
|
24
|
+
value: 'get',
|
|
25
|
+
description: 'Get creditor',
|
|
26
|
+
action: 'Get creditor',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
description: 'Get many creditors',
|
|
32
|
+
action: 'Get many creditors',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: 'get',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.creditorFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'ID',
|
|
41
|
+
name: 'id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: {
|
|
46
|
+
resource: ['creditor'],
|
|
47
|
+
operation: ['get'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'The ID of the creditor',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Return All',
|
|
55
|
+
name: 'returnAll',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['creditor'],
|
|
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: ['creditor'],
|
|
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=CreditorDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreditorDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/CreditorDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,kBAAkB,GAAsB;IACpD;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,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,cAAc;gBAC3B,MAAM,EAAE,cAAc;aACtB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE,oBAAoB;aAC5B;SACD;QACD,OAAO,EAAE,KAAK;KACd;CACD,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD;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,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;KACrC;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,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,UAAU,CAAC;gBACtB,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,252 @@
|
|
|
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.debtFields = exports.debtOperations = void 0;
|
|
10
|
+
exports.debtOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['debt'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Create',
|
|
24
|
+
value: 'create',
|
|
25
|
+
description: 'Create a new debt',
|
|
26
|
+
action: 'Create a debt',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Delete',
|
|
30
|
+
value: 'delete',
|
|
31
|
+
description: 'Delete a debt',
|
|
32
|
+
action: 'Delete a debt',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get',
|
|
36
|
+
value: 'get',
|
|
37
|
+
description: 'Get a debt by ID',
|
|
38
|
+
action: 'Get a debt',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Get Documents',
|
|
42
|
+
value: 'getDocuments',
|
|
43
|
+
description: 'Get documents for a debt',
|
|
44
|
+
action: 'Get debt documents',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Update',
|
|
48
|
+
value: 'update',
|
|
49
|
+
description: 'Update a debt',
|
|
50
|
+
action: 'Update a debt',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Update Type',
|
|
54
|
+
value: 'updateType',
|
|
55
|
+
description: 'Update debt type',
|
|
56
|
+
action: 'Update debt type',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
default: 'create',
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
exports.debtFields = [
|
|
63
|
+
// Create operation fields
|
|
64
|
+
{
|
|
65
|
+
displayName: 'Contact ID',
|
|
66
|
+
name: 'contactId',
|
|
67
|
+
type: 'string',
|
|
68
|
+
required: true,
|
|
69
|
+
displayOptions: {
|
|
70
|
+
show: {
|
|
71
|
+
resource: ['debt'],
|
|
72
|
+
operation: ['create'],
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
default: '',
|
|
76
|
+
description: 'The ID of the contact this debt belongs to',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
displayName: 'Creditor Name',
|
|
80
|
+
name: 'creditorName',
|
|
81
|
+
type: 'string',
|
|
82
|
+
required: true,
|
|
83
|
+
displayOptions: {
|
|
84
|
+
show: {
|
|
85
|
+
resource: ['debt'],
|
|
86
|
+
operation: ['create'],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
default: '',
|
|
90
|
+
description: 'Name of the creditor',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
displayName: 'Original Balance',
|
|
94
|
+
name: 'originalBalance',
|
|
95
|
+
type: 'number',
|
|
96
|
+
required: true,
|
|
97
|
+
displayOptions: {
|
|
98
|
+
show: {
|
|
99
|
+
resource: ['debt'],
|
|
100
|
+
operation: ['create'],
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
default: 0,
|
|
104
|
+
description: 'Original balance of the debt',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: 'Current Balance',
|
|
108
|
+
name: 'currentBalance',
|
|
109
|
+
type: 'number',
|
|
110
|
+
required: true,
|
|
111
|
+
displayOptions: {
|
|
112
|
+
show: {
|
|
113
|
+
resource: ['debt'],
|
|
114
|
+
operation: ['create'],
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
default: 0,
|
|
118
|
+
description: 'Current balance of the debt',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
displayName: 'Additional Fields',
|
|
122
|
+
name: 'additionalFields',
|
|
123
|
+
type: 'collection',
|
|
124
|
+
placeholder: 'Add Field',
|
|
125
|
+
default: {},
|
|
126
|
+
displayOptions: {
|
|
127
|
+
show: {
|
|
128
|
+
resource: ['debt'],
|
|
129
|
+
operation: ['create'],
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
options: [
|
|
133
|
+
{
|
|
134
|
+
displayName: 'Account Number',
|
|
135
|
+
name: 'account_number',
|
|
136
|
+
type: 'string',
|
|
137
|
+
default: '',
|
|
138
|
+
description: 'Account number for the debt',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: 'Debt Type',
|
|
142
|
+
name: 'debt_type',
|
|
143
|
+
type: 'string',
|
|
144
|
+
default: '',
|
|
145
|
+
description: 'Type of debt (e.g., Credit Card, Medical)',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: 'Interest Rate',
|
|
149
|
+
name: 'interest_rate',
|
|
150
|
+
type: 'number',
|
|
151
|
+
default: 0,
|
|
152
|
+
description: 'Interest rate percentage',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
displayName: 'Minimum Payment',
|
|
156
|
+
name: 'minimum_payment',
|
|
157
|
+
type: 'number',
|
|
158
|
+
default: 0,
|
|
159
|
+
description: 'Minimum monthly payment',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
displayName: 'Last Payment Date',
|
|
163
|
+
name: 'last_payment_date',
|
|
164
|
+
type: 'dateTime',
|
|
165
|
+
default: '',
|
|
166
|
+
description: 'Date of last payment',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
displayName: 'Last Payment Amount',
|
|
170
|
+
name: 'last_payment_amount',
|
|
171
|
+
type: 'number',
|
|
172
|
+
default: 0,
|
|
173
|
+
description: 'Amount of last payment',
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
// Get/Delete/Update operation fields
|
|
178
|
+
{
|
|
179
|
+
displayName: 'Debt ID',
|
|
180
|
+
name: 'debtId',
|
|
181
|
+
type: 'string',
|
|
182
|
+
required: true,
|
|
183
|
+
displayOptions: {
|
|
184
|
+
show: {
|
|
185
|
+
resource: ['debt'],
|
|
186
|
+
operation: ['get', 'update', 'delete', 'getDocuments', 'updateType'],
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
default: '',
|
|
190
|
+
description: 'The ID of the debt',
|
|
191
|
+
},
|
|
192
|
+
// Update operation fields
|
|
193
|
+
{
|
|
194
|
+
displayName: 'Update Fields',
|
|
195
|
+
name: 'updateFields',
|
|
196
|
+
type: 'collection',
|
|
197
|
+
placeholder: 'Add Field',
|
|
198
|
+
default: {},
|
|
199
|
+
displayOptions: {
|
|
200
|
+
show: {
|
|
201
|
+
resource: ['debt'],
|
|
202
|
+
operation: ['update'],
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
options: [
|
|
206
|
+
{
|
|
207
|
+
displayName: 'Current Balance',
|
|
208
|
+
name: 'current_balance',
|
|
209
|
+
type: 'number',
|
|
210
|
+
default: 0,
|
|
211
|
+
description: 'Current balance of the debt',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
displayName: 'Status',
|
|
215
|
+
name: 'status',
|
|
216
|
+
type: 'string',
|
|
217
|
+
default: '',
|
|
218
|
+
description: 'Status of the debt',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
displayName: 'Creditor Name',
|
|
222
|
+
name: 'creditor_name',
|
|
223
|
+
type: 'string',
|
|
224
|
+
default: '',
|
|
225
|
+
description: 'Name of the creditor',
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
displayName: 'Account Number',
|
|
229
|
+
name: 'account_number',
|
|
230
|
+
type: 'string',
|
|
231
|
+
default: '',
|
|
232
|
+
description: 'Account number',
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
},
|
|
236
|
+
// Update Type fields
|
|
237
|
+
{
|
|
238
|
+
displayName: 'New Type',
|
|
239
|
+
name: 'newType',
|
|
240
|
+
type: 'string',
|
|
241
|
+
required: true,
|
|
242
|
+
displayOptions: {
|
|
243
|
+
show: {
|
|
244
|
+
resource: ['debt'],
|
|
245
|
+
operation: ['updateType'],
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
default: '',
|
|
249
|
+
description: 'The new debt type',
|
|
250
|
+
},
|
|
251
|
+
];
|
|
252
|
+
//# sourceMappingURL=DebtDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebtDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/DebtDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,cAAc,GAAsB;IAChD;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,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,mBAAmB;g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D;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,oBAAoB;aACjC;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,sBAAsB;aACnC;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gBAAgB;aAC7B;SACD;KACD;IACD,qBAAqB;IACrB;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,YAAY,CAAC;aACzB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mBAAmB;KAChC;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.debtNoteFields = exports.debtNoteOperations = void 0;
|
|
10
|
+
exports.debtNoteOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['debtNote'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get',
|
|
24
|
+
value: 'get',
|
|
25
|
+
description: 'Get debt note',
|
|
26
|
+
action: 'Get debt note',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
description: 'Get many debt notes',
|
|
32
|
+
action: 'Get many debt notes',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
default: 'get',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.debtNoteFields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'ID',
|
|
41
|
+
name: 'id',
|
|
42
|
+
type: 'string',
|
|
43
|
+
required: true,
|
|
44
|
+
displayOptions: {
|
|
45
|
+
show: {
|
|
46
|
+
resource: ['debtNote'],
|
|
47
|
+
operation: ['get'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'The ID of the debt note',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Return All',
|
|
55
|
+
name: 'returnAll',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
resource: ['debtNote'],
|
|
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: ['debtNote'],
|
|
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=DebtNoteDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebtNoteDescription.js","sourceRoot":"","sources":["../../../../nodes/Setforth/descriptions/DebtNoteDescription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,kBAAkB,GAAsB;IACpD;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,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,eAAe;gBAC5B,MAAM,EAAE,eAAe;aACvB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,qBAAqB;gBAClC,MAAM,EAAE,qBAAqB;aAC7B;SACD;QACD,OAAO,EAAE,KAAK;KACd;CACD,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD;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,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yBAAyB;KACtC;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAA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