n8n-nodes-leap 0.1.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/dist/credentials/LeapApi.credentials.d.ts +21 -0
- package/dist/credentials/LeapApi.credentials.js +37 -0
- package/dist/credentials/LeapApi.credentials.js.map +1 -0
- package/dist/nodes/Leap/AppointmentDescription.d.ts +3 -0
- package/dist/nodes/Leap/AppointmentDescription.js +307 -0
- package/dist/nodes/Leap/AppointmentDescription.js.map +1 -0
- package/dist/nodes/Leap/CustomerDescription.d.ts +3 -0
- package/dist/nodes/Leap/CustomerDescription.js +390 -0
- package/dist/nodes/Leap/CustomerDescription.js.map +1 -0
- package/dist/nodes/Leap/EstimateDescription.d.ts +3 -0
- package/dist/nodes/Leap/EstimateDescription.js +283 -0
- package/dist/nodes/Leap/EstimateDescription.js.map +1 -0
- package/dist/nodes/Leap/GenericFunctions.d.ts +13 -0
- package/dist/nodes/Leap/GenericFunctions.js +66 -0
- package/dist/nodes/Leap/GenericFunctions.js.map +1 -0
- package/dist/nodes/Leap/JobDescription.d.ts +3 -0
- package/dist/nodes/Leap/JobDescription.js +391 -0
- package/dist/nodes/Leap/JobDescription.js.map +1 -0
- package/dist/nodes/Leap/Leap.node.d.ts +5 -0
- package/dist/nodes/Leap/Leap.node.js +271 -0
- package/dist/nodes/Leap/Leap.node.js.map +1 -0
- package/dist/nodes/Leap/LeapTrigger.node.d.ts +5 -0
- package/dist/nodes/Leap/LeapTrigger.node.js +188 -0
- package/dist/nodes/Leap/LeapTrigger.node.js.map +1 -0
- package/dist/nodes/Leap/UserDescription.d.ts +3 -0
- package/dist/nodes/Leap/UserDescription.js +70 -0
- package/dist/nodes/Leap/UserDescription.js.map +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class LeapApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: {
|
|
8
|
+
type: "generic";
|
|
9
|
+
properties: {
|
|
10
|
+
headers: {
|
|
11
|
+
Authorization: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
test: {
|
|
16
|
+
request: {
|
|
17
|
+
baseURL: string;
|
|
18
|
+
url: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LeapApi = void 0;
|
|
4
|
+
class LeapApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'leapApi';
|
|
7
|
+
this.displayName = 'Leap API';
|
|
8
|
+
this.documentationUrl = 'https://docs.api.jobprogress.com/';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'API Token',
|
|
12
|
+
name: 'apiToken',
|
|
13
|
+
type: 'string',
|
|
14
|
+
typeOptions: { password: true },
|
|
15
|
+
default: '',
|
|
16
|
+
description: 'Your Leap API token. Generate it in Leap under Settings > Developers > Generate Token. Tokens expire after 1 year.',
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
this.authenticate = {
|
|
21
|
+
type: 'generic',
|
|
22
|
+
properties: {
|
|
23
|
+
headers: {
|
|
24
|
+
Authorization: '=Bearer {{$credentials.apiToken}}',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
this.test = {
|
|
29
|
+
request: {
|
|
30
|
+
baseURL: 'https://api.jobprogress.com/api/v3',
|
|
31
|
+
url: '/users?page=1&per_page=1',
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.LeapApi = LeapApi;
|
|
37
|
+
//# sourceMappingURL=LeapApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeapApi.credentials.js","sourceRoot":"","sources":["../../credentials/LeapApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,OAAO;IAApB;QACC,SAAI,GAAG,SAAS,CAAC;QACjB,gBAAW,GAAG,UAAU,CAAC;QACzB,qBAAgB,GAAG,mCAAmC,CAAC;QAEvD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,oHAAoH;gBACrH,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QAEF,iBAAY,GAAG;YACd,IAAI,EAAE,SAAkB;YACxB,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,mCAAmC;iBAClD;aACD;SACD,CAAC;QAEF,SAAI,GAAG;YACN,OAAO,EAAE;gBACR,OAAO,EAAE,oCAAoC;gBAC7C,GAAG,EAAE,0BAA0B;aAC/B;SACD,CAAC;IACH,CAAC;CAAA;AAjCD,0BAiCC"}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appointmentFields = exports.appointmentOperations = void 0;
|
|
4
|
+
exports.appointmentOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: { resource: ['appointment'] },
|
|
12
|
+
},
|
|
13
|
+
options: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Create',
|
|
16
|
+
value: 'create',
|
|
17
|
+
description: 'Create a new appointment',
|
|
18
|
+
action: 'Create an appointment',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'Get',
|
|
22
|
+
value: 'get',
|
|
23
|
+
description: 'Get an appointment by ID',
|
|
24
|
+
action: 'Get an appointment',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Get Many',
|
|
28
|
+
value: 'getMany',
|
|
29
|
+
description: 'Retrieve a list of appointments',
|
|
30
|
+
action: 'Get many appointments',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'Update',
|
|
34
|
+
value: 'update',
|
|
35
|
+
description: 'Update an existing appointment',
|
|
36
|
+
action: 'Update an appointment',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Delete',
|
|
40
|
+
value: 'delete',
|
|
41
|
+
description: 'Delete an appointment',
|
|
42
|
+
action: 'Delete an appointment',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
default: 'getMany',
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
exports.appointmentFields = [
|
|
49
|
+
// ------------------------------------------------------------------
|
|
50
|
+
// appointment: get
|
|
51
|
+
// ------------------------------------------------------------------
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Appointment ID',
|
|
54
|
+
name: 'appointmentId',
|
|
55
|
+
type: 'string',
|
|
56
|
+
required: true,
|
|
57
|
+
default: '',
|
|
58
|
+
description: 'The Leap ID of the appointment to retrieve',
|
|
59
|
+
displayOptions: {
|
|
60
|
+
show: { resource: ['appointment'], operation: ['get'] },
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
// ------------------------------------------------------------------
|
|
64
|
+
// appointment: getMany
|
|
65
|
+
// ------------------------------------------------------------------
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Return All',
|
|
68
|
+
name: 'returnAll',
|
|
69
|
+
type: 'boolean',
|
|
70
|
+
default: false,
|
|
71
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
72
|
+
displayOptions: {
|
|
73
|
+
show: { resource: ['appointment'], operation: ['getMany'] },
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Limit',
|
|
78
|
+
name: 'limit',
|
|
79
|
+
type: 'number',
|
|
80
|
+
default: 50,
|
|
81
|
+
description: 'Max number of results to return',
|
|
82
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
83
|
+
displayOptions: {
|
|
84
|
+
show: { resource: ['appointment'], operation: ['getMany'], returnAll: [false] },
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
displayName: 'Filters',
|
|
89
|
+
name: 'filters',
|
|
90
|
+
type: 'collection',
|
|
91
|
+
placeholder: 'Add Filter',
|
|
92
|
+
default: {},
|
|
93
|
+
displayOptions: {
|
|
94
|
+
show: { resource: ['appointment'], operation: ['getMany'] },
|
|
95
|
+
},
|
|
96
|
+
options: [
|
|
97
|
+
{
|
|
98
|
+
displayName: 'Date From',
|
|
99
|
+
name: 'date_from',
|
|
100
|
+
type: 'dateTime',
|
|
101
|
+
default: '',
|
|
102
|
+
description: 'Return appointments starting from this date',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
displayName: 'Date To',
|
|
106
|
+
name: 'date_to',
|
|
107
|
+
type: 'dateTime',
|
|
108
|
+
default: '',
|
|
109
|
+
description: 'Return appointments up to this date',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
displayName: 'Job ID',
|
|
113
|
+
name: 'job_id',
|
|
114
|
+
type: 'string',
|
|
115
|
+
default: '',
|
|
116
|
+
description: 'Filter appointments by job ID',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
displayName: 'User ID',
|
|
120
|
+
name: 'user_id',
|
|
121
|
+
type: 'string',
|
|
122
|
+
default: '',
|
|
123
|
+
description: 'Filter appointments assigned to a specific user',
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
// ------------------------------------------------------------------
|
|
128
|
+
// appointment: create
|
|
129
|
+
// ------------------------------------------------------------------
|
|
130
|
+
{
|
|
131
|
+
displayName: 'Job ID',
|
|
132
|
+
name: 'job_id',
|
|
133
|
+
type: 'string',
|
|
134
|
+
required: true,
|
|
135
|
+
default: '',
|
|
136
|
+
description: 'The Leap job ID to associate with this appointment',
|
|
137
|
+
displayOptions: {
|
|
138
|
+
show: { resource: ['appointment'], operation: ['create'] },
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
displayName: 'Start Date',
|
|
143
|
+
name: 'start_date',
|
|
144
|
+
type: 'dateTime',
|
|
145
|
+
required: true,
|
|
146
|
+
default: '',
|
|
147
|
+
description: 'Appointment start date and time',
|
|
148
|
+
displayOptions: {
|
|
149
|
+
show: { resource: ['appointment'], operation: ['create'] },
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
displayName: 'End Date',
|
|
154
|
+
name: 'end_date',
|
|
155
|
+
type: 'dateTime',
|
|
156
|
+
required: true,
|
|
157
|
+
default: '',
|
|
158
|
+
description: 'Appointment end date and time',
|
|
159
|
+
displayOptions: {
|
|
160
|
+
show: { resource: ['appointment'], operation: ['create'] },
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
displayName: 'Additional Fields',
|
|
165
|
+
name: 'additionalFields',
|
|
166
|
+
type: 'collection',
|
|
167
|
+
placeholder: 'Add Field',
|
|
168
|
+
default: {},
|
|
169
|
+
displayOptions: {
|
|
170
|
+
show: { resource: ['appointment'], operation: ['create'] },
|
|
171
|
+
},
|
|
172
|
+
options: [
|
|
173
|
+
{
|
|
174
|
+
displayName: 'Assigned User ID',
|
|
175
|
+
name: 'assigned_to',
|
|
176
|
+
type: 'string',
|
|
177
|
+
default: '',
|
|
178
|
+
description: 'User ID of the person assigned to this appointment',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
displayName: 'Description',
|
|
182
|
+
name: 'description',
|
|
183
|
+
type: 'string',
|
|
184
|
+
default: '',
|
|
185
|
+
description: 'Appointment description or notes',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
displayName: 'Location',
|
|
189
|
+
name: 'location',
|
|
190
|
+
type: 'string',
|
|
191
|
+
default: '',
|
|
192
|
+
description: 'Appointment location (defaults to job address if not specified)',
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
displayName: 'Name',
|
|
196
|
+
name: 'name',
|
|
197
|
+
type: 'string',
|
|
198
|
+
default: '',
|
|
199
|
+
description: 'Appointment name or title',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
displayName: 'Type',
|
|
203
|
+
name: 'type',
|
|
204
|
+
type: 'options',
|
|
205
|
+
options: [
|
|
206
|
+
{ name: 'Appointment', value: 'appointment' },
|
|
207
|
+
{ name: 'Inspection', value: 'inspection' },
|
|
208
|
+
{ name: 'Follow-Up', value: 'follow_up' },
|
|
209
|
+
{ name: 'Installation', value: 'installation' },
|
|
210
|
+
{ name: 'Other', value: 'other' },
|
|
211
|
+
],
|
|
212
|
+
default: 'appointment',
|
|
213
|
+
description: 'Type of appointment',
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
// ------------------------------------------------------------------
|
|
218
|
+
// appointment: update
|
|
219
|
+
// ------------------------------------------------------------------
|
|
220
|
+
{
|
|
221
|
+
displayName: 'Appointment ID',
|
|
222
|
+
name: 'appointmentId',
|
|
223
|
+
type: 'string',
|
|
224
|
+
required: true,
|
|
225
|
+
default: '',
|
|
226
|
+
description: 'The Leap ID of the appointment to update',
|
|
227
|
+
displayOptions: {
|
|
228
|
+
show: { resource: ['appointment'], operation: ['update'] },
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
displayName: 'Update Fields',
|
|
233
|
+
name: 'updateFields',
|
|
234
|
+
type: 'collection',
|
|
235
|
+
placeholder: 'Add Field',
|
|
236
|
+
default: {},
|
|
237
|
+
displayOptions: {
|
|
238
|
+
show: { resource: ['appointment'], operation: ['update'] },
|
|
239
|
+
},
|
|
240
|
+
options: [
|
|
241
|
+
{
|
|
242
|
+
displayName: 'Assigned User ID',
|
|
243
|
+
name: 'assigned_to',
|
|
244
|
+
type: 'string',
|
|
245
|
+
default: '',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
displayName: 'Description',
|
|
249
|
+
name: 'description',
|
|
250
|
+
type: 'string',
|
|
251
|
+
default: '',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
displayName: 'End Date',
|
|
255
|
+
name: 'end_date',
|
|
256
|
+
type: 'dateTime',
|
|
257
|
+
default: '',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
displayName: 'Location',
|
|
261
|
+
name: 'location',
|
|
262
|
+
type: 'string',
|
|
263
|
+
default: '',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
displayName: 'Name',
|
|
267
|
+
name: 'name',
|
|
268
|
+
type: 'string',
|
|
269
|
+
default: '',
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
displayName: 'Start Date',
|
|
273
|
+
name: 'start_date',
|
|
274
|
+
type: 'dateTime',
|
|
275
|
+
default: '',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
displayName: 'Type',
|
|
279
|
+
name: 'type',
|
|
280
|
+
type: 'options',
|
|
281
|
+
options: [
|
|
282
|
+
{ name: 'Appointment', value: 'appointment' },
|
|
283
|
+
{ name: 'Inspection', value: 'inspection' },
|
|
284
|
+
{ name: 'Follow-Up', value: 'follow_up' },
|
|
285
|
+
{ name: 'Installation', value: 'installation' },
|
|
286
|
+
{ name: 'Other', value: 'other' },
|
|
287
|
+
],
|
|
288
|
+
default: 'appointment',
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
},
|
|
292
|
+
// ------------------------------------------------------------------
|
|
293
|
+
// appointment: delete
|
|
294
|
+
// ------------------------------------------------------------------
|
|
295
|
+
{
|
|
296
|
+
displayName: 'Appointment ID',
|
|
297
|
+
name: 'appointmentId',
|
|
298
|
+
type: 'string',
|
|
299
|
+
required: true,
|
|
300
|
+
default: '',
|
|
301
|
+
description: 'The Leap ID of the appointment to delete',
|
|
302
|
+
displayOptions: {
|
|
303
|
+
show: { resource: ['appointment'], operation: ['delete'] },
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
];
|
|
307
|
+
//# sourceMappingURL=AppointmentDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppointmentDescription.js","sourceRoot":"","sources":["../../../nodes/Leap/AppointmentDescription.ts"],"names":[],"mappings":";;;AAEa,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,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE;SACnC;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,0BAA0B;gBACvC,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,0BAA0B;gBACvC,MAAM,EAAE,oBAAoB;aAC5B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,iCAAiC;gBAC9C,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,gCAAgC;gBAC7C,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,uBAAuB;gBACpC,MAAM,EAAE,uBAAuB;aAC/B;SACD;QACD,OAAO,EAAE,SAAS;KAClB;CACD,CAA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