@keystrokehq/moneybird 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-note-to-contact.cjs +39 -0
  7. package/dist/actions/add-note-to-contact.cjs.map +1 -0
  8. package/dist/actions/add-note-to-contact.d.cts +9 -0
  9. package/dist/actions/add-note-to-contact.d.cts.map +1 -0
  10. package/dist/actions/add-note-to-contact.d.mts +9 -0
  11. package/dist/actions/add-note-to-contact.d.mts.map +1 -0
  12. package/dist/actions/add-note-to-contact.mjs +36 -0
  13. package/dist/actions/add-note-to-contact.mjs.map +1 -0
  14. package/dist/actions/archive-contact.cjs +19 -0
  15. package/dist/actions/archive-contact.cjs.map +1 -0
  16. package/dist/actions/archive-contact.d.cts +9 -0
  17. package/dist/actions/archive-contact.d.cts.map +1 -0
  18. package/dist/actions/archive-contact.d.mts +9 -0
  19. package/dist/actions/archive-contact.d.mts.map +1 -0
  20. package/dist/actions/archive-contact.mjs +16 -0
  21. package/dist/actions/archive-contact.mjs.map +1 -0
  22. package/dist/actions/create-contact-person.cjs +37 -0
  23. package/dist/actions/create-contact-person.cjs.map +1 -0
  24. package/dist/actions/create-contact-person.d.cts +9 -0
  25. package/dist/actions/create-contact-person.d.cts.map +1 -0
  26. package/dist/actions/create-contact-person.d.mts +9 -0
  27. package/dist/actions/create-contact-person.d.mts.map +1 -0
  28. package/dist/actions/create-contact-person.mjs +34 -0
  29. package/dist/actions/create-contact-person.mjs.map +1 -0
  30. package/dist/actions/create-contact.cjs +65 -0
  31. package/dist/actions/create-contact.cjs.map +1 -0
  32. package/dist/actions/create-contact.d.cts +9 -0
  33. package/dist/actions/create-contact.d.cts.map +1 -0
  34. package/dist/actions/create-contact.d.mts +9 -0
  35. package/dist/actions/create-contact.d.mts.map +1 -0
  36. package/dist/actions/create-contact.mjs +62 -0
  37. package/dist/actions/create-contact.mjs.map +1 -0
  38. package/dist/actions/create-sales-invoice.cjs +75 -0
  39. package/dist/actions/create-sales-invoice.cjs.map +1 -0
  40. package/dist/actions/create-sales-invoice.d.cts +9 -0
  41. package/dist/actions/create-sales-invoice.d.cts.map +1 -0
  42. package/dist/actions/create-sales-invoice.d.mts +9 -0
  43. package/dist/actions/create-sales-invoice.d.mts.map +1 -0
  44. package/dist/actions/create-sales-invoice.mjs +74 -0
  45. package/dist/actions/create-sales-invoice.mjs.map +1 -0
  46. package/dist/actions/delete-contact-note.cjs +20 -0
  47. package/dist/actions/delete-contact-note.cjs.map +1 -0
  48. package/dist/actions/delete-contact-note.d.cts +9 -0
  49. package/dist/actions/delete-contact-note.d.cts.map +1 -0
  50. package/dist/actions/delete-contact-note.d.mts +9 -0
  51. package/dist/actions/delete-contact-note.d.mts.map +1 -0
  52. package/dist/actions/delete-contact-note.mjs +17 -0
  53. package/dist/actions/delete-contact-note.mjs.map +1 -0
  54. package/dist/actions/delete-contact-person.cjs +20 -0
  55. package/dist/actions/delete-contact-person.cjs.map +1 -0
  56. package/dist/actions/delete-contact-person.d.cts +9 -0
  57. package/dist/actions/delete-contact-person.d.cts.map +1 -0
  58. package/dist/actions/delete-contact-person.d.mts +9 -0
  59. package/dist/actions/delete-contact-person.d.mts.map +1 -0
  60. package/dist/actions/delete-contact-person.mjs +17 -0
  61. package/dist/actions/delete-contact-person.mjs.map +1 -0
  62. package/dist/actions/delete-contact.cjs +19 -0
  63. package/dist/actions/delete-contact.cjs.map +1 -0
  64. package/dist/actions/delete-contact.d.cts +9 -0
  65. package/dist/actions/delete-contact.d.cts.map +1 -0
  66. package/dist/actions/delete-contact.d.mts +9 -0
  67. package/dist/actions/delete-contact.d.mts.map +1 -0
  68. package/dist/actions/delete-contact.mjs +16 -0
  69. package/dist/actions/delete-contact.mjs.map +1 -0
  70. package/dist/actions/filter-contacts.cjs +24 -0
  71. package/dist/actions/filter-contacts.cjs.map +1 -0
  72. package/dist/actions/filter-contacts.d.cts +9 -0
  73. package/dist/actions/filter-contacts.d.cts.map +1 -0
  74. package/dist/actions/filter-contacts.d.mts +9 -0
  75. package/dist/actions/filter-contacts.d.mts.map +1 -0
  76. package/dist/actions/filter-contacts.mjs +21 -0
  77. package/dist/actions/filter-contacts.mjs.map +1 -0
  78. package/dist/actions/get-additional-charges.cjs +20 -0
  79. package/dist/actions/get-additional-charges.cjs.map +1 -0
  80. package/dist/actions/get-additional-charges.d.cts +9 -0
  81. package/dist/actions/get-additional-charges.d.cts.map +1 -0
  82. package/dist/actions/get-additional-charges.d.mts +9 -0
  83. package/dist/actions/get-additional-charges.d.mts.map +1 -0
  84. package/dist/actions/get-additional-charges.mjs +17 -0
  85. package/dist/actions/get-additional-charges.mjs.map +1 -0
  86. package/dist/actions/get-contact-by-customer-id.cjs +115 -0
  87. package/dist/actions/get-contact-by-customer-id.cjs.map +1 -0
  88. package/dist/actions/get-contact-by-customer-id.d.cts +9 -0
  89. package/dist/actions/get-contact-by-customer-id.d.cts.map +1 -0
  90. package/dist/actions/get-contact-by-customer-id.d.mts +9 -0
  91. package/dist/actions/get-contact-by-customer-id.d.mts.map +1 -0
  92. package/dist/actions/get-contact-by-customer-id.mjs +114 -0
  93. package/dist/actions/get-contact-by-customer-id.mjs.map +1 -0
  94. package/dist/actions/get-contact-person.cjs +30 -0
  95. package/dist/actions/get-contact-person.cjs.map +1 -0
  96. package/dist/actions/get-contact-person.d.cts +9 -0
  97. package/dist/actions/get-contact-person.d.cts.map +1 -0
  98. package/dist/actions/get-contact-person.d.mts +9 -0
  99. package/dist/actions/get-contact-person.d.mts.map +1 -0
  100. package/dist/actions/get-contact-person.mjs +27 -0
  101. package/dist/actions/get-contact-person.mjs.map +1 -0
  102. package/dist/actions/get-contact.cjs +20 -0
  103. package/dist/actions/get-contact.cjs.map +1 -0
  104. package/dist/actions/get-contact.d.cts +9 -0
  105. package/dist/actions/get-contact.d.cts.map +1 -0
  106. package/dist/actions/get-contact.d.mts +9 -0
  107. package/dist/actions/get-contact.d.mts.map +1 -0
  108. package/dist/actions/get-contact.mjs +17 -0
  109. package/dist/actions/get-contact.mjs.map +1 -0
  110. package/dist/actions/get-sales-invoice.cjs +19 -0
  111. package/dist/actions/get-sales-invoice.cjs.map +1 -0
  112. package/dist/actions/get-sales-invoice.d.cts +9 -0
  113. package/dist/actions/get-sales-invoice.d.cts.map +1 -0
  114. package/dist/actions/get-sales-invoice.d.mts +9 -0
  115. package/dist/actions/get-sales-invoice.d.mts.map +1 -0
  116. package/dist/actions/get-sales-invoice.mjs +16 -0
  117. package/dist/actions/get-sales-invoice.mjs.map +1 -0
  118. package/dist/actions/index.cjs +43 -0
  119. package/dist/actions/index.d.cts +22 -0
  120. package/dist/actions/index.d.mts +22 -0
  121. package/dist/actions/index.mjs +22 -0
  122. package/dist/actions/list-administrations.cjs +16 -0
  123. package/dist/actions/list-administrations.cjs.map +1 -0
  124. package/dist/actions/list-administrations.d.cts +9 -0
  125. package/dist/actions/list-administrations.d.cts.map +1 -0
  126. package/dist/actions/list-administrations.d.mts +9 -0
  127. package/dist/actions/list-administrations.d.mts.map +1 -0
  128. package/dist/actions/list-administrations.mjs +13 -0
  129. package/dist/actions/list-administrations.mjs.map +1 -0
  130. package/dist/actions/list-contacts-synchronization.cjs +20 -0
  131. package/dist/actions/list-contacts-synchronization.cjs.map +1 -0
  132. package/dist/actions/list-contacts-synchronization.d.cts +9 -0
  133. package/dist/actions/list-contacts-synchronization.d.cts.map +1 -0
  134. package/dist/actions/list-contacts-synchronization.d.mts +9 -0
  135. package/dist/actions/list-contacts-synchronization.d.mts.map +1 -0
  136. package/dist/actions/list-contacts-synchronization.mjs +17 -0
  137. package/dist/actions/list-contacts-synchronization.mjs.map +1 -0
  138. package/dist/actions/list-sales-invoices.cjs +21 -0
  139. package/dist/actions/list-sales-invoices.cjs.map +1 -0
  140. package/dist/actions/list-sales-invoices.d.cts +9 -0
  141. package/dist/actions/list-sales-invoices.d.cts.map +1 -0
  142. package/dist/actions/list-sales-invoices.d.mts +9 -0
  143. package/dist/actions/list-sales-invoices.d.mts.map +1 -0
  144. package/dist/actions/list-sales-invoices.mjs +18 -0
  145. package/dist/actions/list-sales-invoices.mjs.map +1 -0
  146. package/dist/actions/request-contact-payments-mandate-url.cjs +20 -0
  147. package/dist/actions/request-contact-payments-mandate-url.cjs.map +1 -0
  148. package/dist/actions/request-contact-payments-mandate-url.d.cts +9 -0
  149. package/dist/actions/request-contact-payments-mandate-url.d.cts.map +1 -0
  150. package/dist/actions/request-contact-payments-mandate-url.d.mts +9 -0
  151. package/dist/actions/request-contact-payments-mandate-url.d.mts.map +1 -0
  152. package/dist/actions/request-contact-payments-mandate-url.mjs +17 -0
  153. package/dist/actions/request-contact-payments-mandate-url.mjs.map +1 -0
  154. package/dist/actions/update-contact-person.cjs +37 -0
  155. package/dist/actions/update-contact-person.cjs.map +1 -0
  156. package/dist/actions/update-contact-person.d.cts +9 -0
  157. package/dist/actions/update-contact-person.d.cts.map +1 -0
  158. package/dist/actions/update-contact-person.d.mts +9 -0
  159. package/dist/actions/update-contact-person.d.mts.map +1 -0
  160. package/dist/actions/update-contact-person.mjs +34 -0
  161. package/dist/actions/update-contact-person.mjs.map +1 -0
  162. package/dist/actions/update-contact.cjs +20 -0
  163. package/dist/actions/update-contact.cjs.map +1 -0
  164. package/dist/actions/update-contact.d.cts +9 -0
  165. package/dist/actions/update-contact.d.cts.map +1 -0
  166. package/dist/actions/update-contact.d.mts +9 -0
  167. package/dist/actions/update-contact.d.mts.map +1 -0
  168. package/dist/actions/update-contact.mjs +17 -0
  169. package/dist/actions/update-contact.mjs.map +1 -0
  170. package/dist/actions/update-sales-invoice.cjs +57 -0
  171. package/dist/actions/update-sales-invoice.cjs.map +1 -0
  172. package/dist/actions/update-sales-invoice.d.cts +9 -0
  173. package/dist/actions/update-sales-invoice.d.cts.map +1 -0
  174. package/dist/actions/update-sales-invoice.d.mts +9 -0
  175. package/dist/actions/update-sales-invoice.d.mts.map +1 -0
  176. package/dist/actions/update-sales-invoice.mjs +54 -0
  177. package/dist/actions/update-sales-invoice.mjs.map +1 -0
  178. package/dist/app.cjs +9 -0
  179. package/dist/app.cjs.map +1 -0
  180. package/dist/app.d.cts +5 -0
  181. package/dist/app.d.cts.map +1 -0
  182. package/dist/app.d.mts +5 -0
  183. package/dist/app.d.mts.map +1 -0
  184. package/dist/app.mjs +10 -0
  185. package/dist/app.mjs.map +1 -0
  186. package/dist/catalog.cjs +15 -0
  187. package/dist/catalog.cjs.map +1 -0
  188. package/dist/catalog.d.cts +14 -0
  189. package/dist/catalog.d.cts.map +1 -0
  190. package/dist/catalog.d.mts +14 -0
  191. package/dist/catalog.d.mts.map +1 -0
  192. package/dist/catalog.mjs +15 -0
  193. package/dist/catalog.mjs.map +1 -0
  194. package/dist/execute.cjs +18 -0
  195. package/dist/execute.cjs.map +1 -0
  196. package/dist/execute.mjs +18 -0
  197. package/dist/execute.mjs.map +1 -0
  198. package/dist/index.cjs +48 -0
  199. package/dist/index.d.cts +24 -0
  200. package/dist/index.d.mts +24 -0
  201. package/dist/index.mjs +25 -0
  202. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-additional-charges.d.ts
