@keystrokehq/moneybird 0.1.2 → 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/actions/add-note-to-contact.cjs +1 -1
- package/dist/actions/add-note-to-contact.cjs.map +1 -1
- package/dist/actions/add-note-to-contact.d.cts +1 -1
- package/dist/actions/add-note-to-contact.d.mts +1 -1
- package/dist/actions/add-note-to-contact.mjs +1 -1
- 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 +1 -1
- package/dist/actions/archive-contact.d.cts.map +1 -1
- package/dist/actions/archive-contact.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/create-contact-person.cjs.map +1 -1
- package/dist/actions/create-contact-person.d.cts +1 -1
- package/dist/actions/create-contact-person.d.mts +1 -1
- package/dist/actions/create-contact-person.mjs +1 -1
- package/dist/actions/create-contact-person.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +2 -2
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -3
- package/dist/actions/create-contact.d.mts +3 -3
- package/dist/actions/create-contact.mjs +2 -2
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-sales-invoice.cjs +4 -4
- package/dist/actions/create-sales-invoice.cjs.map +1 -1
- package/dist/actions/create-sales-invoice.d.cts +6 -4
- package/dist/actions/create-sales-invoice.d.mts +6 -4
- package/dist/actions/create-sales-invoice.mjs +4 -4
- 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 +1 -1
- package/dist/actions/delete-contact-note.d.cts.map +1 -1
- package/dist/actions/delete-contact-note.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-contact-person.d.cts.map +1 -1
- package/dist/actions/delete-contact-person.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- 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/get-contact-by-customer-id.cjs +5 -5
- package/dist/actions/get-contact-by-customer-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.cts +5 -5
- package/dist/actions/get-contact-by-customer-id.d.mts +5 -5
- package/dist/actions/get-contact-by-customer-id.mjs +5 -5
- package/dist/actions/get-contact-by-customer-id.mjs.map +1 -1
- package/dist/actions/get-contact-person.cjs +1 -1
- package/dist/actions/get-contact-person.cjs.map +1 -1
- package/dist/actions/get-contact-person.d.cts +1 -1
- package/dist/actions/get-contact-person.d.mts +1 -1
- package/dist/actions/get-contact-person.mjs +1 -1
- 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 +1 -1
- package/dist/actions/get-contact.d.mts +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 +1 -1
- package/dist/actions/get-sales-invoice.d.mts +1 -1
- package/dist/actions/get-sales-invoice.mjs +1 -1
- package/dist/actions/get-sales-invoice.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 +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.mts +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 +1 -1
- package/dist/actions/update-contact-person.cjs.map +1 -1
- package/dist/actions/update-contact-person.d.cts +1 -1
- package/dist/actions/update-contact-person.d.mts +1 -1
- package/dist/actions/update-contact-person.mjs +1 -1
- 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 +1 -1
- package/dist/actions/update-contact.d.mts +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 +5 -3
- package/dist/actions/update-sales-invoice.d.mts +5 -3
- package/dist/actions/update-sales-invoice.mjs +3 -3
- package/dist/actions/update-sales-invoice.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ declare const MoneybirdCreateSalesInvoiceInput: z.ZodObject<{
|
|
|
22
22
|
description: z.ZodString;
|
|
23
23
|
tax_rate_id: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
ledger_account_id: z.ZodOptional<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
first_due_interval: z.ZodOptional<z.ZodNumber>;
|
|
27
27
|
payment_conditions: z.ZodOptional<z.ZodString>;
|
|
28
28
|
invoice_sequence_id: z.ZodOptional<z.ZodString>;
|
|
@@ -32,7 +32,7 @@ declare const MoneybirdCreateSalesInvoiceInput: z.ZodObject<{
|
|
|
32
32
|
custom_fields_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
33
|
id: z.ZodNumber;
|
|
34
34
|
value: z.ZodString;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
36
|
}, z.core.$strip>;
|
|
37
37
|
administration_id: z.ZodNumber;
|
|
38
38
|
}, z.core.$strip>;
|
|
@@ -49,7 +49,7 @@ declare const MoneybirdCreateSalesInvoiceOutput: z.ZodObject<{
|
|
|
49
49
|
description: z.ZodNullable<z.ZodString>;
|
|
50
50
|
tax_rate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
51
|
ledger_account_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>;
|
|
53
53
|
currency: z.ZodNullable<z.ZodString>;
|
|
54
54
|
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
contact_id: z.ZodNullable<z.ZodString>;
|
|
@@ -60,11 +60,12 @@ declare const MoneybirdCreateSalesInvoiceOutput: z.ZodObject<{
|
|
|
60
60
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
61
61
|
total_price_excl_tax: z.ZodNullable<z.ZodString>;
|
|
62
62
|
total_price_incl_tax: z.ZodNullable<z.ZodString>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>;
|
|
64
64
|
declare const moneybirdCreateSalesInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
65
65
|
sales_invoice: {
|
|
66
66
|
contact_id: number;
|
|
67
67
|
details_attributes: {
|
|
68
|
+
[x: string]: unknown;
|
|
68
69
|
price: string | number;
|
|
69
70
|
description: string;
|
|
70
71
|
amount?: string | undefined;
|
|
@@ -90,6 +91,7 @@ declare const moneybirdCreateSalesInvoice: import("@keystrokehq/action").Workflo
|
|
|
90
91
|
from_payment_request?: boolean | undefined;
|
|
91
92
|
original_estimate_id?: number | undefined;
|
|
92
93
|
custom_fields_attributes?: {
|
|
94
|
+
[x: string]: unknown;
|
|
93
95
|
id: number;
|
|
94
96
|
value: string;
|
|
95
97
|
}[] | undefined;
|
|
@@ -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.");
|
|
@@ -46,7 +46,7 @@ const MoneybirdCreateSalesInvoice_SalesInvoiceDetailSchema = z.object({
|
|
|
46
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",
|
|
@@ -66,7 +66,7 @@ const moneybirdCreateSalesInvoice = action("MONEYBIRD_CREATE_SALES_INVOICE", {
|
|
|
66
66
|
administration_id: z.number().int().describe("Administration ID of the invoice").nullable(),
|
|
67
67
|
total_price_excl_tax: z.string().describe("Total price excluding tax").nullable(),
|
|
68
68
|
total_price_incl_tax: z.string().describe("Total price including tax").nullable()
|
|
69
|
-
}).describe("Response model for a created sales invoice. Contains key fields returned by the API.")
|
|
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 = 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}).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})).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}).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}).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":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,eAAe,EAAE,OAAO;EACxB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS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GAC1E,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxF,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
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":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,eAAe,EAAE,OAAO;EACxB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EA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AClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAOhB;AACV,CAAC"}
|
|
@@ -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 = 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.
|
|
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"}
|
|
@@ -6,7 +6,7 @@ declare const MoneybirdDeleteContactNoteInput: z.ZodObject<{
|
|
|
6
6
|
contact_id: z.ZodNumber;
|
|
7
7
|
administration_id: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
declare const MoneybirdDeleteContactNoteOutput: z.
|
|
9
|
+
declare const MoneybirdDeleteContactNoteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
10
|
declare const moneybirdDeleteContactNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
note_id: number;
|
|
12
12
|
contact_id: number;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|
|
@@ -6,7 +6,7 @@ declare const MoneybirdDeleteContactNoteInput: z.ZodObject<{
|
|
|
6
6
|
contact_id: z.ZodNumber;
|
|
7
7
|
administration_id: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
declare const MoneybirdDeleteContactNoteOutput: z.
|
|
9
|
+
declare const MoneybirdDeleteContactNoteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
10
|
declare const moneybirdDeleteContactNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
note_id: number;
|
|
12
12
|
contact_id: number;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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 = 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.
|
|
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 = 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.
|
|
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"}
|
|
@@ -6,7 +6,7 @@ declare const MoneybirdDeleteContactPersonInput: z.ZodObject<{
|
|
|
6
6
|
administration_id: z.ZodNumber;
|
|
7
7
|
contact_person_id: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
declare const MoneybirdDeleteContactPersonOutput: z.
|
|
9
|
+
declare const MoneybirdDeleteContactPersonOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
10
|
declare const moneybirdDeleteContactPerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
contact_id: number;
|
|
12
12
|
administration_id: number;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|
|
@@ -6,7 +6,7 @@ declare const MoneybirdDeleteContactPersonInput: z.ZodObject<{
|
|
|
6
6
|
administration_id: z.ZodNumber;
|
|
7
7
|
contact_person_id: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
declare const MoneybirdDeleteContactPersonOutput: z.
|
|
9
|
+
declare const MoneybirdDeleteContactPersonOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
10
|
declare const moneybirdDeleteContactPerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
contact_id: number;
|
|
12
12
|
administration_id: number;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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 = 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.
|
|
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 = 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.
|
|
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"}
|
|
@@ -5,7 +5,7 @@ declare const MoneybirdDeleteContactInput: z.ZodObject<{
|
|
|
5
5
|
contact_id: z.ZodNumber;
|
|
6
6
|
administration_id: z.ZodNumber;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
declare const MoneybirdDeleteContactOutput: z.
|
|
8
|
+
declare const MoneybirdDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
declare const moneybirdDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
10
|
contact_id: number;
|
|
11
11
|
administration_id: number;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|
|
@@ -5,7 +5,7 @@ declare const MoneybirdDeleteContactInput: z.ZodObject<{
|
|
|
5
5
|
contact_id: z.ZodNumber;
|
|
6
6
|
administration_id: z.ZodNumber;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
declare const MoneybirdDeleteContactOutput: z.
|
|
8
|
+
declare const MoneybirdDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
declare const moneybirdDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
10
|
contact_id: number;
|
|
11
11
|
administration_id: number;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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 = 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.
|
|
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"}
|
|
@@ -20,7 +20,7 @@ const MoneybirdGetContactByCustomerId_NoteSchema = zod.z.object({
|
|
|
20
20
|
completed_at: zod.z.string().describe("Timestamp when to-do was completed").nullable().optional(),
|
|
21
21
|
completed_by_id: zod.z.string().describe("User ID who completed the to-do").nullable().optional(),
|
|
22
22
|
administration_id: zod.z.number().int().describe("Administration ID").nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const MoneybirdGetContactByCustomerId_EventSchema = zod.z.object({
|
|
25
25
|
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional data for the event"),
|
|
26
26
|
action: zod.z.string().describe("Action type of the event").nullable(),
|
|
@@ -30,12 +30,12 @@ const MoneybirdGetContactByCustomerId_EventSchema = zod.z.object({
|
|
|
30
30
|
link_entity_id: zod.z.string().describe("Linked entity ID if any").nullable().optional(),
|
|
31
31
|
link_entity_type: zod.z.string().describe("Linked entity type if any").nullable().optional(),
|
|
32
32
|
administration_id: zod.z.number().int().describe("Administration ID").nullable()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const MoneybirdGetContactByCustomerId_CustomFieldSchema = zod.z.object({
|
|
35
35
|
id: zod.z.string().describe("Custom field ID").nullable(),
|
|
36
36
|
name: zod.z.string().describe("Name of the custom field").nullable().optional(),
|
|
37
37
|
value: zod.z.string().describe("Value of the custom field").nullable().optional()
|
|
38
|
-
});
|
|
38
|
+
}).passthrough();
|
|
39
39
|
const MoneybirdGetContactByCustomerId_ContactPersonSchema = zod.z.object({
|
|
40
40
|
id: zod.z.string().describe("Contact person ID").nullable(),
|
|
41
41
|
email: zod.z.string().describe("Email of contact person").nullable().optional(),
|
|
@@ -48,7 +48,7 @@ const MoneybirdGetContactByCustomerId_ContactPersonSchema = zod.z.object({
|
|
|
48
48
|
department: zod.z.string().describe("Department of contact person").nullable().optional(),
|
|
49
49
|
updated_at: zod.z.string().describe("Last update timestamp of contact person").nullable(),
|
|
50
50
|
administration_id: zod.z.number().int().describe("Administration ID").nullable()
|
|
51
|
-
});
|
|
51
|
+
}).passthrough();
|
|
52
52
|
const MoneybirdGetContactByCustomerIdOutput = zod.z.object({
|
|
53
53
|
id: zod.z.string().describe("Contact ID").nullable(),
|
|
54
54
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
@@ -101,7 +101,7 @@ const MoneybirdGetContactByCustomerIdOutput = zod.z.object({
|
|
|
101
101
|
moneybird_payments_mandate: zod.z.boolean().describe("Moneybird Payments mandate active").nullable(),
|
|
102
102
|
send_invoices_to_attention: zod.z.string().describe("Attention line for sending invoices").nullable().optional(),
|
|
103
103
|
send_estimates_to_attention: zod.z.string().describe("Attention line for sending estimates").nullable().optional()
|
|
104
|
-
});
|
|
104
|
+
}).passthrough();
|
|
105
105
|
const moneybirdGetContactByCustomerId = require_action.action("MONEYBIRD_GET_CONTACT_BY_CUSTOMER_ID", {
|
|
106
106
|
slug: "moneybird-get-contact-by-customer-id",
|
|
107
107
|
name: "Get Contact by Customer ID",
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"ID of the note\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"Additional data for the note\"),\n note: z.string().describe(\"Text content of the note\").nullable(),\n todo: z.boolean().describe(\"Whether this note is a to-do item\").nullable(),\n user_id: z.number().int().describe(\"User ID who created the note\").nullable(),\n entity_id: z.string().describe(\"ID of the related entity (contact)\").nullable(),\n todo_type: z.string().describe(\"Type of to-do\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the note\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp of the note\").nullable(),\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\").nullable(),\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\").nullable(),\n});\nconst MoneybirdGetContactByCustomerId_EventSchema = 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\").nullable(),\n user_id: z.number().int().describe(\"User ID who triggered the event\").nullable(),\n created_at: z.string().describe(\"Event creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Event update timestamp\").nullable(),\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\").nullable(),\n});\nconst MoneybirdGetContactByCustomerId_CustomFieldSchema = z.object({\n id: z.string().describe(\"Custom field ID\").nullable(),\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.object({\n id: z.string().describe(\"Contact person ID\").nullable(),\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\").nullable(),\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\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of contact person\").nullable(),\n department: z.string().describe(\"Department of contact person\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact person\").nullable(),\n administration_id: z.number().int().describe(\"Administration ID\").nullable(),\n});\nexport const MoneybirdGetContactByCustomerIdOutput = z.object({\n id: z.string().describe(\"Contact ID\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\n is_trusted: z.boolean().describe(\"Whether the contact is trusted\").nullable(),\n tax_number: z.string().describe(\"Tax or VAT number\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact\").nullable(),\n customer_id: z.string().describe(\"Customer identifier of the contact\").nullable(),\n sepa_active: z.boolean().describe(\"SEPA direct debit active\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,+D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AA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,wBAAwBA,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,CAAC,CAAC,SAAS;CAC/F,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"}
|
|
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.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.object({\n id: z.string().describe(\"ID of the note\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"Additional data for the note\"),\n note: z.string().describe(\"Text content of the note\").nullable(),\n todo: z.boolean().describe(\"Whether this note is a to-do item\").nullable(),\n user_id: z.number().int().describe(\"User ID who created the note\").nullable(),\n entity_id: z.string().describe(\"ID of the related entity (contact)\").nullable(),\n todo_type: z.string().describe(\"Type of to-do\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp of the note\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp of the note\").nullable(),\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\").nullable(),\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\").nullable(),\n}).passthrough();\nconst MoneybirdGetContactByCustomerId_EventSchema = 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\").nullable(),\n user_id: z.number().int().describe(\"User ID who triggered the event\").nullable(),\n created_at: z.string().describe(\"Event creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Event update timestamp\").nullable(),\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\").nullable(),\n}).passthrough();\nconst MoneybirdGetContactByCustomerId_CustomFieldSchema = z.object({\n id: z.string().describe(\"Custom field ID\").nullable(),\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}).passthrough();\nconst MoneybirdGetContactByCustomerId_ContactPersonSchema = z.object({\n id: z.string().describe(\"Contact person ID\").nullable(),\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\").nullable(),\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\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of contact person\").nullable(),\n department: z.string().describe(\"Department of contact person\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact person\").nullable(),\n administration_id: z.number().int().describe(\"Administration ID\").nullable(),\n}).passthrough();\nexport const MoneybirdGetContactByCustomerIdOutput = z.object({\n id: z.string().describe(\"Contact ID\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\n is_trusted: z.boolean().describe(\"Whether the contact is trusted\").nullable(),\n tax_number: z.string().describe(\"Tax or VAT number\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp of contact\").nullable(),\n customer_id: z.string().describe(\"Customer identifier of the contact\").nullable(),\n sepa_active: z.boolean().describe(\"SEPA direct debit active\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\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}).passthrough();\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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,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,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,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AO,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,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
24
24
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
completed_by_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
events: z.ZodArray<z.ZodObject<{
|
|
30
30
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -35,7 +35,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
35
35
|
link_entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
link_entity_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
version: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
zipcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -60,7 +60,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
60
60
|
id: z.ZodNullable<z.ZodString>;
|
|
61
61
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
64
|
si_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
contact_people: z.ZodArray<z.ZodObject<{
|
|
66
66
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -74,7 +74,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
74
74
|
department: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
76
76
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>;
|
|
78
78
|
delivery_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
79
|
sepa_mandate_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
credit_card_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -97,7 +97,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
97
97
|
moneybird_payments_mandate: z.ZodNullable<z.ZodBoolean>;
|
|
98
98
|
send_invoices_to_attention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
99
|
send_estimates_to_attention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
-
}, z.core.$
|
|
100
|
+
}, z.core.$loose>;
|
|
101
101
|
declare const moneybirdGetContactByCustomerId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
102
102
|
customer_id: string;
|
|
103
103
|
administration_id: number;
|
|
@@ -24,7 +24,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
24
24
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
completed_by_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
events: z.ZodArray<z.ZodObject<{
|
|
30
30
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -35,7 +35,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
35
35
|
link_entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
link_entity_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
version: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
zipcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -60,7 +60,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
60
60
|
id: z.ZodNullable<z.ZodString>;
|
|
61
61
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
64
|
si_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
contact_people: z.ZodArray<z.ZodObject<{
|
|
66
66
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -74,7 +74,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
74
74
|
department: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
76
76
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>;
|
|
78
78
|
delivery_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
79
|
sepa_mandate_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
credit_card_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -97,7 +97,7 @@ declare const MoneybirdGetContactByCustomerIdOutput: z.ZodObject<{
|
|
|
97
97
|
moneybird_payments_mandate: z.ZodNullable<z.ZodBoolean>;
|
|
98
98
|
send_invoices_to_attention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
99
|
send_estimates_to_attention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
-
}, z.core.$
|
|
100
|
+
}, z.core.$loose>;
|
|
101
101
|
declare const moneybirdGetContactByCustomerId: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
102
102
|
customer_id: string;
|
|
103
103
|
administration_id: number;
|