@workbuddy/piece-workbuddy-edge 1.0.32 → 1.0.34

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.
Files changed (129) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts.map +1 -1
  3. package/src/index.js +76 -14
  4. package/src/index.js.map +1 -1
  5. package/src/index.ts +139 -10
  6. package/src/lib/actions/crm-companies.d.ts +1 -0
  7. package/src/lib/actions/crm-companies.d.ts.map +1 -1
  8. package/src/lib/actions/crm-companies.js +9 -0
  9. package/src/lib/actions/crm-companies.js.map +1 -1
  10. package/src/lib/actions/crm-companies.ts +11 -0
  11. package/src/lib/actions/crm-contacts.d.ts +25 -0
  12. package/src/lib/actions/crm-contacts.d.ts.map +1 -1
  13. package/src/lib/actions/crm-contacts.js +135 -3
  14. package/src/lib/actions/crm-contacts.js.map +1 -1
  15. package/src/lib/actions/crm-contacts.ts +149 -2
  16. package/src/lib/actions/crm-contractors.d.ts +110 -0
  17. package/src/lib/actions/crm-contractors.d.ts.map +1 -1
  18. package/src/lib/actions/crm-contractors.js +585 -2
  19. package/src/lib/actions/crm-contractors.js.map +1 -1
  20. package/src/lib/actions/crm-contractors.ts +631 -1
  21. package/src/lib/actions/crm-customers.d.ts +94 -0
  22. package/src/lib/actions/crm-customers.d.ts.map +1 -1
  23. package/src/lib/actions/crm-customers.js +504 -3
  24. package/src/lib/actions/crm-customers.js.map +1 -1
  25. package/src/lib/actions/crm-customers.ts +545 -2
  26. package/src/lib/actions/crm-external-users.js +1 -1
  27. package/src/lib/actions/crm-external-users.js.map +1 -1
  28. package/src/lib/actions/crm-external-users.ts +1 -1
  29. package/src/lib/actions/crm-invites.d.ts +1 -0
  30. package/src/lib/actions/crm-invites.d.ts.map +1 -1
  31. package/src/lib/actions/crm-invites.js +9 -0
  32. package/src/lib/actions/crm-invites.js.map +1 -1
  33. package/src/lib/actions/crm-invites.ts +11 -0
  34. package/src/lib/actions/crm-sites.d.ts +10 -0
  35. package/src/lib/actions/crm-sites.d.ts.map +1 -1
  36. package/src/lib/actions/crm-sites.js +59 -3
  37. package/src/lib/actions/crm-sites.js.map +1 -1
  38. package/src/lib/actions/crm-sites.ts +70 -2
  39. package/src/lib/actions/crm-suppliers.d.ts +64 -0
  40. package/src/lib/actions/crm-suppliers.d.ts.map +1 -1
  41. package/src/lib/actions/crm-suppliers.js +352 -2
  42. package/src/lib/actions/crm-suppliers.js.map +1 -1
  43. package/src/lib/actions/crm-suppliers.ts +376 -1
  44. package/src/lib/actions/index.d.ts +7 -1
  45. package/src/lib/actions/index.d.ts.map +1 -1
  46. package/src/lib/actions/index.js +7 -1
  47. package/src/lib/actions/index.js.map +1 -1
  48. package/src/lib/actions/index.ts +7 -1
  49. package/src/lib/actions/items.d.ts +8 -0
  50. package/src/lib/actions/items.d.ts.map +1 -0
  51. package/src/lib/actions/items.js +42 -0
  52. package/src/lib/actions/items.js.map +1 -0
  53. package/src/lib/actions/items.ts +45 -0
  54. package/src/lib/actions/jobs-activities.d.ts +4 -3
  55. package/src/lib/actions/jobs-activities.d.ts.map +1 -1
  56. package/src/lib/actions/jobs-activities.js +19 -12
  57. package/src/lib/actions/jobs-activities.js.map +1 -1
  58. package/src/lib/actions/jobs-activities.ts +19 -12
  59. package/src/lib/actions/jobs-tasks.d.ts +0 -2
  60. package/src/lib/actions/jobs-tasks.d.ts.map +1 -1
  61. package/src/lib/actions/jobs-tasks.js +0 -12
  62. package/src/lib/actions/jobs-tasks.js.map +1 -1
  63. package/src/lib/actions/jobs-tasks.ts +0 -12
  64. package/src/lib/actions/jobs.d.ts +87 -1
  65. package/src/lib/actions/jobs.d.ts.map +1 -1
  66. package/src/lib/actions/jobs.js +495 -7
  67. package/src/lib/actions/jobs.js.map +1 -1
  68. package/src/lib/actions/jobs.ts +523 -6
  69. package/src/lib/actions/mcp.d.ts +3 -3
  70. package/src/lib/actions/mcp.d.ts.map +1 -1
  71. package/src/lib/actions/mcp.js +9 -9
  72. package/src/lib/actions/mcp.js.map +1 -1
  73. package/src/lib/actions/mcp.ts +8 -8
  74. package/src/lib/actions/pending-items.d.ts +8 -0
  75. package/src/lib/actions/pending-items.d.ts.map +1 -0
  76. package/src/lib/actions/pending-items.js +42 -0
  77. package/src/lib/actions/pending-items.js.map +1 -0
  78. package/src/lib/actions/pending-items.ts +45 -0
  79. package/src/lib/actions/settings-custom-fields.d.ts +21 -0
  80. package/src/lib/actions/settings-custom-fields.d.ts.map +1 -0
  81. package/src/lib/actions/settings-custom-fields.js +95 -0
  82. package/src/lib/actions/settings-custom-fields.js.map +1 -0
  83. package/src/lib/actions/settings-custom-fields.ts +107 -0
  84. package/src/lib/actions/settings-items.d.ts +136 -0
  85. package/src/lib/actions/settings-items.d.ts.map +1 -0
  86. package/src/lib/actions/settings-items.js +772 -0
  87. package/src/lib/actions/settings-items.js.map +1 -0
  88. package/src/lib/actions/settings-items.ts +818 -0
  89. package/src/lib/actions/{settings.d.ts → settings-reference-data.d.ts} +33 -10
  90. package/src/lib/actions/settings-reference-data.d.ts.map +1 -0
  91. package/src/lib/actions/settings-reference-data.js +423 -0
  92. package/src/lib/actions/settings-reference-data.js.map +1 -0
  93. package/src/lib/actions/settings-reference-data.ts +496 -0
  94. package/src/lib/actions/settings-templates.d.ts +15 -0
  95. package/src/lib/actions/settings-templates.d.ts.map +1 -0
  96. package/src/lib/actions/settings-templates.js +75 -0
  97. package/src/lib/actions/settings-templates.js.map +1 -0
  98. package/src/lib/actions/settings-templates.ts +79 -0
  99. package/src/lib/actions/stages-activities.d.ts +4 -3
  100. package/src/lib/actions/stages-activities.d.ts.map +1 -1
  101. package/src/lib/actions/stages-activities.js +19 -12
  102. package/src/lib/actions/stages-activities.js.map +1 -1
  103. package/src/lib/actions/stages-activities.ts +19 -12
  104. package/src/lib/actions/stages-pending-items.d.ts +75 -0
  105. package/src/lib/actions/stages-pending-items.d.ts.map +1 -0
  106. package/src/lib/actions/stages-pending-items.js +370 -0
  107. package/src/lib/actions/stages-pending-items.js.map +1 -0
  108. package/src/lib/actions/stages-pending-items.ts +404 -0
  109. package/src/lib/actions/stages-resources.d.ts.map +1 -1
  110. package/src/lib/actions/stages-resources.js +5 -8
  111. package/src/lib/actions/stages-resources.js.map +1 -1
  112. package/src/lib/actions/stages-resources.ts +8 -8
  113. package/src/lib/actions/stages-tasks.d.ts +0 -2
  114. package/src/lib/actions/stages-tasks.d.ts.map +1 -1
  115. package/src/lib/actions/stages-tasks.js +0 -12
  116. package/src/lib/actions/stages-tasks.js.map +1 -1
  117. package/src/lib/actions/stages-tasks.ts +0 -12
  118. package/src/lib/actions/stages.d.ts +20 -3
  119. package/src/lib/actions/stages.d.ts.map +1 -1
  120. package/src/lib/actions/stages.js +103 -21
  121. package/src/lib/actions/stages.js.map +1 -1
  122. package/src/lib/actions/stages.ts +116 -20
  123. package/src/lib/actions/webhooks-v2.js +11 -11
  124. package/src/lib/actions/webhooks-v2.js.map +1 -1
  125. package/src/lib/actions/webhooks-v2.ts +11 -11
  126. package/src/lib/actions/settings.d.ts.map +0 -1
  127. package/src/lib/actions/settings.js +0 -257
  128. package/src/lib/actions/settings.js.map +0 -1
  129. package/src/lib/actions/settings.ts +0 -301
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.McpStreamableController_handleDelete = exports.McpStreamableController_handlePost = exports.McpStreamableController_handleGet = void 0;
3
+ exports.McpV3StreamableController_handleDelete = exports.McpV3StreamableController_handlePost = exports.McpV3StreamableController_handleGet = 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");
7
- exports.McpStreamableController_handleGet = (0, pieces_framework_1.createAction)({
8
- name: 'McpStreamableController_handleGet',
7
+ exports.McpV3StreamableController_handleGet = (0, pieces_framework_1.createAction)({
8
+ name: 'McpV3StreamableController_handleGet',
9
9
  auth: auth_1.workbuddyAuth,
10
10
  displayName: 'MCP SSE stream (not supported)',
11
11
  description: 'Returns 405 — server-initiated SSE is not supported.',
@@ -26,11 +26,11 @@ exports.McpStreamableController_handleGet = (0, pieces_framework_1.createAction)
26
26
  return response.body;
27
27
  },
28
28
  });
29
- exports.McpStreamableController_handlePost = (0, pieces_framework_1.createAction)({
30
- name: 'McpStreamableController_handlePost',
29
+ exports.McpV3StreamableController_handlePost = (0, pieces_framework_1.createAction)({
30
+ name: 'McpV3StreamableController_handlePost',
31
31
  auth: auth_1.workbuddyAuth,
32
- displayName: 'MCP Streamable HTTP endpoint',
33
- description: 'Handles MCP JSON-RPC 2.0 requests. Supports SSE or JSON response.',
32
+ displayName: 'MCP v3 Streamable HTTP endpoint',
33
+ description: 'Handles MCP JSON-RPC 2.0 requests against the collapsed tool set.',
34
34
  props: {
35
35
  jsonrpc: pieces_framework_1.Property.StaticDropdown({
36
36
  displayName: 'Jsonrpc',
@@ -80,8 +80,8 @@ exports.McpStreamableController_handlePost = (0, pieces_framework_1.createAction
80
80
  return response.body;
81
81
  },
82
82
  });
83
- exports.McpStreamableController_handleDelete = (0, pieces_framework_1.createAction)({
84
- name: 'McpStreamableController_handleDelete',
83
+ exports.McpV3StreamableController_handleDelete = (0, pieces_framework_1.createAction)({
84
+ name: 'McpV3StreamableController_handleDelete',
85
85
  auth: auth_1.workbuddyAuth,
86
86
  displayName: 'MCP session termination (not supported)',
87
87
  description: 'Returns 405 — stateless server, no sessions to terminate.',
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["mcp.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAwD;AAE3C,QAAA,iCAAiC,GAAG,IAAA,+BAAY,EAAC;IAC5D,IAAI,EAAE,mCAAmC;IACzC,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,sDAAsD;IACnE,KAAK,EAAE,EAAE;IACT,KAAK,CAAC,GAAG,CAAC,OAAO;Q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IAAI,CAAC;IACvB,CAAC;CACF,CAAC,CAAC"}
@@ -2,8 +2,8 @@ import { createAction, Property } from '@activepieces/pieces-framework';
2
2
  import { HttpMethod, httpClient } from '@activepieces/pieces-common';
3
3
  import { workbuddyAuth, getAccessToken } from '../auth';
4
4
 
5
- export const McpStreamableController_handleGet = createAction({
6
- name: 'McpStreamableController_handleGet',
5
+ export const McpV3StreamableController_handleGet = createAction({
6
+ name: 'McpV3StreamableController_handleGet',
7
7
  auth: workbuddyAuth,
8
8
  displayName: 'MCP SSE stream (not supported)',
9
9
  description: 'Returns 405 — server-initiated SSE is not supported.',
@@ -28,11 +28,11 @@ export const McpStreamableController_handleGet = createAction({
28
28
  },
29
29
  });
30
30
 
31
- export const McpStreamableController_handlePost = createAction({
32
- name: 'McpStreamableController_handlePost',
31
+ export const McpV3StreamableController_handlePost = createAction({
32
+ name: 'McpV3StreamableController_handlePost',
33
33
  auth: workbuddyAuth,
34
- displayName: 'MCP Streamable HTTP endpoint',
35
- description: 'Handles MCP JSON-RPC 2.0 requests. Supports SSE or JSON response.',
34
+ displayName: 'MCP v3 Streamable HTTP endpoint',
35
+ description: 'Handles MCP JSON-RPC 2.0 requests against the collapsed tool set.',
36
36
  props: {
37
37
  jsonrpc: Property.StaticDropdown({
38
38
  displayName: 'Jsonrpc',
@@ -87,8 +87,8 @@ export const McpStreamableController_handlePost = createAction({
87
87
  },
88
88
  });
89
89
 
90
- export const McpStreamableController_handleDelete = createAction({
91
- name: 'McpStreamableController_handleDelete',
90
+ export const McpV3StreamableController_handleDelete = createAction({
91
+ name: 'McpV3StreamableController_handleDelete',
92
92
  auth: workbuddyAuth,
93
93
  displayName: 'MCP session termination (not supported)',
94
94
  description: 'Returns 405 — stateless server, no sessions to terminate.',
@@ -0,0 +1,8 @@
1
+ export declare const PublicApiPendingItemController_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
+ integrationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
7
+ }>;
8
+ //# sourceMappingURL=pending-items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-items.d.ts","sourceRoot":"","sources":["pending-items.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mCAAmC;;;;;;EAwC9C,CAAC"}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublicApiPendingItemController_list = 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.PublicApiPendingItemController_list = (0, pieces_framework_1.createAction)({
8
+ name: 'PublicApiPendingItemController_list',
9
+ auth: auth_1.workbuddyAuth,
10
+ displayName: 'Find a pending item',
11
+ description: 'Find a pending stage item by its external integration ID.',
12
+ props: {
13
+ integrationId: pieces_framework_1.Property.ShortText({
14
+ displayName: 'Integration Id',
15
+ description: 'External integration ID for the pending item',
16
+ required: true,
17
+ }),
18
+ },
19
+ async run(context) {
20
+ const token = await (0, auth_1.getAccessToken)(context.auth);
21
+ const baseUrl = context.auth.props.baseUrl;
22
+ const url = `${baseUrl}/pending-items`;
23
+ const queryParams = new URLSearchParams();
24
+ if (context.propsValue.integrationId !== undefined &&
25
+ context.propsValue.integrationId !== null &&
26
+ context.propsValue.integrationId !== '')
27
+ queryParams.append('integrationId', String(context.propsValue.integrationId));
28
+ const queryString = queryParams.toString();
29
+ const urlWithQuery = queryString ? `${url}?${queryString}` : url;
30
+ const response = await pieces_common_1.httpClient.sendRequest({
31
+ method: pieces_common_1.HttpMethod.GET,
32
+ url: urlWithQuery,
33
+ headers: {
34
+ Authorization: `Bearer ${token}`,
35
+ 'Content-Type': 'application/json',
36
+ 'X-WorkBuddy-Version': '2026-01',
37
+ },
38
+ });
39
+ return response.body;
40
+ },
41
+ });
42
+ //# sourceMappingURL=pending-items.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-items.js","sourceRoot":"","sources":["pending-items.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAwD;AAE3C,QAAA,mCAAmC,GAAG,IAAA,+BAAY,EAAC;IAC9D,IAAI,EAAE,qCAAqC;IAC3C,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,2DAA2D;IACxE,KAAK,EAAE;QACL,aAAa,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAChC,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;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,gBAAgB,CAAC;QAEvC,MAAM,WAAW,GAAG,IAAI,eAAe,EAAE,CAAC;QAC1C,IACE,OAAO,CAAC,UAAU,CAAC,aAAa,KAAK,SAAS;YAC9C,OAAO,CAAC,UAAU,CAAC,aAAa,KAAK,IAAI;YACzC,OAAO,CAAC,UAAU,CAAC,aAAa,KAAK,EAAE;YAEvC,WAAW,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;QAChF,MAAM,WAAW,GAAG,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC3C,MAAM,YAAY,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;QAEjE,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;YAC5C,MAAM,EAAE,0BAAU,CAAC,GAAG;YACtB,GAAG,EAAE,YAAY;YACjB,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,KAAK,EAAE;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,45 @@
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 PublicApiPendingItemController_list = createAction({
6
+ name: 'PublicApiPendingItemController_list',
7
+ auth: workbuddyAuth,
8
+ displayName: 'Find a pending item',
9
+ description: 'Find a pending stage item by its external integration ID.',
10
+ props: {
11
+ integrationId: Property.ShortText({
12
+ displayName: 'Integration Id',
13
+ description: 'External integration ID for the pending item',
14
+ required: true,
15
+ }),
16
+ },
17
+ async run(context) {
18
+ const token = await getAccessToken(context.auth);
19
+ const baseUrl = context.auth.props.baseUrl;
20
+
21
+ const url = `${baseUrl}/pending-items`;
22
+
23
+ const queryParams = new URLSearchParams();
24
+ if (
25
+ context.propsValue.integrationId !== undefined &&
26
+ context.propsValue.integrationId !== null &&
27
+ context.propsValue.integrationId !== ''
28
+ )
29
+ queryParams.append('integrationId', String(context.propsValue.integrationId));
30
+ const queryString = queryParams.toString();
31
+ const urlWithQuery = queryString ? `${url}?${queryString}` : url;
32
+
33
+ const response = await httpClient.sendRequest({
34
+ method: HttpMethod.GET,
35
+ url: urlWithQuery,
36
+ headers: {
37
+ Authorization: `Bearer ${token}`,
38
+ 'Content-Type': 'application/json',
39
+ 'X-WorkBuddy-Version': '2026-01',
40
+ },
41
+ });
42
+
43
+ return response.body;
44
+ },
45
+ });
@@ -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":";;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAwD;AAE3C,QAAA,kDAAkD,GAAG,IAAA,+BAAY,EAAC;IAC7E,IAAI,EAAE,oDAAoD;IAC1D,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,wBAAwB;IACrC,WAAW,EAAE,kFAAkF;IAC/F,KAAK,EAAE,EAAE;IACT,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,4CAA4C,CAAC;QAEnE,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;YAC5C,MAAM,EAAE,0BAAU,CAAC,GAAG;YACtB,GAAG,EAAE,GAAG,OAAO,4CAA4C;YAC3D,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,KAAK,EAAE;gBAChC,cAAc,EAAE,kBAAkB;gBAClC,qBAAqB,EAAE,SAAS;aACjC;SACF,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;CACF,CAAC,CAAC;AAEU,QAAA,oDAAoD,GAAG,IAAA,+BAAY,EAAC;IAC/E,IAAI,EAAE,sDAAsD;IAC5D,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,oFAAoF;IACjG,KAAK,EAAE,EAAE;IACT,KAAK,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C,CAAC;QAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;CACF,CAAC,CAAC;AAEU,QAAA,mDAAmD,GAAG,IAAA,+BAAY,EAAC;IAC9E,IAAI,EAAE,qDAAqD;IAC3D,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE,4FAA4F;IACzG,KAAK,EAAE,EAAE;IACT,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,6CAA6C,CAAC;QAEpE,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;YAC5C,MAAM,EAAE,0BAAU,CAAC,GAAG;YACtB,GAAG,EAAE,GAAG,OAAO,6CAA6C;YAC5D,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,KAAK,EAAE;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,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"}