@keystrokehq/moneybird 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-note-to-contact.cjs +4 -4
- package/dist/actions/add-note-to-contact.cjs.map +1 -1
- package/dist/actions/add-note-to-contact.d.cts +34 -3
- package/dist/actions/add-note-to-contact.d.cts.map +1 -1
- package/dist/actions/add-note-to-contact.d.mts +34 -3
- package/dist/actions/add-note-to-contact.d.mts.map +1 -1
- package/dist/actions/add-note-to-contact.mjs +4 -4
- package/dist/actions/add-note-to-contact.mjs.map +1 -1
- package/dist/actions/archive-contact.cjs +1 -1
- package/dist/actions/archive-contact.cjs.map +1 -1
- package/dist/actions/archive-contact.d.cts +9 -3
- package/dist/actions/archive-contact.d.cts.map +1 -1
- package/dist/actions/archive-contact.d.mts +9 -3
- package/dist/actions/archive-contact.d.mts.map +1 -1
- package/dist/actions/archive-contact.mjs +1 -1
- package/dist/actions/archive-contact.mjs.map +1 -1
- package/dist/actions/create-contact-person.cjs +8 -8
- package/dist/actions/create-contact-person.cjs.map +1 -1
- package/dist/actions/create-contact-person.d.cts +34 -3
- package/dist/actions/create-contact-person.d.cts.map +1 -1
- package/dist/actions/create-contact-person.d.mts +34 -3
- package/dist/actions/create-contact-person.d.mts.map +1 -1
- package/dist/actions/create-contact-person.mjs +8 -8
- package/dist/actions/create-contact-person.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +6 -6
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +82 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +82 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +6 -6
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-sales-invoice.cjs +14 -14
- package/dist/actions/create-sales-invoice.cjs.map +1 -1
- package/dist/actions/create-sales-invoice.d.cts +97 -3
- package/dist/actions/create-sales-invoice.d.cts.map +1 -1
- package/dist/actions/create-sales-invoice.d.mts +97 -3
- package/dist/actions/create-sales-invoice.d.mts.map +1 -1
- package/dist/actions/create-sales-invoice.mjs +14 -14
- package/dist/actions/create-sales-invoice.mjs.map +1 -1
- package/dist/actions/delete-contact-note.cjs +1 -1
- package/dist/actions/delete-contact-note.cjs.map +1 -1
- package/dist/actions/delete-contact-note.d.cts +11 -3
- package/dist/actions/delete-contact-note.d.cts.map +1 -1
- package/dist/actions/delete-contact-note.d.mts +11 -3
- package/dist/actions/delete-contact-note.d.mts.map +1 -1
- package/dist/actions/delete-contact-note.mjs +1 -1
- package/dist/actions/delete-contact-note.mjs.map +1 -1
- package/dist/actions/delete-contact-person.cjs +1 -1
- package/dist/actions/delete-contact-person.cjs.map +1 -1
- package/dist/actions/delete-contact-person.d.cts +11 -3
- package/dist/actions/delete-contact-person.d.cts.map +1 -1
- package/dist/actions/delete-contact-person.d.mts +11 -3
- package/dist/actions/delete-contact-person.d.mts.map +1 -1
- package/dist/actions/delete-contact-person.mjs +1 -1
- package/dist/actions/delete-contact-person.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +9 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +9 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/filter-contacts.cjs.map +1 -1
- package/dist/actions/filter-contacts.d.cts +19 -3
- package/dist/actions/filter-contacts.d.cts.map +1 -1
- package/dist/actions/filter-contacts.d.mts +19 -3
- package/dist/actions/filter-contacts.d.mts.map +1 -1
- package/dist/actions/filter-contacts.mjs.map +1 -1
- package/dist/actions/get-additional-charges.cjs.map +1 -1
- package/dist/actions/get-additional-charges.d.cts +11 -3
- package/dist/actions/get-additional-charges.d.cts.map +1 -1
- package/dist/actions/get-additional-charges.d.mts +11 -3
- package/dist/actions/get-additional-charges.d.mts.map +1 -1
- package/dist/actions/get-additional-charges.mjs.map +1 -1
- package/dist/actions/get-contact-by-customer-id.cjs +38 -38
- package/dist/actions/get-contact-by-customer-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.cts +101 -3
- package/dist/actions/get-contact-by-customer-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.mts +101 -3
- package/dist/actions/get-contact-by-customer-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-customer-id.mjs +38 -38
- package/dist/actions/get-contact-by-customer-id.mjs.map +1 -1
- package/dist/actions/get-contact-person.cjs +8 -8
- package/dist/actions/get-contact-person.cjs.map +1 -1
- package/dist/actions/get-contact-person.d.cts +21 -3
- package/dist/actions/get-contact-person.d.cts.map +1 -1
- package/dist/actions/get-contact-person.d.mts +21 -3
- package/dist/actions/get-contact-person.d.mts.map +1 -1
- package/dist/actions/get-contact-person.mjs +8 -8
- package/dist/actions/get-contact-person.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -1
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +13 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +13 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -1
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-sales-invoice.cjs +1 -1
- package/dist/actions/get-sales-invoice.cjs.map +1 -1
- package/dist/actions/get-sales-invoice.d.cts +11 -3
- package/dist/actions/get-sales-invoice.d.cts.map +1 -1
- package/dist/actions/get-sales-invoice.d.mts +11 -3
- package/dist/actions/get-sales-invoice.d.mts.map +1 -1
- package/dist/actions/get-sales-invoice.mjs +1 -1
- package/dist/actions/get-sales-invoice.mjs.map +1 -1
- package/dist/actions/list-administrations.cjs.map +1 -1
- package/dist/actions/list-administrations.d.cts +3 -3
- package/dist/actions/list-administrations.d.cts.map +1 -1
- package/dist/actions/list-administrations.d.mts +3 -3
- package/dist/actions/list-administrations.d.mts.map +1 -1
- package/dist/actions/list-administrations.mjs.map +1 -1
- package/dist/actions/list-contacts-synchronization.cjs.map +1 -1
- package/dist/actions/list-contacts-synchronization.d.cts +11 -3
- package/dist/actions/list-contacts-synchronization.d.cts.map +1 -1
- package/dist/actions/list-contacts-synchronization.d.mts +11 -3
- package/dist/actions/list-contacts-synchronization.d.mts.map +1 -1
- package/dist/actions/list-contacts-synchronization.mjs.map +1 -1
- package/dist/actions/list-sales-invoices.cjs.map +1 -1
- package/dist/actions/list-sales-invoices.d.cts +13 -3
- package/dist/actions/list-sales-invoices.d.cts.map +1 -1
- package/dist/actions/list-sales-invoices.d.mts +13 -3
- package/dist/actions/list-sales-invoices.d.mts.map +1 -1
- package/dist/actions/list-sales-invoices.mjs.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.cjs +1 -1
- package/dist/actions/request-contact-payments-mandate-url.cjs.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.cts +13 -3
- package/dist/actions/request-contact-payments-mandate-url.d.cts.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.mts +13 -3
- package/dist/actions/request-contact-payments-mandate-url.d.mts.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.mjs +1 -1
- package/dist/actions/request-contact-payments-mandate-url.mjs.map +1 -1
- package/dist/actions/update-contact-person.cjs +9 -9
- package/dist/actions/update-contact-person.cjs.map +1 -1
- package/dist/actions/update-contact-person.d.cts +33 -3
- package/dist/actions/update-contact-person.d.cts.map +1 -1
- package/dist/actions/update-contact-person.d.mts +33 -3
- package/dist/actions/update-contact-person.d.mts.map +1 -1
- package/dist/actions/update-contact-person.mjs +9 -9
- package/dist/actions/update-contact-person.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +13 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +13 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-sales-invoice.cjs +3 -3
- package/dist/actions/update-sales-invoice.cjs.map +1 -1
- package/dist/actions/update-sales-invoice.d.cts +89 -3
- package/dist/actions/update-sales-invoice.d.cts.map +1 -1
- package/dist/actions/update-sales-invoice.d.mts +89 -3
- package/dist/actions/update-sales-invoice.d.mts.map +1 -1
- package/dist/actions/update-sales-invoice.mjs +3 -3
- package/dist/actions/update-sales-invoice.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -22,7 +22,7 @@ const MoneybirdCreateSalesInvoiceInput = z.object({
|
|
|
22
22
|
description: z.string().describe("Description of the item"),
|
|
23
23
|
tax_rate_id: z.number().int().describe("ID of a valid tax rate").optional(),
|
|
24
24
|
ledger_account_id: z.number().int().describe("ID of a valid ledger account").optional()
|
|
25
|
-
}).describe("Sales invoice line item.")).describe("List of line items, at least one item is required"),
|
|
25
|
+
}).passthrough().describe("Sales invoice line item.")).describe("List of line items, at least one item is required"),
|
|
26
26
|
first_due_interval: z.number().int().describe("Days until due date if not specified").optional(),
|
|
27
27
|
payment_conditions: z.string().describe("Payment conditions text").optional(),
|
|
28
28
|
invoice_sequence_id: z.string().describe("Sequence ID for the invoice").optional(),
|
|
@@ -32,7 +32,7 @@ const MoneybirdCreateSalesInvoiceInput = z.object({
|
|
|
32
32
|
custom_fields_attributes: z.array(z.object({
|
|
33
33
|
id: z.number().int().describe("ID of the custom field"),
|
|
34
34
|
value: z.string().describe("Value for the custom field")
|
|
35
|
-
})).describe("List of custom field values").optional()
|
|
35
|
+
}).passthrough()).describe("List of custom field values").optional()
|
|
36
36
|
}).describe("Sales invoice data to create"),
|
|
37
37
|
administration_id: z.number().int().describe("Numeric administration ID, part of the Moneybird URL path")
|
|
38
38
|
}).describe("Request model for creating a sales invoice.");
|
|
@@ -43,30 +43,30 @@ const MoneybirdCreateSalesInvoice_SalesInvoiceDetailSchema = z.object({
|
|
|
43
43
|
row_order: z.number().int().describe("Order of this line in the invoice").nullable().optional(),
|
|
44
44
|
product_id: z.number().int().describe("ID of a product").nullable().optional(),
|
|
45
45
|
project_id: z.number().int().describe("ID of a project").nullable().optional(),
|
|
46
|
-
description: z.string().describe("Description of the item"),
|
|
46
|
+
description: z.string().describe("Description of the item").nullable(),
|
|
47
47
|
tax_rate_id: z.number().int().describe("ID of a valid tax rate").nullable().optional(),
|
|
48
48
|
ledger_account_id: z.number().int().describe("ID of a valid ledger account").nullable().optional()
|
|
49
|
-
}).describe("Sales invoice line item.");
|
|
49
|
+
}).passthrough().describe("Sales invoice line item.");
|
|
50
50
|
const moneybirdCreateSalesInvoice = action("MONEYBIRD_CREATE_SALES_INVOICE", {
|
|
51
51
|
slug: "moneybird-create-sales-invoice",
|
|
52
52
|
name: "Create Sales Invoice",
|
|
53
53
|
description: "Tool to create a new sales invoice. Use when you need to bill a contact with specified line items.",
|
|
54
54
|
input: MoneybirdCreateSalesInvoiceInput,
|
|
55
55
|
output: z.object({
|
|
56
|
-
id: z.string().describe("Unique ID of the created sales invoice"),
|
|
57
|
-
state: z.string().describe("State of the invoice, e.g., 'draft' or 'open'"),
|
|
56
|
+
id: z.string().describe("Unique ID of the created sales invoice").nullable(),
|
|
57
|
+
state: z.string().describe("State of the invoice, e.g., 'draft' or 'open'").nullable(),
|
|
58
58
|
details: z.array(MoneybirdCreateSalesInvoice_SalesInvoiceDetailSchema).describe("List of line items created"),
|
|
59
|
-
currency: z.string().describe("Currency code used"),
|
|
59
|
+
currency: z.string().describe("Currency code used").nullable(),
|
|
60
60
|
due_date: z.string().describe("Due date of the invoice").nullable().optional(),
|
|
61
|
-
contact_id: z.string().describe("Contact ID associated with the invoice"),
|
|
62
|
-
created_at: z.string().describe("Timestamp when the invoice was created"),
|
|
61
|
+
contact_id: z.string().describe("Contact ID associated with the invoice").nullable(),
|
|
62
|
+
created_at: z.string().describe("Timestamp when the invoice was created").nullable(),
|
|
63
63
|
invoice_id: z.string().describe("Invoice number if assigned").nullable().optional(),
|
|
64
|
-
updated_at: z.string().describe("Timestamp when the invoice was last updated"),
|
|
64
|
+
updated_at: z.string().describe("Timestamp when the invoice was last updated").nullable(),
|
|
65
65
|
invoice_date: z.string().describe("Date of the invoice").nullable().optional(),
|
|
66
|
-
administration_id: z.number().int().describe("Administration ID of the invoice"),
|
|
67
|
-
total_price_excl_tax: z.string().describe("Total price excluding tax"),
|
|
68
|
-
total_price_incl_tax: z.string().describe("Total price including tax")
|
|
69
|
-
}).describe("Response model for a created sales invoice. Contains key fields returned by the API.")
|
|
66
|
+
administration_id: z.number().int().describe("Administration ID of the invoice").nullable(),
|
|
67
|
+
total_price_excl_tax: z.string().describe("Total price excluding tax").nullable(),
|
|
68
|
+
total_price_incl_tax: z.string().describe("Total price including tax").nullable()
|
|
69
|
+
}).passthrough().describe("Response model for a created sales invoice. Contains key fields returned by the API.")
|
|
70
70
|
});
|
|
71
71
|
//#endregion
|
|
72
72
|
export { moneybirdCreateSalesInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-invoice.mjs","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdCreateSalesInvoiceInput
|
|
1
|
+
{"version":3,"file":"create-sales-invoice.mjs","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdCreateSalesInvoiceInput = z.object({\n sales_invoice: z.object({\n currency: z.string().describe(\"ISO currency code, e.g., 'EUR'\").optional(),\n discount: z.union([z.number(), z.string()]).optional(),\n reference: z.string().describe(\"Invoice reference\").optional(),\n contact_id: z.number().int().describe(\"ID of the contact for this invoice\"),\n workflow_id: z.number().int().describe(\"ID of the workflow\").optional(),\n invoice_date: z.string().describe(\"Invoice date in YYYY-MM-DD format\").optional(),\n time_entry_ids: z.array(z.number().int()).describe(\"List of time entry IDs to include\").optional(),\n contact_person_id: z.number().int().describe(\"ID of the contact person\").optional(),\n document_style_id: z.number().int().describe(\"ID of the document style\").optional(),\n details_attributes: z.array(z.object({\n price: z.union([z.number(), z.string()]),\n amount: z.string().describe(\"Quantity, e.g., '1 x'\").optional(),\n period: z.string().describe(\"Date range, e.g., '20250101..20250131'\").optional(),\n row_order: z.number().int().describe(\"Order of this line in the invoice\").optional(),\n product_id: z.number().int().describe(\"ID of a product\").optional(),\n project_id: z.number().int().describe(\"ID of a project\").optional(),\n description: z.string().describe(\"Description of the item\"),\n tax_rate_id: z.number().int().describe(\"ID of a valid tax rate\").optional(),\n ledger_account_id: z.number().int().describe(\"ID of a valid ledger account\").optional(),\n}).passthrough().describe(\"Sales invoice line item.\")).describe(\"List of line items, at least one item is required\"),\n first_due_interval: z.number().int().describe(\"Days until due date if not specified\").optional(),\n payment_conditions: z.string().describe(\"Payment conditions text\").optional(),\n invoice_sequence_id: z.string().describe(\"Sequence ID for the invoice\").optional(),\n prices_are_incl_tax: z.boolean().describe(\"Whether line prices include tax\").optional(),\n from_payment_request: z.boolean().describe(\"Flag indicating invoice originates from payment request\").optional(),\n original_estimate_id: z.number().int().describe(\"ID of the original estimate\").optional(),\n custom_fields_attributes: z.array(z.object({\n id: z.number().int().describe(\"ID of the custom field\"),\n value: z.string().describe(\"Value for the custom field\"),\n}).passthrough()).describe(\"List of custom field values\").optional(),\n}).describe(\"Sales invoice data to create\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request model for creating a sales invoice.\");\nconst MoneybirdCreateSalesInvoice_SalesInvoiceDetailSchema = z.object({\n price: z.union([z.number(), z.string()]),\n amount: z.string().describe(\"Quantity, e.g., '1 x'\").nullable().optional(),\n period: z.string().describe(\"Date range, e.g., '20250101..20250131'\").nullable().optional(),\n row_order: z.number().int().describe(\"Order of this line in the invoice\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of a product\").nullable().optional(),\n project_id: z.number().int().describe(\"ID of a project\").nullable().optional(),\n description: z.string().describe(\"Description of the item\").nullable(),\n tax_rate_id: z.number().int().describe(\"ID of a valid tax rate\").nullable().optional(),\n ledger_account_id: z.number().int().describe(\"ID of a valid ledger account\").nullable().optional(),\n}).passthrough().describe(\"Sales invoice line item.\");\nexport const MoneybirdCreateSalesInvoiceOutput = z.object({\n id: z.string().describe(\"Unique ID of the created sales invoice\").nullable(),\n state: z.string().describe(\"State of the invoice, e.g., 'draft' or 'open'\").nullable(),\n details: z.array(MoneybirdCreateSalesInvoice_SalesInvoiceDetailSchema).describe(\"List of line items created\"),\n currency: z.string().describe(\"Currency code used\").nullable(),\n due_date: z.string().describe(\"Due date of the invoice\").nullable().optional(),\n contact_id: z.string().describe(\"Contact ID associated with the invoice\").nullable(),\n created_at: z.string().describe(\"Timestamp when the invoice was created\").nullable(),\n invoice_id: z.string().describe(\"Invoice number if assigned\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the invoice was last updated\").nullable(),\n invoice_date: z.string().describe(\"Date of the invoice\").nullable().optional(),\n administration_id: z.number().int().describe(\"Administration ID of the invoice\").nullable(),\n total_price_excl_tax: z.string().describe(\"Total price excluding tax\").nullable(),\n total_price_incl_tax: z.string().describe(\"Total price including tax\").nullable(),\n}).passthrough().describe(\"Response model for a created sales invoice. Contains key fields returned by the API.\");\n\nexport const moneybirdCreateSalesInvoice = action(\"MONEYBIRD_CREATE_SALES_INVOICE\", {\n slug: \"moneybird-create-sales-invoice\",\n name: \"Create Sales Invoice\",\n description: \"Tool to create a new sales invoice. Use when you need to bill a contact with specified line items.\",\n input: MoneybirdCreateSalesInvoiceInput,\n output: MoneybirdCreateSalesInvoiceOutput,\n});\n"],"mappings":"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"}
|
|
@@ -6,7 +6,7 @@ const MoneybirdDeleteContactNoteInput = zod.z.object({
|
|
|
6
6
|
contact_id: zod.z.number().int().describe("The unique identifier of the contact"),
|
|
7
7
|
administration_id: zod.z.number().int().describe("The unique identifier of the administration")
|
|
8
8
|
}).describe("Request parameters for deleting a note from a contact.");
|
|
9
|
-
const MoneybirdDeleteContactNoteOutput = zod.z.
|
|
9
|
+
const MoneybirdDeleteContactNoteOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for delete contact note.");
|
|
10
10
|
const moneybirdDeleteContactNote = require_action.action("MONEYBIRD_DELETE_CONTACT_NOTE", {
|
|
11
11
|
slug: "moneybird-delete-contact-note",
|
|
12
12
|
name: "Delete Contact Note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactNoteInput
|
|
1
|
+
{"version":3,"file":"delete-contact-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactNoteInput = z.object({\n note_id: z.number().int().describe(\"The unique identifier of the note to delete\"),\n contact_id: z.number().int().describe(\"The unique identifier of the contact\"),\n administration_id: z.number().int().describe(\"The unique identifier of the administration\"),\n}).describe(\"Request parameters for deleting a note from a contact.\");\nexport const MoneybirdDeleteContactNoteOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for delete contact note.\");\n\nexport const moneybirdDeleteContactNote = action(\"MONEYBIRD_DELETE_CONTACT_NOTE\", {\n slug: \"moneybird-delete-contact-note\",\n name: \"Delete Contact Note\",\n description: \"Tool to delete a note from a contact. Use when a note is no longer needed and should be removed permanently.\",\n input: MoneybirdDeleteContactNoteInput,\n output: MoneybirdDeleteContactNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAC5F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,mCAAmCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAEpI,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-contact-note.d.ts
|
|
4
|
-
declare const MoneybirdDeleteContactNoteInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdDeleteContactNoteInput: z.ZodObject<{
|
|
5
|
+
note_id: z.ZodNumber;
|
|
6
|
+
contact_id: z.ZodNumber;
|
|
7
|
+
administration_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoneybirdDeleteContactNoteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
declare const moneybirdDeleteContactNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
note_id: number;
|
|
12
|
+
contact_id: number;
|
|
13
|
+
administration_id: number;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { moneybirdDeleteContactNote };
|
|
9
17
|
//# sourceMappingURL=delete-contact-note.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-note.d.cts","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"delete-contact-note.d.cts","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-contact-note.d.ts
|
|
4
|
-
declare const MoneybirdDeleteContactNoteInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdDeleteContactNoteInput: z.ZodObject<{
|
|
5
|
+
note_id: z.ZodNumber;
|
|
6
|
+
contact_id: z.ZodNumber;
|
|
7
|
+
administration_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoneybirdDeleteContactNoteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
declare const moneybirdDeleteContactNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
note_id: number;
|
|
12
|
+
contact_id: number;
|
|
13
|
+
administration_id: number;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { moneybirdDeleteContactNote };
|
|
9
17
|
//# sourceMappingURL=delete-contact-note.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-note.d.mts","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"delete-contact-note.d.mts","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -9,7 +9,7 @@ const moneybirdDeleteContactNote = action("MONEYBIRD_DELETE_CONTACT_NOTE", {
|
|
|
9
9
|
contact_id: z.number().int().describe("The unique identifier of the contact"),
|
|
10
10
|
administration_id: z.number().int().describe("The unique identifier of the administration")
|
|
11
11
|
}).describe("Request parameters for deleting a note from a contact."),
|
|
12
|
-
output: z.
|
|
12
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for delete contact note.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { moneybirdDeleteContactNote };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-note.mjs","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactNoteInput
|
|
1
|
+
{"version":3,"file":"delete-contact-note.mjs","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactNoteInput = z.object({\n note_id: z.number().int().describe(\"The unique identifier of the note to delete\"),\n contact_id: z.number().int().describe(\"The unique identifier of the contact\"),\n administration_id: z.number().int().describe(\"The unique identifier of the administration\"),\n}).describe(\"Request parameters for deleting a note from a contact.\");\nexport const MoneybirdDeleteContactNoteOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for delete contact note.\");\n\nexport const moneybirdDeleteContactNote = action(\"MONEYBIRD_DELETE_CONTACT_NOTE\", {\n slug: \"moneybird-delete-contact-note\",\n name: \"Delete Contact Note\",\n description: \"Tool to delete a note from a contact. Use when a note is no longer needed and should be removed permanently.\",\n input: MoneybirdDeleteContactNoteInput,\n output: MoneybirdDeleteContactNoteOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC5E,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC5F,CAAC,CAAC,CAAC,SAAS,wDAOH;CACP,QAP8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAOjF;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const MoneybirdDeleteContactPersonInput = zod.z.object({
|
|
|
6
6
|
administration_id: zod.z.number().int().describe("The Moneybird administration ID under which the contact resides"),
|
|
7
7
|
contact_person_id: zod.z.number().int().describe("The ID of the contact person to delete")
|
|
8
8
|
}).describe("Path parameters for deleting a Moneybird contact person.");
|
|
9
|
-
const MoneybirdDeleteContactPersonOutput = zod.z.
|
|
9
|
+
const MoneybirdDeleteContactPersonOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response returned after successful deletion (HTTP 204 No Content).");
|
|
10
10
|
const moneybirdDeleteContactPerson = require_action.action("MONEYBIRD_DELETE_CONTACT_PERSON", {
|
|
11
11
|
slug: "moneybird-delete-contact-person",
|
|
12
12
|
name: "Delete Contact Person",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactPersonInput
|
|
1
|
+
{"version":3,"file":"delete-contact-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactPersonInput = z.object({\n contact_id: z.number().int().describe(\"The ID of the contact from which to remove a person\"),\n administration_id: z.number().int().describe(\"The Moneybird administration ID under which the contact resides\"),\n contact_person_id: z.number().int().describe(\"The ID of the contact person to delete\"),\n}).describe(\"Path parameters for deleting a Moneybird contact person.\");\nexport const MoneybirdDeleteContactPersonOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned after successful deletion (HTTP 204 No Content).\");\n\nexport const moneybirdDeleteContactPerson = action(\"MONEYBIRD_DELETE_CONTACT_PERSON\", {\n slug: \"moneybird-delete-contact-person\",\n name: \"Delete Contact Person\",\n description: \"Tool to delete a contact person from a contact. Use after confirming the administration_id, contact_id, and contact_person_id.\",\n input: MoneybirdDeleteContactPersonInput,\n output: MoneybirdDeleteContactPersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AACvF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,qCAAqCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEvK,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-contact-person.d.ts
|
|
4
|
-
declare const MoneybirdDeleteContactPersonInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdDeleteContactPersonInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
administration_id: z.ZodNumber;
|
|
7
|
+
contact_person_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoneybirdDeleteContactPersonOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
declare const moneybirdDeleteContactPerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
contact_id: number;
|
|
12
|
+
administration_id: number;
|
|
13
|
+
contact_person_id: number;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { moneybirdDeleteContactPerson };
|
|
9
17
|
//# sourceMappingURL=delete-contact-person.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-person.d.cts","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"delete-contact-person.d.cts","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAElC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-contact-person.d.ts
|
|
4
|
-
declare const MoneybirdDeleteContactPersonInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdDeleteContactPersonInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
administration_id: z.ZodNumber;
|
|
7
|
+
contact_person_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoneybirdDeleteContactPersonOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
declare const moneybirdDeleteContactPerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
contact_id: number;
|
|
12
|
+
administration_id: number;
|
|
13
|
+
contact_person_id: number;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { moneybirdDeleteContactPerson };
|
|
9
17
|
//# sourceMappingURL=delete-contact-person.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-person.d.mts","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"delete-contact-person.d.mts","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAElC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -9,7 +9,7 @@ const moneybirdDeleteContactPerson = action("MONEYBIRD_DELETE_CONTACT_PERSON", {
|
|
|
9
9
|
administration_id: z.number().int().describe("The Moneybird administration ID under which the contact resides"),
|
|
10
10
|
contact_person_id: z.number().int().describe("The ID of the contact person to delete")
|
|
11
11
|
}).describe("Path parameters for deleting a Moneybird contact person."),
|
|
12
|
-
output: z.
|
|
12
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response returned after successful deletion (HTTP 204 No Content).")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { moneybirdDeleteContactPerson };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact-person.mjs","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactPersonInput
|
|
1
|
+
{"version":3,"file":"delete-contact-person.mjs","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactPersonInput = z.object({\n contact_id: z.number().int().describe(\"The ID of the contact from which to remove a person\"),\n administration_id: z.number().int().describe(\"The Moneybird administration ID under which the contact resides\"),\n contact_person_id: z.number().int().describe(\"The ID of the contact person to delete\"),\n}).describe(\"Path parameters for deleting a Moneybird contact person.\");\nexport const MoneybirdDeleteContactPersonOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned after successful deletion (HTTP 204 No Content).\");\n\nexport const moneybirdDeleteContactPerson = action(\"MONEYBIRD_DELETE_CONTACT_PERSON\", {\n slug: \"moneybird-delete-contact-person\",\n name: \"Delete Contact Person\",\n description: \"Tool to delete a contact person from a contact. Use after confirming the administration_id, contact_id, and contact_person_id.\",\n input: MoneybirdDeleteContactPersonInput,\n output: MoneybirdDeleteContactPersonOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO;EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACvF,CAAC,CAAC,CAAC,SAAS,0DAOH;CACP,QAPgD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAOnF;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const MoneybirdDeleteContactInput = zod.z.object({
|
|
|
5
5
|
contact_id: zod.z.number().int().describe("ID of the contact to delete"),
|
|
6
6
|
administration_id: zod.z.number().int().describe("ID of the administration")
|
|
7
7
|
}).describe("Request parameters for deleting a contact.");
|
|
8
|
-
const MoneybirdDeleteContactOutput = zod.z.
|
|
8
|
+
const MoneybirdDeleteContactOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response schema for deleting a contact. Empty because the API returns no content.");
|
|
9
9
|
const moneybirdDeleteContact = require_action.action("MONEYBIRD_DELETE_CONTACT", {
|
|
10
10
|
slug: "moneybird-delete-contact",
|
|
11
11
|
name: "Delete Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactInput
|
|
1
|
+
{"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactInput = z.object({\n contact_id: z.number().int().describe(\"ID of the contact to delete\"),\n administration_id: z.number().int().describe(\"ID of the administration\"),\n}).describe(\"Request parameters for deleting a contact.\");\nexport const MoneybirdDeleteContactOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a contact. Empty because the API returns no content.\");\n\nexport const moneybirdDeleteContact = action(\"MONEYBIRD_DELETE_CONTACT\", {\n slug: \"moneybird-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact. Use after confirming that contact should be removed.\",\n input: MoneybirdDeleteContactInput,\n output: MoneybirdDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACnE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AACzE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAE1K,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-contact.d.ts
|
|
4
|
-
declare const MoneybirdDeleteContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdDeleteContactInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
administration_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MoneybirdDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
declare const moneybirdDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
contact_id: number;
|
|
11
|
+
administration_id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { moneybirdDeleteContact };
|
|
9
15
|
//# sourceMappingURL=delete-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-contact.d.ts
|
|
4
|
-
declare const MoneybirdDeleteContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdDeleteContactInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
administration_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MoneybirdDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
declare const moneybirdDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
contact_id: number;
|
|
11
|
+
administration_id: number;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { moneybirdDeleteContact };
|
|
9
15
|
//# sourceMappingURL=delete-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -8,7 +8,7 @@ const moneybirdDeleteContact = action("MONEYBIRD_DELETE_CONTACT", {
|
|
|
8
8
|
contact_id: z.number().int().describe("ID of the contact to delete"),
|
|
9
9
|
administration_id: z.number().int().describe("ID of the administration")
|
|
10
10
|
}).describe("Request parameters for deleting a contact."),
|
|
11
|
-
output: z.
|
|
11
|
+
output: z.record(z.string(), z.unknown()).describe("Response schema for deleting a contact. Empty because the API returns no content.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { moneybirdDeleteContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactInput
|
|
1
|
+
{"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdDeleteContactInput = z.object({\n contact_id: z.number().int().describe(\"ID of the contact to delete\"),\n administration_id: z.number().int().describe(\"ID of the administration\"),\n}).describe(\"Request parameters for deleting a contact.\");\nexport const MoneybirdDeleteContactOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a contact. Empty because the API returns no content.\");\n\nexport const moneybirdDeleteContact = action(\"MONEYBIRD_DELETE_CONTACT\", {\n slug: \"moneybird-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact. Use after confirming that contact should be removed.\",\n input: MoneybirdDeleteContactInput,\n output: MoneybirdDeleteContactOutput,\n});\n"],"mappings":";;AAUA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVyC,EAAE,OAAO;EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EACnE,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACzE,CAAC,CAAC,CAAC,SAAS,4CAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAO7E;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-contacts.cjs","names":["z","action"],"sources":["../../src/actions/filter-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdFilterContactsInput
|
|
1
|
+
{"version":3,"file":"filter-contacts.cjs","names":["z","action"],"sources":["../../src/actions/filter-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdFilterContactsInput = z.object({\n per_page: z.number().int().describe(\"Number of contacts to return per page (1-100)\").optional(),\n last_name: z.string().describe(\"Filter contacts by last name (case-insensitive)\").optional(),\n first_name: z.string().describe(\"Filter contacts by first name (case-insensitive)\").optional(),\n created_after: z.string().describe(\"Select contacts created after this ISO 8601 UTC datetime (exclusive), e.g., '2025-05-06T07:27:49Z'\").optional(),\n updated_after: z.string().describe(\"Select contacts updated after this ISO 8601 UTC datetime (exclusive), e.g., '2025-05-07T07:27:54Z'\").optional(),\n include_archived: z.boolean().default(false).describe(\"Include archived contacts in the results\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID for the Moneybird URL path.\"),\n});\nexport const MoneybirdFilterContactsOutput = z.unknown();\n\nexport const moneybirdFilterContacts = action(\"MONEYBIRD_FILTER_CONTACTS\", {\n slug: \"moneybird-filter-contacts\",\n name: \"Filter Contacts\",\n description: \"Tool to filter contacts. Use when you need to retrieve contacts matching specific criteria like created_after or first_name.\",\n input: MoneybirdFilterContactsInput,\n output: MoneybirdFilterContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;AACtG,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,QAAQ;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/filter-contacts.d.ts
|
|
4
|
-
declare const MoneybirdFilterContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdFilterContactsInput: z.ZodObject<{
|
|
5
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
created_after: z.ZodOptional<z.ZodString>;
|
|
9
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
10
|
+
include_archived: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
11
|
+
administration_id: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const MoneybirdFilterContactsOutput: z.ZodUnknown;
|
|
14
|
+
declare const moneybirdFilterContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
administration_id: number;
|
|
16
|
+
per_page?: number | undefined;
|
|
17
|
+
last_name?: string | undefined;
|
|
18
|
+
first_name?: string | undefined;
|
|
19
|
+
created_after?: string | undefined;
|
|
20
|
+
updated_after?: string | undefined;
|
|
21
|
+
include_archived?: boolean | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { moneybirdFilterContacts };
|
|
9
25
|
//# sourceMappingURL=filter-contacts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-contacts.d.cts","names":[],"sources":["../../src/actions/filter-contacts.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"filter-contacts.d.cts","names":[],"sources":["../../src/actions/filter-contacts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,UAAc;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/filter-contacts.d.ts
|
|
4
|
-
declare const MoneybirdFilterContactsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdFilterContactsInput: z.ZodObject<{
|
|
5
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
created_after: z.ZodOptional<z.ZodString>;
|
|
9
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
10
|
+
include_archived: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
11
|
+
administration_id: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const MoneybirdFilterContactsOutput: z.ZodUnknown;
|
|
14
|
+
declare const moneybirdFilterContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
administration_id: number;
|
|
16
|
+
per_page?: number | undefined;
|
|
17
|
+
last_name?: string | undefined;
|
|
18
|
+
first_name?: string | undefined;
|
|
19
|
+
created_after?: string | undefined;
|
|
20
|
+
updated_after?: string | undefined;
|
|
21
|
+
include_archived?: boolean | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { moneybirdFilterContacts };
|
|
9
25
|
//# sourceMappingURL=filter-contacts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-contacts.d.mts","names":[],"sources":["../../src/actions/filter-contacts.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"filter-contacts.d.mts","names":[],"sources":["../../src/actions/filter-contacts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,UAAc;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-contacts.mjs","names":[],"sources":["../../src/actions/filter-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdFilterContactsInput
|
|
1
|
+
{"version":3,"file":"filter-contacts.mjs","names":[],"sources":["../../src/actions/filter-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdFilterContactsInput = z.object({\n per_page: z.number().int().describe(\"Number of contacts to return per page (1-100)\").optional(),\n last_name: z.string().describe(\"Filter contacts by last name (case-insensitive)\").optional(),\n first_name: z.string().describe(\"Filter contacts by first name (case-insensitive)\").optional(),\n created_after: z.string().describe(\"Select contacts created after this ISO 8601 UTC datetime (exclusive), e.g., '2025-05-06T07:27:49Z'\").optional(),\n updated_after: z.string().describe(\"Select contacts updated after this ISO 8601 UTC datetime (exclusive), e.g., '2025-05-07T07:27:54Z'\").optional(),\n include_archived: z.boolean().default(false).describe(\"Include archived contacts in the results\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID for the Moneybird URL path.\"),\n});\nexport const MoneybirdFilterContactsOutput = z.unknown();\n\nexport const moneybirdFilterContacts = action(\"MONEYBIRD_FILTER_CONTACTS\", {\n slug: \"moneybird-filter-contacts\",\n name: \"Filter Contacts\",\n description: \"Tool to filter contacts. Use when you need to retrieve contacts matching specific criteria like created_after or first_name.\",\n input: MoneybirdFilterContactsInput,\n output: MoneybirdFilterContactsOutput,\n});\n"],"mappings":";;AAeA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO;EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACtG,CAOS;CACP,QAP2C,EAAE,QAOrC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-additional-charges.cjs","names":["z","action"],"sources":["../../src/actions/get-additional-charges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetAdditionalChargesInput
|
|
1
|
+
{"version":3,"file":"get-additional-charges.cjs","names":["z","action"],"sources":["../../src/actions/get-additional-charges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdGetAdditionalChargesInput = 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.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":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AAC9G,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,QAAQ;AAE7D,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-additional-charges.d.ts
|
|
4
|
-
declare const MoneybirdGetAdditionalChargesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdGetAdditionalChargesInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodString;
|
|
6
|
+
include_billed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
administration_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoneybirdGetAdditionalChargesOutput: z.ZodUnknown;
|
|
10
|
+
declare const moneybirdGetAdditionalCharges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
contact_id: string;
|
|
12
|
+
administration_id: number;
|
|
13
|
+
include_billed?: boolean | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { moneybirdGetAdditionalCharges };
|
|
9
17
|
//# sourceMappingURL=get-additional-charges.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-additional-charges.d.cts","names":[],"sources":["../../src/actions/get-additional-charges.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-additional-charges.d.cts","names":[],"sources":["../../src/actions/get-additional-charges.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,UAAc;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-additional-charges.d.ts
|
|
4
|
-
declare const MoneybirdGetAdditionalChargesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdGetAdditionalChargesInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodString;
|
|
6
|
+
include_billed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
administration_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoneybirdGetAdditionalChargesOutput: z.ZodUnknown;
|
|
10
|
+
declare const moneybirdGetAdditionalCharges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
contact_id: string;
|
|
12
|
+
administration_id: number;
|
|
13
|
+
include_billed?: boolean | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { moneybirdGetAdditionalCharges };
|
|
9
17
|
//# sourceMappingURL=get-additional-charges.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-additional-charges.d.mts","names":[],"sources":["../../src/actions/get-additional-charges.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-additional-charges.d.mts","names":[],"sources":["../../src/actions/get-additional-charges.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,UAAc;AAAA,cAEjD,6BAAA,gCAA6B,wBAAA"}
|