@workbuddy/piece-workbuddy-vnext 1.0.9 → 1.0.11

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.
@@ -40,18 +40,4 @@ export declare const PublicApiWorkTypeController_list: import("@activepieces/pie
40
40
  clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
41
41
  clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
42
42
  }>, {}>;
43
- export declare const PublicApiTemplateController_listEmailTemplates: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
44
- baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
45
- clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
46
- clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
47
- }>, {
48
- entity: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
49
- }>;
50
- export declare const PublicApiTemplateController_listSmsTemplates: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
51
- baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
52
- clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
53
- clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
54
- }>, {
55
- entity: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
56
- }>;
57
- //# sourceMappingURL=settings.d.ts.map
43
+ //# sourceMappingURL=settings-reference-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings-reference-data.d.ts","sourceRoot":"","sources":["settings-reference-data.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oCAAoC;;;;;;EA+B/C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;OAyB5C,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;OAyB1C,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;OAyB3C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;OAyB9C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;OAyBtC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;OAyBvC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;OAyB3C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PublicApiTemplateController_listSmsTemplates = exports.PublicApiTemplateController_listEmailTemplates = exports.PublicApiWorkTypeController_list = exports.PublicApiZoneController_list = exports.PublicApiTagController_list = exports.PublicApiStageStatusController_list = exports.PublicApiPriorityController_list = exports.PublicApiJobTypeController_list = exports.PublicApiJobStatusController_list = exports.PublicApiEntityStatusController_list = void 0;
3
+ exports.PublicApiWorkTypeController_list = exports.PublicApiZoneController_list = exports.PublicApiTagController_list = exports.PublicApiStageStatusController_list = exports.PublicApiPriorityController_list = exports.PublicApiJobTypeController_list = exports.PublicApiJobStatusController_list = exports.PublicApiEntityStatusController_list = void 0;
4
4
  const pieces_framework_1 = require("@activepieces/pieces-framework");
5
5
  const pieces_common_1 = require("@activepieces/pieces-common");
6
6
  const auth_1 = require("../auth");
@@ -186,72 +186,4 @@ exports.PublicApiWorkTypeController_list = (0, pieces_framework_1.createAction)(
186
186
  return response.body;
187
187
  },
188
188
  });
189
- exports.PublicApiTemplateController_listEmailTemplates = (0, pieces_framework_1.createAction)({
190
- name: 'PublicApiTemplateController_listEmailTemplates',
191
- auth: auth_1.workbuddyAuth,
192
- displayName: 'List email templates for entity type',
193
- description: 'Retrieve all active email templates for the specified entity type (job or stage).',
194
- props: {
195
- entity: pieces_framework_1.Property.StaticDropdown({
196
- displayName: 'Entity',
197
- description: 'Entity type',
198
- required: true,
199
- options: {
200
- options: [
201
- { label: 'job', value: 'job' },
202
- { label: 'stage', value: 'stage' },
203
- ],
204
- },
205
- }),
206
- },
207
- async run(context) {
208
- const token = await (0, auth_1.getAccessToken)(context.auth);
209
- const baseUrl = context.auth.props.baseUrl;
210
- const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`;
211
- const response = await pieces_common_1.httpClient.sendRequest({
212
- method: pieces_common_1.HttpMethod.GET,
213
- url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`,
214
- headers: {
215
- Authorization: `Bearer ${token}`,
216
- 'Content-Type': 'application/json',
217
- 'X-WorkBuddy-Version': '2026-01',
218
- },
219
- });
220
- return response.body;
221
- },
222
- });
223
- exports.PublicApiTemplateController_listSmsTemplates = (0, pieces_framework_1.createAction)({
224
- name: 'PublicApiTemplateController_listSmsTemplates',
225
- auth: auth_1.workbuddyAuth,
226
- displayName: 'List SMS templates for entity type',
227
- description: 'Retrieve all active SMS templates for the specified entity type (job or stage).',
228
- props: {
229
- entity: pieces_framework_1.Property.StaticDropdown({
230
- displayName: 'Entity',
231
- description: 'Entity type',
232
- required: true,
233
- options: {
234
- options: [
235
- { label: 'job', value: 'job' },
236
- { label: 'stage', value: 'stage' },
237
- ],
238
- },
239
- }),
240
- },
241
- async run(context) {
242
- const token = await (0, auth_1.getAccessToken)(context.auth);
243
- const baseUrl = context.auth.props.baseUrl;
244
- const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`;
245
- const response = await pieces_common_1.httpClient.sendRequest({
246
- method: pieces_common_1.HttpMethod.GET,
247
- url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`,
248
- headers: {
249
- Authorization: `Bearer ${token}`,
250
- 'Content-Type': 'application/json',
251
- 'X-WorkBuddy-Version': '2026-01',
252
- },
253
- });
254
- return response.body;
255
- },
256
- });
257
- //# sourceMappingURL=settings.js.map
189
+ //# sourceMappingURL=settings-reference-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings-reference-data.js","sourceRoot":"","sources":["settings-reference-data.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAwD;AAE3C,QAAA,oCAAoC,GAAG,IAAA,+BAAY,EAAC;IAC/D,IAAI,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223
  return response.body;
