n8n-nodes-proiectro 0.1.1
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 +21 -0
- package/README.md +77 -0
- package/dist/credentials/ProiectroApi.credentials.d.ts +13 -0
- package/dist/credentials/ProiectroApi.credentials.js +52 -0
- package/dist/credentials/proiectro.svg +44 -0
- package/dist/nodes/Proiectro/Proiectro.node.d.ts +17 -0
- package/dist/nodes/Proiectro/Proiectro.node.js +1865 -0
- package/dist/nodes/Proiectro/ProiectroTrigger.node.d.ts +12 -0
- package/dist/nodes/Proiectro/ProiectroTrigger.node.js +214 -0
- package/dist/nodes/Proiectro/descriptions/ContactDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/ContactDescription.js +157 -0
- package/dist/nodes/Proiectro/descriptions/CustomerDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/CustomerDescription.js +152 -0
- package/dist/nodes/Proiectro/descriptions/LabelDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/LabelDescription.js +370 -0
- package/dist/nodes/Proiectro/descriptions/OperationalWorkItemDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/OperationalWorkItemDescription.js +261 -0
- package/dist/nodes/Proiectro/descriptions/PaymentDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/PaymentDescription.js +163 -0
- package/dist/nodes/Proiectro/descriptions/ProcessDefinitionDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/ProcessDefinitionDescription.js +127 -0
- package/dist/nodes/Proiectro/descriptions/ProjectDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/ProjectDescription.js +48 -0
- package/dist/nodes/Proiectro/descriptions/ProposalDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/ProposalDescription.js +460 -0
- package/dist/nodes/Proiectro/descriptions/ResourceDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/ResourceDescription.js +119 -0
- package/dist/nodes/Proiectro/descriptions/SupportRequestDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/SupportRequestDescription.js +237 -0
- package/dist/nodes/Proiectro/descriptions/TagDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/TagDescription.js +235 -0
- package/dist/nodes/Proiectro/descriptions/TeamMemberDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/TeamMemberDescription.js +166 -0
- package/dist/nodes/Proiectro/descriptions/WebhookDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/WebhookDescription.js +118 -0
- package/dist/nodes/Proiectro/descriptions/WorkItemDescription.d.ts +3 -0
- package/dist/nodes/Proiectro/descriptions/WorkItemDescription.js +288 -0
- package/dist/nodes/Proiectro/proiectro.svg +44 -0
- package/package.json +45 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paymentFields = exports.paymentOperations = void 0;
|
|
4
|
+
exports.paymentOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: { resource: ['payment'] },
|
|
12
|
+
},
|
|
13
|
+
options: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Create',
|
|
16
|
+
value: 'create',
|
|
17
|
+
action: 'Create a payment',
|
|
18
|
+
description: 'Create a new payment record',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'Delete',
|
|
22
|
+
value: 'delete',
|
|
23
|
+
action: 'Delete a payment',
|
|
24
|
+
description: 'Delete a payment',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Mark Paid',
|
|
28
|
+
value: 'mark_paid',
|
|
29
|
+
action: 'Mark a payment as paid',
|
|
30
|
+
description: 'Mark a payment as paid',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'Mark Unpaid',
|
|
34
|
+
value: 'mark_unpaid',
|
|
35
|
+
action: 'Mark a payment as unpaid',
|
|
36
|
+
description: 'Mark a payment as unpaid',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Update',
|
|
40
|
+
value: 'update',
|
|
41
|
+
action: 'Update a payment',
|
|
42
|
+
description: 'Update an existing payment',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
default: 'create',
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
exports.paymentFields = [
|
|
49
|
+
{
|
|
50
|
+
displayName: 'Payment Schedule Block ID',
|
|
51
|
+
name: 'payment_schedule_block_id',
|
|
52
|
+
type: 'string',
|
|
53
|
+
required: true,
|
|
54
|
+
default: '',
|
|
55
|
+
displayOptions: {
|
|
56
|
+
show: {
|
|
57
|
+
resource: ['payment'],
|
|
58
|
+
operation: ["create"],
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Product ID',
|
|
64
|
+
name: 'product_id',
|
|
65
|
+
type: 'string',
|
|
66
|
+
default: '',
|
|
67
|
+
displayOptions: {
|
|
68
|
+
show: {
|
|
69
|
+
resource: ['payment'],
|
|
70
|
+
operation: ["create", "update"],
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Name',
|
|
76
|
+
name: 'name',
|
|
77
|
+
type: 'string',
|
|
78
|
+
required: true,
|
|
79
|
+
default: '',
|
|
80
|
+
displayOptions: {
|
|
81
|
+
show: {
|
|
82
|
+
resource: ['payment'],
|
|
83
|
+
operation: ["create", "update"],
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
displayName: 'Internal Code',
|
|
89
|
+
name: 'internal_code',
|
|
90
|
+
type: 'string',
|
|
91
|
+
default: '',
|
|
92
|
+
displayOptions: {
|
|
93
|
+
show: {
|
|
94
|
+
resource: ['payment'],
|
|
95
|
+
operation: ["create", "update"],
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
displayName: 'Due Date',
|
|
101
|
+
name: 'due_date',
|
|
102
|
+
type: 'string',
|
|
103
|
+
required: true,
|
|
104
|
+
default: '',
|
|
105
|
+
displayOptions: {
|
|
106
|
+
show: {
|
|
107
|
+
resource: ['payment'],
|
|
108
|
+
operation: ["create", "update"],
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
displayName: 'Amount',
|
|
114
|
+
name: 'amount',
|
|
115
|
+
type: 'number',
|
|
116
|
+
required: true,
|
|
117
|
+
default: 0,
|
|
118
|
+
displayOptions: {
|
|
119
|
+
show: {
|
|
120
|
+
resource: ['payment'],
|
|
121
|
+
operation: ["create", "update"],
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
displayName: 'Payment Integration ID',
|
|
127
|
+
name: 'payment_integration_id',
|
|
128
|
+
type: 'string',
|
|
129
|
+
default: '',
|
|
130
|
+
displayOptions: {
|
|
131
|
+
show: {
|
|
132
|
+
resource: ['payment'],
|
|
133
|
+
operation: ["create", "update", "mark_paid"],
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
displayName: 'Payment ID',
|
|
139
|
+
name: 'payment_id',
|
|
140
|
+
type: 'string',
|
|
141
|
+
required: true,
|
|
142
|
+
default: '',
|
|
143
|
+
displayOptions: {
|
|
144
|
+
show: {
|
|
145
|
+
resource: ['payment'],
|
|
146
|
+
operation: ["update", "mark_paid", "mark_unpaid", "delete"],
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
displayName: 'Paid Date',
|
|
152
|
+
name: 'paid_date',
|
|
153
|
+
type: 'string',
|
|
154
|
+
required: true,
|
|
155
|
+
default: '',
|
|
156
|
+
displayOptions: {
|
|
157
|
+
show: {
|
|
158
|
+
resource: ['payment'],
|
|
159
|
+
operation: ["mark_paid"],
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
];
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.processDefinitionFields = exports.processDefinitionOperations = void 0;
|
|
4
|
+
exports.processDefinitionOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: { resource: ['processDefinition'] },
|
|
12
|
+
},
|
|
13
|
+
options: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Create',
|
|
16
|
+
value: 'create',
|
|
17
|
+
action: 'Create a process definition',
|
|
18
|
+
description: 'Create a new process definition',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'Delete',
|
|
22
|
+
value: 'delete',
|
|
23
|
+
action: 'Delete a process definition',
|
|
24
|
+
description: 'Delete a process definition',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Get',
|
|
28
|
+
value: 'get',
|
|
29
|
+
action: 'Get a process definition',
|
|
30
|
+
description: 'Get a single process definition by ID',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'List All',
|
|
34
|
+
value: 'list',
|
|
35
|
+
action: 'List all process definitions',
|
|
36
|
+
description: 'List all process definitions',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Update',
|
|
40
|
+
value: 'update',
|
|
41
|
+
action: 'Update a process definition',
|
|
42
|
+
description: 'Update a process definition',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
default: 'create',
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
exports.processDefinitionFields = [
|
|
49
|
+
{
|
|
50
|
+
displayName: 'Process Name or ID',
|
|
51
|
+
name: 'process_id',
|
|
52
|
+
type: 'options',
|
|
53
|
+
required: true,
|
|
54
|
+
typeOptions: {
|
|
55
|
+
loadOptionsMethod: 'getProcesses',
|
|
56
|
+
},
|
|
57
|
+
default: '',
|
|
58
|
+
displayOptions: {
|
|
59
|
+
show: {
|
|
60
|
+
resource: ['processDefinition'],
|
|
61
|
+
operation: ["get", "update", "delete"],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Name',
|
|
68
|
+
name: 'name',
|
|
69
|
+
type: 'string',
|
|
70
|
+
required: true,
|
|
71
|
+
default: '',
|
|
72
|
+
displayOptions: {
|
|
73
|
+
show: {
|
|
74
|
+
resource: ['processDefinition'],
|
|
75
|
+
operation: ["create", "update"],
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
displayName: 'Description',
|
|
81
|
+
name: 'description',
|
|
82
|
+
type: 'string',
|
|
83
|
+
default: '',
|
|
84
|
+
displayOptions: {
|
|
85
|
+
show: {
|
|
86
|
+
resource: ['processDefinition'],
|
|
87
|
+
operation: ["create", "update"],
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Is Active',
|
|
93
|
+
name: 'is_active',
|
|
94
|
+
type: 'boolean',
|
|
95
|
+
default: false,
|
|
96
|
+
displayOptions: {
|
|
97
|
+
show: {
|
|
98
|
+
resource: ['processDefinition'],
|
|
99
|
+
operation: ["create", "update"],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
displayName: 'Allow Backward Move',
|
|
105
|
+
name: 'allow_backward_move',
|
|
106
|
+
type: 'boolean',
|
|
107
|
+
default: false,
|
|
108
|
+
displayOptions: {
|
|
109
|
+
show: {
|
|
110
|
+
resource: ['processDefinition'],
|
|
111
|
+
operation: ["create", "update"],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
displayName: 'Allow Skip Move',
|
|
117
|
+
name: 'allow_skip_move',
|
|
118
|
+
type: 'boolean',
|
|
119
|
+
default: false,
|
|
120
|
+
displayOptions: {
|
|
121
|
+
show: {
|
|
122
|
+
resource: ['processDefinition'],
|
|
123
|
+
operation: ["create", "update"],
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.projectFields = exports.projectOperations = void 0;
|
|
4
|
+
exports.projectOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: { resource: ['project'] },
|
|
12
|
+
},
|
|
13
|
+
options: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Get Work Items',
|
|
16
|
+
value: 'get_work_items',
|
|
17
|
+
action: 'Get project work items',
|
|
18
|
+
description: 'Get all work items for a project',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'List All',
|
|
22
|
+
value: 'list',
|
|
23
|
+
action: 'List all projects',
|
|
24
|
+
description: 'List all projects',
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
default: 'get_work_items',
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
exports.projectFields = [
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Project Name or ID',
|
|
33
|
+
name: 'project_id',
|
|
34
|
+
type: 'options',
|
|
35
|
+
required: true,
|
|
36
|
+
typeOptions: {
|
|
37
|
+
loadOptionsMethod: 'getProjects',
|
|
38
|
+
},
|
|
39
|
+
default: '',
|
|
40
|
+
displayOptions: {
|
|
41
|
+
show: {
|
|
42
|
+
resource: ['project'],
|
|
43
|
+
operation: ["get_work_items"],
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
47
|
+
},
|
|
48
|
+
];
|