@workbuddy/piece-workbuddy-edge 1.0.0 → 1.0.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/package.json +2 -2
- package/src/lib/actions/jobs.d.ts +2 -2
- package/src/lib/actions/jobs.d.ts.map +1 -1
- package/src/lib/actions/jobs.js +24 -4
- package/src/lib/actions/jobs.js.map +1 -1
- package/src/lib/actions/jobs.ts +24 -4
- package/src/lib/triggers/activity.d.ts +24 -12
- package/src/lib/triggers/activity.d.ts.map +1 -1
- package/src/lib/triggers/activity.js +45 -21
- package/src/lib/triggers/activity.js.map +1 -1
- package/src/lib/triggers/activity.ts +39 -24
- package/src/lib/triggers/bill.d.ts +64 -16
- package/src/lib/triggers/bill.d.ts.map +1 -1
- package/src/lib/triggers/bill.js +152 -28
- package/src/lib/triggers/bill.js.map +1 -1
- package/src/lib/triggers/bill.ts +136 -32
- package/src/lib/triggers/invoice.d.ts +64 -16
- package/src/lib/triggers/invoice.d.ts.map +1 -1
- package/src/lib/triggers/invoice.js +152 -28
- package/src/lib/triggers/invoice.js.map +1 -1
- package/src/lib/triggers/invoice.ts +136 -32
- package/src/lib/triggers/job.d.ts +144 -16
- package/src/lib/triggers/job.d.ts.map +1 -1
- package/src/lib/triggers/job.js +292 -28
- package/src/lib/triggers/job.js.map +1 -1
- package/src/lib/triggers/job.ts +256 -32
- package/src/lib/triggers/lead.d.ts +112 -16
- package/src/lib/triggers/lead.d.ts.map +1 -1
- package/src/lib/triggers/lead.js +200 -28
- package/src/lib/triggers/lead.js.map +1 -1
- package/src/lib/triggers/lead.ts +172 -32
- package/src/lib/triggers/opportunity.d.ts +80 -16
- package/src/lib/triggers/opportunity.d.ts.map +1 -1
- package/src/lib/triggers/opportunity.js +144 -28
- package/src/lib/triggers/opportunity.js.map +1 -1
- package/src/lib/triggers/opportunity.ts +124 -32
- package/src/lib/triggers/quote.d.ts +64 -16
- package/src/lib/triggers/quote.d.ts.map +1 -1
- package/src/lib/triggers/quote.js +152 -28
- package/src/lib/triggers/quote.js.map +1 -1
- package/src/lib/triggers/quote.ts +136 -32
- package/src/lib/triggers/stage.d.ts +112 -16
- package/src/lib/triggers/stage.d.ts.map +1 -1
- package/src/lib/triggers/stage.js +236 -28
- package/src/lib/triggers/stage.js.map +1 -1
- package/src/lib/triggers/stage.ts +212 -32
- package/src/lib/triggers/task.d.ts +16 -16
- package/src/lib/triggers/task.d.ts.map +1 -1
- package/src/lib/triggers/task.js +32 -28
- package/src/lib/triggers/task.js.map +1 -1
- package/src/lib/triggers/task.ts +28 -32
- package/src/lib/actions/mcp-context.d.ts +0 -16
- package/src/lib/actions/mcp-context.d.ts.map +0 -1
- package/src/lib/actions/mcp-context.js +0 -82
- package/src/lib/actions/mcp-context.js.map +0 -1
- package/src/lib/actions/mcp-context.ts +0 -86
- package/src/lib/actions/webhooks.d.ts +0 -48
- package/src/lib/actions/webhooks.d.ts.map +0 -1
- package/src/lib/actions/webhooks.js +0 -292
- package/src/lib/actions/webhooks.js.map +0 -1
- package/src/lib/actions/webhooks.ts +0 -318
- package/src/lib/triggers/allocation.d.ts +0 -53
- package/src/lib/triggers/allocation.d.ts.map +0 -1
- package/src/lib/triggers/allocation.js +0 -181
- package/src/lib/triggers/allocation.js.map +0 -1
- package/src/lib/triggers/allocation.ts +0 -198
- package/src/lib/triggers/form.d.ts +0 -19
- package/src/lib/triggers/form.d.ts.map +0 -1
- package/src/lib/triggers/form.js +0 -65
- package/src/lib/triggers/form.js.map +0 -1
- package/src/lib/triggers/form.ts +0 -68
- package/src/lib/triggers/item.d.ts +0 -53
- package/src/lib/triggers/item.d.ts.map +0 -1
- package/src/lib/triggers/item.js +0 -181
- package/src/lib/triggers/item.js.map +0 -1
- package/src/lib/triggers/item.ts +0 -198
- package/src/lib/triggers/site.d.ts +0 -19
- package/src/lib/triggers/site.d.ts.map +0 -1
- package/src/lib/triggers/site.js +0 -65
- package/src/lib/triggers/site.js.map +0 -1
- package/src/lib/triggers/site.ts +0 -68
package/src/lib/triggers/bill.ts
CHANGED
|
@@ -8,12 +8,34 @@ export const bill_created_trigger = createTrigger({
|
|
|
8
8
|
displayName: 'Bill Created',
|
|
9
9
|
description: 'Triggered when a new bill is created',
|
|
10
10
|
props: {
|
|
11
|
-
|
|
12
|
-
displayName: '
|
|
13
|
-
description:
|
|
14
|
-
'Optional webhook filters object. Discover allowed fields with GET /webhooks/entities/:entity/filters.',
|
|
11
|
+
customer: Property.Array({
|
|
12
|
+
displayName: 'Filter by Customer',
|
|
13
|
+
description: 'Only trigger for specific customer IDs',
|
|
15
14
|
required: false,
|
|
16
|
-
|
|
15
|
+
}),
|
|
16
|
+
billingCompany: Property.Array({
|
|
17
|
+
displayName: 'Filter by Billing Company',
|
|
18
|
+
description: 'Only trigger for specific billing company IDs',
|
|
19
|
+
required: false,
|
|
20
|
+
}),
|
|
21
|
+
tag: Property.Array({
|
|
22
|
+
displayName: 'Filter by Tags',
|
|
23
|
+
description: 'Only trigger for specific tags IDs',
|
|
24
|
+
required: false,
|
|
25
|
+
}),
|
|
26
|
+
status: Property.StaticMultiSelectDropdown({
|
|
27
|
+
displayName: 'Filter by Status',
|
|
28
|
+
description: 'Only trigger when the status matches one of these values',
|
|
29
|
+
required: false,
|
|
30
|
+
options: {
|
|
31
|
+
options: [
|
|
32
|
+
{ label: 'Open', value: JSON.stringify({ match: 'systemStatus', value: 'Open' }) },
|
|
33
|
+
{ label: 'InProgress', value: JSON.stringify({ match: 'systemStatus', value: 'InProgress' }) },
|
|
34
|
+
{ label: 'Completed', value: JSON.stringify({ match: 'systemStatus', value: 'Completed' }) },
|
|
35
|
+
{ label: 'Closed', value: JSON.stringify({ match: 'systemStatus', value: 'Closed' }) },
|
|
36
|
+
{ label: 'Cancelled', value: JSON.stringify({ match: 'systemStatus', value: 'Cancelled' }) },
|
|
37
|
+
],
|
|
38
|
+
},
|
|
17
39
|
}),
|
|
18
40
|
},
|
|
19
41
|
sampleData: {
|
|
@@ -35,6 +57,12 @@ export const bill_created_trigger = createTrigger({
|
|
|
35
57
|
const token = await getAccessToken(context.auth);
|
|
36
58
|
const baseUrl = context.auth.props.baseUrl;
|
|
37
59
|
|
|
60
|
+
// Assemble filters from individual props
|
|
61
|
+
const filters: Record<string, unknown> = {};
|
|
62
|
+
if (context.propsValue.customer?.length) filters.customer = context.propsValue.customer;
|
|
63
|
+
if (context.propsValue.billingCompany?.length) filters.billingCompany = context.propsValue.billingCompany;
|
|
64
|
+
if (context.propsValue.tag?.length) filters.tag = context.propsValue.tag;
|
|
65
|
+
if (context.propsValue.status?.length) filters.status = context.propsValue.status.map((v: string) => JSON.parse(v));
|
|
38
66
|
// Register webhook with WorkBuddy v2 API (server handles upsert - reactivates if exists)
|
|
39
67
|
const response = await httpClient.sendRequest<{ data: { id: string } }>({
|
|
40
68
|
method: HttpMethod.POST,
|
|
@@ -49,9 +77,7 @@ export const bill_created_trigger = createTrigger({
|
|
|
49
77
|
url: context.webhookUrl,
|
|
50
78
|
entity: 'bill',
|
|
51
79
|
events: ['Bill Created'],
|
|
52
|
-
...(
|
|
53
|
-
? { filters: context.propsValue.filters }
|
|
54
|
-
: {}),
|
|
80
|
+
...(Object.keys(filters).length > 0 ? { filters } : {}),
|
|
55
81
|
workflow: {
|
|
56
82
|
platform: 'activepieces',
|
|
57
83
|
integrationId: context.webhookUrl,
|
|
@@ -96,12 +122,34 @@ export const bill_updated_trigger = createTrigger({
|
|
|
96
122
|
displayName: 'Bill Updated',
|
|
97
123
|
description: 'Triggered when a bill is updated',
|
|
98
124
|
props: {
|
|
99
|
-
|
|
100
|
-
displayName: '
|
|
101
|
-
description:
|
|
102
|
-
'Optional webhook filters object. Discover allowed fields with GET /webhooks/entities/:entity/filters.',
|
|
125
|
+
customer: Property.Array({
|
|
126
|
+
displayName: 'Filter by Customer',
|
|
127
|
+
description: 'Only trigger for specific customer IDs',
|
|
103
128
|
required: false,
|
|
104
|
-
|
|
129
|
+
}),
|
|
130
|
+
billingCompany: Property.Array({
|
|
131
|
+
displayName: 'Filter by Billing Company',
|
|
132
|
+
description: 'Only trigger for specific billing company IDs',
|
|
133
|
+
required: false,
|
|
134
|
+
}),
|
|
135
|
+
tag: Property.Array({
|
|
136
|
+
displayName: 'Filter by Tags',
|
|
137
|
+
description: 'Only trigger for specific tags IDs',
|
|
138
|
+
required: false,
|
|
139
|
+
}),
|
|
140
|
+
status: Property.StaticMultiSelectDropdown({
|
|
141
|
+
displayName: 'Filter by Status',
|
|
142
|
+
description: 'Only trigger when the status matches one of these values',
|
|
143
|
+
required: false,
|
|
144
|
+
options: {
|
|
145
|
+
options: [
|
|
146
|
+
{ label: 'Open', value: JSON.stringify({ match: 'systemStatus', value: 'Open' }) },
|
|
147
|
+
{ label: 'InProgress', value: JSON.stringify({ match: 'systemStatus', value: 'InProgress' }) },
|
|
148
|
+
{ label: 'Completed', value: JSON.stringify({ match: 'systemStatus', value: 'Completed' }) },
|
|
149
|
+
{ label: 'Closed', value: JSON.stringify({ match: 'systemStatus', value: 'Closed' }) },
|
|
150
|
+
{ label: 'Cancelled', value: JSON.stringify({ match: 'systemStatus', value: 'Cancelled' }) },
|
|
151
|
+
],
|
|
152
|
+
},
|
|
105
153
|
}),
|
|
106
154
|
},
|
|
107
155
|
sampleData: {
|
|
@@ -123,6 +171,12 @@ export const bill_updated_trigger = createTrigger({
|
|
|
123
171
|
const token = await getAccessToken(context.auth);
|
|
124
172
|
const baseUrl = context.auth.props.baseUrl;
|
|
125
173
|
|
|
174
|
+
// Assemble filters from individual props
|
|
175
|
+
const filters: Record<string, unknown> = {};
|
|
176
|
+
if (context.propsValue.customer?.length) filters.customer = context.propsValue.customer;
|
|
177
|
+
if (context.propsValue.billingCompany?.length) filters.billingCompany = context.propsValue.billingCompany;
|
|
178
|
+
if (context.propsValue.tag?.length) filters.tag = context.propsValue.tag;
|
|
179
|
+
if (context.propsValue.status?.length) filters.status = context.propsValue.status.map((v: string) => JSON.parse(v));
|
|
126
180
|
// Register webhook with WorkBuddy v2 API (server handles upsert - reactivates if exists)
|
|
127
181
|
const response = await httpClient.sendRequest<{ data: { id: string } }>({
|
|
128
182
|
method: HttpMethod.POST,
|
|
@@ -137,9 +191,7 @@ export const bill_updated_trigger = createTrigger({
|
|
|
137
191
|
url: context.webhookUrl,
|
|
138
192
|
entity: 'bill',
|
|
139
193
|
events: ['Bill Updated'],
|
|
140
|
-
...(
|
|
141
|
-
? { filters: context.propsValue.filters }
|
|
142
|
-
: {}),
|
|
194
|
+
...(Object.keys(filters).length > 0 ? { filters } : {}),
|
|
143
195
|
workflow: {
|
|
144
196
|
platform: 'activepieces',
|
|
145
197
|
integrationId: context.webhookUrl,
|
|
@@ -184,12 +236,34 @@ export const bill_status_changed_trigger = createTrigger({
|
|
|
184
236
|
displayName: 'Bill Status Changed',
|
|
185
237
|
description: 'Triggered when a bill status changes',
|
|
186
238
|
props: {
|
|
187
|
-
|
|
188
|
-
displayName: '
|
|
189
|
-
description:
|
|
190
|
-
'Optional webhook filters object. Discover allowed fields with GET /webhooks/entities/:entity/filters.',
|
|
239
|
+
customer: Property.Array({
|
|
240
|
+
displayName: 'Filter by Customer',
|
|
241
|
+
description: 'Only trigger for specific customer IDs',
|
|
191
242
|
required: false,
|
|
192
|
-
|
|
243
|
+
}),
|
|
244
|
+
billingCompany: Property.Array({
|
|
245
|
+
displayName: 'Filter by Billing Company',
|
|
246
|
+
description: 'Only trigger for specific billing company IDs',
|
|
247
|
+
required: false,
|
|
248
|
+
}),
|
|
249
|
+
tag: Property.Array({
|
|
250
|
+
displayName: 'Filter by Tags',
|
|
251
|
+
description: 'Only trigger for specific tags IDs',
|
|
252
|
+
required: false,
|
|
253
|
+
}),
|
|
254
|
+
status: Property.StaticMultiSelectDropdown({
|
|
255
|
+
displayName: 'Filter by Status',
|
|
256
|
+
description: 'Only trigger when the status matches one of these values',
|
|
257
|
+
required: false,
|
|
258
|
+
options: {
|
|
259
|
+
options: [
|
|
260
|
+
{ label: 'Open', value: JSON.stringify({ match: 'systemStatus', value: 'Open' }) },
|
|
261
|
+
{ label: 'InProgress', value: JSON.stringify({ match: 'systemStatus', value: 'InProgress' }) },
|
|
262
|
+
{ label: 'Completed', value: JSON.stringify({ match: 'systemStatus', value: 'Completed' }) },
|
|
263
|
+
{ label: 'Closed', value: JSON.stringify({ match: 'systemStatus', value: 'Closed' }) },
|
|
264
|
+
{ label: 'Cancelled', value: JSON.stringify({ match: 'systemStatus', value: 'Cancelled' }) },
|
|
265
|
+
],
|
|
266
|
+
},
|
|
193
267
|
}),
|
|
194
268
|
},
|
|
195
269
|
sampleData: {
|
|
@@ -211,6 +285,12 @@ export const bill_status_changed_trigger = createTrigger({
|
|
|
211
285
|
const token = await getAccessToken(context.auth);
|
|
212
286
|
const baseUrl = context.auth.props.baseUrl;
|
|
213
287
|
|
|
288
|
+
// Assemble filters from individual props
|
|
289
|
+
const filters: Record<string, unknown> = {};
|
|
290
|
+
if (context.propsValue.customer?.length) filters.customer = context.propsValue.customer;
|
|
291
|
+
if (context.propsValue.billingCompany?.length) filters.billingCompany = context.propsValue.billingCompany;
|
|
292
|
+
if (context.propsValue.tag?.length) filters.tag = context.propsValue.tag;
|
|
293
|
+
if (context.propsValue.status?.length) filters.status = context.propsValue.status.map((v: string) => JSON.parse(v));
|
|
214
294
|
// Register webhook with WorkBuddy v2 API (server handles upsert - reactivates if exists)
|
|
215
295
|
const response = await httpClient.sendRequest<{ data: { id: string } }>({
|
|
216
296
|
method: HttpMethod.POST,
|
|
@@ -225,9 +305,7 @@ export const bill_status_changed_trigger = createTrigger({
|
|
|
225
305
|
url: context.webhookUrl,
|
|
226
306
|
entity: 'bill',
|
|
227
307
|
events: ['Bill Status Changed'],
|
|
228
|
-
...(
|
|
229
|
-
? { filters: context.propsValue.filters }
|
|
230
|
-
: {}),
|
|
308
|
+
...(Object.keys(filters).length > 0 ? { filters } : {}),
|
|
231
309
|
workflow: {
|
|
232
310
|
platform: 'activepieces',
|
|
233
311
|
integrationId: context.webhookUrl,
|
|
@@ -272,12 +350,34 @@ export const bill_deleted_trigger = createTrigger({
|
|
|
272
350
|
displayName: 'Bill Deleted',
|
|
273
351
|
description: 'Triggered when a bill is deleted',
|
|
274
352
|
props: {
|
|
275
|
-
|
|
276
|
-
displayName: '
|
|
277
|
-
description:
|
|
278
|
-
'Optional webhook filters object. Discover allowed fields with GET /webhooks/entities/:entity/filters.',
|
|
353
|
+
customer: Property.Array({
|
|
354
|
+
displayName: 'Filter by Customer',
|
|
355
|
+
description: 'Only trigger for specific customer IDs',
|
|
279
356
|
required: false,
|
|
280
|
-
|
|
357
|
+
}),
|
|
358
|
+
billingCompany: Property.Array({
|
|
359
|
+
displayName: 'Filter by Billing Company',
|
|
360
|
+
description: 'Only trigger for specific billing company IDs',
|
|
361
|
+
required: false,
|
|
362
|
+
}),
|
|
363
|
+
tag: Property.Array({
|
|
364
|
+
displayName: 'Filter by Tags',
|
|
365
|
+
description: 'Only trigger for specific tags IDs',
|
|
366
|
+
required: false,
|
|
367
|
+
}),
|
|
368
|
+
status: Property.StaticMultiSelectDropdown({
|
|
369
|
+
displayName: 'Filter by Status',
|
|
370
|
+
description: 'Only trigger when the status matches one of these values',
|
|
371
|
+
required: false,
|
|
372
|
+
options: {
|
|
373
|
+
options: [
|
|
374
|
+
{ label: 'Open', value: JSON.stringify({ match: 'systemStatus', value: 'Open' }) },
|
|
375
|
+
{ label: 'InProgress', value: JSON.stringify({ match: 'systemStatus', value: 'InProgress' }) },
|
|
376
|
+
{ label: 'Completed', value: JSON.stringify({ match: 'systemStatus', value: 'Completed' }) },
|
|
377
|
+
{ label: 'Closed', value: JSON.stringify({ match: 'systemStatus', value: 'Closed' }) },
|
|
378
|
+
{ label: 'Cancelled', value: JSON.stringify({ match: 'systemStatus', value: 'Cancelled' }) },
|
|
379
|
+
],
|
|
380
|
+
},
|
|
281
381
|
}),
|
|
282
382
|
},
|
|
283
383
|
sampleData: {
|
|
@@ -299,6 +399,12 @@ export const bill_deleted_trigger = createTrigger({
|
|
|
299
399
|
const token = await getAccessToken(context.auth);
|
|
300
400
|
const baseUrl = context.auth.props.baseUrl;
|
|
301
401
|
|
|
402
|
+
// Assemble filters from individual props
|
|
403
|
+
const filters: Record<string, unknown> = {};
|
|
404
|
+
if (context.propsValue.customer?.length) filters.customer = context.propsValue.customer;
|
|
405
|
+
if (context.propsValue.billingCompany?.length) filters.billingCompany = context.propsValue.billingCompany;
|
|
406
|
+
if (context.propsValue.tag?.length) filters.tag = context.propsValue.tag;
|
|
407
|
+
if (context.propsValue.status?.length) filters.status = context.propsValue.status.map((v: string) => JSON.parse(v));
|
|
302
408
|
// Register webhook with WorkBuddy v2 API (server handles upsert - reactivates if exists)
|
|
303
409
|
const response = await httpClient.sendRequest<{ data: { id: string } }>({
|
|
304
410
|
method: HttpMethod.POST,
|
|
@@ -313,9 +419,7 @@ export const bill_deleted_trigger = createTrigger({
|
|
|
313
419
|
url: context.webhookUrl,
|
|
314
420
|
entity: 'bill',
|
|
315
421
|
events: ['Bill Deleted'],
|
|
316
|
-
...(
|
|
317
|
-
? { filters: context.propsValue.filters }
|
|
318
|
-
: {}),
|
|
422
|
+
...(Object.keys(filters).length > 0 ? { filters } : {}),
|
|
319
423
|
workflow: {
|
|
320
424
|
platform: 'activepieces',
|
|
321
425
|
integrationId: context.webhookUrl,
|
|
@@ -4,99 +4,147 @@ export declare const invoice_created_trigger: import("@activepieces/pieces-frame
|
|
|
4
4
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
6
6
|
}>, {
|
|
7
|
-
|
|
7
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
8
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
9
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
10
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
8
11
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
9
12
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
13
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
11
14
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
15
|
}>, {
|
|
13
|
-
|
|
16
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
17
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
18
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
19
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
14
20
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
21
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
16
22
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
23
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
18
24
|
}>, {
|
|
19
|
-
|
|
25
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
26
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
27
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
28
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
20
29
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
21
30
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
22
31
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
23
32
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
24
33
|
}>, {
|
|
25
|
-
|
|
34
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
35
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
36
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
37
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
26
38
|
}>;
|
|
27
39
|
export declare const invoice_updated_trigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
28
40
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
29
41
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
30
42
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
31
43
|
}>, {
|
|
32
|
-
|
|
44
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
45
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
46
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
47
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
33
48
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
34
49
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
35
50
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
36
51
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
37
52
|
}>, {
|
|
38
|
-
|
|
53
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
54
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
55
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
56
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
39
57
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
40
58
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
41
59
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
42
60
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
43
61
|
}>, {
|
|
44
|
-
|
|
62
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
63
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
64
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
65
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
45
66
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
46
67
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
47
68
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
48
69
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
49
70
|
}>, {
|
|
50
|
-
|
|
71
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
72
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
73
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
74
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
51
75
|
}>;
|
|
52
76
|
export declare const invoice_status_changed_trigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
53
77
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
54
78
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
55
79
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
56
80
|
}>, {
|
|
57
|
-
|
|
81
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
82
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
83
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
84
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
58
85
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
59
86
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
60
87
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
61
88
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
62
89
|
}>, {
|
|
63
|
-
|
|
90
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
91
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
92
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
93
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
64
94
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
65
95
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
66
96
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
67
97
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
68
98
|
}>, {
|
|
69
|
-
|
|
99
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
100
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
101
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
102
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
70
103
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
71
104
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
72
105
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
73
106
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
74
107
|
}>, {
|
|
75
|
-
|
|
108
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
109
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
110
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
111
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
76
112
|
}>;
|
|
77
113
|
export declare const invoice_deleted_trigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
78
114
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
79
115
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
80
116
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
81
117
|
}>, {
|
|
82
|
-
|
|
118
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
119
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
120
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
121
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
83
122
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
84
123
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
85
124
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
86
125
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
87
126
|
}>, {
|
|
88
|
-
|
|
127
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
128
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
129
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
130
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
89
131
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
90
132
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
91
133
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
92
134
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
93
135
|
}>, {
|
|
94
|
-
|
|
136
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
137
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
138
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
139
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
95
140
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
96
141
|
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
97
142
|
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
98
143
|
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
99
144
|
}>, {
|
|
100
|
-
|
|
145
|
+
customer: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
146
|
+
billingCompany: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
147
|
+
tag: import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
148
|
+
status: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
101
149
|
}>;
|
|
102
150
|
//# sourceMappingURL=invoice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.d.ts","sourceRoot":"","sources":["invoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,gCAAgC,CAAC;AAI1F,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"invoice.d.ts","sourceRoot":"","sources":["invoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,gCAAgC,CAAC;AAI1F,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgHlC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgHlC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgHzC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgHlC,CAAC"}
|