224
224
  },
225
225
  });
226
-
227
- export const PublicApiTemplateController_listEmailTemplates = createAction({
228
- name: 'PublicApiTemplateController_listEmailTemplates',
229
- auth: workbuddyAuth,
230
- displayName: 'List email templates for entity type',
231
- description: 'Retrieve all active email templates for the specified entity type (job or stage).',
232
- props: {
233
- entity: Property.StaticDropdown({
234
- displayName: 'Entity',
235
- description: 'Entity type',
236
- required: true,
237
- options: {
238
- options: [
239
- { label: 'job', value: 'job' },
240
- { label: 'stage', value: 'stage' },
241
- ],
242
- },
243
- }),
244
- },
245
- async run(context) {
246
- const token = await getAccessToken(context.auth);
247
- const baseUrl = context.auth.props.baseUrl;
248
-
249
- const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`;
250
-
251
- const response = await httpClient.sendRequest({
252
- method: HttpMethod.GET,
253
- url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`,
254
- headers: {
255
- Authorization: `Bearer ${token}`,
256
- 'Content-Type': 'application/json',
257
- 'X-WorkBuddy-Version': '2026-01',
258
- },
259
- });
260
-
261
- return response.body;
262
- },
263
- });
264
-
265
- export const PublicApiTemplateController_listSmsTemplates = createAction({
266
- name: 'PublicApiTemplateController_listSmsTemplates',
267
- auth: workbuddyAuth,
268
- displayName: 'List SMS templates for entity type',
269
- description: 'Retrieve all active SMS templates for the specified entity type (job or stage).',
270
- props: {
271
- entity: Property.StaticDropdown({
272
- displayName: 'Entity',
273
- description: 'Entity type',
274
- required: true,
275
- options: {
276
- options: [
277
- { label: 'job', value: 'job' },
278
- { label: 'stage', value: 'stage' },
279
- ],
280
- },
281
- }),
282
- },
283
- async run(context) {
284
- const token = await getAccessToken(context.auth);
285
- const baseUrl = context.auth.props.baseUrl;
286
-
287
- const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`;
288
-
289
- const response = await httpClient.sendRequest({
290
- method: HttpMethod.GET,
291
- url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`,
292
- headers: {
293
- Authorization: `Bearer ${token}`,
294
- 'Content-Type': 'application/json',
295
- 'X-WorkBuddy-Version': '2026-01',
296
- },
297
- });
298
-
299
- return response.body;
300
- },
301
- });
@@ -0,0 +1,15 @@
1
+ export declare const PublicApiTemplateController_listEmailTemplates: 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
+ entity: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
7
+ }>;
8
+ export declare const PublicApiTemplateController_listSmsTemplates: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
9
+ baseUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
10
+ clientId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
11
+ clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
12
+ }>, {
13
+ entity: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
14
+ }>;
15
+ //# sourceMappingURL=settings-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings-templates.d.ts","sourceRoot":"","sources":["settings-templates.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,8CAA8C;;;;;;EAoCzD,CAAC;AAEH,eAAO,MAAM,4CAA4C;;;;;;EAoCvD,CAAC"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublicApiTemplateController_listSmsTemplates = exports.PublicApiTemplateController_listEmailTemplates = 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.PublicApiTemplateController_listEmailTemplates = (0, pieces_framework_1.createAction)({
8
+ name: 'PublicApiTemplateController_listEmailTemplates',
9
+ auth: auth_1.workbuddyAuth,
10
+ displayName: 'List email templates for entity type',
11
+ description: 'Retrieve all active email templates for the specified entity type (job or stage).',
12
+ props: {
13
+ entity: pieces_framework_1.Property.StaticDropdown({
14
+ displayName: 'Entity',
15
+ description: 'Entity type',
16
+ required: true,
17
+ options: {
18
+ options: [
19
+ { label: 'job', value: 'job' },
20
+ { label: 'stage', value: 'stage' },
21
+ ],
22
+ },
23
+ }),
24
+ },
25
+ async run(context) {
26
+ const token = await (0, auth_1.getAccessToken)(context.auth);
27
+ const baseUrl = context.auth.props.baseUrl;
28
+ const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`;
29
+ const response = await pieces_common_1.httpClient.sendRequest({
30
+ method: pieces_common_1.HttpMethod.GET,
31
+ url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`,
32
+ headers: {
33
+ Authorization: `Bearer ${token}`,
34
+ 'Content-Type': 'application/json',
35
+ 'X-WorkBuddy-Version': '2026-01',
36
+ },
37
+ });
38
+ return response.body;
39
+ },
40
+ });
41
+ exports.PublicApiTemplateController_listSmsTemplates = (0, pieces_framework_1.createAction)({
42
+ name: 'PublicApiTemplateController_listSmsTemplates',
43
+ auth: auth_1.workbuddyAuth,
44
+ displayName: 'List SMS templates for entity type',
45
+ description: 'Retrieve all active SMS templates for the specified entity type (job or stage).',
46
+ props: {
47
+ entity: pieces_framework_1.Property.StaticDropdown({
48
+ displayName: 'Entity',
49
+ description: 'Entity type',
50
+ required: true,
51
+ options: {
52
+ options: [
53
+ { label: 'job', value: 'job' },
54
+ { label: 'stage', value: 'stage' },
55
+ ],
56
+ },
57
+ }),
58
+ },
59
+ async run(context) {
60
+ const token = await (0, auth_1.getAccessToken)(context.auth);
61
+ const baseUrl = context.auth.props.baseUrl;
62
+ const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`;
63
+ const response = await pieces_common_1.httpClient.sendRequest({
64
+ method: pieces_common_1.HttpMethod.GET,
65
+ url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`,
66
+ headers: {
67
+ Authorization: `Bearer ${token}`,
68
+ 'Content-Type': 'application/json',
69
+ 'X-WorkBuddy-Version': '2026-01',
70
+ },
71
+ });
72
+ return response.body;
73
+ },
74
+ });
75
+ //# sourceMappingURL=settings-templates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings-templates.js","sourceRoot":"","sources":["settings-templates.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAwD;AAE3C,QAAA,8CAA8C,GAAG,IAAA,+BAAY,EAAC;IACzE,IAAI,EAAE,gDAAgD;IACtD,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,sCAAsC;IACnD,WAAW,EAAE,mFAAmF;IAChG,KAAK,EAAE;QACL,MAAM,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC9B,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;oBAC9B,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;iBACnC;aACF;SACF,CAAC;KACH;IACD,KAAK,CAAC,GAAG,CAAC,OAAO;QACf,MAAM,KAAK,GAAG,MAAM,IAAA,qBAAc,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACjD,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;QAE3C,MAAM,GAAG,GAAG,GAAG,OAAO,qCAAqC,OAAO,CAAC,UAAU,CAAC,MAAM,QAAQ,CAAC;QAE7F,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;YAC5C,MAAM,EAAE,0BAAU,CAAC,GAAG;YACtB,GAAG,E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E;gBAChC,cAAc,EAAE,kBAAkB;gBAClC,qBAAqB,EAAE,SAAS;aACjC;SACF,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;CACF,CAAC,CAAC"}
@@ -0,0 +1,79 @@
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 PublicApiTemplateController_listEmailTemplates = createAction({
6
+ name: 'PublicApiTemplateController_listEmailTemplates',
7
+ auth: workbuddyAuth,
8
+ displayName: 'List email templates for entity type',
9
+ description: 'Retrieve all active email templates for the specified entity type (job or stage).',
10
+ props: {
11
+ entity: Property.StaticDropdown({
12
+ displayName: 'Entity',
13
+ description: 'Entity type',
14
+ required: true,
15
+ options: {
16
+ options: [
17
+ { label: 'job', value: 'job' },
18
+ { label: 'stage', value: 'stage' },
19
+ ],
20
+ },
21
+ }),
22
+ },
23
+ async run(context) {
24
+ const token = await getAccessToken(context.auth);
25
+ const baseUrl = context.auth.props.baseUrl;
26
+
27
+ const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`;
28
+
29
+ const response = await httpClient.sendRequest({
30
+ method: HttpMethod.GET,
31
+ url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/email`,
32
+ headers: {
33
+ Authorization: `Bearer ${token}`,
34
+ 'Content-Type': 'application/json',
35
+ 'X-WorkBuddy-Version': '2026-01',
36
+ },
37
+ });
38
+
39
+ return response.body;
40
+ },
41
+ });
42
+
43
+ export const PublicApiTemplateController_listSmsTemplates = createAction({
44
+ name: 'PublicApiTemplateController_listSmsTemplates',
45
+ auth: workbuddyAuth,
46
+ displayName: 'List SMS templates for entity type',
47
+ description: 'Retrieve all active SMS templates for the specified entity type (job or stage).',
48
+ props: {
49
+ entity: Property.StaticDropdown({
50
+ displayName: 'Entity',
51
+ description: 'Entity type',
52
+ required: true,
53
+ options: {
54
+ options: [
55
+ { label: 'job', value: 'job' },
56
+ { label: 'stage', value: 'stage' },
57
+ ],
58
+ },
59
+ }),
60
+ },
61
+ async run(context) {
62
+ const token = await getAccessToken(context.auth);
63
+ const baseUrl = context.auth.props.baseUrl;
64
+
65
+ const url = `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`;
66
+
67
+ const response = await httpClient.sendRequest({
68
+ method: HttpMethod.GET,
69
+ url: `${baseUrl}/api/v2/public/settings/templates/${context.propsValue.entity}/sms`,
70
+ headers: {
71
+ Authorization: `Bearer ${token}`,
72
+ 'Content-Type': 'application/json',
73
+ 'X-WorkBuddy-Version': '2026-01',
74
+ },
75
+ });
76
+
77
+ return response.body;
78
+ },
79
+ });
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["settings.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oCAAoC;;;;;;EA+B/C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;OAyB5C,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;OAyB1C,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;OAyB3C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;OAyB9C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;OAyBtC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;OAyBvC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;OAyB3C,CAAC;AAEH,eAAO,MAAM,8CAA8C;;;;;;EAoCzD,CAAC;AAEH,eAAO,MAAM,4CAA4C;;;;;;EAoCvD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["settings.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAwD;AAE3C,QAAA,oCAAoC,GAAG,IAAA,+BAAY,EAAC;IAC/D,IAAI,EAAE,sCAAsC;IAC5C,IAAI,EAAE,oBAAa;IACnB,WAAW,EA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