@workbuddy/piece-workbuddy-edge 1.0.33 → 1.0.35
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 +1 -1
- package/src/index.d.ts.map +1 -1
- package/src/index.js +98 -14
- package/src/index.js.map +1 -1
- package/src/index.ts +183 -10
- package/src/lib/actions/crm-companies.d.ts +1 -0
- package/src/lib/actions/crm-companies.d.ts.map +1 -1
- package/src/lib/actions/crm-companies.js +9 -0
- package/src/lib/actions/crm-companies.js.map +1 -1
- package/src/lib/actions/crm-companies.ts +11 -0
- package/src/lib/actions/crm-contacts.d.ts +25 -0
- package/src/lib/actions/crm-contacts.d.ts.map +1 -1
- package/src/lib/actions/crm-contacts.js +135 -3
- package/src/lib/actions/crm-contacts.js.map +1 -1
- package/src/lib/actions/crm-contacts.ts +149 -2
- package/src/lib/actions/crm-contractors.d.ts +110 -0
- package/src/lib/actions/crm-contractors.d.ts.map +1 -1
- package/src/lib/actions/crm-contractors.js +585 -2
- package/src/lib/actions/crm-contractors.js.map +1 -1
- package/src/lib/actions/crm-contractors.ts +631 -1
- package/src/lib/actions/crm-customers.d.ts +94 -0
- package/src/lib/actions/crm-customers.d.ts.map +1 -1
- package/src/lib/actions/crm-customers.js +504 -3
- package/src/lib/actions/crm-customers.js.map +1 -1
- package/src/lib/actions/crm-customers.ts +545 -2
- package/src/lib/actions/crm-external-users.js +1 -1
- package/src/lib/actions/crm-external-users.js.map +1 -1
- package/src/lib/actions/crm-external-users.ts +1 -1
- package/src/lib/actions/crm-invites.d.ts +1 -0
- package/src/lib/actions/crm-invites.d.ts.map +1 -1
- package/src/lib/actions/crm-invites.js +9 -0
- package/src/lib/actions/crm-invites.js.map +1 -1
- package/src/lib/actions/crm-invites.ts +11 -0
- package/src/lib/actions/crm-sites.d.ts +10 -0
- package/src/lib/actions/crm-sites.d.ts.map +1 -1
- package/src/lib/actions/crm-sites.js +59 -3
- package/src/lib/actions/crm-sites.js.map +1 -1
- package/src/lib/actions/crm-sites.ts +70 -2
- package/src/lib/actions/crm-suppliers.d.ts +64 -0
- package/src/lib/actions/crm-suppliers.d.ts.map +1 -1
- package/src/lib/actions/crm-suppliers.js +352 -2
- package/src/lib/actions/crm-suppliers.js.map +1 -1
- package/src/lib/actions/crm-suppliers.ts +376 -1
- package/src/lib/actions/index.d.ts +11 -1
- package/src/lib/actions/index.d.ts.map +1 -1
- package/src/lib/actions/index.js +11 -1
- package/src/lib/actions/index.js.map +1 -1
- package/src/lib/actions/index.ts +11 -1
- package/src/lib/actions/items.d.ts +8 -0
- package/src/lib/actions/items.d.ts.map +1 -0
- package/src/lib/actions/items.js +42 -0
- package/src/lib/actions/items.js.map +1 -0
- package/src/lib/actions/items.ts +45 -0
- package/src/lib/actions/jobs-activities.d.ts +4 -3
- package/src/lib/actions/jobs-activities.d.ts.map +1 -1
- package/src/lib/actions/jobs-activities.js +19 -12
- package/src/lib/actions/jobs-activities.js.map +1 -1
- package/src/lib/actions/jobs-activities.ts +19 -12
- package/src/lib/actions/jobs-tasks.d.ts +0 -2
- package/src/lib/actions/jobs-tasks.d.ts.map +1 -1
- package/src/lib/actions/jobs-tasks.js +0 -12
- package/src/lib/actions/jobs-tasks.js.map +1 -1
- package/src/lib/actions/jobs-tasks.ts +0 -12
- package/src/lib/actions/jobs.d.ts +89 -3
- package/src/lib/actions/jobs.d.ts.map +1 -1
- package/src/lib/actions/jobs.js +499 -31
- package/src/lib/actions/jobs.js.map +1 -1
- package/src/lib/actions/jobs.ts +527 -30
- package/src/lib/actions/mcp.d.ts +3 -3
- package/src/lib/actions/mcp.d.ts.map +1 -1
- package/src/lib/actions/mcp.js +9 -9
- package/src/lib/actions/mcp.js.map +1 -1
- package/src/lib/actions/mcp.ts +8 -8
- package/src/lib/actions/pending-items.d.ts +8 -0
- package/src/lib/actions/pending-items.d.ts.map +1 -0
- package/src/lib/actions/pending-items.js +42 -0
- package/src/lib/actions/pending-items.js.map +1 -0
- package/src/lib/actions/pending-items.ts +45 -0
- package/src/lib/actions/service-plans-lines-tasks-subtasks.d.ts +52 -0
- package/src/lib/actions/service-plans-lines-tasks-subtasks.d.ts.map +1 -0
- package/src/lib/actions/service-plans-lines-tasks-subtasks.js +257 -0
- package/src/lib/actions/service-plans-lines-tasks-subtasks.js.map +1 -0
- package/src/lib/actions/service-plans-lines-tasks-subtasks.ts +274 -0
- package/src/lib/actions/service-plans-lines-tasks.d.ts +52 -0
- package/src/lib/actions/service-plans-lines-tasks.d.ts.map +1 -0
- package/src/lib/actions/service-plans-lines-tasks.js +261 -0
- package/src/lib/actions/service-plans-lines-tasks.js.map +1 -0
- package/src/lib/actions/service-plans-lines-tasks.ts +278 -0
- package/src/lib/actions/service-plans-lines.d.ts +52 -0
- package/src/lib/actions/service-plans-lines.d.ts.map +1 -0
- package/src/lib/actions/service-plans-lines.js +286 -0
- package/src/lib/actions/service-plans-lines.js.map +1 -0
- package/src/lib/actions/service-plans-lines.ts +302 -0
- package/src/lib/actions/service-plans.d.ts +45 -0
- package/src/lib/actions/service-plans.d.ts.map +1 -0
- package/src/lib/actions/service-plans.js +229 -0
- package/src/lib/actions/service-plans.js.map +1 -0
- package/src/lib/actions/service-plans.ts +250 -0
- package/src/lib/actions/settings-custom-fields.d.ts +21 -0
- package/src/lib/actions/settings-custom-fields.d.ts.map +1 -0
- package/src/lib/actions/settings-custom-fields.js +95 -0
- package/src/lib/actions/settings-custom-fields.js.map +1 -0
- package/src/lib/actions/settings-custom-fields.ts +107 -0
- package/src/lib/actions/settings-items.d.ts +136 -0
- package/src/lib/actions/settings-items.d.ts.map +1 -0
- package/src/lib/actions/settings-items.js +772 -0
- package/src/lib/actions/settings-items.js.map +1 -0
- package/src/lib/actions/settings-items.ts +818 -0
- package/src/lib/actions/{settings.d.ts → settings-reference-data.d.ts} +42 -10
- package/src/lib/actions/settings-reference-data.d.ts.map +1 -0
- package/src/lib/actions/settings-reference-data.js +505 -0
- package/src/lib/actions/settings-reference-data.js.map +1 -0
- package/src/lib/actions/settings-reference-data.ts +586 -0
- package/src/lib/actions/settings-templates.d.ts +15 -0
- package/src/lib/actions/settings-templates.d.ts.map +1 -0
- package/src/lib/actions/settings-templates.js +75 -0
- package/src/lib/actions/settings-templates.js.map +1 -0
- package/src/lib/actions/settings-templates.ts +79 -0
- package/src/lib/actions/stages-activities.d.ts +4 -3
- package/src/lib/actions/stages-activities.d.ts.map +1 -1
- package/src/lib/actions/stages-activities.js +19 -12
- package/src/lib/actions/stages-activities.js.map +1 -1
- package/src/lib/actions/stages-activities.ts +19 -12
- package/src/lib/actions/stages-pending-items.d.ts +75 -0
- package/src/lib/actions/stages-pending-items.d.ts.map +1 -0
- package/src/lib/actions/stages-pending-items.js +370 -0
- package/src/lib/actions/stages-pending-items.js.map +1 -0
- package/src/lib/actions/stages-pending-items.ts +404 -0
- package/src/lib/actions/stages-resources.d.ts.map +1 -1
- package/src/lib/actions/stages-resources.js +5 -8
- package/src/lib/actions/stages-resources.js.map +1 -1
- package/src/lib/actions/stages-resources.ts +8 -8
- package/src/lib/actions/stages-tasks.d.ts +0 -2
- package/src/lib/actions/stages-tasks.d.ts.map +1 -1
- package/src/lib/actions/stages-tasks.js +0 -12
- package/src/lib/actions/stages-tasks.js.map +1 -1
- package/src/lib/actions/stages-tasks.ts +0 -12
- package/src/lib/actions/stages.d.ts +20 -3
- package/src/lib/actions/stages.d.ts.map +1 -1
- package/src/lib/actions/stages.js +103 -21
- package/src/lib/actions/stages.js.map +1 -1
- package/src/lib/actions/stages.ts +116 -20
- package/src/lib/actions/webhooks-v2.js +11 -11
- package/src/lib/actions/webhooks-v2.js.map +1 -1
- package/src/lib/actions/webhooks-v2.ts +11 -11
- package/src/lib/actions/settings.d.ts.map +0 -1
- package/src/lib/actions/settings.js +0 -257
- package/src/lib/actions/settings.js.map +0 -1
- package/src/lib/actions/settings.ts +0 -301
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { createAction, Property } from '@activepieces/pieces-framework';
|
|
2
|
+
import { HttpMethod, httpClient } from '@activepieces/pieces-common';
|
|
3
|
+
import { workbuddyAuth, getAccessToken } from '../auth';
|
|
4
|
+
|
|
5
|
+
export const PublicServicePlanController_create = createAction({
|
|
6
|
+
name: 'PublicServicePlanController_create',
|
|
7
|
+
auth: workbuddyAuth,
|
|
8
|
+
displayName: 'Create a Service Plan',
|
|
9
|
+
description:
|
|
10
|
+
'Creates only the Service Plan contract header. Lines and Tasks are added through their nested endpoints.',
|
|
11
|
+
props: {
|
|
12
|
+
integrationId: Property.ShortText({
|
|
13
|
+
displayName: 'Integration Id',
|
|
14
|
+
description: 'integration ID',
|
|
15
|
+
required: true,
|
|
16
|
+
}),
|
|
17
|
+
name: Property.ShortText({
|
|
18
|
+
displayName: 'Name',
|
|
19
|
+
description: 'Display name',
|
|
20
|
+
required: true,
|
|
21
|
+
}),
|
|
22
|
+
customerId: Property.ShortText({
|
|
23
|
+
displayName: 'Customer Id',
|
|
24
|
+
description: 'Customer ID — use /crm/customers to look up',
|
|
25
|
+
required: true,
|
|
26
|
+
}),
|
|
27
|
+
siteId: Property.ShortText({
|
|
28
|
+
displayName: 'Site Id',
|
|
29
|
+
description: 'Site ID — use /crm/sites to look up',
|
|
30
|
+
required: true,
|
|
31
|
+
}),
|
|
32
|
+
dateStart: Property.ShortText({
|
|
33
|
+
displayName: 'Date Start',
|
|
34
|
+
description: '',
|
|
35
|
+
required: true,
|
|
36
|
+
}),
|
|
37
|
+
dateEnd: Property.ShortText({
|
|
38
|
+
displayName: 'Date End',
|
|
39
|
+
description: '',
|
|
40
|
+
required: false,
|
|
41
|
+
}),
|
|
42
|
+
workingDays: Property.StaticMultiSelectDropdown({
|
|
43
|
+
displayName: 'Working Days',
|
|
44
|
+
description: '',
|
|
45
|
+
required: false,
|
|
46
|
+
options: {
|
|
47
|
+
options: [
|
|
48
|
+
{ label: 'Mon', value: 'Mon' },
|
|
49
|
+
{ label: 'Tue', value: 'Tue' },
|
|
50
|
+
{ label: 'Wed', value: 'Wed' },
|
|
51
|
+
{ label: 'Thu', value: 'Thu' },
|
|
52
|
+
{ label: 'Fri', value: 'Fri' },
|
|
53
|
+
{ label: 'Sat', value: 'Sat' },
|
|
54
|
+
{ label: 'Sun', value: 'Sun' },
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
}),
|
|
58
|
+
},
|
|
59
|
+
async run(context) {
|
|
60
|
+
const token = await getAccessToken(context.auth);
|
|
61
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
62
|
+
|
|
63
|
+
const url = `${baseUrl}/api/v2/public/service-plans`;
|
|
64
|
+
|
|
65
|
+
const rawBody: Record<string, unknown> = {
|
|
66
|
+
integrationId: context.propsValue.integrationId,
|
|
67
|
+
name: context.propsValue.name,
|
|
68
|
+
customerId: context.propsValue.customerId,
|
|
69
|
+
siteId: context.propsValue.siteId,
|
|
70
|
+
dateStart: context.propsValue.dateStart,
|
|
71
|
+
dateEnd: context.propsValue.dateEnd,
|
|
72
|
+
workingDays: context.propsValue.workingDays,
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const body = rawBody;
|
|
76
|
+
const response = await httpClient.sendRequest({
|
|
77
|
+
method: HttpMethod.POST,
|
|
78
|
+
url: `${baseUrl}/api/v2/public/service-plans`,
|
|
79
|
+
headers: {
|
|
80
|
+
Authorization: `Bearer ${token}`,
|
|
81
|
+
'Content-Type': 'application/json',
|
|
82
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
83
|
+
},
|
|
84
|
+
body: body,
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
return response.body;
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export const PublicServicePlanController_get = createAction({
|
|
92
|
+
name: 'PublicServicePlanController_get',
|
|
93
|
+
auth: workbuddyAuth,
|
|
94
|
+
displayName: 'Get a Service Plan',
|
|
95
|
+
description: "Resolves a WorkBuddy ID first, then the authenticated caller's integrationId.",
|
|
96
|
+
props: {
|
|
97
|
+
identifier: Property.ShortText({
|
|
98
|
+
displayName: 'Identifier',
|
|
99
|
+
description: 'WorkBuddy Service Plan ID or caller integrationId',
|
|
100
|
+
required: true,
|
|
101
|
+
}),
|
|
102
|
+
},
|
|
103
|
+
async run(context) {
|
|
104
|
+
const token = await getAccessToken(context.auth);
|
|
105
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
106
|
+
|
|
107
|
+
const url = `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}`;
|
|
108
|
+
|
|
109
|
+
const response = await httpClient.sendRequest({
|
|
110
|
+
method: HttpMethod.GET,
|
|
111
|
+
url: `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}`,
|
|
112
|
+
headers: {
|
|
113
|
+
Authorization: `Bearer ${token}`,
|
|
114
|
+
'Content-Type': 'application/json',
|
|
115
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
return response.body;
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
export const PublicServicePlanController_activate = createAction({
|
|
124
|
+
name: 'PublicServicePlanController_activate',
|
|
125
|
+
auth: workbuddyAuth,
|
|
126
|
+
displayName: 'Start a Service Plan',
|
|
127
|
+
description: 'Validates and starts a fully assembled Service Plan.',
|
|
128
|
+
props: {
|
|
129
|
+
identifier: Property.ShortText({
|
|
130
|
+
displayName: 'Identifier',
|
|
131
|
+
description: 'Entity ID or human-readable number',
|
|
132
|
+
required: true,
|
|
133
|
+
}),
|
|
134
|
+
reason: Property.ShortText({
|
|
135
|
+
displayName: 'Reason',
|
|
136
|
+
description: 'Reason for the action (e.g. cancellation reason)',
|
|
137
|
+
required: false,
|
|
138
|
+
}),
|
|
139
|
+
},
|
|
140
|
+
async run(context) {
|
|
141
|
+
const token = await getAccessToken(context.auth);
|
|
142
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
143
|
+
|
|
144
|
+
const url = `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}/activate`;
|
|
145
|
+
|
|
146
|
+
const rawBody: Record<string, unknown> = {
|
|
147
|
+
reason: context.propsValue.reason,
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
const body = rawBody;
|
|
151
|
+
const response = await httpClient.sendRequest({
|
|
152
|
+
method: HttpMethod.POST,
|
|
153
|
+
url: `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}/activate`,
|
|
154
|
+
headers: {
|
|
155
|
+
Authorization: `Bearer ${token}`,
|
|
156
|
+
'Content-Type': 'application/json',
|
|
157
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
158
|
+
},
|
|
159
|
+
body: body,
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
return response.body;
|
|
163
|
+
},
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
export const PublicServicePlanController_suspend = createAction({
|
|
167
|
+
name: 'PublicServicePlanController_suspend',
|
|
168
|
+
auth: workbuddyAuth,
|
|
169
|
+
displayName: 'Pause a Service Plan',
|
|
170
|
+
description: 'Stops future scheduled work while preserving history.',
|
|
171
|
+
props: {
|
|
172
|
+
identifier: Property.ShortText({
|
|
173
|
+
displayName: 'Identifier',
|
|
174
|
+
description: 'Entity ID or human-readable number',
|
|
175
|
+
required: true,
|
|
176
|
+
}),
|
|
177
|
+
reason: Property.ShortText({
|
|
178
|
+
displayName: 'Reason',
|
|
179
|
+
description: 'Reason for the action (e.g. cancellation reason)',
|
|
180
|
+
required: false,
|
|
181
|
+
}),
|
|
182
|
+
},
|
|
183
|
+
async run(context) {
|
|
184
|
+
const token = await getAccessToken(context.auth);
|
|
185
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
186
|
+
|
|
187
|
+
const url = `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}/suspend`;
|
|
188
|
+
|
|
189
|
+
const rawBody: Record<string, unknown> = {
|
|
190
|
+
reason: context.propsValue.reason,
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
const body = rawBody;
|
|
194
|
+
const response = await httpClient.sendRequest({
|
|
195
|
+
method: HttpMethod.POST,
|
|
196
|
+
url: `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}/suspend`,
|
|
197
|
+
headers: {
|
|
198
|
+
Authorization: `Bearer ${token}`,
|
|
199
|
+
'Content-Type': 'application/json',
|
|
200
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
201
|
+
},
|
|
202
|
+
body: body,
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
return response.body;
|
|
206
|
+
},
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
export const PublicServicePlanController_archive = createAction({
|
|
210
|
+
name: 'PublicServicePlanController_archive',
|
|
211
|
+
auth: workbuddyAuth,
|
|
212
|
+
displayName: 'Archive a Service Plan',
|
|
213
|
+
description: 'Archives a paused Service Plan and reconciles future scheduled work.',
|
|
214
|
+
props: {
|
|
215
|
+
identifier: Property.ShortText({
|
|
216
|
+
displayName: 'Identifier',
|
|
217
|
+
description: 'Entity ID or human-readable number',
|
|
218
|
+
required: true,
|
|
219
|
+
}),
|
|
220
|
+
reason: Property.ShortText({
|
|
221
|
+
displayName: 'Reason',
|
|
222
|
+
description: 'Reason for the action (e.g. cancellation reason)',
|
|
223
|
+
required: false,
|
|
224
|
+
}),
|
|
225
|
+
},
|
|
226
|
+
async run(context) {
|
|
227
|
+
const token = await getAccessToken(context.auth);
|
|
228
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
229
|
+
|
|
230
|
+
const url = `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}/archive`;
|
|
231
|
+
|
|
232
|
+
const rawBody: Record<string, unknown> = {
|
|
233
|
+
reason: context.propsValue.reason,
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
const body = rawBody;
|
|
237
|
+
const response = await httpClient.sendRequest({
|
|
238
|
+
method: HttpMethod.POST,
|
|
239
|
+
url: `${baseUrl}/api/v2/public/service-plans/${context.propsValue.identifier}/archive`,
|
|
240
|
+
headers: {
|
|
241
|
+
Authorization: `Bearer ${token}`,
|
|
242
|
+
'Content-Type': 'application/json',
|
|
243
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
244
|
+
},
|
|
245
|
+
body: body,
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
return response.body;
|
|
249
|
+
},
|
|
250
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const PublicApiCustomFieldController_listJobCustomFields: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
+
}>, {}>;
|
|
6
|
+
export declare const PublicApiCustomFieldController_listStageCustomFields: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
9
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
10
|
+
}>, {}>;
|
|
11
|
+
export declare const PublicApiCustomFieldController_listAccountCustomFields: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
12
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
13
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
14
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
15
|
+
}>, {}>;
|
|
16
|
+
export declare const PublicApiCustomFieldController_listItemCustomFields: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
17
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
19
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
20
|
+
}>, {}>;
|
|
21
|
+
//# sourceMappingURL=settings-custom-fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-custom-fields.d.ts","sourceRoot":"","sources":["settings-custom-fields.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kDAAkD;;;;OAwB7D,CAAC;AAEH,eAAO,MAAM,oDAAoD;;;;OAwB/D,CAAC;AAEH,eAAO,MAAM,sDAAsD;;;;OAwBjE,CAAC;AAEH,eAAO,MAAM,mDAAmD;;;;OAwB9D,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublicApiCustomFieldController_listItemCustomFields = exports.PublicApiCustomFieldController_listAccountCustomFields = exports.PublicApiCustomFieldController_listStageCustomFields = exports.PublicApiCustomFieldController_listJobCustomFields = void 0;
|
|
4
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
5
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
6
|
+
const auth_1 = require("../auth");
|
|
7
|
+
exports.PublicApiCustomFieldController_listJobCustomFields = (0, pieces_framework_1.createAction)({
|
|
8
|
+
name: 'PublicApiCustomFieldController_listJobCustomFields',
|
|
9
|
+
auth: auth_1.workbuddyAuth,
|
|
10
|
+
displayName: 'List job custom fields',
|
|
11
|
+
description: 'Retrieve configured custom fields that may be used in Job customFields payloads.',
|
|
12
|
+
props: {},
|
|
13
|
+
async run(context) {
|
|
14
|
+
const token = await (0, auth_1.getAccessToken)(context.auth);
|
|
15
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
16
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/jobs`;
|
|
17
|
+
const response = await pieces_common_1.httpClient.sendRequest({
|
|
18
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
19
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/jobs`,
|
|
20
|
+
headers: {
|
|
21
|
+
Authorization: `Bearer ${token}`,
|
|
22
|
+
'Content-Type': 'application/json',
|
|
23
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
return response.body;
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
exports.PublicApiCustomFieldController_listStageCustomFields = (0, pieces_framework_1.createAction)({
|
|
30
|
+
name: 'PublicApiCustomFieldController_listStageCustomFields',
|
|
31
|
+
auth: auth_1.workbuddyAuth,
|
|
32
|
+
displayName: 'List stage custom fields',
|
|
33
|
+
description: 'Retrieve configured custom fields that may be used in Stage customFields payloads.',
|
|
34
|
+
props: {},
|
|
35
|
+
async run(context) {
|
|
36
|
+
const token = await (0, auth_1.getAccessToken)(context.auth);
|
|
37
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
38
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/stages`;
|
|
39
|
+
const response = await pieces_common_1.httpClient.sendRequest({
|
|
40
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
41
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/stages`,
|
|
42
|
+
headers: {
|
|
43
|
+
Authorization: `Bearer ${token}`,
|
|
44
|
+
'Content-Type': 'application/json',
|
|
45
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
return response.body;
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
exports.PublicApiCustomFieldController_listAccountCustomFields = (0, pieces_framework_1.createAction)({
|
|
52
|
+
name: 'PublicApiCustomFieldController_listAccountCustomFields',
|
|
53
|
+
auth: auth_1.workbuddyAuth,
|
|
54
|
+
displayName: 'List account custom fields',
|
|
55
|
+
description: 'Retrieve configured custom fields that may be used in CRM account customFields payloads.',
|
|
56
|
+
props: {},
|
|
57
|
+
async run(context) {
|
|
58
|
+
const token = await (0, auth_1.getAccessToken)(context.auth);
|
|
59
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
60
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/accounts`;
|
|
61
|
+
const response = await pieces_common_1.httpClient.sendRequest({
|
|
62
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
63
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/accounts`,
|
|
64
|
+
headers: {
|
|
65
|
+
Authorization: `Bearer ${token}`,
|
|
66
|
+
'Content-Type': 'application/json',
|
|
67
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
return response.body;
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
exports.PublicApiCustomFieldController_listItemCustomFields = (0, pieces_framework_1.createAction)({
|
|
74
|
+
name: 'PublicApiCustomFieldController_listItemCustomFields',
|
|
75
|
+
auth: auth_1.workbuddyAuth,
|
|
76
|
+
displayName: 'List item custom fields',
|
|
77
|
+
description: 'Retrieve configured custom fields that may be used in settings item customFields payloads.',
|
|
78
|
+
props: {},
|
|
79
|
+
async run(context) {
|
|
80
|
+
const token = await (0, auth_1.getAccessToken)(context.auth);
|
|
81
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
82
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/items`;
|
|
83
|
+
const response = await pieces_common_1.httpClient.sendRequest({
|
|
84
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
85
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/items`,
|
|
86
|
+
headers: {
|
|
87
|
+
Authorization: `Bearer ${token}`,
|
|
88
|
+
'Content-Type': 'application/json',
|
|
89
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
return response.body;
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
//# sourceMappingURL=settings-custom-fields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-custom-fields.js","sourceRoot":"","sources":["settings-custom-fields.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { createAction, Property } from '@activepieces/pieces-framework';
|
|
2
|
+
import { HttpMethod, httpClient } from '@activepieces/pieces-common';
|
|
3
|
+
import { workbuddyAuth, getAccessToken } from '../auth';
|
|
4
|
+
|
|
5
|
+
export const PublicApiCustomFieldController_listJobCustomFields = createAction({
|
|
6
|
+
name: 'PublicApiCustomFieldController_listJobCustomFields',
|
|
7
|
+
auth: workbuddyAuth,
|
|
8
|
+
displayName: 'List job custom fields',
|
|
9
|
+
description: 'Retrieve configured custom fields that may be used in Job customFields payloads.',
|
|
10
|
+
props: {},
|
|
11
|
+
async run(context) {
|
|
12
|
+
const token = await getAccessToken(context.auth);
|
|
13
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
14
|
+
|
|
15
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/jobs`;
|
|
16
|
+
|
|
17
|
+
const response = await httpClient.sendRequest({
|
|
18
|
+
method: HttpMethod.GET,
|
|
19
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/jobs`,
|
|
20
|
+
headers: {
|
|
21
|
+
Authorization: `Bearer ${token}`,
|
|
22
|
+
'Content-Type': 'application/json',
|
|
23
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
return response.body;
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export const PublicApiCustomFieldController_listStageCustomFields = createAction({
|
|
32
|
+
name: 'PublicApiCustomFieldController_listStageCustomFields',
|
|
33
|
+
auth: workbuddyAuth,
|
|
34
|
+
displayName: 'List stage custom fields',
|
|
35
|
+
description: 'Retrieve configured custom fields that may be used in Stage customFields payloads.',
|
|
36
|
+
props: {},
|
|
37
|
+
async run(context) {
|
|
38
|
+
const token = await getAccessToken(context.auth);
|
|
39
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
40
|
+
|
|
41
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/stages`;
|
|
42
|
+
|
|
43
|
+
const response = await httpClient.sendRequest({
|
|
44
|
+
method: HttpMethod.GET,
|
|
45
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/stages`,
|
|
46
|
+
headers: {
|
|
47
|
+
Authorization: `Bearer ${token}`,
|
|
48
|
+
'Content-Type': 'application/json',
|
|
49
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
return response.body;
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export const PublicApiCustomFieldController_listAccountCustomFields = createAction({
|
|
58
|
+
name: 'PublicApiCustomFieldController_listAccountCustomFields',
|
|
59
|
+
auth: workbuddyAuth,
|
|
60
|
+
displayName: 'List account custom fields',
|
|
61
|
+
description: 'Retrieve configured custom fields that may be used in CRM account customFields payloads.',
|
|
62
|
+
props: {},
|
|
63
|
+
async run(context) {
|
|
64
|
+
const token = await getAccessToken(context.auth);
|
|
65
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
66
|
+
|
|
67
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/accounts`;
|
|
68
|
+
|
|
69
|
+
const response = await httpClient.sendRequest({
|
|
70
|
+
method: HttpMethod.GET,
|
|
71
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/accounts`,
|
|
72
|
+
headers: {
|
|
73
|
+
Authorization: `Bearer ${token}`,
|
|
74
|
+
'Content-Type': 'application/json',
|
|
75
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
return response.body;
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export const PublicApiCustomFieldController_listItemCustomFields = createAction({
|
|
84
|
+
name: 'PublicApiCustomFieldController_listItemCustomFields',
|
|
85
|
+
auth: workbuddyAuth,
|
|
86
|
+
displayName: 'List item custom fields',
|
|
87
|
+
description: 'Retrieve configured custom fields that may be used in settings item customFields payloads.',
|
|
88
|
+
props: {},
|
|
89
|
+
async run(context) {
|
|
90
|
+
const token = await getAccessToken(context.auth);
|
|
91
|
+
const baseUrl = context.auth.props.baseUrl;
|
|
92
|
+
|
|
93
|
+
const url = `${baseUrl}/api/v2/public/settings/custom-fields/items`;
|
|
94
|
+
|
|
95
|
+
const response = await httpClient.sendRequest({
|
|
96
|
+
method: HttpMethod.GET,
|
|
97
|
+
url: `${baseUrl}/api/v2/public/settings/custom-fields/items`,
|
|
98
|
+
headers: {
|
|
99
|
+
Authorization: `Bearer ${token}`,
|
|
100
|
+
'Content-Type': 'application/json',
|
|
101
|
+
'X-WorkBuddy-Version': '2026-01',
|
|
102
|
+
},
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
return response.body;
|
|
106
|
+
},
|
|
107
|
+
});
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export declare const PublicApiItemController_list: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
+
}>, {}>;
|
|
6
|
+
export declare const PublicApiItemController_create: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
9
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
10
|
+
}>, {}>;
|
|
11
|
+
export declare const PublicApiItemController_upsert: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
12
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
13
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
14
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
15
|
+
}>, {
|
|
16
|
+
name: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
|
+
type: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
18
|
+
baseUomId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
19
|
+
baseUomName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
20
|
+
description: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
21
|
+
category: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
22
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
23
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
24
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
25
|
+
}>>;
|
|
26
|
+
active: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
27
|
+
integrationId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
28
|
+
canOverrideDesc: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
29
|
+
longDescription: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
30
|
+
manufacturer: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
31
|
+
retailPrice: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
32
|
+
tradePrice: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
33
|
+
standardCost: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
34
|
+
economicOrderQty: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
35
|
+
safetyStockQty: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
36
|
+
leadTimeDays: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
37
|
+
upc: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
38
|
+
itemSold: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
39
|
+
saleGlCode: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
40
|
+
saleTaxRateId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
41
|
+
saleTaxRateName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
42
|
+
itemPurchased: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
43
|
+
purchaseGlCode: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
44
|
+
purchaseTaxRateId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
45
|
+
purchaseTaxRateName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
46
|
+
codeInvoicingStatus: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
47
|
+
suppliedBySubcontractor: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
48
|
+
autoCreateTask: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
49
|
+
customFields: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
50
|
+
trackingCategory1: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
51
|
+
trackingCategory2: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
52
|
+
uoms: import("@activepieces/pieces-framework").JsonProperty<false>;
|
|
53
|
+
}>;
|
|
54
|
+
export declare const PublicApiItemController_getById: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
55
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
56
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
57
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
58
|
+
}>, {
|
|
59
|
+
id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
60
|
+
}>;
|
|
61
|
+
export declare const PublicApiItemController_update: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
62
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
63
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
64
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
65
|
+
}>, {
|
|
66
|
+
id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
67
|
+
type: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
68
|
+
name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
69
|
+
baseUomId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
70
|
+
baseUomName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
71
|
+
description: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
72
|
+
category: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
73
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
74
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
75
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
76
|
+
}>>;
|
|
77
|
+
active: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
78
|
+
integrationId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
79
|
+
canOverrideDesc: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
80
|
+
longDescription: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
81
|
+
manufacturer: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
82
|
+
retailPrice: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
83
|
+
tradePrice: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
84
|
+
standardCost: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
85
|
+
economicOrderQty: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
86
|
+
safetyStockQty: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
87
|
+
leadTimeDays: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
88
|
+
upc: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
89
|
+
itemSold: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
90
|
+
saleGlCode: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
91
|
+
saleTaxRateId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
92
|
+
saleTaxRateName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
93
|
+
itemPurchased: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
94
|
+
purchaseGlCode: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
95
|
+
purchaseTaxRateId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
96
|
+
purchaseTaxRateName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
97
|
+
codeInvoicingStatus: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
98
|
+
suppliedBySubcontractor: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
99
|
+
autoCreateTask: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
100
|
+
customFields: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
101
|
+
trackingCategory1: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
102
|
+
trackingCategory2: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
103
|
+
uoms: import("@activepieces/pieces-framework").JsonProperty<false>;
|
|
104
|
+
}>;
|
|
105
|
+
export declare const PublicApiItemController_delete: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
106
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
107
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
108
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
109
|
+
}>, {
|
|
110
|
+
id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
111
|
+
}>;
|
|
112
|
+
export declare const PublicApiItemCategoryController_list: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
113
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
114
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
115
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
116
|
+
}>, {
|
|
117
|
+
id: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
118
|
+
name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
119
|
+
search: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
120
|
+
}>;
|
|
121
|
+
export declare const PublicApiItemCategoryController_upsert: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
122
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
123
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
124
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
125
|
+
}>, {
|
|
126
|
+
categoryId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
127
|
+
categoryName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
128
|
+
subCategoryId: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
129
|
+
subCategoryName: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
130
|
+
}>;
|
|
131
|
+
export declare const PublicApiUoMController_list: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
132
|
+
baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
133
|
+
clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
134
|
+
clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
135
|
+
}>, {}>;
|
|
136
|
+
//# sourceMappingURL=settings-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-items.d.ts","sourceRoot":"","sources":["settings-items.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,4BAA4B;;;;OAwBvC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;OAwBzC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoRzC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;EA8B1C,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwRzC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;EA8BzC,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;EAuD/C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;EAsDjD,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;OAwBtC,CAAC"}
|