4
+ declare const MoneybirdGetAdditionalChargesInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetAdditionalChargesOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetAdditionalCharges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetAdditionalCharges };
9
+ //# sourceMappingURL=get-additional-charges.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-additional-charges.d.cts","names":[],"sources":["../../src/actions/get-additional-charges.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAAwB;AAAA,cAE/D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-additional-charges.d.ts
4
+ declare const MoneybirdGetAdditionalChargesInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetAdditionalChargesOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetAdditionalCharges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetAdditionalCharges };
9
+ //# sourceMappingURL=get-additional-charges.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-additional-charges.d.mts","names":[],"sources":["../../src/actions/get-additional-charges.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAAwB;AAAA,cAE/D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const moneybirdGetAdditionalCharges = action("MONEYBIRD_GET_ADDITIONAL_CHARGES", {
4
+ slug: "moneybird-get-additional-charges",
5
+ name: "Get Additional Charges",
6
+ description: "Tool to get additional charges for a contact. Use when you need to view pending (or optionally billed) usage or recurring charges.",
7
+ input: z.object({
8
+ contact_id: z.string().describe("ID of the contact to retrieve additional charges for"),
9
+ include_billed: z.boolean().default(false).describe("If true, includes additional charges that have already been billed. Default is false.").optional(),
10
+ administration_id: z.number().int().describe("Numeric administration ID, as part of the Moneybird URL path.")
11
+ }),
12
+ output: z.unknown()
13
+ });
14
+ //#endregion
15
+ export { moneybirdGetAdditionalCharges };
16
+
17
+ //# sourceMappingURL=get-additional-charges.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-additional-charges.mjs","names":[],"sources":["../../src/actions/get-additional-charges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetAdditionalChargesInput: z.ZodTypeAny = z.object({\n contact_id: z.string().describe(\"ID of the contact to retrieve additional charges for\"),\n include_billed: z.boolean().default(false).describe(\"If true, includes additional charges that have already been billed. Default is false.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, as part of the Moneybird URL path.\"),\n});\nexport const MoneybirdGetAdditionalChargesOutput: z.ZodTypeAny = z.unknown();\n\nexport const moneybirdGetAdditionalCharges = action(\"MONEYBIRD_GET_ADDITIONAL_CHARGES\", {\n slug: \"moneybird-get-additional-charges\",\n name: \"Get Additional Charges\",\n description: \"Tool to get additional charges for a contact. Use when you need to view pending (or optionally billed) usage or recurring charges.\",\n input: MoneybirdGetAdditionalChargesInput,\n output: MoneybirdGetAdditionalChargesOutput,\n});\n"],"mappings":";;AAWA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8D,EAAE,OAAO;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACtF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACtJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC9G,CAOS;CACP,QAP+D,EAAE,QAOzD;AACV,CAAC"}
@@ -0,0 +1,115 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-contact-by-customer-id.ts
4
+ const MoneybirdGetContactByCustomerIdInput = zod.z.object({
5
+ customer_id: zod.z.string().describe("Unique customer identifier for the contact."),
6
+ administration_id: zod.z.number().int().describe("Numeric administration ID, used in the URL path.")
7
+ }).describe("Request parameters for fetching a contact by its customer_id.");
8
+ const MoneybirdGetContactByCustomerId_NoteSchema = zod.z.object({
9
+ id: zod.z.string().describe("ID of the note"),
10
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional data for the note"),
11
+ note: zod.z.string().describe("Text content of the note"),
12
+ todo: zod.z.boolean().describe("Whether this note is a to-do item"),
13
+ user_id: zod.z.number().int().describe("User ID who created the note"),
14
+ entity_id: zod.z.string().describe("ID of the related entity (contact)"),
15
+ todo_type: zod.z.string().describe("Type of to-do").nullable().optional(),
16
+ created_at: zod.z.string().describe("Creation timestamp of the note"),
17
+ updated_at: zod.z.string().describe("Last update timestamp of the note"),
18
+ assignee_id: zod.z.string().describe("Assigned user ID if to-do").nullable().optional(),
19
+ entity_type: zod.z.string().describe("Type of the related entity"),
20
+ completed_at: zod.z.string().describe("Timestamp when to-do was completed").nullable().optional(),
21
+ completed_by_id: zod.z.string().describe("User ID who completed the to-do").nullable().optional(),
22
+ administration_id: zod.z.number().int().describe("Administration ID")
23
+ });
24
+ const MoneybirdGetContactByCustomerId_EventSchema = zod.z.object({
25
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional data for the event"),
26
+ action: zod.z.string().describe("Action type of the event"),
27
+ user_id: zod.z.number().int().describe("User ID who triggered the event"),
28
+ created_at: zod.z.string().describe("Event creation timestamp"),
29
+ updated_at: zod.z.string().describe("Event update timestamp"),
30
+ link_entity_id: zod.z.string().describe("Linked entity ID if any").nullable().optional(),
31
+ link_entity_type: zod.z.string().describe("Linked entity type if any").nullable().optional(),
32
+ administration_id: zod.z.number().int().describe("Administration ID")
33
+ });
34
+ const MoneybirdGetContactByCustomerId_CustomFieldSchema = zod.z.object({
35
+ id: zod.z.string().describe("Custom field ID"),
36
+ name: zod.z.string().describe("Name of the custom field").nullable().optional(),
37
+ value: zod.z.string().describe("Value of the custom field").nullable().optional()
38
+ });
39
+ const MoneybirdGetContactByCustomerId_ContactPersonSchema = zod.z.object({
40
+ id: zod.z.string().describe("Contact person ID"),
41
+ email: zod.z.string().describe("Email of contact person").nullable().optional(),
42
+ phone: zod.z.string().describe("Phone number of contact person").nullable().optional(),
43
+ version: zod.z.number().int().describe("Version of contact person record"),
44
+ lastname: zod.z.string().describe("Last name of contact person").nullable().optional(),
45
+ firstname: zod.z.string().describe("First name of contact person").nullable().optional(),
46
+ contact_id: zod.z.string().describe("Parent contact ID"),
47
+ created_at: zod.z.string().describe("Creation timestamp of contact person"),
48
+ department: zod.z.string().describe("Department of contact person").nullable().optional(),
49
+ updated_at: zod.z.string().describe("Last update timestamp of contact person"),
50
+ administration_id: zod.z.number().int().describe("Administration ID")
51
+ });
52
+ const MoneybirdGetContactByCustomerIdOutput = zod.z.object({
53
+ id: zod.z.string().describe("Contact ID"),
54
+ city: zod.z.string().describe("City name").nullable().optional(),
55
+ email: zod.z.string().describe("Primary email address").nullable().optional(),
56
+ notes: zod.z.array(MoneybirdGetContactByCustomerId_NoteSchema).describe("List of notes associated with the contact"),
57
+ phone: zod.z.string().describe("Phone number").nullable().optional(),
58
+ events: zod.z.array(MoneybirdGetContactByCustomerId_EventSchema).describe("List of events related to the contact"),
59
+ country: zod.z.string().describe("Country code (ISO 3166-1 alpha-2)").nullable().optional(),
60
+ version: zod.z.number().int().describe("Version number of contact record"),
61
+ zipcode: zod.z.string().describe("Postal code").nullable().optional(),
62
+ address1: zod.z.string().describe("Address line 1").nullable().optional(),
63
+ address2: zod.z.string().describe("Address line 2").nullable().optional(),
64
+ archived: zod.z.boolean().describe("Whether the contact is archived"),
65
+ lastname: zod.z.string().describe("Last name of the contact").nullable().optional(),
66
+ sepa_bic: zod.z.string().describe("SEPA BIC code").nullable().optional(),
67
+ attention: zod.z.string().describe("Billing attention line").nullable().optional(),
68
+ email_ubl: zod.z.boolean().describe("Whether to send UBL invoices"),
69
+ firstname: zod.z.string().describe("First name of the contact").nullable().optional(),
70
+ sepa_iban: zod.z.string().describe("SEPA IBAN number").nullable().optional(),
71
+ created_at: zod.z.string().describe("Creation timestamp of contact"),
72
+ is_trusted: zod.z.boolean().describe("Whether the contact is trusted"),
73
+ tax_number: zod.z.string().describe("Tax or VAT number").nullable().optional(),
74
+ updated_at: zod.z.string().describe("Last update timestamp of contact"),
75
+ customer_id: zod.z.string().describe("Customer identifier of the contact"),
76
+ sepa_active: zod.z.boolean().describe("SEPA direct debit active"),
77
+ bank_account: zod.z.string().describe("Bank account number of contact").nullable().optional(),
78
+ company_name: zod.z.string().describe("Company name of the contact").nullable().optional(),
79
+ custom_fields: zod.z.array(MoneybirdGetContactByCustomerId_CustomFieldSchema).describe("List of custom fields and values"),
80
+ si_identifier: zod.z.string().describe("SEPA identifier").nullable().optional(),
81
+ contact_people: zod.z.array(MoneybirdGetContactByCustomerId_ContactPersonSchema).describe("List of contact person records"),
82
+ delivery_method: zod.z.string().describe("Delivery method for invoices").nullable().optional(),
83
+ sepa_mandate_id: zod.z.string().describe("SEPA mandate ID").nullable().optional(),
84
+ credit_card_type: zod.z.string().describe("Type of credit card").nullable().optional(),
85
+ tax_number_valid: zod.z.boolean().describe("Whether tax number is valid").nullable().optional(),
86
+ administration_id: zod.z.number().int().describe("Administration ID"),
87
+ sepa_mandate_date: zod.z.string().describe("SEPA mandate date").nullable().optional(),
88
+ credit_card_number: zod.z.string().describe("Credit card number token").nullable().optional(),
89
+ sales_invoices_url: zod.z.string().describe("URL for contact's sales invoices").nullable().optional(),
90
+ sepa_sequence_type: zod.z.string().describe("SEPA sequence type"),
91
+ si_identifier_type: zod.z.string().describe("SEPA identifier type").nullable().optional(),
92
+ chamber_of_commerce: zod.z.string().describe("Chamber of Commerce number").nullable().optional(),
93
+ invoice_workflow_id: zod.z.number().int().describe("Invoice workflow ID").nullable().optional(),
94
+ max_transfer_amount: zod.z.string().describe("Maximum transfer amount allowed").nullable().optional(),
95
+ estimate_workflow_id: zod.z.number().int().describe("Estimate workflow ID").nullable().optional(),
96
+ credit_card_reference: zod.z.string().describe("Credit card reference").nullable().optional(),
97
+ send_invoices_to_email: zod.z.string().describe("Email addresses for sending invoices").nullable().optional(),
98
+ sepa_iban_account_name: zod.z.string().describe("SEPA IBAN account name").nullable().optional(),
99
+ send_estimates_to_email: zod.z.string().describe("Email addresses for sending estimates").nullable().optional(),
100
+ tax_number_validated_at: zod.z.string().describe("Timestamp when tax number was validated").nullable().optional(),
101
+ moneybird_payments_mandate: zod.z.boolean().describe("Moneybird Payments mandate active"),
102
+ send_invoices_to_attention: zod.z.string().describe("Attention line for sending invoices").nullable().optional(),
103
+ send_estimates_to_attention: zod.z.string().describe("Attention line for sending estimates").nullable().optional()
104
+ });
105
+ const moneybirdGetContactByCustomerId = require_action.action("MONEYBIRD_GET_CONTACT_BY_CUSTOMER_ID", {
106
+ slug: "moneybird-get-contact-by-customer-id",
107
+ name: "Get Contact by Customer ID",
108
+ description: "Tool to retrieve full contact details by customer ID. Use when you need all fields of a contact given its customer_id.",
109
+ input: MoneybirdGetContactByCustomerIdInput,
110
+ output: MoneybirdGetContactByCustomerIdOutput
111
+ });
112
+ //#endregion
113
+ exports.moneybirdGetContactByCustomerId = moneybirdGetContactByCustomerId;
114
+
115
+ //# sourceMappingURL=get-contact-by-customer-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-by-customer-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-by-customer-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetContactByCustomerIdInput: z.ZodTypeAny = z.object({\n customer_id: z.string().describe(\"Unique customer identifier for the contact.\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, used in the URL path.\"),\n}).describe(\"Request parameters for fetching a contact by its customer_id.\");\nconst MoneybirdGetContactByCustomerId_NoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the note\"),\n data: z.record(z.string(), z.unknown()).describe(\"Additional data for the note\"),\n note: z.string().describe(\"Text content of the note\"),\n todo: z.boolean().describe(\"Whether this note is a to-do item\"),\n user_id: z.number().int().describe(\"User ID who created the note\"),\n entity_id: z.string().describe(\"ID of the related entity (contact)\"),\n todo_type: z.string().describe(\"Type of to-do\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the note\"),\n updated_at: z.string().describe(\"Last update timestamp of the note\"),\n assignee_id: z.string().describe(\"Assigned user ID if to-do\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the related entity\"),\n completed_at: z.string().describe(\"Timestamp when to-do was completed\").nullable().optional(),\n completed_by_id: z.string().describe(\"User ID who completed the to-do\").nullable().optional(),\n administration_id: z.number().int().describe(\"Administration ID\"),\n});\nconst MoneybirdGetContactByCustomerId_EventSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional data for the event\"),\n action: z.string().describe(\"Action type of the event\"),\n user_id: z.number().int().describe(\"User ID who triggered the event\"),\n created_at: z.string().describe(\"Event creation timestamp\"),\n updated_at: z.string().describe(\"Event update timestamp\"),\n link_entity_id: z.string().describe(\"Linked entity ID if any\").nullable().optional(),\n link_entity_type: z.string().describe(\"Linked entity type if any\").nullable().optional(),\n administration_id: z.number().int().describe(\"Administration ID\"),\n});\nconst MoneybirdGetContactByCustomerId_CustomFieldSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Custom field ID\"),\n name: z.string().describe(\"Name of the custom field\").nullable().optional(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n});\nconst MoneybirdGetContactByCustomerId_ContactPersonSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact person ID\"),\n email: z.string().describe(\"Email of contact person\").nullable().optional(),\n phone: z.string().describe(\"Phone number of contact person\").nullable().optional(),\n version: z.number().int().describe(\"Version of contact person record\"),\n lastname: z.string().describe(\"Last name of contact person\").nullable().optional(),\n firstname: z.string().describe(\"First name of contact person\").nullable().optional(),\n contact_id: z.string().describe(\"Parent contact ID\"),\n created_at: z.string().describe(\"Creation timestamp of contact person\"),\n department: z.string().describe(\"Department of contact person\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact person\"),\n administration_id: z.number().int().describe(\"Administration ID\"),\n});\nexport const MoneybirdGetContactByCustomerIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact ID\"),\n city: z.string().describe(\"City name\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n notes: z.array(MoneybirdGetContactByCustomerId_NoteSchema).describe(\"List of notes associated with the contact\"),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n events: z.array(MoneybirdGetContactByCustomerId_EventSchema).describe(\"List of events related to the contact\"),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n version: z.number().int().describe(\"Version number of contact record\"),\n zipcode: z.string().describe(\"Postal code\").nullable().optional(),\n address1: z.string().describe(\"Address line 1\").nullable().optional(),\n address2: z.string().describe(\"Address line 2\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\"),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n sepa_bic: z.string().describe(\"SEPA BIC code\").nullable().optional(),\n attention: z.string().describe(\"Billing attention line\").nullable().optional(),\n email_ubl: z.boolean().describe(\"Whether to send UBL invoices\"),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n sepa_iban: z.string().describe(\"SEPA IBAN number\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of contact\"),\n is_trusted: z.boolean().describe(\"Whether the contact is trusted\"),\n tax_number: z.string().describe(\"Tax or VAT number\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact\"),\n customer_id: z.string().describe(\"Customer identifier of the contact\"),\n sepa_active: z.boolean().describe(\"SEPA direct debit active\"),\n bank_account: z.string().describe(\"Bank account number of contact\").nullable().optional(),\n company_name: z.string().describe(\"Company name of the contact\").nullable().optional(),\n custom_fields: z.array(MoneybirdGetContactByCustomerId_CustomFieldSchema).describe(\"List of custom fields and values\"),\n si_identifier: z.string().describe(\"SEPA identifier\").nullable().optional(),\n contact_people: z.array(MoneybirdGetContactByCustomerId_ContactPersonSchema).describe(\"List of contact person records\"),\n delivery_method: z.string().describe(\"Delivery method for invoices\").nullable().optional(),\n sepa_mandate_id: z.string().describe(\"SEPA mandate ID\").nullable().optional(),\n credit_card_type: z.string().describe(\"Type of credit card\").nullable().optional(),\n tax_number_valid: z.boolean().describe(\"Whether tax number is valid\").nullable().optional(),\n administration_id: z.number().int().describe(\"Administration ID\"),\n sepa_mandate_date: z.string().describe(\"SEPA mandate date\").nullable().optional(),\n credit_card_number: z.string().describe(\"Credit card number token\").nullable().optional(),\n sales_invoices_url: z.string().describe(\"URL for contact's sales invoices\").nullable().optional(),\n sepa_sequence_type: z.string().describe(\"SEPA sequence type\"),\n si_identifier_type: z.string().describe(\"SEPA identifier type\").nullable().optional(),\n chamber_of_commerce: z.string().describe(\"Chamber of Commerce number\").nullable().optional(),\n invoice_workflow_id: z.number().int().describe(\"Invoice workflow ID\").nullable().optional(),\n max_transfer_amount: z.string().describe(\"Maximum transfer amount allowed\").nullable().optional(),\n estimate_workflow_id: z.number().int().describe(\"Estimate workflow ID\").nullable().optional(),\n credit_card_reference: z.string().describe(\"Credit card reference\").nullable().optional(),\n send_invoices_to_email: z.string().describe(\"Email addresses for sending invoices\").nullable().optional(),\n sepa_iban_account_name: z.string().describe(\"SEPA IBAN account name\").nullable().optional(),\n send_estimates_to_email: z.string().describe(\"Email addresses for sending estimates\").nullable().optional(),\n tax_number_validated_at: z.string().describe(\"Timestamp when tax number was validated\").nullable().optional(),\n moneybird_payments_mandate: z.boolean().describe(\"Moneybird Payments mandate active\"),\n send_invoices_to_attention: z.string().describe(\"Attention line for sending invoices\").nullable().optional(),\n send_estimates_to_attention: z.string().describe(\"Attention line for sending estimates\").nullable().optional(),\n});\n\nexport const moneybirdGetContactByCustomerId = action(\"MONEYBIRD_GET_CONTACT_BY_CUSTOMER_ID\", {\n slug: \"moneybird-get-contact-by-customer-id\",\n name: \"Get Contact by Customer ID\",\n description: \"Tool to retrieve full contact details by customer ID. Use when you need all fields of a contact given its customer_id.\",\n input: MoneybirdGetContactByCustomerIdInput,\n output: MoneybirdGetContactByCustomerIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC9E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AACjG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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wBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACpF,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact-by-customer-id.d.ts
4
+ declare const MoneybirdGetContactByCustomerIdInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetContactByCustomerId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetContactByCustomerId };
9
+ //# sourceMappingURL=get-contact-by-customer-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-by-customer-id.d.cts","names":[],"sources":["../../src/actions/get-contact-by-customer-id.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGuB;AAAA,cA6C/D,qCAAA,EAAuC,CAAA,CAAE,UAoDpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact-by-customer-id.d.ts
4
+ declare const MoneybirdGetContactByCustomerIdInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetContactByCustomerId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetContactByCustomerId };
9
+ //# sourceMappingURL=get-contact-by-customer-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-by-customer-id.d.mts","names":[],"sources":["../../src/actions/get-contact-by-customer-id.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAGuB;AAAA,cA6C/D,qCAAA,EAAuC,CAAA,CAAE,UAoDpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,114 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-contact-by-customer-id.ts
4
+ const MoneybirdGetContactByCustomerIdInput = z.object({
5
+ customer_id: z.string().describe("Unique customer identifier for the contact."),
6
+ administration_id: z.number().int().describe("Numeric administration ID, used in the URL path.")
7
+ }).describe("Request parameters for fetching a contact by its customer_id.");
8
+ const MoneybirdGetContactByCustomerId_NoteSchema = z.object({
9
+ id: z.string().describe("ID of the note"),
10
+ data: z.record(z.string(), z.unknown()).describe("Additional data for the note"),
11
+ note: z.string().describe("Text content of the note"),
12
+ todo: z.boolean().describe("Whether this note is a to-do item"),
13
+ user_id: z.number().int().describe("User ID who created the note"),
14
+ entity_id: z.string().describe("ID of the related entity (contact)"),
15
+ todo_type: z.string().describe("Type of to-do").nullable().optional(),
16
+ created_at: z.string().describe("Creation timestamp of the note"),
17
+ updated_at: z.string().describe("Last update timestamp of the note"),
18
+ assignee_id: z.string().describe("Assigned user ID if to-do").nullable().optional(),
19
+ entity_type: z.string().describe("Type of the related entity"),
20
+ completed_at: z.string().describe("Timestamp when to-do was completed").nullable().optional(),
21
+ completed_by_id: z.string().describe("User ID who completed the to-do").nullable().optional(),
22
+ administration_id: z.number().int().describe("Administration ID")
23
+ });
24
+ const MoneybirdGetContactByCustomerId_EventSchema = z.object({
25
+ data: z.record(z.string(), z.unknown()).describe("Additional data for the event"),
26
+ action: z.string().describe("Action type of the event"),
27
+ user_id: z.number().int().describe("User ID who triggered the event"),
28
+ created_at: z.string().describe("Event creation timestamp"),
29
+ updated_at: z.string().describe("Event update timestamp"),
30
+ link_entity_id: z.string().describe("Linked entity ID if any").nullable().optional(),
31
+ link_entity_type: z.string().describe("Linked entity type if any").nullable().optional(),
32
+ administration_id: z.number().int().describe("Administration ID")
33
+ });
34
+ const MoneybirdGetContactByCustomerId_CustomFieldSchema = z.object({
35
+ id: z.string().describe("Custom field ID"),
36
+ name: z.string().describe("Name of the custom field").nullable().optional(),
37
+ value: z.string().describe("Value of the custom field").nullable().optional()
38
+ });
39
+ const MoneybirdGetContactByCustomerId_ContactPersonSchema = z.object({
40
+ id: z.string().describe("Contact person ID"),
41
+ email: z.string().describe("Email of contact person").nullable().optional(),
42
+ phone: z.string().describe("Phone number of contact person").nullable().optional(),
43
+ version: z.number().int().describe("Version of contact person record"),
44
+ lastname: z.string().describe("Last name of contact person").nullable().optional(),
45
+ firstname: z.string().describe("First name of contact person").nullable().optional(),
46
+ contact_id: z.string().describe("Parent contact ID"),
47
+ created_at: z.string().describe("Creation timestamp of contact person"),
48
+ department: z.string().describe("Department of contact person").nullable().optional(),
49
+ updated_at: z.string().describe("Last update timestamp of contact person"),
50
+ administration_id: z.number().int().describe("Administration ID")
51
+ });
52
+ const moneybirdGetContactByCustomerId = action("MONEYBIRD_GET_CONTACT_BY_CUSTOMER_ID", {
53
+ slug: "moneybird-get-contact-by-customer-id",
54
+ name: "Get Contact by Customer ID",
55
+ description: "Tool to retrieve full contact details by customer ID. Use when you need all fields of a contact given its customer_id.",
56
+ input: MoneybirdGetContactByCustomerIdInput,
57
+ output: z.object({
58
+ id: z.string().describe("Contact ID"),
59
+ city: z.string().describe("City name").nullable().optional(),
60
+ email: z.string().describe("Primary email address").nullable().optional(),
61
+ notes: z.array(MoneybirdGetContactByCustomerId_NoteSchema).describe("List of notes associated with the contact"),
62
+ phone: z.string().describe("Phone number").nullable().optional(),
63
+ events: z.array(MoneybirdGetContactByCustomerId_EventSchema).describe("List of events related to the contact"),
64
+ country: z.string().describe("Country code (ISO 3166-1 alpha-2)").nullable().optional(),
65
+ version: z.number().int().describe("Version number of contact record"),
66
+ zipcode: z.string().describe("Postal code").nullable().optional(),
67
+ address1: z.string().describe("Address line 1").nullable().optional(),
68
+ address2: z.string().describe("Address line 2").nullable().optional(),
69
+ archived: z.boolean().describe("Whether the contact is archived"),
70
+ lastname: z.string().describe("Last name of the contact").nullable().optional(),
71
+ sepa_bic: z.string().describe("SEPA BIC code").nullable().optional(),
72
+ attention: z.string().describe("Billing attention line").nullable().optional(),
73
+ email_ubl: z.boolean().describe("Whether to send UBL invoices"),
74
+ firstname: z.string().describe("First name of the contact").nullable().optional(),
75
+ sepa_iban: z.string().describe("SEPA IBAN number").nullable().optional(),
76
+ created_at: z.string().describe("Creation timestamp of contact"),
77
+ is_trusted: z.boolean().describe("Whether the contact is trusted"),
78
+ tax_number: z.string().describe("Tax or VAT number").nullable().optional(),
79
+ updated_at: z.string().describe("Last update timestamp of contact"),
80
+ customer_id: z.string().describe("Customer identifier of the contact"),
81
+ sepa_active: z.boolean().describe("SEPA direct debit active"),
82
+ bank_account: z.string().describe("Bank account number of contact").nullable().optional(),
83
+ company_name: z.string().describe("Company name of the contact").nullable().optional(),
84
+ custom_fields: z.array(MoneybirdGetContactByCustomerId_CustomFieldSchema).describe("List of custom fields and values"),
85
+ si_identifier: z.string().describe("SEPA identifier").nullable().optional(),
86
+ contact_people: z.array(MoneybirdGetContactByCustomerId_ContactPersonSchema).describe("List of contact person records"),
87
+ delivery_method: z.string().describe("Delivery method for invoices").nullable().optional(),
88
+ sepa_mandate_id: z.string().describe("SEPA mandate ID").nullable().optional(),
89
+ credit_card_type: z.string().describe("Type of credit card").nullable().optional(),
90
+ tax_number_valid: z.boolean().describe("Whether tax number is valid").nullable().optional(),
91
+ administration_id: z.number().int().describe("Administration ID"),
92
+ sepa_mandate_date: z.string().describe("SEPA mandate date").nullable().optional(),
93
+ credit_card_number: z.string().describe("Credit card number token").nullable().optional(),
94
+ sales_invoices_url: z.string().describe("URL for contact's sales invoices").nullable().optional(),
95
+ sepa_sequence_type: z.string().describe("SEPA sequence type"),
96
+ si_identifier_type: z.string().describe("SEPA identifier type").nullable().optional(),
97
+ chamber_of_commerce: z.string().describe("Chamber of Commerce number").nullable().optional(),
98
+ invoice_workflow_id: z.number().int().describe("Invoice workflow ID").nullable().optional(),
99
+ max_transfer_amount: z.string().describe("Maximum transfer amount allowed").nullable().optional(),
100
+ estimate_workflow_id: z.number().int().describe("Estimate workflow ID").nullable().optional(),
101
+ credit_card_reference: z.string().describe("Credit card reference").nullable().optional(),
102
+ send_invoices_to_email: z.string().describe("Email addresses for sending invoices").nullable().optional(),
103
+ sepa_iban_account_name: z.string().describe("SEPA IBAN account name").nullable().optional(),
104
+ send_estimates_to_email: z.string().describe("Email addresses for sending estimates").nullable().optional(),
105
+ tax_number_validated_at: z.string().describe("Timestamp when tax number was validated").nullable().optional(),
106
+ moneybird_payments_mandate: z.boolean().describe("Moneybird Payments mandate active"),
107
+ send_invoices_to_attention: z.string().describe("Attention line for sending invoices").nullable().optional(),
108
+ send_estimates_to_attention: z.string().describe("Attention line for sending estimates").nullable().optional()
109
+ })
110
+ });
111
+ //#endregion
112
+ export { moneybirdGetContactByCustomerId };
113
+
114
+ //# sourceMappingURL=get-contact-by-customer-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-by-customer-id.mjs","names":[],"sources":["../../src/actions/get-contact-by-customer-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetContactByCustomerIdInput: z.ZodTypeAny = z.object({\n customer_id: z.string().describe(\"Unique customer identifier for the contact.\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, used in the URL path.\"),\n}).describe(\"Request parameters for fetching a contact by its customer_id.\");\nconst MoneybirdGetContactByCustomerId_NoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the note\"),\n data: z.record(z.string(), z.unknown()).describe(\"Additional data for the note\"),\n note: z.string().describe(\"Text content of the note\"),\n todo: z.boolean().describe(\"Whether this note is a to-do item\"),\n user_id: z.number().int().describe(\"User ID who created the note\"),\n entity_id: z.string().describe(\"ID of the related entity (contact)\"),\n todo_type: z.string().describe(\"Type of to-do\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the note\"),\n updated_at: z.string().describe(\"Last update timestamp of the note\"),\n assignee_id: z.string().describe(\"Assigned user ID if to-do\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the related entity\"),\n completed_at: z.string().describe(\"Timestamp when to-do was completed\").nullable().optional(),\n completed_by_id: z.string().describe(\"User ID who completed the to-do\").nullable().optional(),\n administration_id: z.number().int().describe(\"Administration ID\"),\n});\nconst MoneybirdGetContactByCustomerId_EventSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional data for the event\"),\n action: z.string().describe(\"Action type of the event\"),\n user_id: z.number().int().describe(\"User ID who triggered the event\"),\n created_at: z.string().describe(\"Event creation timestamp\"),\n updated_at: z.string().describe(\"Event update timestamp\"),\n link_entity_id: z.string().describe(\"Linked entity ID if any\").nullable().optional(),\n link_entity_type: z.string().describe(\"Linked entity type if any\").nullable().optional(),\n administration_id: z.number().int().describe(\"Administration ID\"),\n});\nconst MoneybirdGetContactByCustomerId_CustomFieldSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Custom field ID\"),\n name: z.string().describe(\"Name of the custom field\").nullable().optional(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n});\nconst MoneybirdGetContactByCustomerId_ContactPersonSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact person ID\"),\n email: z.string().describe(\"Email of contact person\").nullable().optional(),\n phone: z.string().describe(\"Phone number of contact person\").nullable().optional(),\n version: z.number().int().describe(\"Version of contact person record\"),\n lastname: z.string().describe(\"Last name of contact person\").nullable().optional(),\n firstname: z.string().describe(\"First name of contact person\").nullable().optional(),\n contact_id: z.string().describe(\"Parent contact ID\"),\n created_at: z.string().describe(\"Creation timestamp of contact person\"),\n department: z.string().describe(\"Department of contact person\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact person\"),\n administration_id: z.number().int().describe(\"Administration ID\"),\n});\nexport const MoneybirdGetContactByCustomerIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact ID\"),\n city: z.string().describe(\"City name\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n notes: z.array(MoneybirdGetContactByCustomerId_NoteSchema).describe(\"List of notes associated with the contact\"),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n events: z.array(MoneybirdGetContactByCustomerId_EventSchema).describe(\"List of events related to the contact\"),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n version: z.number().int().describe(\"Version number of contact record\"),\n zipcode: z.string().describe(\"Postal code\").nullable().optional(),\n address1: z.string().describe(\"Address line 1\").nullable().optional(),\n address2: z.string().describe(\"Address line 2\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\"),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n sepa_bic: z.string().describe(\"SEPA BIC code\").nullable().optional(),\n attention: z.string().describe(\"Billing attention line\").nullable().optional(),\n email_ubl: z.boolean().describe(\"Whether to send UBL invoices\"),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n sepa_iban: z.string().describe(\"SEPA IBAN number\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of contact\"),\n is_trusted: z.boolean().describe(\"Whether the contact is trusted\"),\n tax_number: z.string().describe(\"Tax or VAT number\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact\"),\n customer_id: z.string().describe(\"Customer identifier of the contact\"),\n sepa_active: z.boolean().describe(\"SEPA direct debit active\"),\n bank_account: z.string().describe(\"Bank account number of contact\").nullable().optional(),\n company_name: z.string().describe(\"Company name of the contact\").nullable().optional(),\n custom_fields: z.array(MoneybirdGetContactByCustomerId_CustomFieldSchema).describe(\"List of custom fields and values\"),\n si_identifier: z.string().describe(\"SEPA identifier\").nullable().optional(),\n contact_people: z.array(MoneybirdGetContactByCustomerId_ContactPersonSchema).describe(\"List of contact person records\"),\n delivery_method: z.string().describe(\"Delivery method for invoices\").nullable().optional(),\n sepa_mandate_id: z.string().describe(\"SEPA mandate ID\").nullable().optional(),\n credit_card_type: z.string().describe(\"Type of credit card\").nullable().optional(),\n tax_number_valid: z.boolean().describe(\"Whether tax number is valid\").nullable().optional(),\n administration_id: z.number().int().describe(\"Administration ID\"),\n sepa_mandate_date: z.string().describe(\"SEPA mandate date\").nullable().optional(),\n credit_card_number: z.string().describe(\"Credit card number token\").nullable().optional(),\n sales_invoices_url: z.string().describe(\"URL for contact's sales invoices\").nullable().optional(),\n sepa_sequence_type: z.string().describe(\"SEPA sequence type\"),\n si_identifier_type: z.string().describe(\"SEPA identifier type\").nullable().optional(),\n chamber_of_commerce: z.string().describe(\"Chamber of Commerce number\").nullable().optional(),\n invoice_workflow_id: z.number().int().describe(\"Invoice workflow ID\").nullable().optional(),\n max_transfer_amount: z.string().describe(\"Maximum transfer amount allowed\").nullable().optional(),\n estimate_workflow_id: z.number().int().describe(\"Estimate workflow ID\").nullable().optional(),\n credit_card_reference: z.string().describe(\"Credit card reference\").nullable().optional(),\n send_invoices_to_email: z.string().describe(\"Email addresses for sending invoices\").nullable().optional(),\n sepa_iban_account_name: z.string().describe(\"SEPA IBAN account name\").nullable().optional(),\n send_estimates_to_email: z.string().describe(\"Email addresses for sending estimates\").nullable().optional(),\n tax_number_validated_at: z.string().describe(\"Timestamp when tax number was validated\").nullable().optional(),\n moneybird_payments_mandate: z.boolean().describe(\"Moneybird Payments mandate active\"),\n send_invoices_to_attention: z.string().describe(\"Attention line for sending invoices\").nullable().optional(),\n send_estimates_to_attention: z.string().describe(\"Attention line for sending estimates\").nullable().optional(),\n});\n\nexport const moneybirdGetContactByCustomerId = action(\"MONEYBIRD_GET_CONTACT_BY_CUSTOMER_ID\", {\n slug: \"moneybird-get-contact-by-customer-id\",\n name: \"Get Contact by Customer ID\",\n description: \"Tool to retrieve full contact details by customer ID. Use when you need all fields of a contact given its customer_id.\",\n input: MoneybirdGetContactByCustomerIdInput,\n output: MoneybirdGetContactByCustomerIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC9E,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AACjG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,WAAW,EA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SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;EACpF,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAOU;AACV,CAAC"}
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-contact-person.ts
4
+ const MoneybirdGetContactPersonInput = zod.z.object({
5
+ contact_id: zod.z.number().int().describe("The ID of the contact to which the person belongs."),
6
+ administration_id: zod.z.number().int().describe("Numeric administration ID, used in the URL path."),
7
+ contact_person_id: zod.z.number().int().describe("The ID of the contact person to retrieve.")
8
+ }).describe("Path parameters for retrieving a contact person from a contact.");
9
+ const MoneybirdGetContactPersonOutput = zod.z.object({
10
+ id: zod.z.string().describe("Unique identifier of the contact person"),
11
+ email: zod.z.string().describe("Email address of the contact person").nullable().optional(),
12
+ phone: zod.z.string().describe("Phone number of the contact person").nullable().optional(),
13
+ version: zod.z.number().int().describe("Version number of the contact person record"),
14
+ lastname: zod.z.string().describe("Last name of the contact person"),
15
+ firstname: zod.z.string().describe("First name of the contact person"),
16
+ created_at: zod.z.string().describe("Timestamp when the contact person was created"),
17
+ updated_at: zod.z.string().describe("Timestamp when the contact person was last updated"),
18
+ administration_id: zod.z.number().int().describe("ID of the administration the contact person belongs to")
19
+ }).describe("The retrieved contact person record.");
20
+ const moneybirdGetContactPerson = require_action.action("MONEYBIRD_GET_CONTACT_PERSON", {
21
+ slug: "moneybird-get-contact-person",
22
+ name: "Get Contact Person",
23
+ description: "Tool to get all information about a contact person. Use when you have the administration, contact, and contact person IDs and need full details before updating.",
24
+ input: MoneybirdGetContactPersonInput,
25
+ output: MoneybirdGetContactPersonOutput
26
+ });
27
+ //#endregion
28
+ exports.moneybirdGetContactPerson = moneybirdGetContactPerson;
29
+
30
+ //# sourceMappingURL=get-contact-person.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-person.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetContactPersonInput: z.ZodTypeAny = z.object({\n contact_id: z.number().int().describe(\"The ID of the contact to which the person belongs.\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, used in the URL path.\"),\n contact_person_id: z.number().int().describe(\"The ID of the contact person to retrieve.\"),\n}).describe(\"Path parameters for retrieving a contact person from a contact.\");\nexport const MoneybirdGetContactPersonOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact person\"),\n email: z.string().describe(\"Email address of the contact person\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact person\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the contact person record\"),\n lastname: z.string().describe(\"Last name of the contact person\"),\n firstname: z.string().describe(\"First name of the contact person\"),\n created_at: z.string().describe(\"Timestamp when the contact person was created\"),\n updated_at: z.string().describe(\"Timestamp when the contact person was last updated\"),\n administration_id: z.number().int().describe(\"ID of the administration the contact person belongs to\"),\n}).describe(\"The retrieved contact person record.\");\n\nexport const moneybirdGetContactPerson = action(\"MONEYBIRD_GET_CONTACT_PERSON\", {\n slug: \"moneybird-get-contact-person\",\n name: \"Get Contact Person\",\n description: \"Tool to get all information about a contact person. Use when you have the administration, contact, and contact person IDs and need full details before updating.\",\n input: MoneybirdGetContactPersonInput,\n output: MoneybirdGetContactPersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;AAC1F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;AACvG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact-person.d.ts
4
+ declare const MoneybirdGetContactPersonInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetContactPersonOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetContactPerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetContactPerson };
9
+ //# sourceMappingURL=get-contact-person.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-person.d.cts","names":[],"sources":["../../src/actions/get-contact-person.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI+B;AAAA,cACjE,+BAAA,EAAiC,CAAA,CAAE,UAUG;AAAA,cAEtC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact-person.d.ts
4
+ declare const MoneybirdGetContactPersonInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetContactPersonOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetContactPerson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetContactPerson };
9
+ //# sourceMappingURL=get-contact-person.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-person.d.mts","names":[],"sources":["../../src/actions/get-contact-person.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI+B;AAAA,cACjE,+BAAA,EAAiC,CAAA,CAAE,UAUG;AAAA,cAEtC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const moneybirdGetContactPerson = action("MONEYBIRD_GET_CONTACT_PERSON", {
4
+ slug: "moneybird-get-contact-person",
5
+ name: "Get Contact Person",
6
+ description: "Tool to get all information about a contact person. Use when you have the administration, contact, and contact person IDs and need full details before updating.",
7
+ input: z.object({
8
+ contact_id: z.number().int().describe("The ID of the contact to which the person belongs."),
9
+ administration_id: z.number().int().describe("Numeric administration ID, used in the URL path."),
10
+ contact_person_id: z.number().int().describe("The ID of the contact person to retrieve.")
11
+ }).describe("Path parameters for retrieving a contact person from a contact."),
12
+ output: z.object({
13
+ id: z.string().describe("Unique identifier of the contact person"),
14
+ email: z.string().describe("Email address of the contact person").nullable().optional(),
15
+ phone: z.string().describe("Phone number of the contact person").nullable().optional(),
16
+ version: z.number().int().describe("Version number of the contact person record"),
17
+ lastname: z.string().describe("Last name of the contact person"),
18
+ firstname: z.string().describe("First name of the contact person"),
19
+ created_at: z.string().describe("Timestamp when the contact person was created"),
20
+ updated_at: z.string().describe("Timestamp when the contact person was last updated"),
21
+ administration_id: z.number().int().describe("ID of the administration the contact person belongs to")
22
+ }).describe("The retrieved contact person record.")
23
+ });
24
+ //#endregion
25
+ export { moneybirdGetContactPerson };
26
+
27
+ //# sourceMappingURL=get-contact-person.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact-person.mjs","names":[],"sources":["../../src/actions/get-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetContactPersonInput: z.ZodTypeAny = z.object({\n contact_id: z.number().int().describe(\"The ID of the contact to which the person belongs.\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, used in the URL path.\"),\n contact_person_id: z.number().int().describe(\"The ID of the contact person to retrieve.\"),\n}).describe(\"Path parameters for retrieving a contact person from a contact.\");\nexport const MoneybirdGetContactPersonOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact person\"),\n email: z.string().describe(\"Email address of the contact person\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact person\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the contact person record\"),\n lastname: z.string().describe(\"Last name of the contact person\"),\n firstname: z.string().describe(\"First name of the contact person\"),\n created_at: z.string().describe(\"Timestamp when the contact person was created\"),\n updated_at: z.string().describe(\"Timestamp when the contact person was last updated\"),\n administration_id: z.number().int().describe(\"ID of the administration the contact person belongs to\"),\n}).describe(\"The retrieved contact person record.\");\n\nexport const moneybirdGetContactPerson = action(\"MONEYBIRD_GET_CONTACT_PERSON\", {\n slug: \"moneybird-get-contact-person\",\n name: \"Get Contact Person\",\n description: \"Tool to get all information about a contact person. Use when you have the administration, contact, and contact person IDs and need full details before updating.\",\n input: MoneybirdGetContactPersonInput,\n output: MoneybirdGetContactPersonOutput,\n});\n"],"mappings":";;AAqBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB0D,EAAE,OAAO;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EAC/F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC1F,CAAC,CAAC,CAAC,SAAS,iEAiBH;CACP,QAjB2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACvG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-contact.ts
4
+ const MoneybirdGetContactInput = zod.z.object({
5
+ contact_id: zod.z.string().describe("ID of the contact to retrieve"),
6
+ include_archived: zod.z.boolean().default(false).describe("Return archived contact when true (default false)").optional(),
7
+ administration_id: zod.z.number().int().describe("Numeric administration ID, part of the Moneybird URL path")
8
+ });
9
+ const MoneybirdGetContactOutput = zod.z.object({ contact: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full contact object returned by Moneybird") });
10
+ const moneybirdGetContact = require_action.action("MONEYBIRD_GET_CONTACT", {
11
+ slug: "moneybird-get-contact",
12
+ name: "Get Contact",
13
+ description: "Tool to retrieve all information about a specific contact by ID. Use when you need the full details of a contact, for example before generating invoices.",
14
+ input: MoneybirdGetContactInput,
15
+ output: MoneybirdGetContactOutput
16
+ });
17
+ //#endregion
18
+ exports.moneybirdGetContact = moneybirdGetContact;
19
+
20
+ //# sourceMappingURL=get-contact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetContactInput: z.ZodTypeAny = z.object({\n contact_id: z.string().describe(\"ID of the contact to retrieve\"),\n include_archived: z.boolean().default(false).describe(\"Return archived contact when true (default false)\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n});\nexport const MoneybirdGetContactOutput: z.ZodTypeAny = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Full contact object returned by Moneybird\"),\n});\n\nexport const moneybirdGetContact = action(\"MONEYBIRD_GET_CONTACT\", {\n slug: \"moneybird-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve all information about a specific contact by ID. Use when you need the full details of a contact, for example before generating invoices.\",\n input: MoneybirdGetContactInput,\n output: MoneybirdGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAC1G,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,EACjG,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact.d.ts
4
+ declare const MoneybirdGetContactInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetContactOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetContact };
9
+ //# sourceMappingURL=get-contact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-contact.d.ts
4
+ declare const MoneybirdGetContactInput: z.ZodTypeAny;
5
+ declare const MoneybirdGetContactOutput: z.ZodTypeAny;
6
+ declare const moneybirdGetContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { moneybirdGetContact };
9
+ //# sourceMappingURL=get-contact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIvC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const moneybirdGetContact = action("MONEYBIRD_GET_CONTACT", {
4
+ slug: "moneybird-get-contact",
5
+ name: "Get Contact",
6
+ description: "Tool to retrieve all information about a specific contact by ID. Use when you need the full details of a contact, for example before generating invoices.",
7
+ input: z.object({
8
+ contact_id: z.string().describe("ID of the contact to retrieve"),
9
+ include_archived: z.boolean().default(false).describe("Return archived contact when true (default false)").optional(),
10
+ administration_id: z.number().int().describe("Numeric administration ID, part of the Moneybird URL path")
11
+ }),
12
+ output: z.object({ contact: z.record(z.string(), z.unknown()).describe("Full contact object returned by Moneybird") })
13
+ });
14
+ //#endregion
15
+ export { moneybirdGetContact };
16
+
17
+ //# sourceMappingURL=get-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetContactInput: z.ZodTypeAny = z.object({\n contact_id: z.string().describe(\"ID of the contact to retrieve\"),\n include_archived: z.boolean().default(false).describe(\"Return archived contact when true (default false)\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n});\nexport const MoneybirdGetContactOutput: z.ZodTypeAny = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Full contact object returned by Moneybird\"),\n});\n\nexport const moneybirdGetContact = action(\"MONEYBIRD_GET_CONTACT\", {\n slug: \"moneybird-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve all information about a specific contact by ID. Use when you need the full details of a contact, for example before generating invoices.\",\n input: MoneybirdGetContactInput,\n output: MoneybirdGetContactOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboD,EAAE,OAAO;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC/D,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACpH,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC1G,CASS;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,EACjG,CAOU;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-sales-invoice.ts
4
+ const MoneybirdGetSalesInvoiceInput = zod.z.object({
5
+ invoice_id: zod.z.string().describe("ID of the sales invoice to retrieve"),
6
+ administration_id: zod.z.number().int().describe("Numeric administration ID, part of the Moneybird URL path")
7
+ });
8
+ const MoneybirdGetSalesInvoiceOutput = zod.z.object({ invoice: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Full sales invoice object returned by Moneybird") });
9
+ const moneybirdGetSalesInvoice = require_action.action("MONEYBIRD_GET_SALES_INVOICE", {
10
+ slug: "moneybird-get-sales-invoice",
11
+ name: "Get Sales Invoice",
12
+ description: "Tool to get a single sales invoice by ID. Use when you need detailed invoice data for a known invoice ID.",
13
+ input: MoneybirdGetSalesInvoiceInput,
14
+ output: MoneybirdGetSalesInvoiceOutput
15
+ });
16
+ //#endregion
17
+ exports.moneybirdGetSalesInvoice = moneybirdGetSalesInvoice;
18
+
19
+ //# sourceMappingURL=get-sales-invoice.cjs.map