n8n-nodes-paymenter 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/credentials/PaymenterApi.credentials.d.ts +4 -1
- package/dist/credentials/PaymenterApi.credentials.d.ts.map +1 -1
- package/dist/credentials/PaymenterApi.credentials.js +7 -4
- package/dist/credentials/PaymenterApi.credentials.js.map +1 -1
- package/dist/nodes/Paymenter/Paymenter.node.d.ts.map +1 -1
- package/dist/nodes/Paymenter/Paymenter.node.js +384 -270
- package/dist/nodes/Paymenter/Paymenter.node.js.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymenterApi.credentials.d.ts","sourceRoot":"","sources":["../../src/credentials/PaymenterApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,eAAe,
|
|
1
|
+
{"version":3,"file":"PaymenterApi.credentials.d.ts","sourceRoot":"","sources":["../../src/credentials/PaymenterApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,YAAa,YAAW,eAAe;IACnD,IAAI,SAAkB;IACtB,WAAW,SAAmB;IAC9B,gBAAgB,SAAiC;IACjD,UAAU,EAAE,eAAe,EAAE,CAsB3B;IAEF,IAAI;;;;;;;;;MASF;CACF"}
|
|
@@ -13,7 +13,7 @@ class PaymenterApi {
|
|
|
13
13
|
type: 'string',
|
|
14
14
|
default: 'https://paymenter.example.com',
|
|
15
15
|
placeholder: 'https://your-paymenter-instance.com',
|
|
16
|
-
description: '
|
|
16
|
+
description: 'Your Paymenter instance URL (e.g., https://dash.breezehost.xyz). Do NOT include /api or /v1',
|
|
17
17
|
required: true,
|
|
18
18
|
},
|
|
19
19
|
{
|
|
@@ -25,15 +25,18 @@ class PaymenterApi {
|
|
|
25
25
|
},
|
|
26
26
|
default: '',
|
|
27
27
|
placeholder: 'Your API Bearer Token',
|
|
28
|
-
description: '
|
|
28
|
+
description: 'Generate from Admin Panel → Settings → API. Your token must have access to admin endpoints.',
|
|
29
29
|
required: true,
|
|
30
30
|
},
|
|
31
31
|
];
|
|
32
32
|
this.test = {
|
|
33
33
|
request: {
|
|
34
34
|
baseURL: '={{$credentials.apiUrl}}',
|
|
35
|
-
url: '/v1/admin/
|
|
36
|
-
|
|
35
|
+
url: '/api/v1/admin/users?per_page=1',
|
|
36
|
+
headers: {
|
|
37
|
+
Authorization: '=Bearer {{$credentials.apiToken}}',
|
|
38
|
+
'Content-Type': 'application/json',
|
|
39
|
+
},
|
|
37
40
|
},
|
|
38
41
|
};
|
|
39
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymenterApi.credentials.js","sourceRoot":"","sources":["../../src/credentials/PaymenterApi.credentials.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PaymenterApi.credentials.js","sourceRoot":"","sources":["../../src/credentials/PaymenterApi.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QACtB,gBAAW,GAAG,eAAe,CAAC;QAC9B,qBAAgB,GAAG,6BAA6B,CAAC;QACjD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,+BAA+B;gBACxC,WAAW,EAAE,qCAAqC;gBAClD,WAAW,EAAE,6FAA6F;gBAC1G,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,uBAAuB;gBACpC,WAAW,EAAE,6FAA6F;gBAC1G,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QAEF,SAAI,GAAG;YACN,OAAO,EAAE;gBACR,OAAO,EAAE,0BAA0B;gBACnC,GAAG,EAAE,gCAAgC;gBACrC,OAAO,EAAE;oBACR,aAAa,EAAE,mCAAmC;oBAClD,cAAc,EAAE,kBAAkB;iBAClC;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAtCD,oCAsCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paymenter.node.d.ts","sourceRoot":"","sources":["../../../src/nodes/Paymenter/Paymenter.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,
|
|
1
|
+
{"version":3,"file":"Paymenter.node.d.ts","sourceRoot":"","sources":["../../../src/nodes/Paymenter/Paymenter.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAEpB,MAAM,cAAc,CAAC;AAEtB,qBAAa,SAAU,YAAW,SAAS;IAC1C,WAAW,EAAE,oBAAoB,CAiY/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CA2LvE"}
|
|
@@ -14,7 +14,7 @@ class Paymenter {
|
|
|
14
14
|
description: 'Interact with Paymenter API',
|
|
15
15
|
defaults: {
|
|
16
16
|
name: 'Paymenter',
|
|
17
|
-
color: '#
|
|
17
|
+
color: '#4060FF',
|
|
18
18
|
},
|
|
19
19
|
inputs: ['main'],
|
|
20
20
|
outputs: ['main'],
|
|
@@ -31,284 +31,358 @@ class Paymenter {
|
|
|
31
31
|
type: 'options',
|
|
32
32
|
noDataExpression: true,
|
|
33
33
|
options: [
|
|
34
|
-
{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: 'Invoice Items',
|
|
48
|
-
value: 'invoiceItems',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: 'Invoices',
|
|
52
|
-
value: 'invoices',
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
name: 'Orders',
|
|
56
|
-
value: 'orders',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: 'Products',
|
|
60
|
-
value: 'products',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: 'Services',
|
|
64
|
-
value: 'services',
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: 'Ticket Messages',
|
|
68
|
-
value: 'ticketMessages',
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: 'Tickets',
|
|
72
|
-
value: 'tickets',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: 'Users',
|
|
76
|
-
value: 'users',
|
|
77
|
-
},
|
|
34
|
+
{ name: 'Affiliates', value: 'affiliates' },
|
|
35
|
+
{ name: 'Categories', value: 'categories' },
|
|
36
|
+
{ name: 'Credits', value: 'credits' },
|
|
37
|
+
{ name: 'Invoice Items', value: 'invoiceItems' },
|
|
38
|
+
{ name: 'Invoices', value: 'invoices' },
|
|
39
|
+
{ name: 'Orders', value: 'orders' },
|
|
40
|
+
{ name: 'Products', value: 'products' },
|
|
41
|
+
{ name: 'Services', value: 'services' },
|
|
42
|
+
{ name: 'Ticket Messages', value: 'ticketMessages' },
|
|
43
|
+
{ name: 'Tickets', value: 'tickets' },
|
|
44
|
+
{ name: 'Users', value: 'users' },
|
|
78
45
|
],
|
|
79
|
-
default: '
|
|
46
|
+
default: 'users',
|
|
80
47
|
},
|
|
81
48
|
{
|
|
82
49
|
displayName: 'Operation',
|
|
83
50
|
name: 'operation',
|
|
84
51
|
type: 'options',
|
|
85
52
|
noDataExpression: true,
|
|
53
|
+
options: [
|
|
54
|
+
{ name: 'Create New', value: 'create', description: 'Create a new record', action: 'Create a new record' },
|
|
55
|
+
{ name: 'Delete', value: 'delete', description: 'Delete a record', action: 'Delete a record' },
|
|
56
|
+
{ name: 'Get', value: 'get', description: 'Retrieve a specific record', action: 'Get a record' },
|
|
57
|
+
{ name: 'List', value: 'list', description: 'List all records', action: 'List all records' },
|
|
58
|
+
{ name: 'Update', value: 'update', description: 'Update a record', action: 'Update a record' },
|
|
59
|
+
],
|
|
60
|
+
default: 'list',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Record ID',
|
|
64
|
+
name: 'resourceId',
|
|
65
|
+
type: 'string',
|
|
66
|
+
default: '',
|
|
67
|
+
required: false,
|
|
86
68
|
displayOptions: {
|
|
87
69
|
show: {
|
|
88
|
-
|
|
70
|
+
operation: ['get', 'update', 'delete'],
|
|
89
71
|
},
|
|
90
72
|
},
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
73
|
+
placeholder: 'e.g., 123',
|
|
74
|
+
description: 'The ID of the record to retrieve, update, or delete',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Include Related Data',
|
|
78
|
+
name: 'include',
|
|
79
|
+
type: 'string',
|
|
80
|
+
default: '',
|
|
81
|
+
displayOptions: {
|
|
82
|
+
show: {
|
|
83
|
+
operation: ['list', 'get'],
|
|
97
84
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
85
|
+
},
|
|
86
|
+
placeholder: 'e.g., relationships, metadata',
|
|
87
|
+
description: 'Comma-separated list of related data to include',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
displayName: 'Pagination',
|
|
91
|
+
name: 'pagination',
|
|
92
|
+
type: 'collection',
|
|
93
|
+
displayOptions: {
|
|
94
|
+
show: {
|
|
95
|
+
operation: ['list'],
|
|
103
96
|
},
|
|
97
|
+
},
|
|
98
|
+
default: {},
|
|
99
|
+
placeholder: 'Add Pagination',
|
|
100
|
+
options: [
|
|
104
101
|
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
displayName: 'Return All Results',
|
|
103
|
+
name: 'returnAll',
|
|
104
|
+
type: 'boolean',
|
|
105
|
+
default: true,
|
|
106
|
+
description: 'Return all results or use pagination',
|
|
109
107
|
},
|
|
110
108
|
{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
displayName: 'Results Per Page',
|
|
110
|
+
name: 'perPage',
|
|
111
|
+
type: 'number',
|
|
112
|
+
default: 15,
|
|
113
|
+
displayOptions: {
|
|
114
|
+
show: {
|
|
115
|
+
returnAll: [false],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
description: 'Number of results to return per page',
|
|
115
119
|
},
|
|
116
120
|
{
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
+
displayName: 'Page Number',
|
|
122
|
+
name: 'page',
|
|
123
|
+
type: 'number',
|
|
124
|
+
default: 1,
|
|
125
|
+
displayOptions: {
|
|
126
|
+
show: {
|
|
127
|
+
returnAll: [false],
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
description: 'Which page of results to return',
|
|
121
131
|
},
|
|
122
132
|
],
|
|
123
|
-
default: 'list',
|
|
124
133
|
},
|
|
125
134
|
{
|
|
126
|
-
displayName: '
|
|
127
|
-
name: '
|
|
128
|
-
type: '
|
|
129
|
-
noDataExpression: true,
|
|
135
|
+
displayName: 'Sorting',
|
|
136
|
+
name: 'sorting',
|
|
137
|
+
type: 'collection',
|
|
130
138
|
displayOptions: {
|
|
131
139
|
show: {
|
|
132
|
-
|
|
140
|
+
operation: ['list'],
|
|
133
141
|
},
|
|
134
142
|
},
|
|
143
|
+
default: {},
|
|
144
|
+
placeholder: 'Add Sorting',
|
|
135
145
|
options: [
|
|
136
146
|
{
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
147
|
+
displayName: 'Sort By Field',
|
|
148
|
+
name: 'sortBy',
|
|
149
|
+
type: 'string',
|
|
150
|
+
default: '',
|
|
151
|
+
placeholder: 'e.g., id, created_at, name',
|
|
152
|
+
description: 'Field name to sort by',
|
|
141
153
|
},
|
|
142
154
|
{
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
155
|
+
displayName: 'Sort Order',
|
|
156
|
+
name: 'sortOrder',
|
|
157
|
+
type: 'options',
|
|
158
|
+
default: 'asc',
|
|
159
|
+
options: [
|
|
160
|
+
{ name: 'Ascending', value: 'asc' },
|
|
161
|
+
{ name: 'Descending', value: 'desc' },
|
|
162
|
+
],
|
|
163
|
+
description: 'Sort direction',
|
|
147
164
|
},
|
|
148
165
|
],
|
|
149
|
-
default: 'list',
|
|
150
166
|
},
|
|
151
167
|
{
|
|
152
|
-
displayName: '
|
|
153
|
-
name: '
|
|
154
|
-
type: '
|
|
155
|
-
noDataExpression: true,
|
|
168
|
+
displayName: 'Filters',
|
|
169
|
+
name: 'filters',
|
|
170
|
+
type: 'collection',
|
|
156
171
|
displayOptions: {
|
|
157
172
|
show: {
|
|
158
|
-
|
|
173
|
+
operation: ['list'],
|
|
159
174
|
},
|
|
160
175
|
},
|
|
176
|
+
default: {},
|
|
177
|
+
placeholder: 'Add Filter',
|
|
161
178
|
options: [
|
|
162
179
|
{
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
name: 'Delete',
|
|
170
|
-
value: 'delete',
|
|
171
|
-
description: 'Delete a resource',
|
|
172
|
-
action: 'Delete resource',
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
name: 'Get',
|
|
176
|
-
value: 'get',
|
|
177
|
-
description: 'Retrieve a specific resource',
|
|
178
|
-
action: 'Get resource',
|
|
180
|
+
displayName: 'Filter Field',
|
|
181
|
+
name: 'filterType',
|
|
182
|
+
type: 'string',
|
|
183
|
+
default: '',
|
|
184
|
+
placeholder: 'e.g., status, user_id, email',
|
|
185
|
+
description: 'Field name to filter by',
|
|
179
186
|
},
|
|
180
187
|
{
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
188
|
+
displayName: 'Filter Value',
|
|
189
|
+
name: 'filterValue',
|
|
190
|
+
type: 'string',
|
|
191
|
+
default: '',
|
|
192
|
+
placeholder: 'e.g., active, 123, user@example.com',
|
|
193
|
+
description: 'Value to filter by',
|
|
185
194
|
},
|
|
186
195
|
],
|
|
187
|
-
default: 'list',
|
|
188
196
|
},
|
|
189
197
|
{
|
|
190
|
-
displayName: '
|
|
191
|
-
name: '
|
|
192
|
-
type: '
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
198
|
+
displayName: 'User Fields',
|
|
199
|
+
name: 'userFields',
|
|
200
|
+
type: 'collection',
|
|
201
|
+
displayOptions: {
|
|
202
|
+
show: {
|
|
203
|
+
resource: ['users'],
|
|
204
|
+
operation: ['create', 'update'],
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
default: {},
|
|
208
|
+
placeholder: 'Add Field',
|
|
209
|
+
options: [
|
|
210
|
+
{ displayName: 'Email', name: 'email', type: 'string', default: '', description: 'User email address' },
|
|
211
|
+
{ displayName: 'First Name', name: 'firstName', type: 'string', default: '', description: 'User first name' },
|
|
212
|
+
{ displayName: 'Last Name', name: 'lastName', type: 'string', default: '', description: 'User last name' },
|
|
213
|
+
{ displayName: 'Username', name: 'username', type: 'string', default: '', description: 'Unique username' },
|
|
214
|
+
{ displayName: 'Password', name: 'password', type: 'string', default: '', description: 'User password' },
|
|
215
|
+
{ displayName: 'Status', name: 'status', type: 'options', default: 'active', options: [{ name: 'Active', value: 'active' }, { name: 'Inactive', value: 'inactive' }], description: 'User status' },
|
|
216
|
+
{ displayName: 'Credit', name: 'credit', type: 'number', default: 0, description: 'User account credit' },
|
|
217
|
+
],
|
|
197
218
|
},
|
|
198
219
|
{
|
|
199
|
-
displayName: '
|
|
200
|
-
name: '
|
|
201
|
-
|
|
202
|
-
description: 'The body parameters for create/update operations',
|
|
203
|
-
type: 'fixedCollection',
|
|
220
|
+
displayName: 'Invoice Fields',
|
|
221
|
+
name: 'invoiceFields',
|
|
222
|
+
type: 'collection',
|
|
204
223
|
displayOptions: {
|
|
205
224
|
show: {
|
|
225
|
+
resource: ['invoices'],
|
|
206
226
|
operation: ['create', 'update'],
|
|
207
227
|
},
|
|
208
228
|
},
|
|
209
|
-
typeOptions: {
|
|
210
|
-
multipleValues: true,
|
|
211
|
-
},
|
|
212
229
|
default: {},
|
|
230
|
+
placeholder: 'Add Field',
|
|
213
231
|
options: [
|
|
214
|
-
{
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
placeholder: 'Parameter value',
|
|
231
|
-
},
|
|
232
|
-
],
|
|
232
|
+
{ displayName: 'User ID', name: 'userId', type: 'string', default: '', description: 'ID of the user' },
|
|
233
|
+
{ displayName: 'Amount', name: 'amount', type: 'number', default: 0, description: 'Invoice amount' },
|
|
234
|
+
{ displayName: 'Description', name: 'description', type: 'string', default: '', description: 'Invoice description' },
|
|
235
|
+
{ displayName: 'Due Date', name: 'dueDate', type: 'string', default: '', description: 'Due date (YYYY-MM-DD format)' },
|
|
236
|
+
{ displayName: 'Status', name: 'status', type: 'options', default: 'pending', options: [{ name: 'Pending', value: 'pending' }, { name: 'Paid', value: 'paid' }, { name: 'Overdue', value: 'overdue' }], description: 'Invoice status' },
|
|
237
|
+
{ displayName: 'Notes', name: 'notes', type: 'string', default: '', description: 'Additional notes' },
|
|
238
|
+
],
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
displayName: 'Order Fields',
|
|
242
|
+
name: 'orderFields',
|
|
243
|
+
type: 'collection',
|
|
244
|
+
displayOptions: {
|
|
245
|
+
show: {
|
|
246
|
+
resource: ['orders'],
|
|
247
|
+
operation: ['create', 'update'],
|
|
233
248
|
},
|
|
249
|
+
},
|
|
250
|
+
default: {},
|
|
251
|
+
placeholder: 'Add Field',
|
|
252
|
+
options: [
|
|
253
|
+
{ displayName: 'User ID', name: 'userId', type: 'string', default: '', description: 'ID of the user' },
|
|
254
|
+
{ displayName: 'Service ID', name: 'serviceId', type: 'string', default: '', description: 'ID of the service' },
|
|
255
|
+
{ displayName: 'Quantity', name: 'quantity', type: 'number', default: 1, description: 'Quantity ordered' },
|
|
256
|
+
{ displayName: 'Status', name: 'status', type: 'options', default: 'pending', options: [{ name: 'Pending', value: 'pending' }, { name: 'Active', value: 'active' }, { name: 'Completed', value: 'completed' }], description: 'Order status' },
|
|
257
|
+
{ displayName: 'Notes', name: 'notes', type: 'string', default: '', description: 'Additional notes' },
|
|
234
258
|
],
|
|
235
259
|
},
|
|
236
260
|
{
|
|
237
|
-
displayName: '
|
|
238
|
-
name: '
|
|
239
|
-
|
|
240
|
-
description: 'Additional query parameters (pagination, filtering, sorting, includes)',
|
|
241
|
-
type: 'fixedCollection',
|
|
261
|
+
displayName: 'Service Fields',
|
|
262
|
+
name: 'serviceFields',
|
|
263
|
+
type: 'collection',
|
|
242
264
|
displayOptions: {
|
|
243
265
|
show: {
|
|
244
|
-
|
|
266
|
+
resource: ['services'],
|
|
267
|
+
operation: ['create', 'update'],
|
|
245
268
|
},
|
|
246
269
|
},
|
|
247
|
-
|
|
248
|
-
|
|
270
|
+
default: {},
|
|
271
|
+
placeholder: 'Add Field',
|
|
272
|
+
options: [
|
|
273
|
+
{ displayName: 'Name', name: 'name', type: 'string', default: '', description: 'Service name' },
|
|
274
|
+
{ displayName: 'Price', name: 'price', type: 'number', default: 0, description: 'Service price' },
|
|
275
|
+
{ displayName: 'Description', name: 'description', type: 'string', default: '', description: 'Service description' },
|
|
276
|
+
{ displayName: 'Category ID', name: 'categoryId', type: 'string', default: '', description: 'ID of the category' },
|
|
277
|
+
{ displayName: 'Status', name: 'status', type: 'options', default: 'active', options: [{ name: 'Active', value: 'active' }, { name: 'Inactive', value: 'inactive' }], description: 'Service status' },
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
displayName: 'Ticket Fields',
|
|
282
|
+
name: 'ticketFields',
|
|
283
|
+
type: 'collection',
|
|
284
|
+
displayOptions: {
|
|
285
|
+
show: {
|
|
286
|
+
resource: ['tickets'],
|
|
287
|
+
operation: ['create', 'update'],
|
|
288
|
+
},
|
|
249
289
|
},
|
|
250
290
|
default: {},
|
|
291
|
+
placeholder: 'Add Field',
|
|
251
292
|
options: [
|
|
252
|
-
{
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
default: '',
|
|
268
|
-
placeholder: 'Parameter value',
|
|
269
|
-
},
|
|
270
|
-
],
|
|
293
|
+
{ displayName: 'User ID', name: 'userId', type: 'string', default: '', description: 'ID of the user' },
|
|
294
|
+
{ displayName: 'Subject', name: 'subject', type: 'string', default: '', description: 'Ticket subject' },
|
|
295
|
+
{ displayName: 'Description', name: 'description', type: 'string', default: '', description: 'Ticket description' },
|
|
296
|
+
{ displayName: 'Priority', name: 'priority', type: 'options', default: 'normal', options: [{ name: 'Low', value: 'low' }, { name: 'Normal', value: 'normal' }, { name: 'High', value: 'high' }], description: 'Ticket priority' },
|
|
297
|
+
{ displayName: 'Status', name: 'status', type: 'options', default: 'open', options: [{ name: 'Open', value: 'open' }, { name: 'Pending', value: 'pending' }, { name: 'Closed', value: 'closed' }], description: 'Ticket status' },
|
|
298
|
+
],
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
displayName: 'Ticket Message Fields',
|
|
302
|
+
name: 'messageFields',
|
|
303
|
+
type: 'collection',
|
|
304
|
+
displayOptions: {
|
|
305
|
+
show: {
|
|
306
|
+
resource: ['ticketMessages'],
|
|
307
|
+
operation: ['create', 'update'],
|
|
271
308
|
},
|
|
309
|
+
},
|
|
310
|
+
default: {},
|
|
311
|
+
placeholder: 'Add Field',
|
|
312
|
+
options: [
|
|
313
|
+
{ displayName: 'Ticket ID', name: 'ticketId', type: 'string', default: '', description: 'ID of the ticket' },
|
|
314
|
+
{ displayName: 'Message', name: 'message', type: 'string', default: '', description: 'Message content' },
|
|
315
|
+
{ displayName: 'Is Admin Reply', name: 'isAdminReply', type: 'boolean', default: false, description: 'Whether this is an admin reply' },
|
|
272
316
|
],
|
|
273
317
|
},
|
|
274
318
|
{
|
|
275
|
-
displayName: '
|
|
276
|
-
name: '
|
|
277
|
-
type: '
|
|
319
|
+
displayName: 'Credit Fields',
|
|
320
|
+
name: 'creditFields',
|
|
321
|
+
type: 'collection',
|
|
278
322
|
displayOptions: {
|
|
279
323
|
show: {
|
|
280
|
-
|
|
324
|
+
resource: ['credits'],
|
|
325
|
+
operation: ['create', 'update'],
|
|
281
326
|
},
|
|
282
327
|
},
|
|
283
|
-
default:
|
|
284
|
-
|
|
328
|
+
default: {},
|
|
329
|
+
placeholder: 'Add Field',
|
|
330
|
+
options: [
|
|
331
|
+
{ displayName: 'User ID', name: 'userId', type: 'string', default: '', description: 'ID of the user' },
|
|
332
|
+
{ displayName: 'Amount', name: 'amount', type: 'number', default: 0, description: 'Credit amount' },
|
|
333
|
+
{ displayName: 'Description', name: 'description', type: 'string', default: '', description: 'Credit description' },
|
|
334
|
+
{ displayName: 'Type', name: 'type', type: 'options', default: 'add', options: [{ name: 'Add', value: 'add' }, { name: 'Remove', value: 'remove' }], description: 'Credit type' },
|
|
335
|
+
],
|
|
285
336
|
},
|
|
286
337
|
{
|
|
287
|
-
displayName: '
|
|
288
|
-
name: '
|
|
289
|
-
type: '
|
|
338
|
+
displayName: 'Affiliate Fields',
|
|
339
|
+
name: 'affiliateFields',
|
|
340
|
+
type: 'collection',
|
|
290
341
|
displayOptions: {
|
|
291
342
|
show: {
|
|
292
|
-
|
|
293
|
-
|
|
343
|
+
resource: ['affiliates'],
|
|
344
|
+
operation: ['create', 'update'],
|
|
294
345
|
},
|
|
295
346
|
},
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
347
|
+
default: {},
|
|
348
|
+
placeholder: 'Add Field',
|
|
349
|
+
options: [
|
|
350
|
+
{ displayName: 'User ID', name: 'userId', type: 'string', default: '', description: 'ID of the user' },
|
|
351
|
+
{ displayName: 'Commission Rate', name: 'commissionRate', type: 'number', default: 0, description: 'Commission rate percentage' },
|
|
352
|
+
{ displayName: 'Status', name: 'status', type: 'options', default: 'active', options: [{ name: 'Active', value: 'active' }, { name: 'Inactive', value: 'inactive' }], description: 'Affiliate status' },
|
|
353
|
+
{ displayName: 'Balance', name: 'balance', type: 'number', default: 0, description: 'Affiliate account balance' },
|
|
354
|
+
],
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
displayName: 'Invoice Item Fields',
|
|
358
|
+
name: 'invoiceItemFields',
|
|
359
|
+
type: 'collection',
|
|
360
|
+
displayOptions: {
|
|
361
|
+
show: {
|
|
362
|
+
resource: ['invoiceItems'],
|
|
363
|
+
operation: ['create', 'update'],
|
|
364
|
+
},
|
|
299
365
|
},
|
|
300
|
-
default:
|
|
301
|
-
|
|
366
|
+
default: {},
|
|
367
|
+
placeholder: 'Add Field',
|
|
368
|
+
options: [
|
|
369
|
+
{ displayName: 'Invoice ID', name: 'invoiceId', type: 'string', default: '', description: 'ID of the invoice' },
|
|
370
|
+
{ displayName: 'Description', name: 'description', type: 'string', default: '', description: 'Item description' },
|
|
371
|
+
{ displayName: 'Quantity', name: 'quantity', type: 'number', default: 1, description: 'Item quantity' },
|
|
372
|
+
{ displayName: 'Unit Price', name: 'unitPrice', type: 'number', default: 0, description: 'Price per unit' },
|
|
373
|
+
{ displayName: 'Discount', name: 'discount', type: 'number', default: 0, description: 'Discount amount or percentage' },
|
|
374
|
+
],
|
|
302
375
|
},
|
|
303
376
|
],
|
|
304
377
|
};
|
|
305
378
|
}
|
|
306
379
|
async execute() {
|
|
307
380
|
const items = this.getInputData();
|
|
381
|
+
const returnData = [];
|
|
308
382
|
const resource = this.getNodeParameter('resource', 0);
|
|
309
383
|
const operation = this.getNodeParameter('operation', 0);
|
|
310
384
|
const credentials = await this.getCredentials('paymenterApi');
|
|
311
|
-
const
|
|
385
|
+
const baseURL = credentials.apiUrl;
|
|
312
386
|
const apiToken = credentials.apiToken;
|
|
313
387
|
const resourceMap = {
|
|
314
388
|
affiliates: 'affiliates',
|
|
@@ -323,113 +397,153 @@ class Paymenter {
|
|
|
323
397
|
tickets: 'tickets',
|
|
324
398
|
users: 'users',
|
|
325
399
|
};
|
|
326
|
-
const
|
|
327
|
-
|
|
328
|
-
|
|
400
|
+
const apiResource = resourceMap[resource];
|
|
401
|
+
if (!apiResource) {
|
|
402
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown resource: ${resource}`);
|
|
403
|
+
}
|
|
404
|
+
if (!baseURL) {
|
|
405
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Paymenter API URL is not set in credentials');
|
|
406
|
+
}
|
|
407
|
+
if (!apiToken) {
|
|
408
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Paymenter API Token is not set in credentials');
|
|
409
|
+
}
|
|
410
|
+
for (let i = 0; i < items.length; i++) {
|
|
329
411
|
try {
|
|
330
|
-
let
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
'Accept': 'application/json',
|
|
336
|
-
},
|
|
337
|
-
method: 'GET',
|
|
338
|
-
uri: '',
|
|
339
|
-
json: true,
|
|
340
|
-
};
|
|
412
|
+
let endpoint = '';
|
|
413
|
+
let method = 'GET';
|
|
414
|
+
let body = {};
|
|
415
|
+
const resourceId = this.getNodeParameter('resourceId', i, '');
|
|
416
|
+
const include = this.getNodeParameter('include', i, '');
|
|
341
417
|
if (operation === 'list') {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
}
|
|
418
|
+
endpoint = `/api/v1/admin/${apiResource}`;
|
|
419
|
+
method = 'GET';
|
|
420
|
+
const pagination = this.getNodeParameter('pagination', i, {});
|
|
421
|
+
const sorting = this.getNodeParameter('sorting', i, {});
|
|
422
|
+
const filters = this.getNodeParameter('filters', i, {});
|
|
423
|
+
const queryParams = [];
|
|
424
|
+
if (pagination.returnAll) {
|
|
425
|
+
queryParams.push('per_page=250');
|
|
351
426
|
}
|
|
352
|
-
|
|
353
|
-
|
|
427
|
+
else {
|
|
428
|
+
if (pagination.perPage)
|
|
429
|
+
queryParams.push(`per_page=${pagination.perPage}`);
|
|
430
|
+
if (pagination.page)
|
|
431
|
+
queryParams.push(`page=${pagination.page}`);
|
|
354
432
|
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
const pageUrl = `${apiUrl}/v1/admin/${resourceEndpoint}?page=${currentPage}&per_page=${perPage}`;
|
|
367
|
-
const pageOptions = { ...options, uri: pageUrl };
|
|
368
|
-
const pageResponse = await this.helpers.request(pageOptions);
|
|
369
|
-
if (pageResponse.data) {
|
|
370
|
-
allData.push(...pageResponse.data);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
response.data = allData;
|
|
433
|
+
if (sorting.sortBy) {
|
|
434
|
+
const sortPrefix = sorting.sortOrder === 'desc' ? '-' : '';
|
|
435
|
+
queryParams.push(`sort=${sortPrefix}${sorting.sortBy}`);
|
|
436
|
+
}
|
|
437
|
+
if (filters.filterType && filters.filterValue) {
|
|
438
|
+
queryParams.push(`filter[${filters.filterType}]=${encodeURIComponent(filters.filterValue)}`);
|
|
439
|
+
}
|
|
440
|
+
if (include)
|
|
441
|
+
queryParams.push(`include=${include}`);
|
|
442
|
+
if (queryParams.length > 0) {
|
|
443
|
+
endpoint += '?' + queryParams.join('&');
|
|
374
444
|
}
|
|
375
445
|
}
|
|
376
446
|
else if (operation === 'get') {
|
|
377
|
-
|
|
378
|
-
|
|
447
|
+
if (!resourceId) {
|
|
448
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Record ID is required for get operation');
|
|
449
|
+
}
|
|
450
|
+
endpoint = `/api/v1/admin/${apiResource}/${resourceId}`;
|
|
451
|
+
method = 'GET';
|
|
452
|
+
const queryParams = [];
|
|
453
|
+
if (include)
|
|
454
|
+
queryParams.push(`include=${include}`);
|
|
455
|
+
if (queryParams.length > 0) {
|
|
456
|
+
endpoint += '?' + queryParams.join('&');
|
|
457
|
+
}
|
|
379
458
|
}
|
|
380
459
|
else if (operation === 'create') {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
460
|
+
endpoint = `/api/v1/admin/${apiResource}`;
|
|
461
|
+
method = 'POST';
|
|
462
|
+
const fieldsMap = {
|
|
463
|
+
userFields: 'users',
|
|
464
|
+
invoiceFields: 'invoices',
|
|
465
|
+
orderFields: 'orders',
|
|
466
|
+
serviceFields: 'services',
|
|
467
|
+
ticketFields: 'tickets',
|
|
468
|
+
messageFields: 'ticketMessages',
|
|
469
|
+
creditFields: 'credits',
|
|
470
|
+
affiliateFields: 'affiliates',
|
|
471
|
+
invoiceItemFields: 'invoiceItems',
|
|
472
|
+
};
|
|
473
|
+
const fieldsKey = Object.keys(fieldsMap).find(key => fieldsMap[key] === resource);
|
|
474
|
+
if (fieldsKey) {
|
|
475
|
+
body = this.getNodeParameter(fieldsKey, i, {});
|
|
390
476
|
}
|
|
391
477
|
}
|
|
392
478
|
else if (operation === 'update') {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
479
|
+
if (!resourceId) {
|
|
480
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Record ID is required for update operation');
|
|
481
|
+
}
|
|
482
|
+
endpoint = `/api/v1/admin/${apiResource}/${resourceId}`;
|
|
483
|
+
method = 'PUT';
|
|
484
|
+
const fieldsMap = {
|
|
485
|
+
userFields: 'users',
|
|
486
|
+
invoiceFields: 'invoices',
|
|
487
|
+
orderFields: 'orders',
|
|
488
|
+
serviceFields: 'services',
|
|
489
|
+
ticketFields: 'tickets',
|
|
490
|
+
messageFields: 'ticketMessages',
|
|
491
|
+
creditFields: 'credits',
|
|
492
|
+
affiliateFields: 'affiliates',
|
|
493
|
+
invoiceItemFields: 'invoiceItems',
|
|
494
|
+
};
|
|
495
|
+
const fieldsKey = Object.keys(fieldsMap).find(key => fieldsMap[key] === resource);
|
|
496
|
+
if (fieldsKey) {
|
|
497
|
+
body = this.getNodeParameter(fieldsKey, i, {});
|
|
403
498
|
}
|
|
404
499
|
}
|
|
405
500
|
else if (operation === 'delete') {
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
501
|
+
if (!resourceId) {
|
|
502
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Record ID is required for delete operation');
|
|
503
|
+
}
|
|
504
|
+
endpoint = `/api/v1/admin/${apiResource}/${resourceId}`;
|
|
505
|
+
method = 'DELETE';
|
|
506
|
+
}
|
|
507
|
+
const url = baseURL.endsWith('/') ? baseURL.slice(0, -1) : baseURL;
|
|
508
|
+
const fullUrl = url + endpoint;
|
|
509
|
+
const requestOptions = {
|
|
510
|
+
headers: {
|
|
511
|
+
Authorization: `Bearer ${apiToken}`,
|
|
512
|
+
'Content-Type': 'application/json',
|
|
513
|
+
},
|
|
514
|
+
method,
|
|
515
|
+
url: fullUrl,
|
|
516
|
+
json: true,
|
|
517
|
+
};
|
|
518
|
+
if (method !== 'GET' && Object.keys(body).length > 0) {
|
|
519
|
+
requestOptions.body = body;
|
|
520
|
+
}
|
|
521
|
+
const response = await this.helpers.request(requestOptions);
|
|
522
|
+
let responseData = response;
|
|
523
|
+
if (response && typeof response === 'object' && 'data' in response && Array.isArray(response.data)) {
|
|
524
|
+
responseData = response.data;
|
|
409
525
|
}
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
pairedItem: { item: itemIndex },
|
|
526
|
+
returnData.push({
|
|
527
|
+
json: Array.isArray(responseData) ? { items: responseData, meta: response?.meta || {} } : responseData || {},
|
|
528
|
+
pairedItem: i,
|
|
414
529
|
});
|
|
415
530
|
}
|
|
416
531
|
catch (error) {
|
|
417
532
|
if (this.continueOnFail()) {
|
|
418
|
-
|
|
533
|
+
returnData.push({
|
|
419
534
|
json: {
|
|
420
|
-
error: error
|
|
535
|
+
error: error?.message || 'Unknown error',
|
|
536
|
+
statusCode: error?.statusCode || error?.code || 'Unknown',
|
|
421
537
|
},
|
|
422
|
-
pairedItem:
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
else {
|
|
426
|
-
throw new n8n_workflow_1.NodeOperationError(this.getNode(), error instanceof Error ? error.message : 'Unknown error occurred', {
|
|
427
|
-
itemIndex,
|
|
538
|
+
pairedItem: i,
|
|
428
539
|
});
|
|
540
|
+
continue;
|
|
429
541
|
}
|
|
542
|
+
const statusInfo = error?.statusCode ? ` (Status: ${error.statusCode})` : '';
|
|
543
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Error in ${resource} ${operation}: ${error?.message || 'Unknown error'}${statusInfo}`);
|
|
430
544
|
}
|
|
431
545
|
}
|
|
432
|
-
return [
|
|
546
|
+
return [returnData];
|
|
433
547
|
}
|
|
434
548
|
}
|
|
435
549
|
exports.Paymenter = Paymenter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paymenter.node.js","sourceRoot":"","sources":["../../../src/nodes/Paymenter/Paymenter.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AAEtB,MAAa,SAAS;IAAtB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,oBAAoB;YAC1B,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,gEAAgE;YAC1E,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE;gBACT,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,SAAS;aAChB;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,cAAc;oBACpB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,YAAY;4BAClB,KAAK,EAAE,YAAY;yBACnB;wBACD;4BACC,IAAI,EAAE,YAAY;4BAClB,KAAK,EAAE,YAAY;yBACnB;wBACD;4BACC,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,SAAS;yBAChB;wBACD;4BACC,IAAI,EAAE,eAAe;4BACrB,KAAK,EAAE,cAAc;yBACrB;wBACD;4BACC,IAAI,EAAE,UAAU;4BAChB,KAAK,EAAE,UAAU;yBACjB;wBACD;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBACf;wBACD;4BACC,IAAI,EAAE,UAAU;4BAChB,KAAK,EAAE,UAAU;yBACjB;wBACD;4BACC,I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I,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,IAAI,EAAE;oBAC5G,UAAU,EAAE,CAAC;iBACb,CAAC,CAAC;YACJ,CAAC;YAAC,OAAO,KAAU,EAAE,CAAC;gBACrB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC;wBACf,IAAI,EAAE;4BACL,KAAK,EAAE,KAAK,EAAE,OAAO,IAAI,eAAe;4BACxC,UAAU,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,EAAE,IAAI,IAAI,SAAS;yBACzD;wBACD,UAAU,EAAE,CAAC;qBACb,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBACD,MAAM,UAAU,GAAG,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC7E,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,YAAY,QAAQ,IAAI,SAAS,KAAK,KAAK,EAAE,OAAO,IAAI,eAAe,GAAG,UAAU,EAAE,CAAC,CAAC;YACtI,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AA/jBD,8BA+jBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-paymenter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "n8n node for Paymenter - Payment and subscription management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n",
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"node"
|
|
13
13
|
],
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"author": "
|
|
16
|
-
"homepage": "https://github.com/
|
|
15
|
+
"author": "Ryan M",
|
|
16
|
+
"homepage": "https://github.com/ryanawesome111/n8n-paymenter",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "https://github.com/
|
|
19
|
+
"url": "https://github.com/ryanawesome111/n8n-paymenter.git"
|
|
20
20
|
},
|
|
21
21
|
"bugs": {
|
|
22
|
-
"url": "https://github.com/
|
|
22
|
+
"url": "https://github.com/ryanawesome111/n8n-paymenter/issues"
|
|
23
23
|
},
|
|
24
24
|
"main": "dist/index.js",
|
|
25
25
|
"types": "dist/index.d.ts",
|